[2026-06-02 00:00:26] local.INFO: TCP Data received {"connection_id":89199,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:00:26] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:00:26] local.INFO: IMEI packet received {"connection_id":89199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":89199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:00:31] local.INFO: TCP Data received {"connection_id":89199,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:00:31] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:00:31] local.INFO: IMEI packet received {"connection_id":89199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":89199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:00:32] local.INFO: TCP Data received {"connection_id":89199,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e846f30a0012d77ab0005f2a7500022010c27..."} 
[2026-06-02 00:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e846f30a0012d77ab0005f2a7500022010c27..."} 
[2026-06-02 00:00:32] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e846f30a0012d77ab0005f2a7500022010c27..."} 
[2026-06-02 00:00:32] local.INFO: Packet analysis {"connection_id":89199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e846f"} 
[2026-06-02 00:00:32] local.INFO: Extracted packet for processing {"connection_id":89199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e846f"} 
[2026-06-02 00:00:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766537984001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780338340000,"timestamp_ms":1780338340000,"timestamp_seconds":1780338340,"priority":1,"record_length":96,"hex_timestamp":"0000019e846f30a0"} 
[2026-06-02 00:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766537984001,"66":25647,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766537984001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:00:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:00:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766537984001,"power":25647,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":89199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:00:32] local.INFO: GPS data processed {"connection_id":89199,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:00:32] local.INFO: Acknowledgment sent {"connection_id":89199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:01:03] local.INFO: TCP Data received {"connection_id":89199,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e846f30a0012d77ab0005f2a7500022010c27..."} 
[2026-06-02 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e846f30a0012d77ab0005f2a7500022010c27..."} 
[2026-06-02 00:01:03] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e846f30a0012d77ab0005f2a7500022010c27..."} 
[2026-06-02 00:01:03] local.INFO: Packet analysis {"connection_id":89199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e846f"} 
[2026-06-02 00:01:03] local.INFO: Extracted packet for processing {"connection_id":89199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e846f"} 
[2026-06-02 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766537984001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338340000,"timestamp_ms":1780338340000,"timestamp_seconds":1780338340,"priority":1,"record_length":96,"hex_timestamp":"0000019e846f30a0"} 
[2026-06-02 00:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:01: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-06-02 00:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766537984001,"66":25647,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766537984001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:01:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:01:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766537984001,"power":25647,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":89199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:01:03] local.INFO: GPS data processed {"connection_id":89199,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:01:03] local.INFO: Acknowledgment sent {"connection_id":89199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:01:21] local.INFO: TCP Data received {"connection_id":90415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:01:21] local.INFO: Processing buffer {"connection_id":90415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:01:21] local.INFO: IMEI packet received {"connection_id":90415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":90415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:01:25] local.INFO: TCP Data received {"connection_id":90416,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:01:25] local.INFO: Processing buffer {"connection_id":90416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:01:25] local.INFO: IMEI packet received {"connection_id":90416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":90416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:01:31] local.INFO: TCP Data received {"connection_id":90416,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:01:31] local.INFO: Processing buffer {"connection_id":90416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:01:31] local.INFO: IMEI packet received {"connection_id":90416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":90416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:01:32] local.INFO: TCP Data received {"connection_id":90416,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:01:32] local.INFO: Processing buffer {"connection_id":90416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:01:32] local.INFO: Packet analysis {"connection_id":90416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:01:32] local.INFO: Extracted packet for processing {"connection_id":90416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:01:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:01:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:01:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":90416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:01:32] local.INFO: GPS data processed {"connection_id":90416,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:01:32] local.INFO: Acknowledgment sent {"connection_id":90416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:02:00] local.INFO: TCP Data received {"connection_id":88941,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:02:00] local.INFO: Processing buffer {"connection_id":88941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:02:00] local.INFO: IMEI packet received {"connection_id":88941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":88941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:02:03] local.INFO: TCP Data received {"connection_id":90416,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:02:03] local.INFO: Processing buffer {"connection_id":90416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:02:03] local.INFO: Packet analysis {"connection_id":90416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:02:03] local.INFO: Extracted packet for processing {"connection_id":90416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:02: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-06-02 00:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:02:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":90416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:02:03] local.INFO: GPS data processed {"connection_id":90416,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:02:03] local.INFO: Acknowledgment sent {"connection_id":90416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:02:25] local.INFO: TCP Data received {"connection_id":89200,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:02:25] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:02:25] local.INFO: IMEI packet received {"connection_id":89200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":89200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:02:31] local.INFO: TCP Data received {"connection_id":89200,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:02:31] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:02:31] local.INFO: IMEI packet received {"connection_id":89200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":89200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:02:32] local.INFO: TCP Data received {"connection_id":89200,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:02:32] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:02:32] local.INFO: Packet analysis {"connection_id":89200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:02:32] local.INFO: Extracted packet for processing {"connection_id":89200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:02:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:02:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":89200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:02:32] local.INFO: GPS data processed {"connection_id":89200,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:02:32] local.INFO: Acknowledgment sent {"connection_id":89200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:03:04] local.INFO: TCP Data received {"connection_id":89200,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:04] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:04] local.INFO: Packet analysis {"connection_id":89200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:03:04] local.INFO: Extracted packet for processing {"connection_id":89200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:03:04] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:03: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-06-02 00:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:03:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:03:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":89200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:03:04] local.INFO: GPS data processed {"connection_id":89200,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:03:04] local.INFO: Acknowledgment sent {"connection_id":89200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:03:31] local.INFO: TCP Data received {"connection_id":88943,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:03:31] local.INFO: Processing buffer {"connection_id":88943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:03:31] local.INFO: IMEI packet received {"connection_id":88943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":88943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:03:36] local.INFO: TCP Data received {"connection_id":88943,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:03:36] local.INFO: Processing buffer {"connection_id":88943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:03:36] local.INFO: IMEI packet received {"connection_id":88943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":88943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:03:37] local.INFO: TCP Data received {"connection_id":88943,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:37] local.INFO: Processing buffer {"connection_id":88943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:37] local.INFO: Packet analysis {"connection_id":88943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:03:37] local.INFO: Extracted packet for processing {"connection_id":88943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":88943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":88943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":88943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:03:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:03:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":88943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:03:37] local.INFO: GPS data processed {"connection_id":88943,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:03:37] local.INFO: Acknowledgment sent {"connection_id":88943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:03:41] local.INFO: TCP Data received {"connection_id":88943,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:41] local.INFO: Processing buffer {"connection_id":88943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:03:41] local.INFO: Packet analysis {"connection_id":88943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:03:41] local.INFO: Extracted packet for processing {"connection_id":88943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:03:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":88943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":88943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":88943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:03:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:03:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":88943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:03:41] local.INFO: GPS data processed {"connection_id":88943,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:03:41] local.INFO: Acknowledgment sent {"connection_id":88943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:04:26] local.INFO: TCP Data received {"connection_id":90417,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:04:26] local.INFO: Processing buffer {"connection_id":90417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:04:26] local.INFO: IMEI packet received {"connection_id":90417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":90417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:04:31] local.INFO: TCP Data received {"connection_id":90417,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:04:31] local.INFO: Processing buffer {"connection_id":90417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:04:31] local.INFO: IMEI packet received {"connection_id":90417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":90417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:04:37] local.INFO: TCP Data received {"connection_id":90417,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:04:37] local.INFO: Processing buffer {"connection_id":90417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:04:37] local.INFO: Packet analysis {"connection_id":90417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:04:37] local.INFO: Extracted packet for processing {"connection_id":90417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:04:37] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:04:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:04:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":90417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:04:37] local.INFO: GPS data processed {"connection_id":90417,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:04:37] local.INFO: Acknowledgment sent {"connection_id":90417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:05:15] local.INFO: TCP Data received {"connection_id":90417,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:05:15] local.INFO: Processing buffer {"connection_id":90417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:05:15] local.INFO: Packet analysis {"connection_id":90417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:05:15] local.INFO: Extracted packet for processing {"connection_id":90417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:05:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:05:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":90417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:05:15] local.INFO: GPS data processed {"connection_id":90417,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:05:15] local.INFO: Acknowledgment sent {"connection_id":90417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:05:25] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:05:25] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:05:25] local.INFO: IMEI packet received {"connection_id":89326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":89326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:05:31] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:05:31] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:05:31] local.INFO: IMEI packet received {"connection_id":89326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":89326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:05:31] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:05:31] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:05:31] local.INFO: Packet analysis {"connection_id":89326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:05:31] local.INFO: Extracted packet for processing {"connection_id":89326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:05:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:05: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-06-02 00: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-06-02 00:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:05:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:05:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":89326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:05:31] local.INFO: GPS data processed {"connection_id":89326,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:05:31] local.INFO: Acknowledgment sent {"connection_id":89326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:06:03] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:06:03] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8473c868012d77ab0005f2a7500022010c25..."} 
[2026-06-02 00:06:03] local.INFO: Packet analysis {"connection_id":89326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:06:03] local.INFO: Extracted packet for processing {"connection_id":89326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8473"} 
[2026-06-02 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766615040001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338641000,"timestamp_ms":1780338641000,"timestamp_seconds":1780338641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8473c868"} 
[2026-06-02 00:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 00:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766615040001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766615040001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:06:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:06:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766615040001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":89326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:06:03] local.INFO: GPS data processed {"connection_id":89326,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:06:03] local.INFO: Acknowledgment sent {"connection_id":89326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:06:25] local.INFO: TCP Data received {"connection_id":90419,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:06:25] local.INFO: Processing buffer {"connection_id":90419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:06:25] local.INFO: IMEI packet received {"connection_id":90419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":90419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:06:31] local.INFO: TCP Data received {"connection_id":90419,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:06:31] local.INFO: Processing buffer {"connection_id":90419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:06:31] local.INFO: IMEI packet received {"connection_id":90419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":90419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:06:32] local.INFO: TCP Data received {"connection_id":90419,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:06:32] local.INFO: Processing buffer {"connection_id":90419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:06:32] local.INFO: Packet analysis {"connection_id":90419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:06:32] local.INFO: Extracted packet for processing {"connection_id":90419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:06:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:06:32] 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-06-02 00:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:06:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:06:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":90419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:06:32] local.INFO: GPS data processed {"connection_id":90419,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:06:32] local.INFO: Acknowledgment sent {"connection_id":90419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:07:03] local.INFO: TCP Data received {"connection_id":90419,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:07:03] local.INFO: Processing buffer {"connection_id":90419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:07:03] local.INFO: Packet analysis {"connection_id":90419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:07:03] local.INFO: Extracted packet for processing {"connection_id":90419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:07:03] 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-06-02 00:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:07:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:07:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":90419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:07:03] local.INFO: GPS data processed {"connection_id":90419,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:07:03] local.INFO: Acknowledgment sent {"connection_id":90419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:07:15] local.INFO: TCP Data received {"connection_id":89327,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:07:15] local.INFO: Processing buffer {"connection_id":89327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:07:15] local.INFO: IMEI packet received {"connection_id":89327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":89327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:07:26] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:07:26] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:07:26] local.INFO: IMEI packet received {"connection_id":89328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":89328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:07:31] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:07:31] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:07:31] local.INFO: IMEI packet received {"connection_id":89328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":89328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:07:31] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:07:31] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:07:31] local.INFO: Packet analysis {"connection_id":89328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:07:31] local.INFO: Extracted packet for processing {"connection_id":89328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:07:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:07:31] 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-06-02 00:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:07:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:07:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":89328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:07:32] local.INFO: GPS data processed {"connection_id":89328,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:07:32] local.INFO: Acknowledgment sent {"connection_id":89328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:08:03] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:08:03] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:08:03] local.INFO: Packet analysis {"connection_id":89328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:08:03] local.INFO: Extracted packet for processing {"connection_id":89328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:08:03] 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-06-02 00:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:08:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":89328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:08:03] local.INFO: GPS data processed {"connection_id":89328,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:08:03] local.INFO: Acknowledgment sent {"connection_id":89328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:08:05] local.INFO: TCP Data received {"connection_id":89202,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:08:05] local.INFO: Processing buffer {"connection_id":89202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:08:05] local.INFO: IMEI packet received {"connection_id":89202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":89202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:08:25] local.INFO: TCP Data received {"connection_id":88944,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:08:25] local.INFO: Processing buffer {"connection_id":88944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:08:25] local.INFO: IMEI packet received {"connection_id":88944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":88944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:08:31] local.INFO: TCP Data received {"connection_id":88944,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:08:31] local.INFO: Processing buffer {"connection_id":88944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:08:31] local.INFO: IMEI packet received {"connection_id":88944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":88944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:08:31] local.INFO: TCP Data received {"connection_id":88944,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:08:32] local.INFO: Processing buffer {"connection_id":88944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:08:32] local.INFO: Packet analysis {"connection_id":88944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:08:32] local.INFO: Extracted packet for processing {"connection_id":88944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:08:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:08: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-06-02 00:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:08:32] 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-06-02 00:08: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-06-02 00:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":88944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":88944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":88944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:08:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:08:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":88944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:08:32] local.INFO: GPS data processed {"connection_id":88944,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:08:32] local.INFO: Acknowledgment sent {"connection_id":88944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:09:03] local.INFO: TCP Data received {"connection_id":88944,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:09:03] local.INFO: Processing buffer {"connection_id":88944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:09:03] local.INFO: Packet analysis {"connection_id":88944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:09:03] local.INFO: Extracted packet for processing {"connection_id":88944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:09:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:09:03] 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-06-02 00: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-06-02 00:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:09:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:09:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":88944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:09:03] local.INFO: GPS data processed {"connection_id":88944,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:09:03] local.INFO: Acknowledgment sent {"connection_id":88944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:09:25] local.INFO: TCP Data received {"connection_id":90421,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:09:25] local.INFO: Processing buffer {"connection_id":90421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:09:25] local.INFO: IMEI packet received {"connection_id":90421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":90421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:09:31] local.INFO: TCP Data received {"connection_id":90421,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:09:31] local.INFO: Processing buffer {"connection_id":90421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:09:31] local.INFO: IMEI packet received {"connection_id":90421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":90421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:09:31] local.INFO: TCP Data received {"connection_id":90421,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:09:31] local.INFO: Processing buffer {"connection_id":90421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:09:31] local.INFO: Packet analysis {"connection_id":90421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:09:31] local.INFO: Extracted packet for processing {"connection_id":90421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:09:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:09:31] 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-06-02 00:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:09:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:09:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":90421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:09:31] local.INFO: GPS data processed {"connection_id":90421,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:09:31] local.INFO: Acknowledgment sent {"connection_id":90421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:10:03] local.INFO: TCP Data received {"connection_id":90421,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:10:03] local.INFO: Processing buffer {"connection_id":90421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:10:03] local.INFO: Packet analysis {"connection_id":90421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:10:03] local.INFO: Extracted packet for processing {"connection_id":90421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:10:03] 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-06-02 00:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:10:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:10:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":90421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:10:03] local.INFO: GPS data processed {"connection_id":90421,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:10:03] local.INFO: Acknowledgment sent {"connection_id":90421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:10:25] local.INFO: TCP Data received {"connection_id":89330,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:10:25] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:10:25] local.INFO: IMEI packet received {"connection_id":89330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":89330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:10:31] local.INFO: TCP Data received {"connection_id":89330,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:10:31] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:10:31] local.INFO: IMEI packet received {"connection_id":89330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":89330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:10:32] local.INFO: TCP Data received {"connection_id":89330,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:10:32] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:10:32] local.INFO: Packet analysis {"connection_id":89330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:10:32] local.INFO: Extracted packet for processing {"connection_id":89330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:10:32] 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-06-02 00: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-06-02 00:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:10:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:10:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":89330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:10:32] local.INFO: GPS data processed {"connection_id":89330,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:10:32] local.INFO: Acknowledgment sent {"connection_id":89330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:11:03] local.INFO: TCP Data received {"connection_id":89330,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:11:03] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84786030012d77ab0005f2a7500022010c23..."} 
[2026-06-02 00:11:03] local.INFO: Packet analysis {"connection_id":89330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:11:03] local.INFO: Extracted packet for processing {"connection_id":89330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8478"} 
[2026-06-02 00:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780338942000,"timestamp_ms":1780338942000,"timestamp_seconds":1780338942,"priority":1,"record_length":96,"hex_timestamp":"0000019e84786030"} 
[2026-06-02 00:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:11:03] 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-06-02 00: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-06-02 00:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766692096001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:11:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:11:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766692096001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":89330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:11:03] local.INFO: GPS data processed {"connection_id":89330,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:11:03] local.INFO: Acknowledgment sent {"connection_id":89330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:11:31] local.INFO: TCP Data received {"connection_id":89331,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:11:31] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:11:31] local.INFO: IMEI packet received {"connection_id":89331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":89331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:11:36] local.INFO: TCP Data received {"connection_id":89331,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:11:36] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:11:36] local.INFO: IMEI packet received {"connection_id":89331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":89331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:11:36] local.INFO: TCP Data received {"connection_id":89331,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:11:36] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:11:36] local.INFO: Packet analysis {"connection_id":89331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:11:36] local.INFO: Extracted packet for processing {"connection_id":89331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:11:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:11:36] 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-06-02 00: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-06-02 00:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:11:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:11:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":89331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:11:36] local.INFO: GPS data processed {"connection_id":89331,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:11:36] local.INFO: Acknowledgment sent {"connection_id":89331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:11:41] local.INFO: TCP Data received {"connection_id":89331,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:11:41] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:11:41] local.INFO: Packet analysis {"connection_id":89331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:11:41] local.INFO: Extracted packet for processing {"connection_id":89331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:11:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:11:41] 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-06-02 00:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:11:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:11:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":89331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:11:41] local.INFO: GPS data processed {"connection_id":89331,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:11:41] local.INFO: Acknowledgment sent {"connection_id":89331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:12:25] local.INFO: TCP Data received {"connection_id":89332,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:12:25] local.INFO: Processing buffer {"connection_id":89332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:12:25] local.INFO: IMEI packet received {"connection_id":89332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:12:31] local.INFO: TCP Data received {"connection_id":89332,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:12:31] local.INFO: Processing buffer {"connection_id":89332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:12:31] local.INFO: IMEI packet received {"connection_id":89332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":89332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:12:31] local.INFO: TCP Data received {"connection_id":89332,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:12:31] local.INFO: Processing buffer {"connection_id":89332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:12:31] local.INFO: Packet analysis {"connection_id":89332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:12:31] local.INFO: Extracted packet for processing {"connection_id":89332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:12:31] 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-06-02 00:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:12:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:12:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":89332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:12:31] local.INFO: GPS data processed {"connection_id":89332,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:12:31] local.INFO: Acknowledgment sent {"connection_id":89332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:13:03] local.INFO: TCP Data received {"connection_id":89332,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:13:03] local.INFO: Processing buffer {"connection_id":89332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:13:03] local.INFO: Packet analysis {"connection_id":89332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:13:03] local.INFO: Extracted packet for processing {"connection_id":89332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:13:03] 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-06-02 00: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-06-02 00:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:13:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":89332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:13:03] local.INFO: GPS data processed {"connection_id":89332,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:13:03] local.INFO: Acknowledgment sent {"connection_id":89332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:13:20] local.INFO: TCP Data received {"connection_id":90423,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:13:20] local.INFO: Processing buffer {"connection_id":90423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:13:20] local.INFO: IMEI packet received {"connection_id":90423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":90423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:13:25] local.INFO: TCP Data received {"connection_id":89204,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:13:25] local.INFO: Processing buffer {"connection_id":89204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:13:25] local.INFO: IMEI packet received {"connection_id":89204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":89204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:13:31] local.INFO: TCP Data received {"connection_id":89204,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:13:31] local.INFO: Processing buffer {"connection_id":89204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:13:31] local.INFO: IMEI packet received {"connection_id":89204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":89204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:13:31] local.INFO: TCP Data received {"connection_id":89204,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:13:31] local.INFO: Processing buffer {"connection_id":89204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:13:31] local.INFO: Packet analysis {"connection_id":89204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:13:31] local.INFO: Extracted packet for processing {"connection_id":89204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:13:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:13: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-06-02 00:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:13:31] 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-06-02 00:13: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-06-02 00:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:13:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:13:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":89204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:13:31] local.INFO: GPS data processed {"connection_id":89204,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:13:31] local.INFO: Acknowledgment sent {"connection_id":89204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:13:59] local.INFO: TCP Data received {"connection_id":89333,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:13:59] local.INFO: Processing buffer {"connection_id":89333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:13:59] local.INFO: IMEI packet received {"connection_id":89333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":89333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:14:03] local.INFO: TCP Data received {"connection_id":89204,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:14:03] local.INFO: Processing buffer {"connection_id":89204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:14:03] local.INFO: Packet analysis {"connection_id":89204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:14:03] local.INFO: Extracted packet for processing {"connection_id":89204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:14:03] 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-06-02 00: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-06-02 00:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:14:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:14:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":89204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:14:03] local.INFO: GPS data processed {"connection_id":89204,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:14:03] local.INFO: Acknowledgment sent {"connection_id":89204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:14:25] local.INFO: TCP Data received {"connection_id":88946,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:14:25] local.INFO: Processing buffer {"connection_id":88946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:14:25] local.INFO: IMEI packet received {"connection_id":88946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":88946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:14:31] local.INFO: TCP Data received {"connection_id":88946,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:14:31] local.INFO: Processing buffer {"connection_id":88946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:14:31] local.INFO: IMEI packet received {"connection_id":88946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":88946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:14:32] local.INFO: TCP Data received {"connection_id":88946,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:14:32] local.INFO: Processing buffer {"connection_id":88946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:14:32] local.INFO: Packet analysis {"connection_id":88946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:14:32] local.INFO: Extracted packet for processing {"connection_id":88946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:14:32] 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-06-02 00:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":88946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":88946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":88946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:14:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:14:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":88946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:14:32] local.INFO: GPS data processed {"connection_id":88946,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:14:32] local.INFO: Acknowledgment sent {"connection_id":88946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:15:03] local.INFO: TCP Data received {"connection_id":88946,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:03] local.INFO: Processing buffer {"connection_id":88946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:03] local.INFO: Packet analysis {"connection_id":88946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:15:03] local.INFO: Extracted packet for processing {"connection_id":88946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 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-06-02 00:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 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-06-02 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:15:03] 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-06-02 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-06-02 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-06-02 00:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:15:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":88946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:15:03] local.INFO: GPS data processed {"connection_id":88946,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:15:03] local.INFO: Acknowledgment sent {"connection_id":88946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:15:31] local.INFO: TCP Data received {"connection_id":89335,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:15:31] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:15:31] local.INFO: IMEI packet received {"connection_id":89335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":89335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:15:36] local.INFO: TCP Data received {"connection_id":89335,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:15:36] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:15:36] local.INFO: IMEI packet received {"connection_id":89335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":89335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:15:37] local.INFO: TCP Data received {"connection_id":89335,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:37] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:37] local.INFO: Packet analysis {"connection_id":89335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:15:37] local.INFO: Extracted packet for processing {"connection_id":89335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:15:37] 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-06-02 00:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:15:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:15:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":89335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:15:37] local.INFO: GPS data processed {"connection_id":89335,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:15:37] local.INFO: Acknowledgment sent {"connection_id":89335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:15:41] local.INFO: TCP Data received {"connection_id":89335,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:41] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e847cf7f8012d77ab0005f2a7500022010c24..."} 
[2026-06-02 00:15:41] local.INFO: Packet analysis {"connection_id":89335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:15:41] local.INFO: Extracted packet for processing {"connection_id":89335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e847c"} 
[2026-06-02 00:15:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766769152001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780339243000,"timestamp_ms":1780339243000,"timestamp_seconds":1780339243,"priority":1,"record_length":96,"hex_timestamp":"0000019e847cf7f8"} 
[2026-06-02 00:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:15:41] 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-06-02 00:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766769152001,"66":25625,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766769152001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:15:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:15:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766769152001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":89335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:15:42] local.INFO: GPS data processed {"connection_id":89335,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:15:42] local.INFO: Acknowledgment sent {"connection_id":89335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:16:22] local.INFO: TCP Data received {"connection_id":88947,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:22] local.INFO: Processing buffer {"connection_id":88947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:22] local.INFO: IMEI packet received {"connection_id":88947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":88947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:16:26] local.INFO: TCP Data received {"connection_id":88947,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:26] local.INFO: Processing buffer {"connection_id":88947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:26] local.INFO: IMEI packet received {"connection_id":88947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":88947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:16:31] local.INFO: TCP Data received {"connection_id":88947,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:31] local.INFO: Processing buffer {"connection_id":88947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:16:31] local.INFO: IMEI packet received {"connection_id":88947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":88947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:16:32] local.INFO: TCP Data received {"connection_id":88947,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:16:32] local.INFO: Processing buffer {"connection_id":88947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:16:32] local.INFO: Packet analysis {"connection_id":88947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:16:32] local.INFO: Extracted packet for processing {"connection_id":88947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:16:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":88947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":88947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":88947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:16:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:16:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":88947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:16:32] local.INFO: GPS data processed {"connection_id":88947,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:16:32] local.INFO: Acknowledgment sent {"connection_id":88947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:16:36] local.INFO: TCP Data received {"connection_id":88947,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:16:36] local.INFO: Processing buffer {"connection_id":88947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:16:36] local.INFO: Packet analysis {"connection_id":88947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:16:36] local.INFO: Extracted packet for processing {"connection_id":88947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:16:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":88947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":88947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":88947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:16:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:16:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":88947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:16:36] local.INFO: GPS data processed {"connection_id":88947,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:16:36] local.INFO: Acknowledgment sent {"connection_id":88947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:17:07] local.INFO: TCP Data received {"connection_id":88947,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:17:07] local.INFO: Processing buffer {"connection_id":88947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:17:07] local.INFO: Packet analysis {"connection_id":88947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:17:07] local.INFO: Extracted packet for processing {"connection_id":88947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:17:07] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":88947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":88947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":88947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:17:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:17:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":88947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:17:07] local.INFO: GPS data processed {"connection_id":88947,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:17:07] local.INFO: Acknowledgment sent {"connection_id":88947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:17:25] local.INFO: TCP Data received {"connection_id":89205,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:17:25] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:17:25] local.INFO: IMEI packet received {"connection_id":89205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":89205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:17:31] local.INFO: TCP Data received {"connection_id":89205,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:17:31] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:17:31] local.INFO: IMEI packet received {"connection_id":89205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":89205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:17:32] local.INFO: TCP Data received {"connection_id":89205,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:17:32] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:17:32] local.INFO: Packet analysis {"connection_id":89205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:17:32] local.INFO: Extracted packet for processing {"connection_id":89205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:17:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:17:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":89205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:17:32] local.INFO: GPS data processed {"connection_id":89205,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:17:32] local.INFO: Acknowledgment sent {"connection_id":89205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:18:03] local.INFO: TCP Data received {"connection_id":89205,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:18:03] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:18:03] local.INFO: Packet analysis {"connection_id":89205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:18:03] local.INFO: Extracted packet for processing {"connection_id":89205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:18:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":89205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:18:03] local.INFO: GPS data processed {"connection_id":89205,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:18:03] local.INFO: Acknowledgment sent {"connection_id":89205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:18:25] local.INFO: TCP Data received {"connection_id":88948,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:18:25] local.INFO: Processing buffer {"connection_id":88948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:18:25] local.INFO: IMEI packet received {"connection_id":88948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":88948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:18:31] local.INFO: TCP Data received {"connection_id":88948,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:18:31] local.INFO: Processing buffer {"connection_id":88948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:18:31] local.INFO: IMEI packet received {"connection_id":88948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":88948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:18:32] local.INFO: TCP Data received {"connection_id":88948,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:18:32] local.INFO: Processing buffer {"connection_id":88948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:18:32] local.INFO: Packet analysis {"connection_id":88948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:18:32] local.INFO: Extracted packet for processing {"connection_id":88948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":88948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":88948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":88948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:18:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:18:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":88948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:18:32] local.INFO: GPS data processed {"connection_id":88948,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:18:32] local.INFO: Acknowledgment sent {"connection_id":88948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:19:03] local.INFO: TCP Data received {"connection_id":88948,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:03] local.INFO: Processing buffer {"connection_id":88948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:03] local.INFO: Packet analysis {"connection_id":88948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:19:03] local.INFO: Extracted packet for processing {"connection_id":88948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:19:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":88948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:19:03] local.INFO: GPS data processed {"connection_id":88948,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:19:03] local.INFO: Acknowledgment sent {"connection_id":88948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:19:31] local.INFO: TCP Data received {"connection_id":89206,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:19:31] local.INFO: Processing buffer {"connection_id":89206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:19:31] local.INFO: IMEI packet received {"connection_id":89206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":89206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:19:35] local.INFO: TCP Data received {"connection_id":89337,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:19:35] local.INFO: Processing buffer {"connection_id":89337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:19:35] local.INFO: IMEI packet received {"connection_id":89337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":89337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:19:36] local.INFO: TCP Data received {"connection_id":89206,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:19:36] local.INFO: Processing buffer {"connection_id":89206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:19:36] local.INFO: IMEI packet received {"connection_id":89206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":89206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:19:36] local.INFO: TCP Data received {"connection_id":89206,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:36] local.INFO: Processing buffer {"connection_id":89206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:36] local.INFO: Packet analysis {"connection_id":89206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:19:36] local.INFO: Extracted packet for processing {"connection_id":89206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:19:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:19:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:19:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":89206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:19:36] local.INFO: GPS data processed {"connection_id":89206,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:19:36] local.INFO: Acknowledgment sent {"connection_id":89206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:19:41] local.INFO: TCP Data received {"connection_id":89206,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:41] local.INFO: Processing buffer {"connection_id":89206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:19:41] local.INFO: Packet analysis {"connection_id":89206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:19:41] local.INFO: Extracted packet for processing {"connection_id":89206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:19:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:19:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:19:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":89206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:19:41] local.INFO: GPS data processed {"connection_id":89206,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:19:41] local.INFO: Acknowledgment sent {"connection_id":89206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:20:05] local.INFO: TCP Data received {"connection_id":88949,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:20:05] local.INFO: Processing buffer {"connection_id":88949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:20:05] local.INFO: IMEI packet received {"connection_id":88949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":88949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:20:26] local.INFO: TCP Data received {"connection_id":90426,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:20:26] local.INFO: Processing buffer {"connection_id":90426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:20:26] local.INFO: IMEI packet received {"connection_id":90426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":90426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:20:31] local.INFO: TCP Data received {"connection_id":90426,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:20:31] local.INFO: Processing buffer {"connection_id":90426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:20:31] local.INFO: IMEI packet received {"connection_id":90426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":90426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:20:32] local.INFO: TCP Data received {"connection_id":90426,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:20:32] local.INFO: Processing buffer {"connection_id":90426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:20:32] local.INFO: Packet analysis {"connection_id":90426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:20:32] local.INFO: Extracted packet for processing {"connection_id":90426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:20:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:20:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:20:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":90426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:20:32] local.INFO: GPS data processed {"connection_id":90426,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:20:32] local.INFO: Acknowledgment sent {"connection_id":90426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:21:03] local.INFO: TCP Data received {"connection_id":90426,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:21:03] local.INFO: Processing buffer {"connection_id":90426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84818fc0012d77ab0005f2a7500022010c22..."} 
[2026-06-02 00:21:03] local.INFO: Packet analysis {"connection_id":90426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:21:03] local.INFO: Extracted packet for processing {"connection_id":90426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8481"} 
[2026-06-02 00:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":34,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339544000,"timestamp_ms":1780339544000,"timestamp_seconds":1780339544,"priority":1,"record_length":96,"hex_timestamp":"0000019e84818fc0"} 
[2026-06-02 00:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 00:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766846208001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:21:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766846208001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":90426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:21:03] local.INFO: GPS data processed {"connection_id":90426,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:21:03] local.INFO: Acknowledgment sent {"connection_id":90426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:21:23] local.INFO: TCP Data received {"connection_id":89207,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:23] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:23] local.INFO: IMEI packet received {"connection_id":89207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":89207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:21:25] local.INFO: TCP Data received {"connection_id":89207,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:25] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:25] local.INFO: IMEI packet received {"connection_id":89207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":89207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:21:31] local.INFO: TCP Data received {"connection_id":89207,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:31] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:21:31] local.INFO: IMEI packet received {"connection_id":89207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":89207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:21:31] local.INFO: TCP Data received {"connection_id":89207,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:21:31] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:21:31] local.INFO: Packet analysis {"connection_id":89207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:21:31] local.INFO: Extracted packet for processing {"connection_id":89207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:21:31] 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-06-02 00: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-06-02 00:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:21:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:21:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":89207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:21:32] local.INFO: GPS data processed {"connection_id":89207,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:21:32] local.INFO: Acknowledgment sent {"connection_id":89207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:22:03] local.INFO: TCP Data received {"connection_id":89207,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:03] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:03] local.INFO: Packet analysis {"connection_id":89207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:22:03] local.INFO: Extracted packet for processing {"connection_id":89207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:22:03] 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-06-02 00: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-06-02 00:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:22:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:22:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":89207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:22:03] local.INFO: GPS data processed {"connection_id":89207,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:22:03] local.INFO: Acknowledgment sent {"connection_id":89207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:22:31] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:22:31] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:22:31] local.INFO: IMEI packet received {"connection_id":89340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":89340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:22:35] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:22:35] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:22:35] local.INFO: IMEI packet received {"connection_id":89340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":89340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:22:42] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:42] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:42] local.INFO: Packet analysis {"connection_id":89340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:22:42] local.INFO: Extracted packet for processing {"connection_id":89340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:22:42] 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-06-02 00:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:22:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:22:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":89340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:22:42] local.INFO: GPS data processed {"connection_id":89340,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:22:42] local.INFO: Acknowledgment sent {"connection_id":89340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:22:43] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:43] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:22:43] local.INFO: Packet analysis {"connection_id":89340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:22:43] local.INFO: Extracted packet for processing {"connection_id":89340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:22:43] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:22:43] 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-06-02 00:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:22:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:22:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":89340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:22:43] local.INFO: GPS data processed {"connection_id":89340,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:22:43] local.INFO: Acknowledgment sent {"connection_id":89340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:23:26] local.INFO: TCP Data received {"connection_id":88950,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:23:26] local.INFO: Processing buffer {"connection_id":88950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:23:26] local.INFO: IMEI packet received {"connection_id":88950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":88950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:23:31] local.INFO: TCP Data received {"connection_id":88950,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:23:31] local.INFO: Processing buffer {"connection_id":88950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:23:31] local.INFO: IMEI packet received {"connection_id":88950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":88950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:23:31] local.INFO: TCP Data received {"connection_id":88950,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:23:31] local.INFO: Processing buffer {"connection_id":88950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:23:31] local.INFO: Packet analysis {"connection_id":88950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:23:31] local.INFO: Extracted packet for processing {"connection_id":88950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:23:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:23:31] 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-06-02 00:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:23:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:23:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":88950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:23:31] local.INFO: GPS data processed {"connection_id":88950,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:23:32] local.INFO: Acknowledgment sent {"connection_id":88950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:23:37] local.INFO: TCP Data received {"connection_id":88950,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:23:37] local.INFO: Processing buffer {"connection_id":88950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:23:37] local.INFO: Packet analysis {"connection_id":88950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:23:37] local.INFO: Extracted packet for processing {"connection_id":88950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:23:37] 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-06-02 00:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":88950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":88950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":88950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:23:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:23:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":88950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:23:37] local.INFO: GPS data processed {"connection_id":88950,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:23:37] local.INFO: Acknowledgment sent {"connection_id":88950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:24:08] local.INFO: TCP Data received {"connection_id":88950,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:24:08] local.INFO: Processing buffer {"connection_id":88950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:24:08] local.INFO: Packet analysis {"connection_id":88950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:24:08] local.INFO: Extracted packet for processing {"connection_id":88950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:24:08] 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-06-02 00:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":88950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":88950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":88950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:24:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:24:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":88950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:24:08] local.INFO: GPS data processed {"connection_id":88950,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:24:08] local.INFO: Acknowledgment sent {"connection_id":88950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:24:26] local.INFO: TCP Data received {"connection_id":88951,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:24:26] local.INFO: Processing buffer {"connection_id":88951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:24:26] local.INFO: IMEI packet received {"connection_id":88951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":88951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:24:31] local.INFO: TCP Data received {"connection_id":88951,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:24:31] local.INFO: Processing buffer {"connection_id":88951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:24:31] local.INFO: IMEI packet received {"connection_id":88951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":88951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:24:32] local.INFO: TCP Data received {"connection_id":88951,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:24:32] local.INFO: Processing buffer {"connection_id":88951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:24:32] local.INFO: Packet analysis {"connection_id":88951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:24:32] local.INFO: Extracted packet for processing {"connection_id":88951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:24:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:24:32] 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-06-02 00:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":88951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":88951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":88951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:24:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:24:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":88951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:24:32] local.INFO: GPS data processed {"connection_id":88951,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:24:32] local.INFO: Acknowledgment sent {"connection_id":88951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:25:03] local.INFO: TCP Data received {"connection_id":88951,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:03] local.INFO: Processing buffer {"connection_id":88951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:03] local.INFO: Packet analysis {"connection_id":88951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:25:03] local.INFO: Extracted packet for processing {"connection_id":88951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:25:03] 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-06-02 00:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:25:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":88951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:25:03] local.INFO: GPS data processed {"connection_id":88951,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:25:03] local.INFO: Acknowledgment sent {"connection_id":88951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:25:20] local.INFO: TCP Data received {"connection_id":89341,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:25:20] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:25:20] local.INFO: IMEI packet received {"connection_id":89341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":89341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:25:29] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:25:29] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:25:29] local.INFO: IMEI packet received {"connection_id":89342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":89342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:25:30] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:25:30] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:25:30] local.INFO: IMEI packet received {"connection_id":89342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":89342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:25:31] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:31] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:31] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:25:31] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:25: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-06-02 00:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:25: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:25:31] 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-06-02 00:25: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-06-02 00:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:25:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:25:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:25:31] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:25:31] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:25:36] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:36] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:25:36] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:25:36] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:25:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:25:36] 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-06-02 00:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:25:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:25:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:25:36] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:25:36] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:26:00] local.INFO: TCP Data received {"connection_id":89343,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:26:00] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:26:00] local.INFO: IMEI packet received {"connection_id":89343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":89343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:26:08] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:26:08] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84862788012d77ab0005f2a7500013010c1f..."} 
[2026-06-02 00:26:08] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:26:08] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8486"} 
[2026-06-02 00:26:08] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":19,"angle":268,"satellites":31,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455766923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780339845000,"timestamp_ms":1780339845000,"timestamp_seconds":1780339845,"priority":1,"record_length":96,"hex_timestamp":"0000019e84862788"} 
[2026-06-02 00:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:26:08] 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-06-02 00: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-06-02 00:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455766923264001,"66":25397,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455766923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:26:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:26:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455766923264001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:26:08] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:26:08] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:26:25] local.INFO: TCP Data received {"connection_id":89209,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:26:25] local.INFO: Processing buffer {"connection_id":89209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:26:25] local.INFO: IMEI packet received {"connection_id":89209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":89209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:26:31] local.INFO: TCP Data received {"connection_id":89209,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:26:31] local.INFO: Processing buffer {"connection_id":89209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:26:31] local.INFO: IMEI packet received {"connection_id":89209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":89209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:26:32] local.INFO: TCP Data received {"connection_id":89209,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:26:32] local.INFO: Processing buffer {"connection_id":89209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:26:32] local.INFO: Packet analysis {"connection_id":89209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:26:32] local.INFO: Extracted packet for processing {"connection_id":89209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:26:32] 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-06-02 00:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:26:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:26:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":89209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:26:32] local.INFO: GPS data processed {"connection_id":89209,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:26:32] local.INFO: Acknowledgment sent {"connection_id":89209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:27:03] local.INFO: TCP Data received {"connection_id":89209,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:27:03] local.INFO: Processing buffer {"connection_id":89209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:27:03] local.INFO: Packet analysis {"connection_id":89209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:27:03] local.INFO: Extracted packet for processing {"connection_id":89209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:27:03] 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-06-02 00:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:27:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:27:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":89209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:27:03] local.INFO: GPS data processed {"connection_id":89209,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:27:03] local.INFO: Acknowledgment sent {"connection_id":89209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:27:26] local.INFO: TCP Data received {"connection_id":88952,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:27:26] local.INFO: Processing buffer {"connection_id":88952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:27:26] local.INFO: IMEI packet received {"connection_id":88952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":88952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:27:31] local.INFO: TCP Data received {"connection_id":88952,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:27:31] local.INFO: Processing buffer {"connection_id":88952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:27:31] local.INFO: IMEI packet received {"connection_id":88952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":88952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:27:32] local.INFO: TCP Data received {"connection_id":88952,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:27:32] local.INFO: Processing buffer {"connection_id":88952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:27:32] local.INFO: Packet analysis {"connection_id":88952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:27:32] local.INFO: Extracted packet for processing {"connection_id":88952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:27:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:27:32] 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-06-02 00:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":88952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":88952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":88952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:27:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:27:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":88952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:27:32] local.INFO: GPS data processed {"connection_id":88952,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:27:32] local.INFO: Acknowledgment sent {"connection_id":88952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:28:03] local.INFO: TCP Data received {"connection_id":88952,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:28:03] local.INFO: Processing buffer {"connection_id":88952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:28:03] local.INFO: Packet analysis {"connection_id":88952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:28:03] local.INFO: Extracted packet for processing {"connection_id":88952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:28:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:28:03] 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-06-02 00:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:28:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:28:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":88952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:28:03] local.INFO: GPS data processed {"connection_id":88952,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:28:03] local.INFO: Acknowledgment sent {"connection_id":88952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:28:25] local.INFO: TCP Data received {"connection_id":90428,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:28:25] local.INFO: Processing buffer {"connection_id":90428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:28:25] local.INFO: IMEI packet received {"connection_id":90428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":90428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:28:31] local.INFO: TCP Data received {"connection_id":90428,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:28:31] local.INFO: Processing buffer {"connection_id":90428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:28:31] local.INFO: IMEI packet received {"connection_id":90428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":90428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:28:32] local.INFO: TCP Data received {"connection_id":90428,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:28:32] local.INFO: Processing buffer {"connection_id":90428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:28:32] local.INFO: Packet analysis {"connection_id":90428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:28:32] local.INFO: Extracted packet for processing {"connection_id":90428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:28:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:28:32] 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-06-02 00:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:28:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:28:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":90428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:28:32] local.INFO: GPS data processed {"connection_id":90428,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:28:32] local.INFO: Acknowledgment sent {"connection_id":90428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:29:09] local.INFO: TCP Data received {"connection_id":90428,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:29:09] local.INFO: Processing buffer {"connection_id":90428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:29:09] local.INFO: Packet analysis {"connection_id":90428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:29:09] local.INFO: Extracted packet for processing {"connection_id":90428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:29:09] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:29:09] 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-06-02 00:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":90428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":90428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":90428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:29:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:29:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":90428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:29:09] local.INFO: GPS data processed {"connection_id":90428,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:29:09] local.INFO: Acknowledgment sent {"connection_id":90428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:29:25] local.INFO: TCP Data received {"connection_id":89347,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:29:25] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:29:25] local.INFO: IMEI packet received {"connection_id":89347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":89347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:29:31] local.INFO: TCP Data received {"connection_id":89347,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:29:31] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:29:31] local.INFO: IMEI packet received {"connection_id":89347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":89347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:29:32] local.INFO: TCP Data received {"connection_id":89347,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:29:32] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:29:32] local.INFO: Packet analysis {"connection_id":89347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:29:32] local.INFO: Extracted packet for processing {"connection_id":89347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:29:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:29:32] 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-06-02 00: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-06-02 00:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:29:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:29:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":89347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:29:32] local.INFO: GPS data processed {"connection_id":89347,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:29:32] local.INFO: Acknowledgment sent {"connection_id":89347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:30:03] local.INFO: TCP Data received {"connection_id":89347,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:30:03] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:30:03] local.INFO: Packet analysis {"connection_id":89347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:30:03] local.INFO: Extracted packet for processing {"connection_id":89347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:30:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:30:03] 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-06-02 00: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-06-02 00:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:30:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":89347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:30:03] local.INFO: GPS data processed {"connection_id":89347,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:30:03] local.INFO: Acknowledgment sent {"connection_id":89347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:30:25] local.INFO: TCP Data received {"connection_id":89211,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:30:25] local.INFO: Processing buffer {"connection_id":89211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:30:25] local.INFO: IMEI packet received {"connection_id":89211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":89211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:30:31] local.INFO: TCP Data received {"connection_id":89211,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:30:31] local.INFO: Processing buffer {"connection_id":89211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:30:31] local.INFO: IMEI packet received {"connection_id":89211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":89211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:30:31] local.INFO: TCP Data received {"connection_id":89211,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:30:31] local.INFO: Processing buffer {"connection_id":89211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:30:31] local.INFO: Packet analysis {"connection_id":89211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:30:31] local.INFO: Extracted packet for processing {"connection_id":89211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:30:31] 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-06-02 00:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:30:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:30:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":89211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:30:32] local.INFO: GPS data processed {"connection_id":89211,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:30:32] local.INFO: Acknowledgment sent {"connection_id":89211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:31:03] local.INFO: TCP Data received {"connection_id":89211,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:31:03] local.INFO: Processing buffer {"connection_id":89211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848abf50012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:31:03] local.INFO: Packet analysis {"connection_id":89211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:31:03] local.INFO: Extracted packet for processing {"connection_id":89211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848a"} 
[2026-06-02 00:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767000320001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340146000,"timestamp_ms":1780340146000,"timestamp_seconds":1780340146,"priority":1,"record_length":96,"hex_timestamp":"0000019e848abf50"} 
[2026-06-02 00:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 00:31:03] 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-06-02 00:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767000320001,"66":25604,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767000320001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:31:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767000320001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":89211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:31:03] local.INFO: GPS data processed {"connection_id":89211,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:31:03] local.INFO: Acknowledgment sent {"connection_id":89211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:31:30] local.INFO: TCP Data received {"connection_id":88953,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:31:30] local.INFO: Processing buffer {"connection_id":88953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:31:30] local.INFO: IMEI packet received {"connection_id":88953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":88953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:31:31] local.INFO: TCP Data received {"connection_id":89212,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:31:31] local.INFO: Processing buffer {"connection_id":89212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:31:31] local.INFO: IMEI packet received {"connection_id":89212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":89212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:31:36] local.INFO: TCP Data received {"connection_id":89212,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:31:36] local.INFO: Processing buffer {"connection_id":89212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:31:36] local.INFO: IMEI packet received {"connection_id":89212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":89212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:31:36] local.INFO: TCP Data received {"connection_id":89212,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:31:36] local.INFO: Processing buffer {"connection_id":89212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:31:36] local.INFO: Packet analysis {"connection_id":89212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:31:36] local.INFO: Extracted packet for processing {"connection_id":89212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:31:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:31:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:31:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":89212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:31:36] local.INFO: GPS data processed {"connection_id":89212,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:31:36] local.INFO: Acknowledgment sent {"connection_id":89212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:31:41] local.INFO: TCP Data received {"connection_id":89212,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:31:41] local.INFO: Processing buffer {"connection_id":89212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:31:41] local.INFO: Packet analysis {"connection_id":89212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:31:41] local.INFO: Extracted packet for processing {"connection_id":89212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:31:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:31:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:31:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":89212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:31:41] local.INFO: GPS data processed {"connection_id":89212,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:31:41] local.INFO: Acknowledgment sent {"connection_id":89212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:32:00] local.INFO: TCP Data received {"connection_id":89348,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:32:00] local.INFO: Processing buffer {"connection_id":89348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:32:00] local.INFO: IMEI packet received {"connection_id":89348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":89348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:32:25] local.INFO: TCP Data received {"connection_id":89213,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:32:25] local.INFO: Processing buffer {"connection_id":89213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:32:25] local.INFO: IMEI packet received {"connection_id":89213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":89213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:32:31] local.INFO: TCP Data received {"connection_id":89213,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:32:31] local.INFO: Processing buffer {"connection_id":89213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:32:31] local.INFO: IMEI packet received {"connection_id":89213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":89213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:32:32] local.INFO: TCP Data received {"connection_id":89213,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:32:32] local.INFO: Processing buffer {"connection_id":89213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:32:32] local.INFO: Packet analysis {"connection_id":89213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:32:32] local.INFO: Extracted packet for processing {"connection_id":89213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:32:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:32:32] 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-06-02 00:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:32:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:32:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":89213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:32:32] local.INFO: GPS data processed {"connection_id":89213,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:32:32] local.INFO: Acknowledgment sent {"connection_id":89213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:33:03] local.INFO: TCP Data received {"connection_id":89213,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:33:03] local.INFO: Processing buffer {"connection_id":89213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:33:03] local.INFO: Packet analysis {"connection_id":89213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:33:03] local.INFO: Extracted packet for processing {"connection_id":89213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:33:03] 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-06-02 00:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:33:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":89213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:33:03] local.INFO: GPS data processed {"connection_id":89213,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:33:03] local.INFO: Acknowledgment sent {"connection_id":89213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:33:25] local.INFO: TCP Data received {"connection_id":88955,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:33:25] local.INFO: Processing buffer {"connection_id":88955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:33:25] local.INFO: IMEI packet received {"connection_id":88955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":88955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:33:30] local.INFO: TCP Data received {"connection_id":88955,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:33:30] local.INFO: Processing buffer {"connection_id":88955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:33:30] local.INFO: IMEI packet received {"connection_id":88955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":88955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:33:31] local.INFO: TCP Data received {"connection_id":88955,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:33:31] local.INFO: Processing buffer {"connection_id":88955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:33:31] local.INFO: Packet analysis {"connection_id":88955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:33:31] local.INFO: Extracted packet for processing {"connection_id":88955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:33:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:33:31] 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-06-02 00: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-06-02 00:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:33:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:33:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":88955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:33:31] local.INFO: GPS data processed {"connection_id":88955,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:33:31] local.INFO: Acknowledgment sent {"connection_id":88955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:34:03] local.INFO: TCP Data received {"connection_id":88955,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:03] local.INFO: Processing buffer {"connection_id":88955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:03] local.INFO: Packet analysis {"connection_id":88955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:34:03] local.INFO: Extracted packet for processing {"connection_id":88955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:34:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:34:03] 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-06-02 00: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-06-02 00:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:34:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:34:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":88955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:34:03] local.INFO: GPS data processed {"connection_id":88955,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:34:03] local.INFO: Acknowledgment sent {"connection_id":88955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:34:31] local.INFO: TCP Data received {"connection_id":89214,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:34:31] local.INFO: Processing buffer {"connection_id":89214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:34:31] local.INFO: IMEI packet received {"connection_id":89214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":89214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:34:35] local.INFO: TCP Data received {"connection_id":89214,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:34:35] local.INFO: Processing buffer {"connection_id":89214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:34:35] local.INFO: IMEI packet received {"connection_id":89214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":89214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:34:36] local.INFO: TCP Data received {"connection_id":89214,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:36] local.INFO: Processing buffer {"connection_id":89214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:36] local.INFO: Packet analysis {"connection_id":89214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:34:36] local.INFO: Extracted packet for processing {"connection_id":89214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:34:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:34:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:34:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":89214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:34:36] local.INFO: GPS data processed {"connection_id":89214,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:34:36] local.INFO: Acknowledgment sent {"connection_id":89214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:34:41] local.INFO: TCP Data received {"connection_id":89214,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:41] local.INFO: Processing buffer {"connection_id":89214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:34:41] local.INFO: Packet analysis {"connection_id":89214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:34:41] local.INFO: Extracted packet for processing {"connection_id":89214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:34:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:34:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:34:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":89214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:34:41] local.INFO: GPS data processed {"connection_id":89214,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:34:41] local.INFO: Acknowledgment sent {"connection_id":89214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:35:26] local.INFO: TCP Data received {"connection_id":89351,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:35:26] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:35:26] local.INFO: IMEI packet received {"connection_id":89351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":89351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:35:31] local.INFO: TCP Data received {"connection_id":89351,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:35:31] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:35:31] local.INFO: IMEI packet received {"connection_id":89351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":89351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:35:31] local.INFO: TCP Data received {"connection_id":89351,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:35:31] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:35:31] local.INFO: Packet analysis {"connection_id":89351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:35:31] local.INFO: Extracted packet for processing {"connection_id":89351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:35:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:35:31] 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-06-02 00:35: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-06-02 00:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:35:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:35:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":89351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:35:32] local.INFO: GPS data processed {"connection_id":89351,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:35:32] local.INFO: Acknowledgment sent {"connection_id":89351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:36:03] local.INFO: TCP Data received {"connection_id":89351,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:36:03] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e848f5718012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:36:03] local.INFO: Packet analysis {"connection_id":89351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:36:03] local.INFO: Extracted packet for processing {"connection_id":89351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e848f"} 
[2026-06-02 00:36:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767077376001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340447000,"timestamp_ms":1780340447000,"timestamp_seconds":1780340447,"priority":1,"record_length":96,"hex_timestamp":"0000019e848f5718"} 
[2026-06-02 00:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 00:36:03] 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-06-02 00:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767077376001,"66":25615,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767077376001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:36:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:36:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767077376001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":89351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:36:03] local.INFO: GPS data processed {"connection_id":89351,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:36:03] local.INFO: Acknowledgment sent {"connection_id":89351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:36:25] local.INFO: TCP Data received {"connection_id":89216,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:25] local.INFO: Processing buffer {"connection_id":89216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:25] local.INFO: IMEI packet received {"connection_id":89216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":89216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:36:26] local.INFO: TCP Data received {"connection_id":89216,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:26] local.INFO: Processing buffer {"connection_id":89216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:26] local.INFO: IMEI packet received {"connection_id":89216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":89216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:36:31] local.INFO: TCP Data received {"connection_id":89216,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:31] local.INFO: Processing buffer {"connection_id":89216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:36:31] local.INFO: IMEI packet received {"connection_id":89216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":89216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:36:32] local.INFO: TCP Data received {"connection_id":89216,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:36:32] local.INFO: Processing buffer {"connection_id":89216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:36:32] local.INFO: Packet analysis {"connection_id":89216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:36:32] local.INFO: Extracted packet for processing {"connection_id":89216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:36:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:36:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:36:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":89216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:36:32] local.INFO: GPS data processed {"connection_id":89216,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:36:32] local.INFO: Acknowledgment sent {"connection_id":89216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:37:03] local.INFO: TCP Data received {"connection_id":89216,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:37:03] local.INFO: Processing buffer {"connection_id":89216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:37:03] local.INFO: Packet analysis {"connection_id":89216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:37:03] local.INFO: Extracted packet for processing {"connection_id":89216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:37:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:37:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":89216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:37:03] local.INFO: GPS data processed {"connection_id":89216,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:37:03] local.INFO: Acknowledgment sent {"connection_id":89216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:37:25] local.INFO: TCP Data received {"connection_id":88956,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:37:25] local.INFO: Processing buffer {"connection_id":88956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:37:25] local.INFO: IMEI packet received {"connection_id":88956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":88956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:37:25] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:37:25] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:37:25] local.INFO: IMEI packet received {"connection_id":89352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":89352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:37:31] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:37:31] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:37:31] local.INFO: IMEI packet received {"connection_id":89352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":89352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:37:32] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:37:32] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:37:32] local.INFO: Packet analysis {"connection_id":89352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:37:32] local.INFO: Extracted packet for processing {"connection_id":89352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:37:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:37:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:37:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":89352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:37:32] local.INFO: GPS data processed {"connection_id":89352,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:37:32] local.INFO: Acknowledgment sent {"connection_id":89352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:37:59] local.INFO: TCP Data received {"connection_id":88957,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:37:59] local.INFO: Processing buffer {"connection_id":88957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:37:59] local.INFO: IMEI packet received {"connection_id":88957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":88957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:38:02] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:02] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:02] local.INFO: Packet analysis {"connection_id":89352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:38:02] local.INFO: Extracted packet for processing {"connection_id":89352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:38:02] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:38:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:38:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":89352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:38:02] local.INFO: GPS data processed {"connection_id":89352,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:38:02] local.INFO: Acknowledgment sent {"connection_id":89352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:38:31] local.INFO: TCP Data received {"connection_id":88958,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:38:31] local.INFO: Processing buffer {"connection_id":88958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:38:31] local.INFO: IMEI packet received {"connection_id":88958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":88958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:38:35] local.INFO: TCP Data received {"connection_id":88958,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:38:35] local.INFO: Processing buffer {"connection_id":88958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:38:35] local.INFO: IMEI packet received {"connection_id":88958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":88958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:38:36] local.INFO: TCP Data received {"connection_id":88958,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:36] local.INFO: Processing buffer {"connection_id":88958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:36] local.INFO: Packet analysis {"connection_id":88958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:38:36] local.INFO: Extracted packet for processing {"connection_id":88958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:38:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":88958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":88958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":88958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:38:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:38:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":88958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:38:36] local.INFO: GPS data processed {"connection_id":88958,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:38:36] local.INFO: Acknowledgment sent {"connection_id":88958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:38:41] local.INFO: TCP Data received {"connection_id":88958,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:41] local.INFO: Processing buffer {"connection_id":88958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:38:41] local.INFO: Packet analysis {"connection_id":88958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:38:41] local.INFO: Extracted packet for processing {"connection_id":88958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:38:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":88958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":88958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":88958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:38:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:38:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":88958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:38:41] local.INFO: GPS data processed {"connection_id":88958,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:38:41] local.INFO: Acknowledgment sent {"connection_id":88958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:39:25] local.INFO: TCP Data received {"connection_id":90430,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:39:25] local.INFO: Processing buffer {"connection_id":90430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:39:25] local.INFO: IMEI packet received {"connection_id":90430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":90430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:39:31] local.INFO: TCP Data received {"connection_id":90430,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:39:31] local.INFO: Processing buffer {"connection_id":90430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:39:31] local.INFO: IMEI packet received {"connection_id":90430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":90430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:39:31] local.INFO: TCP Data received {"connection_id":90430,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:39:31] local.INFO: Processing buffer {"connection_id":90430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:39:31] local.INFO: Packet analysis {"connection_id":90430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:39:31] local.INFO: Extracted packet for processing {"connection_id":90430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:39:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:39:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":90430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:39:31] local.INFO: GPS data processed {"connection_id":90430,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:39:31] local.INFO: Acknowledgment sent {"connection_id":90430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:40:03] local.INFO: TCP Data received {"connection_id":90430,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:40:03] local.INFO: Processing buffer {"connection_id":90430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:40:03] local.INFO: Packet analysis {"connection_id":90430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:40:03] local.INFO: Extracted packet for processing {"connection_id":90430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":90430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:40:03] local.INFO: GPS data processed {"connection_id":90430,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:40:03] local.INFO: Acknowledgment sent {"connection_id":90430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:40:25] local.INFO: TCP Data received {"connection_id":89218,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:40:25] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:40:25] local.INFO: IMEI packet received {"connection_id":89218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":89218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:40:31] local.INFO: TCP Data received {"connection_id":89218,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:40:31] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:40:31] local.INFO: IMEI packet received {"connection_id":89218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":89218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:40:31] local.INFO: TCP Data received {"connection_id":89218,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:40:31] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:40:31] local.INFO: Packet analysis {"connection_id":89218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:40:31] local.INFO: Extracted packet for processing {"connection_id":89218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:40:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:40: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-06-02 00:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:40: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:40: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-06-02 00:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:40:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:40:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":89218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:40:32] local.INFO: GPS data processed {"connection_id":89218,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:40:32] local.INFO: Acknowledgment sent {"connection_id":89218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:41:09] local.INFO: TCP Data received {"connection_id":89218,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:41:09] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8493eee0012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:41:09] local.INFO: Packet analysis {"connection_id":89218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:41:09] local.INFO: Extracted packet for processing {"connection_id":89218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8493"} 
[2026-06-02 00:41:09] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767154432001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780340748000,"timestamp_ms":1780340748000,"timestamp_seconds":1780340748,"priority":1,"record_length":96,"hex_timestamp":"0000019e8493eee0"} 
[2026-06-02 00:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 00:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767154432001,"66":25538,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767154432001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:41:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:41:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767154432001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":89218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:41:09] local.INFO: GPS data processed {"connection_id":89218,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:41:09] local.INFO: Acknowledgment sent {"connection_id":89218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:41:25] local.INFO: TCP Data received {"connection_id":90432,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:25] local.INFO: Processing buffer {"connection_id":90432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:25] local.INFO: IMEI packet received {"connection_id":90432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":90432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:41:27] local.INFO: TCP Data received {"connection_id":90432,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:27] local.INFO: Processing buffer {"connection_id":90432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:27] local.INFO: IMEI packet received {"connection_id":90432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":90432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:41:30] local.INFO: TCP Data received {"connection_id":90432,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:30] local.INFO: Processing buffer {"connection_id":90432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:41:30] local.INFO: IMEI packet received {"connection_id":90432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":90432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:41:31] local.INFO: TCP Data received {"connection_id":90432,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:41:31] local.INFO: Processing buffer {"connection_id":90432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:41:31] local.INFO: Packet analysis {"connection_id":90432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:41:31] local.INFO: Extracted packet for processing {"connection_id":90432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:41:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:41:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:41:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":90432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:41:31] local.INFO: GPS data processed {"connection_id":90432,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:41:31] local.INFO: Acknowledgment sent {"connection_id":90432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:42:02] local.INFO: TCP Data received {"connection_id":90432,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:42:02] local.INFO: Processing buffer {"connection_id":90432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:42:02] local.INFO: Packet analysis {"connection_id":90432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:42:02] local.INFO: Extracted packet for processing {"connection_id":90432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:42:02] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:42:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:42:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":90432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:42:02] local.INFO: GPS data processed {"connection_id":90432,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:42:02] local.INFO: Acknowledgment sent {"connection_id":90432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:42:26] local.INFO: TCP Data received {"connection_id":89353,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:42:26] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:42:26] local.INFO: IMEI packet received {"connection_id":89353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":89353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:42:31] local.INFO: TCP Data received {"connection_id":89353,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:42:31] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:42:31] local.INFO: IMEI packet received {"connection_id":89353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":89353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:42:31] local.INFO: TCP Data received {"connection_id":89353,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:42:31] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:42:31] local.INFO: Packet analysis {"connection_id":89353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:42:31] local.INFO: Extracted packet for processing {"connection_id":89353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:42:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:42: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-06-02 00:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:42: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:42: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-06-02 00:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:42:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:42:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":89353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:42:32] local.INFO: GPS data processed {"connection_id":89353,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:42:32] local.INFO: Acknowledgment sent {"connection_id":89353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:43:03] local.INFO: TCP Data received {"connection_id":89353,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:43:03] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:43:03] local.INFO: Packet analysis {"connection_id":89353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:43:03] local.INFO: Extracted packet for processing {"connection_id":89353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:43:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":89353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:43:03] local.INFO: GPS data processed {"connection_id":89353,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:43:03] local.INFO: Acknowledgment sent {"connection_id":89353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:43:26] local.INFO: TCP Data received {"connection_id":89354,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:43:26] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:43:26] local.INFO: IMEI packet received {"connection_id":89354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":89354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:43:28] local.INFO: TCP Data received {"connection_id":89219,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:43:28] local.INFO: Processing buffer {"connection_id":89219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:43:28] local.INFO: IMEI packet received {"connection_id":89219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":89219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:43:31] local.INFO: TCP Data received {"connection_id":89354,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:43:31] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:43:31] local.INFO: IMEI packet received {"connection_id":89354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":89354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:43:31] local.INFO: TCP Data received {"connection_id":89354,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:43:31] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:43:31] local.INFO: Packet analysis {"connection_id":89354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:43:31] local.INFO: Extracted packet for processing {"connection_id":89354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:43:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:43:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:43:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":89354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:43:31] local.INFO: GPS data processed {"connection_id":89354,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:43:31] local.INFO: Acknowledgment sent {"connection_id":89354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:43:59] local.INFO: TCP Data received {"connection_id":88960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:43:59] local.INFO: Processing buffer {"connection_id":88960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:43:59] local.INFO: IMEI packet received {"connection_id":88960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":88960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:44:03] local.INFO: TCP Data received {"connection_id":89354,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:44:03] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:44:03] local.INFO: Packet analysis {"connection_id":89354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:44:03] local.INFO: Extracted packet for processing {"connection_id":89354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:44:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:44:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":89354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:44:03] local.INFO: GPS data processed {"connection_id":89354,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:44:03] local.INFO: Acknowledgment sent {"connection_id":89354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:44:25] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:44:25] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:44:25] local.INFO: IMEI packet received {"connection_id":89355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":89355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:44:31] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:44:31] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:44:31] local.INFO: IMEI packet received {"connection_id":89355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":89355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:44:37] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:44:37] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:44:37] local.INFO: Packet analysis {"connection_id":89355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:44:37] local.INFO: Extracted packet for processing {"connection_id":89355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:44:37] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:44:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:44:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":89355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:44:37] local.INFO: GPS data processed {"connection_id":89355,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:44:37] local.INFO: Acknowledgment sent {"connection_id":89355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:45:08] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:08] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:08] local.INFO: Packet analysis {"connection_id":89355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:45:08] local.INFO: Extracted packet for processing {"connection_id":89355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:45:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:45:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":89355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:45:08] local.INFO: GPS data processed {"connection_id":89355,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:45:08] local.INFO: Acknowledgment sent {"connection_id":89355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:45:31] local.INFO: TCP Data received {"connection_id":89220,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:45:31] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:45:31] local.INFO: IMEI packet received {"connection_id":89220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":89220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:45:36] local.INFO: TCP Data received {"connection_id":89220,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:45:36] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:45:36] local.INFO: IMEI packet received {"connection_id":89220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":89220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:45:36] local.INFO: TCP Data received {"connection_id":89220,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:36] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:36] local.INFO: Packet analysis {"connection_id":89220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:45:36] local.INFO: Extracted packet for processing {"connection_id":89220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:45:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:45:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:45:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":89220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:45:36] local.INFO: GPS data processed {"connection_id":89220,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:45:36] local.INFO: Acknowledgment sent {"connection_id":89220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:45:41] local.INFO: TCP Data received {"connection_id":89220,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:41] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849886a8012d77ab0005f2a7500016010c24..."} 
[2026-06-02 00:45:41] local.INFO: Packet analysis {"connection_id":89220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:45:41] local.INFO: Extracted packet for processing {"connection_id":89220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8498"} 
[2026-06-02 00:45:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767231488001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780341049000,"timestamp_ms":1780341049000,"timestamp_seconds":1780341049,"priority":1,"record_length":96,"hex_timestamp":"0000019e849886a8"} 
[2026-06-02 00:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 00:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767231488001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767231488001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:45:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:45:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767231488001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":89220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:45:41] local.INFO: GPS data processed {"connection_id":89220,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:45:41] local.INFO: Acknowledgment sent {"connection_id":89220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:46:26] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:46:26] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:46:26] local.INFO: IMEI packet received {"connection_id":89356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":89356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:46:28] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:46:28] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:46:28] local.INFO: IMEI packet received {"connection_id":89356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:46:29] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:46:29] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:46:29] local.INFO: Packet analysis {"connection_id":89356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:46:29] local.INFO: Extracted packet for processing {"connection_id":89356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:46:29] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:46: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-06-02 00:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:46:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:46:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":89356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:46:29] local.INFO: GPS data processed {"connection_id":89356,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:46:29] local.INFO: Acknowledgment sent {"connection_id":89356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:47:01] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:47:01] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:47:01] local.INFO: Packet analysis {"connection_id":89356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:47:01] local.INFO: Extracted packet for processing {"connection_id":89356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:47:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:47:01] 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-06-02 00:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:47:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:47:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":89356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:47:01] local.INFO: GPS data processed {"connection_id":89356,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:47:01] local.INFO: Acknowledgment sent {"connection_id":89356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:47:25] local.INFO: TCP Data received {"connection_id":89221,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:47:25] local.INFO: Processing buffer {"connection_id":89221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:47:25] local.INFO: IMEI packet received {"connection_id":89221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":89221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:47:31] local.INFO: TCP Data received {"connection_id":89221,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:47:31] local.INFO: Processing buffer {"connection_id":89221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:47:31] local.INFO: IMEI packet received {"connection_id":89221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":89221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:47:31] local.INFO: TCP Data received {"connection_id":89221,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:47:31] local.INFO: Processing buffer {"connection_id":89221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:47:31] local.INFO: Packet analysis {"connection_id":89221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:47:31] local.INFO: Extracted packet for processing {"connection_id":89221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:47:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:47:31] 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-06-02 00:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:47:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:47:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":89221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:47:31] local.INFO: GPS data processed {"connection_id":89221,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:47:31] local.INFO: Acknowledgment sent {"connection_id":89221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:48:03] local.INFO: TCP Data received {"connection_id":89221,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:48:03] local.INFO: Processing buffer {"connection_id":89221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:48:03] local.INFO: Packet analysis {"connection_id":89221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:48:03] local.INFO: Extracted packet for processing {"connection_id":89221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:48:03] 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-06-02 00:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:48:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":89221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:48:03] local.INFO: GPS data processed {"connection_id":89221,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:48:03] local.INFO: Acknowledgment sent {"connection_id":89221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:48:25] local.INFO: TCP Data received {"connection_id":90434,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:48:25] local.INFO: Processing buffer {"connection_id":90434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:48:25] local.INFO: IMEI packet received {"connection_id":90434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":90434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:48:31] local.INFO: TCP Data received {"connection_id":90434,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:48:31] local.INFO: Processing buffer {"connection_id":90434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:48:31] local.INFO: IMEI packet received {"connection_id":90434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":90434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:48:32] local.INFO: TCP Data received {"connection_id":90434,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:48:32] local.INFO: Processing buffer {"connection_id":90434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:48:32] local.INFO: Packet analysis {"connection_id":90434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:48:32] local.INFO: Extracted packet for processing {"connection_id":90434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:48:32] 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-06-02 00:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:48:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:48:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":90434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:48:32] local.INFO: GPS data processed {"connection_id":90434,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:48:32] local.INFO: Acknowledgment sent {"connection_id":90434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:49:03] local.INFO: TCP Data received {"connection_id":90434,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:03] local.INFO: Processing buffer {"connection_id":90434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:03] local.INFO: Packet analysis {"connection_id":90434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:49:03] local.INFO: Extracted packet for processing {"connection_id":90434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:49:03] 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-06-02 00:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:49:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:49:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":90434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:49:03] local.INFO: GPS data processed {"connection_id":90434,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:49:03] local.INFO: Acknowledgment sent {"connection_id":90434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:49:30] local.INFO: TCP Data received {"connection_id":90435,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:49:30] local.INFO: Processing buffer {"connection_id":90435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:49:30] local.INFO: IMEI packet received {"connection_id":90435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":90435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:49:31] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:49:31] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:49:31] local.INFO: IMEI packet received {"connection_id":89358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":89358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:49:36] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:49:36] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:49:36] local.INFO: IMEI packet received {"connection_id":89358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":89358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:49:36] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:36] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:36] local.INFO: Packet analysis {"connection_id":89358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:49:36] local.INFO: Extracted packet for processing {"connection_id":89358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:49:36] 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-06-02 00:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:49:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:49:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":89358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:49:36] local.INFO: GPS data processed {"connection_id":89358,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:49:36] local.INFO: Acknowledgment sent {"connection_id":89358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:49:41] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:41] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:49:41] local.INFO: Packet analysis {"connection_id":89358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:49:41] local.INFO: Extracted packet for processing {"connection_id":89358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:49:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:49:41] 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-06-02 00:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:49:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:49:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":89358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:49:41] local.INFO: GPS data processed {"connection_id":89358,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:49:41] local.INFO: Acknowledgment sent {"connection_id":89358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:50:05] local.INFO: TCP Data received {"connection_id":88964,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:50:05] local.INFO: Processing buffer {"connection_id":88964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:50:05] local.INFO: IMEI packet received {"connection_id":88964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":88964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:50:26] local.INFO: TCP Data received {"connection_id":90436,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:50:26] local.INFO: Processing buffer {"connection_id":90436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:50:26] local.INFO: IMEI packet received {"connection_id":90436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":90436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:50:31] local.INFO: TCP Data received {"connection_id":90436,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:50:31] local.INFO: Processing buffer {"connection_id":90436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:50:31] local.INFO: IMEI packet received {"connection_id":90436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":90436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:50:31] local.INFO: TCP Data received {"connection_id":90436,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:50:31] local.INFO: Processing buffer {"connection_id":90436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:50:31] local.INFO: Packet analysis {"connection_id":90436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:50:31] local.INFO: Extracted packet for processing {"connection_id":90436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:50:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:50: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-06-02 00:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:50: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:50:31] 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-06-02 00:50: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-06-02 00:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:50:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:50:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":90436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:50:31] local.INFO: GPS data processed {"connection_id":90436,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:50:31] local.INFO: Acknowledgment sent {"connection_id":90436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:51:03] local.INFO: TCP Data received {"connection_id":90436,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:51:03] local.INFO: Processing buffer {"connection_id":90436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e849d1e70012d77ab0005f2a7500016010c23..."} 
[2026-06-02 00:51:03] local.INFO: Packet analysis {"connection_id":90436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:51:03] local.INFO: Extracted packet for processing {"connection_id":90436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e849d"} 
[2026-06-02 00:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767308544001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780341350000,"timestamp_ms":1780341350000,"timestamp_seconds":1780341350,"priority":1,"record_length":96,"hex_timestamp":"0000019e849d1e70"} 
[2026-06-02 00:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:51:03] 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-06-02 00: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-06-02 00:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767308544001,"66":25495,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767308544001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:51:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:51:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767308544001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":90436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:51:03] local.INFO: GPS data processed {"connection_id":90436,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:51:03] local.INFO: Acknowledgment sent {"connection_id":90436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:51:25] local.INFO: TCP Data received {"connection_id":88965,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:51:25] local.INFO: Processing buffer {"connection_id":88965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:51:25] local.INFO: IMEI packet received {"connection_id":88965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":88965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:51:30] local.INFO: TCP Data received {"connection_id":88965,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:51:30] local.INFO: Processing buffer {"connection_id":88965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:51:30] local.INFO: IMEI packet received {"connection_id":88965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":88965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:51:31] local.INFO: TCP Data received {"connection_id":88965,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:51:31] local.INFO: Processing buffer {"connection_id":88965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:51:31] local.INFO: Packet analysis {"connection_id":88965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:51:31] local.INFO: Extracted packet for processing {"connection_id":88965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:51:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767385600001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341651000,"timestamp_ms":1780341651000,"timestamp_seconds":1780341651,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a1b638"} 
[2026-06-02 00:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 00:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767385600001,"66":25299,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767385600001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:51:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:51:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767385600001,"power":25299,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":88965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:51:31] local.INFO: GPS data processed {"connection_id":88965,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:51:31] local.INFO: Acknowledgment sent {"connection_id":88965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:52:02] local.INFO: TCP Data received {"connection_id":88965,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:52:02] local.INFO: Processing buffer {"connection_id":88965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:52:02] local.INFO: Packet analysis {"connection_id":88965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:52:02] local.INFO: Extracted packet for processing {"connection_id":88965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:52:02] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767385600001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780341651000,"timestamp_ms":1780341651000,"timestamp_seconds":1780341651,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a1b638"} 
[2026-06-02 00:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 00:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":88965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":88965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":88965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767385600001,"66":25299,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767385600001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:52:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:52:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767385600001,"power":25299,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":88965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:52:02] local.INFO: GPS data processed {"connection_id":88965,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:52:02] local.INFO: Acknowledgment sent {"connection_id":88965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:52:25] local.INFO: TCP Data received {"connection_id":90437,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:52:25] local.INFO: Processing buffer {"connection_id":90437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:52:25] local.INFO: IMEI packet received {"connection_id":90437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":90437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:52:31] local.INFO: TCP Data received {"connection_id":90437,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:52:31] local.INFO: Processing buffer {"connection_id":90437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:52:31] local.INFO: IMEI packet received {"connection_id":90437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":90437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:52:31] local.INFO: TCP Data received {"connection_id":90437,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:52:31] local.INFO: Processing buffer {"connection_id":90437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:52:31] local.INFO: Packet analysis {"connection_id":90437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:52:31] local.INFO: Extracted packet for processing {"connection_id":90437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:52:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767385600001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341651000,"timestamp_ms":1780341651000,"timestamp_seconds":1780341651,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a1b638"} 
[2026-06-02 00:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 00:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767385600001,"66":25299,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767385600001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:52:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:52:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767385600001,"power":25299,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":90437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:52:31] local.INFO: GPS data processed {"connection_id":90437,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:52:31] local.INFO: Acknowledgment sent {"connection_id":90437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:53:03] local.INFO: TCP Data received {"connection_id":90437,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:03] local.INFO: Processing buffer {"connection_id":90437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:03] local.INFO: Packet analysis {"connection_id":90437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:53:03] local.INFO: Extracted packet for processing {"connection_id":90437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767385600001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780341651000,"timestamp_ms":1780341651000,"timestamp_seconds":1780341651,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a1b638"} 
[2026-06-02 00:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 00:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767385600001,"66":25299,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767385600001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:53:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:53:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767385600001,"power":25299,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":90437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:53:03] local.INFO: GPS data processed {"connection_id":90437,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:53:03] local.INFO: Acknowledgment sent {"connection_id":90437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:53:31] local.INFO: TCP Data received {"connection_id":90438,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:53:31] local.INFO: Processing buffer {"connection_id":90438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:53:31] local.INFO: IMEI packet received {"connection_id":90438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":90438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:53:36] local.INFO: TCP Data received {"connection_id":90438,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:53:36] local.INFO: Processing buffer {"connection_id":90438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:53:36] local.INFO: IMEI packet received {"connection_id":90438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":90438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:53:36] local.INFO: TCP Data received {"connection_id":90438,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:36] local.INFO: Processing buffer {"connection_id":90438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:36] local.INFO: Packet analysis {"connection_id":90438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:53:36] local.INFO: Extracted packet for processing {"connection_id":90438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:53:36] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767385600001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780341651000,"timestamp_ms":1780341651000,"timestamp_seconds":1780341651,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a1b638"} 
[2026-06-02 00:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 00:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767385600001,"66":25299,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767385600001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:53:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:53:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767385600001,"power":25299,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":90438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:53:36] local.INFO: GPS data processed {"connection_id":90438,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:53:36] local.INFO: Acknowledgment sent {"connection_id":90438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:53:41] local.INFO: TCP Data received {"connection_id":90438,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:41] local.INFO: Processing buffer {"connection_id":90438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a1b638012d77ab0005f2a7500016010c25..."} 
[2026-06-02 00:53:41] local.INFO: Packet analysis {"connection_id":90438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:53:41] local.INFO: Extracted packet for processing {"connection_id":90438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a1"} 
[2026-06-02 00:53:41] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767385600001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780341651000,"timestamp_ms":1780341651000,"timestamp_seconds":1780341651,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a1b638"} 
[2026-06-02 00:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 00:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767385600001,"66":25299,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767385600001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:53:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:53:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767385600001,"power":25299,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":90438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:53:41] local.INFO: GPS data processed {"connection_id":90438,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:53:41] local.INFO: Acknowledgment sent {"connection_id":90438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:54:26] local.INFO: TCP Data received {"connection_id":90439,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:54:26] local.INFO: Processing buffer {"connection_id":90439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:54:26] local.INFO: IMEI packet received {"connection_id":90439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":90439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:54:31] local.INFO: TCP Data received {"connection_id":90439,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:54:31] local.INFO: Processing buffer {"connection_id":90439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:54:31] local.INFO: IMEI packet received {"connection_id":90439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":90439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:54:32] local.INFO: TCP Data received {"connection_id":90439,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a47940012d77ab0005f2a7500016010c22..."} 
[2026-06-02 00:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a47940012d77ab0005f2a7500016010c22..."} 
[2026-06-02 00:54:32] local.INFO: Processing buffer {"connection_id":90439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a47940012d77ab0005f2a7500016010c22..."} 
[2026-06-02 00:54:32] local.INFO: Packet analysis {"connection_id":90439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a4"} 
[2026-06-02 00:54:32] local.INFO: Extracted packet for processing {"connection_id":90439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a4"} 
[2026-06-02 00:54:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788624,"longitude_deg":76.281728,"latitude_deg":9.9788624,"altitude":22,"angle":268,"satellites":34,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-06-02 00:54: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-06-02 00:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767462656001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780341832000,"timestamp_ms":1780341832000,"timestamp_seconds":1780341832,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a47940"} 
[2026-06-02 00:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-02 00:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767462656001,"66":25582,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767462656001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:54:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:54:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767462656001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":90439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:54:32] local.INFO: GPS data processed {"connection_id":90439,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:54:32] local.INFO: Acknowledgment sent {"connection_id":90439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:55:04] local.INFO: TCP Data received {"connection_id":90439,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a490b0012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a490b0012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:55:04] local.INFO: Processing buffer {"connection_id":90439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a490b0012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:55:04] local.INFO: Packet analysis {"connection_id":90439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a4"} 
[2026-06-02 00:55:04] local.INFO: Extracted packet for processing {"connection_id":90439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a4"} 
[2026-06-02 00:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99789240,"longitude_deg":76.2817152,"latitude_deg":9.978924,"altitude":22,"angle":43,"satellites":35,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a9b8","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767508992001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076834304,"note":"Value kept but may cause issues"} 
[2026-06-02 00:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780341838000,"timestamp_ms":1780341838000,"timestamp_seconds":1780341838,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a490b0"} 
[2026-06-02 00:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:55: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-06-02 00:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 00:55:04] 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-06-02 00: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-06-02 00:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767508992001,"66":27843,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622985937076834304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767508992001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:55:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:55:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076834304,"description":"Unknown IO ID 45"} 
[2026-06-02 00:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767508992001,"power":27843,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076834304}} 
[2026-06-02 00:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":90439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:55:04] local.INFO: GPS data processed {"connection_id":90439,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:55:04] local.INFO: Acknowledgment sent {"connection_id":90439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:55:24] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:24] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:24] local.INFO: IMEI packet received {"connection_id":89362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":89362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:55:25] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:25] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:25] local.INFO: IMEI packet received {"connection_id":89362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":89362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:55:31] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:31] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:55:31] local.INFO: IMEI packet received {"connection_id":89362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":89362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:55:31] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a4e2b8012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a4e2b8012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:55:31] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a4e2b8012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:55:31] local.INFO: Packet analysis {"connection_id":89362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a4"} 
[2026-06-02 00:55:31] local.INFO: Extracted packet for processing {"connection_id":89362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a4"} 
[2026-06-02 00:55:31] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99789240,"longitude_deg":76.2817152,"latitude_deg":9.978924,"altitude":22,"angle":43,"satellites":35,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a9b8","is_valid_coordinates":true} 
[2026-06-02 00:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767510528001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588636672,"note":"Value kept but may cause issues"} 
[2026-06-02 00:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780341859000,"timestamp_ms":1780341859000,"timestamp_seconds":1780341859,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a4e2b8"} 
[2026-06-02 00:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:55: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-06-02 00:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 00:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767510528001,"66":26876,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622845199588636672},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767510528001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:55:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:55:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588636672,"description":"Unknown IO ID 45"} 
[2026-06-02 00:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767510528001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588636672}} 
[2026-06-02 00:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":89362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:55:31] local.INFO: GPS data processed {"connection_id":89362,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:55:31] local.INFO: Acknowledgment sent {"connection_id":89362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:55:40] local.INFO: TCP Data received {"connection_id":89361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:55:40] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:55:40] local.INFO: IMEI packet received {"connection_id":89361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":89361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:55:59] local.INFO: TCP Data received {"connection_id":90440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:55:59] local.INFO: Processing buffer {"connection_id":90440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 00:55:59] local.INFO: IMEI packet received {"connection_id":90440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 00:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":90440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:56:02] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a534c0012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a534c0012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:56:02] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a534c0012d77aa8005f2a9b80016002b23..."} 
[2026-06-02 00:56:02] local.INFO: Packet analysis {"connection_id":89362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:56:02] local.INFO: Extracted packet for processing {"connection_id":89362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99789240,"longitude_deg":76.2817152,"latitude_deg":9.978924,"altitude":22,"angle":43,"satellites":35,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a9b8","is_valid_coordinates":true} 
[2026-06-02 00:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767515904001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274896500817920,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588636672,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780341880000,"timestamp_ms":1780341880000,"timestamp_seconds":1780341880,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a534c0"} 
[2026-06-02 00:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 00:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 00:56:02] 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-06-02 00:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767515904001,"66":27484,"163":206,"9":24832,"24":0,"16":304274896500817920,"45":8622845199588636672},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767515904001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:56:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:56:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274896500817920,"km_value":304274896500817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588636672,"description":"Unknown IO ID 45"} 
[2026-06-02 00:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767515904001,"power":27484,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588636672}} 
[2026-06-02 00:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":89362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:56:02] local.INFO: GPS data processed {"connection_id":89362,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:56:02] local.INFO: Acknowledgment sent {"connection_id":89362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:56:41] local.INFO: TCP Data received {"connection_id":90441,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:56:41] local.INFO: Processing buffer {"connection_id":90441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:56:41] local.INFO: IMEI packet received {"connection_id":90441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":90441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:56:48] local.INFO: TCP Data received {"connection_id":90441,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:56:48] local.INFO: Processing buffer {"connection_id":90441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:56:48] local.INFO: IMEI packet received {"connection_id":90441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":90441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:56:49] local.INFO: TCP Data received {"connection_id":90441,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a54078012d77aac005f2a8a8001a004223..."} 
[2026-06-02 00:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a54078012d77aac005f2a8a8001a004223..."} 
[2026-06-02 00:56:49] local.INFO: Processing buffer {"connection_id":90441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a54078012d77aac005f2a8a8001a004223..."} 
[2026-06-02 00:56:49] local.INFO: Packet analysis {"connection_id":90441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:56:49] local.INFO: Extracted packet for processing {"connection_id":90441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:56:49] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788968,"longitude_deg":76.2817216,"latitude_deg":9.9788968,"altitude":26,"angle":66,"satellites":35,"speed":3,"hex_longitude":"2d77aac0","hex_latitude":"05f2a8a8","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767521280001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274913680687104,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588636672,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780341883000,"timestamp_ms":1780341883000,"timestamp_seconds":1780341883,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a54078"} 
[2026-06-02 00:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00: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-06-02 00:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 00:56:49] 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-06-02 00: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-06-02 00:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767521280001,"66":27300,"163":206,"9":24832,"24":3,"16":304274913680687104,"45":8622845199588636672},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767521280001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:56:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:56:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274913680687104,"km_value":304274913680687.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588636672,"description":"Unknown IO ID 45"} 
[2026-06-02 00:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767521280001,"power":27300,"unknown_163":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622845199588636672}} 
[2026-06-02 00:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":90441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:56:49] local.INFO: GPS data processed {"connection_id":90441,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:56:49] local.INFO: Acknowledgment sent {"connection_id":90441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:56:51] local.INFO: TCP Data received {"connection_id":90441,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a54c30012d77ac4005f2a940001a005024..."} 
[2026-06-02 00:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a54c30012d77ac4005f2a940001a005024..."} 
[2026-06-02 00:56:51] local.INFO: Processing buffer {"connection_id":90441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a54c30012d77ac4005f2a940001a005024..."} 
[2026-06-02 00:56:51] local.INFO: Packet analysis {"connection_id":90441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:56:51] local.INFO: Extracted packet for processing {"connection_id":90441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:56:51] local.INFO: GPS Element Parsed {"raw_longitude":762817600,"raw_latitude":99789120,"longitude_deg":76.28176,"latitude_deg":9.978912,"altitude":26,"angle":80,"satellites":36,"speed":4,"hex_longitude":"2d77ac40","hex_latitude":"05f2a940","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767522048001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274930860556288,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332744704,"note":"Value kept but may cause issues"} 
[2026-06-02 00:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780341886000,"timestamp_ms":1780341886000,"timestamp_seconds":1780341886,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a54c30"} 
[2026-06-02 00:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00: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-06-02 00: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":164,"data_length":795,"current_offset":136} 
[2026-06-02 00:56: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-06-02 00: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-06-02 00:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":90441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":90441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":90441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767522048001,"66":27365,"163":206,"9":24832,"24":4,"16":304274930860556288,"45":8622915568332744704},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767522048001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:56:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:56:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274930860556288,"km_value":304274930860556.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332744704,"description":"Unknown IO ID 45"} 
[2026-06-02 00:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767522048001,"power":27365,"unknown_163":206,"unknown_9":24832,"ignition":4,"odometer":null,"unknown_45":8622915568332744704}} 
[2026-06-02 00:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":90441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:56:51] local.INFO: GPS data processed {"connection_id":90441,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:56:51] local.INFO: Acknowledgment sent {"connection_id":90441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:57:25] local.INFO: TCP Data received {"connection_id":90442,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:57:25] local.INFO: Processing buffer {"connection_id":90442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:57:25] local.INFO: IMEI packet received {"connection_id":90442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":90442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:57:31] local.INFO: TCP Data received {"connection_id":90442,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:57:31] local.INFO: Processing buffer {"connection_id":90442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:57:31] local.INFO: IMEI packet received {"connection_id":90442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":90442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:57:35] local.INFO: TCP Data received {"connection_id":90442,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a56f58012d77ac8005f2a980001a00ff23..."} 
[2026-06-02 00:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a56f58012d77ac8005f2a980001a00ff23..."} 
[2026-06-02 00:57:35] local.INFO: Processing buffer {"connection_id":90442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a56f58012d77ac8005f2a980001a00ff23..."} 
[2026-06-02 00:57:35] local.INFO: Packet analysis {"connection_id":90442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:57:35] local.INFO: Extracted packet for processing {"connection_id":90442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:57:35] local.INFO: GPS Element Parsed {"raw_longitude":762817664,"raw_latitude":99789184,"longitude_deg":76.2817664,"latitude_deg":9.9789184,"altitude":26,"angle":255,"satellites":35,"speed":1,"hex_longitude":"2d77ac80","hex_latitude":"05f2a980","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767522816001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304274943745458176,"note":"Value kept but may cause issues"} 
[2026-06-02 00:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780797849600,"note":"Value kept but may cause issues"} 
[2026-06-02 00:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780341895000,"timestamp_ms":1780341895000,"timestamp_seconds":1780341895,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a56f58"} 
[2026-06-02 00:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 00:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00: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-06-02 00:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767522816001,"66":27463,"163":206,"9":24832,"24":1,"16":304274943745458176,"45":8623337780797849600},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767522816001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:57:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:57:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304274943745458176,"km_value":304274943745458.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780797849600,"description":"Unknown IO ID 45"} 
[2026-06-02 00:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767522816001,"power":27463,"unknown_163":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8623337780797849600}} 
[2026-06-02 00:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":90442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:57:35] local.INFO: GPS data processed {"connection_id":90442,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:57:35] local.INFO: Acknowledgment sent {"connection_id":90442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:58:36] local.INFO: TCP Data received {"connection_id":88967,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:36] local.INFO: Processing buffer {"connection_id":88967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:36] local.INFO: IMEI packet received {"connection_id":88967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":88967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:58:41] local.INFO: TCP Data received {"connection_id":88967,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:41] local.INFO: Processing buffer {"connection_id":88967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:41] local.INFO: IMEI packet received {"connection_id":88967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":88967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:58:46] local.INFO: TCP Data received {"connection_id":88967,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:46] local.INFO: Processing buffer {"connection_id":88967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:58:46] local.INFO: IMEI packet received {"connection_id":88967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":88967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:58:47] local.INFO: TCP Data received {"connection_id":88967,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a5b5a8012d77a70005f2a7d0001d00fd26..."} 
[2026-06-02 00:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a5b5a8012d77a70005f2a7d0001d00fd26..."} 
[2026-06-02 00:58:47] local.INFO: Processing buffer {"connection_id":88967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a5b5a8012d77a70005f2a7d0001d00fd26..."} 
[2026-06-02 00:58:47] local.INFO: Packet analysis {"connection_id":88967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:58:47] local.INFO: Extracted packet for processing {"connection_id":88967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:58:47] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99788752,"longitude_deg":76.2816256,"latitude_deg":9.9788752,"altitude":29,"angle":253,"satellites":38,"speed":3,"hex_longitude":"2d77a700","hex_latitude":"05f2a7d0","is_valid_coordinates":true} 
[2026-06-02 00:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767525120001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 00:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623408149542043648,"note":"Value kept but may cause issues"} 
[2026-06-02 00:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780341913000,"timestamp_ms":1780341913000,"timestamp_seconds":1780341913,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a5b5a8"} 
[2026-06-02 00:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 00:58: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-06-02 00: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-06-02 00:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":88967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":88967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":88967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767525120001,"66":27745,"163":206,"9":24832,"24":3,"16":304275016759902208,"45":8623408149542043648},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767525120001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:58:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:58:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623408149542043648,"description":"Unknown IO ID 45"} 
[2026-06-02 00:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767525120001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8623408149542043648}} 
[2026-06-02 00:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":88967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:58:47] local.INFO: GPS data processed {"connection_id":88967,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:58:47] local.INFO: Acknowledgment sent {"connection_id":88967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:58:51] local.INFO: TCP Data received {"connection_id":88967,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:58:51] local.INFO: Processing buffer {"connection_id":88967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:58:51] local.INFO: Packet analysis {"connection_id":88967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:58:51] local.INFO: Extracted packet for processing {"connection_id":88967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:58:51] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99788688,"longitude_deg":76.2816192,"latitude_deg":9.9788688,"altitude":29,"angle":268,"satellites":38,"speed":5,"hex_longitude":"2d77a6c0","hex_latitude":"05f2a790","is_valid_coordinates":true} 
[2026-06-02 00: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-06-02 00:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529728001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 00:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037170024448,"note":"Value kept but may cause issues"} 
[2026-06-02 00:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780341914000,"timestamp_ms":1780341914000,"timestamp_seconds":1780341914,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a5b990"} 
[2026-06-02 00:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:58: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-06-02 00: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":97,"data_length":795,"current_offset":136} 
[2026-06-02 00:58: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-06-02 00: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-06-02 00:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":88967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":88967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":88967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529728001,"66":27745,"163":206,"9":24832,"24":5,"16":304275016759902208,"45":8621860037170024448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529728001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:58:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:58:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037170024448,"description":"Unknown IO ID 45"} 
[2026-06-02 00:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529728001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621860037170024448}} 
[2026-06-02 00:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":88967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:58:51] local.INFO: GPS data processed {"connection_id":88967,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:58:51] local.INFO: Acknowledgment sent {"connection_id":88967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:59:26] local.INFO: TCP Data received {"connection_id":90443,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:59:26] local.INFO: Processing buffer {"connection_id":90443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:59:26] local.INFO: IMEI packet received {"connection_id":90443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 00:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":90443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 00:59:31] local.INFO: TCP Data received {"connection_id":90443,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:59:31] local.INFO: Processing buffer {"connection_id":90443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 00:59:31] local.INFO: IMEI packet received {"connection_id":90443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 00:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":90443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 00:59:32] local.INFO: TCP Data received {"connection_id":90443,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:59:32] local.INFO: Processing buffer {"connection_id":90443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:59:32] local.INFO: Packet analysis {"connection_id":90443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:59:32] local.INFO: Extracted packet for processing {"connection_id":90443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:59:32] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99788688,"longitude_deg":76.2816192,"latitude_deg":9.9788688,"altitude":29,"angle":268,"satellites":38,"speed":5,"hex_longitude":"2d77a6c0","hex_latitude":"05f2a790","is_valid_coordinates":true} 
[2026-06-02 00:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529728001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 00:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037170024448,"note":"Value kept but may cause issues"} 
[2026-06-02 00:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780341914000,"timestamp_ms":1780341914000,"timestamp_seconds":1780341914,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a5b990"} 
[2026-06-02 00:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 00:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529728001,"66":27745,"163":206,"9":24832,"24":5,"16":304275016759902208,"45":8621860037170024448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529728001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:59:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:59:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037170024448,"description":"Unknown IO ID 45"} 
[2026-06-02 00:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529728001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621860037170024448}} 
[2026-06-02 00:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":90443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:59:32] local.INFO: GPS data processed {"connection_id":90443,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:59:32] local.INFO: Acknowledgment sent {"connection_id":90443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 00:59:35] local.INFO: TCP Data received {"connection_id":90443,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:59:35] local.INFO: Processing buffer {"connection_id":90443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 00:59:35] local.INFO: Packet analysis {"connection_id":90443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:59:35] local.INFO: Extracted packet for processing {"connection_id":90443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 00:59:35] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99788688,"longitude_deg":76.2816192,"latitude_deg":9.9788688,"altitude":29,"angle":268,"satellites":38,"speed":5,"hex_longitude":"2d77a6c0","hex_latitude":"05f2a790","is_valid_coordinates":true} 
[2026-06-02 00:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 00:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529728001,"note":"Value kept but may cause issues"} 
[2026-06-02 00:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 00:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037170024448,"note":"Value kept but may cause issues"} 
[2026-06-02 00:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 00:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780341914000,"timestamp_ms":1780341914000,"timestamp_seconds":1780341914,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a5b990"} 
[2026-06-02 00:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 00:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 00:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 00:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 00:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 00:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 00:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 00:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 00:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 00:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 00:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 00:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 00:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529728001,"66":27745,"163":206,"9":24832,"24":5,"16":304275016759902208,"45":8621860037170024448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 00:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 00:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 00:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529728001,"description":"Unknown IO ID 0"} 
[2026-06-02 00:59:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 00:59:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 00:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 00:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037170024448,"description":"Unknown IO ID 45"} 
[2026-06-02 00:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529728001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621860037170024448}} 
[2026-06-02 00:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":90443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 00:59:35] local.INFO: GPS data processed {"connection_id":90443,"processed":1,"errors":0,"total":1} 
[2026-06-02 00:59:35] local.INFO: Acknowledgment sent {"connection_id":90443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:00:07] local.INFO: TCP Data received {"connection_id":90443,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 01:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 01:00:07] local.INFO: Processing buffer {"connection_id":90443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 01:00:07] local.INFO: Packet analysis {"connection_id":90443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 01:00:07] local.INFO: Extracted packet for processing {"connection_id":90443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 01:00:07] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99788688,"longitude_deg":76.2816192,"latitude_deg":9.9788688,"altitude":29,"angle":268,"satellites":38,"speed":5,"hex_longitude":"2d77a6c0","hex_latitude":"05f2a790","is_valid_coordinates":true} 
[2026-06-02 01:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529728001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037170024448,"note":"Value kept but may cause issues"} 
[2026-06-02 01:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780341914000,"timestamp_ms":1780341914000,"timestamp_seconds":1780341914,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a5b990"} 
[2026-06-02 01:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529728001,"66":27745,"163":206,"9":24832,"24":5,"16":304275016759902208,"45":8621860037170024448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529728001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:00:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:00:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037170024448,"description":"Unknown IO ID 45"} 
[2026-06-02 01:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529728001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621860037170024448}} 
[2026-06-02 01:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":90443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:00:07] local.INFO: GPS data processed {"connection_id":90443,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:00:07] local.INFO: Acknowledgment sent {"connection_id":90443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:00:35] local.INFO: TCP Data received {"connection_id":89363,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:00:35] local.INFO: Processing buffer {"connection_id":89363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:00:35] local.INFO: IMEI packet received {"connection_id":89363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":89363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:00:41] local.INFO: TCP Data received {"connection_id":89363,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:00:41] local.INFO: Processing buffer {"connection_id":89363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:00:41] local.INFO: IMEI packet received {"connection_id":89363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":89363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:00:42] local.INFO: TCP Data received {"connection_id":89363,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 01:00:42] local.INFO: Processing buffer {"connection_id":89363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84a5b990012d77a6c005f2a790001d010c26..."} 
[2026-06-02 01:00:42] local.INFO: Packet analysis {"connection_id":89363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 01:00:42] local.INFO: Extracted packet for processing {"connection_id":89363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84a5"} 
[2026-06-02 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99788688,"longitude_deg":76.2816192,"latitude_deg":9.9788688,"altitude":29,"angle":268,"satellites":38,"speed":5,"hex_longitude":"2d77a6c0","hex_latitude":"05f2a790","is_valid_coordinates":true} 
[2026-06-02 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529728001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037170024448,"note":"Value kept but may cause issues"} 
[2026-06-02 01:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780341914000,"timestamp_ms":1780341914000,"timestamp_seconds":1780341914,"priority":1,"record_length":96,"hex_timestamp":"0000019e84a5b990"} 
[2026-06-02 01:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529728001,"66":27745,"163":206,"9":24832,"24":5,"16":304275016759902208,"45":8621860037170024448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529728001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:00:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:00:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037170024448,"description":"Unknown IO ID 45"} 
[2026-06-02 01:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529728001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621860037170024448}} 
[2026-06-02 01:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":89363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:00:42] local.INFO: GPS data processed {"connection_id":89363,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:00:42] local.INFO: Acknowledgment sent {"connection_id":89363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:01:25] local.INFO: TCP Data received {"connection_id":89225,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:01:25] local.INFO: Processing buffer {"connection_id":89225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:01:25] local.INFO: IMEI packet received {"connection_id":89225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":89225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:01:31] local.INFO: TCP Data received {"connection_id":89226,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:01:31] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:01:31] local.INFO: IMEI packet received {"connection_id":89226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":89226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:01:37] local.INFO: TCP Data received {"connection_id":89226,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:01:37] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:01:37] local.INFO: IMEI packet received {"connection_id":89226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":89226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:01:37] local.INFO: TCP Data received {"connection_id":89226,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:01:37] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:01:37] local.INFO: Packet analysis {"connection_id":89226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:01:37] local.INFO: Extracted packet for processing {"connection_id":89226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:01:37] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:01:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:01:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":89226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:01:37] local.INFO: GPS data processed {"connection_id":89226,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:01:37] local.INFO: Acknowledgment sent {"connection_id":89226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:01:41] local.INFO: TCP Data received {"connection_id":89226,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:01:41] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:01:41] local.INFO: Packet analysis {"connection_id":89226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:01:41] local.INFO: Extracted packet for processing {"connection_id":89226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:01:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:01:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:01:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":89226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:01:41] local.INFO: GPS data processed {"connection_id":89226,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:01:41] local.INFO: Acknowledgment sent {"connection_id":89226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:01:59] local.INFO: TCP Data received {"connection_id":90444,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:01:59] local.INFO: Processing buffer {"connection_id":90444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:01:59] local.INFO: IMEI packet received {"connection_id":90444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":90444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:02:26] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:02:26] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:02:26] local.INFO: IMEI packet received {"connection_id":89364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":89364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:02:31] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:02:31] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:02:31] local.INFO: IMEI packet received {"connection_id":89364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":89364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:02:35] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:02:35] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:02:35] local.INFO: Packet analysis {"connection_id":89364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:02:35] local.INFO: Extracted packet for processing {"connection_id":89364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:02:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:02:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:02:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":89364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:02:35] local.INFO: GPS data processed {"connection_id":89364,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:02:35] local.INFO: Acknowledgment sent {"connection_id":89364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:03:25] local.INFO: TCP Data received {"connection_id":88970,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:03:25] local.INFO: Processing buffer {"connection_id":88970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:03:25] local.INFO: IMEI packet received {"connection_id":88970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":88970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:03:31] local.INFO: TCP Data received {"connection_id":88970,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:03:31] local.INFO: Processing buffer {"connection_id":88970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:03:31] local.INFO: IMEI packet received {"connection_id":88970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":88970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:03:33] local.INFO: TCP Data received {"connection_id":88970,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:03:33] local.INFO: Processing buffer {"connection_id":88970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:03:33] local.INFO: Packet analysis {"connection_id":88970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:03:33] local.INFO: Extracted packet for processing {"connection_id":88970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":88970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":88970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":88970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:03:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:03:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":88970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:03:33] local.INFO: GPS data processed {"connection_id":88970,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:03:33] local.INFO: Acknowledgment sent {"connection_id":88970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:04:10] local.INFO: TCP Data received {"connection_id":88970,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:04:10] local.INFO: Processing buffer {"connection_id":88970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:04:10] local.INFO: Packet analysis {"connection_id":88970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:04:10] local.INFO: Extracted packet for processing {"connection_id":88970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:04:10] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":88970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":88970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":88970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:04:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:04:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":88970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:04:10] local.INFO: GPS data processed {"connection_id":88970,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:04:10] local.INFO: Acknowledgment sent {"connection_id":88970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:04:25] local.INFO: TCP Data received {"connection_id":89365,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:04:25] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:04:25] local.INFO: IMEI packet received {"connection_id":89365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":89365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:04:31] local.INFO: TCP Data received {"connection_id":89365,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:04:31] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:04:31] local.INFO: IMEI packet received {"connection_id":89365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":89365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:04:31] local.INFO: TCP Data received {"connection_id":89365,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:04:31] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:04:31] local.INFO: Packet analysis {"connection_id":89365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:04:31] local.INFO: Extracted packet for processing {"connection_id":89365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:04:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:04: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-06-02 01:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:04: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":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:04: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-06-02 01:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:04:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:04:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":89365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:04:31] local.INFO: GPS data processed {"connection_id":89365,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:04:31] local.INFO: Acknowledgment sent {"connection_id":89365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:05:03] local.INFO: TCP Data received {"connection_id":89365,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:03] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:03] local.INFO: Packet analysis {"connection_id":89365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:05:03] local.INFO: Extracted packet for processing {"connection_id":89365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:05: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-06-02 01:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:05:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:05:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":89365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:05:03] local.INFO: GPS data processed {"connection_id":89365,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:05:03] local.INFO: Acknowledgment sent {"connection_id":89365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:05:31] local.INFO: TCP Data received {"connection_id":89228,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:05:31] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:05:31] local.INFO: IMEI packet received {"connection_id":89228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":89228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:05:35] local.INFO: TCP Data received {"connection_id":89228,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:05:35] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:05:35] local.INFO: IMEI packet received {"connection_id":89228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":89228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:05:36] local.INFO: TCP Data received {"connection_id":89228,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:36] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:36] local.INFO: Packet analysis {"connection_id":89228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:05:36] local.INFO: Extracted packet for processing {"connection_id":89228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:05:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:05:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:05:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":89228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:05:36] local.INFO: GPS data processed {"connection_id":89228,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:05:36] local.INFO: Acknowledgment sent {"connection_id":89228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:05:41] local.INFO: TCP Data received {"connection_id":89228,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:41] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aa5d10012d77a34005f2a6a80015010c28..."} 
[2026-06-02 01:05:41] local.INFO: Packet analysis {"connection_id":89228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:05:41] local.INFO: Extracted packet for processing {"connection_id":89228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84aa"} 
[2026-06-02 01:05:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":21,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767529984001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425830400,"note":"Value kept but may cause issues"} 
[2026-06-02 01:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780342218000,"timestamp_ms":1780342218000,"timestamp_seconds":1780342218,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aa5d10"} 
[2026-06-02 01:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 01:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767529984001,"66":25952,"163":206,"9":24832,"24":0,"16":304275016759902208,"45":8621789668425830400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-06-02 01:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767529984001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:05:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 01:05:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425830400,"description":"Unknown IO ID 45"} 
[2026-06-02 01:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767529984001,"power":25952,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668425830400}} 
[2026-06-02 01:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":89228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:05:41] local.INFO: GPS data processed {"connection_id":89228,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:05:41] local.INFO: Acknowledgment sent {"connection_id":89228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:06:26] local.INFO: TCP Data received {"connection_id":88972,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:06:26] local.INFO: Processing buffer {"connection_id":88972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:06:26] local.INFO: IMEI packet received {"connection_id":88972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":88972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:06:31] local.INFO: TCP Data received {"connection_id":88972,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:06:31] local.INFO: Processing buffer {"connection_id":88972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:06:31] local.INFO: IMEI packet received {"connection_id":88972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":88972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:06:31] local.INFO: TCP Data received {"connection_id":88972,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:06:31] local.INFO: Processing buffer {"connection_id":88972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:06:31] local.INFO: Packet analysis {"connection_id":88972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:06:31] local.INFO: Extracted packet for processing {"connection_id":88972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:06:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:06:31] 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-06-02 01:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:06:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:06:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":88972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:06:31] local.INFO: GPS data processed {"connection_id":88972,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:06:31] local.INFO: Acknowledgment sent {"connection_id":88972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:07:03] local.INFO: TCP Data received {"connection_id":88972,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:07:03] local.INFO: Processing buffer {"connection_id":88972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:07:03] local.INFO: Packet analysis {"connection_id":88972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:07:03] local.INFO: Extracted packet for processing {"connection_id":88972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:07:03] 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-06-02 01:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:07:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:07:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":88972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:07:03] local.INFO: GPS data processed {"connection_id":88972,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:07:03] local.INFO: Acknowledgment sent {"connection_id":88972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:07:25] local.INFO: TCP Data received {"connection_id":88973,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:07:25] local.INFO: Processing buffer {"connection_id":88973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:07:25] local.INFO: IMEI packet received {"connection_id":88973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":88973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:07:25] local.INFO: TCP Data received {"connection_id":89230,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:07:25] local.INFO: Processing buffer {"connection_id":89230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:07:25] local.INFO: IMEI packet received {"connection_id":89230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":89230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:07:31] local.INFO: TCP Data received {"connection_id":89230,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:07:31] local.INFO: Processing buffer {"connection_id":89230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:07:31] local.INFO: IMEI packet received {"connection_id":89230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":89230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:07:31] local.INFO: TCP Data received {"connection_id":89230,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:07:31] local.INFO: Processing buffer {"connection_id":89230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:07:31] local.INFO: Packet analysis {"connection_id":89230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:07:31] local.INFO: Extracted packet for processing {"connection_id":89230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:07:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:07:31] 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-06-02 01:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:07:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:07:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":89230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:07:31] local.INFO: GPS data processed {"connection_id":89230,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:07:31] local.INFO: Acknowledgment sent {"connection_id":89230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:08:03] local.INFO: TCP Data received {"connection_id":89230,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:08:03] local.INFO: Processing buffer {"connection_id":89230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:08:03] local.INFO: Packet analysis {"connection_id":89230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:08:03] local.INFO: Extracted packet for processing {"connection_id":89230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:08:03] 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-06-02 01:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:08:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":89230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:08:03] local.INFO: GPS data processed {"connection_id":89230,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:08:03] local.INFO: Acknowledgment sent {"connection_id":89230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:08:05] local.INFO: TCP Data received {"connection_id":88974,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:08:05] local.INFO: Processing buffer {"connection_id":88974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:08:05] local.INFO: IMEI packet received {"connection_id":88974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":88974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:08:25] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:08:25] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:08:25] local.INFO: IMEI packet received {"connection_id":89366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":89366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:08:31] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:08:31] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:08:31] local.INFO: IMEI packet received {"connection_id":89366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":89366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:08:31] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:08:31] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:08:31] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:08:31] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:08:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:08:31] 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-06-02 01:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:08:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:08:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:08:31] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:08:31] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:09:03] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:03] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:03] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:09:03] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:09:03] 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-06-02 01: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-06-02 01:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:09:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:09:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:09:03] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:09:03] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:09:31] local.INFO: TCP Data received {"connection_id":89232,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:09:31] local.INFO: Processing buffer {"connection_id":89232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:09:31] local.INFO: IMEI packet received {"connection_id":89232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":89232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:09:36] local.INFO: TCP Data received {"connection_id":89232,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:09:36] local.INFO: Processing buffer {"connection_id":89232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:09:36] local.INFO: IMEI packet received {"connection_id":89232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":89232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:09:36] local.INFO: TCP Data received {"connection_id":89232,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:36] local.INFO: Processing buffer {"connection_id":89232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:36] local.INFO: Packet analysis {"connection_id":89232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:09:36] local.INFO: Extracted packet for processing {"connection_id":89232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:09:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:09:36] 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-06-02 01:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:09:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:09:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":89232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:09:36] local.INFO: GPS data processed {"connection_id":89232,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:09:36] local.INFO: Acknowledgment sent {"connection_id":89232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:09:41] local.INFO: TCP Data received {"connection_id":89232,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:41] local.INFO: Processing buffer {"connection_id":89232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:09:41] local.INFO: Packet analysis {"connection_id":89232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:09:41] local.INFO: Extracted packet for processing {"connection_id":89232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:09:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:09:41] 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-06-02 01:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:09:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:09:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":89232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:09:41] local.INFO: GPS data processed {"connection_id":89232,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:09:41] local.INFO: Acknowledgment sent {"connection_id":89232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:10:26] local.INFO: TCP Data received {"connection_id":88975,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:10:26] local.INFO: Processing buffer {"connection_id":88975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:10:26] local.INFO: IMEI packet received {"connection_id":88975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":88975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:10:31] local.INFO: TCP Data received {"connection_id":88975,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:10:31] local.INFO: Processing buffer {"connection_id":88975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:10:31] local.INFO: IMEI packet received {"connection_id":88975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":88975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:10:31] local.INFO: TCP Data received {"connection_id":88975,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:10:31] local.INFO: Processing buffer {"connection_id":88975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84aef4d8012d77a34005f2a6a8001a010c26..."} 
[2026-06-02 01:10:31] local.INFO: Packet analysis {"connection_id":88975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:10:31] local.INFO: Extracted packet for processing {"connection_id":88975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ae"} 
[2026-06-02 01:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":26,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767607808001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342519000,"timestamp_ms":1780342519000,"timestamp_seconds":1780342519,"priority":1,"record_length":96,"hex_timestamp":"0000019e84aef4d8"} 
[2026-06-02 01:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 01:10:31] 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-06-02 01:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767607808001,"66":25756,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767607808001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:10:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:10:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767607808001,"power":25756,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":88975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:10:31] local.INFO: GPS data processed {"connection_id":88975,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:10:31] local.INFO: Acknowledgment sent {"connection_id":88975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:11:03] local.INFO: TCP Data received {"connection_id":88975,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:11:03] local.INFO: Processing buffer {"connection_id":88975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:11:03] local.INFO: Packet analysis {"connection_id":88975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:11:03] local.INFO: Extracted packet for processing {"connection_id":88975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:11:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:11:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":88975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:11:03] local.INFO: GPS data processed {"connection_id":88975,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:11:03] local.INFO: Acknowledgment sent {"connection_id":88975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:11:25] local.INFO: TCP Data received {"connection_id":88976,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:11:25] local.INFO: Processing buffer {"connection_id":88976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:11:25] local.INFO: IMEI packet received {"connection_id":88976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":88976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:11:31] local.INFO: TCP Data received {"connection_id":88976,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:11:31] local.INFO: Processing buffer {"connection_id":88976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:11:31] local.INFO: IMEI packet received {"connection_id":88976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":88976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:11:31] local.INFO: TCP Data received {"connection_id":88976,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:11:31] local.INFO: Processing buffer {"connection_id":88976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:11:31] local.INFO: Packet analysis {"connection_id":88976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:11:31] local.INFO: Extracted packet for processing {"connection_id":88976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:11:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:11:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:11:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":88976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:11:31] local.INFO: GPS data processed {"connection_id":88976,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:11:31] local.INFO: Acknowledgment sent {"connection_id":88976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:12:03] local.INFO: TCP Data received {"connection_id":88976,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:12:03] local.INFO: Processing buffer {"connection_id":88976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:12:03] local.INFO: Packet analysis {"connection_id":88976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:12:03] local.INFO: Extracted packet for processing {"connection_id":88976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:12:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:12:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":88976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:12:03] local.INFO: GPS data processed {"connection_id":88976,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:12:03] local.INFO: Acknowledgment sent {"connection_id":88976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:12:25] local.INFO: TCP Data received {"connection_id":89234,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:12:25] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:12:25] local.INFO: IMEI packet received {"connection_id":89234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:12:31] local.INFO: TCP Data received {"connection_id":89234,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:12:31] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:12:31] local.INFO: IMEI packet received {"connection_id":89234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":89234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:12:31] local.INFO: TCP Data received {"connection_id":89234,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:12:31] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:12:31] local.INFO: Packet analysis {"connection_id":89234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:12:31] local.INFO: Extracted packet for processing {"connection_id":89234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:12:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:12:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":89234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:12:31] local.INFO: GPS data processed {"connection_id":89234,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:12:31] local.INFO: Acknowledgment sent {"connection_id":89234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:13:03] local.INFO: TCP Data received {"connection_id":89234,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:03] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:03] local.INFO: Packet analysis {"connection_id":89234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:13:03] local.INFO: Extracted packet for processing {"connection_id":89234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:13:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":89234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:13:03] local.INFO: GPS data processed {"connection_id":89234,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:13:03] local.INFO: Acknowledgment sent {"connection_id":89234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:13:31] local.INFO: TCP Data received {"connection_id":90447,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:13:31] local.INFO: Processing buffer {"connection_id":90447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:13:31] local.INFO: IMEI packet received {"connection_id":90447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":90447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:13:34] local.INFO: TCP Data received {"connection_id":89235,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:13:34] local.INFO: Processing buffer {"connection_id":89235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:13:34] local.INFO: IMEI packet received {"connection_id":89235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":89235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:13:36] local.INFO: TCP Data received {"connection_id":90447,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:13:36] local.INFO: Processing buffer {"connection_id":90447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:13:36] local.INFO: IMEI packet received {"connection_id":90447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":90447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:13:36] local.INFO: TCP Data received {"connection_id":90447,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:36] local.INFO: Processing buffer {"connection_id":90447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:36] local.INFO: Packet analysis {"connection_id":90447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:13:36] local.INFO: Extracted packet for processing {"connection_id":90447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:13:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:13:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:13:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":90447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:13:36] local.INFO: GPS data processed {"connection_id":90447,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:13:36] local.INFO: Acknowledgment sent {"connection_id":90447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:13:41] local.INFO: TCP Data received {"connection_id":90447,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:41] local.INFO: Processing buffer {"connection_id":90447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:13:41] local.INFO: Packet analysis {"connection_id":90447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:13:41] local.INFO: Extracted packet for processing {"connection_id":90447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:13:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:13:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:13:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":90447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:13:41] local.INFO: GPS data processed {"connection_id":90447,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:13:41] local.INFO: Acknowledgment sent {"connection_id":90447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:14:05] local.INFO: TCP Data received {"connection_id":89236,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:14:05] local.INFO: Processing buffer {"connection_id":89236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:14:05] local.INFO: IMEI packet received {"connection_id":89236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":89236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:14:26] local.INFO: TCP Data received {"connection_id":88977,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:14:26] local.INFO: Processing buffer {"connection_id":88977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:14:26] local.INFO: IMEI packet received {"connection_id":88977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":88977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:14:31] local.INFO: TCP Data received {"connection_id":88977,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:14:31] local.INFO: Processing buffer {"connection_id":88977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:14:31] local.INFO: IMEI packet received {"connection_id":88977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":88977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:14:31] local.INFO: TCP Data received {"connection_id":88977,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:14:31] local.INFO: Processing buffer {"connection_id":88977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:14:31] local.INFO: Packet analysis {"connection_id":88977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:14:31] local.INFO: Extracted packet for processing {"connection_id":88977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:14:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:14: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-06-02 01:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:14: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":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:14: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-06-02 01:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:14:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:14:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":88977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:14:31] local.INFO: GPS data processed {"connection_id":88977,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:14:31] local.INFO: Acknowledgment sent {"connection_id":88977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:15:03] local.INFO: TCP Data received {"connection_id":88977,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:15:03] local.INFO: Processing buffer {"connection_id":88977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:15:03] local.INFO: Packet analysis {"connection_id":88977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:15:03] local.INFO: Extracted packet for processing {"connection_id":88977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:15:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":88977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:15:03] local.INFO: GPS data processed {"connection_id":88977,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:15:03] local.INFO: Acknowledgment sent {"connection_id":88977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:15:25] local.INFO: TCP Data received {"connection_id":89368,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:15:25] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:15:25] local.INFO: IMEI packet received {"connection_id":89368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":89368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:15:31] local.INFO: TCP Data received {"connection_id":89368,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:15:31] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:15:31] local.INFO: IMEI packet received {"connection_id":89368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":89368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:15:31] local.INFO: TCP Data received {"connection_id":89368,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:15:31] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b38ca0012d77a34005f2a6a8000e010c28..."} 
[2026-06-02 01:15:31] local.INFO: Packet analysis {"connection_id":89368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:15:31] local.INFO: Extracted packet for processing {"connection_id":89368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b3"} 
[2026-06-02 01:15:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780342820000,"timestamp_ms":1780342820000,"timestamp_seconds":1780342820,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b38ca0"} 
[2026-06-02 01:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 01:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767684864001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:15:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:15:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767684864001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":89368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:15:31] local.INFO: GPS data processed {"connection_id":89368,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:15:31] local.INFO: Acknowledgment sent {"connection_id":89368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:16:05] local.INFO: TCP Data received {"connection_id":89368,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:16:05] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:16:05] local.INFO: Packet analysis {"connection_id":89368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:16:05] local.INFO: Extracted packet for processing {"connection_id":89368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:16: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-06-02 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:16:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:16:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":89368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:16:05] local.INFO: GPS data processed {"connection_id":89368,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:16:05] local.INFO: Acknowledgment sent {"connection_id":89368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:16:25] local.INFO: TCP Data received {"connection_id":88978,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:16:25] local.INFO: Processing buffer {"connection_id":88978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:16:25] local.INFO: IMEI packet received {"connection_id":88978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":88978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:16:31] local.INFO: TCP Data received {"connection_id":88978,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:16:31] local.INFO: Processing buffer {"connection_id":88978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:16:31] local.INFO: IMEI packet received {"connection_id":88978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":88978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:16:31] local.INFO: TCP Data received {"connection_id":88978,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:16:31] local.INFO: Processing buffer {"connection_id":88978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:16:31] local.INFO: Packet analysis {"connection_id":88978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:16:31] local.INFO: Extracted packet for processing {"connection_id":88978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:16:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:16: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-06-02 01:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:16:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:16:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":88978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:16:31] local.INFO: GPS data processed {"connection_id":88978,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:16:31] local.INFO: Acknowledgment sent {"connection_id":88978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:17:03] local.INFO: TCP Data received {"connection_id":88978,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:03] local.INFO: Processing buffer {"connection_id":88978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:03] local.INFO: Packet analysis {"connection_id":88978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:17:03] local.INFO: Extracted packet for processing {"connection_id":88978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:17:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:17:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":88978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:17:03] local.INFO: GPS data processed {"connection_id":88978,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:17:03] local.INFO: Acknowledgment sent {"connection_id":88978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:17:31] local.INFO: TCP Data received {"connection_id":89369,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:17:31] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:17:31] local.INFO: IMEI packet received {"connection_id":89369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":89369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:17:36] local.INFO: TCP Data received {"connection_id":89369,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:17:36] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:17:36] local.INFO: IMEI packet received {"connection_id":89369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":89369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:17:36] local.INFO: TCP Data received {"connection_id":89369,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:36] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:36] local.INFO: Packet analysis {"connection_id":89369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:17:36] local.INFO: Extracted packet for processing {"connection_id":89369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:17:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:17:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:17:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":89369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:17:36] local.INFO: GPS data processed {"connection_id":89369,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:17:36] local.INFO: Acknowledgment sent {"connection_id":89369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:17:41] local.INFO: TCP Data received {"connection_id":89369,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:41] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:17:41] local.INFO: Packet analysis {"connection_id":89369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:17:41] local.INFO: Extracted packet for processing {"connection_id":89369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:17:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:17:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:17:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":89369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:17:41] local.INFO: GPS data processed {"connection_id":89369,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:17:41] local.INFO: Acknowledgment sent {"connection_id":89369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:18:26] local.INFO: TCP Data received {"connection_id":88979,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:18:26] local.INFO: Processing buffer {"connection_id":88979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:18:26] local.INFO: IMEI packet received {"connection_id":88979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":88979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:18:31] local.INFO: TCP Data received {"connection_id":88979,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:18:31] local.INFO: Processing buffer {"connection_id":88979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:18:31] local.INFO: IMEI packet received {"connection_id":88979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":88979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:18:31] local.INFO: TCP Data received {"connection_id":88979,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:18:31] local.INFO: Processing buffer {"connection_id":88979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:18:31] local.INFO: Packet analysis {"connection_id":88979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:18:31] local.INFO: Extracted packet for processing {"connection_id":88979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:18:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:18:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:18:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":88979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:18:31] local.INFO: GPS data processed {"connection_id":88979,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:18:31] local.INFO: Acknowledgment sent {"connection_id":88979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:19:03] local.INFO: TCP Data received {"connection_id":88979,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:19:03] local.INFO: Processing buffer {"connection_id":88979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:19:03] local.INFO: Packet analysis {"connection_id":88979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:19:03] local.INFO: Extracted packet for processing {"connection_id":88979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:19:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":88979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:19:03] local.INFO: GPS data processed {"connection_id":88979,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:19:03] local.INFO: Acknowledgment sent {"connection_id":88979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:19:25] local.INFO: TCP Data received {"connection_id":89370,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:19:25] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:19:25] local.INFO: IMEI packet received {"connection_id":89370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":89370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:19:25] local.INFO: TCP Data received {"connection_id":89241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:19:25] local.INFO: Processing buffer {"connection_id":89241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:19:25] local.INFO: IMEI packet received {"connection_id":89241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":89241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:19:31] local.INFO: TCP Data received {"connection_id":89370,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:19:31] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:19:31] local.INFO: IMEI packet received {"connection_id":89370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":89370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:19:31] local.INFO: TCP Data received {"connection_id":89370,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:19:31] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:19:31] local.INFO: Packet analysis {"connection_id":89370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:19:31] local.INFO: Extracted packet for processing {"connection_id":89370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:19:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:19:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:19:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":89370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:19:31] local.INFO: GPS data processed {"connection_id":89370,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:19:31] local.INFO: Acknowledgment sent {"connection_id":89370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:19:59] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:19:59] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:19:59] local.INFO: IMEI packet received {"connection_id":89371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":89371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:20:03] local.INFO: TCP Data received {"connection_id":89370,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:20:03] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:20:03] local.INFO: Packet analysis {"connection_id":89370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:20:03] local.INFO: Extracted packet for processing {"connection_id":89370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:20:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:20:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":89370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:20:03] local.INFO: GPS data processed {"connection_id":89370,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:20:03] local.INFO: Acknowledgment sent {"connection_id":89370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:20:25] local.INFO: TCP Data received {"connection_id":88980,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:20:25] local.INFO: Processing buffer {"connection_id":88980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:20:25] local.INFO: IMEI packet received {"connection_id":88980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":88980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:20:31] local.INFO: TCP Data received {"connection_id":88980,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:20:31] local.INFO: Processing buffer {"connection_id":88980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:20:31] local.INFO: IMEI packet received {"connection_id":88980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":88980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:20:31] local.INFO: TCP Data received {"connection_id":88980,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:20:31] local.INFO: Processing buffer {"connection_id":88980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84b82468012d77a34005f2a6a8000e010c27..."} 
[2026-06-02 01:20:31] local.INFO: Packet analysis {"connection_id":88980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:20:31] local.INFO: Extracted packet for processing {"connection_id":88980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84b8"} 
[2026-06-02 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767761920001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343121000,"timestamp_ms":1780343121000,"timestamp_seconds":1780343121,"priority":1,"record_length":96,"hex_timestamp":"0000019e84b82468"} 
[2026-06-02 01:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767761920001,"66":25702,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767761920001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:20:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:20:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767761920001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":88980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:20:31] local.INFO: GPS data processed {"connection_id":88980,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:20:31] local.INFO: Acknowledgment sent {"connection_id":88980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:21:03] local.INFO: TCP Data received {"connection_id":88980,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:21:03] local.INFO: Processing buffer {"connection_id":88980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:21:03] local.INFO: Packet analysis {"connection_id":88980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:21:03] local.INFO: Extracted packet for processing {"connection_id":88980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:21:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":88980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:21:03] local.INFO: GPS data processed {"connection_id":88980,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:21:03] local.INFO: Acknowledgment sent {"connection_id":88980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:21:31] local.INFO: TCP Data received {"connection_id":89242,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:21:31] local.INFO: Processing buffer {"connection_id":89242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:21:31] local.INFO: IMEI packet received {"connection_id":89242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":89242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:21:36] local.INFO: TCP Data received {"connection_id":89242,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:21:36] local.INFO: Processing buffer {"connection_id":89242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:21:36] local.INFO: IMEI packet received {"connection_id":89242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":89242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:21:36] local.INFO: TCP Data received {"connection_id":89242,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:21:36] local.INFO: Processing buffer {"connection_id":89242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:21:36] local.INFO: Packet analysis {"connection_id":89242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:21:36] local.INFO: Extracted packet for processing {"connection_id":89242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:21:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:21:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:21:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":89242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:21:36] local.INFO: GPS data processed {"connection_id":89242,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:21:36] local.INFO: Acknowledgment sent {"connection_id":89242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:22:08] local.INFO: TCP Data received {"connection_id":89242,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:22:08] local.INFO: Processing buffer {"connection_id":89242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:22:08] local.INFO: Packet analysis {"connection_id":89242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:22:08] local.INFO: Extracted packet for processing {"connection_id":89242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:22: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-06-02 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:22:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:22:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":89242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:22:08] local.INFO: GPS data processed {"connection_id":89242,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:22:08] local.INFO: Acknowledgment sent {"connection_id":89242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:22:26] local.INFO: TCP Data received {"connection_id":88982,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:22:26] local.INFO: Processing buffer {"connection_id":88982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:22:26] local.INFO: IMEI packet received {"connection_id":88982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":88982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:22:31] local.INFO: TCP Data received {"connection_id":88982,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:22:31] local.INFO: Processing buffer {"connection_id":88982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:22:31] local.INFO: IMEI packet received {"connection_id":88982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":88982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:22:31] local.INFO: TCP Data received {"connection_id":88982,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:22:31] local.INFO: Processing buffer {"connection_id":88982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:22:31] local.INFO: Packet analysis {"connection_id":88982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:22:31] local.INFO: Extracted packet for processing {"connection_id":88982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:22: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-06-02 01:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:22: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-06-02 01:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:22:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:22:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":88982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:22:31] local.INFO: GPS data processed {"connection_id":88982,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:22:31] local.INFO: Acknowledgment sent {"connection_id":88982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:23:03] local.INFO: TCP Data received {"connection_id":88982,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:23:03] local.INFO: Processing buffer {"connection_id":88982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:23:03] local.INFO: Packet analysis {"connection_id":88982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:23:03] local.INFO: Extracted packet for processing {"connection_id":88982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:23:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:23:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":88982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:23:03] local.INFO: GPS data processed {"connection_id":88982,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:23:03] local.INFO: Acknowledgment sent {"connection_id":88982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:23:25] local.INFO: TCP Data received {"connection_id":90448,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:23:25] local.INFO: Processing buffer {"connection_id":90448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:23:25] local.INFO: IMEI packet received {"connection_id":90448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":90448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:23:31] local.INFO: TCP Data received {"connection_id":90448,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:23:31] local.INFO: Processing buffer {"connection_id":90448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:23:31] local.INFO: IMEI packet received {"connection_id":90448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":90448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:23:31] local.INFO: TCP Data received {"connection_id":90448,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:23:31] local.INFO: Processing buffer {"connection_id":90448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:23:31] local.INFO: Packet analysis {"connection_id":90448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:23:31] local.INFO: Extracted packet for processing {"connection_id":90448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:23:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:23:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:23:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":90448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:23:31] local.INFO: GPS data processed {"connection_id":90448,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:23:31] local.INFO: Acknowledgment sent {"connection_id":90448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:24:03] local.INFO: TCP Data received {"connection_id":90448,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:24:03] local.INFO: Processing buffer {"connection_id":90448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:24:03] local.INFO: Packet analysis {"connection_id":90448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:24:03] local.INFO: Extracted packet for processing {"connection_id":90448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:24:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:24:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":90448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:24:03] local.INFO: GPS data processed {"connection_id":90448,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:24:03] local.INFO: Acknowledgment sent {"connection_id":90448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:24:25] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:24:25] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:24:25] local.INFO: IMEI packet received {"connection_id":89372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":89372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:24:31] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:24:31] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:24:31] local.INFO: IMEI packet received {"connection_id":89372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":89372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:24:31] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:24:31] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:24:31] local.INFO: Packet analysis {"connection_id":89372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:24:31] local.INFO: Extracted packet for processing {"connection_id":89372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:24:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":89372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:24:31] local.INFO: GPS data processed {"connection_id":89372,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:24:31] local.INFO: Acknowledgment sent {"connection_id":89372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:25:03] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:03] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:03] local.INFO: Packet analysis {"connection_id":89372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:25:03] local.INFO: Extracted packet for processing {"connection_id":89372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:25:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":89372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:25:03] local.INFO: GPS data processed {"connection_id":89372,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:25:03] local.INFO: Acknowledgment sent {"connection_id":89372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:25:25] local.INFO: TCP Data received {"connection_id":89373,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:25:25] local.INFO: Processing buffer {"connection_id":89373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:25:25] local.INFO: IMEI packet received {"connection_id":89373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":89373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:25:31] local.INFO: TCP Data received {"connection_id":89245,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:25:31] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:25:31] local.INFO: IMEI packet received {"connection_id":89245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":89245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:25:36] local.INFO: TCP Data received {"connection_id":89245,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:25:36] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:25:36] local.INFO: IMEI packet received {"connection_id":89245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":89245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:25:36] local.INFO: TCP Data received {"connection_id":89245,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:36] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:36] local.INFO: Packet analysis {"connection_id":89245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:25:36] local.INFO: Extracted packet for processing {"connection_id":89245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:25:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:25:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":89245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:25:36] local.INFO: GPS data processed {"connection_id":89245,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:25:36] local.INFO: Acknowledgment sent {"connection_id":89245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:25:40] local.INFO: TCP Data received {"connection_id":89245,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:40] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84bcbc30012d77a34005f2a6a80014010c2a..."} 
[2026-06-02 01:25:40] local.INFO: Packet analysis {"connection_id":89245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:25:40] local.INFO: Extracted packet for processing {"connection_id":89245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84bc"} 
[2026-06-02 01:25:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":20,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767838976001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780343422000,"timestamp_ms":1780343422000,"timestamp_seconds":1780343422,"priority":1,"record_length":96,"hex_timestamp":"0000019e84bcbc30"} 
[2026-06-02 01:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:25: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-06-02 01:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 01:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767838976001,"66":25680,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767838976001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:25:40] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:25:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767838976001,"power":25680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":89245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:25:40] local.INFO: GPS data processed {"connection_id":89245,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:25:40] local.INFO: Acknowledgment sent {"connection_id":89245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:26:00] local.INFO: TCP Data received {"connection_id":89246,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:26:00] local.INFO: Processing buffer {"connection_id":89246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:26:00] local.INFO: IMEI packet received {"connection_id":89246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":89246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:26:25] local.INFO: TCP Data received {"connection_id":89374,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:26:25] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:26:25] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:26:30] local.INFO: TCP Data received {"connection_id":89374,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:26:30] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:26:30] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:26:31] local.INFO: TCP Data received {"connection_id":89374,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:26:31] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:26:31] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:26:31] local.INFO: Extracted packet for processing {"connection_id":89374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:26:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:26:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:26:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":89374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:26:31] local.INFO: GPS data processed {"connection_id":89374,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:26:31] local.INFO: Acknowledgment sent {"connection_id":89374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:27:03] local.INFO: TCP Data received {"connection_id":89374,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:27:03] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:27:03] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:27:03] local.INFO: Extracted packet for processing {"connection_id":89374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:27:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:27: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-06-02 01:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:27:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:27:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":89374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:27:03] local.INFO: GPS data processed {"connection_id":89374,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:27:03] local.INFO: Acknowledgment sent {"connection_id":89374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:27:25] local.INFO: TCP Data received {"connection_id":89247,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:27:25] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:27:25] local.INFO: IMEI packet received {"connection_id":89247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":89247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:27:31] local.INFO: TCP Data received {"connection_id":89247,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:27:31] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:27:31] local.INFO: IMEI packet received {"connection_id":89247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":89247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:27:31] local.INFO: TCP Data received {"connection_id":89247,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:27:31] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:27:31] local.INFO: Packet analysis {"connection_id":89247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:27:31] local.INFO: Extracted packet for processing {"connection_id":89247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:27:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:27: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-06-02 01:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:27: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":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:27: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-06-02 01:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:27:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:27:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":89247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:27:31] local.INFO: GPS data processed {"connection_id":89247,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:27:31] local.INFO: Acknowledgment sent {"connection_id":89247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:28:03] local.INFO: TCP Data received {"connection_id":89247,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:28:03] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:28:03] local.INFO: Packet analysis {"connection_id":89247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:28:03] local.INFO: Extracted packet for processing {"connection_id":89247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:28:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:28: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-06-02 01:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:28:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:28:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":89247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:28:03] local.INFO: GPS data processed {"connection_id":89247,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:28:03] local.INFO: Acknowledgment sent {"connection_id":89247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:28:25] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:28:25] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:28:25] local.INFO: IMEI packet received {"connection_id":89375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":89375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:28:31] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:28:31] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:28:31] local.INFO: IMEI packet received {"connection_id":89375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":89375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:28:31] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:28:31] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:28:31] local.INFO: Packet analysis {"connection_id":89375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:28:31] local.INFO: Extracted packet for processing {"connection_id":89375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:28:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:28:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:28:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":89375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:28:31] local.INFO: GPS data processed {"connection_id":89375,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:28:31] local.INFO: Acknowledgment sent {"connection_id":89375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:29:03] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:03] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:03] local.INFO: Packet analysis {"connection_id":89375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:29:03] local.INFO: Extracted packet for processing {"connection_id":89375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:29: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-06-02 01: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-06-02 01:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:29:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":89375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:29:03] local.INFO: GPS data processed {"connection_id":89375,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:29:03] local.INFO: Acknowledgment sent {"connection_id":89375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:29:31] local.INFO: TCP Data received {"connection_id":88985,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:29:31] local.INFO: Processing buffer {"connection_id":88985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:29:31] local.INFO: IMEI packet received {"connection_id":88985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":88985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:29:36] local.INFO: TCP Data received {"connection_id":88985,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:29:36] local.INFO: Processing buffer {"connection_id":88985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:29:36] local.INFO: IMEI packet received {"connection_id":88985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":88985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:29:36] local.INFO: TCP Data received {"connection_id":88985,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:36] local.INFO: Processing buffer {"connection_id":88985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:36] local.INFO: Packet analysis {"connection_id":88985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:29:36] local.INFO: Extracted packet for processing {"connection_id":88985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:29:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":88985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":88985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":88985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:29:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:29:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":88985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:29:36] local.INFO: GPS data processed {"connection_id":88985,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:29:36] local.INFO: Acknowledgment sent {"connection_id":88985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:29:41] local.INFO: TCP Data received {"connection_id":88985,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:41] local.INFO: Processing buffer {"connection_id":88985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:29:41] local.INFO: Packet analysis {"connection_id":88985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:29:41] local.INFO: Extracted packet for processing {"connection_id":88985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:29:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":88985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":88985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":88985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:29:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:29:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":88985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:29:41] local.INFO: GPS data processed {"connection_id":88985,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:29:41] local.INFO: Acknowledgment sent {"connection_id":88985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:30:26] local.INFO: TCP Data received {"connection_id":88986,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:30:26] local.INFO: Processing buffer {"connection_id":88986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:30:26] local.INFO: IMEI packet received {"connection_id":88986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":88986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:30:31] local.INFO: TCP Data received {"connection_id":88986,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:30:31] local.INFO: Processing buffer {"connection_id":88986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:30:31] local.INFO: IMEI packet received {"connection_id":88986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":88986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:30:31] local.INFO: TCP Data received {"connection_id":88986,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:30:31] local.INFO: Processing buffer {"connection_id":88986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:30:31] local.INFO: Packet analysis {"connection_id":88986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:30:31] local.INFO: Extracted packet for processing {"connection_id":88986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:30:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:30:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":88986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:30:31] local.INFO: GPS data processed {"connection_id":88986,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:30:31] local.INFO: Acknowledgment sent {"connection_id":88986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:31:03] local.INFO: TCP Data received {"connection_id":88986,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:31:03] local.INFO: Processing buffer {"connection_id":88986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c153f8012d77a34005f2a6a8000f010c2b..."} 
[2026-06-02 01:31:03] local.INFO: Packet analysis {"connection_id":88986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:31:03] local.INFO: Extracted packet for processing {"connection_id":88986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c1"} 
[2026-06-02 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767916032001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780343723000,"timestamp_ms":1780343723000,"timestamp_seconds":1780343723,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c153f8"} 
[2026-06-02 01:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 01:31: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-06-02 01:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767916032001,"66":25647,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767916032001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:31:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767916032001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":88986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:31:03] local.INFO: GPS data processed {"connection_id":88986,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:31:03] local.INFO: Acknowledgment sent {"connection_id":88986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:31:25] local.INFO: TCP Data received {"connection_id":89377,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:31:25] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:31:25] local.INFO: IMEI packet received {"connection_id":89377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":89377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:31:30] local.INFO: TCP Data received {"connection_id":89248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:31:30] local.INFO: Processing buffer {"connection_id":89248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:31:30] local.INFO: IMEI packet received {"connection_id":89248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":89248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:31:31] local.INFO: TCP Data received {"connection_id":89377,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:31:31] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:31:31] local.INFO: IMEI packet received {"connection_id":89377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":89377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:31:31] local.INFO: TCP Data received {"connection_id":89377,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:31:31] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:31:31] local.INFO: Packet analysis {"connection_id":89377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:31:31] local.INFO: Extracted packet for processing {"connection_id":89377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:31:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:31: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-06-02 01:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:31:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:31:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":89377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:31:31] local.INFO: GPS data processed {"connection_id":89377,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:31:31] local.INFO: Acknowledgment sent {"connection_id":89377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:32:00] local.INFO: TCP Data received {"connection_id":90451,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:32:00] local.INFO: Processing buffer {"connection_id":90451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:32:00] local.INFO: IMEI packet received {"connection_id":90451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":90451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:32:03] local.INFO: TCP Data received {"connection_id":89377,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:32:03] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:32:03] local.INFO: Packet analysis {"connection_id":89377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:32:03] local.INFO: Extracted packet for processing {"connection_id":89377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:32:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:32: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-06-02 01:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:32:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:32:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":89377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:32:03] local.INFO: GPS data processed {"connection_id":89377,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:32:03] local.INFO: Acknowledgment sent {"connection_id":89377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:32:25] local.INFO: TCP Data received {"connection_id":88987,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:32:25] local.INFO: Processing buffer {"connection_id":88987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:32:25] local.INFO: IMEI packet received {"connection_id":88987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":88987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:32:31] local.INFO: TCP Data received {"connection_id":88987,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:32:31] local.INFO: Processing buffer {"connection_id":88987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:32:31] local.INFO: IMEI packet received {"connection_id":88987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":88987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:32:31] local.INFO: TCP Data received {"connection_id":88987,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:32:31] local.INFO: Processing buffer {"connection_id":88987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:32:31] local.INFO: Packet analysis {"connection_id":88987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:32:31] local.INFO: Extracted packet for processing {"connection_id":88987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:32: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-06-02 01: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-06-02 01:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:32:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:32:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":88987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:32:31] local.INFO: GPS data processed {"connection_id":88987,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:32:31] local.INFO: Acknowledgment sent {"connection_id":88987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:33:03] local.INFO: TCP Data received {"connection_id":88987,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:03] local.INFO: Processing buffer {"connection_id":88987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:03] local.INFO: Packet analysis {"connection_id":88987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:33:03] local.INFO: Extracted packet for processing {"connection_id":88987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:33: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-06-02 01:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:33:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":88987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:33:03] local.INFO: GPS data processed {"connection_id":88987,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:33:03] local.INFO: Acknowledgment sent {"connection_id":88987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:33:31] local.INFO: TCP Data received {"connection_id":90452,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:33:31] local.INFO: Processing buffer {"connection_id":90452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:33:31] local.INFO: IMEI packet received {"connection_id":90452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":90452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:33:36] local.INFO: TCP Data received {"connection_id":90452,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:33:36] local.INFO: Processing buffer {"connection_id":90452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:33:36] local.INFO: IMEI packet received {"connection_id":90452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":90452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:33:36] local.INFO: TCP Data received {"connection_id":90452,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:36] local.INFO: Processing buffer {"connection_id":90452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:36] local.INFO: Packet analysis {"connection_id":90452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:33:36] local.INFO: Extracted packet for processing {"connection_id":90452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:33:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:33:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:33:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":90452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:33:36] local.INFO: GPS data processed {"connection_id":90452,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:33:36] local.INFO: Acknowledgment sent {"connection_id":90452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:33:41] local.INFO: TCP Data received {"connection_id":90452,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:41] local.INFO: Processing buffer {"connection_id":90452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:33:41] local.INFO: Packet analysis {"connection_id":90452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:33:41] local.INFO: Extracted packet for processing {"connection_id":90452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:33:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:33:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:33:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":90452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:33:41] local.INFO: GPS data processed {"connection_id":90452,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:33:41] local.INFO: Acknowledgment sent {"connection_id":90452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:34:26] local.INFO: TCP Data received {"connection_id":89250,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:34:26] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:34:26] local.INFO: IMEI packet received {"connection_id":89250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":89250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:34:31] local.INFO: TCP Data received {"connection_id":89250,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:34:31] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:34:31] local.INFO: IMEI packet received {"connection_id":89250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":89250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:34:31] local.INFO: TCP Data received {"connection_id":89250,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:34:31] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:34:31] local.INFO: Packet analysis {"connection_id":89250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:34:31] local.INFO: Extracted packet for processing {"connection_id":89250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:34:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:34: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-06-02 01:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:34: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-06-02 01:34: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-06-02 01:34: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-06-02 01:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:34:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:34:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":89250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:34:31] local.INFO: GPS data processed {"connection_id":89250,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:34:31] local.INFO: Acknowledgment sent {"connection_id":89250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:35:03] local.INFO: TCP Data received {"connection_id":89250,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:35:03] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:35:03] local.INFO: Packet analysis {"connection_id":89250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:35:03] local.INFO: Extracted packet for processing {"connection_id":89250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:35:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:35: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-06-02 01:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:35:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:35:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":89250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:35:03] local.INFO: GPS data processed {"connection_id":89250,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:35:03] local.INFO: Acknowledgment sent {"connection_id":89250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:35:25] local.INFO: TCP Data received {"connection_id":89251,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:35:25] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:35:25] local.INFO: IMEI packet received {"connection_id":89251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":89251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:35:31] local.INFO: TCP Data received {"connection_id":89251,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:35:31] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:35:31] local.INFO: IMEI packet received {"connection_id":89251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":89251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:35:31] local.INFO: TCP Data received {"connection_id":89251,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:35:31] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:35:31] local.INFO: Packet analysis {"connection_id":89251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:35:31] local.INFO: Extracted packet for processing {"connection_id":89251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:35:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:35: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-06-02 01:35: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-06-02 01:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:35:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:35:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":89251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:35:31] local.INFO: GPS data processed {"connection_id":89251,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:35:31] local.INFO: Acknowledgment sent {"connection_id":89251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:36:03] local.INFO: TCP Data received {"connection_id":89251,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:36:03] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84c5ebc0012d77a34005f2a6a80020010c2a..."} 
[2026-06-02 01:36:03] local.INFO: Packet analysis {"connection_id":89251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:36:03] local.INFO: Extracted packet for processing {"connection_id":89251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84c5"} 
[2026-06-02 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":32,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455767993088001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344024000,"timestamp_ms":1780344024000,"timestamp_seconds":1780344024,"priority":1,"record_length":96,"hex_timestamp":"0000019e84c5ebc0"} 
[2026-06-02 01:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 01:36: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-06-02 01:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455767993088001,"66":25615,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455767993088001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:36:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:36:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455767993088001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":89251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:36:03] local.INFO: GPS data processed {"connection_id":89251,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:36:03] local.INFO: Acknowledgment sent {"connection_id":89251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:36:30] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:36:30] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:36:30] local.INFO: IMEI packet received {"connection_id":89380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":89380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:36:36] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:36:36] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:36:36] local.INFO: IMEI packet received {"connection_id":89380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":89380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:36:36] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:36:36] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:36:36] local.INFO: Packet analysis {"connection_id":89380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:36:36] local.INFO: Extracted packet for processing {"connection_id":89380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:36:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:36:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:36:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":89380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:36:36] local.INFO: GPS data processed {"connection_id":89380,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:36:36] local.INFO: Acknowledgment sent {"connection_id":89380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:36:41] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:36:41] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:36:41] local.INFO: Packet analysis {"connection_id":89380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:36:41] local.INFO: Extracted packet for processing {"connection_id":89380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:36:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:36:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:36:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":89380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:36:41] local.INFO: GPS data processed {"connection_id":89380,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:36:41] local.INFO: Acknowledgment sent {"connection_id":89380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:37:20] local.INFO: TCP Data received {"connection_id":88988,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:37:20] local.INFO: Processing buffer {"connection_id":88988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:37:20] local.INFO: IMEI packet received {"connection_id":88988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":88988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:37:25] local.INFO: TCP Data received {"connection_id":90454,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:37:25] local.INFO: Processing buffer {"connection_id":90454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:37:25] local.INFO: IMEI packet received {"connection_id":90454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":90454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:37:30] local.INFO: TCP Data received {"connection_id":90454,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:37:30] local.INFO: Processing buffer {"connection_id":90454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:37:30] local.INFO: IMEI packet received {"connection_id":90454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":90454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:37:31] local.INFO: TCP Data received {"connection_id":90454,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:37:31] local.INFO: Processing buffer {"connection_id":90454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:37:31] local.INFO: Packet analysis {"connection_id":90454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:37:31] local.INFO: Extracted packet for processing {"connection_id":90454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:37:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:37: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-06-02 01:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:37: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:37: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-06-02 01:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:37:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:37:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":90454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:37:31] local.INFO: GPS data processed {"connection_id":90454,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:37:31] local.INFO: Acknowledgment sent {"connection_id":90454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:38:03] local.INFO: TCP Data received {"connection_id":90454,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:03] local.INFO: Processing buffer {"connection_id":90454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:03] local.INFO: Packet analysis {"connection_id":90454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:38:03] local.INFO: Extracted packet for processing {"connection_id":90454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:38:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":90454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:38:03] local.INFO: GPS data processed {"connection_id":90454,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:38:03] local.INFO: Acknowledgment sent {"connection_id":90454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:38:05] local.INFO: TCP Data received {"connection_id":88989,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:38:05] local.INFO: Processing buffer {"connection_id":88989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:38:05] local.INFO: IMEI packet received {"connection_id":88989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":88989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:38:28] local.INFO: TCP Data received {"connection_id":89381,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:38:28] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:38:28] local.INFO: IMEI packet received {"connection_id":89381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":89381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:38:30] local.INFO: TCP Data received {"connection_id":89381,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:38:30] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:38:30] local.INFO: IMEI packet received {"connection_id":89381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":89381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:38:31] local.INFO: TCP Data received {"connection_id":89381,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:31] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:31] local.INFO: Packet analysis {"connection_id":89381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:38:31] local.INFO: Extracted packet for processing {"connection_id":89381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:38:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:38:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":89381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:38:31] local.INFO: GPS data processed {"connection_id":89381,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:38:31] local.INFO: Acknowledgment sent {"connection_id":89381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:38:36] local.INFO: TCP Data received {"connection_id":89381,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:36] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:38:36] local.INFO: Packet analysis {"connection_id":89381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:38:36] local.INFO: Extracted packet for processing {"connection_id":89381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:38:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:38:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:38:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":89381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:38:36] local.INFO: GPS data processed {"connection_id":89381,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:38:36] local.INFO: Acknowledgment sent {"connection_id":89381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:39:08] local.INFO: TCP Data received {"connection_id":89381,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:39:08] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:39:08] local.INFO: Packet analysis {"connection_id":89381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:39:08] local.INFO: Extracted packet for processing {"connection_id":89381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:39:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:39:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:39:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":89381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:39:08] local.INFO: GPS data processed {"connection_id":89381,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:39:08] local.INFO: Acknowledgment sent {"connection_id":89381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:39:25] local.INFO: TCP Data received {"connection_id":89252,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:39:25] local.INFO: Processing buffer {"connection_id":89252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:39:25] local.INFO: IMEI packet received {"connection_id":89252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":89252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:39:31] local.INFO: TCP Data received {"connection_id":89252,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:39:31] local.INFO: Processing buffer {"connection_id":89252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:39:31] local.INFO: IMEI packet received {"connection_id":89252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":89252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:39:31] local.INFO: TCP Data received {"connection_id":89252,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:39:31] local.INFO: Processing buffer {"connection_id":89252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:39:31] local.INFO: Packet analysis {"connection_id":89252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:39:31] local.INFO: Extracted packet for processing {"connection_id":89252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:39:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:39:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":89252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:39:31] local.INFO: GPS data processed {"connection_id":89252,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:39:31] local.INFO: Acknowledgment sent {"connection_id":89252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:40:03] local.INFO: TCP Data received {"connection_id":89252,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:40:03] local.INFO: Processing buffer {"connection_id":89252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:40:03] local.INFO: Packet analysis {"connection_id":89252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:40:03] local.INFO: Extracted packet for processing {"connection_id":89252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:40:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":89252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:40:03] local.INFO: GPS data processed {"connection_id":89252,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:40:03] local.INFO: Acknowledgment sent {"connection_id":89252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:40:25] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:40:25] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:40:25] local.INFO: IMEI packet received {"connection_id":89383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":89383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:40:30] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:40:30] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:40:30] local.INFO: IMEI packet received {"connection_id":89383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":89383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:40:31] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:40:31] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:40:31] local.INFO: Packet analysis {"connection_id":89383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:40:31] local.INFO: Extracted packet for processing {"connection_id":89383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:40:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:40: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-06-02 01:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:40: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:40: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-06-02 01:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:40:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:40:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":89383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:40:31] local.INFO: GPS data processed {"connection_id":89383,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:40:31] local.INFO: Acknowledgment sent {"connection_id":89383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:41:03] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:41:03] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ca8388012d77a34005f2a6a8000f010c28..."} 
[2026-06-02 01:41:03] local.INFO: Packet analysis {"connection_id":89383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:41:03] local.INFO: Extracted packet for processing {"connection_id":89383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ca"} 
[2026-06-02 01:41:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768070144001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344325000,"timestamp_ms":1780344325000,"timestamp_seconds":1780344325,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ca8388"} 
[2026-06-02 01:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 01:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768070144001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768070144001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:41:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:41:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768070144001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":89383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:41:03] local.INFO: GPS data processed {"connection_id":89383,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:41:03] local.INFO: Acknowledgment sent {"connection_id":89383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:41:30] local.INFO: TCP Data received {"connection_id":88991,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:41:30] local.INFO: Processing buffer {"connection_id":88991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:41:30] local.INFO: IMEI packet received {"connection_id":88991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":88991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:41:35] local.INFO: TCP Data received {"connection_id":88991,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:41:35] local.INFO: Processing buffer {"connection_id":88991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:41:35] local.INFO: IMEI packet received {"connection_id":88991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":88991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:41:36] local.INFO: TCP Data received {"connection_id":88991,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:41:36] local.INFO: Processing buffer {"connection_id":88991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:41:36] local.INFO: Packet analysis {"connection_id":88991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:41:36] local.INFO: Extracted packet for processing {"connection_id":88991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:41:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":88991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":88991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":88991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:41:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:41:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":88991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:41:36] local.INFO: GPS data processed {"connection_id":88991,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:41:36] local.INFO: Acknowledgment sent {"connection_id":88991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:42:08] local.INFO: TCP Data received {"connection_id":88991,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:42:08] local.INFO: Processing buffer {"connection_id":88991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:42:08] local.INFO: Packet analysis {"connection_id":88991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:42:08] local.INFO: Extracted packet for processing {"connection_id":88991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:42:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:42: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-06-02 01:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":88991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":88991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":88991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:42:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:42:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":88991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:42:08] local.INFO: GPS data processed {"connection_id":88991,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:42:08] local.INFO: Acknowledgment sent {"connection_id":88991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:42:25] local.INFO: TCP Data received {"connection_id":88992,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:42:25] local.INFO: Processing buffer {"connection_id":88992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:42:25] local.INFO: IMEI packet received {"connection_id":88992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":88992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:42:30] local.INFO: TCP Data received {"connection_id":88992,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:42:30] local.INFO: Processing buffer {"connection_id":88992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:42:30] local.INFO: IMEI packet received {"connection_id":88992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":88992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:42:31] local.INFO: TCP Data received {"connection_id":88992,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:42:31] local.INFO: Processing buffer {"connection_id":88992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:42:31] local.INFO: Packet analysis {"connection_id":88992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:42:31] local.INFO: Extracted packet for processing {"connection_id":88992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:42:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:42: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-06-02 01:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:42: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:42:31] 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-06-02 01:42: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-06-02 01:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:42:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:42:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":88992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:42:31] local.INFO: GPS data processed {"connection_id":88992,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:42:31] local.INFO: Acknowledgment sent {"connection_id":88992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:43:03] local.INFO: TCP Data received {"connection_id":88992,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:43:03] local.INFO: Processing buffer {"connection_id":88992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:43:03] local.INFO: Packet analysis {"connection_id":88992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:43:03] local.INFO: Extracted packet for processing {"connection_id":88992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:43:03] 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-06-02 01:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:43:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":88992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:43:03] local.INFO: GPS data processed {"connection_id":88992,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:43:03] local.INFO: Acknowledgment sent {"connection_id":88992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:43:20] local.INFO: TCP Data received {"connection_id":90456,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:43:20] local.INFO: Processing buffer {"connection_id":90456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:43:20] local.INFO: IMEI packet received {"connection_id":90456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":90456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:43:25] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:43:25] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:43:25] local.INFO: IMEI packet received {"connection_id":89384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":89384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:43:30] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:43:30] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:43:30] local.INFO: IMEI packet received {"connection_id":89384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":89384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:43:31] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:43:31] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:43:31] local.INFO: Packet analysis {"connection_id":89384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:43:31] local.INFO: Extracted packet for processing {"connection_id":89384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:43:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:43:31] 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-06-02 01: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-06-02 01:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:43:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:43:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":89384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:43:31] local.INFO: GPS data processed {"connection_id":89384,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:43:31] local.INFO: Acknowledgment sent {"connection_id":89384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:43:59] local.INFO: TCP Data received {"connection_id":89385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:43:59] local.INFO: Processing buffer {"connection_id":89385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:43:59] local.INFO: IMEI packet received {"connection_id":89385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":89385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:44:03] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:44:03] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:44:03] local.INFO: Packet analysis {"connection_id":89384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:44:03] local.INFO: Extracted packet for processing {"connection_id":89384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:44:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:44:03] 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-06-02 01:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:44:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":89384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:44:03] local.INFO: GPS data processed {"connection_id":89384,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:44:03] local.INFO: Acknowledgment sent {"connection_id":89384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:44:25] local.INFO: TCP Data received {"connection_id":90457,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:44:25] local.INFO: Processing buffer {"connection_id":90457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:44:25] local.INFO: IMEI packet received {"connection_id":90457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":90457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:44:30] local.INFO: TCP Data received {"connection_id":90457,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:44:30] local.INFO: Processing buffer {"connection_id":90457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:44:30] local.INFO: IMEI packet received {"connection_id":90457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":90457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:44:31] local.INFO: TCP Data received {"connection_id":90457,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:44:31] local.INFO: Processing buffer {"connection_id":90457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:44:31] local.INFO: Packet analysis {"connection_id":90457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:44:31] local.INFO: Extracted packet for processing {"connection_id":90457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:44:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:44:31] 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-06-02 01: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-06-02 01:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:44:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:44:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":90457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:44:31] local.INFO: GPS data processed {"connection_id":90457,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:44:31] local.INFO: Acknowledgment sent {"connection_id":90457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:45:03] local.INFO: TCP Data received {"connection_id":90457,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:03] local.INFO: Processing buffer {"connection_id":90457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:03] local.INFO: Packet analysis {"connection_id":90457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:03] local.INFO: Extracted packet for processing {"connection_id":90457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:45:03] 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-06-02 01: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-06-02 01:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:45:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:45:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":90457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:45:03] local.INFO: GPS data processed {"connection_id":90457,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:45:03] local.INFO: Acknowledgment sent {"connection_id":90457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:45:30] local.INFO: TCP Data received {"connection_id":90459,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:45:30] local.INFO: Processing buffer {"connection_id":90459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:45:30] local.INFO: IMEI packet received {"connection_id":90459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":90459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:45:35] local.INFO: TCP Data received {"connection_id":90459,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:45:35] local.INFO: Processing buffer {"connection_id":90459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:45:35] local.INFO: IMEI packet received {"connection_id":90459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":90459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:45:36] local.INFO: TCP Data received {"connection_id":90459,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:36] local.INFO: Processing buffer {"connection_id":90459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:36] local.INFO: Packet analysis {"connection_id":90459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:36] local.INFO: Extracted packet for processing {"connection_id":90459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:45:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:45:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":90459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:45:36] local.INFO: GPS data processed {"connection_id":90459,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:45:36] local.INFO: Acknowledgment sent {"connection_id":90459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:45:41] local.INFO: TCP Data received {"connection_id":90459,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:41] local.INFO: Processing buffer {"connection_id":90459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:41] local.INFO: Packet analysis {"connection_id":90459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:41] local.INFO: Extracted packet for processing {"connection_id":90459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:45:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:45:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":90459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:45:41] local.INFO: GPS data processed {"connection_id":90459,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:45:41] local.INFO: Acknowledgment sent {"connection_id":90459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:45:46] local.INFO: TCP Data received {"connection_id":90459,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:46] local.INFO: Processing buffer {"connection_id":90459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84cf1b50012d77a34005f2a6a8000f010c29..."} 
[2026-06-02 01:45:46] local.INFO: Packet analysis {"connection_id":90459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:46] local.INFO: Extracted packet for processing {"connection_id":90459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84cf"} 
[2026-06-02 01:45:46] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":15,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768147200001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780344626000,"timestamp_ms":1780344626000,"timestamp_seconds":1780344626,"priority":1,"record_length":96,"hex_timestamp":"0000019e84cf1b50"} 
[2026-06-02 01:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768147200001,"66":25538,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768147200001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:45:46] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:45:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768147200001,"power":25538,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":90459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:45:46] local.INFO: GPS data processed {"connection_id":90459,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:45:46] local.INFO: Acknowledgment sent {"connection_id":90459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:46:26] local.INFO: TCP Data received {"connection_id":89254,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:46:26] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:46:26] local.INFO: IMEI packet received {"connection_id":89254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":89254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:46:31] local.INFO: TCP Data received {"connection_id":89254,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:46:31] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:46:31] local.INFO: IMEI packet received {"connection_id":89254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":89254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:46:32] local.INFO: TCP Data received {"connection_id":89254,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:46:32] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:46:32] local.INFO: Packet analysis {"connection_id":89254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:46:32] local.INFO: Extracted packet for processing {"connection_id":89254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:46:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:46:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":89254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:46:32] local.INFO: GPS data processed {"connection_id":89254,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:46:32] local.INFO: Acknowledgment sent {"connection_id":89254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:47:03] local.INFO: TCP Data received {"connection_id":89254,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:47:03] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:47:03] local.INFO: Packet analysis {"connection_id":89254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:47:03] local.INFO: Extracted packet for processing {"connection_id":89254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:47:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:47:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":89254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:47:03] local.INFO: GPS data processed {"connection_id":89254,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:47:03] local.INFO: Acknowledgment sent {"connection_id":89254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:47:25] local.INFO: TCP Data received {"connection_id":88994,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:47:25] local.INFO: Processing buffer {"connection_id":88994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:47:25] local.INFO: IMEI packet received {"connection_id":88994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":88994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:47:30] local.INFO: TCP Data received {"connection_id":88994,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:47:30] local.INFO: Processing buffer {"connection_id":88994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:47:30] local.INFO: IMEI packet received {"connection_id":88994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":88994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:47:31] local.INFO: TCP Data received {"connection_id":88994,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:47:31] local.INFO: Processing buffer {"connection_id":88994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:47:31] local.INFO: Packet analysis {"connection_id":88994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:47:31] local.INFO: Extracted packet for processing {"connection_id":88994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:47:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:47:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:47:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":88994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:47:31] local.INFO: GPS data processed {"connection_id":88994,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:47:31] local.INFO: Acknowledgment sent {"connection_id":88994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:48:03] local.INFO: TCP Data received {"connection_id":88994,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:48:03] local.INFO: Processing buffer {"connection_id":88994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:48:03] local.INFO: Packet analysis {"connection_id":88994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:48:03] local.INFO: Extracted packet for processing {"connection_id":88994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:48:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":88994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:48:03] local.INFO: GPS data processed {"connection_id":88994,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:48:03] local.INFO: Acknowledgment sent {"connection_id":88994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:48:25] local.INFO: TCP Data received {"connection_id":89255,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:48:25] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:48:25] local.INFO: IMEI packet received {"connection_id":89255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":89255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:48:30] local.INFO: TCP Data received {"connection_id":89255,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:48:30] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:48:30] local.INFO: IMEI packet received {"connection_id":89255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":89255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:48:31] local.INFO: TCP Data received {"connection_id":89255,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:48:31] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:48:31] local.INFO: Packet analysis {"connection_id":89255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:48:31] local.INFO: Extracted packet for processing {"connection_id":89255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:48:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:48:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:48:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":89255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:48:31] local.INFO: GPS data processed {"connection_id":89255,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:48:31] local.INFO: Acknowledgment sent {"connection_id":89255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:49:03] local.INFO: TCP Data received {"connection_id":89255,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:03] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:03] local.INFO: Packet analysis {"connection_id":89255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:49:03] local.INFO: Extracted packet for processing {"connection_id":89255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:49:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:49:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":89255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:49:03] local.INFO: GPS data processed {"connection_id":89255,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:49:03] local.INFO: Acknowledgment sent {"connection_id":89255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:49:29] local.INFO: TCP Data received {"connection_id":88995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:49:29] local.INFO: Processing buffer {"connection_id":88995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:49:29] local.INFO: IMEI packet received {"connection_id":88995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":88995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:49:30] local.INFO: TCP Data received {"connection_id":90461,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:49:30] local.INFO: Processing buffer {"connection_id":90461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:49:30] local.INFO: IMEI packet received {"connection_id":90461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":90461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:49:35] local.INFO: TCP Data received {"connection_id":90461,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:49:35] local.INFO: Processing buffer {"connection_id":90461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:49:35] local.INFO: IMEI packet received {"connection_id":90461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":90461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:49:36] local.INFO: TCP Data received {"connection_id":90461,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:36] local.INFO: Processing buffer {"connection_id":90461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:36] local.INFO: Packet analysis {"connection_id":90461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:49:36] local.INFO: Extracted packet for processing {"connection_id":90461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:49:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:49:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":90461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:49:36] local.INFO: GPS data processed {"connection_id":90461,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:49:36] local.INFO: Acknowledgment sent {"connection_id":90461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:49:41] local.INFO: TCP Data received {"connection_id":90461,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:41] local.INFO: Processing buffer {"connection_id":90461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:49:41] local.INFO: Packet analysis {"connection_id":90461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:49:41] local.INFO: Extracted packet for processing {"connection_id":90461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:49:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:49:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:49:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":90461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:49:41] local.INFO: GPS data processed {"connection_id":90461,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:49:41] local.INFO: Acknowledgment sent {"connection_id":90461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:49:59] local.INFO: TCP Data received {"connection_id":89387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:49:59] local.INFO: Processing buffer {"connection_id":89387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:49:59] local.INFO: IMEI packet received {"connection_id":89387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":89387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:50:25] local.INFO: TCP Data received {"connection_id":89256,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:50:25] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:50:25] local.INFO: IMEI packet received {"connection_id":89256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":89256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:50:30] local.INFO: TCP Data received {"connection_id":89256,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:50:30] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:50:30] local.INFO: IMEI packet received {"connection_id":89256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":89256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:50:31] local.INFO: TCP Data received {"connection_id":89256,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:50:31] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:50:31] local.INFO: Packet analysis {"connection_id":89256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:50:31] local.INFO: Extracted packet for processing {"connection_id":89256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:50:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:50: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-06-02 01:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:50: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:50: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-06-02 01:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:50:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:50:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":89256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:50:31] local.INFO: GPS data processed {"connection_id":89256,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:50:31] local.INFO: Acknowledgment sent {"connection_id":89256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:51:03] local.INFO: TCP Data received {"connection_id":89256,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:51:03] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d3b318012d77a34005f2a6a80017010c2a..."} 
[2026-06-02 01:51:03] local.INFO: Packet analysis {"connection_id":89256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:51:03] local.INFO: Extracted packet for processing {"connection_id":89256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d3"} 
[2026-06-02 01:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780344927000,"timestamp_ms":1780344927000,"timestamp_seconds":1780344927,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d3b318"} 
[2026-06-02 01:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 01:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768224256001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:51:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:51:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768224256001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":89256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:51:03] local.INFO: GPS data processed {"connection_id":89256,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:51:03] local.INFO: Acknowledgment sent {"connection_id":89256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:51:25] local.INFO: TCP Data received {"connection_id":88996,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:51:25] local.INFO: Processing buffer {"connection_id":88996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:51:25] local.INFO: IMEI packet received {"connection_id":88996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":88996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:51:30] local.INFO: TCP Data received {"connection_id":88996,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:51:30] local.INFO: Processing buffer {"connection_id":88996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:51:30] local.INFO: IMEI packet received {"connection_id":88996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":88996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:51:31] local.INFO: TCP Data received {"connection_id":88996,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:51:31] local.INFO: Processing buffer {"connection_id":88996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:51:31] local.INFO: Packet analysis {"connection_id":88996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:51:31] local.INFO: Extracted packet for processing {"connection_id":88996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:51:31] 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-06-02 01:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:51:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:51:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":88996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:51:31] local.INFO: GPS data processed {"connection_id":88996,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:51:31] local.INFO: Acknowledgment sent {"connection_id":88996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:52:03] local.INFO: TCP Data received {"connection_id":88996,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:52:03] local.INFO: Processing buffer {"connection_id":88996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:52:03] local.INFO: Packet analysis {"connection_id":88996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:52:03] local.INFO: Extracted packet for processing {"connection_id":88996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:52:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:52:03] 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-06-02 01: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-06-02 01:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:52:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:52:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":88996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:52:03] local.INFO: GPS data processed {"connection_id":88996,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:52:03] local.INFO: Acknowledgment sent {"connection_id":88996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:52:25] local.INFO: TCP Data received {"connection_id":90462,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:52:25] local.INFO: Processing buffer {"connection_id":90462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:52:25] local.INFO: IMEI packet received {"connection_id":90462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":90462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:52:30] local.INFO: TCP Data received {"connection_id":90462,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:52:30] local.INFO: Processing buffer {"connection_id":90462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:52:30] local.INFO: IMEI packet received {"connection_id":90462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":90462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:52:31] local.INFO: TCP Data received {"connection_id":90462,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:52:31] local.INFO: Processing buffer {"connection_id":90462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:52:31] local.INFO: Packet analysis {"connection_id":90462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:52:31] local.INFO: Extracted packet for processing {"connection_id":90462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:52:31] 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-06-02 01:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:52:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:52:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":90462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:52:31] local.INFO: GPS data processed {"connection_id":90462,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:52:31] local.INFO: Acknowledgment sent {"connection_id":90462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:53:02] local.INFO: TCP Data received {"connection_id":90462,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:53:02] local.INFO: Processing buffer {"connection_id":90462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:53:02] local.INFO: Packet analysis {"connection_id":90462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:53:02] local.INFO: Extracted packet for processing {"connection_id":90462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:53:02] 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-06-02 01: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-06-02 01:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:53:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:53:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":90462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:53:03] local.INFO: GPS data processed {"connection_id":90462,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:53:03] local.INFO: Acknowledgment sent {"connection_id":90462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:53:25] local.INFO: TCP Data received {"connection_id":89390,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:53:25] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:53:25] local.INFO: IMEI packet received {"connection_id":89390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":89390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:53:30] local.INFO: TCP Data received {"connection_id":89390,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:53:30] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:53:30] local.INFO: IMEI packet received {"connection_id":89390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":89390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:53:31] local.INFO: TCP Data received {"connection_id":89390,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:53:31] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:53:31] local.INFO: Packet analysis {"connection_id":89390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:53:31] local.INFO: Extracted packet for processing {"connection_id":89390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:53: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-06-02 01:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:53: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:53:31] 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-06-02 01:53: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-06-02 01:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:53:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:53:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":89390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:53:31] local.INFO: GPS data processed {"connection_id":89390,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:53:31] local.INFO: Acknowledgment sent {"connection_id":89390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:54:02] local.INFO: TCP Data received {"connection_id":89390,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:02] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:02] local.INFO: Packet analysis {"connection_id":89390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:54:02] local.INFO: Extracted packet for processing {"connection_id":89390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:54:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 01:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 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-06-02 01:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:54:02] 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-06-02 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-06-02 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-06-02 01:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:54:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:54:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":89390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:54:02] local.INFO: GPS data processed {"connection_id":89390,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:54:02] local.INFO: Acknowledgment sent {"connection_id":89390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:54:31] local.INFO: TCP Data received {"connection_id":89258,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:54:31] local.INFO: Processing buffer {"connection_id":89258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:54:31] local.INFO: IMEI packet received {"connection_id":89258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":89258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:54:35] local.INFO: TCP Data received {"connection_id":89258,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:54:35] local.INFO: Processing buffer {"connection_id":89258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:54:35] local.INFO: IMEI packet received {"connection_id":89258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":89258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:54:36] local.INFO: TCP Data received {"connection_id":89258,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:36] local.INFO: Processing buffer {"connection_id":89258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:36] local.INFO: Packet analysis {"connection_id":89258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:54:36] local.INFO: Extracted packet for processing {"connection_id":89258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:54:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:54:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":89258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:54:36] local.INFO: GPS data processed {"connection_id":89258,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:54:36] local.INFO: Acknowledgment sent {"connection_id":89258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:54:41] local.INFO: TCP Data received {"connection_id":89258,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:41] local.INFO: Processing buffer {"connection_id":89258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:54:41] local.INFO: Packet analysis {"connection_id":89258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:54:41] local.INFO: Extracted packet for processing {"connection_id":89258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:54:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:54:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:54:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":89258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:54:41] local.INFO: GPS data processed {"connection_id":89258,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:54:41] local.INFO: Acknowledgment sent {"connection_id":89258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:55:25] local.INFO: TCP Data received {"connection_id":89391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:55:25] local.INFO: Processing buffer {"connection_id":89391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:55:25] local.INFO: IMEI packet received {"connection_id":89391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":89391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:55:25] local.INFO: TCP Data received {"connection_id":88998,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:55:25] local.INFO: Processing buffer {"connection_id":88998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:55:25] local.INFO: IMEI packet received {"connection_id":88998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":88998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:55:30] local.INFO: TCP Data received {"connection_id":88998,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:55:30] local.INFO: Processing buffer {"connection_id":88998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:55:30] local.INFO: IMEI packet received {"connection_id":88998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":88998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:55:31] local.INFO: TCP Data received {"connection_id":88998,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:55:31] local.INFO: Processing buffer {"connection_id":88998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:55:31] local.INFO: Packet analysis {"connection_id":88998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:55:31] local.INFO: Extracted packet for processing {"connection_id":88998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:55:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:55:31] 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-06-02 01:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":88998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":88998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":88998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:55:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:55:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":88998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:55:31] local.INFO: GPS data processed {"connection_id":88998,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:55:31] local.INFO: Acknowledgment sent {"connection_id":88998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:55:59] local.INFO: TCP Data received {"connection_id":90463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:55:59] local.INFO: Processing buffer {"connection_id":90463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 01:55:59] local.INFO: IMEI packet received {"connection_id":90463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 01:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":90463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:56:03] local.INFO: TCP Data received {"connection_id":88998,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":88998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:56:03] local.INFO: Processing buffer {"connection_id":88998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84d84ae0012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 01:56:03] local.INFO: Packet analysis {"connection_id":88998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:56:03] local.INFO: Extracted packet for processing {"connection_id":88998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84d8"} 
[2026-06-02 01:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768301312001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345228000,"timestamp_ms":1780345228000,"timestamp_seconds":1780345228,"priority":1,"record_length":96,"hex_timestamp":"0000019e84d84ae0"} 
[2026-06-02 01:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 01:56:03] 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-06-02 01: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-06-02 01:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":88998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":88998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":88998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768301312001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768301312001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:56:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:56:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768301312001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":88998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:56:03] local.INFO: GPS data processed {"connection_id":88998,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:56:03] local.INFO: Acknowledgment sent {"connection_id":88998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:56:25] local.INFO: TCP Data received {"connection_id":89259,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:56:25] local.INFO: Processing buffer {"connection_id":89259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:56:25] local.INFO: IMEI packet received {"connection_id":89259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":89259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:56:30] local.INFO: TCP Data received {"connection_id":89259,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:56:30] local.INFO: Processing buffer {"connection_id":89259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:56:30] local.INFO: IMEI packet received {"connection_id":89259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":89259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:56:31] local.INFO: TCP Data received {"connection_id":89259,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:56:31] local.INFO: Processing buffer {"connection_id":89259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:56:31] local.INFO: Packet analysis {"connection_id":89259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:56:31] local.INFO: Extracted packet for processing {"connection_id":89259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:56:31] 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-06-02 01:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:56:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:56:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":89259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:56:31] local.INFO: GPS data processed {"connection_id":89259,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:56:31] local.INFO: Acknowledgment sent {"connection_id":89259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:57:03] local.INFO: TCP Data received {"connection_id":89259,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:03] local.INFO: Processing buffer {"connection_id":89259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:03] local.INFO: Packet analysis {"connection_id":89259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:57:03] local.INFO: Extracted packet for processing {"connection_id":89259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:57:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:57:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":89259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:57:03] local.INFO: GPS data processed {"connection_id":89259,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:57:03] local.INFO: Acknowledgment sent {"connection_id":89259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:57:30] local.INFO: TCP Data received {"connection_id":89000,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:57:30] local.INFO: Processing buffer {"connection_id":89000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:57:30] local.INFO: IMEI packet received {"connection_id":89000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":89000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:57:35] local.INFO: TCP Data received {"connection_id":89000,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:57:35] local.INFO: Processing buffer {"connection_id":89000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:57:35] local.INFO: IMEI packet received {"connection_id":89000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":89000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:57:36] local.INFO: TCP Data received {"connection_id":89000,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:36] local.INFO: Processing buffer {"connection_id":89000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:36] local.INFO: Packet analysis {"connection_id":89000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:57:36] local.INFO: Extracted packet for processing {"connection_id":89000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:57:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:57:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:57:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":89000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:57:36] local.INFO: GPS data processed {"connection_id":89000,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:57:36] local.INFO: Acknowledgment sent {"connection_id":89000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:57:41] local.INFO: TCP Data received {"connection_id":89000,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:41] local.INFO: Processing buffer {"connection_id":89000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:57:41] local.INFO: Packet analysis {"connection_id":89000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:57:41] local.INFO: Extracted packet for processing {"connection_id":89000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:57:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 01:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:57:41] 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-06-02 01:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 01:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:57:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:57:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":89000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:57:41] local.INFO: GPS data processed {"connection_id":89000,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:57:41] local.INFO: Acknowledgment sent {"connection_id":89000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:58:26] local.INFO: TCP Data received {"connection_id":90464,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:58:26] local.INFO: Processing buffer {"connection_id":90464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:58:26] local.INFO: IMEI packet received {"connection_id":90464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":90464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:58:30] local.INFO: TCP Data received {"connection_id":90464,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:58:30] local.INFO: Processing buffer {"connection_id":90464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:58:30] local.INFO: IMEI packet received {"connection_id":90464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":90464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:58:37] local.INFO: TCP Data received {"connection_id":90464,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:58:37] local.INFO: Processing buffer {"connection_id":90464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:58:37] local.INFO: Packet analysis {"connection_id":90464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:58:37] local.INFO: Extracted packet for processing {"connection_id":90464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:58:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:58:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":90464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:58:37] local.INFO: GPS data processed {"connection_id":90464,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:58:37] local.INFO: Acknowledgment sent {"connection_id":90464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:58:38] local.INFO: TCP Data received {"connection_id":90464,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:58:38] local.INFO: Processing buffer {"connection_id":90464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:58:38] local.INFO: Packet analysis {"connection_id":90464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:58:38] local.INFO: Extracted packet for processing {"connection_id":90464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:58:38] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:58:38] 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-06-02 01: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-06-02 01:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:58:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:58:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":90464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:58:38] local.INFO: GPS data processed {"connection_id":90464,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:58:38] local.INFO: Acknowledgment sent {"connection_id":90464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:59:09] local.INFO: TCP Data received {"connection_id":90464,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:59:09] local.INFO: Processing buffer {"connection_id":90464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:59:09] local.INFO: Packet analysis {"connection_id":90464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:59:09] local.INFO: Extracted packet for processing {"connection_id":90464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:59:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01: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-06-02 01:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 01: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-06-02 01:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":90464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":90464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":90464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:59:09] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:59:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":90464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:59:09] local.INFO: GPS data processed {"connection_id":90464,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:59:09] local.INFO: Acknowledgment sent {"connection_id":90464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 01:59:26] local.INFO: TCP Data received {"connection_id":89261,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:59:26] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:59:26] local.INFO: IMEI packet received {"connection_id":89261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 01:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":89261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 01:59:30] local.INFO: TCP Data received {"connection_id":89261,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:59:30] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 01:59:30] local.INFO: IMEI packet received {"connection_id":89261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 01:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":89261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 01:59:31] local.INFO: TCP Data received {"connection_id":89261,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:59:31] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 01:59:31] local.INFO: Packet analysis {"connection_id":89261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:59:31] local.INFO: Extracted packet for processing {"connection_id":89261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 01:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 01:59: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-06-02 01:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 01:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 01:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 01:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 01:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 01:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 01:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 01:59: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 01:59:31] 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-06-02 01:59: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-06-02 01:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 01:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 01:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 01:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 01:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 01:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 01:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 01:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 01:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 01:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 01:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 01:59:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 01:59:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 01:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 01:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 01:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 01:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":89261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 01:59:31] local.INFO: GPS data processed {"connection_id":89261,"processed":1,"errors":0,"total":1} 
[2026-06-02 01:59:31] local.INFO: Acknowledgment sent {"connection_id":89261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:00:03] local.INFO: TCP Data received {"connection_id":89261,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:00:03] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:00:03] local.INFO: Packet analysis {"connection_id":89261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 02:00:03] local.INFO: Extracted packet for processing {"connection_id":89261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 02:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:00:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:00:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":89261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:00:03] local.INFO: GPS data processed {"connection_id":89261,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:00:03] local.INFO: Acknowledgment sent {"connection_id":89261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:00:25] local.INFO: TCP Data received {"connection_id":89393,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:00:25] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:00:25] local.INFO: IMEI packet received {"connection_id":89393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":89393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:00:30] local.INFO: TCP Data received {"connection_id":89393,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:00:30] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:00:30] local.INFO: IMEI packet received {"connection_id":89393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":89393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:00:31] local.INFO: TCP Data received {"connection_id":89393,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:00:31] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:00:31] local.INFO: Packet analysis {"connection_id":89393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 02:00:31] local.INFO: Extracted packet for processing {"connection_id":89393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 02:00:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 02:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:00:31] 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-06-02 02:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:00:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:00:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":89393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:00:31] local.INFO: GPS data processed {"connection_id":89393,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:00:31] local.INFO: Acknowledgment sent {"connection_id":89393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:01:06] local.INFO: TCP Data received {"connection_id":89393,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:01:06] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84dce2a8012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:01:06] local.INFO: Packet analysis {"connection_id":89393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 02:01:06] local.INFO: Extracted packet for processing {"connection_id":89393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84dc"} 
[2026-06-02 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768378368001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780345529000,"timestamp_ms":1780345529000,"timestamp_seconds":1780345529,"priority":1,"record_length":96,"hex_timestamp":"0000019e84dce2a8"} 
[2026-06-02 02:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:01:06] 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-06-02 02: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-06-02 02:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768378368001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768378368001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:01:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:01:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768378368001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":89393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:01:06] local.INFO: GPS data processed {"connection_id":89393,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:01:06] local.INFO: Acknowledgment sent {"connection_id":89393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:01:25] local.INFO: TCP Data received {"connection_id":90467,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:01:25] local.INFO: Processing buffer {"connection_id":90467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:01:25] local.INFO: IMEI packet received {"connection_id":90467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":90467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:01:30] local.INFO: TCP Data received {"connection_id":90466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:01:30] local.INFO: Processing buffer {"connection_id":90466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:01:30] local.INFO: IMEI packet received {"connection_id":90466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":90466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:01:30] local.INFO: TCP Data received {"connection_id":90467,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:01:30] local.INFO: Processing buffer {"connection_id":90467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:01:30] local.INFO: IMEI packet received {"connection_id":90467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":90467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:01:31] local.INFO: TCP Data received {"connection_id":90467,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:01:31] local.INFO: Processing buffer {"connection_id":90467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:01:31] local.INFO: Packet analysis {"connection_id":90467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:01:31] local.INFO: Extracted packet for processing {"connection_id":90467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:01:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:01:31] 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-06-02 02:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:01:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:01:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":90467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:01:31] local.INFO: GPS data processed {"connection_id":90467,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:01:31] local.INFO: Acknowledgment sent {"connection_id":90467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:01:59] local.INFO: TCP Data received {"connection_id":89001,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:01:59] local.INFO: Processing buffer {"connection_id":89001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:01:59] local.INFO: IMEI packet received {"connection_id":89001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":89001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:02:03] local.INFO: TCP Data received {"connection_id":90467,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:03] local.INFO: Processing buffer {"connection_id":90467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:03] local.INFO: Packet analysis {"connection_id":90467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:02:03] local.INFO: Extracted packet for processing {"connection_id":90467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:02:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":90467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:02:03] local.INFO: GPS data processed {"connection_id":90467,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:02:03] local.INFO: Acknowledgment sent {"connection_id":90467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:02:30] local.INFO: TCP Data received {"connection_id":89394,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:02:30] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:02:30] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:02:35] local.INFO: TCP Data received {"connection_id":89394,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:02:35] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:02:35] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:02:36] local.INFO: TCP Data received {"connection_id":89394,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:36] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:36] local.INFO: Packet analysis {"connection_id":89394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:02:36] local.INFO: Extracted packet for processing {"connection_id":89394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:02:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:02:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:02:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":89394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:02:36] local.INFO: GPS data processed {"connection_id":89394,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:02:36] local.INFO: Acknowledgment sent {"connection_id":89394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:02:41] local.INFO: TCP Data received {"connection_id":89394,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:41] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:02:41] local.INFO: Packet analysis {"connection_id":89394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:02:41] local.INFO: Extracted packet for processing {"connection_id":89394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:02:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:02:41] 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-06-02 02:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:02:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:02:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":89394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:02:41] local.INFO: GPS data processed {"connection_id":89394,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:02:41] local.INFO: Acknowledgment sent {"connection_id":89394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:03:25] local.INFO: TCP Data received {"connection_id":90468,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:03:25] local.INFO: Processing buffer {"connection_id":90468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:03:25] local.INFO: IMEI packet received {"connection_id":90468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":90468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:03:30] local.INFO: TCP Data received {"connection_id":90468,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:03:30] local.INFO: Processing buffer {"connection_id":90468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:03:30] local.INFO: IMEI packet received {"connection_id":90468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":90468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:03:31] local.INFO: TCP Data received {"connection_id":90468,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:03:31] local.INFO: Processing buffer {"connection_id":90468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:03:31] local.INFO: Packet analysis {"connection_id":90468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:03:31] local.INFO: Extracted packet for processing {"connection_id":90468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:03:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:03:31] 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-06-02 02:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:03:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:03:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":90468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:03:31] local.INFO: GPS data processed {"connection_id":90468,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:03:31] local.INFO: Acknowledgment sent {"connection_id":90468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:04:03] local.INFO: TCP Data received {"connection_id":90468,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:04:03] local.INFO: Processing buffer {"connection_id":90468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:04:03] local.INFO: Packet analysis {"connection_id":90468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:04:03] local.INFO: Extracted packet for processing {"connection_id":90468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:04:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:04:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":90468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:04:03] local.INFO: GPS data processed {"connection_id":90468,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:04:03] local.INFO: Acknowledgment sent {"connection_id":90468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:04:25] local.INFO: TCP Data received {"connection_id":89262,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:04:25] local.INFO: Processing buffer {"connection_id":89262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:04:25] local.INFO: IMEI packet received {"connection_id":89262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":89262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:04:30] local.INFO: TCP Data received {"connection_id":89262,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:04:30] local.INFO: Processing buffer {"connection_id":89262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:04:30] local.INFO: IMEI packet received {"connection_id":89262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":89262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:04:31] local.INFO: TCP Data received {"connection_id":89262,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:04:31] local.INFO: Processing buffer {"connection_id":89262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:04:31] local.INFO: Packet analysis {"connection_id":89262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:04:31] local.INFO: Extracted packet for processing {"connection_id":89262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:04:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:04: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-06-02 02:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:04:31] 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-06-02 02:04: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-06-02 02:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:04:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:04:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":89262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:04:31] local.INFO: GPS data processed {"connection_id":89262,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:04:31] local.INFO: Acknowledgment sent {"connection_id":89262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:05:03] local.INFO: TCP Data received {"connection_id":89262,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:05:03] local.INFO: Processing buffer {"connection_id":89262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:05:03] local.INFO: Packet analysis {"connection_id":89262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:05:03] local.INFO: Extracted packet for processing {"connection_id":89262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:05:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:05:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":89262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:05:03] local.INFO: GPS data processed {"connection_id":89262,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:05:03] local.INFO: Acknowledgment sent {"connection_id":89262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:05:25] local.INFO: TCP Data received {"connection_id":89397,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:05:25] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:05:25] local.INFO: IMEI packet received {"connection_id":89397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":89397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:05:30] local.INFO: TCP Data received {"connection_id":89397,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:05:30] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:05:30] local.INFO: IMEI packet received {"connection_id":89397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":89397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:05:31] local.INFO: TCP Data received {"connection_id":89397,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:05:31] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:05:31] local.INFO: Packet analysis {"connection_id":89397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:05:31] local.INFO: Extracted packet for processing {"connection_id":89397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:05:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:05:31] 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-06-02 02: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-06-02 02:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:05:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:05:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":89397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:05:31] local.INFO: GPS data processed {"connection_id":89397,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:05:31] local.INFO: Acknowledgment sent {"connection_id":89397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:06:03] local.INFO: TCP Data received {"connection_id":89397,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:06:03] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e17a70012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:06:03] local.INFO: Packet analysis {"connection_id":89397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:06:03] local.INFO: Extracted packet for processing {"connection_id":89397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e1"} 
[2026-06-02 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780345830000,"timestamp_ms":1780345830000,"timestamp_seconds":1780345830,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e17a70"} 
[2026-06-02 02:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768455424001,"66":25549,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:06:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:06:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768455424001,"power":25549,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":89397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:06:03] local.INFO: GPS data processed {"connection_id":89397,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:06:03] local.INFO: Acknowledgment sent {"connection_id":89397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:06:30] local.INFO: TCP Data received {"connection_id":89398,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:06:30] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:06:30] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:06:35] local.INFO: TCP Data received {"connection_id":89398,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:06:35] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:06:35] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:06:36] local.INFO: TCP Data received {"connection_id":89398,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:06:36] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:06:36] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:06:36] local.INFO: Extracted packet for processing {"connection_id":89398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:06:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:06:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:06:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":89398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:06:36] local.INFO: GPS data processed {"connection_id":89398,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:06:36] local.INFO: Acknowledgment sent {"connection_id":89398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:06:41] local.INFO: TCP Data received {"connection_id":89398,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:06:41] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:06:41] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:06:41] local.INFO: Extracted packet for processing {"connection_id":89398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:06:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:06:41] 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-06-02 02:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:06:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:06:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":89398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:06:41] local.INFO: GPS data processed {"connection_id":89398,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:06:41] local.INFO: Acknowledgment sent {"connection_id":89398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:07:20] local.INFO: TCP Data received {"connection_id":89399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:07:20] local.INFO: Processing buffer {"connection_id":89399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:07:20] local.INFO: IMEI packet received {"connection_id":89399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":89399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:07:25] local.INFO: TCP Data received {"connection_id":90469,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:07:25] local.INFO: Processing buffer {"connection_id":90469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:07:25] local.INFO: IMEI packet received {"connection_id":90469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":90469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:07:30] local.INFO: TCP Data received {"connection_id":90469,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:07:30] local.INFO: Processing buffer {"connection_id":90469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:07:30] local.INFO: IMEI packet received {"connection_id":90469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":90469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:07:31] local.INFO: TCP Data received {"connection_id":90469,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:07:31] local.INFO: Processing buffer {"connection_id":90469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:07:31] local.INFO: Packet analysis {"connection_id":90469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:07:31] local.INFO: Extracted packet for processing {"connection_id":90469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:07:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:07:31] 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-06-02 02:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:07:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:07:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":90469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:07:31] local.INFO: GPS data processed {"connection_id":90469,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:07:31] local.INFO: Acknowledgment sent {"connection_id":90469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:07:59] local.INFO: TCP Data received {"connection_id":89264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:07:59] local.INFO: Processing buffer {"connection_id":89264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:07:59] local.INFO: IMEI packet received {"connection_id":89264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":89264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:08:03] local.INFO: TCP Data received {"connection_id":90469,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:08:03] local.INFO: Processing buffer {"connection_id":90469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:08:03] local.INFO: Packet analysis {"connection_id":90469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:08:03] local.INFO: Extracted packet for processing {"connection_id":90469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:08:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":90469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:08:03] local.INFO: GPS data processed {"connection_id":90469,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:08:03] local.INFO: Acknowledgment sent {"connection_id":90469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:08:25] local.INFO: TCP Data received {"connection_id":89003,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:08:25] local.INFO: Processing buffer {"connection_id":89003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:08:25] local.INFO: IMEI packet received {"connection_id":89003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":89003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:08:30] local.INFO: TCP Data received {"connection_id":89003,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:08:30] local.INFO: Processing buffer {"connection_id":89003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:08:30] local.INFO: IMEI packet received {"connection_id":89003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":89003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:08:31] local.INFO: TCP Data received {"connection_id":89003,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:08:31] local.INFO: Processing buffer {"connection_id":89003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:08:31] local.INFO: Packet analysis {"connection_id":89003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:08:31] local.INFO: Extracted packet for processing {"connection_id":89003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:08:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:08:31] 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-06-02 02:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:08:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:08:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":89003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:08:31] local.INFO: GPS data processed {"connection_id":89003,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:08:31] local.INFO: Acknowledgment sent {"connection_id":89003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:09:03] local.INFO: TCP Data received {"connection_id":89003,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:09:03] local.INFO: Processing buffer {"connection_id":89003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:09:03] local.INFO: Packet analysis {"connection_id":89003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:09:03] local.INFO: Extracted packet for processing {"connection_id":89003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:09:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:09:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:09:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":89003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:09:03] local.INFO: GPS data processed {"connection_id":89003,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:09:03] local.INFO: Acknowledgment sent {"connection_id":89003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:09:25] local.INFO: TCP Data received {"connection_id":89265,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:09:25] local.INFO: Processing buffer {"connection_id":89265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:09:25] local.INFO: IMEI packet received {"connection_id":89265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":89265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:09:30] local.INFO: TCP Data received {"connection_id":89265,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:09:30] local.INFO: Processing buffer {"connection_id":89265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:09:30] local.INFO: IMEI packet received {"connection_id":89265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":89265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:09:31] local.INFO: TCP Data received {"connection_id":89265,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:09:31] local.INFO: Processing buffer {"connection_id":89265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:09:31] local.INFO: Packet analysis {"connection_id":89265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:09:31] local.INFO: Extracted packet for processing {"connection_id":89265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:09:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:09:31] 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-06-02 02:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:09:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:09:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":89265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:09:31] local.INFO: GPS data processed {"connection_id":89265,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:09:31] local.INFO: Acknowledgment sent {"connection_id":89265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:10:03] local.INFO: TCP Data received {"connection_id":89265,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:03] local.INFO: Processing buffer {"connection_id":89265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:03] local.INFO: Packet analysis {"connection_id":89265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:10:03] local.INFO: Extracted packet for processing {"connection_id":89265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:10:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:10:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":89265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:10:03] local.INFO: GPS data processed {"connection_id":89265,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:10:03] local.INFO: Acknowledgment sent {"connection_id":89265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:10:30] local.INFO: TCP Data received {"connection_id":90471,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:10:30] local.INFO: Processing buffer {"connection_id":90471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:10:30] local.INFO: IMEI packet received {"connection_id":90471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":90471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:10:35] local.INFO: TCP Data received {"connection_id":90471,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:10:35] local.INFO: Processing buffer {"connection_id":90471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:10:35] local.INFO: IMEI packet received {"connection_id":90471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":90471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:10:36] local.INFO: TCP Data received {"connection_id":90471,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:36] local.INFO: Processing buffer {"connection_id":90471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:36] local.INFO: Packet analysis {"connection_id":90471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:10:36] local.INFO: Extracted packet for processing {"connection_id":90471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:10:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:10:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:10:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":90471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:10:36] local.INFO: GPS data processed {"connection_id":90471,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:10:36] local.INFO: Acknowledgment sent {"connection_id":90471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:10:41] local.INFO: TCP Data received {"connection_id":90471,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:41] local.INFO: Processing buffer {"connection_id":90471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e61238012d77a34005f2a6a8001e010c29..."} 
[2026-06-02 02:10:41] local.INFO: Packet analysis {"connection_id":90471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:10:41] local.INFO: Extracted packet for processing {"connection_id":90471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e6"} 
[2026-06-02 02:10:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768532480001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780346131000,"timestamp_ms":1780346131000,"timestamp_seconds":1780346131,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e61238"} 
[2026-06-02 02:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 02:10:41] 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-06-02 02:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768532480001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768532480001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:10:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:10:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768532480001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":90471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:10:41] local.INFO: GPS data processed {"connection_id":90471,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:10:41] local.INFO: Acknowledgment sent {"connection_id":90471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:11:25] local.INFO: TCP Data received {"connection_id":90472,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:11:25] local.INFO: Processing buffer {"connection_id":90472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:11:25] local.INFO: IMEI packet received {"connection_id":90472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":90472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:11:30] local.INFO: TCP Data received {"connection_id":90472,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:11:30] local.INFO: Processing buffer {"connection_id":90472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:11:30] local.INFO: IMEI packet received {"connection_id":90472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":90472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:11:31] local.INFO: TCP Data received {"connection_id":90472,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:11:31] local.INFO: Processing buffer {"connection_id":90472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:11:31] local.INFO: Packet analysis {"connection_id":90472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:11:31] local.INFO: Extracted packet for processing {"connection_id":90472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:11:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:11:31] 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-06-02 02: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-06-02 02:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:11:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:11:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":90472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:11:31] local.INFO: GPS data processed {"connection_id":90472,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:11:31] local.INFO: Acknowledgment sent {"connection_id":90472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:12:03] local.INFO: TCP Data received {"connection_id":90472,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:12:03] local.INFO: Processing buffer {"connection_id":90472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:12:03] local.INFO: Packet analysis {"connection_id":90472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:12:03] local.INFO: Extracted packet for processing {"connection_id":90472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:12:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:12:03] 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-06-02 02: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-06-02 02:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:12:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:12:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":90472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:12:03] local.INFO: GPS data processed {"connection_id":90472,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:12:03] local.INFO: Acknowledgment sent {"connection_id":90472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:12:25] local.INFO: TCP Data received {"connection_id":90473,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:12:25] local.INFO: Processing buffer {"connection_id":90473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:12:25] local.INFO: IMEI packet received {"connection_id":90473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":90473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:12:30] local.INFO: TCP Data received {"connection_id":90473,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:12:30] local.INFO: Processing buffer {"connection_id":90473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:12:30] local.INFO: IMEI packet received {"connection_id":90473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":90473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:12:31] local.INFO: TCP Data received {"connection_id":90473,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:12:31] local.INFO: Processing buffer {"connection_id":90473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:12:31] local.INFO: Packet analysis {"connection_id":90473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:12:31] local.INFO: Extracted packet for processing {"connection_id":90473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:12:31] 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-06-02 02:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:12:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:12:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":90473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:12:31] local.INFO: GPS data processed {"connection_id":90473,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:12:31] local.INFO: Acknowledgment sent {"connection_id":90473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:13:03] local.INFO: TCP Data received {"connection_id":90473,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:13:03] local.INFO: Processing buffer {"connection_id":90473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:13:03] local.INFO: Packet analysis {"connection_id":90473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:13:03] local.INFO: Extracted packet for processing {"connection_id":90473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:13:03] 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-06-02 02: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-06-02 02:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:13:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":90473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:13:03] local.INFO: GPS data processed {"connection_id":90473,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:13:03] local.INFO: Acknowledgment sent {"connection_id":90473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:13:15] local.INFO: TCP Data received {"connection_id":89266,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:13:15] local.INFO: Processing buffer {"connection_id":89266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:13:15] local.INFO: IMEI packet received {"connection_id":89266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":89266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:13:25] local.INFO: TCP Data received {"connection_id":89401,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:13:25] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:13:25] local.INFO: IMEI packet received {"connection_id":89401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":89401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:13:30] local.INFO: TCP Data received {"connection_id":89401,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:13:30] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:13:30] local.INFO: IMEI packet received {"connection_id":89401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":89401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:13:31] local.INFO: TCP Data received {"connection_id":89401,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:13:31] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:13:31] local.INFO: Packet analysis {"connection_id":89401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:13:31] local.INFO: Extracted packet for processing {"connection_id":89401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:13:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:13: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-06-02 02:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:13: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:13:31] 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-06-02 02:13: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-06-02 02:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:13:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:13:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":89401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:13:31] local.INFO: GPS data processed {"connection_id":89401,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:13:31] local.INFO: Acknowledgment sent {"connection_id":89401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:13:59] local.INFO: TCP Data received {"connection_id":90474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:13:59] local.INFO: Processing buffer {"connection_id":90474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:13:59] local.INFO: IMEI packet received {"connection_id":90474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":90474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:14:03] local.INFO: TCP Data received {"connection_id":89401,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:14:03] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:14:03] local.INFO: Packet analysis {"connection_id":89401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:14:03] local.INFO: Extracted packet for processing {"connection_id":89401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:14:03] 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-06-02 02: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-06-02 02:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:14:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:14:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":89401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:14:03] local.INFO: GPS data processed {"connection_id":89401,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:14:03] local.INFO: Acknowledgment sent {"connection_id":89401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:14:05] local.INFO: TCP Data received {"connection_id":90474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:14:05] local.INFO: Processing buffer {"connection_id":90474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:14:05] local.INFO: IMEI packet received {"connection_id":90474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 02:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":90474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:14:07] local.INFO: TCP Data received {"connection_id":90474,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e84e3d7e8012d34cc0006aa5798000a010123..."} 
[2026-06-02 02:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84e3d7e8012d34cc0006aa5798000a010123..."} 
[2026-06-02 02:14:07] local.INFO: Processing buffer {"connection_id":90474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84e3d7e8012d34cc0006aa5798000a010123..."} 
[2026-06-02 02:14:07] local.INFO: Packet analysis {"connection_id":90474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84e3"} 
[2026-06-02 02:14:07] local.INFO: Extracted packet for processing {"connection_id":90474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84e3"} 
[2026-06-02 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111826840,"longitude_deg":75.8434816,"latitude_deg":11.182684,"altitude":10,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa5798","is_valid_coordinates":true} 
[2026-06-02 02:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768495104001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":118637605284741120,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813848897536,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:07] 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-06-02 02:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780345985000,"timestamp_ms":1780345985000,"timestamp_seconds":1780345985,"priority":1,"record_length":96,"hex_timestamp":"0000019e84e3d7e8"} 
[2026-06-02 02:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 02:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 02:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 02:14:07] 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-06-02 02:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 02:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 02:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768495104001,"66":25006,"32":206,"81":23296,"24":0,"16":118637605284741120,"45":3804415813848897536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-06-02 02:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 02:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 02:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768495104001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:14:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-02 02:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-02 02:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":118637605284741120,"km_value":118637605284741.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813848897536,"description":"Unknown IO ID 45"} 
[2026-06-02 02:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768495104001,"power":25006,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813848897536}} 
[2026-06-02 02:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":90474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:14:08] local.INFO: GPS data processed {"connection_id":90474,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:14:08] local.INFO: Acknowledgment sent {"connection_id":90474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:14:25] local.INFO: TCP Data received {"connection_id":89402,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:14:25] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:14:25] local.INFO: IMEI packet received {"connection_id":89402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":89402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:14:30] local.INFO: TCP Data received {"connection_id":89402,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:14:30] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:14:30] local.INFO: IMEI packet received {"connection_id":89402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":89402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:14:31] local.INFO: TCP Data received {"connection_id":89402,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:14:31] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:14:31] local.INFO: Packet analysis {"connection_id":89402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:14:31] local.INFO: Extracted packet for processing {"connection_id":89402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:14:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:14: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-06-02 02:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:14: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:14:31] 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-06-02 02:14: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-06-02 02:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:14:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:14:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":89402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:14:31] local.INFO: GPS data processed {"connection_id":89402,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:14:31] local.INFO: Acknowledgment sent {"connection_id":89402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:15:02] local.INFO: TCP Data received {"connection_id":89267,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:15:02] local.INFO: Processing buffer {"connection_id":89267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:15:02] local.INFO: IMEI packet received {"connection_id":89267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":89267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:15:02] local.INFO: TCP Data received {"connection_id":89402,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:02] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:02] local.INFO: Packet analysis {"connection_id":89402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:15:02] local.INFO: Extracted packet for processing {"connection_id":89402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:15:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:15:02] 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-06-02 02:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:15:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:15:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":89402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:15:02] local.INFO: GPS data processed {"connection_id":89402,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:15:02] local.INFO: Acknowledgment sent {"connection_id":89402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:15:30] local.INFO: TCP Data received {"connection_id":89006,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:15:30] local.INFO: Processing buffer {"connection_id":89006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:15:30] local.INFO: IMEI packet received {"connection_id":89006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":89006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:15:35] local.INFO: TCP Data received {"connection_id":89006,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:15:35] local.INFO: Processing buffer {"connection_id":89006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:15:35] local.INFO: IMEI packet received {"connection_id":89006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":89006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:15:36] local.INFO: TCP Data received {"connection_id":89006,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:36] local.INFO: Processing buffer {"connection_id":89006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:36] local.INFO: Packet analysis {"connection_id":89006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:15:36] local.INFO: Extracted packet for processing {"connection_id":89006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:15:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:15:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:15:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":89006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:15:36] local.INFO: GPS data processed {"connection_id":89006,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:15:36] local.INFO: Acknowledgment sent {"connection_id":89006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:15:41] local.INFO: TCP Data received {"connection_id":89006,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:41] local.INFO: Processing buffer {"connection_id":89006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84eaaa00012d77a34005f2a6a8001e010c28..."} 
[2026-06-02 02:15:41] local.INFO: Packet analysis {"connection_id":89006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:15:41] local.INFO: Extracted packet for processing {"connection_id":89006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ea"} 
[2026-06-02 02:15:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768609536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780346432000,"timestamp_ms":1780346432000,"timestamp_seconds":1780346432,"priority":1,"record_length":96,"hex_timestamp":"0000019e84eaaa00"} 
[2026-06-02 02:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768609536001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768609536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:15:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:15:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768609536001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":89006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:15:41] local.INFO: GPS data processed {"connection_id":89006,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:15:41] local.INFO: Acknowledgment sent {"connection_id":89006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:16:26] local.INFO: TCP Data received {"connection_id":89268,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:16:26] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:16:26] local.INFO: IMEI packet received {"connection_id":89268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":89268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:16:31] local.INFO: TCP Data received {"connection_id":89268,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:16:31] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:16:31] local.INFO: IMEI packet received {"connection_id":89268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":89268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:16:31] local.INFO: TCP Data received {"connection_id":89268,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:16:31] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:16:31] local.INFO: Packet analysis {"connection_id":89268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:16:31] local.INFO: Extracted packet for processing {"connection_id":89268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:16:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:16: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-06-02 02:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:16:31] 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-06-02 02:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:16:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:16:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":89268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:16:31] local.INFO: GPS data processed {"connection_id":89268,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:16:31] local.INFO: Acknowledgment sent {"connection_id":89268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:17:03] local.INFO: TCP Data received {"connection_id":89268,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:17:03] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:17:03] local.INFO: Packet analysis {"connection_id":89268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:17:03] local.INFO: Extracted packet for processing {"connection_id":89268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:17:03] 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-06-02 02:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:17:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:17:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":89268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:17:03] local.INFO: GPS data processed {"connection_id":89268,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:17:03] local.INFO: Acknowledgment sent {"connection_id":89268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:17:25] local.INFO: TCP Data received {"connection_id":89008,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:17:25] local.INFO: Processing buffer {"connection_id":89008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:17:25] local.INFO: IMEI packet received {"connection_id":89008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":89008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:17:30] local.INFO: TCP Data received {"connection_id":89008,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:17:30] local.INFO: Processing buffer {"connection_id":89008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:17:30] local.INFO: IMEI packet received {"connection_id":89008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":89008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:17:31] local.INFO: TCP Data received {"connection_id":89008,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:17:31] local.INFO: Processing buffer {"connection_id":89008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:17:31] local.INFO: Packet analysis {"connection_id":89008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:17:31] local.INFO: Extracted packet for processing {"connection_id":89008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:17:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:17: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-06-02 02:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:17: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:17:31] 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-06-02 02:17: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-06-02 02:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:17:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:17:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":89008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:17:31] local.INFO: GPS data processed {"connection_id":89008,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:17:31] local.INFO: Acknowledgment sent {"connection_id":89008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:18:02] local.INFO: TCP Data received {"connection_id":89008,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:02] local.INFO: Processing buffer {"connection_id":89008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:02] local.INFO: Packet analysis {"connection_id":89008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:18:02] local.INFO: Extracted packet for processing {"connection_id":89008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:18:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:18:03] 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-06-02 02:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:18:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":89008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:18:03] local.INFO: GPS data processed {"connection_id":89008,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:18:03] local.INFO: Acknowledgment sent {"connection_id":89008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:18:30] local.INFO: TCP Data received {"connection_id":89270,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:18:30] local.INFO: Processing buffer {"connection_id":89270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:18:30] local.INFO: IMEI packet received {"connection_id":89270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":89270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:18:35] local.INFO: TCP Data received {"connection_id":89270,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:18:35] local.INFO: Processing buffer {"connection_id":89270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:18:35] local.INFO: IMEI packet received {"connection_id":89270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":89270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:18:36] local.INFO: TCP Data received {"connection_id":89270,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:36] local.INFO: Processing buffer {"connection_id":89270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:36] local.INFO: Packet analysis {"connection_id":89270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:18:36] local.INFO: Extracted packet for processing {"connection_id":89270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:18:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:18:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:18:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":89270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:18:36] local.INFO: GPS data processed {"connection_id":89270,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:18:36] local.INFO: Acknowledgment sent {"connection_id":89270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:18:41] local.INFO: TCP Data received {"connection_id":89270,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:41] local.INFO: Processing buffer {"connection_id":89270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:18:41] local.INFO: Packet analysis {"connection_id":89270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:18:41] local.INFO: Extracted packet for processing {"connection_id":89270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:18:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:18:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:18:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":89270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:18:41] local.INFO: GPS data processed {"connection_id":89270,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:18:41] local.INFO: Acknowledgment sent {"connection_id":89270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:19:25] local.INFO: TCP Data received {"connection_id":89404,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:19:25] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:19:25] local.INFO: IMEI packet received {"connection_id":89404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":89404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:19:30] local.INFO: TCP Data received {"connection_id":89404,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:19:30] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:19:30] local.INFO: IMEI packet received {"connection_id":89404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":89404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:19:31] local.INFO: TCP Data received {"connection_id":89404,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:19:31] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:19:31] local.INFO: Packet analysis {"connection_id":89404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:19:31] local.INFO: Extracted packet for processing {"connection_id":89404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:19:31] 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-06-02 02:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:19:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:19:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":89404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:19:31] local.INFO: GPS data processed {"connection_id":89404,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:19:31] local.INFO: Acknowledgment sent {"connection_id":89404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:20:05] local.INFO: TCP Data received {"connection_id":89404,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:20:05] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:20:05] local.INFO: Packet analysis {"connection_id":89404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:20:05] local.INFO: Extracted packet for processing {"connection_id":89404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:20:05] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:20:05] 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-06-02 02:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:20:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:20:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":89404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:20:05] local.INFO: GPS data processed {"connection_id":89404,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:20:05] local.INFO: Acknowledgment sent {"connection_id":89404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:20:25] local.INFO: TCP Data received {"connection_id":89272,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:20:25] local.INFO: Processing buffer {"connection_id":89272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:20:25] local.INFO: IMEI packet received {"connection_id":89272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":89272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:20:30] local.INFO: TCP Data received {"connection_id":89271,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:20:30] local.INFO: Processing buffer {"connection_id":89271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:20:30] local.INFO: IMEI packet received {"connection_id":89271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":89271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:20:30] local.INFO: TCP Data received {"connection_id":89272,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:20:30] local.INFO: Processing buffer {"connection_id":89272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:20:30] local.INFO: IMEI packet received {"connection_id":89272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":89272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:20:31] local.INFO: TCP Data received {"connection_id":89272,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:20:31] local.INFO: Processing buffer {"connection_id":89272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:20:31] local.INFO: Packet analysis {"connection_id":89272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:20:31] local.INFO: Extracted packet for processing {"connection_id":89272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:20:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:20:31] 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-06-02 02:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:20:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:20:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":89272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:20:31] local.INFO: GPS data processed {"connection_id":89272,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:20:31] local.INFO: Acknowledgment sent {"connection_id":89272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:20:59] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:20:59] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:20:59] local.INFO: IMEI packet received {"connection_id":89405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":89405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:21:03] local.INFO: TCP Data received {"connection_id":89272,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:21:03] local.INFO: Processing buffer {"connection_id":89272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ef41c8012d77a34005f2a6a8001e010c23..."} 
[2026-06-02 02:21:03] local.INFO: Packet analysis {"connection_id":89272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:21:03] local.INFO: Extracted packet for processing {"connection_id":89272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ef"} 
[2026-06-02 02:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768686592001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780346733000,"timestamp_ms":1780346733000,"timestamp_seconds":1780346733,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ef41c8"} 
[2026-06-02 02:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:21:03] 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-06-02 02:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768686592001,"66":25604,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768686592001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:21:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768686592001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":89272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:21:03] local.INFO: GPS data processed {"connection_id":89272,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:21:03] local.INFO: Acknowledgment sent {"connection_id":89272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:21:25] local.INFO: TCP Data received {"connection_id":89273,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:21:25] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:21:25] local.INFO: IMEI packet received {"connection_id":89273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":89273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:21:30] local.INFO: TCP Data received {"connection_id":89273,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:21:30] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:21:30] local.INFO: IMEI packet received {"connection_id":89273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":89273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:21:31] local.INFO: TCP Data received {"connection_id":89273,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:21:31] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:21:31] local.INFO: Packet analysis {"connection_id":89273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:21:31] local.INFO: Extracted packet for processing {"connection_id":89273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:21:31] 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-06-02 02: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-06-02 02:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:21:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:21:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":89273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:21:31] local.INFO: GPS data processed {"connection_id":89273,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:21:31] local.INFO: Acknowledgment sent {"connection_id":89273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:22:02] local.INFO: TCP Data received {"connection_id":89273,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:02] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:02] local.INFO: Packet analysis {"connection_id":89273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:22:02] local.INFO: Extracted packet for processing {"connection_id":89273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:22:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 02:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 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-06-02 02:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:22:02] 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-06-02 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-06-02 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-06-02 02:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:22:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:22:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":89273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:22:02] local.INFO: GPS data processed {"connection_id":89273,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:22:02] local.INFO: Acknowledgment sent {"connection_id":89273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:22:30] local.INFO: TCP Data received {"connection_id":89009,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:22:30] local.INFO: Processing buffer {"connection_id":89009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:22:30] local.INFO: IMEI packet received {"connection_id":89009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":89009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:22:35] local.INFO: TCP Data received {"connection_id":89009,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:22:35] local.INFO: Processing buffer {"connection_id":89009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:22:35] local.INFO: IMEI packet received {"connection_id":89009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":89009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:22:36] local.INFO: TCP Data received {"connection_id":89009,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:36] local.INFO: Processing buffer {"connection_id":89009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:36] local.INFO: Packet analysis {"connection_id":89009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:22:36] local.INFO: Extracted packet for processing {"connection_id":89009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:22:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:22:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:22:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":89009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:22:36] local.INFO: GPS data processed {"connection_id":89009,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:22:36] local.INFO: Acknowledgment sent {"connection_id":89009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:22:41] local.INFO: TCP Data received {"connection_id":89009,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:41] local.INFO: Processing buffer {"connection_id":89009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:22:41] local.INFO: Packet analysis {"connection_id":89009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:22:41] local.INFO: Extracted packet for processing {"connection_id":89009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:22:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:22:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:22:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":89009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:22:41] local.INFO: GPS data processed {"connection_id":89009,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:22:41] local.INFO: Acknowledgment sent {"connection_id":89009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:23:25] local.INFO: TCP Data received {"connection_id":89275,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:23:25] local.INFO: Processing buffer {"connection_id":89275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:23:25] local.INFO: IMEI packet received {"connection_id":89275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":89275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:23:30] local.INFO: TCP Data received {"connection_id":89275,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:23:30] local.INFO: Processing buffer {"connection_id":89275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:23:30] local.INFO: IMEI packet received {"connection_id":89275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":89275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:23:31] local.INFO: TCP Data received {"connection_id":89275,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:23:31] local.INFO: Processing buffer {"connection_id":89275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:23:31] local.INFO: Packet analysis {"connection_id":89275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:23:31] local.INFO: Extracted packet for processing {"connection_id":89275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:23:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:23:31] 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-06-02 02:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:23:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:23:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":89275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:23:31] local.INFO: GPS data processed {"connection_id":89275,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:23:31] local.INFO: Acknowledgment sent {"connection_id":89275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:24:02] local.INFO: TCP Data received {"connection_id":89275,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:24:02] local.INFO: Processing buffer {"connection_id":89275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:24:02] local.INFO: Packet analysis {"connection_id":89275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:24:02] local.INFO: Extracted packet for processing {"connection_id":89275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:24:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:24:02] 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-06-02 02:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:24:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:24:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":89275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:24:02] local.INFO: GPS data processed {"connection_id":89275,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:24:02] local.INFO: Acknowledgment sent {"connection_id":89275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:24:25] local.INFO: TCP Data received {"connection_id":89407,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:24:25] local.INFO: Processing buffer {"connection_id":89407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:24:25] local.INFO: IMEI packet received {"connection_id":89407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":89407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:24:30] local.INFO: TCP Data received {"connection_id":89407,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:24:30] local.INFO: Processing buffer {"connection_id":89407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:24:30] local.INFO: IMEI packet received {"connection_id":89407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":89407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:24:31] local.INFO: TCP Data received {"connection_id":89407,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:24:31] local.INFO: Processing buffer {"connection_id":89407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:24:31] local.INFO: Packet analysis {"connection_id":89407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:24:31] local.INFO: Extracted packet for processing {"connection_id":89407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:24:31] 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-06-02 02: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-06-02 02:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:24:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":89407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:24:31] local.INFO: GPS data processed {"connection_id":89407,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:24:31] local.INFO: Acknowledgment sent {"connection_id":89407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:25:02] local.INFO: TCP Data received {"connection_id":89407,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:25:02] local.INFO: Processing buffer {"connection_id":89407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:25:02] local.INFO: Packet analysis {"connection_id":89407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:25:02] local.INFO: Extracted packet for processing {"connection_id":89407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:25:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 02:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 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-06-02 02:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:25:02] 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-06-02 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-06-02 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-06-02 02:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:25:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:25:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":89407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:25:02] local.INFO: GPS data processed {"connection_id":89407,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:25:02] local.INFO: Acknowledgment sent {"connection_id":89407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:25:25] local.INFO: TCP Data received {"connection_id":90477,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:25:25] local.INFO: Processing buffer {"connection_id":90477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:25:25] local.INFO: IMEI packet received {"connection_id":90477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":90477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:25:30] local.INFO: TCP Data received {"connection_id":90477,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:25:30] local.INFO: Processing buffer {"connection_id":90477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:25:30] local.INFO: IMEI packet received {"connection_id":90477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":90477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:25:31] local.INFO: TCP Data received {"connection_id":90477,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:25:31] local.INFO: Processing buffer {"connection_id":90477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:25:31] local.INFO: Packet analysis {"connection_id":90477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:25:31] local.INFO: Extracted packet for processing {"connection_id":90477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:25: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-06-02 02:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:25: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:25:31] 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-06-02 02:25: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-06-02 02:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:25:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:25:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":90477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:25:31] local.INFO: GPS data processed {"connection_id":90477,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:25:31] local.INFO: Acknowledgment sent {"connection_id":90477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:26:03] local.INFO: TCP Data received {"connection_id":90477,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:26:03] local.INFO: Processing buffer {"connection_id":90477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f3d990012d77a34005f2a6a8001e010c27..."} 
[2026-06-02 02:26:03] local.INFO: Packet analysis {"connection_id":90477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:26:03] local.INFO: Extracted packet for processing {"connection_id":90477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f3"} 
[2026-06-02 02:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768763648001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780347034000,"timestamp_ms":1780347034000,"timestamp_seconds":1780347034,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f3d990"} 
[2026-06-02 02:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 02:26:03] 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-06-02 02:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768763648001,"66":25071,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768763648001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:26:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:26:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768763648001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":90477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:26:03] local.INFO: GPS data processed {"connection_id":90477,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:26:03] local.INFO: Acknowledgment sent {"connection_id":90477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:26:25] local.INFO: TCP Data received {"connection_id":89409,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:26:25] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:26:25] local.INFO: IMEI packet received {"connection_id":89409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":89409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:26:29] local.INFO: TCP Data received {"connection_id":89408,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:26:29] local.INFO: Processing buffer {"connection_id":89408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:26:29] local.INFO: IMEI packet received {"connection_id":89408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":89408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:26:30] local.INFO: TCP Data received {"connection_id":89409,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:26:30] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:26:30] local.INFO: IMEI packet received {"connection_id":89409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":89409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:26:31] local.INFO: TCP Data received {"connection_id":89409,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:26:31] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:26:31] local.INFO: Packet analysis {"connection_id":89409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:26:31] local.INFO: Extracted packet for processing {"connection_id":89409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:26:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:26:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":89409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:26:31] local.INFO: GPS data processed {"connection_id":89409,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:26:31] local.INFO: Acknowledgment sent {"connection_id":89409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:26:59] local.INFO: TCP Data received {"connection_id":89410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:26:59] local.INFO: Processing buffer {"connection_id":89410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:26:59] local.INFO: IMEI packet received {"connection_id":89410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":89410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:27:02] local.INFO: TCP Data received {"connection_id":89409,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:27:02] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:27:02] local.INFO: Packet analysis {"connection_id":89409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:27:02] local.INFO: Extracted packet for processing {"connection_id":89409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:27:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:27:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:27:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":89409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:27:02] local.INFO: GPS data processed {"connection_id":89409,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:27:02] local.INFO: Acknowledgment sent {"connection_id":89409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:27:25] local.INFO: TCP Data received {"connection_id":89277,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:27:25] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:27:25] local.INFO: IMEI packet received {"connection_id":89277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":89277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:27:30] local.INFO: TCP Data received {"connection_id":89277,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:27:30] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:27:30] local.INFO: IMEI packet received {"connection_id":89277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":89277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:27:31] local.INFO: TCP Data received {"connection_id":89277,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:27:31] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:27:31] local.INFO: Packet analysis {"connection_id":89277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:27:31] local.INFO: Extracted packet for processing {"connection_id":89277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:27:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:27: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-06-02 02:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:27: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:27: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-06-02 02:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:27:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:27:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":89277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:27:31] local.INFO: GPS data processed {"connection_id":89277,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:27:31] local.INFO: Acknowledgment sent {"connection_id":89277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:28:02] local.INFO: TCP Data received {"connection_id":89277,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:28:02] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:28:02] local.INFO: Packet analysis {"connection_id":89277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:28:02] local.INFO: Extracted packet for processing {"connection_id":89277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:28:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 02:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 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-06-02 02:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 02:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:28:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:28:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":89277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:28:02] local.INFO: GPS data processed {"connection_id":89277,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:28:02] local.INFO: Acknowledgment sent {"connection_id":89277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:28:25] local.INFO: TCP Data received {"connection_id":89278,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:28:25] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:28:25] local.INFO: IMEI packet received {"connection_id":89278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":89278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:28:30] local.INFO: TCP Data received {"connection_id":89278,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:28:30] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:28:30] local.INFO: IMEI packet received {"connection_id":89278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":89278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:28:31] local.INFO: TCP Data received {"connection_id":89278,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:28:31] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:28:31] local.INFO: Packet analysis {"connection_id":89278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:28:31] local.INFO: Extracted packet for processing {"connection_id":89278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:28:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:28:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:28:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":89278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:28:31] local.INFO: GPS data processed {"connection_id":89278,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:28:31] local.INFO: Acknowledgment sent {"connection_id":89278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:29:02] local.INFO: TCP Data received {"connection_id":89278,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:29:02] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:29:02] local.INFO: Packet analysis {"connection_id":89278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:29:02] local.INFO: Extracted packet for processing {"connection_id":89278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:29:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:29:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:29:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":89278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:29:02] local.INFO: GPS data processed {"connection_id":89278,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:29:02] local.INFO: Acknowledgment sent {"connection_id":89278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:29:25] local.INFO: TCP Data received {"connection_id":90479,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:29:25] local.INFO: Processing buffer {"connection_id":90479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:29:25] local.INFO: IMEI packet received {"connection_id":90479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":90479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:29:30] local.INFO: TCP Data received {"connection_id":90479,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:29:30] local.INFO: Processing buffer {"connection_id":90479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:29:30] local.INFO: IMEI packet received {"connection_id":90479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":90479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:29:31] local.INFO: TCP Data received {"connection_id":90479,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:29:31] local.INFO: Processing buffer {"connection_id":90479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:29:31] local.INFO: Packet analysis {"connection_id":90479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:29:31] local.INFO: Extracted packet for processing {"connection_id":90479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:29:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:29:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:29:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":90479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:29:31] local.INFO: GPS data processed {"connection_id":90479,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:29:31] local.INFO: Acknowledgment sent {"connection_id":90479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:30:02] local.INFO: TCP Data received {"connection_id":90479,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:02] local.INFO: Processing buffer {"connection_id":90479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:02] local.INFO: Packet analysis {"connection_id":90479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:30:02] local.INFO: Extracted packet for processing {"connection_id":90479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:30:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 02:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 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-06-02 02:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 02:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:30:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:30:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":90479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:30:02] local.INFO: GPS data processed {"connection_id":90479,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:30:02] local.INFO: Acknowledgment sent {"connection_id":90479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:30:30] local.INFO: TCP Data received {"connection_id":90481,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:30:30] local.INFO: Processing buffer {"connection_id":90481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:30:30] local.INFO: IMEI packet received {"connection_id":90481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":90481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:30:35] local.INFO: TCP Data received {"connection_id":90481,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:30:35] local.INFO: Processing buffer {"connection_id":90481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:30:35] local.INFO: IMEI packet received {"connection_id":90481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":90481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:30:36] local.INFO: TCP Data received {"connection_id":90481,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:36] local.INFO: Processing buffer {"connection_id":90481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:36] local.INFO: Packet analysis {"connection_id":90481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:30:36] local.INFO: Extracted packet for processing {"connection_id":90481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:30:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:30:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:30:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":90481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:30:36] local.INFO: GPS data processed {"connection_id":90481,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:30:36] local.INFO: Acknowledgment sent {"connection_id":90481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:30:41] local.INFO: TCP Data received {"connection_id":90481,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:41] local.INFO: Processing buffer {"connection_id":90481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84f87158012d77a34005f2a6a8001e010c26..."} 
[2026-06-02 02:30:41] local.INFO: Packet analysis {"connection_id":90481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:30:41] local.INFO: Extracted packet for processing {"connection_id":90481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84f8"} 
[2026-06-02 02:30:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":30,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768840704001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780347335000,"timestamp_ms":1780347335000,"timestamp_seconds":1780347335,"priority":1,"record_length":96,"hex_timestamp":"0000019e84f87158"} 
[2026-06-02 02:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 02:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768840704001,"66":25517,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768840704001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:30:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:30:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768840704001,"power":25517,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":90481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:30:41] local.INFO: GPS data processed {"connection_id":90481,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:30:41] local.INFO: Acknowledgment sent {"connection_id":90481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:31:25] local.INFO: TCP Data received {"connection_id":89411,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:31:25] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:31:25] local.INFO: IMEI packet received {"connection_id":89411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":89411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:31:30] local.INFO: TCP Data received {"connection_id":89411,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:31:30] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:31:30] local.INFO: IMEI packet received {"connection_id":89411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":89411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:31:31] local.INFO: TCP Data received {"connection_id":89411,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:31:31] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:31:31] local.INFO: Packet analysis {"connection_id":89411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84fd"} 
[2026-06-02 02:31:31] local.INFO: Extracted packet for processing {"connection_id":89411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84fd"} 
[2026-06-02 02:31:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":35,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768917760001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347636000,"timestamp_ms":1780347636000,"timestamp_seconds":1780347636,"priority":1,"record_length":96,"hex_timestamp":"0000019e84fd0920"} 
[2026-06-02 02:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 02:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768917760001,"66":25582,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768917760001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:31:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:31:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768917760001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":89411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:31:31] local.INFO: GPS data processed {"connection_id":89411,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:31:31] local.INFO: Acknowledgment sent {"connection_id":89411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:32:02] local.INFO: TCP Data received {"connection_id":89411,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:32:02] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:32:02] local.INFO: Packet analysis {"connection_id":89411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84fd"} 
[2026-06-02 02:32:02] local.INFO: Extracted packet for processing {"connection_id":89411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84fd"} 
[2026-06-02 02:32:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":35,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768917760001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347636000,"timestamp_ms":1780347636000,"timestamp_seconds":1780347636,"priority":1,"record_length":96,"hex_timestamp":"0000019e84fd0920"} 
[2026-06-02 02:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 02:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768917760001,"66":25582,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768917760001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:32:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:32:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768917760001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":89411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:32:02] local.INFO: GPS data processed {"connection_id":89411,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:32:02] local.INFO: Acknowledgment sent {"connection_id":89411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:32:24] local.INFO: TCP Data received {"connection_id":89011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:32:24] local.INFO: Processing buffer {"connection_id":89011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:32:24] local.INFO: IMEI packet received {"connection_id":89011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":89011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:32:25] local.INFO: TCP Data received {"connection_id":90482,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:32:25] local.INFO: Processing buffer {"connection_id":90482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:32:25] local.INFO: IMEI packet received {"connection_id":90482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":90482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:32:30] local.INFO: TCP Data received {"connection_id":90482,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:32:30] local.INFO: Processing buffer {"connection_id":90482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:32:30] local.INFO: IMEI packet received {"connection_id":90482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":90482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:32:31] local.INFO: TCP Data received {"connection_id":90482,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:32:31] local.INFO: Processing buffer {"connection_id":90482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84fd0920012d77a34005f2a6a80023010c25..."} 
[2026-06-02 02:32:31] local.INFO: Packet analysis {"connection_id":90482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84fd"} 
[2026-06-02 02:32:31] local.INFO: Extracted packet for processing {"connection_id":90482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84fd"} 
[2026-06-02 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":35,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768917760001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347636000,"timestamp_ms":1780347636000,"timestamp_seconds":1780347636,"priority":1,"record_length":96,"hex_timestamp":"0000019e84fd0920"} 
[2026-06-02 02:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 02:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768917760001,"66":25582,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768917760001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:32:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:32:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768917760001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":90482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:32:31] local.INFO: GPS data processed {"connection_id":90482,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:32:31] local.INFO: Acknowledgment sent {"connection_id":90482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:33:02] local.INFO: TCP Data received {"connection_id":90482,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84fe8020012d77a34005f2a6a80023010c24..."} 
[2026-06-02 02:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84fe8020012d77a34005f2a6a80023010c24..."} 
[2026-06-02 02:33:02] local.INFO: Processing buffer {"connection_id":90482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84fe8020012d77a34005f2a6a80023010c24..."} 
[2026-06-02 02:33:02] local.INFO: Packet analysis {"connection_id":90482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84fe"} 
[2026-06-02 02:33:02] local.INFO: Extracted packet for processing {"connection_id":90482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84fe"} 
[2026-06-02 02:33:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788456,"longitude_deg":76.2815296,"latitude_deg":9.9788456,"altitude":35,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a6a8","is_valid_coordinates":true} 
[2026-06-02 02:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455768994816001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347732000,"timestamp_ms":1780347732000,"timestamp_seconds":1780347732,"priority":1,"record_length":96,"hex_timestamp":"0000019e84fe8020"} 
[2026-06-02 02:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 02:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 02:33:02] 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-06-02 02:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455768994816001,"66":25582,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455768994816001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:33:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:33:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455768994816001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":90482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:33:03] local.INFO: GPS data processed {"connection_id":90482,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:33:03] local.INFO: Acknowledgment sent {"connection_id":90482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:33:05] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:33:05] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:33:05] local.INFO: IMEI packet received {"connection_id":89412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":89412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:33:30] local.INFO: TCP Data received {"connection_id":89280,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:33:30] local.INFO: Processing buffer {"connection_id":89280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:33:30] local.INFO: IMEI packet received {"connection_id":89280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":89280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:33:35] local.INFO: TCP Data received {"connection_id":89280,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:33:35] local.INFO: Processing buffer {"connection_id":89280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:33:35] local.INFO: IMEI packet received {"connection_id":89280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":89280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:33:54] local.INFO: TCP Data received {"connection_id":89280,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84fe9790012d779f4005f2a5380023011f25..."} 
[2026-06-02 02:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84fe9790012d779f4005f2a5380023011f25..."} 
[2026-06-02 02:33:54] local.INFO: Processing buffer {"connection_id":89280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84fe9790012d779f4005f2a5380023011f25..."} 
[2026-06-02 02:33:54] local.INFO: Packet analysis {"connection_id":89280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84fe"} 
[2026-06-02 02:33:54] local.INFO: Extracted packet for processing {"connection_id":89280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84fe"} 
[2026-06-02 02:33:54] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788088,"longitude_deg":76.2814272,"latitude_deg":9.9788088,"altitude":35,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a538","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769019392001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007283712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780347738000,"timestamp_ms":1780347738000,"timestamp_seconds":1780347738,"priority":1,"record_length":96,"hex_timestamp":"0000019e84fe9790"} 
[2026-06-02 02:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:33: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-06-02 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 02:33: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-06-02 02: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-06-02 02:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769019392001,"66":27800,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8620804506007283712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769019392001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:33:54] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:33:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007283712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769019392001,"power":27800,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007283712}} 
[2026-06-02 02:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":89280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:33:54] local.INFO: GPS data processed {"connection_id":89280,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:33:54] local.INFO: Acknowledgment sent {"connection_id":89280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:34:22] local.INFO: TCP Data received {"connection_id":89280,"ip":"117.224.195.65","data_length":1360,"data_hex":"000000000000030f8e0a0000019e84fee998012d779f4005f2a5380023011f25..."} 
[2026-06-02 02:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89280,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019e84fee998012d779f4005f2a5380023011f25..."} 
[2026-06-02 02:34:22] local.INFO: Processing buffer {"connection_id":89280,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019e84fee998012d779f4005f2a5380023011f25..."} 
[2026-06-02 02:34:22] local.INFO: Packet analysis {"connection_id":89280,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019e84fe"} 
[2026-06-02 02:34:22] local.INFO: Extracted packet for processing {"connection_id":89280,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e84fe"} 
[2026-06-02 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788088,"longitude_deg":76.2814272,"latitude_deg":9.9788088,"altitude":35,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a538","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769020928001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100346880,"note":"Value kept but may cause issues"} 
[2026-06-02 02:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780347759000,"timestamp_ms":1780347759000,"timestamp_seconds":1780347759,"priority":1,"record_length":96,"hex_timestamp":"0000019e84fee998"} 
[2026-06-02 02:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02: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-06-02 02: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-06-02 02:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":89280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":89280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":89280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769020928001,"66":27397,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8619678606100346880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769020928001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100346880,"description":"Unknown IO ID 45"} 
[2026-06-02 02:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769020928001,"power":27397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100346880}} 
[2026-06-02 02:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":89280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:34:22] local.INFO: GPS data processed {"connection_id":89280,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:34:22] local.INFO: Acknowledgment sent {"connection_id":89280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:34:22] local.INFO: Packet analysis {"connection_id":89280,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e84ff"} 
[2026-06-02 02:34:22] local.INFO: Incomplete packet, waiting for more data {"connection_id":89280,"needed":795,"available":565} 
[2026-06-02 02:34:22] local.INFO: TCP Data received {"connection_id":89280,"ip":"117.224.195.65","data_length":230,"data_hex":"2d77a34005f2a6a8001e010c2300000000000a000400ef0000715b00f0000045..."} 
[2026-06-02 02:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89280,"packet_length":230,"packet_hex":"2d77a34005f2a6a8001e010c2300000000000a000400ef0000715b00f0000045..."} 
[2026-06-02 02:34:22] local.INFO: Processing buffer {"connection_id":89280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ff3ba0012d779f4005f2a5380023011f24..."} 
[2026-06-02 02:34:22] local.INFO: Packet analysis {"connection_id":89280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ff"} 
[2026-06-02 02:34:22] local.INFO: Extracted packet for processing {"connection_id":89280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ff"} 
[2026-06-02 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788088,"longitude_deg":76.2814272,"latitude_deg":9.9788088,"altitude":35,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a538","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769026304001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275016759902208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100346880,"note":"Value kept but may cause issues"} 
[2026-06-02 02:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780347780000,"timestamp_ms":1780347780000,"timestamp_seconds":1780347780,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ff3ba0"} 
[2026-06-02 02:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 02:34: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-06-02 02: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-06-02 02:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":89280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":89280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":89280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769026304001,"66":27397,"133":206,"9":24832,"24":0,"16":304275016759902208,"45":8619678606100346880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769026304001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275016759902208,"km_value":304275016759902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100346880,"description":"Unknown IO ID 45"} 
[2026-06-02 02:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769026304001,"power":27397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100346880}} 
[2026-06-02 02:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":89280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:34:22] local.INFO: GPS data processed {"connection_id":89280,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:34:22] local.INFO: Acknowledgment sent {"connection_id":89280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:34:25] local.INFO: TCP Data received {"connection_id":90484,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:34:25] local.INFO: Processing buffer {"connection_id":90484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:34:25] local.INFO: IMEI packet received {"connection_id":90484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":90484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:34:30] local.INFO: TCP Data received {"connection_id":90484,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:34:30] local.INFO: Processing buffer {"connection_id":90484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:34:30] local.INFO: IMEI packet received {"connection_id":90484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":90484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:34:31] local.INFO: TCP Data received {"connection_id":90484,"ip":"117.224.195.65","data_length":93,"data_hex":"00000000000000518e010000019e84ff4370012d77a0c005f2a770001a005025..."} 
[2026-06-02 02:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90484,"packet_length":93,"packet_hex":"00000000000000518e010000019e84ff4370012d77a0c005f2a770001a005025..."} 
[2026-06-02 02:34:31] local.INFO: Processing buffer {"connection_id":90484,"buffer_length":93,"buffer_hex":"00000000000000518e010000019e84ff4370012d77a0c005f2a770001a005025..."} 
[2026-06-02 02:34:31] local.INFO: Packet analysis {"connection_id":90484,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019e84ff"} 
[2026-06-02 02:34:31] local.INFO: Extracted packet for processing {"connection_id":90484,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019e84ff"} 
[2026-06-02 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788656,"longitude_deg":76.2814656,"latitude_deg":9.9788656,"altitude":26,"angle":80,"satellites":37,"speed":3,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a770","is_valid_coordinates":true} 
[2026-06-02 02:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-02 02:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:34:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:34:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 02:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90484,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 02:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90484,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-02 02:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90484,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-02 02:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 02:34:31] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 02:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":90484,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 02:34:31] local.ERROR: GPS data processing failed {"connection_id":90484,"error":"No valid data to process"} 
[2026-06-02 02:34:31] local.INFO: Acknowledgment sent {"connection_id":90484,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 02:35:02] local.INFO: TCP Data received {"connection_id":90484,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ff56f8012d77a40005f2a800001b003e25..."} 
[2026-06-02 02:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ff56f8012d77a40005f2a800001b003e25..."} 
[2026-06-02 02:35:02] local.INFO: Processing buffer {"connection_id":90484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ff56f8012d77a40005f2a800001b003e25..."} 
[2026-06-02 02:35:02] local.INFO: Packet analysis {"connection_id":90484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ff"} 
[2026-06-02 02:35:02] local.INFO: Extracted packet for processing {"connection_id":90484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ff"} 
[2026-06-02 02:35:02] local.INFO: GPS Element Parsed {"raw_longitude":762815488,"raw_latitude":99788800,"longitude_deg":76.2815488,"latitude_deg":9.97888,"altitude":27,"angle":62,"satellites":37,"speed":5,"hex_longitude":"2d77a400","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-06-02 02:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769032192001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275094069313536,"note":"Value kept but may cause issues"} 
[2026-06-02 02:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565558272,"note":"Value kept but may cause issues"} 
[2026-06-02 02:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780347787000,"timestamp_ms":1780347787000,"timestamp_seconds":1780347787,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ff56f8"} 
[2026-06-02 02:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:35: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-06-02 02:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 02:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769032192001,"66":27332,"133":206,"9":24832,"24":5,"16":304275094069313536,"45":8620100818565558272},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769032192001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:35:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:35:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275094069313536,"km_value":304275094069313.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565558272,"description":"Unknown IO ID 45"} 
[2026-06-02 02:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769032192001,"power":27332,"unknown_133":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8620100818565558272}} 
[2026-06-02 02:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":90484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:35:02] local.INFO: GPS data processed {"connection_id":90484,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:35:02] local.INFO: Acknowledgment sent {"connection_id":90484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:35:23] local.INFO: TCP Data received {"connection_id":89413,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:23] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:23] local.INFO: IMEI packet received {"connection_id":89413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":89413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:35:25] local.INFO: TCP Data received {"connection_id":89413,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:25] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:25] local.INFO: IMEI packet received {"connection_id":89413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":89413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:35:30] local.INFO: TCP Data received {"connection_id":89413,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:30] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:35:30] local.INFO: IMEI packet received {"connection_id":89413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":89413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:35:31] local.INFO: TCP Data received {"connection_id":89413,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e84ff5ae0012d77a48005f2a818001a002f25..."} 
[2026-06-02 02:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e84ff5ae0012d77a48005f2a818001a002f25..."} 
[2026-06-02 02:35:31] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e84ff5ae0012d77a48005f2a818001a002f25..."} 
[2026-06-02 02:35:31] local.INFO: Packet analysis {"connection_id":89413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e84ff"} 
[2026-06-02 02:35:31] local.INFO: Extracted packet for processing {"connection_id":89413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e84ff"} 
[2026-06-02 02:35:31] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99788824,"longitude_deg":76.2815616,"latitude_deg":9.9788824,"altitude":26,"angle":47,"satellites":37,"speed":5,"hex_longitude":"2d77a480","hex_latitude":"05f2a818","is_valid_coordinates":true} 
[2026-06-02 02:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769033472001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304275098364280832,"note":"Value kept but may cause issues"} 
[2026-06-02 02:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621015612239904768,"note":"Value kept but may cause issues"} 
[2026-06-02 02:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780347788000,"timestamp_ms":1780347788000,"timestamp_seconds":1780347788,"priority":1,"record_length":96,"hex_timestamp":"0000019e84ff5ae0"} 
[2026-06-02 02:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:35: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-06-02 02:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 02:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:35: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-06-02 02:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769033472001,"66":27267,"133":206,"9":24832,"24":5,"16":304275098364280832,"45":8621015612239904768},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-06-02 02:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769033472001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:35:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 02:35:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304275098364280832,"km_value":304275098364280.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621015612239904768,"description":"Unknown IO ID 45"} 
[2026-06-02 02:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769033472001,"power":27267,"unknown_133":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621015612239904768}} 
[2026-06-02 02:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":89413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:35:31] local.INFO: GPS data processed {"connection_id":89413,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:35:31] local.INFO: Acknowledgment sent {"connection_id":89413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:36:04] local.INFO: TCP Data received {"connection_id":89413,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850152c8012d77784005f3aed00006002f27..."} 
[2026-06-02 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850152c8012d77784005f3aed00006002f27..."} 
[2026-06-02 02:36:04] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850152c8012d77784005f3aed00006002f27..."} 
[2026-06-02 02:36:04] local.INFO: Packet analysis {"connection_id":89413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8501"} 
[2026-06-02 02:36:04] local.INFO: Extracted packet for processing {"connection_id":89413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8501"} 
[2026-06-02 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":762804288,"raw_latitude":99856080,"longitude_deg":76.2804288,"latitude_deg":9.985608,"altitude":6,"angle":47,"satellites":39,"speed":15,"hex_longitude":"2d777840","hex_latitude":"05f3aed0","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769066496001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304278426963935232,"note":"Value kept but may cause issues"} 
[2026-06-02 02:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608419607049244672,"note":"Value kept but may cause issues"} 
[2026-06-02 02:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780347917000,"timestamp_ms":1780347917000,"timestamp_seconds":1780347917,"priority":1,"record_length":96,"hex_timestamp":"0000019e850152c8"} 
[2026-06-02 02:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 02:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769066496001,"66":27017,"104":206,"9":24832,"24":15,"16":304278426963935232,"45":8608419607049244672},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-06-02 02:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769066496001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:36:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-02 02:36:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304278426963935232,"km_value":304278426963935.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608419607049244672,"description":"Unknown IO ID 45"} 
[2026-06-02 02:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769066496001,"power":27017,"unknown_104":206,"unknown_9":24832,"ignition":15,"odometer":null,"unknown_45":8608419607049244672}} 
[2026-06-02 02:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":89413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:36:04] local.INFO: GPS data processed {"connection_id":89413,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:36:04] local.INFO: Acknowledgment sent {"connection_id":89413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:36:35] local.INFO: TCP Data received {"connection_id":89012,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:36:35] local.INFO: Processing buffer {"connection_id":89012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:36:35] local.INFO: IMEI packet received {"connection_id":89012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":89012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:36:39] local.INFO: TCP Data received {"connection_id":89012,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:36:39] local.INFO: Processing buffer {"connection_id":89012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:36:39] local.INFO: IMEI packet received {"connection_id":89012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":89012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:36:40] local.INFO: TCP Data received {"connection_id":89012,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850156b0012d77794005f3afd00006004127..."} 
[2026-06-02 02:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850156b0012d77794005f3afd00006004127..."} 
[2026-06-02 02:36:40] local.INFO: Processing buffer {"connection_id":89012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850156b0012d77794005f3afd00006004127..."} 
[2026-06-02 02:36:40] local.INFO: Packet analysis {"connection_id":89012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8501"} 
[2026-06-02 02:36:40] local.INFO: Extracted packet for processing {"connection_id":89012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8501"} 
[2026-06-02 02:36:40] local.INFO: GPS Element Parsed {"raw_longitude":762804544,"raw_latitude":99856336,"longitude_deg":76.2804544,"latitude_deg":9.9856336,"altitude":6,"angle":65,"satellites":39,"speed":16,"hex_longitude":"2d777940","hex_latitude":"05f3afd0","is_valid_coordinates":true} 
[2026-06-02 02:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769066752001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304278444143804416,"note":"Value kept but may cause issues"} 
[2026-06-02 02:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608701082026037248,"note":"Value kept but may cause issues"} 
[2026-06-02 02:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780347918000,"timestamp_ms":1780347918000,"timestamp_seconds":1780347918,"priority":1,"record_length":96,"hex_timestamp":"0000019e850156b0"} 
[2026-06-02 02:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:36: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-06-02 02:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 02:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769066752001,"66":27213,"104":206,"9":24832,"24":16,"16":304278444143804416,"45":8608701082026037248},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-06-02 02:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769066752001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:36:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-02 02:36:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304278444143804416,"km_value":304278444143804.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608701082026037248,"description":"Unknown IO ID 45"} 
[2026-06-02 02:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769066752001,"power":27213,"unknown_104":206,"unknown_9":24832,"ignition":16,"odometer":null,"unknown_45":8608701082026037248}} 
[2026-06-02 02:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":89012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:36:40] local.INFO: GPS data processed {"connection_id":89012,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:36:40] local.INFO: Acknowledgment sent {"connection_id":89012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:37:50] local.INFO: TCP Data received {"connection_id":90486,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:37:50] local.INFO: Processing buffer {"connection_id":90486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:37:50] local.INFO: IMEI packet received {"connection_id":90486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":90486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:37:54] local.INFO: TCP Data received {"connection_id":90486,"ip":"117.224.195.65","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90486,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:37:54] local.INFO: Processing buffer {"connection_id":90486,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:37:54] local.INFO: IMEI packet received {"connection_id":90486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":90486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:37:55] local.INFO: TCP Data received {"connection_id":90486,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8502c9c8012d78820005f468d80017002225..."} 
[2026-06-02 02:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8502c9c8012d78820005f468d80017002225..."} 
[2026-06-02 02:37:55] local.INFO: Processing buffer {"connection_id":90486,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:37:55] local.INFO: IMEI packet received {"connection_id":90486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":90486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:37:57] local.INFO: TCP Data received {"connection_id":90486,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8502dd50012d788e0005f477b80012002e24..."} 
[2026-06-02 02:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8502dd50012d788e0005f477b80012002e24..."} 
[2026-06-02 02:37:57] local.INFO: Processing buffer {"connection_id":90486,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 02:37:57] local.INFO: IMEI packet received {"connection_id":90486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":90486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:37:58] local.INFO: TCP Data received {"connection_id":90486,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85030078012d78aac005f48ea80009003224..."} 
[2026-06-02 02:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85030078012d78aac005f48ea80009003224..."} 
[2026-06-02 02:37:58] local.INFO: Processing buffer {"connection_id":90486,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019e8502c9c8012d78820005f468d80017002225..."} 
[2026-06-02 02:37:58] local.INFO: Packet analysis {"connection_id":90486,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019e8502"} 
[2026-06-02 02:37:58] local.INFO: Extracted packet for processing {"connection_id":90486,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8502"} 
[2026-06-02 02:37:58] local.INFO: GPS Element Parsed {"raw_longitude":762872320,"raw_latitude":99903704,"longitude_deg":76.287232,"latitude_deg":9.9903704,"altitude":23,"angle":34,"satellites":37,"speed":37,"hex_longitude":"2d788200","hex_latitude":"05f468d8","is_valid_coordinates":true} 
[2026-06-02 02:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769088256001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304282627441950720,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8677592082586261504,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780348013000,"timestamp_ms":1780348013000,"timestamp_seconds":1780348013,"priority":1,"record_length":96,"hex_timestamp":"0000019e8502c9c8"} 
[2026-06-02 02:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:37: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-06-02 02:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 02:37:58] 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-06-02 02:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":90486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769088256001,"66":27180,"144":206,"9":24832,"24":37,"16":304282627441950720,"45":8677592082586261504},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769088256001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304282627441950720,"km_value":304282627441950.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8677592082586261504,"description":"Unknown IO ID 45"} 
[2026-06-02 02:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769088256001,"power":27180,"unknown_144":206,"unknown_9":24832,"ignition":37,"odometer":null,"unknown_45":8677592082586261504}} 
[2026-06-02 02:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":90486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:37:58] local.INFO: GPS data processed {"connection_id":90486,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:37:58] local.INFO: Acknowledgment sent {"connection_id":90486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:37:58] local.INFO: Packet analysis {"connection_id":90486,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8502"} 
[2026-06-02 02:37:58] local.INFO: Extracted packet for processing {"connection_id":90486,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8502"} 
[2026-06-02 02:37:58] local.INFO: GPS Element Parsed {"raw_longitude":762875392,"raw_latitude":99907512,"longitude_deg":76.2875392,"latitude_deg":9.9907512,"altitude":18,"angle":46,"satellites":36,"speed":41,"hex_longitude":"2d788e00","hex_latitude":"05f477b8","is_valid_coordinates":true} 
[2026-06-02 02:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769091328001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304282859370184704,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683503057099085824,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780348018000,"timestamp_ms":1780348018000,"timestamp_seconds":1780348018,"priority":1,"record_length":96,"hex_timestamp":"0000019e8502dd50"} 
[2026-06-02 02:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:37: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-06-02 02:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 02:37:58] 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-06-02 02:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":90486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769091328001,"66":27343,"144":206,"9":24832,"24":41,"16":304282859370184704,"45":8683503057099085824},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769091328001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304282859370184704,"km_value":304282859370184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683503057099085824,"description":"Unknown IO ID 45"} 
[2026-06-02 02:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769091328001,"power":27343,"unknown_144":206,"unknown_9":24832,"ignition":41,"odometer":null,"unknown_45":8683503057099085824}} 
[2026-06-02 02:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":90486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:37:58] local.INFO: GPS data processed {"connection_id":90486,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:37:58] local.INFO: Acknowledgment sent {"connection_id":90486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:37:58] local.INFO: Packet analysis {"connection_id":90486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8503"} 
[2026-06-02 02:37:58] local.INFO: Extracted packet for processing {"connection_id":90486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8503"} 
[2026-06-02 02:37:58] local.INFO: GPS Element Parsed {"raw_longitude":762882752,"raw_latitude":99913384,"longitude_deg":76.2882752,"latitude_deg":9.9913384,"altitude":9,"angle":50,"satellites":36,"speed":38,"hex_longitude":"2d78aac0","hex_latitude":"05f48ea8","is_valid_coordinates":true} 
[2026-06-02 02:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769092608001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304283314636718080,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8686880756820588544,"note":"Value kept but may cause issues"} 
[2026-06-02 02:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780348027000,"timestamp_ms":1780348027000,"timestamp_seconds":1780348027,"priority":1,"record_length":96,"hex_timestamp":"0000019e85030078"} 
[2026-06-02 02:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:37: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-06-02 02:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 02:37: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-06-02 02:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":90486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769092608001,"66":27484,"52":206,"9":24832,"24":38,"16":304283314636718080,"45":8686880756820588544},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,9,24,16,45]} 
[2026-06-02 02:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769092608001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304283314636718080,"km_value":304283314636718.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8686880756820588544,"description":"Unknown IO ID 45"} 
[2026-06-02 02:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769092608001,"power":27484,"unknown_52":206,"unknown_9":24832,"ignition":38,"odometer":null,"unknown_45":8686880756820588544}} 
[2026-06-02 02:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":90486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:37:58] local.INFO: GPS data processed {"connection_id":90486,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:37:58] local.INFO: Acknowledgment sent {"connection_id":90486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:38:00] local.INFO: TCP Data received {"connection_id":90486,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85031fb8012d78c5c005f4a5a80006002d25..."} 
[2026-06-02 02:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85031fb8012d78c5c005f4a5a80006002d25..."} 
[2026-06-02 02:38:00] local.INFO: Processing buffer {"connection_id":90486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85031fb8012d78c5c005f4a5a80006002d25..."} 
[2026-06-02 02:38:00] local.INFO: Packet analysis {"connection_id":90486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8503"} 
[2026-06-02 02:38:00] local.INFO: Extracted packet for processing {"connection_id":90486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8503"} 
[2026-06-02 02:38:00] local.INFO: GPS Element Parsed {"raw_longitude":762889664,"raw_latitude":99919272,"longitude_deg":76.2889664,"latitude_deg":9.9919272,"altitude":6,"angle":45,"satellites":37,"speed":42,"hex_longitude":"2d78c5c0","hex_latitude":"05f4a5a8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769094912001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304283748428414976,"note":"Value kept but may cause issues"} 
[2026-06-02 02:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694973162402523136,"note":"Value kept but may cause issues"} 
[2026-06-02 02:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780348035000,"timestamp_ms":1780348035000,"timestamp_seconds":1780348035,"priority":1,"record_length":96,"hex_timestamp":"0000019e85031fb8"} 
[2026-06-02 02:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:38: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-06-02 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 02:38:00] 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-06-02 02: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-06-02 02:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769094912001,"66":27376,"52":206,"9":24832,"24":42,"16":304283748428414976,"45":8694973162402523136},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,9,24,16,45]} 
[2026-06-02 02:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769094912001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:38:00] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 02:38:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-06-02 02:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304283748428414976,"km_value":304283748428415.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694973162402523136,"description":"Unknown IO ID 45"} 
[2026-06-02 02:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769094912001,"power":27376,"unknown_52":206,"unknown_9":24832,"ignition":42,"odometer":null,"unknown_45":8694973162402523136}} 
[2026-06-02 02:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":90486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:38:00] local.INFO: GPS data processed {"connection_id":90486,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:38:00] local.INFO: Acknowledgment sent {"connection_id":90486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:38:24] local.INFO: TCP Data received {"connection_id":89013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:38:24] local.INFO: Processing buffer {"connection_id":89013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:38:24] local.INFO: IMEI packet received {"connection_id":89013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":89013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:38:44] local.INFO: TCP Data received {"connection_id":90487,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:38:44] local.INFO: Processing buffer {"connection_id":90487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:38:44] local.INFO: IMEI packet received {"connection_id":90487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":90487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:38:59] local.INFO: TCP Data received {"connection_id":90488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:38:59] local.INFO: Processing buffer {"connection_id":90488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:38:59] local.INFO: IMEI packet received {"connection_id":90488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":90488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:39:05] local.INFO: TCP Data received {"connection_id":90487,"ip":"117.224.195.65","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90487,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:39:05] local.INFO: Processing buffer {"connection_id":90487,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:39:05] local.INFO: IMEI packet received {"connection_id":90487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":90487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:39:06] local.INFO: TCP Data received {"connection_id":90487,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:39:06] local.INFO: Processing buffer {"connection_id":90487,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 02:39:06] local.INFO: IMEI packet received {"connection_id":90487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":90487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:44:15] local.INFO: TCP Data received {"connection_id":90489,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:15] local.INFO: Processing buffer {"connection_id":90489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:15] local.INFO: IMEI packet received {"connection_id":90489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":90489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:44:16] local.INFO: TCP Data received {"connection_id":90489,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:16] local.INFO: Processing buffer {"connection_id":90489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:16] local.INFO: IMEI packet received {"connection_id":90489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":90489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:44:20] local.INFO: TCP Data received {"connection_id":90489,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:20] local.INFO: Processing buffer {"connection_id":90489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:44:20] local.INFO: IMEI packet received {"connection_id":90489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":90489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:44:21] local.INFO: TCP Data received {"connection_id":90489,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8508ccd8012d7ad14005f85d900004001222..."} 
[2026-06-02 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8508ccd8012d7ad14005f85d900004001222..."} 
[2026-06-02 02:44:21] local.INFO: Processing buffer {"connection_id":90489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8508ccd8012d7ad14005f85d900004001222..."} 
[2026-06-02 02:44:21] local.INFO: Packet analysis {"connection_id":90489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8508"} 
[2026-06-02 02:44:21] local.INFO: Extracted packet for processing {"connection_id":90489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8508"} 
[2026-06-02 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763023680,"raw_latitude":100162960,"longitude_deg":76.302368,"latitude_deg":10.016296,"altitude":4,"angle":18,"satellites":34,"speed":45,"hex_longitude":"2d7ad140","hex_latitude":"05f85d90","is_valid_coordinates":true} 
[2026-06-02 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769190912001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304299794426232832,"note":"Value kept but may cause issues"} 
[2026-06-02 02:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605981458432,"note":"Value kept but may cause issues"} 
[2026-06-02 02:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780348407000,"timestamp_ms":1780348407000,"timestamp_seconds":1780348407,"priority":1,"record_length":96,"hex_timestamp":"0000019e8508ccd8"} 
[2026-06-02 02:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02: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-06-02 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 02:44: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-06-02 02:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769190912001,"66":27397,"143":206,"8":65024,"24":45,"16":304299794426232832,"45":8848869605981458432},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,8,24,16,45]} 
[2026-06-02 02:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769190912001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-06-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304299794426232832,"km_value":304299794426232.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605981458432,"description":"Unknown IO ID 45"} 
[2026-06-02 02:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769190912001,"power":27397,"unknown_143":206,"unknown_8":65024,"ignition":45,"odometer":null,"unknown_45":8848869605981458432}} 
[2026-06-02 02:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":90489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:44:21] local.INFO: GPS data processed {"connection_id":90489,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:44:21] local.INFO: Acknowledgment sent {"connection_id":90489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:44:34] local.INFO: TCP Data received {"connection_id":89417,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:44:34] local.INFO: Processing buffer {"connection_id":89417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:44:34] local.INFO: IMEI packet received {"connection_id":89417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":89417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:44:52] local.INFO: TCP Data received {"connection_id":90489,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8508d890012d7ad70005f869c00003001e23..."} 
[2026-06-02 02:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8508d890012d7ad70005f869c00003001e23..."} 
[2026-06-02 02:44:52] local.INFO: Processing buffer {"connection_id":90489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8508d890012d7ad70005f869c00003001e23..."} 
[2026-06-02 02:44:52] local.INFO: Packet analysis {"connection_id":90489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8508"} 
[2026-06-02 02:44:52] local.INFO: Extracted packet for processing {"connection_id":90489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8508"} 
[2026-06-02 02:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763025152,"raw_latitude":100166080,"longitude_deg":76.3025152,"latitude_deg":10.016608,"altitude":3,"angle":30,"satellites":35,"speed":43,"hex_longitude":"2d7ad700","hex_latitude":"05f869c0","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769192192001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304299957634990080,"note":"Value kept but may cause issues"} 
[2026-06-02 02:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849925137145630720,"note":"Value kept but may cause issues"} 
[2026-06-02 02:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780348410000,"timestamp_ms":1780348410000,"timestamp_seconds":1780348410,"priority":1,"record_length":96,"hex_timestamp":"0000019e8508d890"} 
[2026-06-02 02:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:44: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-06-02 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 02:44: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-06-02 02: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-06-02 02:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":90489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":90489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":90489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769192192001,"66":27365,"143":206,"8":65024,"24":43,"16":304299957634990080,"45":8849925137145630720},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,8,24,16,45]} 
[2026-06-02 02:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769192192001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:44:52] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-06-02 02:44:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304299957634990080,"km_value":304299957634990.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849925137145630720,"description":"Unknown IO ID 45"} 
[2026-06-02 02:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769192192001,"power":27365,"unknown_143":206,"unknown_8":65024,"ignition":43,"odometer":null,"unknown_45":8849925137145630720}} 
[2026-06-02 02:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":90489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:44:52] local.INFO: GPS data processed {"connection_id":90489,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:44:52] local.INFO: Acknowledgment sent {"connection_id":90489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:44:59] local.INFO: TCP Data received {"connection_id":89418,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:44:59] local.INFO: Processing buffer {"connection_id":89418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:44:59] local.INFO: IMEI packet received {"connection_id":89418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":89418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:45:24] local.INFO: TCP Data received {"connection_id":89419,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:24] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:24] local.INFO: IMEI packet received {"connection_id":89419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:45:25] local.INFO: TCP Data received {"connection_id":89419,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:25] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:25] local.INFO: IMEI packet received {"connection_id":89419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":89419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:45:30] local.INFO: TCP Data received {"connection_id":89419,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:30] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:45:30] local.INFO: IMEI packet received {"connection_id":89419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":89419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:45:31] local.INFO: TCP Data received {"connection_id":89419,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8508f7d0012d7aea4005f886f00005002425..."} 
[2026-06-02 02:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8508f7d0012d7aea4005f886f00005002425..."} 
[2026-06-02 02:45:31] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8508f7d0012d7aea4005f886f00005002425..."} 
[2026-06-02 02:45:31] local.INFO: Packet analysis {"connection_id":89419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8508"} 
[2026-06-02 02:45:31] local.INFO: Extracted packet for processing {"connection_id":89419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8508"} 
[2026-06-02 02:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763030080,"raw_latitude":100173552,"longitude_deg":76.303008,"latitude_deg":10.0173552,"altitude":5,"angle":36,"satellites":37,"speed":44,"hex_longitude":"2d7aea40","hex_latitude":"05f886f0","is_valid_coordinates":true} 
[2026-06-02 02:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769192960001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304300391426686976,"note":"Value kept but may cause issues"} 
[2026-06-02 02:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851543618262515712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780348418000,"timestamp_ms":1780348418000,"timestamp_seconds":1780348418,"priority":1,"record_length":96,"hex_timestamp":"0000019e8508f7d0"} 
[2026-06-02 02:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:45: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-06-02 02:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 02:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769192960001,"66":26408,"29":206,"8":65024,"24":44,"16":304300391426686976,"45":8851543618262515712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 02:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769192960001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:45:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 02:45:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304300391426686976,"km_value":304300391426687.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851543618262515712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769192960001,"power":26408,"unknown_29":206,"unknown_8":65024,"ignition":44,"odometer":null,"unknown_45":8851543618262515712}} 
[2026-06-02 02:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":89419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:45:31] local.INFO: GPS data processed {"connection_id":89419,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:45:31] local.INFO: Acknowledgment sent {"connection_id":89419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:46:02] local.INFO: TCP Data received {"connection_id":89419,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85091710012d7b030005f8a2b80007002e25..."} 
[2026-06-02 02:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85091710012d7b030005f8a2b80007002e25..."} 
[2026-06-02 02:46:02] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85091710012d7b030005f8a2b80007002e25..."} 
[2026-06-02 02:46:02] local.INFO: Packet analysis {"connection_id":89419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8509"} 
[2026-06-02 02:46:02] local.INFO: Extracted packet for processing {"connection_id":89419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8509"} 
[2026-06-02 02:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":100180664,"longitude_deg":76.3036416,"latitude_deg":10.0180664,"altitude":7,"angle":46,"satellites":37,"speed":45,"hex_longitude":"2d7b0300","hex_latitude":"05f8a2b8","is_valid_coordinates":true} 
[2026-06-02 02:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769195008001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304300850988187648,"note":"Value kept but may cause issues"} 
[2026-06-02 02:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856962011566108672,"note":"Value kept but may cause issues"} 
[2026-06-02 02:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780348426000,"timestamp_ms":1780348426000,"timestamp_seconds":1780348426,"priority":1,"record_length":96,"hex_timestamp":"0000019e85091710"} 
[2026-06-02 02:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:46: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-06-02 02:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 02:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769195008001,"66":27365,"29":206,"8":65024,"24":45,"16":304300850988187648,"45":8856962011566108672},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 02:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769195008001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:46:02] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 02:46:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304300850988187648,"km_value":304300850988187.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856962011566108672,"description":"Unknown IO ID 45"} 
[2026-06-02 02:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769195008001,"power":27365,"unknown_29":206,"unknown_8":65024,"ignition":45,"odometer":null,"unknown_45":8856962011566108672}} 
[2026-06-02 02:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":89419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:46:03] local.INFO: GPS data processed {"connection_id":89419,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:46:03] local.INFO: Acknowledgment sent {"connection_id":89419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:46:30] local.INFO: TCP Data received {"connection_id":89016,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:30] local.INFO: Processing buffer {"connection_id":89016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:30] local.INFO: IMEI packet received {"connection_id":89016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":89016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:46:33] local.INFO: TCP Data received {"connection_id":89016,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:33] local.INFO: Processing buffer {"connection_id":89016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:33] local.INFO: IMEI packet received {"connection_id":89016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":89016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:46:35] local.INFO: TCP Data received {"connection_id":89016,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:35] local.INFO: Processing buffer {"connection_id":89016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:46:35] local.INFO: IMEI packet received {"connection_id":89016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":89016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:46:36] local.INFO: TCP Data received {"connection_id":89016,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850aa968012d7b7ac005f9d3c00007013e25..."} 
[2026-06-02 02:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850aa968012d7b7ac005f9d3c00007013e25..."} 
[2026-06-02 02:46:36] local.INFO: Processing buffer {"connection_id":89016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850aa968012d7b7ac005f9d3c00007013e25..."} 
[2026-06-02 02:46:36] local.INFO: Packet analysis {"connection_id":89016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850a"} 
[2026-06-02 02:46:36] local.INFO: Extracted packet for processing {"connection_id":89016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850a"} 
[2026-06-02 02:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":100258752,"longitude_deg":76.3067072,"latitude_deg":10.0258752,"altitude":7,"angle":318,"satellites":37,"speed":35,"hex_longitude":"2d7b7ac0","hex_latitude":"05f9d3c0","is_valid_coordinates":true} 
[2026-06-02 02:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769220608001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304304819537969152,"note":"Value kept but may cause issues"} 
[2026-06-02 02:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904531282650259456,"note":"Value kept but may cause issues"} 
[2026-06-02 02:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780348529000,"timestamp_ms":1780348529000,"timestamp_seconds":1780348529,"priority":1,"record_length":96,"hex_timestamp":"0000019e850aa968"} 
[2026-06-02 02:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-06-02 02:46:36] 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-06-02 02:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769220608001,"66":27234,"29":206,"8":65024,"24":35,"16":304304819537969152,"45":8904531282650259456},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 02:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769220608001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:46:36] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 02:46:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304304819537969152,"km_value":304304819537969.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904531282650259456,"description":"Unknown IO ID 45"} 
[2026-06-02 02:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769220608001,"power":27234,"unknown_29":206,"unknown_8":65024,"ignition":35,"odometer":null,"unknown_45":8904531282650259456}} 
[2026-06-02 02:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":89016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:46:36] local.INFO: GPS data processed {"connection_id":89016,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:46:36] local.INFO: Acknowledgment sent {"connection_id":89016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:47:07] local.INFO: TCP Data received {"connection_id":89016,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850ac4c0012d7b6b4005f9e8b80007014a25..."} 
[2026-06-02 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850ac4c0012d7b6b4005f9e8b80007014a25..."} 
[2026-06-02 02:47:07] local.INFO: Processing buffer {"connection_id":89016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850ac4c0012d7b6b4005f9e8b80007014a25..."} 
[2026-06-02 02:47:07] local.INFO: Packet analysis {"connection_id":89016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850a"} 
[2026-06-02 02:47:07] local.INFO: Extracted packet for processing {"connection_id":89016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850a"} 
[2026-06-02 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763063104,"raw_latitude":100264120,"longitude_deg":76.3063104,"latitude_deg":10.026412,"altitude":7,"angle":330,"satellites":37,"speed":40,"hex_longitude":"2d7b6b40","hex_latitude":"05f9e8b8","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769223424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304305145955483648,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145722609664,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780348536000,"timestamp_ms":1780348536000,"timestamp_seconds":1780348536,"priority":1,"record_length":96,"hex_timestamp":"0000019e850ac4c0"} 
[2026-06-02 02:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 02:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769223424001,"66":27234,"29":206,"8":65024,"24":40,"16":304305145955483648,"45":8897635145722609664},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 02:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769223424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:47:07] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 02:47:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304305145955483648,"km_value":304305145955483.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145722609664,"description":"Unknown IO ID 45"} 
[2026-06-02 02:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769223424001,"power":27234,"unknown_29":206,"unknown_8":65024,"ignition":40,"odometer":null,"unknown_45":8897635145722609664}} 
[2026-06-02 02:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":89016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:47:07] local.INFO: GPS data processed {"connection_id":89016,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:47:07] local.INFO: Acknowledgment sent {"connection_id":89016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:47:31] local.INFO: TCP Data received {"connection_id":89017,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:47:31] local.INFO: Processing buffer {"connection_id":89017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:47:31] local.INFO: IMEI packet received {"connection_id":89017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":89017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:47:33] local.INFO: TCP Data received {"connection_id":89017,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:47:33] local.INFO: Processing buffer {"connection_id":89017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:47:33] local.INFO: IMEI packet received {"connection_id":89017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":89017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:47:34] local.INFO: TCP Data received {"connection_id":89017,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850aebd0012d7b5a0005fa0a980006015026..."} 
[2026-06-02 02:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850aebd0012d7b5a0005fa0a980006015026..."} 
[2026-06-02 02:47:34] local.INFO: Processing buffer {"connection_id":89017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850aebd0012d7b5a0005fa0a980006015026..."} 
[2026-06-02 02:47:34] local.INFO: Packet analysis {"connection_id":89017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850a"} 
[2026-06-02 02:47:34] local.INFO: Extracted packet for processing {"connection_id":89017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850a"} 
[2026-06-02 02:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":100272792,"longitude_deg":76.3058688,"latitude_deg":10.0272792,"altitude":6,"angle":336,"satellites":38,"speed":38,"hex_longitude":"2d7b5a00","hex_latitude":"05fa0a98","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769225216001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304305614106918912,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893272283584968704,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780348546000,"timestamp_ms":1780348546000,"timestamp_seconds":1780348546,"priority":1,"record_length":96,"hex_timestamp":"0000019e850aebd0"} 
[2026-06-02 02:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 02:47:34] 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-06-02 02: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-06-02 02:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769225216001,"66":27365,"29":206,"8":65024,"24":38,"16":304305614106918912,"45":8893272283584968704},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 02:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769225216001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:47:34] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 02:47:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304305614106918912,"km_value":304305614106918.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893272283584968704,"description":"Unknown IO ID 45"} 
[2026-06-02 02:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769225216001,"power":27365,"unknown_29":206,"unknown_8":65024,"ignition":38,"odometer":null,"unknown_45":8893272283584968704}} 
[2026-06-02 02:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":89017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:47:34] local.INFO: GPS data processed {"connection_id":89017,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:47:34] local.INFO: Acknowledgment sent {"connection_id":89017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:47:35] local.INFO: TCP Data received {"connection_id":89017,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850b0ef8012d7b4f0005fa2c200006015925..."} 
[2026-06-02 02:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850b0ef8012d7b4f0005fa2c200006015925..."} 
[2026-06-02 02:47:35] local.INFO: Processing buffer {"connection_id":89017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850b0ef8012d7b4f0005fa2c200006015925..."} 
[2026-06-02 02:47:35] local.INFO: Packet analysis {"connection_id":89017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850b"} 
[2026-06-02 02:47:35] local.INFO: Extracted packet for processing {"connection_id":89017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850b"} 
[2026-06-02 02:47:35] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":100281376,"longitude_deg":76.3055872,"latitude_deg":10.0281376,"altitude":6,"angle":345,"satellites":37,"speed":38,"hex_longitude":"2d7b4f00","hex_latitude":"05fa2c20","is_valid_coordinates":true} 
[2026-06-02 02:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769227776001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304306052193583104,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416840238929920,"note":"Value kept but may cause issues"} 
[2026-06-02 02:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780348555000,"timestamp_ms":1780348555000,"timestamp_seconds":1780348555,"priority":1,"record_length":96,"hex_timestamp":"0000019e850b0ef8"} 
[2026-06-02 02:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 02:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769227776001,"66":27071,"29":206,"8":65024,"24":38,"16":304306052193583104,"45":8888416840238929920},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 02:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769227776001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:47:35] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 02:47:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304306052193583104,"km_value":304306052193583.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416840238929920,"description":"Unknown IO ID 45"} 
[2026-06-02 02:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769227776001,"power":27071,"unknown_29":206,"unknown_8":65024,"ignition":38,"odometer":null,"unknown_45":8888416840238929920}} 
[2026-06-02 02:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":89017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:47:35] local.INFO: GPS data processed {"connection_id":89017,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:47:35] local.INFO: Acknowledgment sent {"connection_id":89017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:48:16] local.INFO: TCP Data received {"connection_id":89017,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850b2668012d7b488005fa3ed00006014b27..."} 
[2026-06-02 02:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850b2668012d7b488005fa3ed00006014b27..."} 
[2026-06-02 02:48:16] local.INFO: Processing buffer {"connection_id":89017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850b2668012d7b488005fa3ed00006014b27..."} 
[2026-06-02 02:48:16] local.INFO: Packet analysis {"connection_id":89017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850b"} 
[2026-06-02 02:48:16] local.INFO: Extracted packet for processing {"connection_id":89017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850b"} 
[2026-06-02 02:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":100286160,"longitude_deg":76.3054208,"latitude_deg":10.028616,"altitude":6,"angle":331,"satellites":39,"speed":30,"hex_longitude":"2d7b4880","hex_latitude":"05fa3ed0","is_valid_coordinates":true} 
[2026-06-02 02:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769230080001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304306297006718976,"note":"Value kept but may cause issues"} 
[2026-06-02 02:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320615497310208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780348561000,"timestamp_ms":1780348561000,"timestamp_seconds":1780348561,"priority":1,"record_length":96,"hex_timestamp":"0000019e850b2668"} 
[2026-06-02 02:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:48: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-06-02 02:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-02 02:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769230080001,"66":26832,"181":206,"8":65024,"24":30,"16":304306297006718976,"45":8885320615497310208},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,8,24,16,45]} 
[2026-06-02 02:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769230080001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:48:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-06-02 02:48:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304306297006718976,"km_value":304306297006719.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320615497310208,"description":"Unknown IO ID 45"} 
[2026-06-02 02:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769230080001,"power":26832,"unknown_181":206,"unknown_8":65024,"ignition":30,"odometer":null,"unknown_45":8885320615497310208}} 
[2026-06-02 02:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":89017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:48:16] local.INFO: GPS data processed {"connection_id":89017,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:48:16] local.INFO: Acknowledgment sent {"connection_id":89017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:48:26] local.INFO: TCP Data received {"connection_id":89421,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:48:26] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:48:26] local.INFO: IMEI packet received {"connection_id":89421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":89421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:48:28] local.INFO: TCP Data received {"connection_id":89421,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:48:28] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:48:28] local.INFO: IMEI packet received {"connection_id":89421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":89421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:48:29] local.INFO: TCP Data received {"connection_id":89421,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850b39f0012d7b428005fa4a200005015627..."} 
[2026-06-02 02:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850b39f0012d7b428005fa4a200005015627..."} 
[2026-06-02 02:48:29] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850b39f0012d7b428005fa4a200005015627..."} 
[2026-06-02 02:48:29] local.INFO: Packet analysis {"connection_id":89421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850b"} 
[2026-06-02 02:48:29] local.INFO: Extracted packet for processing {"connection_id":89421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850b"} 
[2026-06-02 02:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763052672,"raw_latitude":100289056,"longitude_deg":76.3052672,"latitude_deg":10.0289056,"altitude":5,"angle":342,"satellites":39,"speed":24,"hex_longitude":"2d7b4280","hex_latitude":"05fa4a20","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769231616001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304306455920508928,"note":"Value kept but may cause issues"} 
[2026-06-02 02:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491028149915648,"note":"Value kept but may cause issues"} 
[2026-06-02 02:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780348566000,"timestamp_ms":1780348566000,"timestamp_seconds":1780348566,"priority":1,"record_length":96,"hex_timestamp":"0000019e850b39f0"} 
[2026-06-02 02:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:48: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-06-02 02: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-02 02:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769231616001,"66":27071,"181":206,"8":65024,"24":24,"16":304306455920508928,"45":8883491028149915648},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,8,24,16,45]} 
[2026-06-02 02:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769231616001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:48:29] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-06-02 02:48:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304306455920508928,"km_value":304306455920508.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491028149915648,"description":"Unknown IO ID 45"} 
[2026-06-02 02:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769231616001,"power":27071,"unknown_181":206,"unknown_8":65024,"ignition":24,"odometer":null,"unknown_45":8883491028149915648}} 
[2026-06-02 02:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":89421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:48:29] local.INFO: GPS data processed {"connection_id":89421,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:48:29] local.INFO: Acknowledgment sent {"connection_id":89421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:49:00] local.INFO: TCP Data received {"connection_id":89421,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850cf358012d7ac08005fb9b800011014c27..."} 
[2026-06-02 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850cf358012d7ac08005fb9b800011014c27..."} 
[2026-06-02 02:49:00] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850cf358012d7ac08005fb9b800011014c27..."} 
[2026-06-02 02:49:00] local.INFO: Packet analysis {"connection_id":89421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850c"} 
[2026-06-02 02:49:00] local.INFO: Extracted packet for processing {"connection_id":89421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850c"} 
[2026-06-02 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763019392,"raw_latitude":100375424,"longitude_deg":76.3019392,"latitude_deg":10.0375424,"altitude":17,"angle":332,"satellites":39,"speed":44,"hex_longitude":"2d7ac080","hex_latitude":"05fb9b80","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769259520001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304310978521071616,"note":"Value kept but may cause issues"} 
[2026-06-02 02:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849995505942030336,"note":"Value kept but may cause issues"} 
[2026-06-02 02:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780348679000,"timestamp_ms":1780348679000,"timestamp_seconds":1780348679,"priority":1,"record_length":96,"hex_timestamp":"0000019e850cf358"} 
[2026-06-02 02:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:49: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-06-02 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 02:49:00] 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-06-02 02: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-06-02 02:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769259520001,"66":26669,"188":206,"8":65024,"24":44,"16":304310978521071616,"45":8849995505942030336},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-06-02 02:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769259520001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304310978521071616,"km_value":304310978521071.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849995505942030336,"description":"Unknown IO ID 45"} 
[2026-06-02 02:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769259520001,"power":26669,"unknown_188":206,"unknown_8":65024,"ignition":44,"odometer":null,"unknown_45":8849995505942030336}} 
[2026-06-02 02:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":89421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:49:00] local.INFO: GPS data processed {"connection_id":89421,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:49:00] local.INFO: Acknowledgment sent {"connection_id":89421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:49:25] local.INFO: TCP Data received {"connection_id":90490,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:25] local.INFO: Processing buffer {"connection_id":90490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:25] local.INFO: IMEI packet received {"connection_id":90490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":90490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:49:27] local.INFO: TCP Data received {"connection_id":90490,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:27] local.INFO: Processing buffer {"connection_id":90490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:27] local.INFO: IMEI packet received {"connection_id":90490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":90490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:49:30] local.INFO: TCP Data received {"connection_id":90490,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:30] local.INFO: Processing buffer {"connection_id":90490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:49:30] local.INFO: IMEI packet received {"connection_id":90490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":90490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:49:31] local.INFO: TCP Data received {"connection_id":90490,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850d1680012d7aaf4005fbbd68000e014e28..."} 
[2026-06-02 02:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850d1680012d7aaf4005fbbd68000e014e28..."} 
[2026-06-02 02:49:31] local.INFO: Processing buffer {"connection_id":90490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850d1680012d7aaf4005fbbd68000e014e28..."} 
[2026-06-02 02:49:31] local.INFO: Packet analysis {"connection_id":90490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850d"} 
[2026-06-02 02:49:31] local.INFO: Extracted packet for processing {"connection_id":90490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850d"} 
[2026-06-02 02:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763014976,"raw_latitude":100384104,"longitude_deg":76.3014976,"latitude_deg":10.0384104,"altitude":14,"angle":334,"satellites":40,"speed":42,"hex_longitude":"2d7aaf40","hex_latitude":"05fbbd68","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769261824001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304311450967474176,"note":"Value kept but may cause issues"} 
[2026-06-02 02:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845210431340118016,"note":"Value kept but may cause issues"} 
[2026-06-02 02:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780348688000,"timestamp_ms":1780348688000,"timestamp_seconds":1780348688,"priority":1,"record_length":96,"hex_timestamp":"0000019e850d1680"} 
[2026-06-02 02:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:49: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-06-02 02: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":104,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-06-02 02:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769261824001,"66":27365,"188":206,"8":65024,"24":42,"16":304311450967474176,"45":8845210431340118016},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-06-02 02:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769261824001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:49:31] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-02 02:49:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304311450967474176,"km_value":304311450967474.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845210431340118016,"description":"Unknown IO ID 45"} 
[2026-06-02 02:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769261824001,"power":27365,"unknown_188":206,"unknown_8":65024,"ignition":42,"odometer":null,"unknown_45":8845210431340118016}} 
[2026-06-02 02:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":90490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:49:31] local.INFO: GPS data processed {"connection_id":90490,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:49:31] local.INFO: Acknowledgment sent {"connection_id":90490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:50:02] local.INFO: TCP Data received {"connection_id":90490,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850d35c0012d7a9e8005fbddc8000d014c29..."} 
[2026-06-02 02:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850d35c0012d7a9e8005fbddc8000d014c29..."} 
[2026-06-02 02:50:02] local.INFO: Processing buffer {"connection_id":90490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850d35c0012d7a9e8005fbddc8000d014c29..."} 
[2026-06-02 02:50:02] local.INFO: Packet analysis {"connection_id":90490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850d"} 
[2026-06-02 02:50:02] local.INFO: Extracted packet for processing {"connection_id":90490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850d"} 
[2026-06-02 02:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763010688,"raw_latitude":100392392,"longitude_deg":76.3010688,"latitude_deg":10.0392392,"altitude":13,"angle":332,"satellites":41,"speed":49,"hex_longitude":"2d7a9e80","hex_latitude":"05fbddc8","is_valid_coordinates":true} 
[2026-06-02 02:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769264128001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304311901939040256,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840354987994081280,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780348696000,"timestamp_ms":1780348696000,"timestamp_seconds":1780348696,"priority":1,"record_length":96,"hex_timestamp":"0000019e850d35c0"} 
[2026-06-02 02:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:50: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-06-02 02:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 02:50: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-06-02 02:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769264128001,"66":27397,"188":206,"8":65024,"24":49,"16":304311901939040256,"45":8840354987994081280},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-06-02 02:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769264128001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:50:02] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-02 02:50:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304311901939040256,"km_value":304311901939040.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840354987994081280,"description":"Unknown IO ID 45"} 
[2026-06-02 02:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769264128001,"power":27397,"unknown_188":206,"unknown_8":65024,"ignition":49,"odometer":null,"unknown_45":8840354987994081280}} 
[2026-06-02 02:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":90490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:50:02] local.INFO: GPS data processed {"connection_id":90490,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:50:02] local.INFO: Acknowledgment sent {"connection_id":90490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:50:25] local.INFO: TCP Data received {"connection_id":89019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:50:25] local.INFO: Processing buffer {"connection_id":89019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:50:25] local.INFO: IMEI packet received {"connection_id":89019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":89019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:50:26] local.INFO: TCP Data received {"connection_id":89020,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:26] local.INFO: Processing buffer {"connection_id":89020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:26] local.INFO: IMEI packet received {"connection_id":89020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":89020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:50:32] local.INFO: TCP Data received {"connection_id":89020,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:32] local.INFO: Processing buffer {"connection_id":89020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:32] local.INFO: IMEI packet received {"connection_id":89020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":89020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:50:32] local.INFO: TCP Data received {"connection_id":89020,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:32] local.INFO: Processing buffer {"connection_id":89020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:50:32] local.INFO: IMEI packet received {"connection_id":89020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":89020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:50:33] local.INFO: TCP Data received {"connection_id":89020,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850e79f8012d7a034005fceee0000901432c..."} 
[2026-06-02 02:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850e79f8012d7a034005fceee0000901432c..."} 
[2026-06-02 02:50:33] local.INFO: Processing buffer {"connection_id":89020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850e79f8012d7a034005fceee0000901432c..."} 
[2026-06-02 02:50:33] local.INFO: Packet analysis {"connection_id":89020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:50:33] local.INFO: Extracted packet for processing {"connection_id":89020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:50:33] local.INFO: GPS Element Parsed {"raw_longitude":762970944,"raw_latitude":100462304,"longitude_deg":76.2970944,"latitude_deg":10.0462304,"altitude":9,"angle":323,"satellites":44,"speed":40,"hex_longitude":"2d7a0340","hex_latitude":"05fceee0","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769284864001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304315801769345024,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485585226383360,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 02:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780348779000,"timestamp_ms":1780348779000,"timestamp_seconds":1780348779,"priority":1,"record_length":96,"hex_timestamp":"0000019e850e79f8"} 
[2026-06-02 02:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:50: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-06-02 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 02:50:33] 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-06-02 02: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-06-02 02:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769284864001,"66":206,"8":65024,"24":40,"16":304315801769345024,"45":8798485585226383360},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-06-02 02:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769284864001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:50:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304315801769345024,"km_value":304315801769345.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485585226383360,"description":"Unknown IO ID 45"} 
[2026-06-02 02:50:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769284864001,"power":206,"unknown_8":65024,"ignition":40,"odometer":null,"unknown_45":8798485585226383360}} 
[2026-06-02 02:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":89020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:50:33] local.INFO: GPS data processed {"connection_id":89020,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:50:33] local.INFO: Acknowledgment sent {"connection_id":89020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:50:37] local.INFO: TCP Data received {"connection_id":89020,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850e9d20012d79ec4005fd0c40000901412d..."} 
[2026-06-02 02:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850e9d20012d79ec4005fd0c40000901412d..."} 
[2026-06-02 02:50:37] local.INFO: Processing buffer {"connection_id":89020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850e9d20012d79ec4005fd0c40000901412d..."} 
[2026-06-02 02:50:37] local.INFO: Packet analysis {"connection_id":89020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:50:37] local.INFO: Extracted packet for processing {"connection_id":89020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762965056,"raw_latitude":100469824,"longitude_deg":76.2965056,"latitude_deg":10.0469824,"altitude":9,"angle":321,"satellites":45,"speed":42,"hex_longitude":"2d79ec40","hex_latitude":"05fd0c40","is_valid_coordinates":true} 
[2026-06-02 02:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769287424001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304316261330845696,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791941292019867648,"note":"Value kept but may cause issues"} 
[2026-06-02 02:50:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 02:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780348788000,"timestamp_ms":1780348788000,"timestamp_seconds":1780348788,"priority":1,"record_length":96,"hex_timestamp":"0000019e850e9d20"} 
[2026-06-02 02:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 02:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769287424001,"66":206,"8":65024,"24":42,"16":304316261330845696,"45":8791941292019867648},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-06-02 02:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769287424001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:50:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304316261330845696,"km_value":304316261330845.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791941292019867648,"description":"Unknown IO ID 45"} 
[2026-06-02 02:50:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769287424001,"power":206,"unknown_8":65024,"ignition":42,"odometer":null,"unknown_45":8791941292019867648}} 
[2026-06-02 02:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":89020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:50:37] local.INFO: GPS data processed {"connection_id":89020,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:50:37] local.INFO: Acknowledgment sent {"connection_id":89020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:50:59] local.INFO: TCP Data received {"connection_id":89422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:50:59] local.INFO: Processing buffer {"connection_id":89422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:50:59] local.INFO: IMEI packet received {"connection_id":89422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":89422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:51:23] local.INFO: TCP Data received {"connection_id":89020,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850eb490012d79dd0005fd1cf8000901332a..."} 
[2026-06-02 02:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850eb490012d79dd0005fd1cf8000901332a..."} 
[2026-06-02 02:51:23] local.INFO: Processing buffer {"connection_id":89020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850eb490012d79dd0005fd1cf8000901332a..."} 
[2026-06-02 02:51:23] local.INFO: Packet analysis {"connection_id":89020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:51:23] local.INFO: Extracted packet for processing {"connection_id":89020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:51:23] local.INFO: GPS Element Parsed {"raw_longitude":762961152,"raw_latitude":100474104,"longitude_deg":76.2961152,"latitude_deg":10.0474104,"altitude":9,"angle":307,"satellites":42,"speed":37,"hex_longitude":"2d79dd00","hex_latitude":"05fd1cf8","is_valid_coordinates":true} 
[2026-06-02 02:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769289728001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304316544798687232,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785467367557447680,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 02:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780348794000,"timestamp_ms":1780348794000,"timestamp_seconds":1780348794,"priority":1,"record_length":96,"hex_timestamp":"0000019e850eb490"} 
[2026-06-02 02:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:51: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-06-02 02:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 02:51: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-06-02 02:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769289728001,"66":206,"8":65024,"24":37,"16":304316544798687232,"45":8785467367557447680},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-06-02 02:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769289728001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:51:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304316544798687232,"km_value":304316544798687.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785467367557447680,"description":"Unknown IO ID 45"} 
[2026-06-02 02:51:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769289728001,"power":206,"unknown_8":65024,"ignition":37,"odometer":null,"unknown_45":8785467367557447680}} 
[2026-06-02 02:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":89020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:51:23] local.INFO: GPS data processed {"connection_id":89020,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:51:23] local.INFO: Acknowledgment sent {"connection_id":89020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:51:28] local.INFO: TCP Data received {"connection_id":89287,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:28] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:28] local.INFO: IMEI packet received {"connection_id":89287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":89287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:51:30] local.INFO: TCP Data received {"connection_id":89287,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:30] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:30] local.INFO: IMEI packet received {"connection_id":89287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":89287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:51:35] local.INFO: TCP Data received {"connection_id":89287,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:35] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:51:35] local.INFO: IMEI packet received {"connection_id":89287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":89287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:51:36] local.INFO: TCP Data received {"connection_id":89287,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850ec430012d79d18005fd26a0000a01412c..."} 
[2026-06-02 02:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850ec430012d79d18005fd26a0000a01412c..."} 
[2026-06-02 02:51:36] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850ec430012d79d18005fd26a0000a01412c..."} 
[2026-06-02 02:51:36] local.INFO: Packet analysis {"connection_id":89287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:51:36] local.INFO: Extracted packet for processing {"connection_id":89287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:51:36] local.INFO: GPS Element Parsed {"raw_longitude":762958208,"raw_latitude":100476576,"longitude_deg":76.2958208,"latitude_deg":10.0476576,"altitude":10,"angle":321,"satellites":44,"speed":37,"hex_longitude":"2d79d180","hex_latitude":"05fd26a0","is_valid_coordinates":true} 
[2026-06-02 02:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769291264001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304316725187313664,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8781174874163705856,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 02:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780348798000,"timestamp_ms":1780348798000,"timestamp_seconds":1780348798,"priority":1,"record_length":96,"hex_timestamp":"0000019e850ec430"} 
[2026-06-02 02:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 02:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769291264001,"66":206,"8":65024,"24":37,"16":304316725187313664,"45":8781174874163705856},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-06-02 02:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769291264001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:51:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304316725187313664,"km_value":304316725187313.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8781174874163705856,"description":"Unknown IO ID 45"} 
[2026-06-02 02:51:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769291264001,"power":206,"unknown_8":65024,"ignition":37,"odometer":null,"unknown_45":8781174874163705856}} 
[2026-06-02 02:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":89287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:51:36] local.INFO: GPS data processed {"connection_id":89287,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:51:36] local.INFO: Acknowledgment sent {"connection_id":89287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:51:38] local.INFO: TCP Data received {"connection_id":89287,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e850ee758012d79bc0005fd4368000a01412c..."} 
[2026-06-02 02:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e850ee758012d79bc0005fd4368000a01412c..."} 
[2026-06-02 02:51:38] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e850ee758012d79bc0005fd4368000a01412c..."} 
[2026-06-02 02:51:38] local.INFO: Packet analysis {"connection_id":89287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:51:38] local.INFO: Extracted packet for processing {"connection_id":89287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e850e"} 
[2026-06-02 02:51:38] local.INFO: GPS Element Parsed {"raw_longitude":762952704,"raw_latitude":100483944,"longitude_deg":76.2952704,"latitude_deg":10.0483944,"altitude":10,"angle":321,"satellites":44,"speed":43,"hex_longitude":"2d79bc00","hex_latitude":"05fd4368","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769292288001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304317171863912448,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8777937911932166144,"note":"Value kept but may cause issues"} 
[2026-06-02 02:51:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 02:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780348807000,"timestamp_ms":1780348807000,"timestamp_seconds":1780348807,"priority":1,"record_length":96,"hex_timestamp":"0000019e850ee758"} 
[2026-06-02 02:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-06-02 02:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769292288001,"66":206,"8":65024,"24":43,"16":304317171863912448,"45":8777937911932166144},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,24,16,45]} 
[2026-06-02 02:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769292288001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:51:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-06-02 02:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304317171863912448,"km_value":304317171863912.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8777937911932166144,"description":"Unknown IO ID 45"} 
[2026-06-02 02:51:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769292288001,"power":206,"unknown_8":65024,"ignition":43,"odometer":null,"unknown_45":8777937911932166144}} 
[2026-06-02 02:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":89287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:51:38] local.INFO: GPS data processed {"connection_id":89287,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:51:38] local.INFO: Acknowledgment sent {"connection_id":89287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:52:55] local.INFO: TCP Data received {"connection_id":89424,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:52:55] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:52:55] local.INFO: IMEI packet received {"connection_id":89424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":89424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:53:00] local.INFO: TCP Data received {"connection_id":89424,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:00] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:00] local.INFO: IMEI packet received {"connection_id":89424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":89424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:53:01] local.INFO: TCP Data received {"connection_id":89424,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85101808012d792e4005fe7798000901452c..."} 
[2026-06-02 02:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85101808012d792e4005fe7798000901452c..."} 
[2026-06-02 02:53:01] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85101808012d792e4005fe7798000901452c..."} 
[2026-06-02 02:53:01] local.INFO: Packet analysis {"connection_id":89424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8510"} 
[2026-06-02 02:53:01] local.INFO: Extracted packet for processing {"connection_id":89424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8510"} 
[2026-06-02 02:53:01] local.INFO: GPS Element Parsed {"raw_longitude":762916416,"raw_latitude":100562840,"longitude_deg":76.2916416,"latitude_deg":10.056284,"altitude":9,"angle":325,"satellites":44,"speed":33,"hex_longitude":"2d792e40","hex_latitude":"05fe7798","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769313536001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304321389521797120,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8734027815586451456,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780348885000,"timestamp_ms":1780348885000,"timestamp_seconds":1780348885,"priority":1,"record_length":96,"hex_timestamp":"0000019e85101808"} 
[2026-06-02 02:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02: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-06-02 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 02:53: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-06-02 02: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-06-02 02:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769313536001,"66":26691,"224":206,"8":65280,"24":33,"16":304321389521797120,"45":8734027815586451456},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-06-02 02:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769313536001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:53:01] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-02 02:53:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304321389521797120,"km_value":304321389521797.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8734027815586451456,"description":"Unknown IO ID 45"} 
[2026-06-02 02:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769313536001,"power":26691,"unknown_224":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8734027815586451456}} 
[2026-06-02 02:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":89424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:53:01] local.INFO: GPS data processed {"connection_id":89424,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:53:01] local.INFO: Acknowledgment sent {"connection_id":89424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:53:26] local.INFO: TCP Data received {"connection_id":90491,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:26] local.INFO: Processing buffer {"connection_id":90491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:26] local.INFO: IMEI packet received {"connection_id":90491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":90491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:53:33] local.INFO: TCP Data received {"connection_id":90491,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:33] local.INFO: Processing buffer {"connection_id":90491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:33] local.INFO: IMEI packet received {"connection_id":90491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":90491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:53:35] local.INFO: TCP Data received {"connection_id":90491,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:35] local.INFO: Processing buffer {"connection_id":90491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:35] local.INFO: IMEI packet received {"connection_id":90491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":90491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:53:39] local.INFO: TCP Data received {"connection_id":90491,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:39] local.INFO: Processing buffer {"connection_id":90491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:53:39] local.INFO: IMEI packet received {"connection_id":90491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":90491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:53:43] local.INFO: TCP Data received {"connection_id":90491,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85111dc0012d78b40005ff3a50000a011b2c..."} 
[2026-06-02 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85111dc0012d78b40005ff3a50000a011b2c..."} 
[2026-06-02 02:53:43] local.INFO: Processing buffer {"connection_id":90491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85111dc0012d78b40005ff3a50000a011b2c..."} 
[2026-06-02 02:53:43] local.INFO: Packet analysis {"connection_id":90491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8511"} 
[2026-06-02 02:53:43] local.INFO: Extracted packet for processing {"connection_id":90491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8511"} 
[2026-06-02 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":762885120,"raw_latitude":100612688,"longitude_deg":76.288512,"latitude_deg":10.0612688,"altitude":10,"angle":283,"satellites":44,"speed":25,"hex_longitude":"2d78b400","hex_latitude":"05ff3a50","is_valid_coordinates":true} 
[2026-06-02 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769331456001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304324254264983552,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698280493557839872,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780348952000,"timestamp_ms":1780348952000,"timestamp_seconds":1780348952,"priority":1,"record_length":96,"hex_timestamp":"0000019e85111dc0"} 
[2026-06-02 02:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 02:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769331456001,"66":27343,"224":206,"8":65280,"24":25,"16":304324254264983552,"45":8698280493557839872},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-06-02 02:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769331456001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:53:43] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-02 02:53:43] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304324254264983552,"km_value":304324254264983.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698280493557839872,"description":"Unknown IO ID 45"} 
[2026-06-02 02:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769331456001,"power":27343,"unknown_224":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":8698280493557839872}} 
[2026-06-02 02:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":90491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:53:43] local.INFO: GPS data processed {"connection_id":90491,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:53:43] local.INFO: Acknowledgment sent {"connection_id":90491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:53:44] local.INFO: TCP Data received {"connection_id":90491,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85112d60012d78aa8005ff3be0000a01292b..."} 
[2026-06-02 02:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85112d60012d78aa8005ff3be0000a01292b..."} 
[2026-06-02 02:53:44] local.INFO: Processing buffer {"connection_id":90491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85112d60012d78aa8005ff3be0000a01292b..."} 
[2026-06-02 02:53:44] local.INFO: Packet analysis {"connection_id":90491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8511"} 
[2026-06-02 02:53:44] local.INFO: Extracted packet for processing {"connection_id":90491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8511"} 
[2026-06-02 02:53:44] local.INFO: GPS Element Parsed {"raw_longitude":762882688,"raw_latitude":100613088,"longitude_deg":76.2882688,"latitude_deg":10.0613088,"altitude":10,"angle":297,"satellites":43,"speed":22,"hex_longitude":"2d78aa80","hex_latitude":"05ff3be0","is_valid_coordinates":true} 
[2026-06-02 02:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769331712001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304324370229100544,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8697576806116118528,"note":"Value kept but may cause issues"} 
[2026-06-02 02:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780348956000,"timestamp_ms":1780348956000,"timestamp_seconds":1780348956,"priority":1,"record_length":96,"hex_timestamp":"0000019e85112d60"} 
[2026-06-02 02:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 02:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":90491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":90491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":90491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769331712001,"66":27484,"224":206,"8":65280,"24":22,"16":304324370229100544,"45":8697576806116118528},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-06-02 02:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769331712001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:53:44] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-02 02:53:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304324370229100544,"km_value":304324370229100.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8697576806116118528,"description":"Unknown IO ID 45"} 
[2026-06-02 02:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769331712001,"power":27484,"unknown_224":206,"unknown_8":65280,"ignition":22,"odometer":null,"unknown_45":8697576806116118528}} 
[2026-06-02 02:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":90491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:53:44] local.INFO: GPS data processed {"connection_id":90491,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:53:44] local.INFO: Acknowledgment sent {"connection_id":90491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:54:25] local.INFO: TCP Data received {"connection_id":90492,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:54:25] local.INFO: Processing buffer {"connection_id":90492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:54:25] local.INFO: IMEI packet received {"connection_id":90492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":90492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:54:30] local.INFO: TCP Data received {"connection_id":90492,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:54:30] local.INFO: Processing buffer {"connection_id":90492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:54:30] local.INFO: IMEI packet received {"connection_id":90492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":90492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:54:31] local.INFO: TCP Data received {"connection_id":90492,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85122760012d78808006000760000701582d..."} 
[2026-06-02 02:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85122760012d78808006000760000701582d..."} 
[2026-06-02 02:54:31] local.INFO: Processing buffer {"connection_id":90492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85122760012d78808006000760000701582d..."} 
[2026-06-02 02:54:31] local.INFO: Packet analysis {"connection_id":90492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:54:31] local.INFO: Extracted packet for processing {"connection_id":90492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:54:31] local.INFO: GPS Element Parsed {"raw_longitude":762871936,"raw_latitude":100665184,"longitude_deg":76.2871936,"latitude_deg":10.0665184,"altitude":7,"angle":344,"satellites":45,"speed":28,"hex_longitude":"2d788080","hex_latitude":"06000760","is_valid_coordinates":true} 
[2026-06-02 02:54: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-06-02 02:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769346816001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304326981569216512,"note":"Value kept but may cause issues"} 
[2026-06-02 02:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8684699325942763520,"note":"Value kept but may cause issues"} 
[2026-06-02 02:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780349020000,"timestamp_ms":1780349020000,"timestamp_seconds":1780349020,"priority":1,"record_length":96,"hex_timestamp":"0000019e85122760"} 
[2026-06-02 02:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:54: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-06-02 02:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 02:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:54: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-06-02 02:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769346816001,"66":27484,"224":206,"8":65280,"24":28,"16":304326981569216512,"45":8684699325942763520},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-06-02 02:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769346816001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:54:31] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-02 02:54:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304326981569216512,"km_value":304326981569216.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8684699325942763520,"description":"Unknown IO ID 45"} 
[2026-06-02 02:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769346816001,"power":27484,"unknown_224":206,"unknown_8":65280,"ignition":28,"odometer":null,"unknown_45":8684699325942763520}} 
[2026-06-02 02:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":90492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:54:31] local.INFO: GPS data processed {"connection_id":90492,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:54:31] local.INFO: Acknowledgment sent {"connection_id":90492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:55:07] local.INFO: TCP Data received {"connection_id":90492,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85123318012d787e0006000db00006014d2d..."} 
[2026-06-02 02:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85123318012d787e0006000db00006014d2d..."} 
[2026-06-02 02:55:07] local.INFO: Processing buffer {"connection_id":90492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85123318012d787e0006000db00006014d2d..."} 
[2026-06-02 02:55:07] local.INFO: Packet analysis {"connection_id":90492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:55:07] local.INFO: Extracted packet for processing {"connection_id":90492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:55:07] local.INFO: GPS Element Parsed {"raw_longitude":762871296,"raw_latitude":100666800,"longitude_deg":76.2871296,"latitude_deg":10.06668,"altitude":6,"angle":333,"satellites":45,"speed":18,"hex_longitude":"2d787e00","hex_latitude":"06000db0","is_valid_coordinates":true} 
[2026-06-02 02:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769349120001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304327063173595136,"note":"Value kept but may cause issues"} 
[2026-06-02 02:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683080844828958720,"note":"Value kept but may cause issues"} 
[2026-06-02 02:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780349023000,"timestamp_ms":1780349023000,"timestamp_seconds":1780349023,"priority":1,"record_length":96,"hex_timestamp":"0000019e85123318"} 
[2026-06-02 02:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 02:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769349120001,"66":27343,"210":206,"8":65280,"24":18,"16":304327063173595136,"45":8683080844828958720},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-06-02 02:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769349120001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:55:07] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 02:55:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304327063173595136,"km_value":304327063173595.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683080844828958720,"description":"Unknown IO ID 45"} 
[2026-06-02 02:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769349120001,"power":27343,"unknown_210":206,"unknown_8":65280,"ignition":18,"odometer":null,"unknown_45":8683080844828958720}} 
[2026-06-02 02:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":90492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:55:07] local.INFO: GPS data processed {"connection_id":90492,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:55:07] local.INFO: Acknowledgment sent {"connection_id":90492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:55:26] local.INFO: TCP Data received {"connection_id":89021,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:26] local.INFO: Processing buffer {"connection_id":89021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:26] local.INFO: IMEI packet received {"connection_id":89021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":89021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:55:28] local.INFO: TCP Data received {"connection_id":89021,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:28] local.INFO: Processing buffer {"connection_id":89021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:28] local.INFO: IMEI packet received {"connection_id":89021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":89021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:55:30] local.INFO: TCP Data received {"connection_id":89021,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:30] local.INFO: Processing buffer {"connection_id":89021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:55:30] local.INFO: IMEI packet received {"connection_id":89021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":89021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:55:32] local.INFO: TCP Data received {"connection_id":89021,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85123ae8012d787c40060010e0000601412d..."} 
[2026-06-02 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85123ae8012d787c40060010e0000601412d..."} 
[2026-06-02 02:55:32] local.INFO: Processing buffer {"connection_id":89021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85123ae8012d787c40060010e0000601412d..."} 
[2026-06-02 02:55:32] local.INFO: Packet analysis {"connection_id":89021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:55:32] local.INFO: Extracted packet for processing {"connection_id":89021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:55:32] local.INFO: GPS Element Parsed {"raw_longitude":762870848,"raw_latitude":100667616,"longitude_deg":76.2870848,"latitude_deg":10.0667616,"altitude":6,"angle":321,"satellites":45,"speed":18,"hex_longitude":"2d787c40","hex_latitude":"060010e0","is_valid_coordinates":true} 
[2026-06-02 02:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769349888001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304327110418235392,"note":"Value kept but may cause issues"} 
[2026-06-02 02:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8682377157387595776,"note":"Value kept but may cause issues"} 
[2026-06-02 02:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780349025000,"timestamp_ms":1780349025000,"timestamp_seconds":1780349025,"priority":1,"record_length":96,"hex_timestamp":"0000019e85123ae8"} 
[2026-06-02 02:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 02:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769349888001,"66":27365,"210":206,"8":65280,"24":18,"16":304327110418235392,"45":8682377157387595776},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-06-02 02:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769349888001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:55:32] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 02:55:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304327110418235392,"km_value":304327110418235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8682377157387595776,"description":"Unknown IO ID 45"} 
[2026-06-02 02:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769349888001,"power":27365,"unknown_210":206,"unknown_8":65280,"ignition":18,"odometer":null,"unknown_45":8682377157387595776}} 
[2026-06-02 02:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":89021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:55:32] local.INFO: GPS data processed {"connection_id":89021,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:55:32] local.INFO: Acknowledgment sent {"connection_id":89021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:56:07] local.INFO: TCP Data received {"connection_id":89021,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85127968012d7875c006001a08000601532d..."} 
[2026-06-02 02:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85127968012d7875c006001a08000601532d..."} 
[2026-06-02 02:56:07] local.INFO: Processing buffer {"connection_id":89021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85127968012d7875c006001a08000601532d..."} 
[2026-06-02 02:56:07] local.INFO: Packet analysis {"connection_id":89021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:56:07] local.INFO: Extracted packet for processing {"connection_id":89021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8512"} 
[2026-06-02 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":762869184,"raw_latitude":100669960,"longitude_deg":76.2869184,"latitude_deg":10.066996,"altitude":6,"angle":339,"satellites":45,"speed":6,"hex_longitude":"2d7875c0","hex_latitude":"06001a08","is_valid_coordinates":true} 
[2026-06-02 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-06-02 02:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769350400001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304327252152156160,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8681884576178561024,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780349041000,"timestamp_ms":1780349041000,"timestamp_seconds":1780349041,"priority":1,"record_length":96,"hex_timestamp":"0000019e85127968"} 
[2026-06-02 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-06-02 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 02:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 02:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769350400001,"66":27343,"210":206,"8":65280,"24":6,"16":304327252152156160,"45":8681884576178561024},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-06-02 02:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769350400001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:56:07] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 02:56:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304327252152156160,"km_value":304327252152156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8681884576178561024,"description":"Unknown IO ID 45"} 
[2026-06-02 02:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769350400001,"power":27343,"unknown_210":206,"unknown_8":65280,"ignition":6,"odometer":null,"unknown_45":8681884576178561024}} 
[2026-06-02 02:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":89021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:56:07] local.INFO: GPS data processed {"connection_id":89021,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:56:07] local.INFO: Acknowledgment sent {"connection_id":89021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:56:24] local.INFO: TCP Data received {"connection_id":89289,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:56:24] local.INFO: Processing buffer {"connection_id":89289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:56:24] local.INFO: IMEI packet received {"connection_id":89289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:56:28] local.INFO: TCP Data received {"connection_id":89290,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:28] local.INFO: Processing buffer {"connection_id":89290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:28] local.INFO: IMEI packet received {"connection_id":89290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":89290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:56:30] local.INFO: TCP Data received {"connection_id":89290,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:30] local.INFO: Processing buffer {"connection_id":89290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:30] local.INFO: IMEI packet received {"connection_id":89290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":89290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:56:36] local.INFO: TCP Data received {"connection_id":89290,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:36] local.INFO: Processing buffer {"connection_id":89290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:56:36] local.INFO: IMEI packet received {"connection_id":89290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":89290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:56:37] local.INFO: TCP Data received {"connection_id":89290,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8513c570012d77aa000600f0e8001301372f..."} 
[2026-06-02 02:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8513c570012d77aa000600f0e8001301372f..."} 
[2026-06-02 02:56:37] local.INFO: Processing buffer {"connection_id":89290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8513c570012d77aa000600f0e8001301372f..."} 
[2026-06-02 02:56:37] local.INFO: Packet analysis {"connection_id":89290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8513"} 
[2026-06-02 02:56:37] local.INFO: Extracted packet for processing {"connection_id":89290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8513"} 
[2026-06-02 02:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":100724968,"longitude_deg":76.2817024,"latitude_deg":10.0724968,"altitude":19,"angle":311,"satellites":47,"speed":48,"hex_longitude":"2d77aa00","hex_latitude":"0600f0e8","is_valid_coordinates":true} 
[2026-06-02 02:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769374208001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304330958708932608,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8630515392941942784,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780349126000,"timestamp_ms":1780349126000,"timestamp_seconds":1780349126,"priority":1,"record_length":96,"hex_timestamp":"0000019e8513c570"} 
[2026-06-02 02:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 02:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769374208001,"66":27463,"210":206,"8":65280,"24":48,"16":304330958708932608,"45":8630515392941942784},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-06-02 02:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769374208001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:56:37] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 02:56:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304330958708932608,"km_value":304330958708932.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8630515392941942784,"description":"Unknown IO ID 45"} 
[2026-06-02 02:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769374208001,"power":27463,"unknown_210":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":8630515392941942784}} 
[2026-06-02 02:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":89290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:56:37] local.INFO: GPS data processed {"connection_id":89290,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:56:37] local.INFO: Acknowledgment sent {"connection_id":89290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:56:38] local.INFO: TCP Data received {"connection_id":89290,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8513e4b0012d778cc006010ad0001201372f..."} 
[2026-06-02 02:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8513e4b0012d778cc006010ad0001201372f..."} 
[2026-06-02 02:56:38] local.INFO: Processing buffer {"connection_id":89290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8513e4b0012d778cc006010ad0001201372f..."} 
[2026-06-02 02:56:38] local.INFO: Packet analysis {"connection_id":89290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8513"} 
[2026-06-02 02:56:38] local.INFO: Extracted packet for processing {"connection_id":89290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8513"} 
[2026-06-02 02:56:38] local.INFO: GPS Element Parsed {"raw_longitude":762809536,"raw_latitude":100731600,"longitude_deg":76.2809536,"latitude_deg":10.07316,"altitude":18,"angle":311,"satellites":47,"speed":50,"hex_longitude":"2d778cc0","hex_latitude":"06010ad0","is_valid_coordinates":true} 
[2026-06-02 02: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-06-02 02:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769376256001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304331439745269760,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462339827712,"note":"Value kept but may cause issues"} 
[2026-06-02 02:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780349134000,"timestamp_ms":1780349134000,"timestamp_seconds":1780349134,"priority":1,"record_length":96,"hex_timestamp":"0000019e8513e4b0"} 
[2026-06-02 02:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 02:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02: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-06-02 02:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769376256001,"66":27321,"210":206,"8":65280,"24":50,"16":304331439745269760,"45":8622704462339827712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-06-02 02:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769376256001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:56:38] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 02:56:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304331439745269760,"km_value":304331439745269.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462339827712,"description":"Unknown IO ID 45"} 
[2026-06-02 02:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769376256001,"power":27321,"unknown_210":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":8622704462339827712}} 
[2026-06-02 02:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":89290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:56:38] local.INFO: GPS data processed {"connection_id":89290,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:56:38] local.INFO: Acknowledgment sent {"connection_id":89290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:56:59] local.INFO: TCP Data received {"connection_id":89427,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:56:59] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 02:56:59] local.INFO: IMEI packet received {"connection_id":89427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 02:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":89427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:57:09] local.INFO: TCP Data received {"connection_id":89290,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e851403f0012d776f0006012490001201372f..."} 
[2026-06-02 02:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e851403f0012d776f0006012490001201372f..."} 
[2026-06-02 02:57:09] local.INFO: Processing buffer {"connection_id":89290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e851403f0012d776f0006012490001201372f..."} 
[2026-06-02 02:57:09] local.INFO: Packet analysis {"connection_id":89290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8514"} 
[2026-06-02 02:57:09] local.INFO: Extracted packet for processing {"connection_id":89290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8514"} 
[2026-06-02 02:57:09] local.INFO: GPS Element Parsed {"raw_longitude":762801920,"raw_latitude":100738192,"longitude_deg":76.280192,"latitude_deg":10.0738192,"altitude":18,"angle":311,"satellites":47,"speed":48,"hex_longitude":"2d776f00","hex_latitude":"06012490","is_valid_coordinates":true} 
[2026-06-02 02:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769378304001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304331925076574208,"note":"Value kept but may cause issues"} 
[2026-06-02 02:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8614471319272738816,"note":"Value kept but may cause issues"} 
[2026-06-02 02:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780349142000,"timestamp_ms":1780349142000,"timestamp_seconds":1780349142,"priority":1,"record_length":96,"hex_timestamp":"0000019e851403f0"} 
[2026-06-02 02:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 02:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769378304001,"66":27365,"210":206,"8":65280,"24":48,"16":304331925076574208,"45":8614471319272738816},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-06-02 02:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769378304001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:57:09] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 02:57:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304331925076574208,"km_value":304331925076574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8614471319272738816,"description":"Unknown IO ID 45"} 
[2026-06-02 02:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769378304001,"power":27365,"unknown_210":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":8614471319272738816}} 
[2026-06-02 02:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":89290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:57:09] local.INFO: GPS data processed {"connection_id":89290,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:57:09] local.INFO: Acknowledgment sent {"connection_id":89290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:57:29] local.INFO: TCP Data received {"connection_id":89428,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:29] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:29] local.INFO: IMEI packet received {"connection_id":89428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":89428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:57:30] local.INFO: TCP Data received {"connection_id":89428,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:30] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:30] local.INFO: IMEI packet received {"connection_id":89428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":89428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:57:33] local.INFO: TCP Data received {"connection_id":89428,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:33] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:57:33] local.INFO: IMEI packet received {"connection_id":89428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":89428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:57:34] local.INFO: TCP Data received {"connection_id":89428,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85142330012d77518006013ed0001101372f..."} 
[2026-06-02 02:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85142330012d77518006013ed0001101372f..."} 
[2026-06-02 02:57:34] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85142330012d77518006013ed0001101372f..."} 
[2026-06-02 02:57:34] local.INFO: Packet analysis {"connection_id":89428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8514"} 
[2026-06-02 02:57:34] local.INFO: Extracted packet for processing {"connection_id":89428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8514"} 
[2026-06-02 02:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762794368,"raw_latitude":100744912,"longitude_deg":76.2794368,"latitude_deg":10.0744912,"altitude":17,"angle":311,"satellites":47,"speed":51,"hex_longitude":"2d775180","hex_latitude":"06013ed0","is_valid_coordinates":true} 
[2026-06-02 02:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769380352001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304332410407878656,"note":"Value kept but may cause issues"} 
[2026-06-02 02:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8606097438717284352,"note":"Value kept but may cause issues"} 
[2026-06-02 02:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780349150000,"timestamp_ms":1780349150000,"timestamp_seconds":1780349150,"priority":1,"record_length":96,"hex_timestamp":"0000019e85142330"} 
[2026-06-02 02:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:57: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-06-02 02:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 02:57:34] 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-06-02 02:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769380352001,"66":27376,"210":206,"8":65280,"24":51,"16":304332410407878656,"45":8606097438717284352},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-06-02 02:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769380352001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:57:34] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 02:57:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304332410407878656,"km_value":304332410407878.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8606097438717284352,"description":"Unknown IO ID 45"} 
[2026-06-02 02:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769380352001,"power":27376,"unknown_210":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":8606097438717284352}} 
[2026-06-02 02:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":89428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:57:34] local.INFO: GPS data processed {"connection_id":89428,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:57:34] local.INFO: Acknowledgment sent {"connection_id":89428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:58:05] local.INFO: TCP Data received {"connection_id":89428,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85158e78012d762cc0060245d80008014c2d..."} 
[2026-06-02 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85158e78012d762cc0060245d80008014c2d..."} 
[2026-06-02 02:58:05] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85158e78012d762cc0060245d80008014c2d..."} 
[2026-06-02 02:58:05] local.INFO: Packet analysis {"connection_id":89428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:58:05] local.INFO: Extracted packet for processing {"connection_id":89428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:58:05] local.INFO: GPS Element Parsed {"raw_longitude":762719424,"raw_latitude":100812248,"longitude_deg":76.2719424,"latitude_deg":10.0812248,"altitude":8,"angle":332,"satellites":45,"speed":25,"hex_longitude":"2d762cc0","hex_latitude":"060245d8","is_valid_coordinates":true} 
[2026-06-02 02:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769405184001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304337332440399872,"note":"Value kept but may cause issues"} 
[2026-06-02 02:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8515884708699834368,"note":"Value kept but may cause issues"} 
[2026-06-02 02:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780349243000,"timestamp_ms":1780349243000,"timestamp_seconds":1780349243,"priority":1,"record_length":96,"hex_timestamp":"0000019e85158e78"} 
[2026-06-02 02:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 02:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 02:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769405184001,"66":27300,"63":206,"8":65280,"24":25,"16":304337332440399872,"45":8515884708699834368},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-06-02 02:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769405184001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:58:05] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 02:58:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304337332440399872,"km_value":304337332440399.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8515884708699834368,"description":"Unknown IO ID 45"} 
[2026-06-02 02:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769405184001,"power":27300,"unknown_63":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":8515884708699834368}} 
[2026-06-02 02:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":89428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:58:05] local.INFO: GPS data processed {"connection_id":89428,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:58:05] local.INFO: Acknowledgment sent {"connection_id":89428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:58:25] local.INFO: TCP Data received {"connection_id":89023,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:25] local.INFO: Processing buffer {"connection_id":89023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:25] local.INFO: IMEI packet received {"connection_id":89023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":89023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:58:26] local.INFO: TCP Data received {"connection_id":89023,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:26] local.INFO: Processing buffer {"connection_id":89023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:26] local.INFO: IMEI packet received {"connection_id":89023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":89023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:58:30] local.INFO: TCP Data received {"connection_id":89023,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:30] local.INFO: Processing buffer {"connection_id":89023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:58:30] local.INFO: IMEI packet received {"connection_id":89023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":89023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:58:31] local.INFO: TCP Data received {"connection_id":89023,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85159260012d762b40060247d0000801412d..."} 
[2026-06-02 02:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85159260012d762b40060247d0000801412d..."} 
[2026-06-02 02:58:31] local.INFO: Processing buffer {"connection_id":89023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85159260012d762b40060247d0000801412d..."} 
[2026-06-02 02:58:31] local.INFO: Packet analysis {"connection_id":89023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:58:31] local.INFO: Extracted packet for processing {"connection_id":89023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:58:31] local.INFO: GPS Element Parsed {"raw_longitude":762719040,"raw_latitude":100812752,"longitude_deg":76.271904,"latitude_deg":10.0812752,"altitude":8,"angle":321,"satellites":45,"speed":23,"hex_longitude":"2d762b40","hex_latitude":"060247d0","is_valid_coordinates":true} 
[2026-06-02 02:58: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-06-02 02:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769406208001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304337362505170944,"note":"Value kept but may cause issues"} 
[2026-06-02 02:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8515392127491233792,"note":"Value kept but may cause issues"} 
[2026-06-02 02:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780349244000,"timestamp_ms":1780349244000,"timestamp_seconds":1780349244,"priority":1,"record_length":96,"hex_timestamp":"0000019e85159260"} 
[2026-06-02 02:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:58: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-06-02 02:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 02:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 02:58: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-06-02 02:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769406208001,"66":27180,"63":206,"8":65280,"24":23,"16":304337362505170944,"45":8515392127491233792},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-06-02 02:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769406208001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:58:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 02:58:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304337362505170944,"km_value":304337362505170.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8515392127491233792,"description":"Unknown IO ID 45"} 
[2026-06-02 02:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769406208001,"power":27180,"unknown_63":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":8515392127491233792}} 
[2026-06-02 02:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":89023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:58:31] local.INFO: GPS data processed {"connection_id":89023,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:58:31] local.INFO: Acknowledgment sent {"connection_id":89023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:59:02] local.INFO: TCP Data received {"connection_id":89023,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85159a30012d76280006024af0000801352e..."} 
[2026-06-02 02:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85159a30012d76280006024af0000801352e..."} 
[2026-06-02 02:59:02] local.INFO: Processing buffer {"connection_id":89023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85159a30012d76280006024af0000801352e..."} 
[2026-06-02 02:59:02] local.INFO: Packet analysis {"connection_id":89023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:59:02] local.INFO: Extracted packet for processing {"connection_id":89023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:59:02] local.INFO: GPS Element Parsed {"raw_longitude":762718208,"raw_latitude":100813552,"longitude_deg":76.2718208,"latitude_deg":10.0813552,"altitude":8,"angle":309,"satellites":46,"speed":23,"hex_longitude":"2d762800","hex_latitude":"06024af0","is_valid_coordinates":true} 
[2026-06-02 02:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 02:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769406464001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304337418339745792,"note":"Value kept but may cause issues"} 
[2026-06-02 02:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8514969915026296832,"note":"Value kept but may cause issues"} 
[2026-06-02 02:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780349246000,"timestamp_ms":1780349246000,"timestamp_seconds":1780349246,"priority":1,"record_length":96,"hex_timestamp":"0000019e85159a30"} 
[2026-06-02 02:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:59: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-06-02 02:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 02:59:02] 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-06-02 02:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 02:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769406464001,"66":26984,"63":206,"8":65280,"24":23,"16":304337418339745792,"45":8514969915026296832},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-06-02 02:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769406464001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:59:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 02:59:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304337418339745792,"km_value":304337418339745.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8514969915026296832,"description":"Unknown IO ID 45"} 
[2026-06-02 02:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769406464001,"power":26984,"unknown_63":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":8514969915026296832}} 
[2026-06-02 02:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":89023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:59:02] local.INFO: GPS data processed {"connection_id":89023,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:59:02] local.INFO: Acknowledgment sent {"connection_id":89023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 02:59:25] local.INFO: TCP Data received {"connection_id":90494,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:59:25] local.INFO: Processing buffer {"connection_id":90494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:59:25] local.INFO: IMEI packet received {"connection_id":90494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 02:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":90494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 02:59:30] local.INFO: TCP Data received {"connection_id":90494,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:59:30] local.INFO: Processing buffer {"connection_id":90494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 02:59:30] local.INFO: IMEI packet received {"connection_id":90494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 02:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":90494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 02:59:31] local.INFO: TCP Data received {"connection_id":90494,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8515c910012d760c40060262e0000801392f..."} 
[2026-06-02 02:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8515c910012d760c40060262e0000801392f..."} 
[2026-06-02 02:59:31] local.INFO: Processing buffer {"connection_id":90494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8515c910012d760c40060262e0000801392f..."} 
[2026-06-02 02:59:31] local.INFO: Packet analysis {"connection_id":90494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:59:31] local.INFO: Extracted packet for processing {"connection_id":90494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8515"} 
[2026-06-02 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762711104,"raw_latitude":100819680,"longitude_deg":76.2711104,"latitude_deg":10.081968,"altitude":8,"angle":313,"satellites":47,"speed":37,"hex_longitude":"2d760c40","hex_latitude":"060262e0","is_valid_coordinates":true} 
[2026-06-02 02:59: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-06-02 02:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769406976001,"note":"Value kept but may cause issues"} 
[2026-06-02 02:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304337869311311872,"note":"Value kept but may cause issues"} 
[2026-06-02 02:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8514055121352192000,"note":"Value kept but may cause issues"} 
[2026-06-02 02:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 02:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780349258000,"timestamp_ms":1780349258000,"timestamp_seconds":1780349258,"priority":1,"record_length":96,"hex_timestamp":"0000019e8515c910"} 
[2026-06-02 02:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 02:59: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-06-02 02:59: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 02:59:31] 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-06-02 02:59: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-06-02 02:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 02:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 02:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 02:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 02:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 02:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 02:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 02:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769406976001,"66":27332,"63":206,"8":65280,"24":37,"16":304337869311311872,"45":8514055121352192000},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-06-02 02:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 02:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 02:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769406976001,"description":"Unknown IO ID 0"} 
[2026-06-02 02:59:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 02:59:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 02:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304337869311311872,"km_value":304337869311311.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 02:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8514055121352192000,"description":"Unknown IO ID 45"} 
[2026-06-02 02:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769406976001,"power":27332,"unknown_63":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8514055121352192000}} 
[2026-06-02 02:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":90494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 02:59:31] local.INFO: GPS data processed {"connection_id":90494,"processed":1,"errors":0,"total":1} 
[2026-06-02 02:59:31] local.INFO: Acknowledgment sent {"connection_id":90494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:00:02] local.INFO: TCP Data received {"connection_id":90494,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e851724b8012d758cc006035448000a01562d..."} 
[2026-06-02 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e851724b8012d758cc006035448000a01562d..."} 
[2026-06-02 03:00:02] local.INFO: Processing buffer {"connection_id":90494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e851724b8012d758cc006035448000a01562d..."} 
[2026-06-02 03:00:02] local.INFO: Packet analysis {"connection_id":90494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:00:02] local.INFO: Extracted packet for processing {"connection_id":90494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:00:02] local.INFO: GPS Element Parsed {"raw_longitude":762678464,"raw_latitude":100881480,"longitude_deg":76.2678464,"latitude_deg":10.088148,"altitude":10,"angle":342,"satellites":45,"speed":42,"hex_longitude":"2d758cc0","hex_latitude":"06035448","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769430272001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304341343939854336,"note":"Value kept but may cause issues"} 
[2026-06-02 03:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8473593093465083904,"note":"Value kept but may cause issues"} 
[2026-06-02 03:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780349347000,"timestamp_ms":1780349347000,"timestamp_seconds":1780349347,"priority":1,"record_length":96,"hex_timestamp":"0000019e851724b8"} 
[2026-06-02 03:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:00: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-06-02 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769430272001,"66":27343,"63":206,"8":65280,"24":42,"16":304341343939854336,"45":8473593093465083904},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-06-02 03:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769430272001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:00:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 03:00:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304341343939854336,"km_value":304341343939854.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8473593093465083904,"description":"Unknown IO ID 45"} 
[2026-06-02 03:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769430272001,"power":27343,"unknown_63":206,"unknown_8":65280,"ignition":42,"odometer":null,"unknown_45":8473593093465083904}} 
[2026-06-02 03:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":90494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:00:02] local.INFO: GPS data processed {"connection_id":90494,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:00:02] local.INFO: Acknowledgment sent {"connection_id":90494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:00:25] local.INFO: TCP Data received {"connection_id":89024,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:00:25] local.INFO: Processing buffer {"connection_id":89024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:00:25] local.INFO: IMEI packet received {"connection_id":89024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":89024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:00:30] local.INFO: TCP Data received {"connection_id":89024,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:00:30] local.INFO: Processing buffer {"connection_id":89024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:00:30] local.INFO: IMEI packet received {"connection_id":89024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":89024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:00:31] local.INFO: TCP Data received {"connection_id":89024,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e851743f8012d7581c0060375c0000a01552d..."} 
[2026-06-02 03:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e851743f8012d7581c0060375c0000a01552d..."} 
[2026-06-02 03:00:31] local.INFO: Processing buffer {"connection_id":89024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e851743f8012d7581c0060375c0000a01552d..."} 
[2026-06-02 03:00:31] local.INFO: Packet analysis {"connection_id":89024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:00:31] local.INFO: Extracted packet for processing {"connection_id":89024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:00:31] local.INFO: GPS Element Parsed {"raw_longitude":762675648,"raw_latitude":100890048,"longitude_deg":76.2675648,"latitude_deg":10.0890048,"altitude":10,"angle":341,"satellites":45,"speed":46,"hex_longitude":"2d7581c0","hex_latitude":"060375c0","is_valid_coordinates":true} 
[2026-06-02 03:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769432832001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304341782026518528,"note":"Value kept but may cause issues"} 
[2026-06-02 03:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8470356131235252224,"note":"Value kept but may cause issues"} 
[2026-06-02 03:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780349355000,"timestamp_ms":1780349355000,"timestamp_seconds":1780349355,"priority":1,"record_length":96,"hex_timestamp":"0000019e851743f8"} 
[2026-06-02 03:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:00: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-06-02 03:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:00: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-06-02 03:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769432832001,"66":27343,"22":206,"8":65280,"24":46,"16":304341782026518528,"45":8470356131235252224},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-06-02 03:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769432832001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:00:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-02 03:00:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304341782026518528,"km_value":304341782026518.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8470356131235252224,"description":"Unknown IO ID 45"} 
[2026-06-02 03:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769432832001,"power":27343,"unknown_22":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8470356131235252224}} 
[2026-06-02 03:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":89024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:00:31] local.INFO: GPS data processed {"connection_id":89024,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:00:31] local.INFO: Acknowledgment sent {"connection_id":89024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:01:02] local.INFO: TCP Data received {"connection_id":89024,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85176338012d75764006039878000b01572c..."} 
[2026-06-02 03:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85176338012d75764006039878000b01572c..."} 
[2026-06-02 03:01:02] local.INFO: Processing buffer {"connection_id":89024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85176338012d75764006039878000b01572c..."} 
[2026-06-02 03:01:02] local.INFO: Packet analysis {"connection_id":89024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:02] local.INFO: Extracted packet for processing {"connection_id":89024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762672704,"raw_latitude":100898936,"longitude_deg":76.2672704,"latitude_deg":10.0898936,"altitude":11,"angle":343,"satellites":44,"speed":45,"hex_longitude":"2d757640","hex_latitude":"06039878","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769434880001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304342232998084608,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8467259906493628416,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780349363000,"timestamp_ms":1780349363000,"timestamp_seconds":1780349363,"priority":1,"record_length":96,"hex_timestamp":"0000019e85176338"} 
[2026-06-02 03:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:01: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-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769434880001,"66":27343,"22":206,"8":65280,"24":45,"16":304342232998084608,"45":8467259906493628416},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-06-02 03:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769434880001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:01:02] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-02 03:01:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304342232998084608,"km_value":304342232998084.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8467259906493628416,"description":"Unknown IO ID 45"} 
[2026-06-02 03:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769434880001,"power":27343,"unknown_22":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":8467259906493628416}} 
[2026-06-02 03:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":89024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:01:02] local.INFO: GPS data processed {"connection_id":89024,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:01:02] local.INFO: Acknowledgment sent {"connection_id":89024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:01:35] local.INFO: TCP Data received {"connection_id":89430,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:01:35] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:01:35] local.INFO: IMEI packet received {"connection_id":89430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":89430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:01:40] local.INFO: TCP Data received {"connection_id":89430,"ip":"117.224.195.65","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:01:40] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:01:40] local.INFO: IMEI packet received {"connection_id":89430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":89430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:01:43] local.INFO: TCP Data received {"connection_id":89430,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85178278012d756c000603bae0000f01592a..."} 
[2026-06-02 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85178278012d756c000603bae0000f01592a..."} 
[2026-06-02 03:01:43] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:01:43] local.INFO: IMEI packet received {"connection_id":89430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":89430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:01:44] local.INFO: TCP Data received {"connection_id":89430,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8517a1b8012d7563c00603dfe80010015c2b..."} 
[2026-06-02 03:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8517a1b8012d7563c00603dfe80010015c2b..."} 
[2026-06-02 03:01:44] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e85178278012d756c000603bae0000f01592a..."} 
[2026-06-02 03:01:44] local.INFO: Packet analysis {"connection_id":89430,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:44] local.INFO: Extracted packet for processing {"connection_id":89430,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:44] local.INFO: GPS Element Parsed {"raw_longitude":762670080,"raw_latitude":100907744,"longitude_deg":76.267008,"latitude_deg":10.0907744,"altitude":15,"angle":345,"satellites":42,"speed":46,"hex_longitude":"2d756c00","hex_latitude":"0603bae0","is_valid_coordinates":true} 
[2026-06-02 03:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769436928001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304342679674683392,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8464022944263731200,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780349371000,"timestamp_ms":1780349371000,"timestamp_seconds":1780349371,"priority":1,"record_length":96,"hex_timestamp":"0000019e85178278"} 
[2026-06-02 03:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:01: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-06-02 03:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769436928001,"66":27245,"22":206,"8":65280,"24":46,"16":304342679674683392,"45":8464022944263731200},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769436928001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304342679674683392,"km_value":304342679674683.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8464022944263731200,"description":"Unknown IO ID 45"} 
[2026-06-02 03:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769436928001,"power":27245,"unknown_22":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8464022944263731200}} 
[2026-06-02 03:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":89430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:01:44] local.INFO: GPS data processed {"connection_id":89430,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:01:44] local.INFO: Acknowledgment sent {"connection_id":89430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:01:44] local.INFO: Packet analysis {"connection_id":89430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:44] local.INFO: Extracted packet for processing {"connection_id":89430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:44] local.INFO: GPS Element Parsed {"raw_longitude":762667968,"raw_latitude":100917224,"longitude_deg":76.2667968,"latitude_deg":10.0917224,"altitude":16,"angle":348,"satellites":43,"speed":49,"hex_longitude":"2d7563c0","hex_latitude":"0603dfe8","is_valid_coordinates":true} 
[2026-06-02 03:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769438976001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304343147826118656,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8461137825754701824,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780349379000,"timestamp_ms":1780349379000,"timestamp_seconds":1780349379,"priority":1,"record_length":96,"hex_timestamp":"0000019e8517a1b8"} 
[2026-06-02 03:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:01: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-06-02 03:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 03:01:44] 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-06-02 03:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769438976001,"66":27310,"22":206,"8":65280,"24":49,"16":304343147826118656,"45":8461137825754701824},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-06-02 03:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769438976001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304343147826118656,"km_value":304343147826118.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8461137825754701824,"description":"Unknown IO ID 45"} 
[2026-06-02 03:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769438976001,"power":27310,"unknown_22":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8461137825754701824}} 
[2026-06-02 03:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":89430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:01:44] local.INFO: GPS data processed {"connection_id":89430,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:01:44] local.INFO: Acknowledgment sent {"connection_id":89430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:01:45] local.INFO: TCP Data received {"connection_id":89430,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8517bd10012d755d0006040310000e015b2d..."} 
[2026-06-02 03:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8517bd10012d755d0006040310000e015b2d..."} 
[2026-06-02 03:01:45] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8517bd10012d755d0006040310000e015b2d..."} 
[2026-06-02 03:01:45] local.INFO: Packet analysis {"connection_id":89430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:45] local.INFO: Extracted packet for processing {"connection_id":89430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8517"} 
[2026-06-02 03:01:45] local.INFO: GPS Element Parsed {"raw_longitude":762666240,"raw_latitude":100926224,"longitude_deg":76.266624,"latitude_deg":10.0926224,"altitude":14,"angle":347,"satellites":45,"speed":54,"hex_longitude":"2d755d00","hex_latitude":"06040310","is_valid_coordinates":true} 
[2026-06-02 03:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769441024001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304343594502717440,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8458815657199265792,"note":"Value kept but may cause issues"} 
[2026-06-02 03:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780349386000,"timestamp_ms":1780349386000,"timestamp_seconds":1780349386,"priority":1,"record_length":96,"hex_timestamp":"0000019e8517bd10"} 
[2026-06-02 03:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 03:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769441024001,"66":27365,"22":206,"8":65280,"24":54,"16":304343594502717440,"45":8458815657199265792},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-06-02 03:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769441024001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:01:45] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-02 03:01:45] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304343594502717440,"km_value":304343594502717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8458815657199265792,"description":"Unknown IO ID 45"} 
[2026-06-02 03:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769441024001,"power":27365,"unknown_22":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":8458815657199265792}} 
[2026-06-02 03:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":89430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:01:45] local.INFO: GPS data processed {"connection_id":89430,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:01:45] local.INFO: Acknowledgment sent {"connection_id":89430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:02:24] local.INFO: TCP Data received {"connection_id":89431,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:02:24] local.INFO: Processing buffer {"connection_id":89431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:02:24] local.INFO: IMEI packet received {"connection_id":89431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":89431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:02:25] local.INFO: TCP Data received {"connection_id":89025,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:02:25] local.INFO: Processing buffer {"connection_id":89025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:02:25] local.INFO: IMEI packet received {"connection_id":89025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":89025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:02:30] local.INFO: TCP Data received {"connection_id":89025,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:02:30] local.INFO: Processing buffer {"connection_id":89025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:02:30] local.INFO: IMEI packet received {"connection_id":89025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":89025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:02:31] local.INFO: TCP Data received {"connection_id":89025,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85193410012d74edc0060556300009015e2e..."} 
[2026-06-02 03:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85193410012d74edc0060556300009015e2e..."} 
[2026-06-02 03:02:31] local.INFO: Processing buffer {"connection_id":89025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85193410012d74edc0060556300009015e2e..."} 
[2026-06-02 03:02:31] local.INFO: Packet analysis {"connection_id":89025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8519"} 
[2026-06-02 03:02:31] local.INFO: Extracted packet for processing {"connection_id":89025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8519"} 
[2026-06-02 03:02:31] local.INFO: GPS Element Parsed {"raw_longitude":762637760,"raw_latitude":101013040,"longitude_deg":76.263776,"latitude_deg":10.101304,"altitude":9,"angle":350,"satellites":46,"speed":27,"hex_longitude":"2d74edc0","hex_latitude":"06055630","is_valid_coordinates":true} 
[2026-06-02 03:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769463808001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304348031203934208,"note":"Value kept but may cause issues"} 
[2026-06-02 03:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8428768203457728512,"note":"Value kept but may cause issues"} 
[2026-06-02 03:02:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 03:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780349482000,"timestamp_ms":1780349482000,"timestamp_seconds":1780349482,"priority":1,"record_length":96,"hex_timestamp":"0000019e85193410"} 
[2026-06-02 03:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:02: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-06-02 03:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769463808001,"66":27397,"24":27,"8":65280,"16":304348031203934208,"45":8428768203457728512},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-06-02 03:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769463808001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:02:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304348031203934208,"km_value":304348031203934.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8428768203457728512,"description":"Unknown IO ID 45"} 
[2026-06-02 03:02:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769463808001,"power":27397,"ignition":27,"unknown_8":65280,"odometer":null,"unknown_45":8428768203457728512}} 
[2026-06-02 03:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":89025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:02:31] local.INFO: GPS data processed {"connection_id":89025,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:02:31] local.INFO: Acknowledgment sent {"connection_id":89025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:02:59] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:02:59] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:02:59] local.INFO: IMEI packet received {"connection_id":89432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":89432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:03:03] local.INFO: TCP Data received {"connection_id":89025,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e851962f0012d74e40006057aa8000a01572c..."} 
[2026-06-02 03:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e851962f0012d74e40006057aa8000a01572c..."} 
[2026-06-02 03:03:03] local.INFO: Processing buffer {"connection_id":89025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e851962f0012d74e40006057aa8000a01572c..."} 
[2026-06-02 03:03:03] local.INFO: Packet analysis {"connection_id":89025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8519"} 
[2026-06-02 03:03:03] local.INFO: Extracted packet for processing {"connection_id":89025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8519"} 
[2026-06-02 03:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762635264,"raw_latitude":101022376,"longitude_deg":76.2635264,"latitude_deg":10.1022376,"altitude":10,"angle":343,"satellites":44,"speed":34,"hex_longitude":"2d74e400","hex_latitude":"06057aa8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769467392001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304348499355369472,"note":"Value kept but may cause issues"} 
[2026-06-02 03:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8425601609971937280,"note":"Value kept but may cause issues"} 
[2026-06-02 03:03:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 03:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780349494000,"timestamp_ms":1780349494000,"timestamp_seconds":1780349494,"priority":1,"record_length":96,"hex_timestamp":"0000019e851962f0"} 
[2026-06-02 03:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:03: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-06-02 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 03:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769467392001,"66":26767,"24":34,"8":65280,"16":304348499355369472,"45":8425601609971937280},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-06-02 03:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769467392001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:03:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304348499355369472,"km_value":304348499355369.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8425601609971937280,"description":"Unknown IO ID 45"} 
[2026-06-02 03:03:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769467392001,"power":26767,"ignition":34,"unknown_8":65280,"odometer":null,"unknown_45":8425601609971937280}} 
[2026-06-02 03:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":89025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:03:03] local.INFO: GPS data processed {"connection_id":89025,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:03:03] local.INFO: Acknowledgment sent {"connection_id":89025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:03:23] local.INFO: TCP Data received {"connection_id":89433,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:23] local.INFO: Processing buffer {"connection_id":89433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:23] local.INFO: IMEI packet received {"connection_id":89433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":89433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:03:25] local.INFO: TCP Data received {"connection_id":89433,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:25] local.INFO: Processing buffer {"connection_id":89433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:25] local.INFO: IMEI packet received {"connection_id":89433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":89433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:03:30] local.INFO: TCP Data received {"connection_id":89433,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:30] local.INFO: Processing buffer {"connection_id":89433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:03:30] local.INFO: IMEI packet received {"connection_id":89433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":89433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:03:35] local.INFO: TCP Data received {"connection_id":89433,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85197678012d74e0c006058ac0000a01642e..."} 
[2026-06-02 03:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85197678012d74e0c006058ac0000a01642e..."} 
[2026-06-02 03:03:35] local.INFO: Processing buffer {"connection_id":89433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85197678012d74e0c006058ac0000a01642e..."} 
[2026-06-02 03:03:35] local.INFO: Packet analysis {"connection_id":89433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8519"} 
[2026-06-02 03:03:35] local.INFO: Extracted packet for processing {"connection_id":89433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8519"} 
[2026-06-02 03:03:35] local.INFO: GPS Element Parsed {"raw_longitude":762634432,"raw_latitude":101026496,"longitude_deg":76.2634432,"latitude_deg":10.1026496,"altitude":10,"angle":356,"satellites":46,"speed":33,"hex_longitude":"2d74e0c0","hex_latitude":"06058ac0","is_valid_coordinates":true} 
[2026-06-02 03:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769470464001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304348705513799680,"note":"Value kept but may cause issues"} 
[2026-06-02 03:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8422857228951398400,"note":"Value kept but may cause issues"} 
[2026-06-02 03:03:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 03:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780349499000,"timestamp_ms":1780349499000,"timestamp_seconds":1780349499,"priority":1,"record_length":96,"hex_timestamp":"0000019e85197678"} 
[2026-06-02 03:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:03: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-06-02 03:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-06-02 03:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769470464001,"66":27321,"24":33,"8":65280,"16":304348705513799680,"45":8422857228951398400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-06-02 03:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769470464001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:03:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304348705513799680,"km_value":304348705513799.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8422857228951398400,"description":"Unknown IO ID 45"} 
[2026-06-02 03:03:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769470464001,"power":27321,"ignition":33,"unknown_8":65280,"odometer":null,"unknown_45":8422857228951398400}} 
[2026-06-02 03:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":89433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:03:35] local.INFO: GPS data processed {"connection_id":89433,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:03:35] local.INFO: Acknowledgment sent {"connection_id":89433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:04:35] local.INFO: TCP Data received {"connection_id":89433,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e851addd8012d747bc00606c2d8000e01592c..."} 
[2026-06-02 03:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e851addd8012d747bc00606c2d8000e01592c..."} 
[2026-06-02 03:04:35] local.INFO: Processing buffer {"connection_id":89433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e851addd8012d747bc00606c2d8000e01592c..."} 
[2026-06-02 03:04:35] local.INFO: Packet analysis {"connection_id":89433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e851a"} 
[2026-06-02 03:04:35] local.INFO: Extracted packet for processing {"connection_id":89433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e851a"} 
[2026-06-02 03:04:35] local.INFO: GPS Element Parsed {"raw_longitude":762608576,"raw_latitude":101106392,"longitude_deg":76.2608576,"latitude_deg":10.1106392,"altitude":14,"angle":345,"satellites":44,"speed":45,"hex_longitude":"2d747bc0","hex_latitude":"0606c2d8","is_valid_coordinates":true} 
[2026-06-02 03:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769493248001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304352897401880576,"note":"Value kept but may cause issues"} 
[2026-06-02 03:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8396046737439016960,"note":"Value kept but may cause issues"} 
[2026-06-02 03:04:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 03:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780349591000,"timestamp_ms":1780349591000,"timestamp_seconds":1780349591,"priority":1,"record_length":96,"hex_timestamp":"0000019e851addd8"} 
[2026-06-02 03:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 03:04:35] 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-06-02 03:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769493248001,"66":27213,"24":45,"8":65280,"16":304352897401880576,"45":8396046737439016960},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-06-02 03:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769493248001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:04:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304352897401880576,"km_value":304352897401880.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8396046737439016960,"description":"Unknown IO ID 45"} 
[2026-06-02 03:04:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455769493248001,"power":27213,"ignition":45,"unknown_8":65280,"odometer":null,"unknown_45":8396046737439016960}} 
[2026-06-02 03:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":89433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:04:35] local.INFO: GPS data processed {"connection_id":89433,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:04:35] local.INFO: Acknowledgment sent {"connection_id":89433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:08:24] local.INFO: TCP Data received {"connection_id":89294,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:08:24] local.INFO: Processing buffer {"connection_id":89294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:08:24] local.INFO: IMEI packet received {"connection_id":89294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":89294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:08:59] local.INFO: TCP Data received {"connection_id":90497,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:08:59] local.INFO: Processing buffer {"connection_id":90497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:08:59] local.INFO: IMEI packet received {"connection_id":90497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":90497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:09:04] local.INFO: TCP Data received {"connection_id":90497,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:09:04] local.INFO: Processing buffer {"connection_id":90497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:09:04] local.INFO: IMEI packet received {"connection_id":90497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 03:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":90497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:09:06] local.INFO: TCP Data received {"connection_id":90497,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8511e8e0012d34cc4006aa57f0000a010123..."} 
[2026-06-02 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8511e8e0012d34cc4006aa57f0000a010123..."} 
[2026-06-02 03:09:06] local.INFO: Processing buffer {"connection_id":90497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8511e8e0012d34cc4006aa57f0000a010123..."} 
[2026-06-02 03:09:06] local.INFO: Packet analysis {"connection_id":90497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8511"} 
[2026-06-02 03:09:06] local.INFO: Extracted packet for processing {"connection_id":90497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8511"} 
[2026-06-02 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111826928,"longitude_deg":75.843488,"latitude_deg":11.1826928,"altitude":10,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa57f0","is_valid_coordinates":true} 
[2026-06-02 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769339648001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":118637605284741120,"note":"Value kept but may cause issues"} 
[2026-06-02 03:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182593097728,"note":"Value kept but may cause issues"} 
[2026-06-02 03:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780349004000,"timestamp_ms":1780349004000,"timestamp_seconds":1780349004,"priority":1,"record_length":96,"hex_timestamp":"0000019e8511e8e0"} 
[2026-06-02 03:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-02 03:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 03:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 03:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 03:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 03:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769339648001,"66":28224,"97":206,"81":23296,"24":0,"16":118637605284741120,"45":3804486182593097728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-02 03:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 03:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 03:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769339648001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 03:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-02 03:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":118637605284741120,"km_value":118637605284741.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182593097728,"description":"Unknown IO ID 45"} 
[2026-06-02 03:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769339648001,"power":28224,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182593097728}} 
[2026-06-02 03:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":90497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:09:06] local.INFO: GPS data processed {"connection_id":90497,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:09:06] local.INFO: Acknowledgment sent {"connection_id":90497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:09:49] local.INFO: TCP Data received {"connection_id":89436,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:09:49] local.INFO: Processing buffer {"connection_id":89436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:09:49] local.INFO: IMEI packet received {"connection_id":89436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":89436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:09:50] local.INFO: TCP Data received {"connection_id":89435,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:09:50] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:09:50] local.INFO: IMEI packet received {"connection_id":89435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":89435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:09:52] local.INFO: TCP Data received {"connection_id":89435,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e851ef8a0012d71eb400608e0b00009014f2d..."} 
[2026-06-02 03:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e851ef8a0012d71eb400608e0b00009014f2d..."} 
[2026-06-02 03:09:52] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e851ef8a0012d71eb400608e0b00009014f2d..."} 
[2026-06-02 03:09:52] local.INFO: Packet analysis {"connection_id":89435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e851e"} 
[2026-06-02 03:09:52] local.INFO: Extracted packet for processing {"connection_id":89435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e851e"} 
[2026-06-02 03:09:52] local.INFO: GPS Element Parsed {"raw_longitude":762440512,"raw_latitude":101245104,"longitude_deg":76.2440512,"latitude_deg":10.1245104,"altitude":9,"angle":335,"satellites":45,"speed":22,"hex_longitude":"2d71eb40","hex_latitude":"0608e0b0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769563904001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304365460181221376,"note":"Value kept but may cause issues"} 
[2026-06-02 03:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8209006615452377088,"note":"Value kept but may cause issues"} 
[2026-06-02 03:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780349860000,"timestamp_ms":1780349860000,"timestamp_seconds":1780349860,"priority":1,"record_length":96,"hex_timestamp":"0000019e851ef8a0"} 
[2026-06-02 03:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:09: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-06-02 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 03:09: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-06-02 03: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-06-02 03:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":89435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":89435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":89435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769563904001,"66":27463,"233":206,"8":65280,"24":22,"16":304365460181221376,"45":8209006615452377088},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-06-02 03:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769563904001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-06-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304365460181221376,"km_value":304365460181221.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8209006615452377088,"description":"Unknown IO ID 45"} 
[2026-06-02 03:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769563904001,"power":27463,"unknown_233":206,"unknown_8":65280,"ignition":22,"odometer":null,"unknown_45":8209006615452377088}} 
[2026-06-02 03:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":89435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:09:52] local.INFO: GPS data processed {"connection_id":89435,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:09:52] local.INFO: Acknowledgment sent {"connection_id":89435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:10:25] local.INFO: TCP Data received {"connection_id":89030,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:10:25] local.INFO: Processing buffer {"connection_id":89030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:10:25] local.INFO: IMEI packet received {"connection_id":89030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":89030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:10:30] local.INFO: TCP Data received {"connection_id":89030,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:10:31] local.INFO: Processing buffer {"connection_id":89030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:10:31] local.INFO: IMEI packet received {"connection_id":89030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":89030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:10:32] local.INFO: TCP Data received {"connection_id":89030,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85208710012d7176c0060a13a8000b014d2e..."} 
[2026-06-02 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85208710012d7176c0060a13a8000b014d2e..."} 
[2026-06-02 03:10:32] local.INFO: Processing buffer {"connection_id":89030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85208710012d7176c0060a13a8000b014d2e..."} 
[2026-06-02 03:10:32] local.INFO: Packet analysis {"connection_id":89030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8520"} 
[2026-06-02 03:10:32] local.INFO: Extracted packet for processing {"connection_id":89030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8520"} 
[2026-06-02 03:10:32] local.INFO: GPS Element Parsed {"raw_longitude":762410688,"raw_latitude":101323688,"longitude_deg":76.2410688,"latitude_deg":10.1323688,"altitude":11,"angle":333,"satellites":46,"speed":42,"hex_longitude":"2d7176c0","hex_latitude":"060a13a8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304369574759890944,"note":"Value kept but may cause issues"} 
[2026-06-02 03:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8181281330264674304,"note":"Value kept but may cause issues"} 
[2026-06-02 03:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780349962000,"timestamp_ms":1780349962000,"timestamp_seconds":1780349962,"priority":1,"record_length":96,"hex_timestamp":"0000019e85208710"} 
[2026-06-02 03:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03: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-06-02 03:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769587968001,"66":27321,"29":206,"8":65280,"24":42,"16":304369574759890944,"45":8181281330264674304},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 03:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:10:32] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 03:10:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304369574759890944,"km_value":304369574759890.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8181281330264674304,"description":"Unknown IO ID 45"} 
[2026-06-02 03:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769587968001,"power":27321,"unknown_29":206,"unknown_8":65280,"ignition":42,"odometer":null,"unknown_45":8181281330264674304}} 
[2026-06-02 03:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":89030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:10:33] local.INFO: GPS data processed {"connection_id":89030,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:10:33] local.INFO: Acknowledgment sent {"connection_id":89030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:11:13] local.INFO: TCP Data received {"connection_id":89030,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8520a650012d716540060a3248000b01492c..."} 
[2026-06-02 03:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8520a650012d716540060a3248000b01492c..."} 
[2026-06-02 03:11:13] local.INFO: Processing buffer {"connection_id":89030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8520a650012d716540060a3248000b01492c..."} 
[2026-06-02 03:11:13] local.INFO: Packet analysis {"connection_id":89030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8520"} 
[2026-06-02 03:11:13] local.INFO: Extracted packet for processing {"connection_id":89030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8520"} 
[2026-06-02 03:11:13] local.INFO: GPS Element Parsed {"raw_longitude":762406208,"raw_latitude":101331528,"longitude_deg":76.2406208,"latitude_deg":10.1331528,"altitude":11,"angle":329,"satellites":44,"speed":45,"hex_longitude":"2d716540","hex_latitude":"060a3248","is_valid_coordinates":true} 
[2026-06-02 03:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769590272001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304370008551587840,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8175933305709111296,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780349970000,"timestamp_ms":1780349970000,"timestamp_seconds":1780349970,"priority":1,"record_length":96,"hex_timestamp":"0000019e8520a650"} 
[2026-06-02 03:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:11: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-06-02 03:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:11: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-06-02 03:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769590272001,"66":27267,"29":206,"8":65280,"24":45,"16":304370008551587840,"45":8175933305709111296},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-06-02 03:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769590272001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:11:13] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 03:11:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304370008551587840,"km_value":304370008551587.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8175933305709111296,"description":"Unknown IO ID 45"} 
[2026-06-02 03:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769590272001,"power":27267,"unknown_29":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":8175933305709111296}} 
[2026-06-02 03:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":89030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:11:13] local.INFO: GPS data processed {"connection_id":89030,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:11:13] local.INFO: Acknowledgment sent {"connection_id":89030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:11:38] local.INFO: TCP Data received {"connection_id":90498,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:11:38] local.INFO: Processing buffer {"connection_id":90498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:11:38] local.INFO: IMEI packet received {"connection_id":90498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":90498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:11:43] local.INFO: TCP Data received {"connection_id":90498,"ip":"117.224.195.65","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90498,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:11:43] local.INFO: Processing buffer {"connection_id":90498,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:11:43] local.INFO: IMEI packet received {"connection_id":90498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":90498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:11:51] local.INFO: TCP Data received {"connection_id":90498,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8521a438012d70e440060b4cf8000601522d..."} 
[2026-06-02 03:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8521a438012d70e440060b4cf8000601522d..."} 
[2026-06-02 03:11:51] local.INFO: Processing buffer {"connection_id":90498,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:11:51] local.INFO: IMEI packet received {"connection_id":90498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":90498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:11:55] local.INFO: TCP Data received {"connection_id":90498,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8521c378012d70d440060b6e98000701532e..."} 
[2026-06-02 03:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8521c378012d70d440060b6e98000701532e..."} 
[2026-06-02 03:11:55] local.INFO: Processing buffer {"connection_id":90498,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e8521a438012d70e440060b4cf8000601522d..."} 
[2026-06-02 03:11:55] local.INFO: Packet analysis {"connection_id":90498,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:11:55] local.INFO: Extracted packet for processing {"connection_id":90498,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:11:55] local.INFO: GPS Element Parsed {"raw_longitude":762373184,"raw_latitude":101403896,"longitude_deg":76.2373184,"latitude_deg":10.1403896,"altitude":6,"angle":338,"satellites":45,"speed":49,"hex_longitude":"2d70e440","hex_latitude":"060b4cf8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769607424001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304373891202023424,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8136878652709240832,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780350035000,"timestamp_ms":1780350035000,"timestamp_seconds":1780350035,"priority":1,"record_length":96,"hex_timestamp":"0000019e8521a438"} 
[2026-06-02 03:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:11: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-06-02 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 03:11: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-06-02 03: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-06-02 03:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":90498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":90498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":90498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769607424001,"66":27343,"30":206,"8":65280,"24":49,"16":304373891202023424,"45":8136878652709240832},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769607424001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304373891202023424,"km_value":304373891202023.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8136878652709240832,"description":"Unknown IO ID 45"} 
[2026-06-02 03:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769607424001,"power":27343,"unknown_30":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8136878652709240832}} 
[2026-06-02 03:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":90498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:11:55] local.INFO: GPS data processed {"connection_id":90498,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:11:55] local.INFO: Acknowledgment sent {"connection_id":90498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:11:55] local.INFO: Packet analysis {"connection_id":90498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:11:55] local.INFO: Extracted packet for processing {"connection_id":90498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:11:55] local.INFO: GPS Element Parsed {"raw_longitude":762369088,"raw_latitude":101412504,"longitude_deg":76.2369088,"latitude_deg":10.1412504,"altitude":7,"angle":339,"satellites":46,"speed":40,"hex_longitude":"2d70d440","hex_latitude":"060b6e98","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769608960001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304374355058491392,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8134697221641533440,"note":"Value kept but may cause issues"} 
[2026-06-02 03:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780350043000,"timestamp_ms":1780350043000,"timestamp_seconds":1780350043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8521c378"} 
[2026-06-02 03:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:11: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-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:11: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-06-02 03: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-06-02 03:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":90498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":90498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":90498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769608960001,"66":27332,"30":206,"8":65280,"24":40,"16":304374355058491392,"45":8134697221641533440},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-06-02 03:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769608960001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304374355058491392,"km_value":304374355058491.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8134697221641533440,"description":"Unknown IO ID 45"} 
[2026-06-02 03:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769608960001,"power":27332,"unknown_30":206,"unknown_8":65280,"ignition":40,"odometer":null,"unknown_45":8134697221641533440}} 
[2026-06-02 03:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":90498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:11:55] local.INFO: GPS data processed {"connection_id":90498,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:11:55] local.INFO: Acknowledgment sent {"connection_id":90498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:12:00] local.INFO: TCP Data received {"connection_id":90498,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8521cf30012d70cec0060b7928000601412e..."} 
[2026-06-02 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8521cf30012d70cec0060b7928000601412e..."} 
[2026-06-02 03:12:00] local.INFO: Processing buffer {"connection_id":90498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8521cf30012d70cec0060b7928000601412e..."} 
[2026-06-02 03:12:00] local.INFO: Packet analysis {"connection_id":90498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:12:00] local.INFO: Extracted packet for processing {"connection_id":90498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:12:00] local.INFO: GPS Element Parsed {"raw_longitude":762367680,"raw_latitude":101415208,"longitude_deg":76.236768,"latitude_deg":10.1415208,"altitude":6,"angle":321,"satellites":46,"speed":39,"hex_longitude":"2d70cec0","hex_latitude":"060b7928","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769611008001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304374501087379456,"note":"Value kept but may cause issues"} 
[2026-06-02 03:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8130193622016366592,"note":"Value kept but may cause issues"} 
[2026-06-02 03:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780350046000,"timestamp_ms":1780350046000,"timestamp_seconds":1780350046,"priority":1,"record_length":96,"hex_timestamp":"0000019e8521cf30"} 
[2026-06-02 03:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:12: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-06-02 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 03:12:00] 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-06-02 03: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-06-02 03:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769611008001,"66":27321,"30":206,"8":65280,"24":39,"16":304374501087379456,"45":8130193622016366592},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-06-02 03:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769611008001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:12:00] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-02 03:12:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304374501087379456,"km_value":304374501087379.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8130193622016366592,"description":"Unknown IO ID 45"} 
[2026-06-02 03:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769611008001,"power":27321,"unknown_30":206,"unknown_8":65280,"ignition":39,"odometer":null,"unknown_45":8130193622016366592}} 
[2026-06-02 03:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":90498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:12:00] local.INFO: GPS data processed {"connection_id":90498,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:12:00] local.INFO: Acknowledgment sent {"connection_id":90498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:12:25] local.INFO: TCP Data received {"connection_id":89295,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:25] local.INFO: Processing buffer {"connection_id":89295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:25] local.INFO: IMEI packet received {"connection_id":89295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:12:27] local.INFO: TCP Data received {"connection_id":89295,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:27] local.INFO: Processing buffer {"connection_id":89295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:27] local.INFO: IMEI packet received {"connection_id":89295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":89295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:12:28] local.INFO: TCP Data received {"connection_id":89295,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:28] local.INFO: Processing buffer {"connection_id":89295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:12:28] local.INFO: IMEI packet received {"connection_id":89295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":89295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:13:07] local.INFO: TCP Data received {"connection_id":89295,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:07] local.INFO: Processing buffer {"connection_id":89295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:07] local.INFO: IMEI packet received {"connection_id":89295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":89295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:13:08] local.INFO: TCP Data received {"connection_id":89295,"ip":"117.224.195.65","data_length":1360,"data_hex":"000000000000030f8e0a0000019e8521d700012d70c940060b7e400007012c2e..."} 
[2026-06-02 03:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89295,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019e8521d700012d70c940060b7e400007012c2e..."} 
[2026-06-02 03:13:08] local.INFO: Processing buffer {"connection_id":89295,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019e8521d700012d70c940060b7e400007012c2e..."} 
[2026-06-02 03:13:08] local.INFO: Packet analysis {"connection_id":89295,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:13:08] local.INFO: Extracted packet for processing {"connection_id":89295,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":762366272,"raw_latitude":101416512,"longitude_deg":76.2366272,"latitude_deg":10.1416512,"altitude":7,"angle":300,"satellites":46,"speed":37,"hex_longitude":"2d70c940","hex_latitude":"060b7e40","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769611776001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304374595576659968,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8128645509645150208,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780350048000,"timestamp_ms":1780350048000,"timestamp_seconds":1780350048,"priority":1,"record_length":96,"hex_timestamp":"0000019e8521d700"} 
[2026-06-02 03:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769611776001,"66":27321,"30":206,"8":65280,"24":37,"16":304374595576659968,"45":8128645509645150208},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-06-02 03:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769611776001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:13:08] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-02 03:13:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304374595576659968,"km_value":304374595576659.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8128645509645150208,"description":"Unknown IO ID 45"} 
[2026-06-02 03:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769611776001,"power":27321,"unknown_30":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8128645509645150208}} 
[2026-06-02 03:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":89295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:13:08] local.INFO: GPS data processed {"connection_id":89295,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:13:08] local.INFO: Acknowledgment sent {"connection_id":89295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:13:08] local.INFO: Packet analysis {"connection_id":89295,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:13:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":89295,"needed":795,"available":565} 
[2026-06-02 03:13:09] local.INFO: TCP Data received {"connection_id":89295,"ip":"117.224.195.65","data_length":1360,"data_hex":"2d70ed40060b1b18000a015d2b002d0000000a000400ef0100715e00f0010045..."} 
[2026-06-02 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89295,"packet_length":1360,"packet_hex":"2d70ed40060b1b18000a015d2b002d0000000a000400ef0100715e00f0010045..."} 
[2026-06-02 03:13:09] local.INFO: Processing buffer {"connection_id":89295,"buffer_length":1925,"buffer_hex":"000000000000030f8e0a0000019e8521fa28012d70a980060b8e30000901222d..."} 
[2026-06-02 03:13:09] local.INFO: Packet analysis {"connection_id":89295,"data_field_length":783,"total_packet_length":795,"buffer_length":1925,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:13:09] local.INFO: Extracted packet for processing {"connection_id":89295,"packet_length":795,"remaining_buffer_length":1130,"packet_hex_start":"000000000000030f8e0a0000019e8521"} 
[2026-06-02 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762358144,"raw_latitude":101420592,"longitude_deg":76.2358144,"latitude_deg":10.1420592,"altitude":9,"angle":290,"satellites":45,"speed":29,"hex_longitude":"2d70a980","hex_latitude":"060b8e30","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769612288001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304375029368356864,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127097397273575424,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780350057000,"timestamp_ms":1780350057000,"timestamp_seconds":1780350057,"priority":1,"record_length":96,"hex_timestamp":"0000019e8521fa28"} 
[2026-06-02 03:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:13: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-06-02 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769612288001,"66":27223,"30":206,"8":65280,"24":29,"16":304375029368356864,"45":8127097397273575424},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769612288001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304375029368356864,"km_value":304375029368356.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127097397273575424,"description":"Unknown IO ID 45"} 
[2026-06-02 03:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769612288001,"power":27223,"unknown_30":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8127097397273575424}} 
[2026-06-02 03:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":89295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:13:09] local.INFO: GPS data processed {"connection_id":89295,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:13:09] local.INFO: Acknowledgment sent {"connection_id":89295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:13:09] local.INFO: Packet analysis {"connection_id":89295,"data_field_length":783,"total_packet_length":795,"buffer_length":1130,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:13:09] local.INFO: Extracted packet for processing {"connection_id":89295,"packet_length":795,"remaining_buffer_length":335,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762294912,"raw_latitude":101403400,"longitude_deg":76.2294912,"latitude_deg":10.14034,"altitude":4,"angle":335,"satellites":44,"speed":25,"hex_longitude":"2d6fb280","hex_latitude":"060b4b08","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769632256001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304378220529057792,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8048988091232870400,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780350127000,"timestamp_ms":1780350127000,"timestamp_seconds":1780350127,"priority":1,"record_length":96,"hex_timestamp":"0000019e85230b98"} 
[2026-06-02 03:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:13: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-06-02 03: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 03:13:09] 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-06-02 03:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769632256001,"66":27104,"241":206,"8":65280,"24":25,"16":304378220529057792,"45":8048988091232870400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-06-02 03:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769632256001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304378220529057792,"km_value":304378220529057.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8048988091232870400,"description":"Unknown IO ID 45"} 
[2026-06-02 03:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769632256001,"power":27104,"unknown_241":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":8048988091232870400}} 
[2026-06-02 03:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":89295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:13:09] local.INFO: GPS data processed {"connection_id":89295,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:13:09] local.INFO: Acknowledgment sent {"connection_id":89295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:13:09] local.INFO: Packet analysis {"connection_id":89295,"data_field_length":783,"total_packet_length":795,"buffer_length":335,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:13:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":89295,"needed":795,"available":335} 
[2026-06-02 03:13:14] local.INFO: TCP Data received {"connection_id":89295,"ip":"117.224.195.65","data_length":460,"data_hex":"060b4678000501162c00160000000a000400ef0100715e00f001004501000400..."} 
[2026-06-02 03:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89295,"packet_length":460,"packet_hex":"060b4678000501162c00160000000a000400ef0100715e00f001004501000400..."} 
[2026-06-02 03:13:14] local.INFO: Processing buffer {"connection_id":89295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85233690012d6fa680060b6d98000401532c..."} 
[2026-06-02 03:13:14] local.INFO: Packet analysis {"connection_id":89295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:13:14] local.INFO: Extracted packet for processing {"connection_id":89295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:13:14] local.INFO: GPS Element Parsed {"raw_longitude":762291840,"raw_latitude":101412248,"longitude_deg":76.229184,"latitude_deg":10.1412248,"altitude":4,"angle":339,"satellites":44,"speed":40,"hex_longitude":"2d6fa680","hex_latitude":"060b6d98","is_valid_coordinates":true} 
[2026-06-02 03:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769632512001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304378675795591168,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8048636247512123392,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780350138000,"timestamp_ms":1780350138000,"timestamp_seconds":1780350138,"priority":1,"record_length":96,"hex_timestamp":"0000019e85233690"} 
[2026-06-02 03:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 03:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769632512001,"66":27376,"241":206,"8":65280,"24":40,"16":304378675795591168,"45":8048636247512123392},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-06-02 03:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769632512001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:13:14] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 03:13:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304378675795591168,"km_value":304378675795591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8048636247512123392,"description":"Unknown IO ID 45"} 
[2026-06-02 03:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769632512001,"power":27376,"unknown_241":206,"unknown_8":65280,"ignition":40,"odometer":null,"unknown_45":8048636247512123392}} 
[2026-06-02 03:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":89295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:13:14] local.INFO: GPS data processed {"connection_id":89295,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:13:14] local.INFO: Acknowledgment sent {"connection_id":89295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:13:25] local.INFO: TCP Data received {"connection_id":89032,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:25] local.INFO: Processing buffer {"connection_id":89032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:25] local.INFO: IMEI packet received {"connection_id":89032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":89032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:13:28] local.INFO: TCP Data received {"connection_id":89032,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:28] local.INFO: Processing buffer {"connection_id":89032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:13:28] local.INFO: IMEI packet received {"connection_id":89032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":89032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:13:29] local.INFO: TCP Data received {"connection_id":89032,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852359b8012d6f99c0060b9008000501512d..."} 
[2026-06-02 03:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852359b8012d6f99c0060b9008000501512d..."} 
[2026-06-02 03:13:29] local.INFO: Processing buffer {"connection_id":89032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852359b8012d6f99c0060b9008000501512d..."} 
[2026-06-02 03:13:29] local.INFO: Packet analysis {"connection_id":89032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:13:29] local.INFO: Extracted packet for processing {"connection_id":89032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:13:29] local.INFO: GPS Element Parsed {"raw_longitude":762288576,"raw_latitude":101421064,"longitude_deg":76.2288576,"latitude_deg":10.1421064,"altitude":5,"angle":337,"satellites":45,"speed":43,"hex_longitude":"2d6f99c0","hex_latitude":"060b9008","is_valid_coordinates":true} 
[2026-06-02 03:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769635328001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304379131062124544,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8045258547793860608,"note":"Value kept but may cause issues"} 
[2026-06-02 03:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780350147000,"timestamp_ms":1780350147000,"timestamp_seconds":1780350147,"priority":1,"record_length":96,"hex_timestamp":"0000019e852359b8"} 
[2026-06-02 03:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:13: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-06-02 03:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 03:13:29] 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-06-02 03:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769635328001,"66":27343,"241":206,"8":65280,"24":43,"16":304379131062124544,"45":8045258547793860608},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-06-02 03:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769635328001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:13:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 03:13:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304379131062124544,"km_value":304379131062124.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8045258547793860608,"description":"Unknown IO ID 45"} 
[2026-06-02 03:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769635328001,"power":27343,"unknown_241":206,"unknown_8":65280,"ignition":43,"odometer":null,"unknown_45":8045258547793860608}} 
[2026-06-02 03:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":89032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:13:29] local.INFO: GPS data processed {"connection_id":89032,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:13:29] local.INFO: Acknowledgment sent {"connection_id":89032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:14:02] local.INFO: TCP Data received {"connection_id":89032,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852378f8012d6f8980060bb0700005014a2a..."} 
[2026-06-02 03:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852378f8012d6f8980060bb0700005014a2a..."} 
[2026-06-02 03:14:02] local.INFO: Processing buffer {"connection_id":89032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852378f8012d6f8980060bb0700005014a2a..."} 
[2026-06-02 03:14:02] local.INFO: Packet analysis {"connection_id":89032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:14:02] local.INFO: Extracted packet for processing {"connection_id":89032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:14:02] local.INFO: GPS Element Parsed {"raw_longitude":762284416,"raw_latitude":101429360,"longitude_deg":76.2284416,"latitude_deg":10.142936,"altitude":5,"angle":330,"satellites":42,"speed":46,"hex_longitude":"2d6f8980","hex_latitude":"060bb070","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769637632001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304379582033690624,"note":"Value kept but may cause issues"} 
[2026-06-02 03:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8041669741843056640,"note":"Value kept but may cause issues"} 
[2026-06-02 03:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780350155000,"timestamp_ms":1780350155000,"timestamp_seconds":1780350155,"priority":1,"record_length":96,"hex_timestamp":"0000019e852378f8"} 
[2026-06-02 03:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03: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-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769637632001,"66":27267,"241":206,"8":65280,"24":46,"16":304379582033690624,"45":8041669741843056640},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-06-02 03:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769637632001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:14:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 03:14:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304379582033690624,"km_value":304379582033690.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8041669741843056640,"description":"Unknown IO ID 45"} 
[2026-06-02 03:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769637632001,"power":27267,"unknown_241":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8041669741843056640}} 
[2026-06-02 03:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":89032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:14:02] local.INFO: GPS data processed {"connection_id":89032,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:14:02] local.INFO: Acknowledgment sent {"connection_id":89032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:14:24] local.INFO: TCP Data received {"connection_id":89296,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:24] local.INFO: Processing buffer {"connection_id":89296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:24] local.INFO: IMEI packet received {"connection_id":89296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":89296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:14:25] local.INFO: TCP Data received {"connection_id":89296,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:25] local.INFO: Processing buffer {"connection_id":89296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:25] local.INFO: IMEI packet received {"connection_id":89296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":89296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:14:30] local.INFO: TCP Data received {"connection_id":89296,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:30] local.INFO: Processing buffer {"connection_id":89296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:14:30] local.INFO: IMEI packet received {"connection_id":89296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":89296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:14:31] local.INFO: TCP Data received {"connection_id":89296,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85239450012d6f7740060bce58000601452c..."} 
[2026-06-02 03:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85239450012d6f7740060bce58000601452c..."} 
[2026-06-02 03:14:31] local.INFO: Processing buffer {"connection_id":89296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85239450012d6f7740060bce58000601452c..."} 
[2026-06-02 03:14:31] local.INFO: Packet analysis {"connection_id":89296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:14:31] local.INFO: Extracted packet for processing {"connection_id":89296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:14:31] local.INFO: GPS Element Parsed {"raw_longitude":762279744,"raw_latitude":101437016,"longitude_deg":76.2279744,"latitude_deg":10.1437016,"altitude":6,"angle":325,"satellites":44,"speed":50,"hex_longitude":"2d6f7740","hex_latitude":"060bce58","is_valid_coordinates":true} 
[2026-06-02 03:14: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-06-02 03:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769639680001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304380011530420224,"note":"Value kept but may cause issues"} 
[2026-06-02 03:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8037095773473632256,"note":"Value kept but may cause issues"} 
[2026-06-02 03:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780350162000,"timestamp_ms":1780350162000,"timestamp_seconds":1780350162,"priority":1,"record_length":96,"hex_timestamp":"0000019e85239450"} 
[2026-06-02 03:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:14: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-06-02 03:14: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":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:14:31] 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-06-02 03:14: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-06-02 03:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769639680001,"66":27343,"241":206,"8":65280,"24":50,"16":304380011530420224,"45":8037095773473632256},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-06-02 03:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769639680001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:14:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 03:14:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304380011530420224,"km_value":304380011530420.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8037095773473632256,"description":"Unknown IO ID 45"} 
[2026-06-02 03:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769639680001,"power":27343,"unknown_241":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":8037095773473632256}} 
[2026-06-02 03:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":89296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:14:31] local.INFO: GPS data processed {"connection_id":89296,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:14:31] local.INFO: Acknowledgment sent {"connection_id":89296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:15:03] local.INFO: TCP Data received {"connection_id":89296,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8523b390012d6f6180060bed00000901472b..."} 
[2026-06-02 03:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8523b390012d6f6180060bed00000901472b..."} 
[2026-06-02 03:15:03] local.INFO: Processing buffer {"connection_id":89296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8523b390012d6f6180060bed00000901472b..."} 
[2026-06-02 03:15:03] local.INFO: Packet analysis {"connection_id":89296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:15:03] local.INFO: Extracted packet for processing {"connection_id":89296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8523"} 
[2026-06-02 03:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762274176,"raw_latitude":101444864,"longitude_deg":76.2274176,"latitude_deg":10.1444864,"altitude":9,"angle":327,"satellites":43,"speed":42,"hex_longitude":"2d6f6180","hex_latitude":"060bed00","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769641472001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304380479681855488,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8031958855150622720,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780350170000,"timestamp_ms":1780350170000,"timestamp_seconds":1780350170,"priority":1,"record_length":96,"hex_timestamp":"0000019e8523b390"} 
[2026-06-02 03:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:15: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-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769641472001,"66":26321,"241":206,"8":65280,"24":42,"16":304380479681855488,"45":8031958855150622720},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-06-02 03:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769641472001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:15:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 03:15:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304380479681855488,"km_value":304380479681855.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8031958855150622720,"description":"Unknown IO ID 45"} 
[2026-06-02 03:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769641472001,"power":26321,"unknown_241":206,"unknown_8":65280,"ignition":42,"odometer":null,"unknown_45":8031958855150622720}} 
[2026-06-02 03:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":89296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:15:03] local.INFO: GPS data processed {"connection_id":89296,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:15:03] local.INFO: Acknowledgment sent {"connection_id":89296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:15:19] local.INFO: TCP Data received {"connection_id":89437,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:15:19] local.INFO: Processing buffer {"connection_id":89437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:15:19] local.INFO: IMEI packet received {"connection_id":89437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":89437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:15:26] local.INFO: TCP Data received {"connection_id":89297,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:26] local.INFO: Processing buffer {"connection_id":89297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:26] local.INFO: IMEI packet received {"connection_id":89297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":89297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:15:30] local.INFO: TCP Data received {"connection_id":89297,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:30] local.INFO: Processing buffer {"connection_id":89297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:30] local.INFO: IMEI packet received {"connection_id":89297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":89297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:15:35] local.INFO: TCP Data received {"connection_id":89297,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:35] local.INFO: Processing buffer {"connection_id":89297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:15:35] local.INFO: IMEI packet received {"connection_id":89297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":89297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:15:36] local.INFO: TCP Data received {"connection_id":89297,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85250b50012d6ec7c0060cda00000b01012d..."} 
[2026-06-02 03:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85250b50012d6ec7c0060cda00000b01012d..."} 
[2026-06-02 03:15:36] local.INFO: Processing buffer {"connection_id":89297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85250b50012d6ec7c0060cda00000b01012d..."} 
[2026-06-02 03:15:36] local.INFO: Packet analysis {"connection_id":89297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8525"} 
[2026-06-02 03:15:36] local.INFO: Extracted packet for processing {"connection_id":89297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8525"} 
[2026-06-02 03:15:36] local.INFO: GPS Element Parsed {"raw_longitude":762234816,"raw_latitude":101505536,"longitude_deg":76.2234816,"latitude_deg":10.1505536,"altitude":11,"angle":257,"satellites":45,"speed":12,"hex_longitude":"2d6ec7c0","hex_latitude":"060cda00","is_valid_coordinates":true} 
[2026-06-02 03:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769665792001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304384010144972800,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7982911840476342272,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780350258000,"timestamp_ms":1780350258000,"timestamp_seconds":1780350258,"priority":1,"record_length":96,"hex_timestamp":"0000019e85250b50"} 
[2026-06-02 03:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 03:15:36] 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-06-02 03:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769665792001,"66":27300,"242":206,"8":65280,"24":12,"16":304384010144972800,"45":7982911840476342272},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-06-02 03:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769665792001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:15:36] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 03:15:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304384010144972800,"km_value":304384010144972.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7982911840476342272,"description":"Unknown IO ID 45"} 
[2026-06-02 03:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769665792001,"power":27300,"unknown_242":206,"unknown_8":65280,"ignition":12,"odometer":null,"unknown_45":7982911840476342272}} 
[2026-06-02 03:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":89297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:15:36] local.INFO: GPS data processed {"connection_id":89297,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:15:36] local.INFO: Acknowledgment sent {"connection_id":89297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:15:39] local.INFO: TCP Data received {"connection_id":89297,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852545e8012d6ea600060cd408000b010d2c..."} 
[2026-06-02 03:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852545e8012d6ea600060cd408000b010d2c..."} 
[2026-06-02 03:15:39] local.INFO: Processing buffer {"connection_id":89297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852545e8012d6ea600060cd408000b010d2c..."} 
[2026-06-02 03:15:39] local.INFO: Packet analysis {"connection_id":89297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8525"} 
[2026-06-02 03:15:39] local.INFO: Extracted packet for processing {"connection_id":89297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8525"} 
[2026-06-02 03:15:39] local.INFO: GPS Element Parsed {"raw_longitude":762226176,"raw_latitude":101504008,"longitude_deg":76.2226176,"latitude_deg":10.1504008,"altitude":11,"angle":269,"satellites":44,"speed":22,"hex_longitude":"2d6ea600","hex_latitude":"060cd408","is_valid_coordinates":true} 
[2026-06-02 03:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769666048001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304384426756800512,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7982559996755443712,"note":"Value kept but may cause issues"} 
[2026-06-02 03:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780350273000,"timestamp_ms":1780350273000,"timestamp_seconds":1780350273,"priority":1,"record_length":96,"hex_timestamp":"0000019e852545e8"} 
[2026-06-02 03:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 03:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769666048001,"66":26604,"242":206,"8":65280,"24":22,"16":304384426756800512,"45":7982559996755443712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-06-02 03:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769666048001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:15:39] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 03:15:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304384426756800512,"km_value":304384426756800.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7982559996755443712,"description":"Unknown IO ID 45"} 
[2026-06-02 03:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769666048001,"power":26604,"unknown_242":206,"unknown_8":65280,"ignition":22,"odometer":null,"unknown_45":7982559996755443712}} 
[2026-06-02 03:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":89297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:15:39] local.INFO: GPS data processed {"connection_id":89297,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:15:39] local.INFO: Acknowledgment sent {"connection_id":89297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:15:59] local.INFO: TCP Data received {"connection_id":89033,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:15:59] local.INFO: Processing buffer {"connection_id":89033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:15:59] local.INFO: IMEI packet received {"connection_id":89033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":89033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:16:12] local.INFO: TCP Data received {"connection_id":89297,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852549d0012d6ea400060cd478000b01232b..."} 
[2026-06-02 03:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852549d0012d6ea400060cd478000b01232b..."} 
[2026-06-02 03:16:12] local.INFO: Processing buffer {"connection_id":89297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852549d0012d6ea400060cd478000b01232b..."} 
[2026-06-02 03:16:12] local.INFO: Packet analysis {"connection_id":89297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8525"} 
[2026-06-02 03:16:12] local.INFO: Extracted packet for processing {"connection_id":89297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8525"} 
[2026-06-02 03:16:12] local.INFO: GPS Element Parsed {"raw_longitude":762225664,"raw_latitude":101504120,"longitude_deg":76.2225664,"latitude_deg":10.150412,"altitude":11,"angle":291,"satellites":43,"speed":20,"hex_longitude":"2d6ea400","hex_latitude":"060cd478","is_valid_coordinates":true} 
[2026-06-02 03:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769669888001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304384452526604288,"note":"Value kept but may cause issues"} 
[2026-06-02 03:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7973060216291067904,"note":"Value kept but may cause issues"} 
[2026-06-02 03:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780350274000,"timestamp_ms":1780350274000,"timestamp_seconds":1780350274,"priority":1,"record_length":96,"hex_timestamp":"0000019e852549d0"} 
[2026-06-02 03:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:16: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-06-02 03:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-06-02 03:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769669888001,"66":27365,"242":206,"8":65280,"24":20,"16":304384452526604288,"45":7973060216291067904},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-06-02 03:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769669888001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:16:12] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 03:16:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304384452526604288,"km_value":304384452526604.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7973060216291067904,"description":"Unknown IO ID 45"} 
[2026-06-02 03:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769669888001,"power":27365,"unknown_242":206,"unknown_8":65280,"ignition":20,"odometer":null,"unknown_45":7973060216291067904}} 
[2026-06-02 03:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":89297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:16:12] local.INFO: GPS data processed {"connection_id":89297,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:16:12] local.INFO: Acknowledgment sent {"connection_id":89297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:16:35] local.INFO: TCP Data received {"connection_id":89438,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:16:35] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:16:35] local.INFO: IMEI packet received {"connection_id":89438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":89438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:16:39] local.INFO: TCP Data received {"connection_id":89438,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:16:39] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:16:39] local.INFO: IMEI packet received {"connection_id":89438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":89438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:16:42] local.INFO: TCP Data received {"connection_id":89438,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85260d20012d6e1a00060cb310000500f92b..."} 
[2026-06-02 03:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85260d20012d6e1a00060cb310000500f92b..."} 
[2026-06-02 03:16:42] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85260d20012d6e1a00060cb310000500f92b..."} 
[2026-06-02 03:16:42] local.INFO: Packet analysis {"connection_id":89438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8526"} 
[2026-06-02 03:16:42] local.INFO: Extracted packet for processing {"connection_id":89438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8526"} 
[2026-06-02 03:16:42] local.INFO: GPS Element Parsed {"raw_longitude":762190336,"raw_latitude":101495568,"longitude_deg":76.2190336,"latitude_deg":10.1495568,"altitude":5,"angle":249,"satellites":43,"speed":33,"hex_longitude":"2d6e1a00","hex_latitude":"060cb310","is_valid_coordinates":true} 
[2026-06-02 03:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769680128001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304386247822934016,"note":"Value kept but may cause issues"} 
[2026-06-02 03:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7943364606246776832,"note":"Value kept but may cause issues"} 
[2026-06-02 03:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780350324000,"timestamp_ms":1780350324000,"timestamp_seconds":1780350324,"priority":1,"record_length":96,"hex_timestamp":"0000019e85260d20"} 
[2026-06-02 03:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 03:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769680128001,"66":27332,"242":206,"8":65280,"24":33,"16":304386247822934016,"45":7943364606246776832},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-06-02 03:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769680128001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:16:42] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 03:16:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-06-02 03:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304386247822934016,"km_value":304386247822934.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7943364606246776832,"description":"Unknown IO ID 45"} 
[2026-06-02 03:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769680128001,"power":27332,"unknown_242":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":7943364606246776832}} 
[2026-06-02 03:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":89438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:16:42] local.INFO: GPS data processed {"connection_id":89438,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:16:42] local.INFO: Acknowledgment sent {"connection_id":89438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:17:25] local.INFO: TCP Data received {"connection_id":89298,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:25] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:25] local.INFO: IMEI packet received {"connection_id":89298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":89298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:17:25] local.INFO: TCP Data received {"connection_id":89298,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:25] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:25] local.INFO: IMEI packet received {"connection_id":89298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":89298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:17:31] local.INFO: TCP Data received {"connection_id":89298,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:31] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:17:31] local.INFO: IMEI packet received {"connection_id":89298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":89298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:17:32] local.INFO: TCP Data received {"connection_id":89298,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8526cc88012d6dac00060ccd60000b01292c..."} 
[2026-06-02 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8526cc88012d6dac00060ccd60000b01292c..."} 
[2026-06-02 03:17:32] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8526cc88012d6dac00060ccd60000b01292c..."} 
[2026-06-02 03:17:32] local.INFO: Packet analysis {"connection_id":89298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8526"} 
[2026-06-02 03:17:32] local.INFO: Extracted packet for processing {"connection_id":89298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8526"} 
[2026-06-02 03:17:32] local.INFO: GPS Element Parsed {"raw_longitude":762162176,"raw_latitude":101502304,"longitude_deg":76.2162176,"latitude_deg":10.1502304,"altitude":11,"angle":297,"satellites":44,"speed":27,"hex_longitude":"2d6dac00","hex_latitude":"060ccd60","is_valid_coordinates":true} 
[2026-06-02 03:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769693952001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304387768241356800,"note":"Value kept but may cause issues"} 
[2026-06-02 03:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7907124702995800064,"note":"Value kept but may cause issues"} 
[2026-06-02 03:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780350373000,"timestamp_ms":1780350373000,"timestamp_seconds":1780350373,"priority":1,"record_length":96,"hex_timestamp":"0000019e8526cc88"} 
[2026-06-02 03:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:17: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-06-02 03:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769693952001,"66":27376,"110":206,"19":43264,"24":27,"16":304387768241356800,"45":7907124702995800064},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-06-02 03:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769693952001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:17:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 03:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304387768241356800,"km_value":304387768241356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7907124702995800064,"description":"Unknown IO ID 45"} 
[2026-06-02 03:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769693952001,"power":27376,"unknown_110":206,"unknown_19":43264,"ignition":27,"odometer":null,"unknown_45":7907124702995800064}} 
[2026-06-02 03:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":89298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:17:32] local.INFO: GPS data processed {"connection_id":89298,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:17:32] local.INFO: Acknowledgment sent {"connection_id":89298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:18:04] local.INFO: TCP Data received {"connection_id":89298,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8526ff50012d6d8c80060ce0100011012d2c..."} 
[2026-06-02 03:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8526ff50012d6d8c80060ce0100011012d2c..."} 
[2026-06-02 03:18:04] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8526ff50012d6d8c80060ce0100011012d2c..."} 
[2026-06-02 03:18:04] local.INFO: Packet analysis {"connection_id":89298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8526"} 
[2026-06-02 03:18:04] local.INFO: Extracted packet for processing {"connection_id":89298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8526"} 
[2026-06-02 03:18:04] local.INFO: GPS Element Parsed {"raw_longitude":762154112,"raw_latitude":101507088,"longitude_deg":76.2154112,"latitude_deg":10.1507088,"altitude":17,"angle":301,"satellites":44,"speed":30,"hex_longitude":"2d6d8c80","hex_latitude":"060ce010","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769695488001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304388219212922880,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7902691472112967680,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780350386000,"timestamp_ms":1780350386000,"timestamp_seconds":1780350386,"priority":1,"record_length":96,"hex_timestamp":"0000019e8526ff50"} 
[2026-06-02 03:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:18: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-06-02 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 03:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769695488001,"66":27267,"110":206,"19":43264,"24":30,"16":304388219212922880,"45":7902691472112967680},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-06-02 03:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769695488001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:18:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 03:18:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304388219212922880,"km_value":304388219212922.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7902691472112967680,"description":"Unknown IO ID 45"} 
[2026-06-02 03:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769695488001,"power":27267,"unknown_110":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7902691472112967680}} 
[2026-06-02 03:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":89298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:18:04] local.INFO: GPS data processed {"connection_id":89298,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:18:04] local.INFO: Acknowledgment sent {"connection_id":89298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:18:31] local.INFO: TCP Data received {"connection_id":90502,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:18:31] local.INFO: Processing buffer {"connection_id":90502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:18:31] local.INFO: IMEI packet received {"connection_id":90502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":90502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:18:32] local.INFO: TCP Data received {"connection_id":90502,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:18:32] local.INFO: Processing buffer {"connection_id":90502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:18:32] local.INFO: IMEI packet received {"connection_id":90502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":90502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:18:33] local.INFO: TCP Data received {"connection_id":90502,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85272278012d6d7240060cefd8000f01382c..."} 
[2026-06-02 03:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85272278012d6d7240060cefd8000f01382c..."} 
[2026-06-02 03:18:33] local.INFO: Processing buffer {"connection_id":90502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85272278012d6d7240060cefd8000f01382c..."} 
[2026-06-02 03:18:33] local.INFO: Packet analysis {"connection_id":90502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8527"} 
[2026-06-02 03:18:33] local.INFO: Extracted packet for processing {"connection_id":90502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8527"} 
[2026-06-02 03:18:33] local.INFO: GPS Element Parsed {"raw_longitude":762147392,"raw_latitude":101511128,"longitude_deg":76.2147392,"latitude_deg":10.1511128,"altitude":15,"angle":312,"satellites":44,"speed":33,"hex_longitude":"2d6d7240","hex_latitude":"060cefd8","is_valid_coordinates":true} 
[2026-06-02 03:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769698816001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304388597170044928,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7893825010347806720,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780350395000,"timestamp_ms":1780350395000,"timestamp_seconds":1780350395,"priority":1,"record_length":96,"hex_timestamp":"0000019e85272278"} 
[2026-06-02 03:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:18: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-06-02 03:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769698816001,"66":27234,"110":206,"19":43264,"24":33,"16":304388597170044928,"45":7893825010347806720},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-06-02 03:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769698816001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:18:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 03:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304388597170044928,"km_value":304388597170044.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7893825010347806720,"description":"Unknown IO ID 45"} 
[2026-06-02 03:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769698816001,"power":27234,"unknown_110":206,"unknown_19":43264,"ignition":33,"odometer":null,"unknown_45":7893825010347806720}} 
[2026-06-02 03:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":90502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:18:33] local.INFO: GPS data processed {"connection_id":90502,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:18:33] local.INFO: Acknowledgment sent {"connection_id":90502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:18:35] local.INFO: TCP Data received {"connection_id":90502,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85273218012d6d6880060cfb00000f01482c..."} 
[2026-06-02 03:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85273218012d6d6880060cfb00000f01482c..."} 
[2026-06-02 03:18:35] local.INFO: Processing buffer {"connection_id":90502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85273218012d6d6880060cfb00000f01482c..."} 
[2026-06-02 03:18:35] local.INFO: Packet analysis {"connection_id":90502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8527"} 
[2026-06-02 03:18:35] local.INFO: Extracted packet for processing {"connection_id":90502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8527"} 
[2026-06-02 03:18:35] local.INFO: GPS Element Parsed {"raw_longitude":762144896,"raw_latitude":101513984,"longitude_deg":76.2144896,"latitude_deg":10.1513984,"altitude":15,"angle":328,"satellites":44,"speed":38,"hex_longitude":"2d6d6880","hex_latitude":"060cfb00","is_valid_coordinates":true} 
[2026-06-02 03:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769701120001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304388777558671360,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7886436292210186240,"note":"Value kept but may cause issues"} 
[2026-06-02 03:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780350399000,"timestamp_ms":1780350399000,"timestamp_seconds":1780350399,"priority":1,"record_length":96,"hex_timestamp":"0000019e85273218"} 
[2026-06-02 03:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769701120001,"66":27376,"61":206,"19":43264,"24":38,"16":304388777558671360,"45":7886436292210186240},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-06-02 03:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769701120001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:18:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 03:18:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304388777558671360,"km_value":304388777558671.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7886436292210186240,"description":"Unknown IO ID 45"} 
[2026-06-02 03:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769701120001,"power":27376,"unknown_61":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7886436292210186240}} 
[2026-06-02 03:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":90502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:18:35] local.INFO: GPS data processed {"connection_id":90502,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:18:35] local.INFO: Acknowledgment sent {"connection_id":90502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:19:08] local.INFO: TCP Data received {"connection_id":90502,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8528a530012d6d3840060e0a40000801632b..."} 
[2026-06-02 03:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8528a530012d6d3840060e0a40000801632b..."} 
[2026-06-02 03:19:08] local.INFO: Processing buffer {"connection_id":90502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8528a530012d6d3840060e0a40000801632b..."} 
[2026-06-02 03:19:08] local.INFO: Packet analysis {"connection_id":90502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:08] local.INFO: Extracted packet for processing {"connection_id":90502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:08] local.INFO: GPS Element Parsed {"raw_longitude":762132544,"raw_latitude":101583424,"longitude_deg":76.2132544,"latitude_deg":10.1583424,"altitude":8,"angle":355,"satellites":43,"speed":28,"hex_longitude":"2d6d3840","hex_latitude":"060e0a40","is_valid_coordinates":true} 
[2026-06-02 03:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769724672001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304392243597279232,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871588487205842944,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780350494000,"timestamp_ms":1780350494000,"timestamp_seconds":1780350494,"priority":1,"record_length":96,"hex_timestamp":"0000019e8528a530"} 
[2026-06-02 03:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:19: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-06-02 03:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":90502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":90502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":90502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769724672001,"66":27397,"59":206,"19":43264,"24":28,"16":304392243597279232,"45":7871588487205842944},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-02 03:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769724672001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:19:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 03:19:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304392243597279232,"km_value":304392243597279.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871588487205842944,"description":"Unknown IO ID 45"} 
[2026-06-02 03:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769724672001,"power":27397,"unknown_59":206,"unknown_19":43264,"ignition":28,"odometer":null,"unknown_45":7871588487205842944}} 
[2026-06-02 03:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":90502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:19:08] local.INFO: GPS data processed {"connection_id":90502,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:19:08] local.INFO: Acknowledgment sent {"connection_id":90502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:19:26] local.INFO: TCP Data received {"connection_id":89300,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:19:26] local.INFO: Processing buffer {"connection_id":89300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:19:26] local.INFO: IMEI packet received {"connection_id":89300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":89300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:19:27] local.INFO: TCP Data received {"connection_id":89300,"ip":"117.224.195.65","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89300,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:19:27] local.INFO: Processing buffer {"connection_id":89300,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:19:27] local.INFO: IMEI packet received {"connection_id":89300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":89300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:19:30] local.INFO: TCP Data received {"connection_id":89300,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:19:30] local.INFO: Processing buffer {"connection_id":89300,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:19:30] local.INFO: IMEI packet received {"connection_id":89300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":89300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:19:31] local.INFO: TCP Data received {"connection_id":89300,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8528b4d0012d6d3900060e1480000900092a..."} 
[2026-06-02 03:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8528b4d0012d6d3900060e1480000900092a..."} 
[2026-06-02 03:19:31] local.INFO: Processing buffer {"connection_id":89300,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:19:31] local.INFO: IMEI packet received {"connection_id":89300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":89300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:19:36] local.INFO: TCP Data received {"connection_id":89300,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8528c088012d6d3ac0060e1ba8000a001728..."} 
[2026-06-02 03:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8528c088012d6d3ac0060e1ba8000a001728..."} 
[2026-06-02 03:19:36] local.INFO: Processing buffer {"connection_id":89300,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e8528b4d0012d6d3900060e1480000900092a..."} 
[2026-06-02 03:19:36] local.INFO: Packet analysis {"connection_id":89300,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:36] local.INFO: Extracted packet for processing {"connection_id":89300,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:36] local.INFO: GPS Element Parsed {"raw_longitude":762132736,"raw_latitude":101586048,"longitude_deg":76.2132736,"latitude_deg":10.1586048,"altitude":9,"angle":9,"satellites":42,"speed":25,"hex_longitude":"2d6d3900","hex_latitude":"060e1480","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769726464001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304392368151330816,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870110743579475968,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780350498000,"timestamp_ms":1780350498000,"timestamp_seconds":1780350498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8528b4d0"} 
[2026-06-02 03:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 03:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769726464001,"66":27397,"59":206,"19":43264,"24":25,"16":304392368151330816,"45":7870110743579475968},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-02 03:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769726464001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:19:36] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 03:19:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304392368151330816,"km_value":304392368151330.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870110743579475968,"description":"Unknown IO ID 45"} 
[2026-06-02 03:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769726464001,"power":27397,"unknown_59":206,"unknown_19":43264,"ignition":25,"odometer":null,"unknown_45":7870110743579475968}} 
[2026-06-02 03:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":89300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:19:37] local.INFO: GPS data processed {"connection_id":89300,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:19:37] local.INFO: Acknowledgment sent {"connection_id":89300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:19:37] local.INFO: Packet analysis {"connection_id":89300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:37] local.INFO: Extracted packet for processing {"connection_id":89300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762133184,"raw_latitude":101587880,"longitude_deg":76.2133184,"latitude_deg":10.158788,"altitude":10,"angle":23,"satellites":40,"speed":24,"hex_longitude":"2d6d3ac0","hex_latitude":"060e1ba8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769727488001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304392462640611328,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870321849812680704,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780350501000,"timestamp_ms":1780350501000,"timestamp_seconds":1780350501,"priority":1,"record_length":96,"hex_timestamp":"0000019e8528c088"} 
[2026-06-02 03:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 03:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769727488001,"66":27267,"59":206,"19":43264,"24":24,"16":304392462640611328,"45":7870321849812680704},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-02 03:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769727488001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:19:37] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 03:19:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304392462640611328,"km_value":304392462640611.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870321849812680704,"description":"Unknown IO ID 45"} 
[2026-06-02 03:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769727488001,"power":27267,"unknown_59":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7870321849812680704}} 
[2026-06-02 03:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":89300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:19:37] local.INFO: GPS data processed {"connection_id":89300,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:19:37] local.INFO: Acknowledgment sent {"connection_id":89300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:19:38] local.INFO: TCP Data received {"connection_id":89300,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8528eb80012d6d45c0060e33a00009000b2b..."} 
[2026-06-02 03:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8528eb80012d6d45c0060e33a00009000b2b..."} 
[2026-06-02 03:19:38] local.INFO: Processing buffer {"connection_id":89300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8528eb80012d6d45c0060e33a00009000b2b..."} 
[2026-06-02 03:19:38] local.INFO: Packet analysis {"connection_id":89300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:38] local.INFO: Extracted packet for processing {"connection_id":89300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8528"} 
[2026-06-02 03:19:38] local.INFO: GPS Element Parsed {"raw_longitude":762136000,"raw_latitude":101594016,"longitude_deg":76.2136,"latitude_deg":10.1594016,"altitude":9,"angle":11,"satellites":43,"speed":22,"hex_longitude":"2d6d45c0","hex_latitude":"060e33a0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769728256001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304392793353093120,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870814431022393344,"note":"Value kept but may cause issues"} 
[2026-06-02 03:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780350512000,"timestamp_ms":1780350512000,"timestamp_seconds":1780350512,"priority":1,"record_length":96,"hex_timestamp":"0000019e8528eb80"} 
[2026-06-02 03:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:19: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-06-02 03:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769728256001,"66":27332,"59":206,"19":43264,"24":22,"16":304392793353093120,"45":7870814431022393344},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-02 03:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769728256001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:19:38] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 03:19:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304392793353093120,"km_value":304392793353093.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870814431022393344,"description":"Unknown IO ID 45"} 
[2026-06-02 03:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769728256001,"power":27332,"unknown_59":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7870814431022393344}} 
[2026-06-02 03:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":89300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:19:38] local.INFO: GPS data processed {"connection_id":89300,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:19:38] local.INFO: Acknowledgment sent {"connection_id":89300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:20:27] local.INFO: TCP Data received {"connection_id":89300,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85292a00012d6d5000060e56e00008001827..."} 
[2026-06-02 03:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85292a00012d6d5000060e56e00008001827..."} 
[2026-06-02 03:20:27] local.INFO: Processing buffer {"connection_id":89300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85292a00012d6d5000060e56e00008001827..."} 
[2026-06-02 03:20:27] local.INFO: Packet analysis {"connection_id":89300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8529"} 
[2026-06-02 03:20:27] local.INFO: Extracted packet for processing {"connection_id":89300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8529"} 
[2026-06-02 03:20:27] local.INFO: GPS Element Parsed {"raw_longitude":762138624,"raw_latitude":101603040,"longitude_deg":76.2138624,"latitude_deg":10.160304,"altitude":8,"angle":24,"satellites":39,"speed":24,"hex_longitude":"2d6d5000","hex_latitude":"060e56e0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769731072001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304393248619626496,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873910655767781376,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780350528000,"timestamp_ms":1780350528000,"timestamp_seconds":1780350528,"priority":1,"record_length":96,"hex_timestamp":"0000019e85292a00"} 
[2026-06-02 03:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:20: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-06-02 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 03:20: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-06-02 03: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-06-02 03:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769731072001,"66":27343,"59":206,"19":43264,"24":24,"16":304393248619626496,"45":7873910655767781376},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-02 03:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769731072001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:20:27] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 03:20:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304393248619626496,"km_value":304393248619626.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873910655767781376,"description":"Unknown IO ID 45"} 
[2026-06-02 03:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769731072001,"power":27343,"unknown_59":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7873910655767781376}} 
[2026-06-02 03:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":89300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:20:27] local.INFO: GPS data processed {"connection_id":89300,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:20:27] local.INFO: Acknowledgment sent {"connection_id":89300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:20:35] local.INFO: TCP Data received {"connection_id":90503,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:20:35] local.INFO: Processing buffer {"connection_id":90503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:20:35] local.INFO: IMEI packet received {"connection_id":90503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":90503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:20:39] local.INFO: TCP Data received {"connection_id":90503,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:20:39] local.INFO: Processing buffer {"connection_id":90503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:20:39] local.INFO: IMEI packet received {"connection_id":90503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":90503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:20:43] local.INFO: TCP Data received {"connection_id":90503,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85292a00012d6d5000060e56e00008001827..."} 
[2026-06-02 03:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85292a00012d6d5000060e56e00008001827..."} 
[2026-06-02 03:20:43] local.INFO: Processing buffer {"connection_id":90503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85292a00012d6d5000060e56e00008001827..."} 
[2026-06-02 03:20:43] local.INFO: Packet analysis {"connection_id":90503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8529"} 
[2026-06-02 03:20:43] local.INFO: Extracted packet for processing {"connection_id":90503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8529"} 
[2026-06-02 03:20:43] local.INFO: GPS Element Parsed {"raw_longitude":762138624,"raw_latitude":101603040,"longitude_deg":76.2138624,"latitude_deg":10.160304,"altitude":8,"angle":24,"satellites":39,"speed":24,"hex_longitude":"2d6d5000","hex_latitude":"060e56e0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769735168001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304393248619626496,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876795774281375744,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780350528000,"timestamp_ms":1780350528000,"timestamp_seconds":1780350528,"priority":1,"record_length":96,"hex_timestamp":"0000019e85292a00"} 
[2026-06-02 03:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769735168001,"66":27343,"59":206,"19":43264,"24":24,"16":304393248619626496,"45":7876795774281375744},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-02 03:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769735168001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:20:43] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 03:20:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304393248619626496,"km_value":304393248619626.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876795774281375744,"description":"Unknown IO ID 45"} 
[2026-06-02 03:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769735168001,"power":27343,"unknown_59":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7876795774281375744}} 
[2026-06-02 03:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":90503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:20:43] local.INFO: GPS data processed {"connection_id":90503,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:20:43] local.INFO: Acknowledgment sent {"connection_id":90503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:20:44] local.INFO: TCP Data received {"connection_id":90503,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852958e0012d6d5e00060e78c80009001028..."} 
[2026-06-02 03:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852958e0012d6d5e00060e78c80009001028..."} 
[2026-06-02 03:20:44] local.INFO: Processing buffer {"connection_id":90503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852958e0012d6d5e00060e78c80009001028..."} 
[2026-06-02 03:20:44] local.INFO: Packet analysis {"connection_id":90503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8529"} 
[2026-06-02 03:20:44] local.INFO: Extracted packet for processing {"connection_id":90503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8529"} 
[2026-06-02 03:20:44] local.INFO: GPS Element Parsed {"raw_longitude":762142208,"raw_latitude":101611720,"longitude_deg":76.2142208,"latitude_deg":10.161172,"altitude":9,"angle":16,"satellites":40,"speed":35,"hex_longitude":"2d6d5e00","hex_latitude":"060e78c8","is_valid_coordinates":true} 
[2026-06-02 03:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769735168001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304393703886159872,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876795774281375744,"note":"Value kept but may cause issues"} 
[2026-06-02 03:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780350540000,"timestamp_ms":1780350540000,"timestamp_seconds":1780350540,"priority":1,"record_length":96,"hex_timestamp":"0000019e852958e0"} 
[2026-06-02 03:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":90503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":90503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":90503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769735168001,"66":27332,"59":206,"19":43264,"24":35,"16":304393703886159872,"45":7876795774281375744},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-02 03:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769735168001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:20:44] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 03:20:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304393703886159872,"km_value":304393703886159.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876795774281375744,"description":"Unknown IO ID 45"} 
[2026-06-02 03:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769735168001,"power":27332,"unknown_59":206,"unknown_19":43264,"ignition":35,"odometer":null,"unknown_45":7876795774281375744}} 
[2026-06-02 03:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":90503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:20:44] local.INFO: GPS data processed {"connection_id":90503,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:20:44] local.INFO: Acknowledgment sent {"connection_id":90503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:21:27] local.INFO: TCP Data received {"connection_id":89036,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:21:27] local.INFO: Processing buffer {"connection_id":89036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:21:27] local.INFO: IMEI packet received {"connection_id":89036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":89036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:21:29] local.INFO: TCP Data received {"connection_id":89036,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:21:29] local.INFO: Processing buffer {"connection_id":89036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:21:29] local.INFO: IMEI packet received {"connection_id":89036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":89036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:21:29] local.INFO: TCP Data received {"connection_id":89301,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:21:29] local.INFO: Processing buffer {"connection_id":89301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:21:29] local.INFO: IMEI packet received {"connection_id":89301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":89301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:21:30] local.INFO: TCP Data received {"connection_id":89036,"ip":"117.224.195.65","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89036,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:21:30] local.INFO: Processing buffer {"connection_id":89036,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:21:30] local.INFO: IMEI packet received {"connection_id":89036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":89036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:21:31] local.INFO: TCP Data received {"connection_id":89036,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852ab488012d6d2b00060f81200007014b2b..."} 
[2026-06-02 03:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852ab488012d6d2b00060f81200007014b2b..."} 
[2026-06-02 03:21:31] local.INFO: Processing buffer {"connection_id":89036,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e852aa8d0012d6d2e00060f78a80007015c2a..."} 
[2026-06-02 03:21:31] local.INFO: Packet analysis {"connection_id":89036,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:21:31] local.INFO: Extracted packet for processing {"connection_id":89036,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762129920,"raw_latitude":101677224,"longitude_deg":76.212992,"latitude_deg":10.1677224,"altitude":7,"angle":348,"satellites":42,"speed":30,"hex_longitude":"2d6d2e00","hex_latitude":"060f78a8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769757184001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304396985241174016,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7869125581182662656,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780350626000,"timestamp_ms":1780350626000,"timestamp_seconds":1780350626,"priority":1,"record_length":96,"hex_timestamp":"0000019e852aa8d0"} 
[2026-06-02 03:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:21: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-06-02 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 03:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769757184001,"66":27463,"90":206,"19":43264,"24":30,"16":304396985241174016,"45":7869125581182662656},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769757184001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304396985241174016,"km_value":304396985241174.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7869125581182662656,"description":"Unknown IO ID 45"} 
[2026-06-02 03:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769757184001,"power":27463,"unknown_90":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7869125581182662656}} 
[2026-06-02 03:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":89036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:21:31] local.INFO: GPS data processed {"connection_id":89036,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:21:31] local.INFO: Acknowledgment sent {"connection_id":89036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:21:31] local.INFO: Packet analysis {"connection_id":89036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:21:31] local.INFO: Extracted packet for processing {"connection_id":89036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762129152,"raw_latitude":101679392,"longitude_deg":76.2129152,"latitude_deg":10.1679392,"altitude":7,"angle":331,"satellites":43,"speed":30,"hex_longitude":"2d6d2b00","hex_latitude":"060f8120","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769760256001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304397096910323712,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7867225625092204544,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780350629000,"timestamp_ms":1780350629000,"timestamp_seconds":1780350629,"priority":1,"record_length":96,"hex_timestamp":"0000019e852ab488"} 
[2026-06-02 03:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:21: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-06-02 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 03:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769760256001,"66":27234,"90":206,"19":43264,"24":30,"16":304397096910323712,"45":7867225625092204544},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-06-02 03:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769760256001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304397096910323712,"km_value":304397096910323.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7867225625092204544,"description":"Unknown IO ID 45"} 
[2026-06-02 03:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769760256001,"power":27234,"unknown_90":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7867225625092204544}} 
[2026-06-02 03:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":89036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:21:31] local.INFO: GPS data processed {"connection_id":89036,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:21:31] local.INFO: Acknowledgment sent {"connection_id":89036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:21:38] local.INFO: TCP Data received {"connection_id":89036,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852ac810012d6d2400060f8de80007015a2a..."} 
[2026-06-02 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852ac810012d6d2400060f8de80007015a2a..."} 
[2026-06-02 03:21:38] local.INFO: Processing buffer {"connection_id":89036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852ac810012d6d2400060f8de80007015a2a..."} 
[2026-06-02 03:21:38] local.INFO: Packet analysis {"connection_id":89036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:21:38] local.INFO: Extracted packet for processing {"connection_id":89036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":762127360,"raw_latitude":101682664,"longitude_deg":76.212736,"latitude_deg":10.1682664,"altitude":7,"angle":346,"satellites":42,"speed":30,"hex_longitude":"2d6d2400","hex_latitude":"060f8de8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769761024001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304397277298950144,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7866381200162627584,"note":"Value kept but may cause issues"} 
[2026-06-02 03:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780350634000,"timestamp_ms":1780350634000,"timestamp_seconds":1780350634,"priority":1,"record_length":96,"hex_timestamp":"0000019e852ac810"} 
[2026-06-02 03:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769761024001,"66":27321,"90":206,"19":43264,"24":30,"16":304397277298950144,"45":7866381200162627584},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-06-02 03:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769761024001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:21:38] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 03:21:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304397277298950144,"km_value":304397277298950.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7866381200162627584,"description":"Unknown IO ID 45"} 
[2026-06-02 03:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769761024001,"power":27321,"unknown_90":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7866381200162627584}} 
[2026-06-02 03:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":89036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:21:38] local.INFO: GPS data processed {"connection_id":89036,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:21:38] local.INFO: Acknowledgment sent {"connection_id":89036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:22:00] local.INFO: TCP Data received {"connection_id":90504,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:22:00] local.INFO: Processing buffer {"connection_id":90504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:22:00] local.INFO: IMEI packet received {"connection_id":90504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":90504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:22:09] local.INFO: TCP Data received {"connection_id":89036,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852acfe0012d6d23c0060f93d00007000229..."} 
[2026-06-02 03:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852acfe0012d6d23c0060f93d00007000229..."} 
[2026-06-02 03:22:09] local.INFO: Processing buffer {"connection_id":89036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852acfe0012d6d23c0060f93d00007000229..."} 
[2026-06-02 03:22:09] local.INFO: Packet analysis {"connection_id":89036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:22:09] local.INFO: Extracted packet for processing {"connection_id":89036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:22:09] local.INFO: GPS Element Parsed {"raw_longitude":762127296,"raw_latitude":101684176,"longitude_deg":76.2127296,"latitude_deg":10.1684176,"altitude":7,"angle":2,"satellites":41,"speed":32,"hex_longitude":"2d6d23c0","hex_latitude":"060f93d0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769762304001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304397350313394176,"note":"Value kept but may cause issues"} 
[2026-06-02 03:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864410875326490624,"note":"Value kept but may cause issues"} 
[2026-06-02 03:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780350636000,"timestamp_ms":1780350636000,"timestamp_seconds":1780350636,"priority":1,"record_length":96,"hex_timestamp":"0000019e852acfe0"} 
[2026-06-02 03:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:22: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-06-02 03:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769762304001,"66":27376,"90":206,"19":43264,"24":32,"16":304397350313394176,"45":7864410875326490624},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-06-02 03:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769762304001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:22:09] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 03:22:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304397350313394176,"km_value":304397350313394.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864410875326490624,"description":"Unknown IO ID 45"} 
[2026-06-02 03:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769762304001,"power":27376,"unknown_90":206,"unknown_19":43264,"ignition":32,"odometer":null,"unknown_45":7864410875326490624}} 
[2026-06-02 03:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":89036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:22:09] local.INFO: GPS data processed {"connection_id":89036,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:22:09] local.INFO: Acknowledgment sent {"connection_id":89036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:22:25] local.INFO: TCP Data received {"connection_id":89302,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:25] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:25] local.INFO: IMEI packet received {"connection_id":89302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":89302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:22:25] local.INFO: TCP Data received {"connection_id":89302,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:25] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:25] local.INFO: IMEI packet received {"connection_id":89302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":89302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:22:31] local.INFO: TCP Data received {"connection_id":89302,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:31] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:22:31] local.INFO: IMEI packet received {"connection_id":89302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":89302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:22:33] local.INFO: TCP Data received {"connection_id":89302,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852aef20012d6d2480060faf700006015f2a..."} 
[2026-06-02 03:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852aef20012d6d2480060faf700006015f2a..."} 
[2026-06-02 03:22:33] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852aef20012d6d2480060faf700006015f2a..."} 
[2026-06-02 03:22:33] local.INFO: Packet analysis {"connection_id":89302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:22:33] local.INFO: Extracted packet for processing {"connection_id":89302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852a"} 
[2026-06-02 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762127488,"raw_latitude":101691248,"longitude_deg":76.2127488,"latitude_deg":10.1691248,"altitude":6,"angle":351,"satellites":42,"speed":35,"hex_longitude":"2d6d2480","hex_latitude":"060faf70","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769762816001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304397693910777856,"note":"Value kept but may cause issues"} 
[2026-06-02 03:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864340506582700032,"note":"Value kept but may cause issues"} 
[2026-06-02 03:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780350644000,"timestamp_ms":1780350644000,"timestamp_seconds":1780350644,"priority":1,"record_length":96,"hex_timestamp":"0000019e852aef20"} 
[2026-06-02 03:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 03:22:33] 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-06-02 03: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-06-02 03:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769762816001,"66":27365,"90":206,"19":43264,"24":35,"16":304397693910777856,"45":7864340506582700032},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-06-02 03:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769762816001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:22:33] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 03:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304397693910777856,"km_value":304397693910777.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864340506582700032,"description":"Unknown IO ID 45"} 
[2026-06-02 03:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769762816001,"power":27365,"unknown_90":206,"unknown_19":43264,"ignition":35,"odometer":null,"unknown_45":7864340506582700032}} 
[2026-06-02 03:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":89302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:22:33] local.INFO: GPS data processed {"connection_id":89302,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:22:33] local.INFO: Acknowledgment sent {"connection_id":89302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:23:05] local.INFO: TCP Data received {"connection_id":89302,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852c4eb0012d6cef000610e300000601402c..."} 
[2026-06-02 03:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852c4eb0012d6cef000610e300000601402c..."} 
[2026-06-02 03:23:05] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852c4eb0012d6cef000610e300000601402c..."} 
[2026-06-02 03:23:05] local.INFO: Packet analysis {"connection_id":89302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852c"} 
[2026-06-02 03:23:05] local.INFO: Extracted packet for processing {"connection_id":89302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852c"} 
[2026-06-02 03:23:05] local.INFO: GPS Element Parsed {"raw_longitude":762113792,"raw_latitude":101769984,"longitude_deg":76.2113792,"latitude_deg":10.1769984,"altitude":6,"angle":320,"satellites":44,"speed":40,"hex_longitude":"2d6cef00","hex_latitude":"0610e300","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769787136001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304401653870624768,"note":"Value kept but may cause issues"} 
[2026-06-02 03:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7851463026419486720,"note":"Value kept but may cause issues"} 
[2026-06-02 03:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780350734000,"timestamp_ms":1780350734000,"timestamp_seconds":1780350734,"priority":1,"record_length":96,"hex_timestamp":"0000019e852c4eb0"} 
[2026-06-02 03:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:23: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-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769787136001,"66":27071,"89":206,"19":43264,"24":40,"16":304401653870624768,"45":7851463026419486720},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-06-02 03:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769787136001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:23:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 03:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304401653870624768,"km_value":304401653870624.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7851463026419486720,"description":"Unknown IO ID 45"} 
[2026-06-02 03:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769787136001,"power":27071,"unknown_89":206,"unknown_19":43264,"ignition":40,"odometer":null,"unknown_45":7851463026419486720}} 
[2026-06-02 03:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":89302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:23:05] local.INFO: GPS data processed {"connection_id":89302,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:23:05] local.INFO: Acknowledgment sent {"connection_id":89302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:23:25] local.INFO: TCP Data received {"connection_id":89441,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:25] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:25] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:23:27] local.INFO: TCP Data received {"connection_id":89441,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:27] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:27] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:23:31] local.INFO: TCP Data received {"connection_id":89441,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:31] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:23:31] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:23:34] local.INFO: TCP Data received {"connection_id":89441,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852c6620012d6ce2800610f490000401522a..."} 
[2026-06-02 03:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852c6620012d6ce2800610f490000401522a..."} 
[2026-06-02 03:23:34] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852c6620012d6ce2800610f490000401522a..."} 
[2026-06-02 03:23:34] local.INFO: Packet analysis {"connection_id":89441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852c"} 
[2026-06-02 03:23:34] local.INFO: Extracted packet for processing {"connection_id":89441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852c"} 
[2026-06-02 03:23:34] local.INFO: GPS Element Parsed {"raw_longitude":762110592,"raw_latitude":101774480,"longitude_deg":76.2110592,"latitude_deg":10.177448,"altitude":4,"angle":338,"satellites":42,"speed":39,"hex_longitude":"2d6ce280","hex_latitude":"0610f490","is_valid_coordinates":true} 
[2026-06-02 03:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769787904001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304401920158597120,"note":"Value kept but may cause issues"} 
[2026-06-02 03:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7849492701583179776,"note":"Value kept but may cause issues"} 
[2026-06-02 03:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780350740000,"timestamp_ms":1780350740000,"timestamp_seconds":1780350740,"priority":1,"record_length":96,"hex_timestamp":"0000019e852c6620"} 
[2026-06-02 03:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:23: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-06-02 03:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-02 03:23:34] 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-06-02 03:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769787904001,"66":27321,"89":206,"19":43264,"24":39,"16":304401920158597120,"45":7849492701583179776},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-06-02 03:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769787904001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:23:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 03:23:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304401920158597120,"km_value":304401920158597.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7849492701583179776,"description":"Unknown IO ID 45"} 
[2026-06-02 03:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769787904001,"power":27321,"unknown_89":206,"unknown_19":43264,"ignition":39,"odometer":null,"unknown_45":7849492701583179776}} 
[2026-06-02 03:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":89441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:23:34] local.INFO: GPS data processed {"connection_id":89441,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:23:34] local.INFO: Acknowledgment sent {"connection_id":89441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:24:05] local.INFO: TCP Data received {"connection_id":89441,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852c75c0012d6cdf00061103d00004015f2d..."} 
[2026-06-02 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852c75c0012d6cdf00061103d00004015f2d..."} 
[2026-06-02 03:24:05] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852c75c0012d6cdf00061103d00004015f2d..."} 
[2026-06-02 03:24:05] local.INFO: Packet analysis {"connection_id":89441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852c"} 
[2026-06-02 03:24:05] local.INFO: Extracted packet for processing {"connection_id":89441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852c"} 
[2026-06-02 03:24:05] local.INFO: GPS Element Parsed {"raw_longitude":762109696,"raw_latitude":101778384,"longitude_deg":76.2109696,"latitude_deg":10.1778384,"altitude":4,"angle":351,"satellites":45,"speed":40,"hex_longitude":"2d6cdf00","hex_latitude":"061103d0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769789440001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304402113432125440,"note":"Value kept but may cause issues"} 
[2026-06-02 03:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7845974264375447552,"note":"Value kept but may cause issues"} 
[2026-06-02 03:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780350744000,"timestamp_ms":1780350744000,"timestamp_seconds":1780350744,"priority":1,"record_length":96,"hex_timestamp":"0000019e852c75c0"} 
[2026-06-02 03:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:24:05] 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-06-02 03: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-06-02 03:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769789440001,"66":27321,"89":206,"19":43264,"24":40,"16":304402113432125440,"45":7845974264375447552},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-06-02 03:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769789440001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:24:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 03:24:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304402113432125440,"km_value":304402113432125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7845974264375447552,"description":"Unknown IO ID 45"} 
[2026-06-02 03:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769789440001,"power":27321,"unknown_89":206,"unknown_19":43264,"ignition":40,"odometer":null,"unknown_45":7845974264375447552}} 
[2026-06-02 03:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":89441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:24:05] local.INFO: GPS data processed {"connection_id":89441,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:24:05] local.INFO: Acknowledgment sent {"connection_id":89441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:24:25] local.INFO: TCP Data received {"connection_id":89303,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:24:25] local.INFO: Processing buffer {"connection_id":89303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:24:25] local.INFO: IMEI packet received {"connection_id":89303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":89303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:24:31] local.INFO: TCP Data received {"connection_id":89303,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:24:31] local.INFO: Processing buffer {"connection_id":89303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:24:31] local.INFO: IMEI packet received {"connection_id":89303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":89303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:24:32] local.INFO: TCP Data received {"connection_id":89303,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852d5c38012d6c644006112f08000501372d..."} 
[2026-06-02 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852d5c38012d6c644006112f08000501372d..."} 
[2026-06-02 03:24:32] local.INFO: Processing buffer {"connection_id":89303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852d5c38012d6c644006112f08000501372d..."} 
[2026-06-02 03:24:32] local.INFO: Packet analysis {"connection_id":89303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852d"} 
[2026-06-02 03:24:32] local.INFO: Extracted packet for processing {"connection_id":89303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852d"} 
[2026-06-02 03:24:32] local.INFO: GPS Element Parsed {"raw_longitude":762078272,"raw_latitude":101789448,"longitude_deg":76.2078272,"latitude_deg":10.1789448,"altitude":5,"angle":311,"satellites":45,"speed":32,"hex_longitude":"2d6c6440","hex_latitude":"06112f08","is_valid_coordinates":true} 
[2026-06-02 03:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769805056001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304403913023422464,"note":"Value kept but may cause issues"} 
[2026-06-02 03:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811845423452891136,"note":"Value kept but may cause issues"} 
[2026-06-02 03:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780350803000,"timestamp_ms":1780350803000,"timestamp_seconds":1780350803,"priority":1,"record_length":96,"hex_timestamp":"0000019e852d5c38"} 
[2026-06-02 03:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:24: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-06-02 03:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 03:24:32] 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-06-02 03:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769805056001,"66":27137,"89":206,"19":43264,"24":32,"16":304403913023422464,"45":7811845423452891136},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-06-02 03:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769805056001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:24:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 03:24:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304403913023422464,"km_value":304403913023422.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811845423452891136,"description":"Unknown IO ID 45"} 
[2026-06-02 03:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769805056001,"power":27137,"unknown_89":206,"unknown_19":43264,"ignition":32,"odometer":null,"unknown_45":7811845423452891136}} 
[2026-06-02 03:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":89303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:24:32] local.INFO: GPS data processed {"connection_id":89303,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:24:32] local.INFO: Acknowledgment sent {"connection_id":89303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:25:03] local.INFO: TCP Data received {"connection_id":89303,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852e13d0012d6bedc00611a378000401272d..."} 
[2026-06-02 03:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852e13d0012d6bedc00611a378000401272d..."} 
[2026-06-02 03:25:03] local.INFO: Processing buffer {"connection_id":89303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852e13d0012d6bedc00611a378000401272d..."} 
[2026-06-02 03:25:03] local.INFO: Packet analysis {"connection_id":89303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852e"} 
[2026-06-02 03:25:03] local.INFO: Extracted packet for processing {"connection_id":89303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852e"} 
[2026-06-02 03:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762047936,"raw_latitude":101819256,"longitude_deg":76.2047936,"latitude_deg":10.1819256,"altitude":4,"angle":295,"satellites":45,"speed":18,"hex_longitude":"2d6bedc0","hex_latitude":"0611a378","is_valid_coordinates":true} 
[2026-06-02 03:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769817344001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304406030442299392,"note":"Value kept but may cause issues"} 
[2026-06-02 03:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7777505476301975552,"note":"Value kept but may cause issues"} 
[2026-06-02 03:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780350850000,"timestamp_ms":1780350850000,"timestamp_seconds":1780350850,"priority":1,"record_length":96,"hex_timestamp":"0000019e852e13d0"} 
[2026-06-02 03:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:25: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-06-02 03:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769817344001,"66":27365,"20":206,"19":43264,"24":18,"16":304406030442299392,"45":7777505476301975552},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-06-02 03:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769817344001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:25:03] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-02 03:25:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304406030442299392,"km_value":304406030442299.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7777505476301975552,"description":"Unknown IO ID 45"} 
[2026-06-02 03:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769817344001,"power":27365,"unknown_20":206,"unknown_19":43264,"ignition":18,"odometer":null,"unknown_45":7777505476301975552}} 
[2026-06-02 03:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":89303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:25:03] local.INFO: GPS data processed {"connection_id":89303,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:25:03] local.INFO: Acknowledgment sent {"connection_id":89303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:25:25] local.INFO: TCP Data received {"connection_id":89038,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:25:25] local.INFO: Processing buffer {"connection_id":89038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:25:25] local.INFO: IMEI packet received {"connection_id":89038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":89038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:25:30] local.INFO: TCP Data received {"connection_id":89038,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:25:30] local.INFO: Processing buffer {"connection_id":89038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:25:30] local.INFO: IMEI packet received {"connection_id":89038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":89038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:25:31] local.INFO: TCP Data received {"connection_id":89038,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852e17b8012d6bec000611a378000401032d..."} 
[2026-06-02 03:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852e17b8012d6bec000611a378000401032d..."} 
[2026-06-02 03:25:31] local.INFO: Processing buffer {"connection_id":89038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852e17b8012d6bec000611a378000401032d..."} 
[2026-06-02 03:25:31] local.INFO: Packet analysis {"connection_id":89038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852e"} 
[2026-06-02 03:25:31] local.INFO: Extracted packet for processing {"connection_id":89038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852e"} 
[2026-06-02 03:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762047488,"raw_latitude":101819256,"longitude_deg":76.2047488,"latitude_deg":10.1819256,"altitude":4,"angle":259,"satellites":45,"speed":17,"hex_longitude":"2d6bec00","hex_latitude":"0611a378","is_valid_coordinates":true} 
[2026-06-02 03:25: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-06-02 03:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769817600001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304406051917135872,"note":"Value kept but may cause issues"} 
[2026-06-02 03:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7777083263836977152,"note":"Value kept but may cause issues"} 
[2026-06-02 03:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780350851000,"timestamp_ms":1780350851000,"timestamp_seconds":1780350851,"priority":1,"record_length":96,"hex_timestamp":"0000019e852e17b8"} 
[2026-06-02 03:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:25: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-06-02 03:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:25: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-06-02 03:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769817600001,"66":27365,"20":206,"19":43264,"24":17,"16":304406051917135872,"45":7777083263836977152},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-06-02 03:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769817600001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:25:31] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-02 03:25:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304406051917135872,"km_value":304406051917135.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7777083263836977152,"description":"Unknown IO ID 45"} 
[2026-06-02 03:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769817600001,"power":27365,"unknown_20":206,"unknown_19":43264,"ignition":17,"odometer":null,"unknown_45":7777083263836977152}} 
[2026-06-02 03:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":89038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:25:31] local.INFO: GPS data processed {"connection_id":89038,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:25:31] local.INFO: Acknowledgment sent {"connection_id":89038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:26:03] local.INFO: TCP Data received {"connection_id":89038,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852e1ba0012d6bea800611a2c8000400f12d..."} 
[2026-06-02 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852e1ba0012d6bea800611a2c8000400f12d..."} 
[2026-06-02 03:26:03] local.INFO: Processing buffer {"connection_id":89038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852e1ba0012d6bea800611a2c8000400f12d..."} 
[2026-06-02 03:26:03] local.INFO: Packet analysis {"connection_id":89038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852e"} 
[2026-06-02 03:26:03] local.INFO: Extracted packet for processing {"connection_id":89038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852e"} 
[2026-06-02 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762047104,"raw_latitude":101819080,"longitude_deg":76.2047104,"latitude_deg":10.181908,"altitude":4,"angle":241,"satellites":45,"speed":18,"hex_longitude":"2d6bea80","hex_latitude":"0611a2c8","is_valid_coordinates":true} 
[2026-06-02 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769817856001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304406073391972352,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776590682627733504,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780350852000,"timestamp_ms":1780350852000,"timestamp_seconds":1780350852,"priority":1,"record_length":96,"hex_timestamp":"0000019e852e1ba0"} 
[2026-06-02 03:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:26: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-06-02 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769817856001,"66":27343,"20":206,"19":43264,"24":18,"16":304406073391972352,"45":7776590682627733504},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-06-02 03:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769817856001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304406073391972352,"km_value":304406073391972.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776590682627733504,"description":"Unknown IO ID 45"} 
[2026-06-02 03:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769817856001,"power":27343,"unknown_20":206,"unknown_19":43264,"ignition":18,"odometer":null,"unknown_45":7776590682627733504}} 
[2026-06-02 03:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":89038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:26:03] local.INFO: GPS data processed {"connection_id":89038,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:26:03] local.INFO: Acknowledgment sent {"connection_id":89038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:26:27] local.INFO: TCP Data received {"connection_id":89039,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:27] local.INFO: Processing buffer {"connection_id":89039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:27] local.INFO: IMEI packet received {"connection_id":89039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":89039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:26:30] local.INFO: TCP Data received {"connection_id":89039,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:30] local.INFO: Processing buffer {"connection_id":89039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:30] local.INFO: IMEI packet received {"connection_id":89039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":89039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:26:31] local.INFO: TCP Data received {"connection_id":89039,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:31] local.INFO: Processing buffer {"connection_id":89039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:31] local.INFO: IMEI packet received {"connection_id":89039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":89039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:26:34] local.INFO: TCP Data received {"connection_id":89039,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:34] local.INFO: Processing buffer {"connection_id":89039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:26:34] local.INFO: IMEI packet received {"connection_id":89039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":89039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:26:56] local.INFO: TCP Data received {"connection_id":89039,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852f1d70012d6b8d0006124448000501552b..."} 
[2026-06-02 03:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852f1d70012d6b8d0006124448000501552b..."} 
[2026-06-02 03:26:56] local.INFO: Processing buffer {"connection_id":89039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852f1d70012d6b8d0006124448000501552b..."} 
[2026-06-02 03:26:56] local.INFO: Packet analysis {"connection_id":89039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852f"} 
[2026-06-02 03:26:56] local.INFO: Extracted packet for processing {"connection_id":89039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852f"} 
[2026-06-02 03:26:56] local.INFO: GPS Element Parsed {"raw_longitude":762023168,"raw_latitude":101860424,"longitude_deg":76.2023168,"latitude_deg":10.1860424,"altitude":5,"angle":341,"satellites":43,"speed":33,"hex_longitude":"2d6b8d00","hex_latitude":"06124448","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769832960001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304408822171041792,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7753017153336528896,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1780350918000,"timestamp_ms":1780350918000,"timestamp_seconds":1780350918,"priority":1,"record_length":96,"hex_timestamp":"0000019e852f1d70"} 
[2026-06-02 03:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:26: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-06-02 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:26:56] 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-06-02 03: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-06-02 03:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":89039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":89039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":89039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769832960001,"66":27321,"21":206,"19":43264,"24":33,"16":304408822171041792,"45":7753017153336528896},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-06-02 03:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769832960001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:26:56] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-02 03:26:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304408822171041792,"km_value":304408822171041.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7753017153336528896,"description":"Unknown IO ID 45"} 
[2026-06-02 03:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769832960001,"power":27321,"unknown_21":206,"unknown_19":43264,"ignition":33,"odometer":null,"unknown_45":7753017153336528896}} 
[2026-06-02 03:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":89039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:26:56] local.INFO: GPS data processed {"connection_id":89039,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:26:56] local.INFO: Acknowledgment sent {"connection_id":89039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:26:58] local.INFO: TCP Data received {"connection_id":89039,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852f67a8012d6b81c0061265e8000701542c..."} 
[2026-06-02 03:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852f67a8012d6b81c0061265e8000701542c..."} 
[2026-06-02 03:26:58] local.INFO: Processing buffer {"connection_id":89039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852f67a8012d6b81c0061265e8000701542c..."} 
[2026-06-02 03:26:58] local.INFO: Packet analysis {"connection_id":89039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852f"} 
[2026-06-02 03:26:58] local.INFO: Extracted packet for processing {"connection_id":89039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852f"} 
[2026-06-02 03:26:58] local.INFO: GPS Element Parsed {"raw_longitude":762020288,"raw_latitude":101869032,"longitude_deg":76.2020288,"latitude_deg":10.1869032,"altitude":7,"angle":340,"satellites":44,"speed":24,"hex_longitude":"2d6b81c0","hex_latitude":"061265e8","is_valid_coordinates":true} 
[2026-06-02 03:26: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-06-02 03:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769835008001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304409264552673280,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7749850559850760192,"note":"Value kept but may cause issues"} 
[2026-06-02 03:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780350937000,"timestamp_ms":1780350937000,"timestamp_seconds":1780350937,"priority":1,"record_length":96,"hex_timestamp":"0000019e852f67a8"} 
[2026-06-02 03:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:26: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-06-02 03:26: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-06-02 03:26: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-06-02 03:26: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-06-02 03:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769835008001,"66":27343,"21":206,"19":43264,"24":24,"16":304409264552673280,"45":7749850559850760192},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-06-02 03:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769835008001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:26:58] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-02 03:26:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304409264552673280,"km_value":304409264552673.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7749850559850760192,"description":"Unknown IO ID 45"} 
[2026-06-02 03:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769835008001,"power":27343,"unknown_21":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7749850559850760192}} 
[2026-06-02 03:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":89039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:26:58] local.INFO: GPS data processed {"connection_id":89039,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:26:58] local.INFO: Acknowledgment sent {"connection_id":89039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:27:24] local.INFO: TCP Data received {"connection_id":89444,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:24] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:24] local.INFO: IMEI packet received {"connection_id":89444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:27:25] local.INFO: TCP Data received {"connection_id":89444,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:25] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:25] local.INFO: IMEI packet received {"connection_id":89444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":89444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:27:29] local.INFO: TCP Data received {"connection_id":89304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:27:29] local.INFO: Processing buffer {"connection_id":89304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:27:29] local.INFO: IMEI packet received {"connection_id":89304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":89304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:27:31] local.INFO: TCP Data received {"connection_id":89444,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:31] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:27:31] local.INFO: IMEI packet received {"connection_id":89444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":89444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:27:32] local.INFO: TCP Data received {"connection_id":89444,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e852f8eb8012d6b78c006128288000601622b..."} 
[2026-06-02 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e852f8eb8012d6b78c006128288000601622b..."} 
[2026-06-02 03:27:32] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e852f8eb8012d6b78c006128288000601622b..."} 
[2026-06-02 03:27:32] local.INFO: Packet analysis {"connection_id":89444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e852f"} 
[2026-06-02 03:27:32] local.INFO: Extracted packet for processing {"connection_id":89444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e852f"} 
[2026-06-02 03:27:32] local.INFO: GPS Element Parsed {"raw_longitude":762017984,"raw_latitude":101876360,"longitude_deg":76.2017984,"latitude_deg":10.187636,"altitude":6,"angle":354,"satellites":43,"speed":32,"hex_longitude":"2d6b78c0","hex_latitude":"06128288","is_valid_coordinates":true} 
[2026-06-02 03:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769839872001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304409638214828032,"note":"Value kept but may cause issues"} 
[2026-06-02 03:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7746683966364968960,"note":"Value kept but may cause issues"} 
[2026-06-02 03:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780350947000,"timestamp_ms":1780350947000,"timestamp_seconds":1780350947,"priority":1,"record_length":96,"hex_timestamp":"0000019e852f8eb8"} 
[2026-06-02 03:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:27: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-06-02 03:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769839872001,"66":27365,"21":206,"19":43264,"24":32,"16":304409638214828032,"45":7746683966364968960},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-06-02 03:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769839872001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:27:32] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-02 03:27:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-06-02 03:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304409638214828032,"km_value":304409638214828.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7746683966364968960,"description":"Unknown IO ID 45"} 
[2026-06-02 03:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769839872001,"power":27365,"unknown_21":206,"unknown_19":43264,"ignition":32,"odometer":null,"unknown_45":7746683966364968960}} 
[2026-06-02 03:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":89444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:27:32] local.INFO: GPS data processed {"connection_id":89444,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:27:32] local.INFO: Acknowledgment sent {"connection_id":89444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:27:59] local.INFO: TCP Data received {"connection_id":89040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:27:59] local.INFO: Processing buffer {"connection_id":89040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:27:59] local.INFO: IMEI packet received {"connection_id":89040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":89040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:28:03] local.INFO: TCP Data received {"connection_id":89444,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85309858012d6b5fc006137fb0000b01632c..."} 
[2026-06-02 03:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85309858012d6b5fc006137fb0000b01632c..."} 
[2026-06-02 03:28:03] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85309858012d6b5fc006137fb0000b01632c..."} 
[2026-06-02 03:28:03] local.INFO: Packet analysis {"connection_id":89444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8530"} 
[2026-06-02 03:28:03] local.INFO: Extracted packet for processing {"connection_id":89444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8530"} 
[2026-06-02 03:28:03] local.INFO: GPS Element Parsed {"raw_longitude":762011584,"raw_latitude":101941168,"longitude_deg":76.2011584,"latitude_deg":10.1941168,"altitude":11,"angle":355,"satellites":44,"speed":44,"hex_longitude":"2d6b5fc0","hex_latitude":"06137fb0","is_valid_coordinates":true} 
[2026-06-02 03:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769857536001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304412816490627072,"note":"Value kept but may cause issues"} 
[2026-06-02 03:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7738239717079576576,"note":"Value kept but may cause issues"} 
[2026-06-02 03:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780351015000,"timestamp_ms":1780351015000,"timestamp_seconds":1780351015,"priority":1,"record_length":96,"hex_timestamp":"0000019e85309858"} 
[2026-06-02 03:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:28: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-06-02 03:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769857536001,"66":27234,"91":206,"19":40704,"24":44,"16":304412816490627072,"45":7738239717079576576},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-06-02 03:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769857536001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:28:03] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-02 03:28:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304412816490627072,"km_value":304412816490627.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7738239717079576576,"description":"Unknown IO ID 45"} 
[2026-06-02 03:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769857536001,"power":27234,"unknown_91":206,"unknown_19":40704,"ignition":44,"odometer":null,"unknown_45":7738239717079576576}} 
[2026-06-02 03:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":89444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:28:03] local.INFO: GPS data processed {"connection_id":89444,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:28:03] local.INFO: Acknowledgment sent {"connection_id":89444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:29:00] local.INFO: TCP Data received {"connection_id":89042,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:00] local.INFO: Processing buffer {"connection_id":89042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:00] local.INFO: IMEI packet received {"connection_id":89042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":89042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:29:06] local.INFO: TCP Data received {"connection_id":89042,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:06] local.INFO: Processing buffer {"connection_id":89042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:06] local.INFO: IMEI packet received {"connection_id":89042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":89042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:29:07] local.INFO: TCP Data received {"connection_id":89042,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8530b798012d6b5bc00613a470000901622c..."} 
[2026-06-02 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8530b798012d6b5bc00613a470000901622c..."} 
[2026-06-02 03:29:07] local.INFO: Processing buffer {"connection_id":89042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8530b798012d6b5bc00613a470000901622c..."} 
[2026-06-02 03:29:07] local.INFO: Packet analysis {"connection_id":89042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8530"} 
[2026-06-02 03:29:07] local.INFO: Extracted packet for processing {"connection_id":89042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8530"} 
[2026-06-02 03:29:07] local.INFO: GPS Element Parsed {"raw_longitude":762010560,"raw_latitude":101950576,"longitude_deg":76.201056,"latitude_deg":10.1950576,"altitude":9,"angle":354,"satellites":44,"speed":48,"hex_longitude":"2d6b5bc0","hex_latitude":"0613a470","is_valid_coordinates":true} 
[2026-06-02 03:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769859840001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304413276052127744,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7737113817175273472,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780351023000,"timestamp_ms":1780351023000,"timestamp_seconds":1780351023,"priority":1,"record_length":96,"hex_timestamp":"0000019e8530b798"} 
[2026-06-02 03:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769859840001,"66":27463,"91":206,"19":40704,"24":48,"16":304413276052127744,"45":7737113817175273472},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-06-02 03:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769859840001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:29:07] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-02 03:29:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304413276052127744,"km_value":304413276052127.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7737113817175273472,"description":"Unknown IO ID 45"} 
[2026-06-02 03:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769859840001,"power":27463,"unknown_91":206,"unknown_19":40704,"ignition":48,"odometer":null,"unknown_45":7737113817175273472}} 
[2026-06-02 03:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":89042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:29:07] local.INFO: GPS data processed {"connection_id":89042,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:29:07] local.INFO: Acknowledgment sent {"connection_id":89042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:29:32] local.INFO: TCP Data received {"connection_id":89445,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:32] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:32] local.INFO: IMEI packet received {"connection_id":89445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":89445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:29:34] local.INFO: TCP Data received {"connection_id":89445,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:34] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:34] local.INFO: IMEI packet received {"connection_id":89445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":89445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:29:36] local.INFO: TCP Data received {"connection_id":89445,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:36] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:36] local.INFO: IMEI packet received {"connection_id":89445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":89445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:29:40] local.INFO: TCP Data received {"connection_id":89445,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:40] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:29:40] local.INFO: IMEI packet received {"connection_id":89445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":89445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:29:41] local.INFO: TCP Data received {"connection_id":89445,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85325d78012d6b35c00614ff80000601412c..."} 
[2026-06-02 03:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85325d78012d6b35c00614ff80000601412c..."} 
[2026-06-02 03:29:41] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85325d78012d6b35c00614ff80000601412c..."} 
[2026-06-02 03:29:41] local.INFO: Packet analysis {"connection_id":89445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:29:41] local.INFO: Extracted packet for processing {"connection_id":89445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:29:41] local.INFO: GPS Element Parsed {"raw_longitude":762000832,"raw_latitude":102039424,"longitude_deg":76.2000832,"latitude_deg":10.2039424,"altitude":6,"angle":321,"satellites":44,"speed":13,"hex_longitude":"2d6b35c0","hex_latitude":"0614ff80","is_valid_coordinates":true} 
[2026-06-02 03:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769889280001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304417613969096704,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725432605666859008,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780351131000,"timestamp_ms":1780351131000,"timestamp_seconds":1780351131,"priority":1,"record_length":96,"hex_timestamp":"0000019e85325d78"} 
[2026-06-02 03:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:29: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-06-02 03:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769889280001,"66":27321,"148":206,"19":40704,"24":13,"16":304417613969096704,"45":7725432605666859008},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-06-02 03:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769889280001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:29:41] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 03:29:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304417613969096704,"km_value":304417613969096.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725432605666859008,"description":"Unknown IO ID 45"} 
[2026-06-02 03:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769889280001,"power":27321,"unknown_148":206,"unknown_19":40704,"ignition":13,"odometer":null,"unknown_45":7725432605666859008}} 
[2026-06-02 03:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":89445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:29:41] local.INFO: GPS data processed {"connection_id":89445,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:29:41] local.INFO: Acknowledgment sent {"connection_id":89445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:29:45] local.INFO: TCP Data received {"connection_id":89445,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85326930012d6b3380061502980006014d2c..."} 
[2026-06-02 03:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85326930012d6b3380061502980006014d2c..."} 
[2026-06-02 03:29:45] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85326930012d6b3380061502980006014d2c..."} 
[2026-06-02 03:29:45] local.INFO: Packet analysis {"connection_id":89445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:29:45] local.INFO: Extracted packet for processing {"connection_id":89445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:29:45] local.INFO: GPS Element Parsed {"raw_longitude":762000256,"raw_latitude":102040216,"longitude_deg":76.2000256,"latitude_deg":10.2040216,"altitude":6,"angle":333,"satellites":44,"speed":12,"hex_longitude":"2d6b3380","hex_latitude":"06150298","is_valid_coordinates":true} 
[2026-06-02 03:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769889536001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304417661213736960,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725291868178579456,"note":"Value kept but may cause issues"} 
[2026-06-02 03:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780351134000,"timestamp_ms":1780351134000,"timestamp_seconds":1780351134,"priority":1,"record_length":96,"hex_timestamp":"0000019e85326930"} 
[2026-06-02 03:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769889536001,"66":27234,"148":206,"19":40704,"24":12,"16":304417661213736960,"45":7725291868178579456},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-06-02 03:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769889536001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:29:45] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 03:29:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304417661213736960,"km_value":304417661213736.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725291868178579456,"description":"Unknown IO ID 45"} 
[2026-06-02 03:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769889536001,"power":27234,"unknown_148":206,"unknown_19":40704,"ignition":12,"odometer":null,"unknown_45":7725291868178579456}} 
[2026-06-02 03:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":89445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:29:45] local.INFO: GPS data processed {"connection_id":89445,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:29:45] local.INFO: Acknowledgment sent {"connection_id":89445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:30:26] local.INFO: TCP Data received {"connection_id":89044,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:30:26] local.INFO: Processing buffer {"connection_id":89044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:30:26] local.INFO: IMEI packet received {"connection_id":89044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":89044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:30:27] local.INFO: TCP Data received {"connection_id":89044,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:30:27] local.INFO: Processing buffer {"connection_id":89044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:30:27] local.INFO: IMEI packet received {"connection_id":89044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":89044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:30:29] local.INFO: TCP Data received {"connection_id":89044,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85327100012d6b32c0061505680006015e2b..."} 
[2026-06-02 03:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85327100012d6b32c0061505680006015e2b..."} 
[2026-06-02 03:30:29] local.INFO: Processing buffer {"connection_id":89044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85327100012d6b32c0061505680006015e2b..."} 
[2026-06-02 03:30:29] local.INFO: Packet analysis {"connection_id":89044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:30:29] local.INFO: Extracted packet for processing {"connection_id":89044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:30:29] local.INFO: GPS Element Parsed {"raw_longitude":762000064,"raw_latitude":102040936,"longitude_deg":76.2000064,"latitude_deg":10.2040936,"altitude":6,"angle":350,"satellites":43,"speed":17,"hex_longitude":"2d6b32c0","hex_latitude":"06150568","is_valid_coordinates":true} 
[2026-06-02 03:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769890304001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304417699868442624,"note":"Value kept but may cause issues"} 
[2026-06-02 03:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724658549481183232,"note":"Value kept but may cause issues"} 
[2026-06-02 03:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780351136000,"timestamp_ms":1780351136000,"timestamp_seconds":1780351136,"priority":1,"record_length":96,"hex_timestamp":"0000019e85327100"} 
[2026-06-02 03:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:30: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-06-02 03:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:30: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-06-02 03:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769890304001,"66":26908,"148":206,"19":40704,"24":17,"16":304417699868442624,"45":7724658549481183232},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-06-02 03:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769890304001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:30:29] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 03:30:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304417699868442624,"km_value":304417699868442.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724658549481183232,"description":"Unknown IO ID 45"} 
[2026-06-02 03:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769890304001,"power":26908,"unknown_148":206,"unknown_19":40704,"ignition":17,"odometer":null,"unknown_45":7724658549481183232}} 
[2026-06-02 03:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":89044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:30:29] local.INFO: GPS data processed {"connection_id":89044,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:30:29] local.INFO: Acknowledgment sent {"connection_id":89044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:31:00] local.INFO: TCP Data received {"connection_id":89044,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8532a3c8012d6b31c006152930000601662b..."} 
[2026-06-02 03:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8532a3c8012d6b31c006152930000601662b..."} 
[2026-06-02 03:31:00] local.INFO: Processing buffer {"connection_id":89044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8532a3c8012d6b31c006152930000601662b..."} 
[2026-06-02 03:31:00] local.INFO: Packet analysis {"connection_id":89044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:31:00] local.INFO: Extracted packet for processing {"connection_id":89044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8532"} 
[2026-06-02 03:31:00] local.INFO: GPS Element Parsed {"raw_longitude":761999808,"raw_latitude":102050096,"longitude_deg":76.1999808,"latitude_deg":10.2050096,"altitude":6,"angle":358,"satellites":43,"speed":36,"hex_longitude":"2d6b31c0","hex_latitude":"06152930","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769890816001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304418142250074112,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724447443248834560,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780351149000,"timestamp_ms":1780351149000,"timestamp_seconds":1780351149,"priority":1,"record_length":96,"hex_timestamp":"0000019e8532a3c8"} 
[2026-06-02 03:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:31: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-06-02 03: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 03:31:00] 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-06-02 03: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-06-02 03:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769890816001,"66":27332,"135":206,"19":40704,"24":36,"16":304418142250074112,"45":7724447443248834560},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-06-02 03:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769890816001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:31:00] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 03:31:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304418142250074112,"km_value":304418142250074.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724447443248834560,"description":"Unknown IO ID 45"} 
[2026-06-02 03:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769890816001,"power":27332,"unknown_135":206,"unknown_19":40704,"ignition":36,"odometer":null,"unknown_45":7724447443248834560}} 
[2026-06-02 03:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":89044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:31:01] local.INFO: GPS data processed {"connection_id":89044,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:31:01] local.INFO: Acknowledgment sent {"connection_id":89044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:31:26] local.INFO: TCP Data received {"connection_id":89447,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:26] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:26] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:31:26] local.INFO: TCP Data received {"connection_id":89447,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:26] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:26] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:31:42] local.INFO: TCP Data received {"connection_id":89447,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:42] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:31:42] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:31:47] local.INFO: TCP Data received {"connection_id":89447,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8533dc48012d6acb400616b7e0000b01542c..."} 
[2026-06-02 03:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8533dc48012d6acb400616b7e0000b01542c..."} 
[2026-06-02 03:31:47] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8533dc48012d6acb400616b7e0000b01542c..."} 
[2026-06-02 03:31:47] local.INFO: Packet analysis {"connection_id":89447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8533"} 
[2026-06-02 03:31:47] local.INFO: Extracted packet for processing {"connection_id":89447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8533"} 
[2026-06-02 03:31:47] local.INFO: GPS Element Parsed {"raw_longitude":761973568,"raw_latitude":102152160,"longitude_deg":76.1973568,"latitude_deg":10.215216,"altitude":11,"angle":340,"satellites":44,"speed":61,"hex_longitude":"2d6acb40","hex_latitude":"0616b7e0","is_valid_coordinates":true} 
[2026-06-02 03:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769913088001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304423283325927424,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7698692482906046464,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780351229000,"timestamp_ms":1780351229000,"timestamp_seconds":1780351229,"priority":1,"record_length":96,"hex_timestamp":"0000019e8533dc48"} 
[2026-06-02 03:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:31: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-06-02 03:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769913088001,"66":27267,"148":206,"19":40704,"24":61,"16":304423283325927424,"45":7698692482906046464},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-06-02 03:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769913088001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:31:47] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 03:31:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304423283325927424,"km_value":304423283325927.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7698692482906046464,"description":"Unknown IO ID 45"} 
[2026-06-02 03:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769913088001,"power":27267,"unknown_148":206,"unknown_19":40704,"ignition":61,"odometer":null,"unknown_45":7698692482906046464}} 
[2026-06-02 03:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":89447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:31:47] local.INFO: GPS data processed {"connection_id":89447,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:31:47] local.INFO: Acknowledgment sent {"connection_id":89447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:31:50] local.INFO: TCP Data received {"connection_id":89447,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8533f3b8012d6abec00616da30000901522b..."} 
[2026-06-02 03:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8533f3b8012d6abec00616da30000901522b..."} 
[2026-06-02 03:31:50] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8533f3b8012d6abec00616da30000901522b..."} 
[2026-06-02 03:31:50] local.INFO: Packet analysis {"connection_id":89447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8533"} 
[2026-06-02 03:31:50] local.INFO: Extracted packet for processing {"connection_id":89447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8533"} 
[2026-06-02 03:31:50] local.INFO: GPS Element Parsed {"raw_longitude":761970368,"raw_latitude":102160944,"longitude_deg":76.1970368,"latitude_deg":10.2160944,"altitude":9,"angle":338,"satellites":43,"speed":62,"hex_longitude":"2d6abec0","hex_latitude":"0616da30","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769914624001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304423734297493504,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7695314783187755008,"note":"Value kept but may cause issues"} 
[2026-06-02 03:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780351235000,"timestamp_ms":1780351235000,"timestamp_seconds":1780351235,"priority":1,"record_length":96,"hex_timestamp":"0000019e8533f3b8"} 
[2026-06-02 03:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03: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-06-02 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:31: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-06-02 03: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-06-02 03:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769914624001,"66":27267,"148":206,"19":40704,"24":62,"16":304423734297493504,"45":7695314783187755008},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-06-02 03:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769914624001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:31:50] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 03:31:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304423734297493504,"km_value":304423734297493.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":7695314783187755008,"description":"Unknown IO ID 45"} 
[2026-06-02 03:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769914624001,"power":27267,"unknown_148":206,"unknown_19":40704,"ignition":62,"odometer":null,"unknown_45":7695314783187755008}} 
[2026-06-02 03:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":89447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:31:50] local.INFO: GPS data processed {"connection_id":89447,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:31:50] local.INFO: Acknowledgment sent {"connection_id":89447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:32:25] local.INFO: TCP Data received {"connection_id":90506,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:25] local.INFO: Processing buffer {"connection_id":90506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:25] local.INFO: IMEI packet received {"connection_id":90506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":90506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:32:25] local.INFO: TCP Data received {"connection_id":90506,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:25] local.INFO: Processing buffer {"connection_id":90506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:25] local.INFO: IMEI packet received {"connection_id":90506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":90506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:32:31] local.INFO: TCP Data received {"connection_id":90506,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:31] local.INFO: Processing buffer {"connection_id":90506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:32:31] local.INFO: IMEI packet received {"connection_id":90506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":90506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:32:33] local.INFO: TCP Data received {"connection_id":90506,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85340b28012d6ab0800616fbf8000901522c..."} 
[2026-06-02 03:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85340b28012d6ab0800616fbf8000901522c..."} 
[2026-06-02 03:32:33] local.INFO: Processing buffer {"connection_id":90506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85340b28012d6ab0800616fbf8000901522c..."} 
[2026-06-02 03:32:33] local.INFO: Packet analysis {"connection_id":90506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8534"} 
[2026-06-02 03:32:33] local.INFO: Extracted packet for processing {"connection_id":90506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8534"} 
[2026-06-02 03:32:33] local.INFO: GPS Element Parsed {"raw_longitude":761966720,"raw_latitude":102169592,"longitude_deg":76.196672,"latitude_deg":10.2169592,"altitude":9,"angle":338,"satellites":44,"speed":60,"hex_longitude":"2d6ab080","hex_latitude":"0616fbf8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769916160001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304424189564026880,"note":"Value kept but may cause issues"} 
[2026-06-02 03:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7691796345981120512,"note":"Value kept but may cause issues"} 
[2026-06-02 03:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780351241000,"timestamp_ms":1780351241000,"timestamp_seconds":1780351241,"priority":1,"record_length":96,"hex_timestamp":"0000019e85340b28"} 
[2026-06-02 03:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:32: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-06-02 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769916160001,"66":27484,"148":206,"19":40704,"24":60,"16":304424189564026880,"45":7691796345981120512},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-06-02 03:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769916160001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:32:33] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 03:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304424189564026880,"km_value":304424189564026.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7691796345981120512,"description":"Unknown IO ID 45"} 
[2026-06-02 03:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769916160001,"power":27484,"unknown_148":206,"unknown_19":40704,"ignition":60,"odometer":null,"unknown_45":7691796345981120512}} 
[2026-06-02 03:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":90506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:32:33] local.INFO: GPS data processed {"connection_id":90506,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:32:33] local.INFO: Acknowledgment sent {"connection_id":90506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:33:05] local.INFO: TCP Data received {"connection_id":90506,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85342680012d6aa3c006172140000a01572c..."} 
[2026-06-02 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85342680012d6aa3c006172140000a01572c..."} 
[2026-06-02 03:33:05] local.INFO: Processing buffer {"connection_id":90506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85342680012d6aa3c006172140000a01572c..."} 
[2026-06-02 03:33:05] local.INFO: Packet analysis {"connection_id":90506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8534"} 
[2026-06-02 03:33:05] local.INFO: Extracted packet for processing {"connection_id":90506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8534"} 
[2026-06-02 03:33:05] local.INFO: GPS Element Parsed {"raw_longitude":761963456,"raw_latitude":102179136,"longitude_deg":76.1963456,"latitude_deg":10.2179136,"altitude":10,"angle":343,"satellites":44,"speed":55,"hex_longitude":"2d6aa3c0","hex_latitude":"06172140","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769917696001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304424679190298624,"note":"Value kept but may cause issues"} 
[2026-06-02 03:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7687785327565207552,"note":"Value kept but may cause issues"} 
[2026-06-02 03:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780351248000,"timestamp_ms":1780351248000,"timestamp_seconds":1780351248,"priority":1,"record_length":96,"hex_timestamp":"0000019e85342680"} 
[2026-06-02 03:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:33: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-06-02 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 03:33: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-06-02 03: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-06-02 03:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769917696001,"66":27234,"148":206,"19":40704,"24":55,"16":304424679190298624,"45":7687785327565207552},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-06-02 03:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769917696001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:33:05] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 03:33:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304424679190298624,"km_value":304424679190298.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7687785327565207552,"description":"Unknown IO ID 45"} 
[2026-06-02 03:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769917696001,"power":27234,"unknown_148":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7687785327565207552}} 
[2026-06-02 03:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":90506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:33:05] local.INFO: GPS data processed {"connection_id":90506,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:33:05] local.INFO: Acknowledgment sent {"connection_id":90506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:33:14] local.INFO: TCP Data received {"connection_id":89045,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:33:14] local.INFO: Processing buffer {"connection_id":89045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:33:14] local.INFO: IMEI packet received {"connection_id":89045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":89045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:33:25] local.INFO: TCP Data received {"connection_id":89448,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:33:25] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:33:25] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:33:31] local.INFO: TCP Data received {"connection_id":89448,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:33:31] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:33:31] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:33:32] local.INFO: TCP Data received {"connection_id":89448,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8535a938012d6a81400618b940000901592b..."} 
[2026-06-02 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8535a938012d6a81400618b940000901592b..."} 
[2026-06-02 03:33:32] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8535a938012d6a81400618b940000901592b..."} 
[2026-06-02 03:33:32] local.INFO: Packet analysis {"connection_id":89448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8535"} 
[2026-06-02 03:33:32] local.INFO: Extracted packet for processing {"connection_id":89448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8535"} 
[2026-06-02 03:33:32] local.INFO: GPS Element Parsed {"raw_longitude":761954624,"raw_latitude":102283584,"longitude_deg":76.1954624,"latitude_deg":10.2283584,"altitude":9,"angle":345,"satellites":43,"speed":28,"hex_longitude":"2d6a8140","hex_latitude":"0618b940","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769942016001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304429781611446272,"note":"Value kept but may cause issues"} 
[2026-06-02 03:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676385591035211776,"note":"Value kept but may cause issues"} 
[2026-06-02 03:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780351347000,"timestamp_ms":1780351347000,"timestamp_seconds":1780351347,"priority":1,"record_length":96,"hex_timestamp":"0000019e8535a938"} 
[2026-06-02 03:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:33: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-06-02 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:33:32] 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-06-02 03: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-06-02 03:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769942016001,"66":27310,"6":206,"19":40704,"24":28,"16":304429781611446272,"45":7676385591035211776},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-02 03:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769942016001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:33:32] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 03:33:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304429781611446272,"km_value":304429781611446.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676385591035211776,"description":"Unknown IO ID 45"} 
[2026-06-02 03:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769942016001,"power":27310,"unknown_6":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7676385591035211776}} 
[2026-06-02 03:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":89448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:33:32] local.INFO: GPS data processed {"connection_id":89448,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:33:32] local.INFO: Acknowledgment sent {"connection_id":89448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:33:59] local.INFO: TCP Data received {"connection_id":90507,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:33:59] local.INFO: Processing buffer {"connection_id":90507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:33:59] local.INFO: IMEI packet received {"connection_id":90507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":90507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:34:03] local.INFO: TCP Data received {"connection_id":89448,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8535c878012d6a7d400618cde0000901642b..."} 
[2026-06-02 03:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8535c878012d6a7d400618cde0000901642b..."} 
[2026-06-02 03:34:03] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8535c878012d6a7d400618cde0000901642b..."} 
[2026-06-02 03:34:03] local.INFO: Packet analysis {"connection_id":89448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8535"} 
[2026-06-02 03:34:03] local.INFO: Extracted packet for processing {"connection_id":89448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8535"} 
[2026-06-02 03:34:03] local.INFO: GPS Element Parsed {"raw_longitude":761953600,"raw_latitude":102288864,"longitude_deg":76.19536,"latitude_deg":10.2288864,"altitude":9,"angle":356,"satellites":43,"speed":29,"hex_longitude":"2d6a7d40","hex_latitude":"0618cde0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769944832001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304430043604451328,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7674485634944811008,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780351355000,"timestamp_ms":1780351355000,"timestamp_seconds":1780351355,"priority":1,"record_length":96,"hex_timestamp":"0000019e8535c878"} 
[2026-06-02 03:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 03:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769944832001,"66":27267,"6":206,"19":40704,"24":29,"16":304430043604451328,"45":7674485634944811008},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-02 03:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769944832001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:34:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 03:34:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304430043604451328,"km_value":304430043604451.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7674485634944811008,"description":"Unknown IO ID 45"} 
[2026-06-02 03:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769944832001,"power":27267,"unknown_6":206,"unknown_19":40704,"ignition":29,"odometer":null,"unknown_45":7674485634944811008}} 
[2026-06-02 03:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":89448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:34:03] local.INFO: GPS data processed {"connection_id":89448,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:34:03] local.INFO: Acknowledgment sent {"connection_id":89448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:34:31] local.INFO: TCP Data received {"connection_id":89305,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:34:31] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:34:31] local.INFO: IMEI packet received {"connection_id":89305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":89305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:34:31] local.INFO: TCP Data received {"connection_id":89305,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:34:31] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:34:31] local.INFO: IMEI packet received {"connection_id":89305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":89305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:34:32] local.INFO: TCP Data received {"connection_id":89305,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8535f370012d6a7b000618f408000901642c..."} 
[2026-06-02 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8535f370012d6a7b000618f408000901642c..."} 
[2026-06-02 03:34:32] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8535f370012d6a7b000618f408000901642c..."} 
[2026-06-02 03:34:32] local.INFO: Packet analysis {"connection_id":89305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8535"} 
[2026-06-02 03:34:32] local.INFO: Extracted packet for processing {"connection_id":89305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8535"} 
[2026-06-02 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":761953024,"raw_latitude":102298632,"longitude_deg":76.1953024,"latitude_deg":10.2298632,"altitude":9,"angle":356,"satellites":44,"speed":39,"hex_longitude":"2d6a7b00","hex_latitude":"0618f408","is_valid_coordinates":true} 
[2026-06-02 03:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769946880001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304430516050853888,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7673359735039320064,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780351366000,"timestamp_ms":1780351366000,"timestamp_seconds":1780351366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8535f370"} 
[2026-06-02 03:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:34:32] 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-06-02 03:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769946880001,"66":27267,"6":206,"19":40704,"24":39,"16":304430516050853888,"45":7673359735039320064},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-02 03:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769946880001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:34:32] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 03:34:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304430516050853888,"km_value":304430516050853.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7673359735039320064,"description":"Unknown IO ID 45"} 
[2026-06-02 03:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769946880001,"power":27267,"unknown_6":206,"unknown_19":40704,"ignition":39,"odometer":null,"unknown_45":7673359735039320064}} 
[2026-06-02 03:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":89305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:34:32] local.INFO: GPS data processed {"connection_id":89305,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:34:32] local.INFO: Acknowledgment sent {"connection_id":89305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:34:35] local.INFO: TCP Data received {"connection_id":89305,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85361698012d6a780006191758000901612c..."} 
[2026-06-02 03:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85361698012d6a780006191758000901612c..."} 
[2026-06-02 03:34:35] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85361698012d6a780006191758000901612c..."} 
[2026-06-02 03:34:35] local.INFO: Packet analysis {"connection_id":89305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8536"} 
[2026-06-02 03:34:35] local.INFO: Extracted packet for processing {"connection_id":89305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8536"} 
[2026-06-02 03:34:35] local.INFO: GPS Element Parsed {"raw_longitude":761952256,"raw_latitude":102307672,"longitude_deg":76.1952256,"latitude_deg":10.2307672,"altitude":9,"angle":353,"satellites":44,"speed":40,"hex_longitude":"2d6a7800","hex_latitude":"06191758","is_valid_coordinates":true} 
[2026-06-02 03:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769949696001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304430958432485376,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7672726416344221696,"note":"Value kept but may cause issues"} 
[2026-06-02 03:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780351375000,"timestamp_ms":1780351375000,"timestamp_seconds":1780351375,"priority":1,"record_length":96,"hex_timestamp":"0000019e85361698"} 
[2026-06-02 03:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769949696001,"66":27169,"6":206,"19":40704,"24":40,"16":304430958432485376,"45":7672726416344221696},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-02 03:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769949696001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:34:35] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 03:34:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304430958432485376,"km_value":304430958432485.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7672726416344221696,"description":"Unknown IO ID 45"} 
[2026-06-02 03:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769949696001,"power":27169,"unknown_6":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7672726416344221696}} 
[2026-06-02 03:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":89305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:34:35] local.INFO: GPS data processed {"connection_id":89305,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:34:35] local.INFO: Acknowledgment sent {"connection_id":89305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:35:06] local.INFO: TCP Data received {"connection_id":89305,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853639c0012d6a728006193c300009015d2a..."} 
[2026-06-02 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853639c0012d6a728006193c300009015d2a..."} 
[2026-06-02 03:35:06] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853639c0012d6a728006193c300009015d2a..."} 
[2026-06-02 03:35:06] local.INFO: Packet analysis {"connection_id":89305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8536"} 
[2026-06-02 03:35:06] local.INFO: Extracted packet for processing {"connection_id":89305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8536"} 
[2026-06-02 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":761950848,"raw_latitude":102317104,"longitude_deg":76.1950848,"latitude_deg":10.2317104,"altitude":9,"angle":349,"satellites":42,"speed":43,"hex_longitude":"2d6a7280","hex_latitude":"06193c30","is_valid_coordinates":true} 
[2026-06-02 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769952000001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304431417993986048,"note":"Value kept but may cause issues"} 
[2026-06-02 03:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7671881991416403968,"note":"Value kept but may cause issues"} 
[2026-06-02 03:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780351384000,"timestamp_ms":1780351384000,"timestamp_seconds":1780351384,"priority":1,"record_length":96,"hex_timestamp":"0000019e853639c0"} 
[2026-06-02 03:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-02 03:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769952000001,"66":27332,"6":206,"19":40704,"24":43,"16":304431417993986048,"45":7671881991416403968},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-02 03:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769952000001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:35:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 03:35:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304431417993986048,"km_value":304431417993986.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7671881991416403968,"description":"Unknown IO ID 45"} 
[2026-06-02 03:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769952000001,"power":27332,"unknown_6":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7671881991416403968}} 
[2026-06-02 03:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":89305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:35:06] local.INFO: GPS data processed {"connection_id":89305,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:35:06] local.INFO: Acknowledgment sent {"connection_id":89305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:35:26] local.INFO: TCP Data received {"connection_id":89449,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:35:26] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:35:26] local.INFO: IMEI packet received {"connection_id":89449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":89449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:35:28] local.INFO: TCP Data received {"connection_id":89449,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:35:28] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:35:28] local.INFO: IMEI packet received {"connection_id":89449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":89449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:35:29] local.INFO: TCP Data received {"connection_id":89449,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85365ce8012d6a6980061960b0000a015727..."} 
[2026-06-02 03:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85365ce8012d6a6980061960b0000a015727..."} 
[2026-06-02 03:35:29] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85365ce8012d6a6980061960b0000a015727..."} 
[2026-06-02 03:35:29] local.INFO: Packet analysis {"connection_id":89449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8536"} 
[2026-06-02 03:35:29] local.INFO: Extracted packet for processing {"connection_id":89449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8536"} 
[2026-06-02 03:35:29] local.INFO: GPS Element Parsed {"raw_longitude":761948544,"raw_latitude":102326448,"longitude_deg":76.1948544,"latitude_deg":10.2326448,"altitude":10,"angle":343,"satellites":39,"speed":41,"hex_longitude":"2d6a6980","hex_latitude":"061960b0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769954304001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304431886145421312,"note":"Value kept but may cause issues"} 
[2026-06-02 03:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7670333879046909952,"note":"Value kept but may cause issues"} 
[2026-06-02 03:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780351393000,"timestamp_ms":1780351393000,"timestamp_seconds":1780351393,"priority":1,"record_length":96,"hex_timestamp":"0000019e85365ce8"} 
[2026-06-02 03:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:35: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-06-02 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 03:35: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-06-02 03: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-06-02 03:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769954304001,"66":27267,"6":206,"19":40704,"24":41,"16":304431886145421312,"45":7670333879046909952},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-02 03:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769954304001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:35:29] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 03:35:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304431886145421312,"km_value":304431886145421.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7670333879046909952,"description":"Unknown IO ID 45"} 
[2026-06-02 03:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769954304001,"power":27267,"unknown_6":206,"unknown_19":40704,"ignition":41,"odometer":null,"unknown_45":7670333879046909952}} 
[2026-06-02 03:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":89449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:35:29] local.INFO: GPS data processed {"connection_id":89449,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:35:29] local.INFO: Acknowledgment sent {"connection_id":89449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:36:01] local.INFO: TCP Data received {"connection_id":89449,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8537faf8012d69ec00061abc00000a014c27..."} 
[2026-06-02 03:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8537faf8012d69ec00061abc00000a014c27..."} 
[2026-06-02 03:36:01] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8537faf8012d69ec00061abc00000a014c27..."} 
[2026-06-02 03:36:01] local.INFO: Packet analysis {"connection_id":89449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8537"} 
[2026-06-02 03:36:01] local.INFO: Extracted packet for processing {"connection_id":89449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8537"} 
[2026-06-02 03:36:01] local.INFO: GPS Element Parsed {"raw_longitude":761916416,"raw_latitude":102415360,"longitude_deg":76.1916416,"latitude_deg":10.241536,"altitude":10,"angle":332,"satellites":39,"speed":45,"hex_longitude":"2d69ec00","hex_latitude":"061abc00","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769981440001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304436473170493440,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7636908725585334272,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780351499000,"timestamp_ms":1780351499000,"timestamp_seconds":1780351499,"priority":1,"record_length":96,"hex_timestamp":"0000019e8537faf8"} 
[2026-06-02 03:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:36: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-06-02 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:36:01] 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-06-02 03: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-06-02 03:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769981440001,"66":27245,"53":206,"19":40704,"24":45,"16":304436473170493440,"45":7636908725585334272},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-06-02 03:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769981440001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:36:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-02 03:36:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304436473170493440,"km_value":304436473170493.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7636908725585334272,"description":"Unknown IO ID 45"} 
[2026-06-02 03:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769981440001,"power":27245,"unknown_53":206,"unknown_19":40704,"ignition":45,"odometer":null,"unknown_45":7636908725585334272}} 
[2026-06-02 03:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":89449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:36:01] local.INFO: GPS data processed {"connection_id":89449,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:36:01] local.INFO: Acknowledgment sent {"connection_id":89449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:36:26] local.INFO: TCP Data received {"connection_id":90509,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:36:26] local.INFO: Processing buffer {"connection_id":90509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:36:26] local.INFO: IMEI packet received {"connection_id":90509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":90509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:36:28] local.INFO: TCP Data received {"connection_id":90509,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:36:28] local.INFO: Processing buffer {"connection_id":90509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:36:28] local.INFO: IMEI packet received {"connection_id":90509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":90509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:36:29] local.INFO: TCP Data received {"connection_id":90509,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85381a38012d69da80061ada800009014925..."} 
[2026-06-02 03:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85381a38012d69da80061ada800009014925..."} 
[2026-06-02 03:36:29] local.INFO: Processing buffer {"connection_id":90509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85381a38012d69da80061ada800009014925..."} 
[2026-06-02 03:36:29] local.INFO: Packet analysis {"connection_id":90509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:36:29] local.INFO: Extracted packet for processing {"connection_id":90509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:36:29] local.INFO: GPS Element Parsed {"raw_longitude":761911936,"raw_latitude":102423168,"longitude_deg":76.1911936,"latitude_deg":10.2423168,"altitude":9,"angle":329,"satellites":37,"speed":45,"hex_longitude":"2d69da80","hex_latitude":"061ada80","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769983744001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304436906962190336,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7632475494704480256,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780351507000,"timestamp_ms":1780351507000,"timestamp_seconds":1780351507,"priority":1,"record_length":96,"hex_timestamp":"0000019e85381a38"} 
[2026-06-02 03:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03: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-06-02 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 03:36:29] 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-06-02 03: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-06-02 03:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769983744001,"66":27267,"53":206,"19":40704,"24":45,"16":304436906962190336,"45":7632475494704480256},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-06-02 03:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769983744001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:36:29] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-02 03:36:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304436906962190336,"km_value":304436906962190.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7632475494704480256,"description":"Unknown IO ID 45"} 
[2026-06-02 03:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769983744001,"power":27267,"unknown_53":206,"unknown_19":40704,"ignition":45,"odometer":null,"unknown_45":7632475494704480256}} 
[2026-06-02 03:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":90509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:36:29] local.INFO: GPS data processed {"connection_id":90509,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:36:29] local.INFO: Acknowledgment sent {"connection_id":90509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:36:30] local.INFO: TCP Data received {"connection_id":90509,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85383978012d69c840061af9b00007014b26..."} 
[2026-06-02 03:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85383978012d69c840061af9b00007014b26..."} 
[2026-06-02 03:36:30] local.INFO: Processing buffer {"connection_id":90509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85383978012d69c840061af9b00007014b26..."} 
[2026-06-02 03:36:30] local.INFO: Packet analysis {"connection_id":90509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:36:30] local.INFO: Extracted packet for processing {"connection_id":90509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:36:30] local.INFO: GPS Element Parsed {"raw_longitude":761907264,"raw_latitude":102431152,"longitude_deg":76.1907264,"latitude_deg":10.2431152,"altitude":7,"angle":331,"satellites":38,"speed":43,"hex_longitude":"2d69c840","hex_latitude":"061af9b0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769985792001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304437353638789120,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7627549682614042624,"note":"Value kept but may cause issues"} 
[2026-06-02 03:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780351515000,"timestamp_ms":1780351515000,"timestamp_seconds":1780351515,"priority":1,"record_length":96,"hex_timestamp":"0000019e85383978"} 
[2026-06-02 03:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:36: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-06-02 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:36:30] 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-06-02 03: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-06-02 03:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769985792001,"66":27343,"53":206,"19":40704,"24":43,"16":304437353638789120,"45":7627549682614042624},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-06-02 03:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769985792001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:36:30] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-02 03:36:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304437353638789120,"km_value":304437353638789.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7627549682614042624,"description":"Unknown IO ID 45"} 
[2026-06-02 03:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769985792001,"power":27343,"unknown_53":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7627549682614042624}} 
[2026-06-02 03:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":90509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:36:30] local.INFO: GPS data processed {"connection_id":90509,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:36:30] local.INFO: Acknowledgment sent {"connection_id":90509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:37:03] local.INFO: TCP Data received {"connection_id":90509,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85386088012d69b6c0061b1b300009014e25..."} 
[2026-06-02 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85386088012d69b6c0061b1b300009014e25..."} 
[2026-06-02 03:37:03] local.INFO: Processing buffer {"connection_id":90509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85386088012d69b6c0061b1b300009014e25..."} 
[2026-06-02 03:37:03] local.INFO: Packet analysis {"connection_id":90509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:37:03] local.INFO: Extracted packet for processing {"connection_id":90509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":761902784,"raw_latitude":102439728,"longitude_deg":76.1902784,"latitude_deg":10.2439728,"altitude":9,"angle":334,"satellites":37,"speed":38,"hex_longitude":"2d69b6c0","hex_latitude":"061b1b30","is_valid_coordinates":true} 
[2026-06-02 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769987840001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304437821790224384,"note":"Value kept but may cause issues"} 
[2026-06-02 03:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7622412764291117056,"note":"Value kept but may cause issues"} 
[2026-06-02 03:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780351525000,"timestamp_ms":1780351525000,"timestamp_seconds":1780351525,"priority":1,"record_length":96,"hex_timestamp":"0000019e85386088"} 
[2026-06-02 03:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:37: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-06-02 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769987840001,"66":27267,"53":206,"19":40704,"24":38,"16":304437821790224384,"45":7622412764291117056},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-06-02 03:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769987840001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:37:03] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-02 03:37:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304437821790224384,"km_value":304437821790224.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7622412764291117056,"description":"Unknown IO ID 45"} 
[2026-06-02 03:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769987840001,"power":27267,"unknown_53":206,"unknown_19":40704,"ignition":38,"odometer":null,"unknown_45":7622412764291117056}} 
[2026-06-02 03:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":90509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:37:03] local.INFO: GPS data processed {"connection_id":90509,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:37:03] local.INFO: Acknowledgment sent {"connection_id":90509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:37:25] local.INFO: TCP Data received {"connection_id":89308,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:25] local.INFO: Processing buffer {"connection_id":89308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:25] local.INFO: IMEI packet received {"connection_id":89308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":89308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:37:27] local.INFO: TCP Data received {"connection_id":89308,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:27] local.INFO: Processing buffer {"connection_id":89308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:27] local.INFO: IMEI packet received {"connection_id":89308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":89308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:37:30] local.INFO: TCP Data received {"connection_id":89308,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:30] local.INFO: Processing buffer {"connection_id":89308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:37:30] local.INFO: IMEI packet received {"connection_id":89308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":89308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:37:31] local.INFO: TCP Data received {"connection_id":89308,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853883b0012d69a780061b3bf00008014f27..."} 
[2026-06-02 03:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853883b0012d69a780061b3bf00008014f27..."} 
[2026-06-02 03:37:31] local.INFO: Processing buffer {"connection_id":89308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853883b0012d69a780061b3bf00008014f27..."} 
[2026-06-02 03:37:31] local.INFO: Packet analysis {"connection_id":89308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:37:31] local.INFO: Extracted packet for processing {"connection_id":89308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8538"} 
[2026-06-02 03:37:31] local.INFO: GPS Element Parsed {"raw_longitude":761898880,"raw_latitude":102448112,"longitude_deg":76.189888,"latitude_deg":10.2448112,"altitude":8,"angle":335,"satellites":39,"speed":42,"hex_longitude":"2d69a780","hex_latitude":"061b3bf0","is_valid_coordinates":true} 
[2026-06-02 03:37: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-06-02 03:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455769990400001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304438268466823168,"note":"Value kept but may cause issues"} 
[2026-06-02 03:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7617486952200876032,"note":"Value kept but may cause issues"} 
[2026-06-02 03:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780351534000,"timestamp_ms":1780351534000,"timestamp_seconds":1780351534,"priority":1,"record_length":96,"hex_timestamp":"0000019e853883b0"} 
[2026-06-02 03:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:37: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-06-02 03:37: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":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:37:31] 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-06-02 03:37: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-06-02 03:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455769990400001,"66":27365,"54":206,"19":40704,"24":42,"16":304438268466823168,"45":7617486952200876032},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-06-02 03:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455769990400001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:37:32] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-06-02 03:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304438268466823168,"km_value":304438268466823.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7617486952200876032,"description":"Unknown IO ID 45"} 
[2026-06-02 03:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455769990400001,"power":27365,"unknown_54":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7617486952200876032}} 
[2026-06-02 03:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":89308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:37:32] local.INFO: GPS data processed {"connection_id":89308,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:37:32] local.INFO: Acknowledgment sent {"connection_id":89308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:38:03] local.INFO: TCP Data received {"connection_id":89308,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8539eb10012d690080061c8c80000a014d2c..."} 
[2026-06-02 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8539eb10012d690080061c8c80000a014d2c..."} 
[2026-06-02 03:38:03] local.INFO: Processing buffer {"connection_id":89308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8539eb10012d690080061c8c80000a014d2c..."} 
[2026-06-02 03:38:03] local.INFO: Packet analysis {"connection_id":89308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8539"} 
[2026-06-02 03:38:03] local.INFO: Extracted packet for processing {"connection_id":89308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8539"} 
[2026-06-02 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":761856128,"raw_latitude":102534272,"longitude_deg":76.1856128,"latitude_deg":10.2534272,"altitude":10,"angle":333,"satellites":44,"speed":42,"hex_longitude":"2d690080","hex_latitude":"061c8c80","is_valid_coordinates":true} 
[2026-06-02 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770013952001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304442928506339328,"note":"Value kept but may cause issues"} 
[2026-06-02 03:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7571184318554007552,"note":"Value kept but may cause issues"} 
[2026-06-02 03:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780351626000,"timestamp_ms":1780351626000,"timestamp_seconds":1780351626,"priority":1,"record_length":96,"hex_timestamp":"0000019e8539eb10"} 
[2026-06-02 03:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:38: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-06-02 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770013952001,"66":27321,"55":206,"19":40704,"24":42,"16":304442928506339328,"45":7571184318554007552},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-06-02 03:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770013952001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:38:03] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-06-02 03:38:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304442928506339328,"km_value":304442928506339.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7571184318554007552,"description":"Unknown IO ID 45"} 
[2026-06-02 03:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770013952001,"power":27321,"unknown_55":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7571184318554007552}} 
[2026-06-02 03:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":89308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:38:03] local.INFO: GPS data processed {"connection_id":89308,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:38:03] local.INFO: Acknowledgment sent {"connection_id":89308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:38:25] local.INFO: TCP Data received {"connection_id":90511,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:38:25] local.INFO: Processing buffer {"connection_id":90511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:38:25] local.INFO: IMEI packet received {"connection_id":90511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":90511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:38:31] local.INFO: TCP Data received {"connection_id":90511,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:38:31] local.INFO: Processing buffer {"connection_id":90511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:38:31] local.INFO: IMEI packet received {"connection_id":90511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":90511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:38:32] local.INFO: TCP Data received {"connection_id":90511,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853a0a50012d68f0c0061cac10000a014d2c..."} 
[2026-06-02 03:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853a0a50012d68f0c0061cac10000a014d2c..."} 
[2026-06-02 03:38:32] local.INFO: Processing buffer {"connection_id":90511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853a0a50012d68f0c0061cac10000a014d2c..."} 
[2026-06-02 03:38:32] local.INFO: Packet analysis {"connection_id":90511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853a"} 
[2026-06-02 03:38:32] local.INFO: Extracted packet for processing {"connection_id":90511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853a"} 
[2026-06-02 03:38:32] local.INFO: GPS Element Parsed {"raw_longitude":761852096,"raw_latitude":102542352,"longitude_deg":76.1852096,"latitude_deg":10.2542352,"altitude":10,"angle":333,"satellites":44,"speed":46,"hex_longitude":"2d68f0c0","hex_latitude":"061cac10","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770016256001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304443362298036224,"note":"Value kept but may cause issues"} 
[2026-06-02 03:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7566188137719562240,"note":"Value kept but may cause issues"} 
[2026-06-02 03:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780351634000,"timestamp_ms":1780351634000,"timestamp_seconds":1780351634,"priority":1,"record_length":96,"hex_timestamp":"0000019e853a0a50"} 
[2026-06-02 03:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:38: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-06-02 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:38:32] 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-06-02 03: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-06-02 03:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770016256001,"66":27300,"210":206,"19":40704,"24":46,"16":304443362298036224,"45":7566188137719562240},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-02 03:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770016256001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:38:32] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 03:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304443362298036224,"km_value":304443362298036.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7566188137719562240,"description":"Unknown IO ID 45"} 
[2026-06-02 03:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770016256001,"power":27300,"unknown_210":206,"unknown_19":40704,"ignition":46,"odometer":null,"unknown_45":7566188137719562240}} 
[2026-06-02 03:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":90511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:38:32] local.INFO: GPS data processed {"connection_id":90511,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:38:32] local.INFO: Acknowledgment sent {"connection_id":90511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:39:28] local.INFO: TCP Data received {"connection_id":90511,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853a2990012d68e200061cce98000b01532c..."} 
[2026-06-02 03:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853a2990012d68e200061cce98000b01532c..."} 
[2026-06-02 03:39:28] local.INFO: Processing buffer {"connection_id":90511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853a2990012d68e200061cce98000b01532c..."} 
[2026-06-02 03:39:28] local.INFO: Packet analysis {"connection_id":90511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853a"} 
[2026-06-02 03:39:28] local.INFO: Extracted packet for processing {"connection_id":90511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853a"} 
[2026-06-02 03:39:28] local.INFO: GPS Element Parsed {"raw_longitude":761848320,"raw_latitude":102551192,"longitude_deg":76.184832,"latitude_deg":10.2551192,"altitude":11,"angle":339,"satellites":44,"speed":48,"hex_longitude":"2d68e200","hex_latitude":"061cce98","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770018304001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304443830449471488,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7561754906838437888,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780351642000,"timestamp_ms":1780351642000,"timestamp_seconds":1780351642,"priority":1,"record_length":96,"hex_timestamp":"0000019e853a2990"} 
[2026-06-02 03:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:39: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-06-02 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 03:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770018304001,"66":27343,"210":206,"19":40704,"24":48,"16":304443830449471488,"45":7561754906838437888},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-02 03:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770018304001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:39:28] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 03:39:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304443830449471488,"km_value":304443830449471.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7561754906838437888,"description":"Unknown IO ID 45"} 
[2026-06-02 03:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770018304001,"power":27343,"unknown_210":206,"unknown_19":40704,"ignition":48,"odometer":null,"unknown_45":7561754906838437888}} 
[2026-06-02 03:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":90511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:39:28] local.INFO: GPS data processed {"connection_id":90511,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:39:28] local.INFO: Acknowledgment sent {"connection_id":90511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:39:29] local.INFO: TCP Data received {"connection_id":89047,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:39:29] local.INFO: Processing buffer {"connection_id":89047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:39:29] local.INFO: IMEI packet received {"connection_id":89047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:39:35] local.INFO: TCP Data received {"connection_id":89309,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:39:35] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:39:35] local.INFO: IMEI packet received {"connection_id":89309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":89309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:39:39] local.INFO: TCP Data received {"connection_id":89309,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:39:39] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:39:39] local.INFO: IMEI packet received {"connection_id":89309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":89309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:39:42] local.INFO: TCP Data received {"connection_id":89309,"ip":"117.224.195.65","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:39:42] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:39:42] local.INFO: IMEI packet received {"connection_id":89309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":89309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:39:53] local.INFO: TCP Data received {"connection_id":89309,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853b5658012d683780061e4548000901502c..."} 
[2026-06-02 03:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853b5658012d683780061e4548000901502c..."} 
[2026-06-02 03:39:53] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e853b3b00012d684640061e2470000a014e2c..."} 
[2026-06-02 03:39:53] local.INFO: Packet analysis {"connection_id":89309,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:39:53] local.INFO: Extracted packet for processing {"connection_id":89309,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:39:53] local.INFO: GPS Element Parsed {"raw_longitude":761808448,"raw_latitude":102638704,"longitude_deg":76.1808448,"latitude_deg":10.2638704,"altitude":10,"angle":334,"satellites":44,"speed":54,"hex_longitude":"2d684640","hex_latitude":"061e2470","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770036480001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304448520553758720,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7518829972912515072,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1780351712000,"timestamp_ms":1780351712000,"timestamp_seconds":1780351712,"priority":1,"record_length":96,"hex_timestamp":"0000019e853b3b00"} 
[2026-06-02 03:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:39: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-06-02 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:39: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-06-02 03: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-06-02 03:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":89309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770036480001,"66":27267,"210":206,"19":40704,"24":54,"16":304448520553758720,"45":7518829972912515072},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770036480001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304448520553758720,"km_value":304448520553758.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7518829972912515072,"description":"Unknown IO ID 45"} 
[2026-06-02 03:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770036480001,"power":27267,"unknown_210":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7518829972912515072}} 
[2026-06-02 03:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":89309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:39:53] local.INFO: GPS data processed {"connection_id":89309,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:39:53] local.INFO: Acknowledgment sent {"connection_id":89309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:39:53] local.INFO: Packet analysis {"connection_id":89309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:39:53] local.INFO: Extracted packet for processing {"connection_id":89309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:39:53] local.INFO: GPS Element Parsed {"raw_longitude":761804672,"raw_latitude":102647112,"longitude_deg":76.1804672,"latitude_deg":10.2647112,"altitude":9,"angle":336,"satellites":44,"speed":50,"hex_longitude":"2d683780","hex_latitude":"061e4548","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770038272001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304448967230357504,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7513763423333937152,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1780351719000,"timestamp_ms":1780351719000,"timestamp_seconds":1780351719,"priority":1,"record_length":96,"hex_timestamp":"0000019e853b5658"} 
[2026-06-02 03:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:39: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-06-02 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:39:53] 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-06-02 03: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-06-02 03:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":89309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770038272001,"66":27267,"210":206,"19":40704,"24":50,"16":304448967230357504,"45":7513763423333937152},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-02 03:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770038272001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304448967230357504,"km_value":304448967230357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7513763423333937152,"description":"Unknown IO ID 45"} 
[2026-06-02 03:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770038272001,"power":27267,"unknown_210":206,"unknown_19":40704,"ignition":50,"odometer":null,"unknown_45":7513763423333937152}} 
[2026-06-02 03:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":89309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:39:54] local.INFO: GPS data processed {"connection_id":89309,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:39:54] local.INFO: Acknowledgment sent {"connection_id":89309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:39:58] local.INFO: TCP Data received {"connection_id":89309,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853b7598012d682880061e6820000a014e2c..."} 
[2026-06-02 03:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853b7598012d682880061e6820000a014e2c..."} 
[2026-06-02 03:39:58] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853b7598012d682880061e6820000a014e2c..."} 
[2026-06-02 03:39:58] local.INFO: Packet analysis {"connection_id":89309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:39:58] local.INFO: Extracted packet for processing {"connection_id":89309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:39:58] local.INFO: GPS Element Parsed {"raw_longitude":761800832,"raw_latitude":102656032,"longitude_deg":76.1800832,"latitude_deg":10.2656032,"altitude":10,"angle":334,"satellites":44,"speed":43,"hex_longitude":"2d682880","hex_latitude":"061e6820","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770040064001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304449435381792768,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7509611667429607424,"note":"Value kept but may cause issues"} 
[2026-06-02 03:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780351727000,"timestamp_ms":1780351727000,"timestamp_seconds":1780351727,"priority":1,"record_length":96,"hex_timestamp":"0000019e853b7598"} 
[2026-06-02 03:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03: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-06-02 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:39: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-06-02 03: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-06-02 03:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770040064001,"66":27234,"210":206,"19":40704,"24":43,"16":304449435381792768,"45":7509611667429607424},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-02 03:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770040064001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:39:58] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-02 03:39:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304449435381792768,"km_value":304449435381792.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7509611667429607424,"description":"Unknown IO ID 45"} 
[2026-06-02 03:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770040064001,"power":27234,"unknown_210":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7509611667429607424}} 
[2026-06-02 03:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":89309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:39:58] local.INFO: GPS data processed {"connection_id":89309,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:39:58] local.INFO: Acknowledgment sent {"connection_id":89309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:40:04] local.INFO: TCP Data received {"connection_id":90512,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:40:04] local.INFO: Processing buffer {"connection_id":90512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:40:04] local.INFO: IMEI packet received {"connection_id":90512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":90512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:40:25] local.INFO: TCP Data received {"connection_id":89450,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:25] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:25] local.INFO: IMEI packet received {"connection_id":89450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":89450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:40:43] local.INFO: TCP Data received {"connection_id":89450,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:43] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:43] local.INFO: IMEI packet received {"connection_id":89450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":89450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:40:44] local.INFO: TCP Data received {"connection_id":89450,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:44] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:40:44] local.INFO: IMEI packet received {"connection_id":89450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":89450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:40:46] local.INFO: TCP Data received {"connection_id":89450,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853b9ca8012d681840061e8770000901512b..."} 
[2026-06-02 03:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853b9ca8012d681840061e8770000901512b..."} 
[2026-06-02 03:40:46] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853b9ca8012d681840061e8770000901512b..."} 
[2026-06-02 03:40:46] local.INFO: Packet analysis {"connection_id":89450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:40:46] local.INFO: Extracted packet for processing {"connection_id":89450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:40:46] local.INFO: GPS Element Parsed {"raw_longitude":761796672,"raw_latitude":102664048,"longitude_deg":76.1796672,"latitude_deg":10.2664048,"altitude":9,"angle":337,"satellites":43,"speed":32,"hex_longitude":"2d681840","hex_latitude":"061e8770","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770042112001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304449873468456960,"note":"Value kept but may cause issues"} 
[2026-06-02 03:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7505389542781231104,"note":"Value kept but may cause issues"} 
[2026-06-02 03:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780351737000,"timestamp_ms":1780351737000,"timestamp_seconds":1780351737,"priority":1,"record_length":96,"hex_timestamp":"0000019e853b9ca8"} 
[2026-06-02 03:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:40: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-06-02 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:40:46] 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-06-02 03: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-06-02 03:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770042112001,"66":27310,"209":206,"19":40704,"24":32,"16":304449873468456960,"45":7505389542781231104},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-06-02 03:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770042112001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:40:46] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-02 03:40:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304449873468456960,"km_value":304449873468456.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7505389542781231104,"description":"Unknown IO ID 45"} 
[2026-06-02 03:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770042112001,"power":27310,"unknown_209":206,"unknown_19":40704,"ignition":32,"odometer":null,"unknown_45":7505389542781231104}} 
[2026-06-02 03:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":89450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:40:46] local.INFO: GPS data processed {"connection_id":89450,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:40:46] local.INFO: Acknowledgment sent {"connection_id":89450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:40:48] local.INFO: TCP Data received {"connection_id":89450,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853bc3b8012d6809c0061ea7900007014c2c..."} 
[2026-06-02 03:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853bc3b8012d6809c0061ea7900007014c2c..."} 
[2026-06-02 03:40:48] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853bc3b8012d6809c0061ea7900007014c2c..."} 
[2026-06-02 03:40:48] local.INFO: Packet analysis {"connection_id":89450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:40:48] local.INFO: Extracted packet for processing {"connection_id":89450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:40:48] local.INFO: GPS Element Parsed {"raw_longitude":761792960,"raw_latitude":102672272,"longitude_deg":76.179296,"latitude_deg":10.2672272,"altitude":7,"angle":332,"satellites":44,"speed":40,"hex_longitude":"2d6809c0","hex_latitude":"061ea790","is_valid_coordinates":true} 
[2026-06-02 03:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770044672001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304450311555121152,"note":"Value kept but may cause issues"} 
[2026-06-02 03:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7500815574411735040,"note":"Value kept but may cause issues"} 
[2026-06-02 03:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780351747000,"timestamp_ms":1780351747000,"timestamp_seconds":1780351747,"priority":1,"record_length":96,"hex_timestamp":"0000019e853bc3b8"} 
[2026-06-02 03:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:40: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-06-02 03:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 03:40: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-06-02 03:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770044672001,"66":27332,"209":206,"19":40704,"24":40,"16":304450311555121152,"45":7500815574411735040},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-06-02 03:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770044672001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:40:48] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-02 03:40:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304450311555121152,"km_value":304450311555121.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7500815574411735040,"description":"Unknown IO ID 45"} 
[2026-06-02 03:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770044672001,"power":27332,"unknown_209":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7500815574411735040}} 
[2026-06-02 03:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":89450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:40:48] local.INFO: GPS data processed {"connection_id":89450,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:40:48] local.INFO: Acknowledgment sent {"connection_id":89450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:41:25] local.INFO: TCP Data received {"connection_id":89451,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:41:25] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:41:25] local.INFO: IMEI packet received {"connection_id":89451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":89451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:41:31] local.INFO: TCP Data received {"connection_id":89451,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:41:31] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:41:31] local.INFO: IMEI packet received {"connection_id":89451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":89451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:41:32] local.INFO: TCP Data received {"connection_id":89451,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853be6e0012d67f700061ec788000601452c..."} 
[2026-06-02 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853be6e0012d67f700061ec788000601452c..."} 
[2026-06-02 03:41:32] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853be6e0012d67f700061ec788000601452c..."} 
[2026-06-02 03:41:32] local.INFO: Packet analysis {"connection_id":89451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:41:32] local.INFO: Extracted packet for processing {"connection_id":89451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853b"} 
[2026-06-02 03:41:32] local.INFO: GPS Element Parsed {"raw_longitude":761788160,"raw_latitude":102680456,"longitude_deg":76.178816,"latitude_deg":10.2680456,"altitude":6,"angle":325,"satellites":44,"speed":43,"hex_longitude":"2d67f700","hex_latitude":"061ec788","is_valid_coordinates":true} 
[2026-06-02 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770047232001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304450771116621824,"note":"Value kept but may cause issues"} 
[2026-06-02 03:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7496734187251535872,"note":"Value kept but may cause issues"} 
[2026-06-02 03:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780351756000,"timestamp_ms":1780351756000,"timestamp_seconds":1780351756,"priority":1,"record_length":96,"hex_timestamp":"0000019e853be6e0"} 
[2026-06-02 03:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 03:41:32] 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-06-02 03:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770047232001,"66":27321,"209":206,"19":40704,"24":43,"16":304450771116621824,"45":7496734187251535872},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-06-02 03:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770047232001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:41:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-02 03:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304450771116621824,"km_value":304450771116621.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7496734187251535872,"description":"Unknown IO ID 45"} 
[2026-06-02 03:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770047232001,"power":27321,"unknown_209":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7496734187251535872}} 
[2026-06-02 03:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":89451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:41:32] local.INFO: GPS data processed {"connection_id":89451,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:41:32] local.INFO: Acknowledgment sent {"connection_id":89451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:42:03] local.INFO: TCP Data received {"connection_id":89451,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853dc758012d66c100062029d80006013829..."} 
[2026-06-02 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853dc758012d66c100062029d80006013829..."} 
[2026-06-02 03:42:03] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853dc758012d66c100062029d80006013829..."} 
[2026-06-02 03:42:03] local.INFO: Packet analysis {"connection_id":89451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853d"} 
[2026-06-02 03:42:03] local.INFO: Extracted packet for processing {"connection_id":89451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853d"} 
[2026-06-02 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":761708800,"raw_latitude":102771160,"longitude_deg":76.17088,"latitude_deg":10.277116,"altitude":6,"angle":312,"satellites":41,"speed":30,"hex_longitude":"2d66c100","hex_latitude":"062029d8","is_valid_coordinates":true} 
[2026-06-02 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770080768001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304456749711097856,"note":"Value kept but may cause issues"} 
[2026-06-02 03:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7404973344869056512,"note":"Value kept but may cause issues"} 
[2026-06-02 03:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780351879000,"timestamp_ms":1780351879000,"timestamp_seconds":1780351879,"priority":1,"record_length":96,"hex_timestamp":"0000019e853dc758"} 
[2026-06-02 03:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:42: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-06-02 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770080768001,"66":27321,"239":206,"19":40704,"24":30,"16":304456749711097856,"45":7404973344869056512},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,19,24,16,45]} 
[2026-06-02 03:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770080768001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:42:03] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-02 03:42:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304456749711097856,"km_value":304456749711097.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7404973344869056512,"description":"Unknown IO ID 45"} 
[2026-06-02 03:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770080768001,"power":27321,"unknown_239":206,"unknown_19":40704,"ignition":30,"odometer":null,"unknown_45":7404973344869056512}} 
[2026-06-02 03:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":89451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:42:03] local.INFO: GPS data processed {"connection_id":89451,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:42:03] local.INFO: Acknowledgment sent {"connection_id":89451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:42:40] local.INFO: TCP Data received {"connection_id":89311,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:40] local.INFO: Processing buffer {"connection_id":89311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:40] local.INFO: IMEI packet received {"connection_id":89311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":89311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:42:41] local.INFO: TCP Data received {"connection_id":89311,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:41] local.INFO: Processing buffer {"connection_id":89311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:41] local.INFO: IMEI packet received {"connection_id":89311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":89311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:42:45] local.INFO: TCP Data received {"connection_id":89311,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:45] local.INFO: Processing buffer {"connection_id":89311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:42:45] local.INFO: IMEI packet received {"connection_id":89311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":89311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:42:49] local.INFO: TCP Data received {"connection_id":89311,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853dcb40012d66bf4006202c30000601472b..."} 
[2026-06-02 03:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853dcb40012d66bf4006202c30000601472b..."} 
[2026-06-02 03:42:49] local.INFO: Processing buffer {"connection_id":89311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853dcb40012d66bf4006202c30000601472b..."} 
[2026-06-02 03:42:49] local.INFO: Packet analysis {"connection_id":89311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853d"} 
[2026-06-02 03:42:49] local.INFO: Extracted packet for processing {"connection_id":89311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853d"} 
[2026-06-02 03:42:49] local.INFO: GPS Element Parsed {"raw_longitude":761708352,"raw_latitude":102771760,"longitude_deg":76.1708352,"latitude_deg":10.277176,"altitude":6,"angle":327,"satellites":43,"speed":29,"hex_longitude":"2d66bf40","hex_latitude":"06202c30","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770081024001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304456784070836224,"note":"Value kept but may cause issues"} 
[2026-06-02 03:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7404199288683223040,"note":"Value kept but may cause issues"} 
[2026-06-02 03:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780351880000,"timestamp_ms":1780351880000,"timestamp_seconds":1780351880,"priority":1,"record_length":96,"hex_timestamp":"0000019e853dcb40"} 
[2026-06-02 03:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:42: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-06-02 03: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-06-02 03: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-06-02 03: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-06-02 03:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770081024001,"66":27180,"239":206,"19":40704,"24":29,"16":304456784070836224,"45":7404199288683223040},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,19,24,16,45]} 
[2026-06-02 03:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770081024001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304456784070836224,"km_value":304456784070836.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7404199288683223040,"description":"Unknown IO ID 45"} 
[2026-06-02 03:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770081024001,"power":27180,"unknown_239":206,"unknown_19":40704,"ignition":29,"odometer":null,"unknown_45":7404199288683223040}} 
[2026-06-02 03:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":89311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:42:49] local.INFO: GPS data processed {"connection_id":89311,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:42:49] local.INFO: Acknowledgment sent {"connection_id":89311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:43:25] local.INFO: TCP Data received {"connection_id":89050,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:25] local.INFO: Processing buffer {"connection_id":89050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:25] local.INFO: IMEI packet received {"connection_id":89050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":89050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:43:26] local.INFO: TCP Data received {"connection_id":89050,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:26] local.INFO: Processing buffer {"connection_id":89050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:26] local.INFO: IMEI packet received {"connection_id":89050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":89050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:43:31] local.INFO: TCP Data received {"connection_id":89050,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:31] local.INFO: Processing buffer {"connection_id":89050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:43:31] local.INFO: IMEI packet received {"connection_id":89050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":89050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:43:31] local.INFO: TCP Data received {"connection_id":89050,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853e9e30012d66b3c006210630000801582a..."} 
[2026-06-02 03:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853e9e30012d66b3c006210630000801582a..."} 
[2026-06-02 03:43:31] local.INFO: Processing buffer {"connection_id":89050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853e9e30012d66b3c006210630000801582a..."} 
[2026-06-02 03:43:31] local.INFO: Packet analysis {"connection_id":89050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:43:31] local.INFO: Extracted packet for processing {"connection_id":89050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:43:31] local.INFO: GPS Element Parsed {"raw_longitude":761705408,"raw_latitude":102827568,"longitude_deg":76.1705408,"latitude_deg":10.2827568,"altitude":8,"angle":344,"satellites":42,"speed":51,"hex_longitude":"2d66b3c0","hex_latitude":"06210630","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770093312001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304459575799578624,"note":"Value kept but may cause issues"} 
[2026-06-02 03:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7403847444974637056,"note":"Value kept but may cause issues"} 
[2026-06-02 03:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780351934000,"timestamp_ms":1780351934000,"timestamp_seconds":1780351934,"priority":1,"record_length":96,"hex_timestamp":"0000019e853e9e30"} 
[2026-06-02 03:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:43: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-06-02 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770093312001,"66":27310,"239":206,"19":40704,"24":51,"16":304459575799578624,"45":7403847444974637056},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,19,24,16,45]} 
[2026-06-02 03:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770093312001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:43:31] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-02 03:43:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304459575799578624,"km_value":304459575799578.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7403847444974637056,"description":"Unknown IO ID 45"} 
[2026-06-02 03:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770093312001,"power":27310,"unknown_239":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7403847444974637056}} 
[2026-06-02 03:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":89050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:43:31] local.INFO: GPS data processed {"connection_id":89050,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:43:31] local.INFO: Acknowledgment sent {"connection_id":89050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:44:03] local.INFO: TCP Data received {"connection_id":89050,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853ebd70012d66a8c006212b600009015e2a..."} 
[2026-06-02 03:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853ebd70012d66a8c006212b600009015e2a..."} 
[2026-06-02 03:44:03] local.INFO: Processing buffer {"connection_id":89050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853ebd70012d66a8c006212b600009015e2a..."} 
[2026-06-02 03:44:03] local.INFO: Packet analysis {"connection_id":89050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:44:03] local.INFO: Extracted packet for processing {"connection_id":89050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:44:03] local.INFO: GPS Element Parsed {"raw_longitude":761702592,"raw_latitude":102837088,"longitude_deg":76.1702592,"latitude_deg":10.2837088,"altitude":9,"angle":350,"satellites":42,"speed":46,"hex_longitude":"2d66a8c0","hex_latitude":"06212b60","is_valid_coordinates":true} 
[2026-06-02 03:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770095104001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304460056835915776,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7400469745256247296,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780351942000,"timestamp_ms":1780351942000,"timestamp_seconds":1780351942,"priority":1,"record_length":96,"hex_timestamp":"0000019e853ebd70"} 
[2026-06-02 03:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:44: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-06-02 03:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 03:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770095104001,"66":27343,"82":206,"19":40704,"24":46,"16":304460056835915776,"45":7400469745256247296},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-06-02 03:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770095104001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:44:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 03:44:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304460056835915776,"km_value":304460056835915.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7400469745256247296,"description":"Unknown IO ID 45"} 
[2026-06-02 03:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770095104001,"power":27343,"unknown_82":206,"unknown_19":40704,"ignition":46,"odometer":null,"unknown_45":7400469745256247296}} 
[2026-06-02 03:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":89050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:44:03] local.INFO: GPS data processed {"connection_id":89050,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:44:03] local.INFO: Acknowledgment sent {"connection_id":89050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:44:28] local.INFO: TCP Data received {"connection_id":89051,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:28] local.INFO: Processing buffer {"connection_id":89051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:28] local.INFO: IMEI packet received {"connection_id":89051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":89051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:44:29] local.INFO: TCP Data received {"connection_id":89051,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:29] local.INFO: Processing buffer {"connection_id":89051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:29] local.INFO: IMEI packet received {"connection_id":89051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":89051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:44:30] local.INFO: TCP Data received {"connection_id":89051,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:30] local.INFO: Processing buffer {"connection_id":89051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:44:30] local.INFO: IMEI packet received {"connection_id":89051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":89051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:44:31] local.INFO: TCP Data received {"connection_id":89051,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853edcb0012d66a64006215020000901662c..."} 
[2026-06-02 03:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853edcb0012d66a64006215020000901662c..."} 
[2026-06-02 03:44:31] local.INFO: Processing buffer {"connection_id":89051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853edcb0012d66a64006215020000901662c..."} 
[2026-06-02 03:44:31] local.INFO: Packet analysis {"connection_id":89051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:44:31] local.INFO: Extracted packet for processing {"connection_id":89051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:44:31] local.INFO: GPS Element Parsed {"raw_longitude":761701952,"raw_latitude":102846496,"longitude_deg":76.1701952,"latitude_deg":10.2846496,"altitude":9,"angle":358,"satellites":44,"speed":47,"hex_longitude":"2d66a640","hex_latitude":"06215020","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770097152001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304460516397416448,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7397373520514867200,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780351950000,"timestamp_ms":1780351950000,"timestamp_seconds":1780351950,"priority":1,"record_length":96,"hex_timestamp":"0000019e853edcb0"} 
[2026-06-02 03:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:44: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-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:44: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-06-02 03: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-06-02 03:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770097152001,"66":27397,"82":206,"19":40704,"24":47,"16":304460516397416448,"45":7397373520514867200},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-06-02 03:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770097152001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:44:31] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 03:44:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304460516397416448,"km_value":304460516397416.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7397373520514867200,"description":"Unknown IO ID 45"} 
[2026-06-02 03:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770097152001,"power":27397,"unknown_82":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7397373520514867200}} 
[2026-06-02 03:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":89051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:44:31] local.INFO: GPS data processed {"connection_id":89051,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:44:31] local.INFO: Acknowledgment sent {"connection_id":89051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:44:32] local.INFO: TCP Data received {"connection_id":89051,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e853efbf0012d66a480062175600008015d2c..."} 
[2026-06-02 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e853efbf0012d66a480062175600008015d2c..."} 
[2026-06-02 03:44:32] local.INFO: Processing buffer {"connection_id":89051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e853efbf0012d66a480062175600008015d2c..."} 
[2026-06-02 03:44:32] local.INFO: Packet analysis {"connection_id":89051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:44:32] local.INFO: Extracted packet for processing {"connection_id":89051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e853e"} 
[2026-06-02 03:44:32] local.INFO: GPS Element Parsed {"raw_longitude":761701504,"raw_latitude":102856032,"longitude_deg":76.1701504,"latitude_deg":10.2856032,"altitude":8,"angle":349,"satellites":44,"speed":48,"hex_longitude":"2d66a480","hex_latitude":"06217560","is_valid_coordinates":true} 
[2026-06-02 03:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770099200001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304460980253884416,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7396669833075499008,"note":"Value kept but may cause issues"} 
[2026-06-02 03:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780351958000,"timestamp_ms":1780351958000,"timestamp_seconds":1780351958,"priority":1,"record_length":96,"hex_timestamp":"0000019e853efbf0"} 
[2026-06-02 03:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:44: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-06-02 03:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 03:44:32] 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-06-02 03:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770099200001,"66":27343,"82":206,"19":40704,"24":48,"16":304460980253884416,"45":7396669833075499008},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-06-02 03:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770099200001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:44:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 03:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304460980253884416,"km_value":304460980253884.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7396669833075499008,"description":"Unknown IO ID 45"} 
[2026-06-02 03:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770099200001,"power":27343,"unknown_82":206,"unknown_19":40704,"ignition":48,"odometer":null,"unknown_45":7396669833075499008}} 
[2026-06-02 03:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":89051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:44:32] local.INFO: GPS data processed {"connection_id":89051,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:44:32] local.INFO: Acknowledgment sent {"connection_id":89051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:45:04] local.INFO: TCP Data received {"connection_id":89051,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85405b80012d659c40062294e8000b011329..."} 
[2026-06-02 03:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85405b80012d659c40062294e8000b011329..."} 
[2026-06-02 03:45:04] local.INFO: Processing buffer {"connection_id":89051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85405b80012d659c40062294e8000b011329..."} 
[2026-06-02 03:45:04] local.INFO: Packet analysis {"connection_id":89051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8540"} 
[2026-06-02 03:45:04] local.INFO: Extracted packet for processing {"connection_id":89051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8540"} 
[2026-06-02 03:45:04] local.INFO: GPS Element Parsed {"raw_longitude":761633856,"raw_latitude":102929640,"longitude_deg":76.1633856,"latitude_deg":10.292964,"altitude":11,"angle":275,"satellites":41,"speed":45,"hex_longitude":"2d659c40","hex_latitude":"062294e8","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770121984001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304466138509606912,"note":"Value kept but may cause issues"} 
[2026-06-02 03:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7332845382127634432,"note":"Value kept but may cause issues"} 
[2026-06-02 03:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780352048000,"timestamp_ms":1780352048000,"timestamp_seconds":1780352048,"priority":1,"record_length":96,"hex_timestamp":"0000019e85405b80"} 
[2026-06-02 03:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:45: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-06-02 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 03:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770121984001,"66":27321,"83":206,"19":40704,"24":45,"16":304466138509606912,"45":7332845382127634432},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-02 03:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770121984001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 03:45:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-02 03:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304466138509606912,"km_value":304466138509606.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7332845382127634432,"description":"Unknown IO ID 45"} 
[2026-06-02 03:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770121984001,"power":27321,"unknown_83":206,"unknown_19":40704,"ignition":45,"odometer":null,"unknown_45":7332845382127634432}} 
[2026-06-02 03:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":89051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:45:04] local.INFO: GPS data processed {"connection_id":89051,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:45:04] local.INFO: Acknowledgment sent {"connection_id":89051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:45:25] local.INFO: TCP Data received {"connection_id":89313,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:25] local.INFO: Processing buffer {"connection_id":89313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:25] local.INFO: IMEI packet received {"connection_id":89313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":89313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:45:26] local.INFO: TCP Data received {"connection_id":89313,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:26] local.INFO: Processing buffer {"connection_id":89313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:26] local.INFO: IMEI packet received {"connection_id":89313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":89313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:45:28] local.INFO: TCP Data received {"connection_id":89313,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:28] local.INFO: Processing buffer {"connection_id":89313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:28] local.INFO: IMEI packet received {"connection_id":89313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":89313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:45:30] local.INFO: TCP Data received {"connection_id":89313,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:30] local.INFO: Processing buffer {"connection_id":89313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:45:30] local.INFO: IMEI packet received {"connection_id":89313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":89313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:45:34] local.INFO: TCP Data received {"connection_id":89312,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:45:34] local.INFO: Processing buffer {"connection_id":89312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:45:34] local.INFO: IMEI packet received {"connection_id":89312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":89312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:45:59] local.INFO: TCP Data received {"connection_id":89314,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:45:59] local.INFO: Processing buffer {"connection_id":89314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:45:59] local.INFO: IMEI packet received {"connection_id":89314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":89314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:50:31] local.INFO: TCP Data received {"connection_id":89316,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:50:31] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:50:31] local.INFO: IMEI packet received {"connection_id":89316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":89316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:50:32] local.INFO: TCP Data received {"connection_id":89316,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8544d020012d6367c006259f280009014429..."} 
[2026-06-02 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8544d020012d6367c006259f280009014429..."} 
[2026-06-02 03:50:32] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8544d020012d6367c006259f280009014429..."} 
[2026-06-02 03:50:32] local.INFO: Packet analysis {"connection_id":89316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8544"} 
[2026-06-02 03:50:32] local.INFO: Extracted packet for processing {"connection_id":89316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8544"} 
[2026-06-02 03:50:32] local.INFO: GPS Element Parsed {"raw_longitude":761489344,"raw_latitude":103128872,"longitude_deg":76.1489344,"latitude_deg":10.3128872,"altitude":9,"angle":324,"satellites":41,"speed":52,"hex_longitude":"2d6367c0","hex_latitude":"06259f28","is_valid_coordinates":true} 
[2026-06-02 03:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770197248001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304480084268417024,"note":"Value kept but may cause issues"} 
[2026-06-02 03:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7167830677079891968,"note":"Value kept but may cause issues"} 
[2026-06-02 03:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780352340000,"timestamp_ms":1780352340000,"timestamp_seconds":1780352340,"priority":1,"record_length":96,"hex_timestamp":"0000019e8544d020"} 
[2026-06-02 03:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:50: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-06-02 03:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 03:50:32] 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-06-02 03:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770197248001,"66":27397,"11":206,"19":40192,"24":52,"16":304480084268417024,"45":7167830677079891968},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-06-02 03:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770197248001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:50:32] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-02 03:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304480084268417024,"km_value":304480084268417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7167830677079891968,"description":"Unknown IO ID 45"} 
[2026-06-02 03:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770197248001,"power":27397,"unknown_11":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":7167830677079891968}} 
[2026-06-02 03:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":89316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:50:32] local.INFO: GPS data processed {"connection_id":89316,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:50:32] local.INFO: Acknowledgment sent {"connection_id":89316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:51:04] local.INFO: TCP Data received {"connection_id":89316,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8545be68012d62e90006269890000a015329..."} 
[2026-06-02 03:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8545be68012d62e90006269890000a015329..."} 
[2026-06-02 03:51:04] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8545be68012d62e90006269890000a015329..."} 
[2026-06-02 03:51:04] local.INFO: Packet analysis {"connection_id":89316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8545"} 
[2026-06-02 03:51:04] local.INFO: Extracted packet for processing {"connection_id":89316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8545"} 
[2026-06-02 03:51:04] local.INFO: GPS Element Parsed {"raw_longitude":761456896,"raw_latitude":103192720,"longitude_deg":76.1456896,"latitude_deg":10.319272,"altitude":10,"angle":339,"satellites":41,"speed":46,"hex_longitude":"2d62e900","hex_latitude":"06269890","is_valid_coordinates":true} 
[2026-06-02 03:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770212608001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304483606141599744,"note":"Value kept but may cause issues"} 
[2026-06-02 03:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7131238930123749376,"note":"Value kept but may cause issues"} 
[2026-06-02 03:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780352401000,"timestamp_ms":1780352401000,"timestamp_seconds":1780352401,"priority":1,"record_length":96,"hex_timestamp":"0000019e8545be68"} 
[2026-06-02 03:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:51: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-06-02 03:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 03:51: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-06-02 03:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770212608001,"66":27463,"12":206,"19":40192,"24":46,"16":304483606141599744,"45":7131238930123749376},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-02 03:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770212608001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:51:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 03:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304483606141599744,"km_value":304483606141599.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7131238930123749376,"description":"Unknown IO ID 45"} 
[2026-06-02 03:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770212608001,"power":27463,"unknown_12":206,"unknown_19":40192,"ignition":46,"odometer":null,"unknown_45":7131238930123749376}} 
[2026-06-02 03:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":89316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:51:04] local.INFO: GPS data processed {"connection_id":89316,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:51:04] local.INFO: Acknowledgment sent {"connection_id":89316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:51:29] local.INFO: TCP Data received {"connection_id":89054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:51:29] local.INFO: Processing buffer {"connection_id":89054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:51:29] local.INFO: IMEI packet received {"connection_id":89054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":89054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:52:00] local.INFO: TCP Data received {"connection_id":90516,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:52:00] local.INFO: Processing buffer {"connection_id":90516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:52:00] local.INFO: IMEI packet received {"connection_id":90516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":90516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:52:00] local.INFO: TCP Data received {"connection_id":90517,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:00] local.INFO: Processing buffer {"connection_id":90517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:00] local.INFO: IMEI packet received {"connection_id":90517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":90517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:52:04] local.INFO: TCP Data received {"connection_id":90517,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:04] local.INFO: Processing buffer {"connection_id":90517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:04] local.INFO: IMEI packet received {"connection_id":90517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":90517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:52:05] local.INFO: TCP Data received {"connection_id":90517,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:05] local.INFO: Processing buffer {"connection_id":90517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:05] local.INFO: IMEI packet received {"connection_id":90517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":90517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:52:06] local.INFO: TCP Data received {"connection_id":90517,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8546b098012d627e00062797600009013723..."} 
[2026-06-02 03:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8546b098012d627e00062797600009013723..."} 
[2026-06-02 03:52:06] local.INFO: Processing buffer {"connection_id":90517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8546b098012d627e00062797600009013723..."} 
[2026-06-02 03:52:06] local.INFO: Packet analysis {"connection_id":90517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8546"} 
[2026-06-02 03:52:06] local.INFO: Extracted packet for processing {"connection_id":90517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8546"} 
[2026-06-02 03:52:06] local.INFO: GPS Element Parsed {"raw_longitude":761429504,"raw_latitude":103257952,"longitude_deg":76.1429504,"latitude_deg":10.3257952,"altitude":9,"angle":311,"satellites":35,"speed":20,"hex_longitude":"2d627e00","hex_latitude":"06279760","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770229248001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304487132309749760,"note":"Value kept but may cause issues"} 
[2026-06-02 03:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7100065576471795712,"note":"Value kept but may cause issues"} 
[2026-06-02 03:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780352463000,"timestamp_ms":1780352463000,"timestamp_seconds":1780352463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8546b098"} 
[2026-06-02 03:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770229248001,"66":27267,"12":206,"19":40192,"24":20,"16":304487132309749760,"45":7100065576471795712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-02 03:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770229248001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:52:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 03:52:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304487132309749760,"km_value":304487132309749.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7100065576471795712,"description":"Unknown IO ID 45"} 
[2026-06-02 03:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770229248001,"power":27267,"unknown_12":206,"unknown_19":40192,"ignition":20,"odometer":null,"unknown_45":7100065576471795712}} 
[2026-06-02 03:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":90517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:52:06] local.INFO: GPS data processed {"connection_id":90517,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:52:06] local.INFO: Acknowledgment sent {"connection_id":90517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:52:30] local.INFO: TCP Data received {"connection_id":89055,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:30] local.INFO: Processing buffer {"connection_id":89055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:30] local.INFO: IMEI packet received {"connection_id":89055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":89055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:52:31] local.INFO: TCP Data received {"connection_id":89055,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:31] local.INFO: Processing buffer {"connection_id":89055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:31] local.INFO: IMEI packet received {"connection_id":89055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":89055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:52:36] local.INFO: TCP Data received {"connection_id":89055,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:36] local.INFO: Processing buffer {"connection_id":89055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:52:36] local.INFO: IMEI packet received {"connection_id":89055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":89055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:52:37] local.INFO: TCP Data received {"connection_id":89055,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8546b480012d627cc0062798c00009014b23..."} 
[2026-06-02 03:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8546b480012d627cc0062798c00009014b23..."} 
[2026-06-02 03:52:37] local.INFO: Processing buffer {"connection_id":89055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8546b480012d627cc0062798c00009014b23..."} 
[2026-06-02 03:52:37] local.INFO: Packet analysis {"connection_id":89055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8546"} 
[2026-06-02 03:52:37] local.INFO: Extracted packet for processing {"connection_id":89055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8546"} 
[2026-06-02 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":761429184,"raw_latitude":103258304,"longitude_deg":76.1429184,"latitude_deg":10.3258304,"altitude":9,"angle":331,"satellites":35,"speed":20,"hex_longitude":"2d627cc0","hex_latitude":"062798c0","is_valid_coordinates":true} 
[2026-06-02 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770230528001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304487158079553536,"note":"Value kept but may cause issues"} 
[2026-06-02 03:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097110089216516096,"note":"Value kept but may cause issues"} 
[2026-06-02 03:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780352464000,"timestamp_ms":1780352464000,"timestamp_seconds":1780352464,"priority":1,"record_length":96,"hex_timestamp":"0000019e8546b480"} 
[2026-06-02 03:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770230528001,"66":27245,"12":206,"19":40192,"24":20,"16":304487158079553536,"45":7097110089216516096},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-02 03:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770230528001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:52:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 03:52:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304487158079553536,"km_value":304487158079553.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097110089216516096,"description":"Unknown IO ID 45"} 
[2026-06-02 03:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770230528001,"power":27245,"unknown_12":206,"unknown_19":40192,"ignition":20,"odometer":null,"unknown_45":7097110089216516096}} 
[2026-06-02 03:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":89055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:52:37] local.INFO: GPS data processed {"connection_id":89055,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:52:37] local.INFO: Acknowledgment sent {"connection_id":89055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:53:09] local.INFO: TCP Data received {"connection_id":89055,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8546b868012d627c4006279a780008015726..."} 
[2026-06-02 03:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8546b868012d627c4006279a780008015726..."} 
[2026-06-02 03:53:09] local.INFO: Processing buffer {"connection_id":89055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8546b868012d627c4006279a780008015726..."} 
[2026-06-02 03:53:09] local.INFO: Packet analysis {"connection_id":89055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8546"} 
[2026-06-02 03:53:09] local.INFO: Extracted packet for processing {"connection_id":89055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8546"} 
[2026-06-02 03:53:09] local.INFO: GPS Element Parsed {"raw_longitude":761429056,"raw_latitude":103258744,"longitude_deg":76.1429056,"latitude_deg":10.3258744,"altitude":8,"angle":343,"satellites":38,"speed":18,"hex_longitude":"2d627c40","hex_latitude":"06279a78","is_valid_coordinates":true} 
[2026-06-02 03:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770230784001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304487179554390016,"note":"Value kept but may cause issues"} 
[2026-06-02 03:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096758245495717888,"note":"Value kept but may cause issues"} 
[2026-06-02 03:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780352465000,"timestamp_ms":1780352465000,"timestamp_seconds":1780352465,"priority":1,"record_length":96,"hex_timestamp":"0000019e8546b868"} 
[2026-06-02 03:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:53: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-06-02 03:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 03:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770230784001,"66":27245,"12":206,"19":40192,"24":18,"16":304487179554390016,"45":7096758245495717888},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-02 03:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770230784001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:53:09] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 03:53:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304487179554390016,"km_value":304487179554390.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096758245495717888,"description":"Unknown IO ID 45"} 
[2026-06-02 03:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770230784001,"power":27245,"unknown_12":206,"unknown_19":40192,"ignition":18,"odometer":null,"unknown_45":7096758245495717888}} 
[2026-06-02 03:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":89055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:53:09] local.INFO: GPS data processed {"connection_id":89055,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:53:09] local.INFO: Acknowledgment sent {"connection_id":89055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:53:30] local.INFO: TCP Data received {"connection_id":90518,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:30] local.INFO: Processing buffer {"connection_id":90518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:30] local.INFO: IMEI packet received {"connection_id":90518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":90518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:53:32] local.INFO: TCP Data received {"connection_id":90518,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:32] local.INFO: Processing buffer {"connection_id":90518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:32] local.INFO: IMEI packet received {"connection_id":90518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":90518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:53:35] local.INFO: TCP Data received {"connection_id":90518,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:35] local.INFO: Processing buffer {"connection_id":90518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:53:35] local.INFO: IMEI packet received {"connection_id":90518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":90518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:53:36] local.INFO: TCP Data received {"connection_id":90518,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85470688012d6272c00627bd780007015325..."} 
[2026-06-02 03:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85470688012d6272c00627bd780007015325..."} 
[2026-06-02 03:53:36] local.INFO: Processing buffer {"connection_id":90518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85470688012d6272c00627bd780007015325..."} 
[2026-06-02 03:53:36] local.INFO: Packet analysis {"connection_id":90518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8547"} 
[2026-06-02 03:53:36] local.INFO: Extracted packet for processing {"connection_id":90518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8547"} 
[2026-06-02 03:53:36] local.INFO: GPS Element Parsed {"raw_longitude":761426624,"raw_latitude":103267704,"longitude_deg":76.1426624,"latitude_deg":10.3267704,"altitude":7,"angle":339,"satellites":37,"speed":27,"hex_longitude":"2d6272c0","hex_latitude":"0627bd78","is_valid_coordinates":true} 
[2026-06-02 03:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770231040001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304487630525956096,"note":"Value kept but may cause issues"} 
[2026-06-02 03:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096617508007475200,"note":"Value kept but may cause issues"} 
[2026-06-02 03:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780352485000,"timestamp_ms":1780352485000,"timestamp_seconds":1780352485,"priority":1,"record_length":96,"hex_timestamp":"0000019e85470688"} 
[2026-06-02 03:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 03:53:36] 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-06-02 03:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770231040001,"66":27343,"13":206,"19":40192,"24":27,"16":304487630525956096,"45":7096617508007475200},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-06-02 03:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770231040001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:53:36] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 03:53:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304487630525956096,"km_value":304487630525956.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096617508007475200,"description":"Unknown IO ID 45"} 
[2026-06-02 03:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770231040001,"power":27343,"unknown_13":206,"unknown_19":40192,"ignition":27,"odometer":null,"unknown_45":7096617508007475200}} 
[2026-06-02 03:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":90518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:53:36] local.INFO: GPS data processed {"connection_id":90518,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:53:36] local.INFO: Acknowledgment sent {"connection_id":90518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:54:07] local.INFO: TCP Data received {"connection_id":90518,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85473568012d6265800627dec80009015127..."} 
[2026-06-02 03:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85473568012d6265800627dec80009015127..."} 
[2026-06-02 03:54:07] local.INFO: Processing buffer {"connection_id":90518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85473568012d6265800627dec80009015127..."} 
[2026-06-02 03:54:07] local.INFO: Packet analysis {"connection_id":90518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8547"} 
[2026-06-02 03:54:07] local.INFO: Extracted packet for processing {"connection_id":90518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8547"} 
[2026-06-02 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":761423232,"raw_latitude":103276232,"longitude_deg":76.1423232,"latitude_deg":10.3276232,"altitude":9,"angle":337,"satellites":39,"speed":30,"hex_longitude":"2d626580","hex_latitude":"0627dec8","is_valid_coordinates":true} 
[2026-06-02 03:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770236160001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304488072907587584,"note":"Value kept but may cause issues"} 
[2026-06-02 03:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7093943495731017728,"note":"Value kept but may cause issues"} 
[2026-06-02 03:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780352497000,"timestamp_ms":1780352497000,"timestamp_seconds":1780352497,"priority":1,"record_length":96,"hex_timestamp":"0000019e85473568"} 
[2026-06-02 03:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770236160001,"66":27213,"13":206,"19":40192,"24":30,"16":304488072907587584,"45":7093943495731017728},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-06-02 03:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770236160001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:54:07] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 03:54:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304488072907587584,"km_value":304488072907587.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7093943495731017728,"description":"Unknown IO ID 45"} 
[2026-06-02 03:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770236160001,"power":27213,"unknown_13":206,"unknown_19":40192,"ignition":30,"odometer":null,"unknown_45":7093943495731017728}} 
[2026-06-02 03:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":90518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:54:07] local.INFO: GPS data processed {"connection_id":90518,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:54:07] local.INFO: Acknowledgment sent {"connection_id":90518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:54:33] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:54:33] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:54:33] local.INFO: IMEI packet received {"connection_id":89317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":89317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:54:34] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:54:34] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:54:34] local.INFO: IMEI packet received {"connection_id":89317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":89317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:55:00] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:55:00] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 03:55:00] local.INFO: IMEI packet received {"connection_id":89317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":89317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:55:03] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85492968012d61df4006291010000d014e2a..."} 
[2026-06-02 03:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85492968012d61df4006291010000d014e2a..."} 
[2026-06-02 03:55:03] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 03:55:03] local.INFO: IMEI packet received {"connection_id":89317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":89317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:55:04] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854948a8012d61cf0006293218000d014f2a..."} 
[2026-06-02 03:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854948a8012d61cf0006293218000d014f2a..."} 
[2026-06-02 03:55:04] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e85492968012d61df4006291010000d014e2a..."} 
[2026-06-02 03:55:04] local.INFO: Packet analysis {"connection_id":89317,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:04] local.INFO: Extracted packet for processing {"connection_id":89317,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:04] local.INFO: GPS Element Parsed {"raw_longitude":761388864,"raw_latitude":103354384,"longitude_deg":76.1388864,"latitude_deg":10.3354384,"altitude":13,"angle":334,"satellites":42,"speed":45,"hex_longitude":"2d61df40","hex_latitude":"06291010","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770269952001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304492217551028224,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7056859167569512448,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780352625000,"timestamp_ms":1780352625000,"timestamp_seconds":1780352625,"priority":1,"record_length":96,"hex_timestamp":"0000019e85492968"} 
[2026-06-02 03:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:55: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-06-02 03: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 03:55:04] 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-06-02 03: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-06-02 03:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770269952001,"66":27365,"72":206,"19":40192,"24":45,"16":304492217551028224,"45":7056859167569512448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770269952001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304492217551028224,"km_value":304492217551028.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7056859167569512448,"description":"Unknown IO ID 45"} 
[2026-06-02 03:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770269952001,"power":27365,"unknown_72":206,"unknown_19":40192,"ignition":45,"odometer":null,"unknown_45":7056859167569512448}} 
[2026-06-02 03:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":89317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:55:04] local.INFO: GPS data processed {"connection_id":89317,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:55:04] local.INFO: Acknowledgment sent {"connection_id":89317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:55:04] local.INFO: Packet analysis {"connection_id":89317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:04] local.INFO: Extracted packet for processing {"connection_id":89317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:04] local.INFO: GPS Element Parsed {"raw_longitude":761384704,"raw_latitude":103363096,"longitude_deg":76.1384704,"latitude_deg":10.3363096,"altitude":13,"angle":335,"satellites":42,"speed":48,"hex_longitude":"2d61cf00","hex_latitude":"06293218","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770272000001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304492685702463488,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7052425936688386048,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780352633000,"timestamp_ms":1780352633000,"timestamp_seconds":1780352633,"priority":1,"record_length":96,"hex_timestamp":"0000019e854948a8"} 
[2026-06-02 03:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:55: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-06-02 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770272000001,"66":27332,"72":206,"19":40192,"24":48,"16":304492685702463488,"45":7052425936688386048},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-06-02 03:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770272000001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304492685702463488,"km_value":304492685702463.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7052425936688386048,"description":"Unknown IO ID 45"} 
[2026-06-02 03:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770272000001,"power":27332,"unknown_72":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7052425936688386048}} 
[2026-06-02 03:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":89317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:55:04] local.INFO: GPS data processed {"connection_id":89317,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:55:04] local.INFO: Acknowledgment sent {"connection_id":89317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:55:05] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":1360,"data_hex":"000000000000030f8e0a0000019e854967e8012d61c080062956a0000b01532a..."} 
[2026-06-02 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019e854967e8012d61c080062956a0000b01532a..."} 
[2026-06-02 03:55:05] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019e854967e8012d61c080062956a0000b01532a..."} 
[2026-06-02 03:55:05] local.INFO: Packet analysis {"connection_id":89317,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:05] local.INFO: Extracted packet for processing {"connection_id":89317,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":761380992,"raw_latitude":103372448,"longitude_deg":76.1380992,"latitude_deg":10.3372448,"altitude":11,"angle":339,"satellites":42,"speed":51,"hex_longitude":"2d61c080","hex_latitude":"062956a0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770274048001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304493171033767936,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7047851968319068160,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780352641000,"timestamp_ms":1780352641000,"timestamp_seconds":1780352641,"priority":1,"record_length":96,"hex_timestamp":"0000019e854967e8"} 
[2026-06-02 03:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 03:55: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-06-02 03: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-06-02 03:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770274048001,"66":27321,"72":206,"19":40192,"24":51,"16":304493171033767936,"45":7047851968319068160},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770274048001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304493171033767936,"km_value":304493171033767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7047851968319068160,"description":"Unknown IO ID 45"} 
[2026-06-02 03:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770274048001,"power":27321,"unknown_72":206,"unknown_19":40192,"ignition":51,"odometer":null,"unknown_45":7047851968319068160}} 
[2026-06-02 03:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":89317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:55:05] local.INFO: GPS data processed {"connection_id":89317,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:55:05] local.INFO: Acknowledgment sent {"connection_id":89317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:55:05] local.INFO: Packet analysis {"connection_id":89317,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":89317,"needed":795,"available":565} 
[2026-06-02 03:55:05] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":230,"data_hex":"2d62210006288f580009014d2a00270000000a000400ef0100715d00f0010045..."} 
[2026-06-02 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":230,"packet_hex":"2d62210006288f580009014d2a00270000000a000400ef0100715d00f0010045..."} 
[2026-06-02 03:55:05] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85498340012d61b54006297980000901572a..."} 
[2026-06-02 03:55:05] local.INFO: Packet analysis {"connection_id":89317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:05] local.INFO: Extracted packet for processing {"connection_id":89317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":761378112,"raw_latitude":103381376,"longitude_deg":76.1378112,"latitude_deg":10.3381376,"altitude":9,"angle":343,"satellites":42,"speed":53,"hex_longitude":"2d61b540","hex_latitude":"06297980","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770276096001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304493626300301312,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7043770581159157760,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780352648000,"timestamp_ms":1780352648000,"timestamp_seconds":1780352648,"priority":1,"record_length":96,"hex_timestamp":"0000019e85498340"} 
[2026-06-02 03:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:55: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-06-02 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 03:55:05] 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-06-02 03: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-06-02 03:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770276096001,"66":27267,"72":206,"19":40192,"24":53,"16":304493626300301312,"45":7043770581159157760},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-06-02 03:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770276096001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304493626300301312,"km_value":304493626300301.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7043770581159157760,"description":"Unknown IO ID 45"} 
[2026-06-02 03:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770276096001,"power":27267,"unknown_72":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":7043770581159157760}} 
[2026-06-02 03:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":89317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:55:05] local.INFO: GPS data processed {"connection_id":89317,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:55:05] local.INFO: Acknowledgment sent {"connection_id":89317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:55:07] local.INFO: TCP Data received {"connection_id":89317,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85499e98012d61aac006299c40000901552a..."} 
[2026-06-02 03:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85499e98012d61aac006299c40000901552a..."} 
[2026-06-02 03:55:07] local.INFO: Processing buffer {"connection_id":89317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85499e98012d61aac006299c40000901552a..."} 
[2026-06-02 03:55:07] local.INFO: Packet analysis {"connection_id":89317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:07] local.INFO: Extracted packet for processing {"connection_id":89317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:07] local.INFO: GPS Element Parsed {"raw_longitude":761375424,"raw_latitude":103390272,"longitude_deg":76.1375424,"latitude_deg":10.3390272,"altitude":9,"angle":341,"satellites":42,"speed":49,"hex_longitude":"2d61aac0","hex_latitude":"06299c40","is_valid_coordinates":true} 
[2026-06-02 03:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770277888001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304494077271867392,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7040603987673448448,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780352655000,"timestamp_ms":1780352655000,"timestamp_seconds":1780352655,"priority":1,"record_length":96,"hex_timestamp":"0000019e85499e98"} 
[2026-06-02 03:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 03:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770277888001,"66":27332,"122":206,"19":40192,"24":49,"16":304494077271867392,"45":7040603987673448448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-02 03:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770277888001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:55:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 03:55:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304494077271867392,"km_value":304494077271867.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7040603987673448448,"description":"Unknown IO ID 45"} 
[2026-06-02 03:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770277888001,"power":27332,"unknown_122":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":7040603987673448448}} 
[2026-06-02 03:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":89317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:55:07] local.INFO: GPS data processed {"connection_id":89317,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:55:07] local.INFO: Acknowledgment sent {"connection_id":89317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:55:23] local.INFO: TCP Data received {"connection_id":89456,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:23] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:23] local.INFO: IMEI packet received {"connection_id":89456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":89456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:55:25] local.INFO: TCP Data received {"connection_id":89456,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:25] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:25] local.INFO: IMEI packet received {"connection_id":89456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":89456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:55:30] local.INFO: TCP Data received {"connection_id":89456,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:30] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:55:30] local.INFO: IMEI packet received {"connection_id":89456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":89456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:55:31] local.INFO: TCP Data received {"connection_id":89456,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8549bdd8012d619d400629c0e00009015229..."} 
[2026-06-02 03:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8549bdd8012d619d400629c0e00009015229..."} 
[2026-06-02 03:55:31] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8549bdd8012d619d400629c0e00009015229..."} 
[2026-06-02 03:55:31] local.INFO: Packet analysis {"connection_id":89456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:31] local.INFO: Extracted packet for processing {"connection_id":89456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:55:31] local.INFO: GPS Element Parsed {"raw_longitude":761371968,"raw_latitude":103399648,"longitude_deg":76.1371968,"latitude_deg":10.3399648,"altitude":9,"angle":338,"satellites":41,"speed":48,"hex_longitude":"2d619d40","hex_latitude":"0629c0e0","is_valid_coordinates":true} 
[2026-06-02 03:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770279680001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304494558308204544,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7037648500420263936,"note":"Value kept but may cause issues"} 
[2026-06-02 03:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780352663000,"timestamp_ms":1780352663000,"timestamp_seconds":1780352663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8549bdd8"} 
[2026-06-02 03:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:55: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-06-02 03:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 03:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770279680001,"66":26876,"122":206,"19":40192,"24":48,"16":304494558308204544,"45":7037648500420263936},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-02 03:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770279680001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:55:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 03:55:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304494558308204544,"km_value":304494558308204.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7037648500420263936,"description":"Unknown IO ID 45"} 
[2026-06-02 03:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770279680001,"power":26876,"unknown_122":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7037648500420263936}} 
[2026-06-02 03:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":89456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:55:31] local.INFO: GPS data processed {"connection_id":89456,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:55:31] local.INFO: Acknowledgment sent {"connection_id":89456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:56:03] local.INFO: TCP Data received {"connection_id":89456,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8549dd18012d618e400629e430000a014f2a..."} 
[2026-06-02 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8549dd18012d618e400629e430000a014f2a..."} 
[2026-06-02 03:56:03] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8549dd18012d618e400629e430000a014f2a..."} 
[2026-06-02 03:56:03] local.INFO: Packet analysis {"connection_id":89456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:56:03] local.INFO: Extracted packet for processing {"connection_id":89456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":761368128,"raw_latitude":103408688,"longitude_deg":76.1368128,"latitude_deg":10.3408688,"altitude":10,"angle":335,"satellites":42,"speed":50,"hex_longitude":"2d618e40","hex_latitude":"0629e430","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770281728001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304495035049574400,"note":"Value kept but may cause issues"} 
[2026-06-02 03:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7033848588237070336,"note":"Value kept but may cause issues"} 
[2026-06-02 03:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780352671000,"timestamp_ms":1780352671000,"timestamp_seconds":1780352671,"priority":1,"record_length":96,"hex_timestamp":"0000019e8549dd18"} 
[2026-06-02 03:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:56: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-06-02 03: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 03:56:03] 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-06-02 03: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-06-02 03:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770281728001,"66":27300,"122":206,"19":40192,"24":50,"16":304495035049574400,"45":7033848588237070336},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-02 03:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770281728001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:56:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 03:56:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304495035049574400,"km_value":304495035049574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7033848588237070336,"description":"Unknown IO ID 45"} 
[2026-06-02 03:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770281728001,"power":27300,"unknown_122":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":7033848588237070336}} 
[2026-06-02 03:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":89456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:56:03] local.INFO: GPS data processed {"connection_id":89456,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:56:03] local.INFO: Acknowledgment sent {"connection_id":89456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:56:25] local.INFO: TCP Data received {"connection_id":89058,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:56:25] local.INFO: Processing buffer {"connection_id":89058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:56:25] local.INFO: IMEI packet received {"connection_id":89058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":89058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:56:30] local.INFO: TCP Data received {"connection_id":89058,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:56:30] local.INFO: Processing buffer {"connection_id":89058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:56:30] local.INFO: IMEI packet received {"connection_id":89058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":89058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:56:31] local.INFO: TCP Data received {"connection_id":89058,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8549f870012d617ec0062a0510000a014e2a..."} 
[2026-06-02 03:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8549f870012d617ec0062a0510000a014e2a..."} 
[2026-06-02 03:56:31] local.INFO: Processing buffer {"connection_id":89058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8549f870012d617ec0062a0510000a014e2a..."} 
[2026-06-02 03:56:31] local.INFO: Packet analysis {"connection_id":89058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:56:31] local.INFO: Extracted packet for processing {"connection_id":89058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8549"} 
[2026-06-02 03:56:31] local.INFO: GPS Element Parsed {"raw_longitude":761364160,"raw_latitude":103417104,"longitude_deg":76.136416,"latitude_deg":10.3417104,"altitude":10,"angle":334,"satellites":42,"speed":55,"hex_longitude":"2d617ec0","hex_latitude":"062a0510","is_valid_coordinates":true} 
[2026-06-02 03:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770283776001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304495486021140480,"note":"Value kept but may cause issues"} 
[2026-06-02 03:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7029626463588724736,"note":"Value kept but may cause issues"} 
[2026-06-02 03:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780352678000,"timestamp_ms":1780352678000,"timestamp_seconds":1780352678,"priority":1,"record_length":96,"hex_timestamp":"0000019e8549f870"} 
[2026-06-02 03:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:56: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-06-02 03:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 03:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770283776001,"66":27213,"122":206,"19":40192,"24":55,"16":304495486021140480,"45":7029626463588724736},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-02 03:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770283776001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:56:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 03:56:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304495486021140480,"km_value":304495486021140.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7029626463588724736,"description":"Unknown IO ID 45"} 
[2026-06-02 03:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770283776001,"power":27213,"unknown_122":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":7029626463588724736}} 
[2026-06-02 03:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":89058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:56:31] local.INFO: GPS data processed {"connection_id":89058,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:56:31] local.INFO: Acknowledgment sent {"connection_id":89058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:57:03] local.INFO: TCP Data received {"connection_id":89058,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854b3ca8012d60c1c0062b66b00007015625..."} 
[2026-06-02 03:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854b3ca8012d60c1c0062b66b00007015625..."} 
[2026-06-02 03:57:04] local.INFO: Processing buffer {"connection_id":89058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854b3ca8012d60c1c0062b66b00007015625..."} 
[2026-06-02 03:57:04] local.INFO: Packet analysis {"connection_id":89058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854b"} 
[2026-06-02 03:57:04] local.INFO: Extracted packet for processing {"connection_id":89058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854b"} 
[2026-06-02 03:57:04] local.INFO: GPS Element Parsed {"raw_longitude":761315776,"raw_latitude":103507632,"longitude_deg":76.1315776,"latitude_deg":10.3507632,"altitude":7,"angle":342,"satellites":37,"speed":28,"hex_longitude":"2d60c1c0","hex_latitude":"062b66b0","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770304512001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304500459593269248,"note":"Value kept but may cause issues"} 
[2026-06-02 03:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6975442530594947072,"note":"Value kept but may cause issues"} 
[2026-06-02 03:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780352761000,"timestamp_ms":1780352761000,"timestamp_seconds":1780352761,"priority":1,"record_length":96,"hex_timestamp":"0000019e854b3ca8"} 
[2026-06-02 03:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:57: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-06-02 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 03:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03: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-06-02 03:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770304512001,"66":27343,"122":206,"19":40192,"24":28,"16":304500459593269248,"45":6975442530594947072},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-02 03:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770304512001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:57:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 03:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304500459593269248,"km_value":304500459593269.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6975442530594947072,"description":"Unknown IO ID 45"} 
[2026-06-02 03:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770304512001,"power":27343,"unknown_122":206,"unknown_19":40192,"ignition":28,"odometer":null,"unknown_45":6975442530594947072}} 
[2026-06-02 03:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":89058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:57:04] local.INFO: GPS data processed {"connection_id":89058,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:57:04] local.INFO: Acknowledgment sent {"connection_id":89058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:57:19] local.INFO: TCP Data received {"connection_id":89059,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:57:19] local.INFO: Processing buffer {"connection_id":89059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:57:19] local.INFO: IMEI packet received {"connection_id":89059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":89059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:57:25] local.INFO: TCP Data received {"connection_id":89458,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:25] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:25] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:57:26] local.INFO: TCP Data received {"connection_id":89458,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:26] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:26] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:57:28] local.INFO: TCP Data received {"connection_id":89458,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:28] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:28] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:57:30] local.INFO: TCP Data received {"connection_id":89458,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:30] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:57:30] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:57:30] local.INFO: TCP Data received {"connection_id":89458,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854b5800012d60bf40062b71900009016325..."} 
[2026-06-02 03:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854b5800012d60bf40062b71900009016325..."} 
[2026-06-02 03:57:31] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854b5800012d60bf40062b71900009016325..."} 
[2026-06-02 03:57:31] local.INFO: Packet analysis {"connection_id":89458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854b"} 
[2026-06-02 03:57:31] local.INFO: Extracted packet for processing {"connection_id":89458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854b"} 
[2026-06-02 03:57:31] local.INFO: GPS Element Parsed {"raw_longitude":761315136,"raw_latitude":103510416,"longitude_deg":76.1315136,"latitude_deg":10.3510416,"altitude":9,"angle":355,"satellites":37,"speed":13,"hex_longitude":"2d60bf40","hex_latitude":"062b7190","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770306816001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304500597032222720,"note":"Value kept but may cause issues"} 
[2026-06-02 03:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6972064830876725248,"note":"Value kept but may cause issues"} 
[2026-06-02 03:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780352768000,"timestamp_ms":1780352768000,"timestamp_seconds":1780352768,"priority":1,"record_length":96,"hex_timestamp":"0000019e854b5800"} 
[2026-06-02 03:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:57: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-06-02 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:57: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-06-02 03: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-06-02 03:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770306816001,"66":27213,"122":206,"19":40192,"24":13,"16":304500597032222720,"45":6972064830876725248},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-02 03:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770306816001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:57:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 03:57:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304500597032222720,"km_value":304500597032222.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6972064830876725248,"description":"Unknown IO ID 45"} 
[2026-06-02 03:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770306816001,"power":27213,"unknown_122":206,"unknown_19":40192,"ignition":13,"odometer":null,"unknown_45":6972064830876725248}} 
[2026-06-02 03:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":89458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:57:31] local.INFO: GPS data processed {"connection_id":89458,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:57:31] local.INFO: Acknowledgment sent {"connection_id":89458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:58:00] local.INFO: TCP Data received {"connection_id":90519,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:58:00] local.INFO: Processing buffer {"connection_id":90519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 03:58:00] local.INFO: IMEI packet received {"connection_id":90519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":90519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:58:02] local.INFO: TCP Data received {"connection_id":89458,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854c32c0012d604c00062c1280000901432a..."} 
[2026-06-02 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854c32c0012d604c00062c1280000901432a..."} 
[2026-06-02 03:58:02] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854c32c0012d604c00062c1280000901432a..."} 
[2026-06-02 03:58:02] local.INFO: Packet analysis {"connection_id":89458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854c"} 
[2026-06-02 03:58:02] local.INFO: Extracted packet for processing {"connection_id":89458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854c"} 
[2026-06-02 03:58:02] local.INFO: GPS Element Parsed {"raw_longitude":761285632,"raw_latitude":103551616,"longitude_deg":76.1285632,"latitude_deg":10.3551616,"altitude":9,"angle":323,"satellites":42,"speed":44,"hex_longitude":"2d604c00","hex_latitude":"062c1280","is_valid_coordinates":true} 
[2026-06-02 03: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-06-02 03:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770322432001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304503126767960064,"note":"Value kept but may cause issues"} 
[2026-06-02 03:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6940610002240149504,"note":"Value kept but may cause issues"} 
[2026-06-02 03:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780352824000,"timestamp_ms":1780352824000,"timestamp_seconds":1780352824,"priority":1,"record_length":96,"hex_timestamp":"0000019e854c32c0"} 
[2026-06-02 03:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:58: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-06-02 03: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-02 03:58:02] 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-06-02 03: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-06-02 03:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770322432001,"66":27343,"121":206,"19":40192,"24":44,"16":304503126767960064,"45":6940610002240149504},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-06-02 03:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770322432001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:58:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-02 03:58:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304503126767960064,"km_value":304503126767960.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6940610002240149504,"description":"Unknown IO ID 45"} 
[2026-06-02 03:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770322432001,"power":27343,"unknown_121":206,"unknown_19":40192,"ignition":44,"odometer":null,"unknown_45":6940610002240149504}} 
[2026-06-02 03:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":89458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:58:02] local.INFO: GPS data processed {"connection_id":89458,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:58:02] local.INFO: Acknowledgment sent {"connection_id":89458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 03:58:28] local.INFO: TCP Data received {"connection_id":90520,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:28] local.INFO: Processing buffer {"connection_id":90520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:28] local.INFO: IMEI packet received {"connection_id":90520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 03:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":90520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 03:58:30] local.INFO: TCP Data received {"connection_id":90520,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:30] local.INFO: Processing buffer {"connection_id":90520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:30] local.INFO: IMEI packet received {"connection_id":90520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":90520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:58:35] local.INFO: TCP Data received {"connection_id":90520,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:35] local.INFO: Processing buffer {"connection_id":90520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 03:58:35] local.INFO: IMEI packet received {"connection_id":90520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 03:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":90520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 03:58:36] local.INFO: TCP Data received {"connection_id":90520,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854c4648012d604000062c25a0000a01512b..."} 
[2026-06-02 03:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854c4648012d604000062c25a0000a01512b..."} 
[2026-06-02 03:58:36] local.INFO: Processing buffer {"connection_id":90520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854c4648012d604000062c25a0000a01512b..."} 
[2026-06-02 03:58:36] local.INFO: Packet analysis {"connection_id":90520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854c"} 
[2026-06-02 03:58:36] local.INFO: Extracted packet for processing {"connection_id":90520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854c"} 
[2026-06-02 03:58:36] local.INFO: GPS Element Parsed {"raw_longitude":761282560,"raw_latitude":103556512,"longitude_deg":76.128256,"latitude_deg":10.3556512,"altitude":10,"angle":337,"satellites":43,"speed":45,"hex_longitude":"2d604000","hex_latitude":"062c25a0","is_valid_coordinates":true} 
[2026-06-02 03:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 03:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770322944001,"note":"Value kept but may cause issues"} 
[2026-06-02 03:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304503405940834304,"note":"Value kept but may cause issues"} 
[2026-06-02 03:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6938921152380305408,"note":"Value kept but may cause issues"} 
[2026-06-02 03:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 03:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780352829000,"timestamp_ms":1780352829000,"timestamp_seconds":1780352829,"priority":1,"record_length":96,"hex_timestamp":"0000019e854c4648"} 
[2026-06-02 03:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 03:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 03:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 03:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 03:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 03:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 03:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 03:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 03:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 03:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 03:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 03:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 03:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770322944001,"66":27343,"114":206,"19":40192,"24":45,"16":304503405940834304,"45":6938921152380305408},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,19,24,16,45]} 
[2026-06-02 03:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 03:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 03:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770322944001,"description":"Unknown IO ID 0"} 
[2026-06-02 03:58:36] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-02 03:58:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 03:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304503405940834304,"km_value":304503405940834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 03:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6938921152380305408,"description":"Unknown IO ID 45"} 
[2026-06-02 03:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770322944001,"power":27343,"unknown_114":206,"unknown_19":40192,"ignition":45,"odometer":null,"unknown_45":6938921152380305408}} 
[2026-06-02 03:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":90520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 03:58:36] local.INFO: GPS data processed {"connection_id":90520,"processed":1,"errors":0,"total":1} 
[2026-06-02 03:58:36] local.INFO: Acknowledgment sent {"connection_id":90520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:00:01] local.INFO: TCP Data received {"connection_id":90520,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854c6970012d603380062c4820000c015127..."} 
[2026-06-02 04:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854c6970012d603380062c4820000c015127..."} 
[2026-06-02 04:00:01] local.INFO: Processing buffer {"connection_id":90520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854c6970012d603380062c4820000c015127..."} 
[2026-06-02 04:00:01] local.INFO: Packet analysis {"connection_id":90520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854c"} 
[2026-06-02 04:00:01] local.INFO: Extracted packet for processing {"connection_id":90520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854c"} 
[2026-06-02 04:00:01] local.INFO: GPS Element Parsed {"raw_longitude":761279360,"raw_latitude":103565344,"longitude_deg":76.127936,"latitude_deg":10.3565344,"altitude":12,"angle":337,"satellites":39,"speed":38,"hex_longitude":"2d603380","hex_latitude":"062c4820","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770324224001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304503861207367680,"note":"Value kept but may cause issues"} 
[2026-06-02 04:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6935543452661030912,"note":"Value kept but may cause issues"} 
[2026-06-02 04:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780352838000,"timestamp_ms":1780352838000,"timestamp_seconds":1780352838,"priority":1,"record_length":96,"hex_timestamp":"0000019e854c6970"} 
[2026-06-02 04:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:00: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-06-02 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770324224001,"66":27365,"114":206,"19":40192,"24":38,"16":304503861207367680,"45":6935543452661030912},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,19,24,16,45]} 
[2026-06-02 04:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770324224001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:00:01] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-02 04:00:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304503861207367680,"km_value":304503861207367.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6935543452661030912,"description":"Unknown IO ID 45"} 
[2026-06-02 04:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770324224001,"power":27365,"unknown_114":206,"unknown_19":40192,"ignition":38,"odometer":null,"unknown_45":6935543452661030912}} 
[2026-06-02 04:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":90520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:00:01] local.INFO: GPS data processed {"connection_id":90520,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:00:01] local.INFO: Acknowledgment sent {"connection_id":90520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:00:30] local.INFO: TCP Data received {"connection_id":89061,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:00:30] local.INFO: Processing buffer {"connection_id":89061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:00:30] local.INFO: IMEI packet received {"connection_id":89061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":89061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:00:35] local.INFO: TCP Data received {"connection_id":89061,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:00:35] local.INFO: Processing buffer {"connection_id":89061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:00:35] local.INFO: IMEI packet received {"connection_id":89061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":89061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:00:38] local.INFO: TCP Data received {"connection_id":89061,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854e0f50012d5fb8c0062e0b180007001d28..."} 
[2026-06-02 04:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854e0f50012d5fb8c0062e0b180007001d28..."} 
[2026-06-02 04:00:38] local.INFO: Processing buffer {"connection_id":89061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854e0f50012d5fb8c0062e0b180007001d28..."} 
[2026-06-02 04:00:38] local.INFO: Packet analysis {"connection_id":89061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:00:38] local.INFO: Extracted packet for processing {"connection_id":89061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:00:38] local.INFO: GPS Element Parsed {"raw_longitude":761247936,"raw_latitude":103680792,"longitude_deg":76.1247936,"latitude_deg":10.3680792,"altitude":7,"angle":29,"satellites":40,"speed":19,"hex_longitude":"2d5fb8c0","hex_latitude":"062e0b18","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770353920001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304510423917395968,"note":"Value kept but may cause issues"} 
[2026-06-02 04:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6897122118371743744,"note":"Value kept but may cause issues"} 
[2026-06-02 04:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780352946000,"timestamp_ms":1780352946000,"timestamp_seconds":1780352946,"priority":1,"record_length":96,"hex_timestamp":"0000019e854e0f50"} 
[2026-06-02 04:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:00: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-06-02 04:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 04:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770353920001,"66":27300,"113":206,"19":40192,"24":19,"16":304510423917395968,"45":6897122118371743744},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-06-02 04:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770353920001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:00:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 04:00:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304510423917395968,"km_value":304510423917395.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6897122118371743744,"description":"Unknown IO ID 45"} 
[2026-06-02 04:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770353920001,"power":27300,"unknown_113":206,"unknown_19":40192,"ignition":19,"odometer":null,"unknown_45":6897122118371743744}} 
[2026-06-02 04:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":89061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:00:38] local.INFO: GPS data processed {"connection_id":89061,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:00:38] local.INFO: Acknowledgment sent {"connection_id":89061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:01:09] local.INFO: TCP Data received {"connection_id":89061,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854e1338012d5fb940062e0cd00007000a27..."} 
[2026-06-02 04:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854e1338012d5fb940062e0cd00007000a27..."} 
[2026-06-02 04:01:09] local.INFO: Processing buffer {"connection_id":89061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854e1338012d5fb940062e0cd00007000a27..."} 
[2026-06-02 04:01:09] local.INFO: Packet analysis {"connection_id":89061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:01:09] local.INFO: Extracted packet for processing {"connection_id":89061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:01:09] local.INFO: GPS Element Parsed {"raw_longitude":761248064,"raw_latitude":103681232,"longitude_deg":76.1248064,"latitude_deg":10.3681232,"altitude":7,"angle":10,"satellites":39,"speed":19,"hex_longitude":"2d5fb940","hex_latitude":"062e0cd0","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770354176001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304510445392232448,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6897473962092730368,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780352947000,"timestamp_ms":1780352947000,"timestamp_seconds":1780352947,"priority":1,"record_length":96,"hex_timestamp":"0000019e854e1338"} 
[2026-06-02 04:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:01: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-06-02 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770354176001,"66":27300,"113":206,"19":40192,"24":19,"16":304510445392232448,"45":6897473962092730368},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-06-02 04:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770354176001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:01:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 04:01:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304510445392232448,"km_value":304510445392232.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6897473962092730368,"description":"Unknown IO ID 45"} 
[2026-06-02 04:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770354176001,"power":27300,"unknown_113":206,"unknown_19":40192,"ignition":19,"odometer":null,"unknown_45":6897473962092730368}} 
[2026-06-02 04:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":89061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:01:09] local.INFO: GPS data processed {"connection_id":89061,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:01:09] local.INFO: Acknowledgment sent {"connection_id":89061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:01:31] local.INFO: TCP Data received {"connection_id":90522,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:01:31] local.INFO: Processing buffer {"connection_id":90522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:01:31] local.INFO: IMEI packet received {"connection_id":90522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":90522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:01:35] local.INFO: TCP Data received {"connection_id":90522,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:01:35] local.INFO: Processing buffer {"connection_id":90522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:01:35] local.INFO: IMEI packet received {"connection_id":90522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":90522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:01:37] local.INFO: TCP Data received {"connection_id":90522,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854e1720012d5fb940062e0e980008015c27..."} 
[2026-06-02 04:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854e1720012d5fb940062e0e980008015c27..."} 
[2026-06-02 04:01:37] local.INFO: Processing buffer {"connection_id":90522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854e1720012d5fb940062e0e980008015c27..."} 
[2026-06-02 04:01:37] local.INFO: Packet analysis {"connection_id":90522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:01:37] local.INFO: Extracted packet for processing {"connection_id":90522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":761248064,"raw_latitude":103681688,"longitude_deg":76.1248064,"latitude_deg":10.3681688,"altitude":8,"angle":348,"satellites":39,"speed":18,"hex_longitude":"2d5fb940","hex_latitude":"062e0e98","is_valid_coordinates":true} 
[2026-06-02 04:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770354432001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304510466867068928,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6897614699581198336,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780352948000,"timestamp_ms":1780352948000,"timestamp_seconds":1780352948,"priority":1,"record_length":96,"hex_timestamp":"0000019e854e1720"} 
[2026-06-02 04:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770354432001,"66":27234,"113":206,"19":40192,"24":18,"16":304510466867068928,"45":6897614699581198336},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-06-02 04:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770354432001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:01:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 04:01:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304510466867068928,"km_value":304510466867068.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6897614699581198336,"description":"Unknown IO ID 45"} 
[2026-06-02 04:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770354432001,"power":27234,"unknown_113":206,"unknown_19":40192,"ignition":18,"odometer":null,"unknown_45":6897614699581198336}} 
[2026-06-02 04:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":90522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:01:37] local.INFO: GPS data processed {"connection_id":90522,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:01:37] local.INFO: Acknowledgment sent {"connection_id":90522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:01:38] local.INFO: TCP Data received {"connection_id":90522,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854e55a0012d5fb080062e30d80008015d26..."} 
[2026-06-02 04:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854e55a0012d5fb080062e30d80008015d26..."} 
[2026-06-02 04:01:38] local.INFO: Processing buffer {"connection_id":90522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854e55a0012d5fb080062e30d80008015d26..."} 
[2026-06-02 04:01:38] local.INFO: Packet analysis {"connection_id":90522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:01:38] local.INFO: Extracted packet for processing {"connection_id":90522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:01:38] local.INFO: GPS Element Parsed {"raw_longitude":761245824,"raw_latitude":103690456,"longitude_deg":76.1245824,"latitude_deg":10.3690456,"altitude":8,"angle":349,"satellites":38,"speed":25,"hex_longitude":"2d5fb080","hex_latitude":"062e30d8","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770354688001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304510904953733120,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6897614699581315072,"note":"Value kept but may cause issues"} 
[2026-06-02 04:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780352964000,"timestamp_ms":1780352964000,"timestamp_seconds":1780352964,"priority":1,"record_length":96,"hex_timestamp":"0000019e854e55a0"} 
[2026-06-02 04:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:01: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-06-02 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 04:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770354688001,"66":27300,"113":206,"19":40192,"24":25,"16":304510904953733120,"45":6897614699581315072},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-06-02 04:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770354688001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:01:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 04:01:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304510904953733120,"km_value":304510904953733.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6897614699581315072,"description":"Unknown IO ID 45"} 
[2026-06-02 04:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770354688001,"power":27300,"unknown_113":206,"unknown_19":40192,"ignition":25,"odometer":null,"unknown_45":6897614699581315072}} 
[2026-06-02 04:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":90522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:01:38] local.INFO: GPS data processed {"connection_id":90522,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:01:38] local.INFO: Acknowledgment sent {"connection_id":90522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:02:09] local.INFO: TCP Data received {"connection_id":90522,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e854e8868012d5fab00062e54f80008016026..."} 
[2026-06-02 04:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e854e8868012d5fab00062e54f80008016026..."} 
[2026-06-02 04:02:09] local.INFO: Processing buffer {"connection_id":90522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e854e8868012d5fab00062e54f80008016026..."} 
[2026-06-02 04:02:09] local.INFO: Packet analysis {"connection_id":90522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:02:09] local.INFO: Extracted packet for processing {"connection_id":90522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e854e"} 
[2026-06-02 04:02:09] local.INFO: GPS Element Parsed {"raw_longitude":761244416,"raw_latitude":103699704,"longitude_deg":76.1244416,"latitude_deg":10.3699704,"altitude":8,"angle":352,"satellites":38,"speed":29,"hex_longitude":"2d5fab00","hex_latitude":"062e54f8","is_valid_coordinates":true} 
[2026-06-02 04:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770358784001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304511360220266496,"note":"Value kept but may cause issues"} 
[2026-06-02 04:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6895151793537341440,"note":"Value kept but may cause issues"} 
[2026-06-02 04:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780352977000,"timestamp_ms":1780352977000,"timestamp_seconds":1780352977,"priority":1,"record_length":96,"hex_timestamp":"0000019e854e8868"} 
[2026-06-02 04:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:02: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-06-02 04:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":90522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":90522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":90522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770358784001,"66":27300,"175":206,"19":40192,"24":29,"16":304511360220266496,"45":6895151793537341440},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-06-02 04:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770358784001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:02:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-02 04:02:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304511360220266496,"km_value":304511360220266.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6895151793537341440,"description":"Unknown IO ID 45"} 
[2026-06-02 04:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770358784001,"power":27300,"unknown_175":206,"unknown_19":40192,"ignition":29,"odometer":null,"unknown_45":6895151793537341440}} 
[2026-06-02 04:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":90522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:02:09] local.INFO: GPS data processed {"connection_id":90522,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:02:09] local.INFO: Acknowledgment sent {"connection_id":90522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:02:23] local.INFO: TCP Data received {"connection_id":89062,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:23] local.INFO: Processing buffer {"connection_id":89062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:23] local.INFO: IMEI packet received {"connection_id":89062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":89062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:02:25] local.INFO: TCP Data received {"connection_id":89062,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:25] local.INFO: Processing buffer {"connection_id":89062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:25] local.INFO: IMEI packet received {"connection_id":89062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":89062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:02:31] local.INFO: TCP Data received {"connection_id":89062,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:31] local.INFO: Processing buffer {"connection_id":89062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:02:31] local.INFO: IMEI packet received {"connection_id":89062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":89062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:02:32] local.INFO: TCP Data received {"connection_id":89062,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855045b8012d5f3cc0062fd718000701572a..."} 
[2026-06-02 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855045b8012d5f3cc0062fd718000701572a..."} 
[2026-06-02 04:02:32] local.INFO: Processing buffer {"connection_id":89062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855045b8012d5f3cc0062fd718000701572a..."} 
[2026-06-02 04:02:32] local.INFO: Packet analysis {"connection_id":89062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8550"} 
[2026-06-02 04:02:32] local.INFO: Extracted packet for processing {"connection_id":89062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8550"} 
[2026-06-02 04:02:32] local.INFO: GPS Element Parsed {"raw_longitude":761216192,"raw_latitude":103798552,"longitude_deg":76.1216192,"latitude_deg":10.3798552,"altitude":7,"angle":343,"satellites":42,"speed":50,"hex_longitude":"2d5f3cc0","hex_latitude":"062fd718","is_valid_coordinates":true} 
[2026-06-02 04:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770389248001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304516363857166336,"note":"Value kept but may cause issues"} 
[2026-06-02 04:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6865948764728834048,"note":"Value kept but may cause issues"} 
[2026-06-02 04:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780353091000,"timestamp_ms":1780353091000,"timestamp_seconds":1780353091,"priority":1,"record_length":96,"hex_timestamp":"0000019e855045b8"} 
[2026-06-02 04:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:02: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-06-02 04:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 04:02:32] 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-06-02 04:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770389248001,"66":27332,"174":206,"19":40192,"24":50,"16":304516363857166336,"45":6865948764728834048},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-02 04:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770389248001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:02:32] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 04:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304516363857166336,"km_value":304516363857166.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6865948764728834048,"description":"Unknown IO ID 45"} 
[2026-06-02 04:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770389248001,"power":27332,"unknown_174":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6865948764728834048}} 
[2026-06-02 04:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":89062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:02:32] local.INFO: GPS data processed {"connection_id":89062,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:02:32] local.INFO: Acknowledgment sent {"connection_id":89062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:03:04] local.INFO: TCP Data received {"connection_id":89062,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85506110012d5f3440062ff9280007015a29..."} 
[2026-06-02 04:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85506110012d5f3440062ff9280007015a29..."} 
[2026-06-02 04:03:04] local.INFO: Processing buffer {"connection_id":89062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85506110012d5f3440062ff9280007015a29..."} 
[2026-06-02 04:03:04] local.INFO: Packet analysis {"connection_id":89062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8550"} 
[2026-06-02 04:03:04] local.INFO: Extracted packet for processing {"connection_id":89062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8550"} 
[2026-06-02 04:03:04] local.INFO: GPS Element Parsed {"raw_longitude":761214016,"raw_latitude":103807272,"longitude_deg":76.1214016,"latitude_deg":10.3807272,"altitude":7,"angle":346,"satellites":41,"speed":51,"hex_longitude":"2d5f3440","hex_latitude":"062ff928","is_valid_coordinates":true} 
[2026-06-02 04:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770391296001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304516801943830528,"note":"Value kept but may cause issues"} 
[2026-06-02 04:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6862571065010755584,"note":"Value kept but may cause issues"} 
[2026-06-02 04:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780353098000,"timestamp_ms":1780353098000,"timestamp_seconds":1780353098,"priority":1,"record_length":96,"hex_timestamp":"0000019e85506110"} 
[2026-06-02 04:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:03: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-06-02 04:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:03: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-06-02 04:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770391296001,"66":27376,"174":206,"19":40192,"24":51,"16":304516801943830528,"45":6862571065010755584},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-02 04:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770391296001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:03:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 04:03:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304516801943830528,"km_value":304516801943830.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6862571065010755584,"description":"Unknown IO ID 45"} 
[2026-06-02 04:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770391296001,"power":27376,"unknown_174":206,"unknown_19":40192,"ignition":51,"odometer":null,"unknown_45":6862571065010755584}} 
[2026-06-02 04:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":89062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:03:04] local.INFO: GPS data processed {"connection_id":89062,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:03:04] local.INFO: Acknowledgment sent {"connection_id":89062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:03:19] local.INFO: TCP Data received {"connection_id":89320,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:03:19] local.INFO: Processing buffer {"connection_id":89320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:03:19] local.INFO: IMEI packet received {"connection_id":89320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":89320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:03:25] local.INFO: TCP Data received {"connection_id":89460,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:03:25] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:03:25] local.INFO: IMEI packet received {"connection_id":89460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":89460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:03:30] local.INFO: TCP Data received {"connection_id":89460,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:03:30] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:03:30] local.INFO: IMEI packet received {"connection_id":89460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":89460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:03:32] local.INFO: TCP Data received {"connection_id":89460,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85507c68012d5f2bc006301cc80006015a2a..."} 
[2026-06-02 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85507c68012d5f2bc006301cc80006015a2a..."} 
[2026-06-02 04:03:32] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85507c68012d5f2bc006301cc80006015a2a..."} 
[2026-06-02 04:03:32] local.INFO: Packet analysis {"connection_id":89460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8550"} 
[2026-06-02 04:03:32] local.INFO: Extracted packet for processing {"connection_id":89460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8550"} 
[2026-06-02 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":761211840,"raw_latitude":103816392,"longitude_deg":76.121184,"latitude_deg":10.3816392,"altitude":6,"angle":346,"satellites":42,"speed":53,"hex_longitude":"2d5f2bc0","hex_latitude":"06301cc8","is_valid_coordinates":true} 
[2026-06-02 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770393088001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304517252915396608,"note":"Value kept but may cause issues"} 
[2026-06-02 04:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6860178527710947328,"note":"Value kept but may cause issues"} 
[2026-06-02 04:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780353105000,"timestamp_ms":1780353105000,"timestamp_seconds":1780353105,"priority":1,"record_length":96,"hex_timestamp":"0000019e85507c68"} 
[2026-06-02 04:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:03: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-06-02 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 04:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770393088001,"66":27267,"174":206,"19":40192,"24":53,"16":304517252915396608,"45":6860178527710947328},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-02 04:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770393088001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:03:32] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 04:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304517252915396608,"km_value":304517252915396.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6860178527710947328,"description":"Unknown IO ID 45"} 
[2026-06-02 04:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770393088001,"power":27267,"unknown_174":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6860178527710947328}} 
[2026-06-02 04:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":89460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:03:32] local.INFO: GPS data processed {"connection_id":89460,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:03:32] local.INFO: Acknowledgment sent {"connection_id":89460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:03:59] local.INFO: TCP Data received {"connection_id":90523,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:03:59] local.INFO: Processing buffer {"connection_id":90523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:03:59] local.INFO: IMEI packet received {"connection_id":90523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":90523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:04:04] local.INFO: TCP Data received {"connection_id":89460,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8551c488012d5ecfc006319b08000e000529..."} 
[2026-06-02 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8551c488012d5ecfc006319b08000e000529..."} 
[2026-06-02 04:04:04] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8551c488012d5ecfc006319b08000e000529..."} 
[2026-06-02 04:04:04] local.INFO: Packet analysis {"connection_id":89460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8551"} 
[2026-06-02 04:04:04] local.INFO: Extracted packet for processing {"connection_id":89460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8551"} 
[2026-06-02 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":761188288,"raw_latitude":103914248,"longitude_deg":76.1188288,"latitude_deg":10.3914248,"altitude":14,"angle":5,"satellites":41,"speed":49,"hex_longitude":"2d5ecfc0","hex_latitude":"06319b08","is_valid_coordinates":true} 
[2026-06-02 04:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770414336001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304522166357983232,"note":"Value kept but may cause issues"} 
[2026-06-02 04:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831116236390508544,"note":"Value kept but may cause issues"} 
[2026-06-02 04:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780353189000,"timestamp_ms":1780353189000,"timestamp_seconds":1780353189,"priority":1,"record_length":96,"hex_timestamp":"0000019e8551c488"} 
[2026-06-02 04:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 04:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770414336001,"66":27484,"43":206,"19":40192,"24":49,"16":304522166357983232,"45":6831116236390508544},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-06-02 04:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770414336001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:04:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 04:04:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304522166357983232,"km_value":304522166357983.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831116236390508544,"description":"Unknown IO ID 45"} 
[2026-06-02 04:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770414336001,"power":27484,"unknown_43":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6831116236390508544}} 
[2026-06-02 04:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":89460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:04:04] local.INFO: GPS data processed {"connection_id":89460,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:04:04] local.INFO: Acknowledgment sent {"connection_id":89460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:04:25] local.INFO: TCP Data received {"connection_id":90524,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:25] local.INFO: Processing buffer {"connection_id":90524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:25] local.INFO: IMEI packet received {"connection_id":90524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":90524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:04:27] local.INFO: TCP Data received {"connection_id":90524,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:27] local.INFO: Processing buffer {"connection_id":90524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:27] local.INFO: IMEI packet received {"connection_id":90524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":90524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:04:31] local.INFO: TCP Data received {"connection_id":90524,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:31] local.INFO: Processing buffer {"connection_id":90524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:04:31] local.INFO: IMEI packet received {"connection_id":90524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":90524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:04:34] local.INFO: TCP Data received {"connection_id":90524,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8551dfe0012d5ed3000631be88000d00042a..."} 
[2026-06-02 04:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8551dfe0012d5ed3000631be88000d00042a..."} 
[2026-06-02 04:04:34] local.INFO: Processing buffer {"connection_id":90524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8551dfe0012d5ed3000631be88000d00042a..."} 
[2026-06-02 04:04:34] local.INFO: Packet analysis {"connection_id":90524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8551"} 
[2026-06-02 04:04:34] local.INFO: Extracted packet for processing {"connection_id":90524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8551"} 
[2026-06-02 04:04:34] local.INFO: GPS Element Parsed {"raw_longitude":761189120,"raw_latitude":103923336,"longitude_deg":76.118912,"latitude_deg":10.3923336,"altitude":13,"angle":4,"satellites":42,"speed":53,"hex_longitude":"2d5ed300","hex_latitude":"0631be88","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770416384001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304522608739614720,"note":"Value kept but may cause issues"} 
[2026-06-02 04:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831890292578912256,"note":"Value kept but may cause issues"} 
[2026-06-02 04:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780353196000,"timestamp_ms":1780353196000,"timestamp_seconds":1780353196,"priority":1,"record_length":96,"hex_timestamp":"0000019e8551dfe0"} 
[2026-06-02 04:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:04: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-06-02 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 04:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770416384001,"66":27365,"112":206,"19":40192,"24":53,"16":304522608739614720,"45":6831890292578912256},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-06-02 04:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770416384001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:04:34] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-02 04:04:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304522608739614720,"km_value":304522608739614.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831890292578912256,"description":"Unknown IO ID 45"} 
[2026-06-02 04:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770416384001,"power":27365,"unknown_112":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6831890292578912256}} 
[2026-06-02 04:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":90524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:04:34] local.INFO: GPS data processed {"connection_id":90524,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:04:34] local.INFO: Acknowledgment sent {"connection_id":90524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:05:10] local.INFO: TCP Data received {"connection_id":90524,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8551fb38012d5ed5400631e388000b00002a..."} 
[2026-06-02 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8551fb38012d5ed5400631e388000b00002a..."} 
[2026-06-02 04:05:10] local.INFO: Processing buffer {"connection_id":90524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8551fb38012d5ed5400631e388000b00002a..."} 
[2026-06-02 04:05:10] local.INFO: Packet analysis {"connection_id":90524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8551"} 
[2026-06-02 04:05:10] local.INFO: Extracted packet for processing {"connection_id":90524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8551"} 
[2026-06-02 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":761189696,"raw_latitude":103932808,"longitude_deg":76.1189696,"latitude_deg":10.3932808,"altitude":11,"angle":0,"satellites":42,"speed":54,"hex_longitude":"2d5ed540","hex_latitude":"0631e388","is_valid_coordinates":true} 
[2026-06-02 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770418176001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304523068301115392,"note":"Value kept but may cause issues"} 
[2026-06-02 04:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832805086255548416,"note":"Value kept but may cause issues"} 
[2026-06-02 04:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780353203000,"timestamp_ms":1780353203000,"timestamp_seconds":1780353203,"priority":1,"record_length":96,"hex_timestamp":"0000019e8551fb38"} 
[2026-06-02 04:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770418176001,"66":27343,"112":206,"19":40192,"24":54,"16":304523068301115392,"45":6832805086255548416},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-06-02 04:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770418176001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:05:10] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-02 04:05:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304523068301115392,"km_value":304523068301115.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832805086255548416,"description":"Unknown IO ID 45"} 
[2026-06-02 04:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770418176001,"power":27343,"unknown_112":206,"unknown_19":40192,"ignition":54,"odometer":null,"unknown_45":6832805086255548416}} 
[2026-06-02 04:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":90524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:05:10] local.INFO: GPS data processed {"connection_id":90524,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:05:10] local.INFO: Acknowledgment sent {"connection_id":90524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:05:25] local.INFO: TCP Data received {"connection_id":89321,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:25] local.INFO: Processing buffer {"connection_id":89321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:25] local.INFO: IMEI packet received {"connection_id":89321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":89321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:05:26] local.INFO: TCP Data received {"connection_id":89321,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:26] local.INFO: Processing buffer {"connection_id":89321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:26] local.INFO: IMEI packet received {"connection_id":89321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":89321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:05:30] local.INFO: TCP Data received {"connection_id":89321,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:30] local.INFO: Processing buffer {"connection_id":89321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:05:30] local.INFO: IMEI packet received {"connection_id":89321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":89321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:05:32] local.INFO: TCP Data received {"connection_id":89321,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85531090012d5e460006332d30000c014d29..."} 
[2026-06-02 04:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85531090012d5e460006332d30000c014d29..."} 
[2026-06-02 04:05:32] local.INFO: Processing buffer {"connection_id":89321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85531090012d5e460006332d30000c014d29..."} 
[2026-06-02 04:05:32] local.INFO: Packet analysis {"connection_id":89321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8553"} 
[2026-06-02 04:05:32] local.INFO: Extracted packet for processing {"connection_id":89321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8553"} 
[2026-06-02 04:05:32] local.INFO: GPS Element Parsed {"raw_longitude":761153024,"raw_latitude":104017200,"longitude_deg":76.1153024,"latitude_deg":10.40172,"altitude":12,"angle":333,"satellites":41,"speed":51,"hex_longitude":"2d5e4600","hex_latitude":"06332d30","is_valid_coordinates":true} 
[2026-06-02 04:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770436352001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304527552246972416,"note":"Value kept but may cause issues"} 
[2026-06-02 04:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6797409607956162560,"note":"Value kept but may cause issues"} 
[2026-06-02 04:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780353274000,"timestamp_ms":1780353274000,"timestamp_seconds":1780353274,"priority":1,"record_length":96,"hex_timestamp":"0000019e85531090"} 
[2026-06-02 04:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770436352001,"66":27126,"2":206,"19":40192,"24":51,"16":304527552246972416,"45":6797409607956162560},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-02 04:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770436352001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:05:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304527552246972416,"km_value":304527552246972.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6797409607956162560,"description":"Unknown IO ID 45"} 
[2026-06-02 04:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770436352001,"power":27126,"power_alt":206,"unknown_19":40192,"ignition":51,"odometer":null,"unknown_45":6797409607956162560}} 
[2026-06-02 04:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":89321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:05:32] local.INFO: GPS data processed {"connection_id":89321,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:05:32] local.INFO: Acknowledgment sent {"connection_id":89321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:06:03] local.INFO: TCP Data received {"connection_id":89321,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85532be8012d5e360006334dd0000b014e29..."} 
[2026-06-02 04:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85532be8012d5e360006334dd0000b014e29..."} 
[2026-06-02 04:06:03] local.INFO: Processing buffer {"connection_id":89321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85532be8012d5e360006334dd0000b014e29..."} 
[2026-06-02 04:06:03] local.INFO: Packet analysis {"connection_id":89321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8553"} 
[2026-06-02 04:06:03] local.INFO: Extracted packet for processing {"connection_id":89321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8553"} 
[2026-06-02 04:06:03] local.INFO: GPS Element Parsed {"raw_longitude":761148928,"raw_latitude":104025552,"longitude_deg":76.1148928,"latitude_deg":10.4025552,"altitude":11,"angle":334,"satellites":41,"speed":54,"hex_longitude":"2d5e3600","hex_latitude":"06334dd0","is_valid_coordinates":true} 
[2026-06-02 04:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770438144001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304528003218538496,"note":"Value kept but may cause issues"} 
[2026-06-02 04:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6793117114563375104,"note":"Value kept but may cause issues"} 
[2026-06-02 04:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780353281000,"timestamp_ms":1780353281000,"timestamp_seconds":1780353281,"priority":1,"record_length":96,"hex_timestamp":"0000019e85532be8"} 
[2026-06-02 04:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:06: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-06-02 04:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-02 04:06:03] 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-06-02 04:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770438144001,"66":27376,"2":206,"19":40192,"24":54,"16":304528003218538496,"45":6793117114563375104},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-02 04:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770438144001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:06:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304528003218538496,"km_value":304528003218538.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6793117114563375104,"description":"Unknown IO ID 45"} 
[2026-06-02 04:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770438144001,"power":27376,"power_alt":206,"unknown_19":40192,"ignition":54,"odometer":null,"unknown_45":6793117114563375104}} 
[2026-06-02 04:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":89321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:06:03] local.INFO: GPS data processed {"connection_id":89321,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:06:03] local.INFO: Acknowledgment sent {"connection_id":89321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:06:28] local.INFO: TCP Data received {"connection_id":89063,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:28] local.INFO: Processing buffer {"connection_id":89063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:28] local.INFO: IMEI packet received {"connection_id":89063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":89063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:06:30] local.INFO: TCP Data received {"connection_id":89063,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:30] local.INFO: Processing buffer {"connection_id":89063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:30] local.INFO: IMEI packet received {"connection_id":89063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":89063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:06:36] local.INFO: TCP Data received {"connection_id":89063,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:36] local.INFO: Processing buffer {"connection_id":89063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:06:36] local.INFO: IMEI packet received {"connection_id":89063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":89063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:06:37] local.INFO: TCP Data received {"connection_id":89063,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85534740012d5e258006337130000a014f2a..."} 
[2026-06-02 04:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85534740012d5e258006337130000a014f2a..."} 
[2026-06-02 04:06:37] local.INFO: Processing buffer {"connection_id":89063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85534740012d5e258006337130000a014f2a..."} 
[2026-06-02 04:06:37] local.INFO: Packet analysis {"connection_id":89063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8553"} 
[2026-06-02 04:06:37] local.INFO: Extracted packet for processing {"connection_id":89063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8553"} 
[2026-06-02 04:06:37] local.INFO: GPS Element Parsed {"raw_longitude":761144704,"raw_latitude":104034608,"longitude_deg":76.1144704,"latitude_deg":10.4034608,"altitude":10,"angle":335,"satellites":42,"speed":58,"hex_longitude":"2d5e2580","hex_latitude":"06337130","is_valid_coordinates":true} 
[2026-06-02 04:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770439936001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304528484254875648,"note":"Value kept but may cause issues"} 
[2026-06-02 04:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6788613514938142720,"note":"Value kept but may cause issues"} 
[2026-06-02 04:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780353288000,"timestamp_ms":1780353288000,"timestamp_seconds":1780353288,"priority":1,"record_length":96,"hex_timestamp":"0000019e85534740"} 
[2026-06-02 04:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 04:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770439936001,"66":27300,"2":206,"19":40192,"24":58,"16":304528484254875648,"45":6788613514938142720},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-02 04:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770439936001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:06:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304528484254875648,"km_value":304528484254875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6788613514938142720,"description":"Unknown IO ID 45"} 
[2026-06-02 04:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770439936001,"power":27300,"power_alt":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6788613514938142720}} 
[2026-06-02 04:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":89063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:06:37] local.INFO: GPS data processed {"connection_id":89063,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:06:37] local.INFO: Acknowledgment sent {"connection_id":89063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:07:09] local.INFO: TCP Data received {"connection_id":89063,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85548b78012d5d5b4006350978000e014d2b..."} 
[2026-06-02 04:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85548b78012d5d5b4006350978000e014d2b..."} 
[2026-06-02 04:07:09] local.INFO: Processing buffer {"connection_id":89063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85548b78012d5d5b4006350978000e014d2b..."} 
[2026-06-02 04:07:09] local.INFO: Packet analysis {"connection_id":89063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8554"} 
[2026-06-02 04:07:09] local.INFO: Extracted packet for processing {"connection_id":89063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8554"} 
[2026-06-02 04:07:09] local.INFO: GPS Element Parsed {"raw_longitude":761092928,"raw_latitude":104139128,"longitude_deg":76.1092928,"latitude_deg":10.4139128,"altitude":14,"angle":333,"satellites":43,"speed":54,"hex_longitude":"2d5d5b40","hex_latitude":"06350978","is_valid_coordinates":true} 
[2026-06-02 04:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770461184001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304534136431837184,"note":"Value kept but may cause issues"} 
[2026-06-02 04:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6731614832181149696,"note":"Value kept but may cause issues"} 
[2026-06-02 04:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780353371000,"timestamp_ms":1780353371000,"timestamp_seconds":1780353371,"priority":1,"record_length":96,"hex_timestamp":"0000019e85548b78"} 
[2026-06-02 04:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:07: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-06-02 04:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 04:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770461184001,"66":27234,"2":206,"19":40192,"24":54,"16":304534136431837184,"45":6731614832181149696},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-02 04:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770461184001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:07:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304534136431837184,"km_value":304534136431837.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6731614832181149696,"description":"Unknown IO ID 45"} 
[2026-06-02 04:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770461184001,"power":27234,"power_alt":206,"unknown_19":40192,"ignition":54,"odometer":null,"unknown_45":6731614832181149696}} 
[2026-06-02 04:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":89063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:07:09] local.INFO: GPS data processed {"connection_id":89063,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:07:09] local.INFO: Acknowledgment sent {"connection_id":89063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:07:24] local.INFO: TCP Data received {"connection_id":89322,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:24] local.INFO: Processing buffer {"connection_id":89322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:24] local.INFO: IMEI packet received {"connection_id":89322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":89322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:07:25] local.INFO: TCP Data received {"connection_id":89322,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:25] local.INFO: Processing buffer {"connection_id":89322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:25] local.INFO: IMEI packet received {"connection_id":89322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":89322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:07:30] local.INFO: TCP Data received {"connection_id":89322,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:30] local.INFO: Processing buffer {"connection_id":89322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:07:30] local.INFO: IMEI packet received {"connection_id":89322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":89322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:07:32] local.INFO: TCP Data received {"connection_id":89322,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8554a6d0012d5d4a4006352ba0000e014c2b..."} 
[2026-06-02 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8554a6d0012d5d4a4006352ba0000e014c2b..."} 
[2026-06-02 04:07:32] local.INFO: Processing buffer {"connection_id":89322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8554a6d0012d5d4a4006352ba0000e014c2b..."} 
[2026-06-02 04:07:32] local.INFO: Packet analysis {"connection_id":89322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8554"} 
[2026-06-02 04:07:32] local.INFO: Extracted packet for processing {"connection_id":89322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8554"} 
[2026-06-02 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":761088576,"raw_latitude":104147872,"longitude_deg":76.1088576,"latitude_deg":10.4147872,"altitude":14,"angle":332,"satellites":43,"speed":56,"hex_longitude":"2d5d4a40","hex_latitude":"06352ba0","is_valid_coordinates":true} 
[2026-06-02 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770462976001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304534608878239744,"note":"Value kept but may cause issues"} 
[2026-06-02 04:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6727040863811762176,"note":"Value kept but may cause issues"} 
[2026-06-02 04:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780353378000,"timestamp_ms":1780353378000,"timestamp_seconds":1780353378,"priority":1,"record_length":96,"hex_timestamp":"0000019e8554a6d0"} 
[2026-06-02 04:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 04:07:32] 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-06-02 04:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770462976001,"66":27267,"2":206,"19":40192,"24":56,"16":304534608878239744,"45":6727040863811762176},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-02 04:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770462976001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:07:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304534608878239744,"km_value":304534608878239.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6727040863811762176,"description":"Unknown IO ID 45"} 
[2026-06-02 04:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770462976001,"power":27267,"power_alt":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6727040863811762176}} 
[2026-06-02 04:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":89322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:07:32] local.INFO: GPS data processed {"connection_id":89322,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:07:32] local.INFO: Acknowledgment sent {"connection_id":89322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:08:16] local.INFO: TCP Data received {"connection_id":89322,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8554c228012d5d368006354ce8000c01442b..."} 
[2026-06-02 04:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8554c228012d5d368006354ce8000c01442b..."} 
[2026-06-02 04:08:16] local.INFO: Processing buffer {"connection_id":89322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8554c228012d5d368006354ce8000c01442b..."} 
[2026-06-02 04:08:16] local.INFO: Packet analysis {"connection_id":89322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8554"} 
[2026-06-02 04:08:16] local.INFO: Extracted packet for processing {"connection_id":89322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8554"} 
[2026-06-02 04:08:16] local.INFO: GPS Element Parsed {"raw_longitude":761083520,"raw_latitude":104156392,"longitude_deg":76.108352,"latitude_deg":10.4156392,"altitude":12,"angle":324,"satellites":43,"speed":56,"hex_longitude":"2d5d3680","hex_latitude":"06354ce8","is_valid_coordinates":true} 
[2026-06-02 04:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770464768001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304535085619609600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6722255789209919488,"note":"Value kept but may cause issues"} 
[2026-06-02 04:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780353385000,"timestamp_ms":1780353385000,"timestamp_seconds":1780353385,"priority":1,"record_length":96,"hex_timestamp":"0000019e8554c228"} 
[2026-06-02 04:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 04:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770464768001,"66":27234,"2":206,"19":40192,"24":56,"16":304535085619609600,"45":6722255789209919488},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-02 04:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770464768001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:08:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-02 04:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304535085619609600,"km_value":304535085619609.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6722255789209919488,"description":"Unknown IO ID 45"} 
[2026-06-02 04:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770464768001,"power":27234,"power_alt":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6722255789209919488}} 
[2026-06-02 04:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":89322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:08:16] local.INFO: GPS data processed {"connection_id":89322,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:08:16] local.INFO: Acknowledgment sent {"connection_id":89322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:08:25] local.INFO: TCP Data received {"connection_id":90527,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:08:25] local.INFO: Processing buffer {"connection_id":90527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:08:25] local.INFO: IMEI packet received {"connection_id":90527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":90527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:08:30] local.INFO: TCP Data received {"connection_id":90527,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:08:30] local.INFO: Processing buffer {"connection_id":90527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:08:30] local.INFO: IMEI packet received {"connection_id":90527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":90527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:08:31] local.INFO: TCP Data received {"connection_id":90527,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8555d398012d5c9a4006363588000a014d2b..."} 
[2026-06-02 04:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8555d398012d5c9a4006363588000a014d2b..."} 
[2026-06-02 04:08:31] local.INFO: Processing buffer {"connection_id":90527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8555d398012d5c9a4006363588000a014d2b..."} 
[2026-06-02 04:08:31] local.INFO: Packet analysis {"connection_id":90527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8555"} 
[2026-06-02 04:08:31] local.INFO: Extracted packet for processing {"connection_id":90527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8555"} 
[2026-06-02 04:08:31] local.INFO: GPS Element Parsed {"raw_longitude":761043520,"raw_latitude":104215944,"longitude_deg":76.104352,"latitude_deg":10.4215944,"altitude":10,"angle":333,"satellites":43,"speed":42,"hex_longitude":"2d5c9a40","hex_latitude":"06363588","is_valid_coordinates":true} 
[2026-06-02 04:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770482176001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304538573133053952,"note":"Value kept but may cause issues"} 
[2026-06-02 04:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6677501267928297472,"note":"Value kept but may cause issues"} 
[2026-06-02 04:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780353455000,"timestamp_ms":1780353455000,"timestamp_seconds":1780353455,"priority":1,"record_length":96,"hex_timestamp":"0000019e8555d398"} 
[2026-06-02 04:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:08: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-06-02 04:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 04:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770482176001,"66":27213,"115":206,"19":38400,"24":42,"16":304538573133053952,"45":6677501267928297472},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770482176001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:08:31] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:08:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304538573133053952,"km_value":304538573133053.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6677501267928297472,"description":"Unknown IO ID 45"} 
[2026-06-02 04:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770482176001,"power":27213,"unknown_115":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":6677501267928297472}} 
[2026-06-02 04:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":90527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:08:31] local.INFO: GPS data processed {"connection_id":90527,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:08:31] local.INFO: Acknowledgment sent {"connection_id":90527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:09:02] local.INFO: TCP Data received {"connection_id":90527,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8555f2d8012d5c8a80063654f00009014c2b..."} 
[2026-06-02 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8555f2d8012d5c8a80063654f00009014c2b..."} 
[2026-06-02 04:09:02] local.INFO: Processing buffer {"connection_id":90527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8555f2d8012d5c8a80063654f00009014c2b..."} 
[2026-06-02 04:09:02] local.INFO: Packet analysis {"connection_id":90527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8555"} 
[2026-06-02 04:09:02] local.INFO: Extracted packet for processing {"connection_id":90527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8555"} 
[2026-06-02 04:09:02] local.INFO: GPS Element Parsed {"raw_longitude":761039488,"raw_latitude":104223984,"longitude_deg":76.1039488,"latitude_deg":10.4223984,"altitude":9,"angle":332,"satellites":43,"speed":46,"hex_longitude":"2d5c8a80","hex_latitude":"063654f0","is_valid_coordinates":true} 
[2026-06-02 04:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770484480001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304539006924750848,"note":"Value kept but may cause issues"} 
[2026-06-02 04:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6672716193326270464,"note":"Value kept but may cause issues"} 
[2026-06-02 04:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780353463000,"timestamp_ms":1780353463000,"timestamp_seconds":1780353463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8555f2d8"} 
[2026-06-02 04:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:09: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-06-02 04:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 04:09:02] 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-06-02 04:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770484480001,"66":27300,"115":206,"19":38400,"24":46,"16":304539006924750848,"45":6672716193326270464},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770484480001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:09:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:09:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304539006924750848,"km_value":304539006924750.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6672716193326270464,"description":"Unknown IO ID 45"} 
[2026-06-02 04:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770484480001,"power":27300,"unknown_115":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":6672716193326270464}} 
[2026-06-02 04:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":90527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:09:02] local.INFO: GPS data processed {"connection_id":90527,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:09:02] local.INFO: Acknowledgment sent {"connection_id":90527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:09:24] local.INFO: TCP Data received {"connection_id":89462,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:09:24] local.INFO: Processing buffer {"connection_id":89462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:09:24] local.INFO: IMEI packet received {"connection_id":89462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":89462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:09:25] local.INFO: TCP Data received {"connection_id":89323,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:25] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:25] local.INFO: IMEI packet received {"connection_id":89323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":89323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:09:25] local.INFO: TCP Data received {"connection_id":89323,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:25] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:25] local.INFO: IMEI packet received {"connection_id":89323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":89323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:09:30] local.INFO: TCP Data received {"connection_id":89323,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:30] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:09:30] local.INFO: IMEI packet received {"connection_id":89323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":89323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:09:32] local.INFO: TCP Data received {"connection_id":89323,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85561218012d5c7980063677580009014d2b..."} 
[2026-06-02 04:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85561218012d5c7980063677580009014d2b..."} 
[2026-06-02 04:09:32] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85561218012d5c7980063677580009014d2b..."} 
[2026-06-02 04:09:32] local.INFO: Packet analysis {"connection_id":89323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8556"} 
[2026-06-02 04:09:32] local.INFO: Extracted packet for processing {"connection_id":89323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8556"} 
[2026-06-02 04:09:32] local.INFO: GPS Element Parsed {"raw_longitude":761035136,"raw_latitude":104232792,"longitude_deg":76.1035136,"latitude_deg":10.4232792,"altitude":9,"angle":333,"satellites":43,"speed":49,"hex_longitude":"2d5c7980","hex_latitude":"06367758","is_valid_coordinates":true} 
[2026-06-02 04:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770486528001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304539479371153408,"note":"Value kept but may cause issues"} 
[2026-06-02 04:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6668282962445135872,"note":"Value kept but may cause issues"} 
[2026-06-02 04:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780353471000,"timestamp_ms":1780353471000,"timestamp_seconds":1780353471,"priority":1,"record_length":96,"hex_timestamp":"0000019e85561218"} 
[2026-06-02 04:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:09: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-06-02 04:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:09:32] 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-06-02 04:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770486528001,"66":27397,"115":206,"19":38400,"24":49,"16":304539479371153408,"45":6668282962445135872},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770486528001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:09:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:09:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304539479371153408,"km_value":304539479371153.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6668282962445135872,"description":"Unknown IO ID 45"} 
[2026-06-02 04:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770486528001,"power":27397,"unknown_115":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6668282962445135872}} 
[2026-06-02 04:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":89323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:09:32] local.INFO: GPS data processed {"connection_id":89323,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:09:32] local.INFO: Acknowledgment sent {"connection_id":89323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:10:03] local.INFO: TCP Data received {"connection_id":89323,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85563158012d5c680006369b08000a014e2b..."} 
[2026-06-02 04:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85563158012d5c680006369b08000a014e2b..."} 
[2026-06-02 04:10:03] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85563158012d5c680006369b08000a014e2b..."} 
[2026-06-02 04:10:03] local.INFO: Packet analysis {"connection_id":89323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8556"} 
[2026-06-02 04:10:03] local.INFO: Extracted packet for processing {"connection_id":89323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8556"} 
[2026-06-02 04:10:03] local.INFO: GPS Element Parsed {"raw_longitude":761030656,"raw_latitude":104241928,"longitude_deg":76.1030656,"latitude_deg":10.4241928,"altitude":10,"angle":334,"satellites":43,"speed":51,"hex_longitude":"2d5c6800","hex_latitude":"06369b08","is_valid_coordinates":true} 
[2026-06-02 04:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770488576001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304539973292392448,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6663497887843309568,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780353479000,"timestamp_ms":1780353479000,"timestamp_seconds":1780353479,"priority":1,"record_length":96,"hex_timestamp":"0000019e85563158"} 
[2026-06-02 04:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 04:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770488576001,"66":27517,"115":206,"19":38400,"24":51,"16":304539973292392448,"45":6663497887843309568},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770488576001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:10:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:10:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304539973292392448,"km_value":304539973292392.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6663497887843309568,"description":"Unknown IO ID 45"} 
[2026-06-02 04:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770488576001,"power":27517,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6663497887843309568}} 
[2026-06-02 04:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":89323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:10:03] local.INFO: GPS data processed {"connection_id":89323,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:10:03] local.INFO: Acknowledgment sent {"connection_id":89323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:10:04] local.INFO: TCP Data received {"connection_id":89065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:10:04] local.INFO: Processing buffer {"connection_id":89065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:10:04] local.INFO: IMEI packet received {"connection_id":89065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":89065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:10:25] local.INFO: TCP Data received {"connection_id":90528,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:25] local.INFO: Processing buffer {"connection_id":90528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:25] local.INFO: IMEI packet received {"connection_id":90528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":90528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:10:30] local.INFO: TCP Data received {"connection_id":90528,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:30] local.INFO: Processing buffer {"connection_id":90528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:30] local.INFO: IMEI packet received {"connection_id":90528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":90528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:10:30] local.INFO: TCP Data received {"connection_id":90528,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:30] local.INFO: Processing buffer {"connection_id":90528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:10:30] local.INFO: IMEI packet received {"connection_id":90528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":90528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:10:31] local.INFO: TCP Data received {"connection_id":90528,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855794d0012d5bcec00637d2500008014f2b..."} 
[2026-06-02 04:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855794d0012d5bcec00637d2500008014f2b..."} 
[2026-06-02 04:10:31] local.INFO: Processing buffer {"connection_id":90528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855794d0012d5bcec00637d2500008014f2b..."} 
[2026-06-02 04:10:31] local.INFO: Packet analysis {"connection_id":90528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:10:31] local.INFO: Extracted packet for processing {"connection_id":90528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:10:31] local.INFO: GPS Element Parsed {"raw_longitude":760991424,"raw_latitude":104321616,"longitude_deg":76.0991424,"latitude_deg":10.4321616,"altitude":8,"angle":335,"satellites":43,"speed":49,"hex_longitude":"2d5bcec0","hex_latitude":"0637d250","is_valid_coordinates":true} 
[2026-06-02 04:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770511872001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304544281144590336,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6619658160241154048,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780353570000,"timestamp_ms":1780353570000,"timestamp_seconds":1780353570,"priority":1,"record_length":96,"hex_timestamp":"0000019e855794d0"} 
[2026-06-02 04:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:10: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-06-02 04:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 04:10:31] 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-06-02 04:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770511872001,"66":27365,"115":206,"19":38400,"24":49,"16":304544281144590336,"45":6619658160241154048},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770511872001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:10:31] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:10:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304544281144590336,"km_value":304544281144590.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6619658160241154048,"description":"Unknown IO ID 45"} 
[2026-06-02 04:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770511872001,"power":27365,"unknown_115":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6619658160241154048}} 
[2026-06-02 04:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":90528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:10:31] local.INFO: GPS data processed {"connection_id":90528,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:10:31] local.INFO: Acknowledgment sent {"connection_id":90528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:10:36] local.INFO: TCP Data received {"connection_id":90528,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8557b028012d5bc0400637f2b80008014f2c..."} 
[2026-06-02 04:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8557b028012d5bc0400637f2b80008014f2c..."} 
[2026-06-02 04:10:36] local.INFO: Processing buffer {"connection_id":90528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8557b028012d5bc0400637f2b80008014f2c..."} 
[2026-06-02 04:10:36] local.INFO: Packet analysis {"connection_id":90528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:10:36] local.INFO: Extracted packet for processing {"connection_id":90528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:10:36] local.INFO: GPS Element Parsed {"raw_longitude":760987712,"raw_latitude":104329912,"longitude_deg":76.0987712,"latitude_deg":10.4329912,"altitude":8,"angle":335,"satellites":44,"speed":53,"hex_longitude":"2d5bc040","hex_latitude":"0637f2b8","is_valid_coordinates":true} 
[2026-06-02 04:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770513920001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304544723526221824,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6615436035592704000,"note":"Value kept but may cause issues"} 
[2026-06-02 04:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780353577000,"timestamp_ms":1780353577000,"timestamp_seconds":1780353577,"priority":1,"record_length":96,"hex_timestamp":"0000019e8557b028"} 
[2026-06-02 04:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770513920001,"66":27397,"115":206,"19":38400,"24":53,"16":304544723526221824,"45":6615436035592704000},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770513920001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:10:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:10:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304544723526221824,"km_value":304544723526221.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6615436035592704000,"description":"Unknown IO ID 45"} 
[2026-06-02 04:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770513920001,"power":27397,"unknown_115":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":6615436035592704000}} 
[2026-06-02 04:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":90528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:10:36] local.INFO: GPS data processed {"connection_id":90528,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:10:36] local.INFO: Acknowledgment sent {"connection_id":90528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:11:07] local.INFO: TCP Data received {"connection_id":90528,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8557cb80012d5bb080063815080008014f2b..."} 
[2026-06-02 04:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8557cb80012d5bb080063815080008014f2b..."} 
[2026-06-02 04:11:07] local.INFO: Processing buffer {"connection_id":90528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8557cb80012d5bb080063815080008014f2b..."} 
[2026-06-02 04:11:07] local.INFO: Packet analysis {"connection_id":90528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:11:07] local.INFO: Extracted packet for processing {"connection_id":90528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:11:07] local.INFO: GPS Element Parsed {"raw_longitude":760983680,"raw_latitude":104338696,"longitude_deg":76.098368,"latitude_deg":10.4338696,"altitude":8,"angle":335,"satellites":43,"speed":55,"hex_longitude":"2d5bb080","hex_latitude":"06381508","is_valid_coordinates":true} 
[2026-06-02 04:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770515712001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304545191677657088,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6611354648432523264,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780353584000,"timestamp_ms":1780353584000,"timestamp_seconds":1780353584,"priority":1,"record_length":96,"hex_timestamp":"0000019e8557cb80"} 
[2026-06-02 04:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 04:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770515712001,"66":27300,"115":206,"19":38400,"24":55,"16":304545191677657088,"45":6611354648432523264},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770515712001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:11:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:11:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304545191677657088,"km_value":304545191677657.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6611354648432523264,"description":"Unknown IO ID 45"} 
[2026-06-02 04:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770515712001,"power":27300,"unknown_115":206,"unknown_19":38400,"ignition":55,"odometer":null,"unknown_45":6611354648432523264}} 
[2026-06-02 04:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":90528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:11:07] local.INFO: GPS data processed {"connection_id":90528,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:11:07] local.INFO: Acknowledgment sent {"connection_id":90528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:11:30] local.INFO: TCP Data received {"connection_id":89324,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:11:30] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:11:30] local.INFO: IMEI packet received {"connection_id":89324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":89324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:11:32] local.INFO: TCP Data received {"connection_id":89324,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:11:32] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:11:32] local.INFO: IMEI packet received {"connection_id":89324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":89324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:11:33] local.INFO: TCP Data received {"connection_id":89324,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8557e6d8012d5ba1c0063837380009015129..."} 
[2026-06-02 04:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8557e6d8012d5ba1c0063837380009015129..."} 
[2026-06-02 04:11:33] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8557e6d8012d5ba1c0063837380009015129..."} 
[2026-06-02 04:11:33] local.INFO: Packet analysis {"connection_id":89324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:11:33] local.INFO: Extracted packet for processing {"connection_id":89324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8557"} 
[2026-06-02 04:11:33] local.INFO: GPS Element Parsed {"raw_longitude":760979904,"raw_latitude":104347448,"longitude_deg":76.0979904,"latitude_deg":10.4347448,"altitude":9,"angle":337,"satellites":41,"speed":51,"hex_longitude":"2d5ba1c0","hex_latitude":"06383738","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770517504001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304545651239157760,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6606921417551579136,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780353591000,"timestamp_ms":1780353591000,"timestamp_seconds":1780353591,"priority":1,"record_length":96,"hex_timestamp":"0000019e8557e6d8"} 
[2026-06-02 04:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:11: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-06-02 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:11:33] 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-06-02 04: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-06-02 04:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770517504001,"66":27321,"115":206,"19":38400,"24":51,"16":304545651239157760,"45":6606921417551579136},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770517504001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:11:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304545651239157760,"km_value":304545651239157.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6606921417551579136,"description":"Unknown IO ID 45"} 
[2026-06-02 04:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770517504001,"power":27321,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6606921417551579136}} 
[2026-06-02 04:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":89324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:11:33] local.INFO: GPS data processed {"connection_id":89324,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:11:33] local.INFO: Acknowledgment sent {"connection_id":89324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:11:35] local.INFO: TCP Data received {"connection_id":89324,"ip":"117.224.195.65","data_length":171,"data_hex":"000000000000009f8e020000019e85580618012d5b910006385a88000901492a..."} 
[2026-06-02 04:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":171,"packet_hex":"000000000000009f8e020000019e85580618012d5b910006385a88000901492a..."} 
[2026-06-02 04:11:35] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019e85580618012d5b910006385a88000901492a..."} 
[2026-06-02 04:11:35] local.INFO: Packet analysis {"connection_id":89324,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019e8558"} 
[2026-06-02 04:11:35] local.INFO: Extracted packet for processing {"connection_id":89324,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019e8558"} 
[2026-06-02 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":760975616,"raw_latitude":104356488,"longitude_deg":76.0975616,"latitude_deg":10.4356488,"altitude":9,"angle":329,"satellites":42,"speed":45,"hex_longitude":"2d5b9100","hex_latitude":"06385a88","is_valid_coordinates":true} 
[2026-06-02 04:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-06-02 04:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770519296001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304546132275494912,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6602769661647337472,"note":"Value kept but may cause issues"} 
[2026-06-02 04:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780353599000,"timestamp_ms":1780353599000,"timestamp_seconds":1780353599,"priority":1,"record_length":96,"hex_timestamp":"0000019e85580618"} 
[2026-06-02 04:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":171,"current_offset":136} 
[2026-06-02 04:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:11:35] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89324,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-02 04:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770519296001,"66":27300,"115":206,"19":38400,"24":45,"16":304546132275494912,"45":6602769661647337472},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770519296001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:11:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:11:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304546132275494912,"km_value":304546132275494.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6602769661647337472,"description":"Unknown IO ID 45"} 
[2026-06-02 04:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770519296001,"power":27300,"unknown_115":206,"unknown_19":38400,"ignition":45,"odometer":null,"unknown_45":6602769661647337472}} 
[2026-06-02 04:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":89324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:11:35] local.INFO: GPS data processed {"connection_id":89324,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:11:35] local.INFO: Acknowledgment sent {"connection_id":89324,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:12:06] local.INFO: TCP Data received {"connection_id":89324,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855815b8012d5b89c006386a88000801542c..."} 
[2026-06-02 04:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855815b8012d5b89c006386a88000801542c..."} 
[2026-06-02 04:12:06] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855815b8012d5b89c006386a88000801542c..."} 
[2026-06-02 04:12:06] local.INFO: Packet analysis {"connection_id":89324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8558"} 
[2026-06-02 04:12:06] local.INFO: Extracted packet for processing {"connection_id":89324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8558"} 
[2026-06-02 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":760973760,"raw_latitude":104360584,"longitude_deg":76.097376,"latitude_deg":10.4360584,"altitude":8,"angle":340,"satellites":44,"speed":45,"hex_longitude":"2d5b89c0","hex_latitude":"06386a88","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770521344001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304546351318827008,"note":"Value kept but may cause issues"} 
[2026-06-02 04:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6598054955789748224,"note":"Value kept but may cause issues"} 
[2026-06-02 04:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780353603000,"timestamp_ms":1780353603000,"timestamp_seconds":1780353603,"priority":1,"record_length":96,"hex_timestamp":"0000019e855815b8"} 
[2026-06-02 04:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770521344001,"66":27267,"115":206,"19":38400,"24":45,"16":304546351318827008,"45":6598054955789748224},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770521344001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:12:06] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:12:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304546351318827008,"km_value":304546351318827.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6598054955789748224,"description":"Unknown IO ID 45"} 
[2026-06-02 04:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770521344001,"power":27267,"unknown_115":206,"unknown_19":38400,"ignition":45,"odometer":null,"unknown_45":6598054955789748224}} 
[2026-06-02 04:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":89324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:12:06] local.INFO: GPS data processed {"connection_id":89324,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:12:06] local.INFO: Acknowledgment sent {"connection_id":89324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:12:25] local.INFO: TCP Data received {"connection_id":89464,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:12:25] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:12:25] local.INFO: IMEI packet received {"connection_id":89464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:12:28] local.INFO: TCP Data received {"connection_id":89464,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:12:28] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:12:28] local.INFO: IMEI packet received {"connection_id":89464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":89464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:12:29] local.INFO: TCP Data received {"connection_id":89464,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855834f8012d5b7a0006388d900008014a29..."} 
[2026-06-02 04:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855834f8012d5b7a0006388d900008014a29..."} 
[2026-06-02 04:12:29] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855834f8012d5b7a0006388d900008014a29..."} 
[2026-06-02 04:12:29] local.INFO: Packet analysis {"connection_id":89464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8558"} 
[2026-06-02 04:12:29] local.INFO: Extracted packet for processing {"connection_id":89464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8558"} 
[2026-06-02 04:12:29] local.INFO: GPS Element Parsed {"raw_longitude":760969728,"raw_latitude":104369552,"longitude_deg":76.0969728,"latitude_deg":10.4369552,"altitude":8,"angle":330,"satellites":41,"speed":51,"hex_longitude":"2d5b7a00","hex_latitude":"06388d90","is_valid_coordinates":true} 
[2026-06-02 04:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770522368001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304546828060196864,"note":"Value kept but may cause issues"} 
[2026-06-02 04:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6596014262209644544,"note":"Value kept but may cause issues"} 
[2026-06-02 04:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780353611000,"timestamp_ms":1780353611000,"timestamp_seconds":1780353611,"priority":1,"record_length":96,"hex_timestamp":"0000019e855834f8"} 
[2026-06-02 04:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:12: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-06-02 04:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 04:12: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-06-02 04:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770522368001,"66":27234,"115":206,"19":38400,"24":51,"16":304546828060196864,"45":6596014262209644544},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-02 04:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770522368001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:12:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 04:12:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304546828060196864,"km_value":304546828060196.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6596014262209644544,"description":"Unknown IO ID 45"} 
[2026-06-02 04:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770522368001,"power":27234,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6596014262209644544}} 
[2026-06-02 04:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":89464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:12:29] local.INFO: GPS data processed {"connection_id":89464,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:12:29] local.INFO: Acknowledgment sent {"connection_id":89464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:13:00] local.INFO: TCP Data received {"connection_id":89464,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8559dad8012d5a9fc0063a10180009015428..."} 
[2026-06-02 04:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8559dad8012d5a9fc0063a10180009015428..."} 
[2026-06-02 04:13:00] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8559dad8012d5a9fc0063a10180009015428..."} 
[2026-06-02 04:13:00] local.INFO: Packet analysis {"connection_id":89464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8559"} 
[2026-06-02 04:13:00] local.INFO: Extracted packet for processing {"connection_id":89464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8559"} 
[2026-06-02 04:13:00] local.INFO: GPS Element Parsed {"raw_longitude":760913856,"raw_latitude":104468504,"longitude_deg":76.0913856,"latitude_deg":10.4468504,"altitude":9,"angle":340,"satellites":40,"speed":44,"hex_longitude":"2d5a9fc0","hex_latitude":"063a1018","is_valid_coordinates":true} 
[2026-06-02 04:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770549760001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304552347093172224,"note":"Value kept but may cause issues"} 
[2026-06-02 04:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6534230504846921728,"note":"Value kept but may cause issues"} 
[2026-06-02 04:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780353719000,"timestamp_ms":1780353719000,"timestamp_seconds":1780353719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8559dad8"} 
[2026-06-02 04:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:13: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-06-02 04:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:13:00] 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-06-02 04:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770549760001,"66":27245,"117":206,"19":38400,"24":44,"16":304552347093172224,"45":6534230504846921728},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-02 04:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770549760001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:13:00] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-02 04:13:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304552347093172224,"km_value":304552347093172.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6534230504846921728,"description":"Unknown IO ID 45"} 
[2026-06-02 04:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770549760001,"power":27245,"unknown_117":206,"unknown_19":38400,"ignition":44,"odometer":null,"unknown_45":6534230504846921728}} 
[2026-06-02 04:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":89464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:13:00] local.INFO: GPS data processed {"connection_id":89464,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:13:00] local.INFO: Acknowledgment sent {"connection_id":89464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:13:24] local.INFO: TCP Data received {"connection_id":89325,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:24] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:24] local.INFO: IMEI packet received {"connection_id":89325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":89325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:13:25] local.INFO: TCP Data received {"connection_id":89325,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:25] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:25] local.INFO: IMEI packet received {"connection_id":89325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":89325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:13:30] local.INFO: TCP Data received {"connection_id":89325,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:30] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:13:30] local.INFO: IMEI packet received {"connection_id":89325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":89325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:13:31] local.INFO: TCP Data received {"connection_id":89325,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855a01e8012d5a9540063a32b0000a014a27..."} 
[2026-06-02 04:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855a01e8012d5a9540063a32b0000a014a27..."} 
[2026-06-02 04:13:31] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855a01e8012d5a9540063a32b0000a014a27..."} 
[2026-06-02 04:13:31] local.INFO: Packet analysis {"connection_id":89325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:13:31] local.INFO: Extracted packet for processing {"connection_id":89325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:13:31] local.INFO: GPS Element Parsed {"raw_longitude":760911168,"raw_latitude":104477360,"longitude_deg":76.0911168,"latitude_deg":10.447736,"altitude":10,"angle":330,"satellites":39,"speed":29,"hex_longitude":"2d5a9540","hex_latitude":"063a32b0","is_valid_coordinates":true} 
[2026-06-02 04:13: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-06-02 04:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770552064001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304552793769771008,"note":"Value kept but may cause issues"} 
[2026-06-02 04:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6530149117686978560,"note":"Value kept but may cause issues"} 
[2026-06-02 04:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780353729000,"timestamp_ms":1780353729000,"timestamp_seconds":1780353729,"priority":1,"record_length":96,"hex_timestamp":"0000019e855a01e8"} 
[2026-06-02 04:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:13: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-06-02 04:13: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":109,"data_length":795,"current_offset":136} 
[2026-06-02 04:13:31] 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-06-02 04:13: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-06-02 04:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770552064001,"66":27343,"117":206,"19":38400,"24":29,"16":304552793769771008,"45":6530149117686978560},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-02 04:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770552064001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:13:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-02 04:13:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304552793769771008,"km_value":304552793769771.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6530149117686978560,"description":"Unknown IO ID 45"} 
[2026-06-02 04:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770552064001,"power":27343,"unknown_117":206,"unknown_19":38400,"ignition":29,"odometer":null,"unknown_45":6530149117686978560}} 
[2026-06-02 04:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":89325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:13:31] local.INFO: GPS data processed {"connection_id":89325,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:13:31] local.INFO: Acknowledgment sent {"connection_id":89325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:14:02] local.INFO: TCP Data received {"connection_id":89325,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855a2ce0012d5a83c0063a5130000901492b..."} 
[2026-06-02 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855a2ce0012d5a83c0063a5130000901492b..."} 
[2026-06-02 04:14:02] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855a2ce0012d5a83c0063a5130000901492b..."} 
[2026-06-02 04:14:02] local.INFO: Packet analysis {"connection_id":89325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:14:02] local.INFO: Extracted packet for processing {"connection_id":89325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:14:02] local.INFO: GPS Element Parsed {"raw_longitude":760906688,"raw_latitude":104485168,"longitude_deg":76.0906688,"latitude_deg":10.4485168,"altitude":9,"angle":329,"satellites":43,"speed":38,"hex_longitude":"2d5a83c0","hex_latitude":"063a5130","is_valid_coordinates":true} 
[2026-06-02 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-06-02 04:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770554624001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304553231856435200,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6527193630433783808,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780353740000,"timestamp_ms":1780353740000,"timestamp_seconds":1780353740,"priority":1,"record_length":96,"hex_timestamp":"0000019e855a2ce0"} 
[2026-06-02 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-06-02 04:14: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-06-02 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 04:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770554624001,"66":27365,"117":206,"19":38400,"24":38,"16":304553231856435200,"45":6527193630433783808},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-02 04:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770554624001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:14:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-02 04:14:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304553231856435200,"km_value":304553231856435.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6527193630433783808,"description":"Unknown IO ID 45"} 
[2026-06-02 04:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770554624001,"power":27365,"unknown_117":206,"unknown_19":38400,"ignition":38,"odometer":null,"unknown_45":6527193630433783808}} 
[2026-06-02 04:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":89325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:14:02] local.INFO: GPS data processed {"connection_id":89325,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:14:02] local.INFO: Acknowledgment sent {"connection_id":89325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:14:25] local.INFO: TCP Data received {"connection_id":89466,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:25] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:25] local.INFO: IMEI packet received {"connection_id":89466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":89466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:14:29] local.INFO: TCP Data received {"connection_id":89466,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:29] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:29] local.INFO: IMEI packet received {"connection_id":89466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":89466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:14:30] local.INFO: TCP Data received {"connection_id":89466,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:30] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:14:30] local.INFO: IMEI packet received {"connection_id":89466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":89466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:14:32] local.INFO: TCP Data received {"connection_id":89466,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855a5008012d5a7200063a7128000701502a..."} 
[2026-06-02 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855a5008012d5a7200063a7128000701502a..."} 
[2026-06-02 04:14:32] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855a5008012d5a7200063a7128000701502a..."} 
[2026-06-02 04:14:32] local.INFO: Packet analysis {"connection_id":89466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:14:32] local.INFO: Extracted packet for processing {"connection_id":89466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:14:32] local.INFO: GPS Element Parsed {"raw_longitude":760902144,"raw_latitude":104493352,"longitude_deg":76.0902144,"latitude_deg":10.4493352,"altitude":7,"angle":336,"satellites":42,"speed":42,"hex_longitude":"2d5a7200","hex_latitude":"063a7128","is_valid_coordinates":true} 
[2026-06-02 04:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770557440001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304553682828001280,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6522267818343346176,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780353749000,"timestamp_ms":1780353749000,"timestamp_seconds":1780353749,"priority":1,"record_length":96,"hex_timestamp":"0000019e855a5008"} 
[2026-06-02 04:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:14: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-06-02 04:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770557440001,"66":27267,"117":206,"19":38400,"24":42,"16":304553682828001280,"45":6522267818343346176},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-02 04:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770557440001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:14:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-02 04:14:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304553682828001280,"km_value":304553682828001.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6522267818343346176,"description":"Unknown IO ID 45"} 
[2026-06-02 04:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770557440001,"power":27267,"unknown_117":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":6522267818343346176}} 
[2026-06-02 04:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":89466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:14:32] local.INFO: GPS data processed {"connection_id":89466,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:14:32] local.INFO: Acknowledgment sent {"connection_id":89466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:14:35] local.INFO: TCP Data received {"connection_id":89466,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855a7330012d5a63c0063a9580000701522b..."} 
[2026-06-02 04:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855a7330012d5a63c0063a9580000701522b..."} 
[2026-06-02 04:14:35] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855a7330012d5a63c0063a9580000701522b..."} 
[2026-06-02 04:14:35] local.INFO: Packet analysis {"connection_id":89466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:14:35] local.INFO: Extracted packet for processing {"connection_id":89466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855a"} 
[2026-06-02 04:14:35] local.INFO: GPS Element Parsed {"raw_longitude":760898496,"raw_latitude":104502656,"longitude_deg":76.0898496,"latitude_deg":10.4502656,"altitude":7,"angle":338,"satellites":43,"speed":46,"hex_longitude":"2d5a63c0","hex_latitude":"063a9580","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770559744001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304554163864338432,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6517271637508827136,"note":"Value kept but may cause issues"} 
[2026-06-02 04:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780353758000,"timestamp_ms":1780353758000,"timestamp_seconds":1780353758,"priority":1,"record_length":96,"hex_timestamp":"0000019e855a7330"} 
[2026-06-02 04:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 04:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770559744001,"66":27343,"117":206,"19":38400,"24":46,"16":304554163864338432,"45":6517271637508827136},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-02 04:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770559744001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:14:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-02 04:14:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304554163864338432,"km_value":304554163864338.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6517271637508827136,"description":"Unknown IO ID 45"} 
[2026-06-02 04:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770559744001,"power":27343,"unknown_117":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":6517271637508827136}} 
[2026-06-02 04:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":89466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:14:35] local.INFO: GPS data processed {"connection_id":89466,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:14:35] local.INFO: Acknowledgment sent {"connection_id":89466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:15:09] local.INFO: TCP Data received {"connection_id":89466,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855be648012d599800063c31280007014f2b..."} 
[2026-06-02 04:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855be648012d599800063c31280007014f2b..."} 
[2026-06-02 04:15:09] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855be648012d599800063c31280007014f2b..."} 
[2026-06-02 04:15:09] local.INFO: Packet analysis {"connection_id":89466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855b"} 
[2026-06-02 04:15:09] local.INFO: Extracted packet for processing {"connection_id":89466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855b"} 
[2026-06-02 04:15:09] local.INFO: GPS Element Parsed {"raw_longitude":760846336,"raw_latitude":104608040,"longitude_deg":76.0846336,"latitude_deg":10.460804,"altitude":7,"angle":335,"satellites":43,"speed":50,"hex_longitude":"2d599800","hex_latitude":"063c3128","is_valid_coordinates":true} 
[2026-06-02 04:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770584576001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304559910530580480,"note":"Value kept but may cause issues"} 
[2026-06-02 04:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6460202586008051712,"note":"Value kept but may cause issues"} 
[2026-06-02 04:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780353853000,"timestamp_ms":1780353853000,"timestamp_seconds":1780353853,"priority":1,"record_length":96,"hex_timestamp":"0000019e855be648"} 
[2026-06-02 04:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 04:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770584576001,"66":27365,"86":206,"19":38400,"24":50,"16":304559910530580480,"45":6460202586008051712},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-06-02 04:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770584576001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:15:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-02 04:15:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304559910530580480,"km_value":304559910530580.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6460202586008051712,"description":"Unknown IO ID 45"} 
[2026-06-02 04:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770584576001,"power":27365,"unknown_86":206,"unknown_19":38400,"ignition":50,"odometer":null,"unknown_45":6460202586008051712}} 
[2026-06-02 04:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":89466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:15:09] local.INFO: GPS data processed {"connection_id":89466,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:15:09] local.INFO: Acknowledgment sent {"connection_id":89466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:15:19] local.INFO: TCP Data received {"connection_id":89067,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:15:19] local.INFO: Processing buffer {"connection_id":89067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:15:19] local.INFO: IMEI packet received {"connection_id":89067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":89067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:15:25] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:25] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:25] local.INFO: IMEI packet received {"connection_id":89326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":89326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:15:26] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:26] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:26] local.INFO: IMEI packet received {"connection_id":89326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":89326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:15:30] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:30] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:15:30] local.INFO: IMEI packet received {"connection_id":89326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":89326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:15:31] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855c01a0012d598940063c50b80008014e2b..."} 
[2026-06-02 04:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855c01a0012d598940063c50b80008014e2b..."} 
[2026-06-02 04:15:31] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855c01a0012d598940063c50b80008014e2b..."} 
[2026-06-02 04:15:31] local.INFO: Packet analysis {"connection_id":89326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855c"} 
[2026-06-02 04:15:31] local.INFO: Extracted packet for processing {"connection_id":89326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855c"} 
[2026-06-02 04:15:31] local.INFO: GPS Element Parsed {"raw_longitude":760842560,"raw_latitude":104616120,"longitude_deg":76.084256,"latitude_deg":10.461612,"altitude":8,"angle":334,"satellites":43,"speed":50,"hex_longitude":"2d598940","hex_latitude":"063c50b8","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770586368001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304560340027310080,"note":"Value kept but may cause issues"} 
[2026-06-02 04:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6455910092615264256,"note":"Value kept but may cause issues"} 
[2026-06-02 04:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780353860000,"timestamp_ms":1780353860000,"timestamp_seconds":1780353860,"priority":1,"record_length":96,"hex_timestamp":"0000019e855c01a0"} 
[2026-06-02 04:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04: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-06-02 04:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770586368001,"66":27332,"86":206,"19":38400,"24":50,"16":304560340027310080,"45":6455910092615264256},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-06-02 04:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770586368001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:15:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-02 04:15:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304560340027310080,"km_value":304560340027310.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6455910092615264256,"description":"Unknown IO ID 45"} 
[2026-06-02 04:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770586368001,"power":27332,"unknown_86":206,"unknown_19":38400,"ignition":50,"odometer":null,"unknown_45":6455910092615264256}} 
[2026-06-02 04:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":89326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:15:31] local.INFO: GPS data processed {"connection_id":89326,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:15:31] local.INFO: Acknowledgment sent {"connection_id":89326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:15:59] local.INFO: TCP Data received {"connection_id":90530,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:15:59] local.INFO: Processing buffer {"connection_id":90530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:15:59] local.INFO: IMEI packet received {"connection_id":90530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":90530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:16:05] local.INFO: TCP Data received {"connection_id":89326,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855c1cf8012d597ac0063c70380008014e2b..."} 
[2026-06-02 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855c1cf8012d597ac0063c70380008014e2b..."} 
[2026-06-02 04:16:05] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855c1cf8012d597ac0063c70380008014e2b..."} 
[2026-06-02 04:16:05] local.INFO: Packet analysis {"connection_id":89326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855c"} 
[2026-06-02 04:16:05] local.INFO: Extracted packet for processing {"connection_id":89326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855c"} 
[2026-06-02 04:16:05] local.INFO: GPS Element Parsed {"raw_longitude":760838848,"raw_latitude":104624184,"longitude_deg":76.0838848,"latitude_deg":10.4624184,"altitude":8,"angle":334,"satellites":43,"speed":49,"hex_longitude":"2d597ac0","hex_latitude":"063c7038","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770588160001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304560769524039680,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6451758336710850560,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780353867000,"timestamp_ms":1780353867000,"timestamp_seconds":1780353867,"priority":1,"record_length":96,"hex_timestamp":"0000019e855c1cf8"} 
[2026-06-02 04:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:16: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-06-02 04:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:16: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-06-02 04: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-06-02 04:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770588160001,"66":27321,"87":206,"19":38400,"24":49,"16":304560769524039680,"45":6451758336710850560},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-06-02 04:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770588160001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 04:16:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304560769524039680,"km_value":304560769524039.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6451758336710850560,"description":"Unknown IO ID 45"} 
[2026-06-02 04:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770588160001,"power":27321,"unknown_87":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6451758336710850560}} 
[2026-06-02 04:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":89326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:16:05] local.INFO: GPS data processed {"connection_id":89326,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:16:05] local.INFO: Acknowledgment sent {"connection_id":89326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:16:30] local.INFO: TCP Data received {"connection_id":89467,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:30] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:30] local.INFO: IMEI packet received {"connection_id":89467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":89467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:16:31] local.INFO: TCP Data received {"connection_id":89467,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:31] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:31] local.INFO: IMEI packet received {"connection_id":89467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":89467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:16:31] local.INFO: TCP Data received {"connection_id":89467,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:31] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:16:31] local.INFO: IMEI packet received {"connection_id":89467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":89467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:16:33] local.INFO: TCP Data received {"connection_id":89467,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855d2698012d58f340063da1e0000f01522a..."} 
[2026-06-02 04:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855d2698012d58f340063da1e0000f01522a..."} 
[2026-06-02 04:16:33] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855d2698012d58f340063da1e0000f01522a..."} 
[2026-06-02 04:16:33] local.INFO: Packet analysis {"connection_id":89467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:16:33] local.INFO: Extracted packet for processing {"connection_id":89467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:16:33] local.INFO: GPS Element Parsed {"raw_longitude":760804160,"raw_latitude":104702432,"longitude_deg":76.080416,"latitude_deg":10.4702432,"altitude":15,"angle":338,"satellites":42,"speed":47,"hex_longitude":"2d58f340","hex_latitude":"063da1e0","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770606080001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304564948527218688,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6412422208736258048,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780353935000,"timestamp_ms":1780353935000,"timestamp_seconds":1780353935,"priority":1,"record_length":96,"hex_timestamp":"0000019e855d2698"} 
[2026-06-02 04:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:16: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-06-02 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770606080001,"66":27267,"87":206,"19":38400,"24":47,"16":304564948527218688,"45":6412422208736258048},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-06-02 04:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770606080001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:16:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 04:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304564948527218688,"km_value":304564948527218.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6412422208736258048,"description":"Unknown IO ID 45"} 
[2026-06-02 04:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770606080001,"power":27267,"unknown_87":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6412422208736258048}} 
[2026-06-02 04:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":89467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:16:33] local.INFO: GPS data processed {"connection_id":89467,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:16:33] local.INFO: Acknowledgment sent {"connection_id":89467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:16:35] local.INFO: TCP Data received {"connection_id":89467,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855d45d8012d58e640063dc5c0001001562d..."} 
[2026-06-02 04:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855d45d8012d58e640063dc5c0001001562d..."} 
[2026-06-02 04:16:35] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855d45d8012d58e640063dc5c0001001562d..."} 
[2026-06-02 04:16:35] local.INFO: Packet analysis {"connection_id":89467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:16:35] local.INFO: Extracted packet for processing {"connection_id":89467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:16:35] local.INFO: GPS Element Parsed {"raw_longitude":760800832,"raw_latitude":104711616,"longitude_deg":76.0800832,"latitude_deg":10.4711616,"altitude":16,"angle":342,"satellites":45,"speed":47,"hex_longitude":"2d58e640","hex_latitude":"063dc5c0","is_valid_coordinates":true} 
[2026-06-02 04:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770607360001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304565420973621248,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6409537090226348032,"note":"Value kept but may cause issues"} 
[2026-06-02 04:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780353943000,"timestamp_ms":1780353943000,"timestamp_seconds":1780353943,"priority":1,"record_length":96,"hex_timestamp":"0000019e855d45d8"} 
[2026-06-02 04:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 04:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770607360001,"66":27397,"87":206,"19":38400,"24":47,"16":304565420973621248,"45":6409537090226348032},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-06-02 04:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770607360001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:16:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 04:16:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304565420973621248,"km_value":304565420973621.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6409537090226348032,"description":"Unknown IO ID 45"} 
[2026-06-02 04:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770607360001,"power":27397,"unknown_87":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6409537090226348032}} 
[2026-06-02 04:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":89467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:16:35] local.INFO: GPS data processed {"connection_id":89467,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:16:35] local.INFO: Acknowledgment sent {"connection_id":89467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:17:08] local.INFO: TCP Data received {"connection_id":89467,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855d6518012d58da80063de990000d014c2a..."} 
[2026-06-02 04:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855d6518012d58da80063de990000d014c2a..."} 
[2026-06-02 04:17:08] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855d6518012d58da80063de990000d014c2a..."} 
[2026-06-02 04:17:08] local.INFO: Packet analysis {"connection_id":89467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:17:08] local.INFO: Extracted packet for processing {"connection_id":89467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":760797824,"raw_latitude":104720784,"longitude_deg":76.0797824,"latitude_deg":10.4720784,"altitude":13,"angle":332,"satellites":42,"speed":45,"hex_longitude":"2d58da80","hex_latitude":"063de990","is_valid_coordinates":true} 
[2026-06-02 04:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770609408001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304565889125056512,"note":"Value kept but may cause issues"} 
[2026-06-02 04:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6405877915531460608,"note":"Value kept but may cause issues"} 
[2026-06-02 04:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780353951000,"timestamp_ms":1780353951000,"timestamp_seconds":1780353951,"priority":1,"record_length":96,"hex_timestamp":"0000019e855d6518"} 
[2026-06-02 04:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:17: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-06-02 04:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 04:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770609408001,"66":27180,"87":206,"19":38400,"24":45,"16":304565889125056512,"45":6405877915531460608},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-06-02 04:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770609408001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 04:17:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304565889125056512,"km_value":304565889125056.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6405877915531460608,"description":"Unknown IO ID 45"} 
[2026-06-02 04:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770609408001,"power":27180,"unknown_87":206,"unknown_19":38400,"ignition":45,"odometer":null,"unknown_45":6405877915531460608}} 
[2026-06-02 04:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":89467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:17:08] local.INFO: GPS data processed {"connection_id":89467,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:17:08] local.INFO: Acknowledgment sent {"connection_id":89467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:17:25] local.INFO: TCP Data received {"connection_id":89069,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:17:25] local.INFO: Processing buffer {"connection_id":89069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:17:25] local.INFO: IMEI packet received {"connection_id":89069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":89069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:17:27] local.INFO: TCP Data received {"connection_id":89069,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:17:27] local.INFO: Processing buffer {"connection_id":89069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:17:27] local.INFO: IMEI packet received {"connection_id":89069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":89069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:17:28] local.INFO: TCP Data received {"connection_id":89069,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855d6ce8012d58d540063df0e0000c013c2a..."} 
[2026-06-02 04:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855d6ce8012d58d540063df0e0000c013c2a..."} 
[2026-06-02 04:17:28] local.INFO: Processing buffer {"connection_id":89069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855d6ce8012d58d540063df0e0000c013c2a..."} 
[2026-06-02 04:17:28] local.INFO: Packet analysis {"connection_id":89069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:17:28] local.INFO: Extracted packet for processing {"connection_id":89069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:17:28] local.INFO: GPS Element Parsed {"raw_longitude":760796480,"raw_latitude":104722656,"longitude_deg":76.079648,"latitude_deg":10.4722656,"altitude":12,"angle":316,"satellites":42,"speed":44,"hex_longitude":"2d58d540","hex_latitude":"063df0e0","is_valid_coordinates":true} 
[2026-06-02 04:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770611456001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304566000794206208,"note":"Value kept but may cause issues"} 
[2026-06-02 04:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6402570584557457408,"note":"Value kept but may cause issues"} 
[2026-06-02 04:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780353953000,"timestamp_ms":1780353953000,"timestamp_seconds":1780353953,"priority":1,"record_length":96,"hex_timestamp":"0000019e855d6ce8"} 
[2026-06-02 04:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:17: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-06-02 04:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 04:17:28] 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-06-02 04:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770611456001,"66":27365,"87":206,"19":38400,"24":44,"16":304566000794206208,"45":6402570584557457408},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-06-02 04:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770611456001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:17:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 04:17:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304566000794206208,"km_value":304566000794206.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6402570584557457408,"description":"Unknown IO ID 45"} 
[2026-06-02 04:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770611456001,"power":27365,"unknown_87":206,"unknown_19":38400,"ignition":44,"odometer":null,"unknown_45":6402570584557457408}} 
[2026-06-02 04:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":89069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:17:28] local.INFO: GPS data processed {"connection_id":89069,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:17:28] local.INFO: Acknowledgment sent {"connection_id":89069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:18:00] local.INFO: TCP Data received {"connection_id":89069,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855d8c28012d58bcc0063e0988000c013f2b..."} 
[2026-06-02 04:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855d8c28012d58bcc0063e0988000c013f2b..."} 
[2026-06-02 04:18:00] local.INFO: Processing buffer {"connection_id":89069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855d8c28012d58bcc0063e0988000c013f2b..."} 
[2026-06-02 04:18:00] local.INFO: Packet analysis {"connection_id":89069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:18:00] local.INFO: Extracted packet for processing {"connection_id":89069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855d"} 
[2026-06-02 04:18:00] local.INFO: GPS Element Parsed {"raw_longitude":760790208,"raw_latitude":104728968,"longitude_deg":76.0790208,"latitude_deg":10.4728968,"altitude":12,"angle":319,"satellites":43,"speed":44,"hex_longitude":"2d58bcc0","hex_latitude":"063e0988","is_valid_coordinates":true} 
[2026-06-02 04:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770611968001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304566430290935808,"note":"Value kept but may cause issues"} 
[2026-06-02 04:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6401092840930205696,"note":"Value kept but may cause issues"} 
[2026-06-02 04:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780353961000,"timestamp_ms":1780353961000,"timestamp_seconds":1780353961,"priority":1,"record_length":96,"hex_timestamp":"0000019e855d8c28"} 
[2026-06-02 04:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:18: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-06-02 04:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:18:00] 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-06-02 04:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770611968001,"66":27115,"87":206,"19":38400,"24":44,"16":304566430290935808,"45":6401092840930205696},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-06-02 04:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770611968001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:18:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 04:18:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304566430290935808,"km_value":304566430290935.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6401092840930205696,"description":"Unknown IO ID 45"} 
[2026-06-02 04:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770611968001,"power":27115,"unknown_87":206,"unknown_19":38400,"ignition":44,"odometer":null,"unknown_45":6401092840930205696}} 
[2026-06-02 04:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":89069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:18:00] local.INFO: GPS data processed {"connection_id":89069,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:18:00] local.INFO: Acknowledgment sent {"connection_id":89069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:18:23] local.INFO: TCP Data received {"connection_id":90531,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:23] local.INFO: Processing buffer {"connection_id":90531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:23] local.INFO: IMEI packet received {"connection_id":90531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":90531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:18:25] local.INFO: TCP Data received {"connection_id":90531,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:25] local.INFO: Processing buffer {"connection_id":90531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:25] local.INFO: IMEI packet received {"connection_id":90531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":90531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:18:30] local.INFO: TCP Data received {"connection_id":90531,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:30] local.INFO: Processing buffer {"connection_id":90531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:18:30] local.INFO: IMEI packet received {"connection_id":90531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":90531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:18:32] local.INFO: TCP Data received {"connection_id":90531,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855ee3e8012d57fb00063f64f0000601432b..."} 
[2026-06-02 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855ee3e8012d57fb00063f64f0000601432b..."} 
[2026-06-02 04:18:32] local.INFO: Processing buffer {"connection_id":90531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855ee3e8012d57fb00063f64f0000601432b..."} 
[2026-06-02 04:18:32] local.INFO: Packet analysis {"connection_id":90531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855e"} 
[2026-06-02 04:18:32] local.INFO: Extracted packet for processing {"connection_id":90531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855e"} 
[2026-06-02 04:18:32] local.INFO: GPS Element Parsed {"raw_longitude":760740608,"raw_latitude":104817904,"longitude_deg":76.0740608,"latitude_deg":10.4817904,"altitude":6,"angle":323,"satellites":43,"speed":43,"hex_longitude":"2d57fb00","hex_latitude":"063f64f0","is_valid_coordinates":true} 
[2026-06-02 04:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770634496001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304571360913391616,"note":"Value kept but may cause issues"} 
[2026-06-02 04:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6345290426819653632,"note":"Value kept but may cause issues"} 
[2026-06-02 04:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780354049000,"timestamp_ms":1780354049000,"timestamp_seconds":1780354049,"priority":1,"record_length":96,"hex_timestamp":"0000019e855ee3e8"} 
[2026-06-02 04:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:18: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-06-02 04:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770634496001,"66":27321,"137":206,"19":38400,"24":43,"16":304571360913391616,"45":6345290426819653632},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-06-02 04:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770634496001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:18:32] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 04:18:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304571360913391616,"km_value":304571360913391.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6345290426819653632,"description":"Unknown IO ID 45"} 
[2026-06-02 04:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770634496001,"power":27321,"unknown_137":206,"unknown_19":38400,"ignition":43,"odometer":null,"unknown_45":6345290426819653632}} 
[2026-06-02 04:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":90531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:18:32] local.INFO: GPS data processed {"connection_id":90531,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:18:32] local.INFO: Acknowledgment sent {"connection_id":90531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:19:21] local.INFO: TCP Data received {"connection_id":90531,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855f0328012d57e480063f8320000601432c..."} 
[2026-06-02 04:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855f0328012d57e480063f8320000601432c..."} 
[2026-06-02 04:19:21] local.INFO: Processing buffer {"connection_id":90531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855f0328012d57e480063f8320000601432c..."} 
[2026-06-02 04:19:21] local.INFO: Packet analysis {"connection_id":90531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855f"} 
[2026-06-02 04:19:21] local.INFO: Extracted packet for processing {"connection_id":90531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855f"} 
[2026-06-02 04:19:21] local.INFO: GPS Element Parsed {"raw_longitude":760734848,"raw_latitude":104825632,"longitude_deg":76.0734848,"latitude_deg":10.4825632,"altitude":6,"angle":323,"satellites":44,"speed":47,"hex_longitude":"2d57e480","hex_latitude":"063f8320","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770636544001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304571824769859584,"note":"Value kept but may cause issues"} 
[2026-06-02 04:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6339660927287488512,"note":"Value kept but may cause issues"} 
[2026-06-02 04:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780354057000,"timestamp_ms":1780354057000,"timestamp_seconds":1780354057,"priority":1,"record_length":96,"hex_timestamp":"0000019e855f0328"} 
[2026-06-02 04:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:19: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-06-02 04: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":185,"data_length":795,"current_offset":136} 
[2026-06-02 04:19: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-06-02 04: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-06-02 04:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770636544001,"66":27332,"137":206,"19":38400,"24":47,"16":304571824769859584,"45":6339660927287488512},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-06-02 04:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770636544001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:19:21] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 04:19:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304571824769859584,"km_value":304571824769859.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6339660927287488512,"description":"Unknown IO ID 45"} 
[2026-06-02 04:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770636544001,"power":27332,"unknown_137":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6339660927287488512}} 
[2026-06-02 04:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":90531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:19:21] local.INFO: GPS data processed {"connection_id":90531,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:19:21] local.INFO: Acknowledgment sent {"connection_id":90531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:19:35] local.INFO: TCP Data received {"connection_id":89468,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:35] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:35] local.INFO: IMEI packet received {"connection_id":89468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":89468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:19:35] local.INFO: TCP Data received {"connection_id":89468,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:35] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:35] local.INFO: IMEI packet received {"connection_id":89468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":89468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:19:40] local.INFO: TCP Data received {"connection_id":89468,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:40] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:19:40] local.INFO: IMEI packet received {"connection_id":89468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":89468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:19:41] local.INFO: TCP Data received {"connection_id":89468,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e855f2268012d57ce40063fa220000801432d..."} 
[2026-06-02 04:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e855f2268012d57ce40063fa220000801432d..."} 
[2026-06-02 04:19:41] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e855f2268012d57ce40063fa220000801432d..."} 
[2026-06-02 04:19:41] local.INFO: Packet analysis {"connection_id":89468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e855f"} 
[2026-06-02 04:19:41] local.INFO: Extracted packet for processing {"connection_id":89468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e855f"} 
[2026-06-02 04:19:41] local.INFO: GPS Element Parsed {"raw_longitude":760729152,"raw_latitude":104833568,"longitude_deg":76.0729152,"latitude_deg":10.4833568,"altitude":8,"angle":323,"satellites":45,"speed":47,"hex_longitude":"2d57ce40","hex_latitude":"063fa220","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770638592001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304572297216262144,"note":"Value kept but may cause issues"} 
[2026-06-02 04:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6333327740313477120,"note":"Value kept but may cause issues"} 
[2026-06-02 04:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780354065000,"timestamp_ms":1780354065000,"timestamp_seconds":1780354065,"priority":1,"record_length":96,"hex_timestamp":"0000019e855f2268"} 
[2026-06-02 04:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770638592001,"66":27365,"137":206,"19":38400,"24":47,"16":304572297216262144,"45":6333327740313477120},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-06-02 04:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770638592001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:19:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 04:19:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-02 04:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304572297216262144,"km_value":304572297216262.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6333327740313477120,"description":"Unknown IO ID 45"} 
[2026-06-02 04:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770638592001,"power":27365,"unknown_137":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6333327740313477120}} 
[2026-06-02 04:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":89468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:19:41] local.INFO: GPS data processed {"connection_id":89468,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:19:41] local.INFO: Acknowledgment sent {"connection_id":89468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:20:25] local.INFO: TCP Data received {"connection_id":90533,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:20:25] local.INFO: Processing buffer {"connection_id":90533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:20:25] local.INFO: IMEI packet received {"connection_id":90533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":90533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:20:30] local.INFO: TCP Data received {"connection_id":90533,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:20:30] local.INFO: Processing buffer {"connection_id":90533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:20:30] local.INFO: IMEI packet received {"connection_id":90533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":90533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:20:31] local.INFO: TCP Data received {"connection_id":90533,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e856081f8012d56fa00064105100007014b2c..."} 
[2026-06-02 04:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e856081f8012d56fa00064105100007014b2c..."} 
[2026-06-02 04:20:31] local.INFO: Processing buffer {"connection_id":90533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e856081f8012d56fa00064105100007014b2c..."} 
[2026-06-02 04:20:31] local.INFO: Packet analysis {"connection_id":90533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:20:31] local.INFO: Extracted packet for processing {"connection_id":90533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:20:31] local.INFO: GPS Element Parsed {"raw_longitude":760674816,"raw_latitude":104924432,"longitude_deg":76.0674816,"latitude_deg":10.4924432,"altitude":7,"angle":331,"satellites":44,"speed":29,"hex_longitude":"2d56fa00","hex_latitude":"06410510","is_valid_coordinates":true} 
[2026-06-02 04:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770661120001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304577425407213568,"note":"Value kept but may cause issues"} 
[2026-06-02 04:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6271966195413665792,"note":"Value kept but may cause issues"} 
[2026-06-02 04:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780354155000,"timestamp_ms":1780354155000,"timestamp_seconds":1780354155,"priority":1,"record_length":96,"hex_timestamp":"0000019e856081f8"} 
[2026-06-02 04:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 04:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770661120001,"66":27180,"186":206,"19":38144,"24":29,"16":304577425407213568,"45":6271966195413665792},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-02 04:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770661120001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:20:31] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 04:20:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304577425407213568,"km_value":304577425407213.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6271966195413665792,"description":"Unknown IO ID 45"} 
[2026-06-02 04:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770661120001,"power":27180,"unknown_186":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":6271966195413665792}} 
[2026-06-02 04:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":90533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:20:31] local.INFO: GPS data processed {"connection_id":90533,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:20:31] local.INFO: Acknowledgment sent {"connection_id":90533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:21:03] local.INFO: TCP Data received {"connection_id":90533,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85609198012d56f34006410ec00007013d29..."} 
[2026-06-02 04:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85609198012d56f34006410ec00007013d29..."} 
[2026-06-02 04:21:03] local.INFO: Processing buffer {"connection_id":90533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85609198012d56f34006410ec00007013d29..."} 
[2026-06-02 04:21:03] local.INFO: Packet analysis {"connection_id":90533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:21:03] local.INFO: Extracted packet for processing {"connection_id":90533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:21:03] local.INFO: GPS Element Parsed {"raw_longitude":760673088,"raw_latitude":104926912,"longitude_deg":76.0673088,"latitude_deg":10.4926912,"altitude":7,"angle":317,"satellites":41,"speed":30,"hex_longitude":"2d56f340","hex_latitude":"06410ec0","is_valid_coordinates":true} 
[2026-06-02 04:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770663680001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304577571436101632,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6267321858300121088,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780354159000,"timestamp_ms":1780354159000,"timestamp_seconds":1780354159,"priority":1,"record_length":96,"hex_timestamp":"0000019e85609198"} 
[2026-06-02 04:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:21: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-06-02 04:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 04:21:03] 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-06-02 04:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770663680001,"66":27332,"186":206,"19":38144,"24":30,"16":304577571436101632,"45":6267321858300121088},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-02 04:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770663680001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:21:03] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 04:21:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304577571436101632,"km_value":304577571436101.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6267321858300121088,"description":"Unknown IO ID 45"} 
[2026-06-02 04:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770663680001,"power":27332,"unknown_186":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6267321858300121088}} 
[2026-06-02 04:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":90533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:21:03] local.INFO: GPS data processed {"connection_id":90533,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:21:03] local.INFO: Acknowledgment sent {"connection_id":90533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:21:29] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:21:29] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:21:29] local.INFO: IMEI packet received {"connection_id":89469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":89469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:21:30] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:21:30] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:21:30] local.INFO: IMEI packet received {"connection_id":89328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":89328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:21:35] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:21:35] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:21:35] local.INFO: IMEI packet received {"connection_id":89328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":89328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:21:37] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8560c078012d56d98006412a80000701432a..."} 
[2026-06-02 04:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8560c078012d56d98006412a80000701432a..."} 
[2026-06-02 04:21:37] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8560c078012d56d98006412a80000701432a..."} 
[2026-06-02 04:21:37] local.INFO: Packet analysis {"connection_id":89328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:21:37] local.INFO: Extracted packet for processing {"connection_id":89328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":760666496,"raw_latitude":104934016,"longitude_deg":76.0666496,"latitude_deg":10.4934016,"altitude":7,"angle":323,"satellites":42,"speed":31,"hex_longitude":"2d56d980","hex_latitude":"06412a80","is_valid_coordinates":true} 
[2026-06-02 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770664704001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304578035292569600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6265421902207959040,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780354171000,"timestamp_ms":1780354171000,"timestamp_seconds":1780354171,"priority":1,"record_length":96,"hex_timestamp":"0000019e8560c078"} 
[2026-06-02 04:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770664704001,"66":27365,"186":206,"19":38144,"24":31,"16":304578035292569600,"45":6265421902207959040},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770664704001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304578035292569600,"km_value":304578035292569.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6265421902207959040,"description":"Unknown IO ID 45"} 
[2026-06-02 04:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770664704001,"power":27365,"unknown_186":206,"unknown_19":38144,"ignition":31,"odometer":null,"unknown_45":6265421902207959040}} 
[2026-06-02 04:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":89328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:21:37] local.INFO: GPS data processed {"connection_id":89328,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:21:37] local.INFO: Acknowledgment sent {"connection_id":89328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:21:37] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8560eb70012d56c440064149380005014628..."} 
[2026-06-02 04:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8560eb70012d56c440064149380005014628..."} 
[2026-06-02 04:21:37] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8560eb70012d56c440064149380005014628..."} 
[2026-06-02 04:21:37] local.INFO: Packet analysis {"connection_id":89328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:21:37] local.INFO: Extracted packet for processing {"connection_id":89328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8560"} 
[2026-06-02 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":760661056,"raw_latitude":104941880,"longitude_deg":76.0661056,"latitude_deg":10.494188,"altitude":5,"angle":326,"satellites":40,"speed":35,"hex_longitude":"2d56c440","hex_latitude":"06414938","is_valid_coordinates":true} 
[2026-06-02 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770667776001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304578499149037568,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6258173921559478272,"note":"Value kept but may cause issues"} 
[2026-06-02 04:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780354182000,"timestamp_ms":1780354182000,"timestamp_seconds":1780354182,"priority":1,"record_length":96,"hex_timestamp":"0000019e8560eb70"} 
[2026-06-02 04:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:21: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-06-02 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770667776001,"66":27550,"186":206,"19":38144,"24":35,"16":304578499149037568,"45":6258173921559478272},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-02 04:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770667776001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304578499149037568,"km_value":304578499149037.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6258173921559478272,"description":"Unknown IO ID 45"} 
[2026-06-02 04:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770667776001,"power":27550,"unknown_186":206,"unknown_19":38144,"ignition":35,"odometer":null,"unknown_45":6258173921559478272}} 
[2026-06-02 04:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":89328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:21:37] local.INFO: GPS data processed {"connection_id":89328,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:21:37] local.INFO: Acknowledgment sent {"connection_id":89328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:21:59] local.INFO: TCP Data received {"connection_id":89470,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:21:59] local.INFO: Processing buffer {"connection_id":89470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:21:59] local.INFO: IMEI packet received {"connection_id":89470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":89470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:22:09] local.INFO: TCP Data received {"connection_id":89328,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85611668012d56b240064167300006014928..."} 
[2026-06-02 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85611668012d56b240064167300006014928..."} 
[2026-06-02 04:22:09] local.INFO: Processing buffer {"connection_id":89328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85611668012d56b240064167300006014928..."} 
[2026-06-02 04:22:09] local.INFO: Packet analysis {"connection_id":89328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8561"} 
[2026-06-02 04:22:09] local.INFO: Extracted packet for processing {"connection_id":89328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8561"} 
[2026-06-02 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":760656448,"raw_latitude":104949552,"longitude_deg":76.0656448,"latitude_deg":10.4949552,"altitude":6,"angle":329,"satellites":40,"speed":30,"hex_longitude":"2d56b240","hex_latitude":"06416730","is_valid_coordinates":true} 
[2026-06-02 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770670592001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304578928645767168,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6252192578306390016,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780354193000,"timestamp_ms":1780354193000,"timestamp_seconds":1780354193,"priority":1,"record_length":96,"hex_timestamp":"0000019e85611668"} 
[2026-06-02 04:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:22: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-06-02 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-02 04:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770670592001,"66":27397,"186":206,"19":38144,"24":30,"16":304578928645767168,"45":6252192578306390016},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-02 04:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770670592001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:22:09] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 04:22:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304578928645767168,"km_value":304578928645767.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6252192578306390016,"description":"Unknown IO ID 45"} 
[2026-06-02 04:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770670592001,"power":27397,"unknown_186":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6252192578306390016}} 
[2026-06-02 04:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":89328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:22:09] local.INFO: GPS data processed {"connection_id":89328,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:22:09] local.INFO: Acknowledgment sent {"connection_id":89328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:22:26] local.INFO: TCP Data received {"connection_id":90534,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:26] local.INFO: Processing buffer {"connection_id":90534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:26] local.INFO: IMEI packet received {"connection_id":90534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":90534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:22:26] local.INFO: TCP Data received {"connection_id":90534,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:26] local.INFO: Processing buffer {"connection_id":90534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:26] local.INFO: IMEI packet received {"connection_id":90534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":90534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:22:31] local.INFO: TCP Data received {"connection_id":90534,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:31] local.INFO: Processing buffer {"connection_id":90534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:22:31] local.INFO: IMEI packet received {"connection_id":90534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":90534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:22:33] local.INFO: TCP Data received {"connection_id":90534,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e856281b0012d5606800642a5d80006014e2c..."} 
[2026-06-02 04:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e856281b0012d5606800642a5d80006014e2c..."} 
[2026-06-02 04:22:33] local.INFO: Processing buffer {"connection_id":90534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e856281b0012d5606800642a5d80006014e2c..."} 
[2026-06-02 04:22:33] local.INFO: Packet analysis {"connection_id":90534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:22:33] local.INFO: Extracted packet for processing {"connection_id":90534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:22:33] local.INFO: GPS Element Parsed {"raw_longitude":760612480,"raw_latitude":105031128,"longitude_deg":76.061248,"latitude_deg":10.5031128,"altitude":6,"angle":334,"satellites":44,"speed":54,"hex_longitude":"2d560680","hex_latitude":"0642a5d8","is_valid_coordinates":true} 
[2026-06-02 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770695424001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304583416886591488,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6203286301123610624,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780354286000,"timestamp_ms":1780354286000,"timestamp_seconds":1780354286,"priority":1,"record_length":96,"hex_timestamp":"0000019e856281b0"} 
[2026-06-02 04:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:22: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-06-02 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:22:33] 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-06-02 04:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770695424001,"66":27332,"176":206,"19":38144,"24":54,"16":304583416886591488,"45":6203286301123610624},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770695424001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304583416886591488,"km_value":304583416886591.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6203286301123610624,"description":"Unknown IO ID 45"} 
[2026-06-02 04:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770695424001,"power":27332,"unknown_176":206,"unknown_19":38144,"ignition":54,"odometer":null,"unknown_45":6203286301123610624}} 
[2026-06-02 04:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":90534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:22:34] local.INFO: GPS data processed {"connection_id":90534,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:22:34] local.INFO: Acknowledgment sent {"connection_id":90534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:22:34] local.INFO: TCP Data received {"connection_id":90534,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85629d08012d55f6800642c7b80006014d2c..."} 
[2026-06-02 04:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85629d08012d55f6800642c7b80006014d2c..."} 
[2026-06-02 04:22:34] local.INFO: Processing buffer {"connection_id":90534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85629d08012d55f6800642c7b80006014d2c..."} 
[2026-06-02 04:22:34] local.INFO: Packet analysis {"connection_id":90534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:22:34] local.INFO: Extracted packet for processing {"connection_id":90534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:22:34] local.INFO: GPS Element Parsed {"raw_longitude":760608384,"raw_latitude":105039800,"longitude_deg":76.0608384,"latitude_deg":10.50398,"altitude":6,"angle":333,"satellites":44,"speed":55,"hex_longitude":"2d55f680","hex_latitude":"0642c7b8","is_valid_coordinates":true} 
[2026-06-02 04:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770697216001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304583880743059456,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6198782701498390528,"note":"Value kept but may cause issues"} 
[2026-06-02 04:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780354293000,"timestamp_ms":1780354293000,"timestamp_seconds":1780354293,"priority":1,"record_length":96,"hex_timestamp":"0000019e85629d08"} 
[2026-06-02 04:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770697216001,"66":27441,"176":206,"19":38144,"24":55,"16":304583880743059456,"45":6198782701498390528},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770697216001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304583880743059456,"km_value":304583880743059.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6198782701498390528,"description":"Unknown IO ID 45"} 
[2026-06-02 04:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770697216001,"power":27441,"unknown_176":206,"unknown_19":38144,"ignition":55,"odometer":null,"unknown_45":6198782701498390528}} 
[2026-06-02 04:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":90534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:22:34] local.INFO: GPS data processed {"connection_id":90534,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:22:34] local.INFO: Acknowledgment sent {"connection_id":90534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:23:05] local.INFO: TCP Data received {"connection_id":90534,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8562b860012d55e5c00642e9f80006014d2c..."} 
[2026-06-02 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8562b860012d55e5c00642e9f80006014d2c..."} 
[2026-06-02 04:23:05] local.INFO: Processing buffer {"connection_id":90534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8562b860012d55e5c00642e9f80006014d2c..."} 
[2026-06-02 04:23:05] local.INFO: Packet analysis {"connection_id":90534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:23:05] local.INFO: Extracted packet for processing {"connection_id":90534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:23:05] local.INFO: GPS Element Parsed {"raw_longitude":760604096,"raw_latitude":105048568,"longitude_deg":76.0604096,"latitude_deg":10.5048568,"altitude":6,"angle":333,"satellites":44,"speed":54,"hex_longitude":"2d55e5c0","hex_latitude":"0642e9f8","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304584353189462016,"note":"Value kept but may cause issues"} 
[2026-06-02 04:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6194279101873240064,"note":"Value kept but may cause issues"} 
[2026-06-02 04:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780354300000,"timestamp_ms":1780354300000,"timestamp_seconds":1780354300,"priority":1,"record_length":96,"hex_timestamp":"0000019e8562b860"} 
[2026-06-02 04:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:23: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-06-02 04: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-06-02 04:23:05] 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-06-02 04: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-06-02 04:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770699008001,"66":27365,"176":206,"19":38144,"24":54,"16":304584353189462016,"45":6194279101873240064},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:23:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304584353189462016,"km_value":304584353189462.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6194279101873240064,"description":"Unknown IO ID 45"} 
[2026-06-02 04:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770699008001,"power":27365,"unknown_176":206,"unknown_19":38144,"ignition":54,"odometer":null,"unknown_45":6194279101873240064}} 
[2026-06-02 04:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":90534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:23:05] local.INFO: GPS data processed {"connection_id":90534,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:23:05] local.INFO: Acknowledgment sent {"connection_id":90534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:23:24] local.INFO: TCP Data received {"connection_id":89329,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:24] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:24] local.INFO: IMEI packet received {"connection_id":89329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":89329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:23:25] local.INFO: TCP Data received {"connection_id":89329,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:25] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:25] local.INFO: IMEI packet received {"connection_id":89329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":89329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:23:30] local.INFO: TCP Data received {"connection_id":89329,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:30] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:23:30] local.INFO: IMEI packet received {"connection_id":89329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":89329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:23:32] local.INFO: TCP Data received {"connection_id":89329,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8562d3b8012d55d5c006430b480008014e2c..."} 
[2026-06-02 04:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8562d3b8012d55d5c006430b480008014e2c..."} 
[2026-06-02 04:23:32] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8562d3b8012d55d5c006430b480008014e2c..."} 
[2026-06-02 04:23:32] local.INFO: Packet analysis {"connection_id":89329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:23:32] local.INFO: Extracted packet for processing {"connection_id":89329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:23:32] local.INFO: GPS Element Parsed {"raw_longitude":760600000,"raw_latitude":105057096,"longitude_deg":76.06,"latitude_deg":10.5057096,"altitude":8,"angle":334,"satellites":44,"speed":51,"hex_longitude":"2d55d5c0","hex_latitude":"06430b48","is_valid_coordinates":true} 
[2026-06-02 04:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770700800001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304584808455995392,"note":"Value kept but may cause issues"} 
[2026-06-02 04:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6189564396015581184,"note":"Value kept but may cause issues"} 
[2026-06-02 04:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780354307000,"timestamp_ms":1780354307000,"timestamp_seconds":1780354307,"priority":1,"record_length":96,"hex_timestamp":"0000019e8562d3b8"} 
[2026-06-02 04:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:23: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-06-02 04:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770700800001,"66":27300,"176":206,"19":38144,"24":51,"16":304584808455995392,"45":6189564396015581184},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770700800001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:23:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304584808455995392,"km_value":304584808455995.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6189564396015581184,"description":"Unknown IO ID 45"} 
[2026-06-02 04:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770700800001,"power":27300,"unknown_176":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6189564396015581184}} 
[2026-06-02 04:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":89329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:23:32] local.INFO: GPS data processed {"connection_id":89329,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:23:32] local.INFO: Acknowledgment sent {"connection_id":89329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:24:04] local.INFO: TCP Data received {"connection_id":89329,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8562f2f8012d55c4c006432ec8000b014e2c..."} 
[2026-06-02 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8562f2f8012d55c4c006432ec8000b014e2c..."} 
[2026-06-02 04:24:04] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8562f2f8012d55c4c006432ec8000b014e2c..."} 
[2026-06-02 04:24:04] local.INFO: Packet analysis {"connection_id":89329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:24:04] local.INFO: Extracted packet for processing {"connection_id":89329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8562"} 
[2026-06-02 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":760595648,"raw_latitude":105066184,"longitude_deg":76.0595648,"latitude_deg":10.5066184,"altitude":11,"angle":334,"satellites":44,"speed":49,"hex_longitude":"2d55c4c0","hex_latitude":"06432ec8","is_valid_coordinates":true} 
[2026-06-02 04:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770702592001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304585298082267136,"note":"Value kept but may cause issues"} 
[2026-06-02 04:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6185060796390393856,"note":"Value kept but may cause issues"} 
[2026-06-02 04:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780354315000,"timestamp_ms":1780354315000,"timestamp_seconds":1780354315,"priority":1,"record_length":96,"hex_timestamp":"0000019e8562f2f8"} 
[2026-06-02 04:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770702592001,"66":27343,"176":206,"19":38144,"24":49,"16":304585298082267136,"45":6185060796390393856},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770702592001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:24:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:24:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304585298082267136,"km_value":304585298082267.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6185060796390393856,"description":"Unknown IO ID 45"} 
[2026-06-02 04:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770702592001,"power":27343,"unknown_176":206,"unknown_19":38144,"ignition":49,"odometer":null,"unknown_45":6185060796390393856}} 
[2026-06-02 04:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":89329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:24:04] local.INFO: GPS data processed {"connection_id":89329,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:24:04] local.INFO: Acknowledgment sent {"connection_id":89329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:24:25] local.INFO: TCP Data received {"connection_id":90535,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:25] local.INFO: Processing buffer {"connection_id":90535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:25] local.INFO: IMEI packet received {"connection_id":90535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":90535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:24:26] local.INFO: TCP Data received {"connection_id":90535,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:26] local.INFO: Processing buffer {"connection_id":90535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:26] local.INFO: IMEI packet received {"connection_id":90535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":90535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:24:30] local.INFO: TCP Data received {"connection_id":90535,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:30] local.INFO: Processing buffer {"connection_id":90535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:24:30] local.INFO: IMEI packet received {"connection_id":90535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":90535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:24:32] local.INFO: TCP Data received {"connection_id":90535,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85643348012d55020006449f680010014b2d..."} 
[2026-06-02 04:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85643348012d55020006449f680010014b2d..."} 
[2026-06-02 04:24:32] local.INFO: Processing buffer {"connection_id":90535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85643348012d55020006449f680010014b2d..."} 
[2026-06-02 04:24:32] local.INFO: Packet analysis {"connection_id":90535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:24:32] local.INFO: Extracted packet for processing {"connection_id":90535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:24:32] local.INFO: GPS Element Parsed {"raw_longitude":760545792,"raw_latitude":105160552,"longitude_deg":76.0545792,"latitude_deg":10.5160552,"altitude":16,"angle":331,"satellites":45,"speed":48,"hex_longitude":"2d550200","hex_latitude":"06449f68","is_valid_coordinates":true} 
[2026-06-02 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770723584001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304590456337989632,"note":"Value kept but may cause issues"} 
[2026-06-02 04:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6130313913444454400,"note":"Value kept but may cause issues"} 
[2026-06-02 04:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780354397000,"timestamp_ms":1780354397000,"timestamp_seconds":1780354397,"priority":1,"record_length":96,"hex_timestamp":"0000019e85643348"} 
[2026-06-02 04:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:24: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-06-02 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 04:24:32] 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-06-02 04:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770723584001,"66":27517,"176":206,"19":38144,"24":48,"16":304590456337989632,"45":6130313913444454400},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770723584001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:24:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:24:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304590456337989632,"km_value":304590456337989.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6130313913444454400,"description":"Unknown IO ID 45"} 
[2026-06-02 04:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770723584001,"power":27517,"unknown_176":206,"unknown_19":38144,"ignition":48,"odometer":null,"unknown_45":6130313913444454400}} 
[2026-06-02 04:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":90535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:24:32] local.INFO: GPS data processed {"connection_id":90535,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:24:32] local.INFO: Acknowledgment sent {"connection_id":90535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:25:05] local.INFO: TCP Data received {"connection_id":90535,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85645288012d54eec00644c108001101492d..."} 
[2026-06-02 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85645288012d54eec00644c108001101492d..."} 
[2026-06-02 04:25:05] local.INFO: Processing buffer {"connection_id":90535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85645288012d54eec00644c108001101492d..."} 
[2026-06-02 04:25:05] local.INFO: Packet analysis {"connection_id":90535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:25:05] local.INFO: Extracted packet for processing {"connection_id":90535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:25:05] local.INFO: GPS Element Parsed {"raw_longitude":760540864,"raw_latitude":105169160,"longitude_deg":76.0540864,"latitude_deg":10.516916,"altitude":17,"angle":329,"satellites":45,"speed":47,"hex_longitude":"2d54eec0","hex_latitude":"0644c108","is_valid_coordinates":true} 
[2026-06-02 04:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770725632001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304590937374326784,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6125458470098397184,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780354405000,"timestamp_ms":1780354405000,"timestamp_seconds":1780354405,"priority":1,"record_length":96,"hex_timestamp":"0000019e85645288"} 
[2026-06-02 04:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:25: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-06-02 04:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 04:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770725632001,"66":27321,"176":206,"19":38144,"24":47,"16":304590937374326784,"45":6125458470098397184},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770725632001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:25:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304590937374326784,"km_value":304590937374326.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6125458470098397184,"description":"Unknown IO ID 45"} 
[2026-06-02 04:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770725632001,"power":27321,"unknown_176":206,"unknown_19":38144,"ignition":47,"odometer":null,"unknown_45":6125458470098397184}} 
[2026-06-02 04:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":90535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:25:05] local.INFO: GPS data processed {"connection_id":90535,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:25:05] local.INFO: Acknowledgment sent {"connection_id":90535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:25:28] local.INFO: TCP Data received {"connection_id":89472,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:28] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:28] local.INFO: IMEI packet received {"connection_id":89472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":89472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:25:30] local.INFO: TCP Data received {"connection_id":89472,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:30] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:30] local.INFO: IMEI packet received {"connection_id":89472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":89472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:25:35] local.INFO: TCP Data received {"connection_id":89472,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:35] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:25:35] local.INFO: IMEI packet received {"connection_id":89472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":89472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:25:37] local.INFO: TCP Data received {"connection_id":89472,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e856471c8012d54d9c00644e188001101472d..."} 
[2026-06-02 04:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e856471c8012d54d9c00644e188001101472d..."} 
[2026-06-02 04:25:37] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e856471c8012d54d9c00644e188001101472d..."} 
[2026-06-02 04:25:37] local.INFO: Packet analysis {"connection_id":89472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:25:37] local.INFO: Extracted packet for processing {"connection_id":89472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:25:37] local.INFO: GPS Element Parsed {"raw_longitude":760535488,"raw_latitude":105177480,"longitude_deg":76.0535488,"latitude_deg":10.517748,"altitude":17,"angle":327,"satellites":45,"speed":50,"hex_longitude":"2d54d9c0","hex_latitude":"0644e188","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770727680001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304591414115696640,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6120040076798920704,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780354413000,"timestamp_ms":1780354413000,"timestamp_seconds":1780354413,"priority":1,"record_length":96,"hex_timestamp":"0000019e856471c8"} 
[2026-06-02 04:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 04:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770727680001,"66":27376,"176":206,"19":38144,"24":50,"16":304591414115696640,"45":6120040076798920704},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770727680001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:25:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:25:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304591414115696640,"km_value":304591414115696.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6120040076798920704,"description":"Unknown IO ID 45"} 
[2026-06-02 04:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770727680001,"power":27376,"unknown_176":206,"unknown_19":38144,"ignition":50,"odometer":null,"unknown_45":6120040076798920704}} 
[2026-06-02 04:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":89472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:25:37] local.INFO: GPS data processed {"connection_id":89472,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:25:37] local.INFO: Acknowledgment sent {"connection_id":89472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:25:38] local.INFO: TCP Data received {"connection_id":89472,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85648d20012d54c6400644ffd8001001472d..."} 
[2026-06-02 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85648d20012d54c6400644ffd8001001472d..."} 
[2026-06-02 04:25:38] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85648d20012d54c6400644ffd8001001472d..."} 
[2026-06-02 04:25:38] local.INFO: Packet analysis {"connection_id":89472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:25:38] local.INFO: Extracted packet for processing {"connection_id":89472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8564"} 
[2026-06-02 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":760530496,"raw_latitude":105185240,"longitude_deg":76.0530496,"latitude_deg":10.518524,"altitude":16,"angle":327,"satellites":45,"speed":54,"hex_longitude":"2d54c640","hex_latitude":"0644ffd8","is_valid_coordinates":true} 
[2026-06-02 04:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770729728001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304591860792295424,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6114129102290126848,"note":"Value kept but may cause issues"} 
[2026-06-02 04:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780354420000,"timestamp_ms":1780354420000,"timestamp_seconds":1780354420,"priority":1,"record_length":96,"hex_timestamp":"0000019e85648d20"} 
[2026-06-02 04:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 04:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770729728001,"66":27267,"176":206,"19":38144,"24":54,"16":304591860792295424,"45":6114129102290126848},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-02 04:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770729728001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:25:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 04:25:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304591860792295424,"km_value":304591860792295.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6114129102290126848,"description":"Unknown IO ID 45"} 
[2026-06-02 04:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770729728001,"power":27267,"unknown_176":206,"unknown_19":38144,"ignition":54,"odometer":null,"unknown_45":6114129102290126848}} 
[2026-06-02 04:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":89472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:25:38] local.INFO: GPS data processed {"connection_id":89472,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:25:38] local.INFO: Acknowledgment sent {"connection_id":89472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:26:25] local.INFO: TCP Data received {"connection_id":90537,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:26:25] local.INFO: Processing buffer {"connection_id":90537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:26:25] local.INFO: IMEI packet received {"connection_id":90537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":90537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:26:30] local.INFO: TCP Data received {"connection_id":90537,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:26:30] local.INFO: Processing buffer {"connection_id":90537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:26:30] local.INFO: IMEI packet received {"connection_id":90537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":90537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:26:35] local.INFO: TCP Data received {"connection_id":90537,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8565e8c8012d53ef00064688980009014e2d..."} 
[2026-06-02 04:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8565e8c8012d53ef00064688980009014e2d..."} 
[2026-06-02 04:26:35] local.INFO: Processing buffer {"connection_id":90537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8565e8c8012d53ef00064688980009014e2d..."} 
[2026-06-02 04:26:35] local.INFO: Packet analysis {"connection_id":90537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8565"} 
[2026-06-02 04:26:35] local.INFO: Extracted packet for processing {"connection_id":90537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8565"} 
[2026-06-02 04:26:35] local.INFO: GPS Element Parsed {"raw_longitude":760475392,"raw_latitude":105285784,"longitude_deg":76.0475392,"latitude_deg":10.5285784,"altitude":9,"angle":334,"satellites":45,"speed":39,"hex_longitude":"2d53ef00","hex_latitude":"06468898","is_valid_coordinates":true} 
[2026-06-02 04:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770751744001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304597397005139968,"note":"Value kept but may cause issues"} 
[2026-06-02 04:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6053049032369471488,"note":"Value kept but may cause issues"} 
[2026-06-02 04:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780354509000,"timestamp_ms":1780354509000,"timestamp_seconds":1780354509,"priority":1,"record_length":96,"hex_timestamp":"0000019e8565e8c8"} 
[2026-06-02 04:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 04:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770751744001,"66":27300,"177":206,"19":38144,"24":39,"16":304597397005139968,"45":6053049032369471488},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-02 04:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770751744001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:26:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 04:26:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304597397005139968,"km_value":304597397005139.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6053049032369471488,"description":"Unknown IO ID 45"} 
[2026-06-02 04:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770751744001,"power":27300,"unknown_177":206,"unknown_19":38144,"ignition":39,"odometer":null,"unknown_45":6053049032369471488}} 
[2026-06-02 04:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":90537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:26:35] local.INFO: GPS data processed {"connection_id":90537,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:26:35] local.INFO: Acknowledgment sent {"connection_id":90537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:27:24] local.INFO: TCP Data received {"connection_id":89073,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:27:24] local.INFO: Processing buffer {"connection_id":89073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:27:24] local.INFO: IMEI packet received {"connection_id":89073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:27:27] local.INFO: TCP Data received {"connection_id":90537,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85660808012d53e4800646a4b8000a015b2d..."} 
[2026-06-02 04:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85660808012d53e4800646a4b8000a015b2d..."} 
[2026-06-02 04:27:27] local.INFO: Processing buffer {"connection_id":90537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85660808012d53e4800646a4b8000a015b2d..."} 
[2026-06-02 04:27:27] local.INFO: Packet analysis {"connection_id":90537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8566"} 
[2026-06-02 04:27:27] local.INFO: Extracted packet for processing {"connection_id":90537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8566"} 
[2026-06-02 04:27:27] local.INFO: GPS Element Parsed {"raw_longitude":760472704,"raw_latitude":105292984,"longitude_deg":76.0472704,"latitude_deg":10.5292984,"altitude":10,"angle":347,"satellites":45,"speed":37,"hex_longitude":"2d53e480","hex_latitude":"0646a4b8","is_valid_coordinates":true} 
[2026-06-02 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770754304001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304597770667294720,"note":"Value kept but may cause issues"} 
[2026-06-02 04:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6048052851535026176,"note":"Value kept but may cause issues"} 
[2026-06-02 04:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780354517000,"timestamp_ms":1780354517000,"timestamp_seconds":1780354517,"priority":1,"record_length":96,"hex_timestamp":"0000019e85660808"} 
[2026-06-02 04:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:27: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-06-02 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 04:27: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-06-02 04:27: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-06-02 04:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":90537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":90537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":90537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770754304001,"66":27332,"177":206,"19":38144,"24":37,"16":304597770667294720,"45":6048052851535026176},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-02 04:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770754304001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:27:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 04:27:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304597770667294720,"km_value":304597770667294.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6048052851535026176,"description":"Unknown IO ID 45"} 
[2026-06-02 04:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770754304001,"power":27332,"unknown_177":206,"unknown_19":38144,"ignition":37,"odometer":null,"unknown_45":6048052851535026176}} 
[2026-06-02 04:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":90537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:27:27] local.INFO: GPS data processed {"connection_id":90537,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:27:27] local.INFO: Acknowledgment sent {"connection_id":90537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:27:40] local.INFO: TCP Data received {"connection_id":89074,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:27:40] local.INFO: Processing buffer {"connection_id":89074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:27:40] local.INFO: IMEI packet received {"connection_id":89074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":89074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:27:54] local.INFO: TCP Data received {"connection_id":89074,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:27:54] local.INFO: Processing buffer {"connection_id":89074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:27:54] local.INFO: IMEI packet received {"connection_id":89074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":89074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:27:59] local.INFO: TCP Data received {"connection_id":89473,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:27:59] local.INFO: Processing buffer {"connection_id":89473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:27:59] local.INFO: IMEI packet received {"connection_id":89473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":89473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:28:11] local.INFO: TCP Data received {"connection_id":89074,"ip":"117.224.195.65","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 04:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89074,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 04:28:11] local.INFO: Processing buffer {"connection_id":89074,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 04:28:11] local.INFO: IMEI packet received {"connection_id":89074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":89074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:32:54] local.INFO: TCP Data received {"connection_id":89077,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:32:54] local.INFO: Processing buffer {"connection_id":89077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:32:54] local.INFO: IMEI packet received {"connection_id":89077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":89077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:32:55] local.INFO: TCP Data received {"connection_id":89077,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e856bad58012d518b40064beae80000015129..."} 
[2026-06-02 04:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e856bad58012d518b40064beae80000015129..."} 
[2026-06-02 04:32:55] local.INFO: Processing buffer {"connection_id":89077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e856bad58012d518b40064beae80000015129..."} 
[2026-06-02 04:32:55] local.INFO: Packet analysis {"connection_id":89077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e856b"} 
[2026-06-02 04:32:55] local.INFO: Extracted packet for processing {"connection_id":89077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e856b"} 
[2026-06-02 04:32:55] local.INFO: GPS Element Parsed {"raw_longitude":760318784,"raw_latitude":105638632,"longitude_deg":76.0318784,"latitude_deg":10.5638632,"altitude":0,"angle":337,"satellites":41,"speed":29,"hex_longitude":"2d518b40","hex_latitude":"064beae8","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770847744001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304616625573724160,"note":"Value kept but may cause issues"} 
[2026-06-02 04:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5879590078061826048,"note":"Value kept but may cause issues"} 
[2026-06-02 04:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780354887000,"timestamp_ms":1780354887000,"timestamp_seconds":1780354887,"priority":1,"record_length":96,"hex_timestamp":"0000019e856bad58"} 
[2026-06-02 04:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:32: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-06-02 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:32: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-06-02 04: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-06-02 04:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":89077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":89077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":89077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770847744001,"66":27321,"89":206,"19":38144,"24":29,"16":304616625573724160,"45":5879590078061826048},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-06-02 04:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770847744001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:32:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 04:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304616625573724160,"km_value":304616625573724.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5879590078061826048,"description":"Unknown IO ID 45"} 
[2026-06-02 04:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770847744001,"power":27321,"unknown_89":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":5879590078061826048}} 
[2026-06-02 04:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":89077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:32:55] local.INFO: GPS data processed {"connection_id":89077,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:32:55] local.INFO: Acknowledgment sent {"connection_id":89077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:33:19] local.INFO: TCP Data received {"connection_id":90540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:33:19] local.INFO: Processing buffer {"connection_id":90540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:33:19] local.INFO: IMEI packet received {"connection_id":90540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":90540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:33:24] local.INFO: TCP Data received {"connection_id":89078,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:24] local.INFO: Processing buffer {"connection_id":89078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:24] local.INFO: IMEI packet received {"connection_id":89078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":89078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:33:25] local.INFO: TCP Data received {"connection_id":89078,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:25] local.INFO: Processing buffer {"connection_id":89078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:25] local.INFO: IMEI packet received {"connection_id":89078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":89078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:33:30] local.INFO: TCP Data received {"connection_id":89078,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:30] local.INFO: Processing buffer {"connection_id":89078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:33:30] local.INFO: IMEI packet received {"connection_id":89078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":89078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:33:31] local.INFO: TCP Data received {"connection_id":89078,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e856c9ba0012d5160c0064c69000005014a2b..."} 
[2026-06-02 04:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e856c9ba0012d5160c0064c69000005014a2b..."} 
[2026-06-02 04:33:31] local.INFO: Processing buffer {"connection_id":89078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e856c9ba0012d5160c0064c69000005014a2b..."} 
[2026-06-02 04:33:31] local.INFO: Packet analysis {"connection_id":89078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e856c"} 
[2026-06-02 04:33:31] local.INFO: Extracted packet for processing {"connection_id":89078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e856c"} 
[2026-06-02 04:33:31] local.INFO: GPS Element Parsed {"raw_longitude":760307904,"raw_latitude":105670912,"longitude_deg":76.0307904,"latitude_deg":10.5670912,"altitude":5,"angle":330,"satellites":43,"speed":38,"hex_longitude":"2d5160c0","hex_latitude":"064c6900","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770863616001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304618347855609856,"note":"Value kept but may cause issues"} 
[2026-06-02 04:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868190341513404416,"note":"Value kept but may cause issues"} 
[2026-06-02 04:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780354948000,"timestamp_ms":1780354948000,"timestamp_seconds":1780354948,"priority":1,"record_length":96,"hex_timestamp":"0000019e856c9ba0"} 
[2026-06-02 04:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:33: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-06-02 04:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 04:33:31] 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-06-02 04: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-06-02 04:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770863616001,"66":27245,"89":206,"19":38144,"24":38,"16":304618347855609856,"45":5868190341513404416},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-06-02 04:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770863616001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:33:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 04:33:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304618347855609856,"km_value":304618347855609.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868190341513404416,"description":"Unknown IO ID 45"} 
[2026-06-02 04:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770863616001,"power":27245,"unknown_89":206,"unknown_19":38144,"ignition":38,"odometer":null,"unknown_45":5868190341513404416}} 
[2026-06-02 04:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":89078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:33:31] local.INFO: GPS data processed {"connection_id":89078,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:33:31] local.INFO: Acknowledgment sent {"connection_id":89078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:33:59] local.INFO: TCP Data received {"connection_id":90541,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:33:59] local.INFO: Processing buffer {"connection_id":90541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:33:59] local.INFO: IMEI packet received {"connection_id":90541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":90541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:34:04] local.INFO: TCP Data received {"connection_id":89078,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e856cbec8012d514f40064c86f8000201442b..."} 
[2026-06-02 04:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e856cbec8012d514f40064c86f8000201442b..."} 
[2026-06-02 04:34:04] local.INFO: Processing buffer {"connection_id":89078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e856cbec8012d514f40064c86f8000201442b..."} 
[2026-06-02 04:34:04] local.INFO: Packet analysis {"connection_id":89078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e856c"} 
[2026-06-02 04:34:04] local.INFO: Extracted packet for processing {"connection_id":89078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e856c"} 
[2026-06-02 04:34:04] local.INFO: GPS Element Parsed {"raw_longitude":760303424,"raw_latitude":105678584,"longitude_deg":76.0303424,"latitude_deg":10.5678584,"altitude":2,"angle":324,"satellites":43,"speed":36,"hex_longitude":"2d514f40","hex_latitude":"064c86f8","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770866688001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304618777352339456,"note":"Value kept but may cause issues"} 
[2026-06-02 04:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863897848120672256,"note":"Value kept but may cause issues"} 
[2026-06-02 04:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780354957000,"timestamp_ms":1780354957000,"timestamp_seconds":1780354957,"priority":1,"record_length":96,"hex_timestamp":"0000019e856cbec8"} 
[2026-06-02 04:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 04:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770866688001,"66":27213,"34":206,"19":38144,"24":36,"16":304618777352339456,"45":5863897848120672256},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-02 04:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770866688001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:34:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 04:34:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304618777352339456,"km_value":304618777352339.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863897848120672256,"description":"Unknown IO ID 45"} 
[2026-06-02 04:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770866688001,"power":27213,"unknown_34":206,"unknown_19":38144,"ignition":36,"odometer":null,"unknown_45":5863897848120672256}} 
[2026-06-02 04:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":89078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:34:04] local.INFO: GPS data processed {"connection_id":89078,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:34:04] local.INFO: Acknowledgment sent {"connection_id":89078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:34:23] local.INFO: TCP Data received {"connection_id":89475,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:23] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:23] local.INFO: IMEI packet received {"connection_id":89475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":89475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:34:25] local.INFO: TCP Data received {"connection_id":89475,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:25] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:25] local.INFO: IMEI packet received {"connection_id":89475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":89475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:34:26] local.INFO: TCP Data received {"connection_id":89475,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:26] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:26] local.INFO: IMEI packet received {"connection_id":89475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":89475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:34:27] local.INFO: TCP Data received {"connection_id":89475,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:27] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:34:27] local.INFO: IMEI packet received {"connection_id":89475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":89475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:39:14] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:39:14] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:39:14] local.INFO: IMEI packet received {"connection_id":89476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":89476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:39:30] local.INFO: TCP Data received {"connection_id":90545,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:39:30] local.INFO: Processing buffer {"connection_id":90545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:39:30] local.INFO: IMEI packet received {"connection_id":90545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":90545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:39:32] local.INFO: TCP Data received {"connection_id":90545,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85710870012d501c80064e62a8000d00e42a..."} 
[2026-06-02 04:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85710870012d501c80064e62a8000d00e42a..."} 
[2026-06-02 04:39:32] local.INFO: Processing buffer {"connection_id":90545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85710870012d501c80064e62a8000d00e42a..."} 
[2026-06-02 04:39:32] local.INFO: Packet analysis {"connection_id":90545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:39:32] local.INFO: Extracted packet for processing {"connection_id":90545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:39:32] local.INFO: GPS Element Parsed {"raw_longitude":760224896,"raw_latitude":105800360,"longitude_deg":76.0224896,"latitude_deg":10.580036,"altitude":13,"angle":228,"satellites":42,"speed":12,"hex_longitude":"2d501c80","hex_latitude":"064e62a8","is_valid_coordinates":true} 
[2026-06-02 04:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770936832001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626233415565312,"note":"Value kept but may cause issues"} 
[2026-06-02 04:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5778047980257859584,"note":"Value kept but may cause issues"} 
[2026-06-02 04:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780355238000,"timestamp_ms":1780355238000,"timestamp_seconds":1780355238,"priority":1,"record_length":96,"hex_timestamp":"0000019e85710870"} 
[2026-06-02 04:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:39: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-06-02 04:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 04:39:32] 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-06-02 04:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770936832001,"66":27593,"35":206,"19":38144,"24":12,"16":304626233415565312,"45":5778047980257859584},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770936832001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:39:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:39:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626233415565312,"km_value":304626233415565.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5778047980257859584,"description":"Unknown IO ID 45"} 
[2026-06-02 04:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770936832001,"power":27593,"unknown_35":206,"unknown_19":38144,"ignition":12,"odometer":null,"unknown_45":5778047980257859584}} 
[2026-06-02 04:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":90545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:39:32] local.INFO: GPS data processed {"connection_id":90545,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:39:32] local.INFO: Acknowledgment sent {"connection_id":90545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:39:59] local.INFO: TCP Data received {"connection_id":89336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:39:59] local.INFO: Processing buffer {"connection_id":89336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:39:59] local.INFO: IMEI packet received {"connection_id":89336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":89336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:40:04] local.INFO: TCP Data received {"connection_id":90545,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857123c8012d501680064e5dd8000c00f028..."} 
[2026-06-02 04:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857123c8012d501680064e5dd8000c00f028..."} 
[2026-06-02 04:40:04] local.INFO: Processing buffer {"connection_id":90545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857123c8012d501680064e5dd8000c00f028..."} 
[2026-06-02 04:40:04] local.INFO: Packet analysis {"connection_id":90545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:40:04] local.INFO: Extracted packet for processing {"connection_id":90545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:40:04] local.INFO: GPS Element Parsed {"raw_longitude":760223360,"raw_latitude":105799128,"longitude_deg":76.022336,"latitude_deg":10.5799128,"altitude":12,"angle":240,"satellites":40,"speed":9,"hex_longitude":"2d501680","hex_latitude":"064e5dd8","is_valid_coordinates":true} 
[2026-06-02 04:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770940928001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626327904845824,"note":"Value kept but may cause issues"} 
[2026-06-02 04:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5772629586955380736,"note":"Value kept but may cause issues"} 
[2026-06-02 04:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780355245000,"timestamp_ms":1780355245000,"timestamp_seconds":1780355245,"priority":1,"record_length":96,"hex_timestamp":"0000019e857123c8"} 
[2026-06-02 04:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-02 04:40:04] 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-06-02 04:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770940928001,"66":27593,"35":206,"19":38144,"24":9,"16":304626327904845824,"45":5772629586955380736},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770940928001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:40:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:40:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626327904845824,"km_value":304626327904845.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5772629586955380736,"description":"Unknown IO ID 45"} 
[2026-06-02 04:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770940928001,"power":27593,"unknown_35":206,"unknown_19":38144,"ignition":9,"odometer":null,"unknown_45":5772629586955380736}} 
[2026-06-02 04:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":90545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:40:04] local.INFO: GPS data processed {"connection_id":90545,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:40:04] local.INFO: Acknowledgment sent {"connection_id":90545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:40:25] local.INFO: TCP Data received {"connection_id":90546,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:40:25] local.INFO: Processing buffer {"connection_id":90546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:40:25] local.INFO: IMEI packet received {"connection_id":90546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":90546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:40:30] local.INFO: TCP Data received {"connection_id":90546,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:40:30] local.INFO: Processing buffer {"connection_id":90546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:40:30] local.INFO: IMEI packet received {"connection_id":90546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":90546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:40:31] local.INFO: TCP Data received {"connection_id":90546,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857127b0012d5015c0064e5d88000c00ff2a..."} 
[2026-06-02 04:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857127b0012d5015c0064e5d88000c00ff2a..."} 
[2026-06-02 04:40:31] local.INFO: Processing buffer {"connection_id":90546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857127b0012d5015c0064e5d88000c00ff2a..."} 
[2026-06-02 04:40:31] local.INFO: Packet analysis {"connection_id":90546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:40:31] local.INFO: Extracted packet for processing {"connection_id":90546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:40:31] local.INFO: GPS Element Parsed {"raw_longitude":760223168,"raw_latitude":105799048,"longitude_deg":76.0223168,"latitude_deg":10.5799048,"altitude":12,"angle":255,"satellites":42,"speed":9,"hex_longitude":"2d5015c0","hex_latitude":"064e5d88","is_valid_coordinates":true} 
[2026-06-02 04:40: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-06-02 04:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770942720001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626340789747712,"note":"Value kept but may cause issues"} 
[2026-06-02 04:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770940737094801408,"note":"Value kept but may cause issues"} 
[2026-06-02 04:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780355246000,"timestamp_ms":1780355246000,"timestamp_seconds":1780355246,"priority":1,"record_length":96,"hex_timestamp":"0000019e857127b0"} 
[2026-06-02 04:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:40: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-06-02 04:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-02 04:40:31] 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-06-02 04:40: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-06-02 04:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770942720001,"66":27745,"35":206,"19":38144,"24":9,"16":304626340789747712,"45":5770940737094801408},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770942720001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:40:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:40:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626340789747712,"km_value":304626340789747.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770940737094801408,"description":"Unknown IO ID 45"} 
[2026-06-02 04:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770942720001,"power":27745,"unknown_35":206,"unknown_19":38144,"ignition":9,"odometer":null,"unknown_45":5770940737094801408}} 
[2026-06-02 04:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":90546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:40:31] local.INFO: GPS data processed {"connection_id":90546,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:40:31] local.INFO: Acknowledgment sent {"connection_id":90546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:41:03] local.INFO: TCP Data received {"connection_id":90546,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85712b98012d5014c0064e5d68000c010e29..."} 
[2026-06-02 04:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85712b98012d5014c0064e5d68000c010e29..."} 
[2026-06-02 04:41:03] local.INFO: Processing buffer {"connection_id":90546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85712b98012d5014c0064e5d68000c010e29..."} 
[2026-06-02 04:41:03] local.INFO: Packet analysis {"connection_id":90546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:41:03] local.INFO: Extracted packet for processing {"connection_id":90546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":760222912,"raw_latitude":105799016,"longitude_deg":76.0222912,"latitude_deg":10.5799016,"altitude":12,"angle":270,"satellites":41,"speed":10,"hex_longitude":"2d5014c0","hex_latitude":"064e5d68","is_valid_coordinates":true} 
[2026-06-02 04:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770942976001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770729630862247936,"note":"Value kept but may cause issues"} 
[2026-06-02 04:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780355247000,"timestamp_ms":1780355247000,"timestamp_seconds":1780355247,"priority":1,"record_length":96,"hex_timestamp":"0000019e85712b98"} 
[2026-06-02 04:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:41: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-06-02 04:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 04:41: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-06-02 04:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770942976001,"66":27745,"35":206,"19":38144,"24":10,"16":304626353674649600,"45":5770729630862247936},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770942976001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:41:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:41:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770729630862247936,"description":"Unknown IO ID 45"} 
[2026-06-02 04:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770942976001,"power":27745,"unknown_35":206,"unknown_19":38144,"ignition":10,"odometer":null,"unknown_45":5770729630862247936}} 
[2026-06-02 04:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":90546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:41:03] local.INFO: GPS data processed {"connection_id":90546,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:41:03] local.INFO: Acknowledgment sent {"connection_id":90546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:41:26] local.INFO: TCP Data received {"connection_id":89477,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:41:26] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:41:26] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:41:30] local.INFO: TCP Data received {"connection_id":89477,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:41:30] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:41:30] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:41:32] local.INFO: TCP Data received {"connection_id":89477,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85712b98012d5014c0064e5d68000c010e29..."} 
[2026-06-02 04:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85712b98012d5014c0064e5d68000c010e29..."} 
[2026-06-02 04:41:32] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85712b98012d5014c0064e5d68000c010e29..."} 
[2026-06-02 04:41:32] local.INFO: Packet analysis {"connection_id":89477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:41:32] local.INFO: Extracted packet for processing {"connection_id":89477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:41:32] local.INFO: GPS Element Parsed {"raw_longitude":760222912,"raw_latitude":105799016,"longitude_deg":76.0222912,"latitude_deg":10.5799016,"altitude":12,"angle":270,"satellites":41,"speed":10,"hex_longitude":"2d5014c0","hex_latitude":"064e5d68","is_valid_coordinates":true} 
[2026-06-02 04:41: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-06-02 04:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770943232001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770448155885529088,"note":"Value kept but may cause issues"} 
[2026-06-02 04:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780355247000,"timestamp_ms":1780355247000,"timestamp_seconds":1780355247,"priority":1,"record_length":96,"hex_timestamp":"0000019e85712b98"} 
[2026-06-02 04:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:41: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-06-02 04:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 04:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770943232001,"66":27745,"35":206,"19":38144,"24":10,"16":304626353674649600,"45":5770448155885529088},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770943232001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:41:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770448155885529088,"description":"Unknown IO ID 45"} 
[2026-06-02 04:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770943232001,"power":27745,"unknown_35":206,"unknown_19":38144,"ignition":10,"odometer":null,"unknown_45":5770448155885529088}} 
[2026-06-02 04:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":89477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:41:32] local.INFO: GPS data processed {"connection_id":89477,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:41:32] local.INFO: Acknowledgment sent {"connection_id":89477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:42:04] local.INFO: TCP Data received {"connection_id":89477,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85713368012d5012c0064e5d60000d00fc2a..."} 
[2026-06-02 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85713368012d5012c0064e5d60000d00fc2a..."} 
[2026-06-02 04:42:04] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85713368012d5012c0064e5d60000d00fc2a..."} 
[2026-06-02 04:42:04] local.INFO: Packet analysis {"connection_id":89477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:42:04] local.INFO: Extracted packet for processing {"connection_id":89477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":760222400,"raw_latitude":105799008,"longitude_deg":76.02224,"latitude_deg":10.5799008,"altitude":13,"angle":252,"satellites":42,"speed":7,"hex_longitude":"2d5012c0","hex_latitude":"064e5d60","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770943232001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770448155885529088,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780355249000,"timestamp_ms":1780355249000,"timestamp_seconds":1780355249,"priority":1,"record_length":96,"hex_timestamp":"0000019e85713368"} 
[2026-06-02 04:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 04:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770943232001,"66":27767,"35":206,"19":38144,"24":7,"16":304626353674649600,"45":5770448155885529088},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770943232001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:42:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:42:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770448155885529088,"description":"Unknown IO ID 45"} 
[2026-06-02 04:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770943232001,"power":27767,"unknown_35":206,"unknown_19":38144,"ignition":7,"odometer":null,"unknown_45":5770448155885529088}} 
[2026-06-02 04:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":89477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:42:04] local.INFO: GPS data processed {"connection_id":89477,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:42:04] local.INFO: Acknowledgment sent {"connection_id":89477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:42:30] local.INFO: TCP Data received {"connection_id":89478,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:42:30] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:42:30] local.INFO: IMEI packet received {"connection_id":89478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":89478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:42:35] local.INFO: TCP Data received {"connection_id":89478,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:42:35] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:42:35] local.INFO: IMEI packet received {"connection_id":89478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":89478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:42:36] local.INFO: TCP Data received {"connection_id":89478,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85713b38012d501100064e5c98000f00e329..."} 
[2026-06-02 04:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85713b38012d501100064e5c98000f00e329..."} 
[2026-06-02 04:42:36] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85713b38012d501100064e5c98000f00e329..."} 
[2026-06-02 04:42:36] local.INFO: Packet analysis {"connection_id":89478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:42:36] local.INFO: Extracted packet for processing {"connection_id":89478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:42:36] local.INFO: GPS Element Parsed {"raw_longitude":760221952,"raw_latitude":105798808,"longitude_deg":76.0221952,"latitude_deg":10.5798808,"altitude":15,"angle":227,"satellites":41,"speed":8,"hex_longitude":"2d501100","hex_latitude":"064e5c98","is_valid_coordinates":true} 
[2026-06-02 04:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770943744001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769885205932105728,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780355251000,"timestamp_ms":1780355251000,"timestamp_seconds":1780355251,"priority":1,"record_length":96,"hex_timestamp":"0000019e85713b38"} 
[2026-06-02 04:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 04:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770943744001,"66":27006,"35":206,"19":38144,"24":8,"16":304626353674649600,"45":5769885205932105728},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770943744001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:42:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:42:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769885205932105728,"description":"Unknown IO ID 45"} 
[2026-06-02 04:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770943744001,"power":27006,"unknown_35":206,"unknown_19":38144,"ignition":8,"odometer":null,"unknown_45":5769885205932105728}} 
[2026-06-02 04:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":89478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:42:36] local.INFO: GPS data processed {"connection_id":89478,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:42:36] local.INFO: Acknowledgment sent {"connection_id":89478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:42:41] local.INFO: TCP Data received {"connection_id":89478,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85713b38012d501100064e5c98000f00e329..."} 
[2026-06-02 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85713b38012d501100064e5c98000f00e329..."} 
[2026-06-02 04:42:41] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85713b38012d501100064e5c98000f00e329..."} 
[2026-06-02 04:42:41] local.INFO: Packet analysis {"connection_id":89478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:42:41] local.INFO: Extracted packet for processing {"connection_id":89478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8571"} 
[2026-06-02 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":760221952,"raw_latitude":105798808,"longitude_deg":76.0221952,"latitude_deg":10.5798808,"altitude":15,"angle":227,"satellites":41,"speed":8,"hex_longitude":"2d501100","hex_latitude":"064e5c98","is_valid_coordinates":true} 
[2026-06-02 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770943744001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769885205932105728,"note":"Value kept but may cause issues"} 
[2026-06-02 04:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780355251000,"timestamp_ms":1780355251000,"timestamp_seconds":1780355251,"priority":1,"record_length":96,"hex_timestamp":"0000019e85713b38"} 
[2026-06-02 04:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 04:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770943744001,"66":27006,"35":206,"19":38144,"24":8,"16":304626353674649600,"45":5769885205932105728},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770943744001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:42:41] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:42:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769885205932105728,"description":"Unknown IO ID 45"} 
[2026-06-02 04:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770943744001,"power":27006,"unknown_35":206,"unknown_19":38144,"ignition":8,"odometer":null,"unknown_45":5769885205932105728}} 
[2026-06-02 04:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":89478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:42:41] local.INFO: GPS data processed {"connection_id":89478,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:42:41] local.INFO: Acknowledgment sent {"connection_id":89478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:43:25] local.INFO: TCP Data received {"connection_id":89082,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:43:25] local.INFO: Processing buffer {"connection_id":89082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:43:25] local.INFO: IMEI packet received {"connection_id":89082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":89082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:43:31] local.INFO: TCP Data received {"connection_id":89082,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:43:31] local.INFO: Processing buffer {"connection_id":89082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:43:31] local.INFO: IMEI packet received {"connection_id":89082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":89082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:43:32] local.INFO: TCP Data received {"connection_id":89082,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:43:32] local.INFO: Processing buffer {"connection_id":89082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:43:32] local.INFO: Packet analysis {"connection_id":89082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:43:32] local.INFO: Extracted packet for processing {"connection_id":89082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:43:32] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:43:32] 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-06-02 04:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:43:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:43:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":89082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:43:32] local.INFO: GPS data processed {"connection_id":89082,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:43:32] local.INFO: Acknowledgment sent {"connection_id":89082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:44:04] local.INFO: TCP Data received {"connection_id":89082,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:44:04] local.INFO: Processing buffer {"connection_id":89082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:44:04] local.INFO: Packet analysis {"connection_id":89082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:44:04] local.INFO: Extracted packet for processing {"connection_id":89082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:44:04] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:44:04] 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-06-02 04:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:44:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":89082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:44:04] local.INFO: GPS data processed {"connection_id":89082,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:44:04] local.INFO: Acknowledgment sent {"connection_id":89082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:44:25] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:44:25] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:44:25] local.INFO: IMEI packet received {"connection_id":89339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":89339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:44:30] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:44:30] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:44:30] local.INFO: IMEI packet received {"connection_id":89339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":89339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:44:32] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:44:32] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:44:32] local.INFO: Packet analysis {"connection_id":89339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:44:32] local.INFO: Extracted packet for processing {"connection_id":89339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:44:32] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:44:32] 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-06-02 04:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:44:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":89339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:44:32] local.INFO: GPS data processed {"connection_id":89339,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:44:32] local.INFO: Acknowledgment sent {"connection_id":89339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:45:04] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:04] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:04] local.INFO: Packet analysis {"connection_id":89339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:45:04] local.INFO: Extracted packet for processing {"connection_id":89339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:45:04] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:45:04] 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-06-02 04: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-06-02 04:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:45:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:45:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":89339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:45:04] local.INFO: GPS data processed {"connection_id":89339,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:45:04] local.INFO: Acknowledgment sent {"connection_id":89339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:45:24] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:45:24] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:45:24] local.INFO: IMEI packet received {"connection_id":89480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:45:30] local.INFO: TCP Data received {"connection_id":90548,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:45:30] local.INFO: Processing buffer {"connection_id":90548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:45:30] local.INFO: IMEI packet received {"connection_id":90548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":90548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:45:35] local.INFO: TCP Data received {"connection_id":90548,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:45:35] local.INFO: Processing buffer {"connection_id":90548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:45:35] local.INFO: IMEI packet received {"connection_id":90548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":90548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:45:36] local.INFO: TCP Data received {"connection_id":90548,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:36] local.INFO: Processing buffer {"connection_id":90548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:36] local.INFO: Packet analysis {"connection_id":90548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:45:36] local.INFO: Extracted packet for processing {"connection_id":90548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:45:36] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:45:36] 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-06-02 04:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:45:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:45:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":90548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:45:36] local.INFO: GPS data processed {"connection_id":90548,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:45:36] local.INFO: Acknowledgment sent {"connection_id":90548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:45:41] local.INFO: TCP Data received {"connection_id":90548,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:41] local.INFO: Processing buffer {"connection_id":90548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:45:41] local.INFO: Packet analysis {"connection_id":90548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:45:41] local.INFO: Extracted packet for processing {"connection_id":90548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:45:41] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:45:41] 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-06-02 04:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:45:41] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:45:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":90548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:45:41] local.INFO: GPS data processed {"connection_id":90548,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:45:41] local.INFO: Acknowledgment sent {"connection_id":90548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:46:04] local.INFO: TCP Data received {"connection_id":89481,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:46:04] local.INFO: Processing buffer {"connection_id":89481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:46:04] local.INFO: IMEI packet received {"connection_id":89481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":89481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:46:25] local.INFO: TCP Data received {"connection_id":90549,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:46:25] local.INFO: Processing buffer {"connection_id":90549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:46:25] local.INFO: IMEI packet received {"connection_id":90549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":90549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:46:30] local.INFO: TCP Data received {"connection_id":90549,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:46:30] local.INFO: Processing buffer {"connection_id":90549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:46:30] local.INFO: IMEI packet received {"connection_id":90549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":90549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:46:32] local.INFO: TCP Data received {"connection_id":90549,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:46:32] local.INFO: Processing buffer {"connection_id":90549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:46:32] local.INFO: Packet analysis {"connection_id":90549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:46:32] local.INFO: Extracted packet for processing {"connection_id":90549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:46:32] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:46:32] 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-06-02 04:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:46:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":90549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:46:32] local.INFO: GPS data processed {"connection_id":90549,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:46:32] local.INFO: Acknowledgment sent {"connection_id":90549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:47:03] local.INFO: TCP Data received {"connection_id":90549,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:47:03] local.INFO: Processing buffer {"connection_id":90549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:47:03] local.INFO: Packet analysis {"connection_id":90549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:47:03] local.INFO: Extracted packet for processing {"connection_id":90549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:47:03] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:47:03] 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-06-02 04: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-06-02 04:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:47:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:47:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":90549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:47:04] local.INFO: GPS data processed {"connection_id":90549,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:47:04] local.INFO: Acknowledgment sent {"connection_id":90549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:47:25] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:47:25] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:47:25] local.INFO: IMEI packet received {"connection_id":89340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":89340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:47:30] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:47:30] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:47:30] local.INFO: IMEI packet received {"connection_id":89340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":89340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:47:31] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:47:31] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:47:31] local.INFO: Packet analysis {"connection_id":89340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:47:31] local.INFO: Extracted packet for processing {"connection_id":89340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:47:31] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:47:31] 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-06-02 04:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:47:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:47:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":89340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:47:31] local.INFO: GPS data processed {"connection_id":89340,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:47:31] local.INFO: Acknowledgment sent {"connection_id":89340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:48:03] local.INFO: TCP Data received {"connection_id":89340,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:48:03] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8575d6e8012d500f40064e5b70001100e62c..."} 
[2026-06-02 04:48:03] local.INFO: Packet analysis {"connection_id":89340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:48:03] local.INFO: Extracted packet for processing {"connection_id":89340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8575"} 
[2026-06-02 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455770944256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769392624722810880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780355553000,"timestamp_ms":1780355553000,"timestamp_seconds":1780355553,"priority":1,"record_length":96,"hex_timestamp":"0000019e8575d6e8"} 
[2026-06-02 04:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-02 04:48:03] 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-06-02 04:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455770944256001,"66":25647,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5769392624722810880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455770944256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:48:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:48:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769392624722810880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455770944256001,"power":25647,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5769392624722810880}} 
[2026-06-02 04:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":89340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:48:03] local.INFO: GPS data processed {"connection_id":89340,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:48:03] local.INFO: Acknowledgment sent {"connection_id":89340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:48:25] local.INFO: TCP Data received {"connection_id":90551,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:48:25] local.INFO: Processing buffer {"connection_id":90551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:48:25] local.INFO: IMEI packet received {"connection_id":90551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":90551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:48:30] local.INFO: TCP Data received {"connection_id":90551,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:48:30] local.INFO: Processing buffer {"connection_id":90551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:48:30] local.INFO: IMEI packet received {"connection_id":90551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":90551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:48:33] local.INFO: TCP Data received {"connection_id":90551,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857a6eb0012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857a6eb0012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:48:33] local.INFO: Processing buffer {"connection_id":90551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857a6eb0012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:48:33] local.INFO: Packet analysis {"connection_id":90551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857a"} 
[2026-06-02 04:48:33] local.INFO: Extracted packet for processing {"connection_id":90551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857a"} 
[2026-06-02 04:48:33] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771021568001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768900043513491456,"note":"Value kept but may cause issues"} 
[2026-06-02 04:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780355854000,"timestamp_ms":1780355854000,"timestamp_seconds":1780355854,"priority":1,"record_length":96,"hex_timestamp":"0000019e857a6eb0"} 
[2026-06-02 04:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 04:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771021568001,"66":25430,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5768900043513491456},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771021568001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:48:33] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:48:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768900043513491456,"description":"Unknown IO ID 45"} 
[2026-06-02 04:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771021568001,"power":25430,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5768900043513491456}} 
[2026-06-02 04:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":90551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:48:33] local.INFO: GPS data processed {"connection_id":90551,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:48:33] local.INFO: Acknowledgment sent {"connection_id":90551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:49:05] local.INFO: TCP Data received {"connection_id":90551,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857a6eb0012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857a6eb0012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:49:05] local.INFO: Processing buffer {"connection_id":90551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857a6eb0012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:49:05] local.INFO: Packet analysis {"connection_id":90551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857a"} 
[2026-06-02 04:49:05] local.INFO: Extracted packet for processing {"connection_id":90551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857a"} 
[2026-06-02 04:49:05] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771021568001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768900043513491456,"note":"Value kept but may cause issues"} 
[2026-06-02 04:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780355854000,"timestamp_ms":1780355854000,"timestamp_seconds":1780355854,"priority":1,"record_length":96,"hex_timestamp":"0000019e857a6eb0"} 
[2026-06-02 04:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 04:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04: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-06-02 04:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771021568001,"66":25430,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5768900043513491456},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771021568001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:49:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:49:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768900043513491456,"description":"Unknown IO ID 45"} 
[2026-06-02 04:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771021568001,"power":25430,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5768900043513491456}} 
[2026-06-02 04:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":90551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:49:05] local.INFO: GPS data processed {"connection_id":90551,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:49:05] local.INFO: Acknowledgment sent {"connection_id":90551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:49:26] local.INFO: TCP Data received {"connection_id":89085,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:49:26] local.INFO: Processing buffer {"connection_id":89085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:49:26] local.INFO: IMEI packet received {"connection_id":89085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":89085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:49:28] local.INFO: TCP Data received {"connection_id":89085,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:49:28] local.INFO: Processing buffer {"connection_id":89085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:49:28] local.INFO: IMEI packet received {"connection_id":89085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:49:30] local.INFO: TCP Data received {"connection_id":89085,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857b9790012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857b9790012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:49:30] local.INFO: Processing buffer {"connection_id":89085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857b9790012d500f40064e5b70001100e62f..."} 
[2026-06-02 04:49:30] local.INFO: Packet analysis {"connection_id":89085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857b"} 
[2026-06-02 04:49:30] local.INFO: Extracted packet for processing {"connection_id":89085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857b"} 
[2026-06-02 04:49:30] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798512,"longitude_deg":76.0221504,"latitude_deg":10.5798512,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b70","is_valid_coordinates":true} 
[2026-06-02 04:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771098624001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768900043513491456,"note":"Value kept but may cause issues"} 
[2026-06-02 04:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780355930000,"timestamp_ms":1780355930000,"timestamp_seconds":1780355930,"priority":1,"record_length":96,"hex_timestamp":"0000019e857b9790"} 
[2026-06-02 04:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 04:49:30] 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-06-02 04: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-06-02 04:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771098624001,"66":25419,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5768900043513491456},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771098624001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:49:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:49:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768900043513491456,"description":"Unknown IO ID 45"} 
[2026-06-02 04:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771098624001,"power":25419,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5768900043513491456}} 
[2026-06-02 04:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":89085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:49:30] local.INFO: GPS data processed {"connection_id":89085,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:49:30] local.INFO: Acknowledgment sent {"connection_id":89085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:50:02] local.INFO: TCP Data received {"connection_id":89085,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857bf168012d500f40064e5b68001100e62e..."} 
[2026-06-02 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857bf168012d500f40064e5b68001100e62e..."} 
[2026-06-02 04:50:02] local.INFO: Processing buffer {"connection_id":89085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857bf168012d500f40064e5b68001100e62e..."} 
[2026-06-02 04:50:02] local.INFO: Packet analysis {"connection_id":89085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857b"} 
[2026-06-02 04:50:02] local.INFO: Extracted packet for processing {"connection_id":89085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857b"} 
[2026-06-02 04:50:02] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798504,"longitude_deg":76.0221504,"latitude_deg":10.5798504,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b68","is_valid_coordinates":true} 
[2026-06-02 04:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771118080001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768900043513491456,"note":"Value kept but may cause issues"} 
[2026-06-02 04:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780355953000,"timestamp_ms":1780355953000,"timestamp_seconds":1780355953,"priority":1,"record_length":96,"hex_timestamp":"0000019e857bf168"} 
[2026-06-02 04:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:50: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-06-02 04:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-02 04:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771118080001,"66":27321,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5768900043513491456},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771118080001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:50:02] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:50:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768900043513491456,"description":"Unknown IO ID 45"} 
[2026-06-02 04:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771118080001,"power":27321,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5768900043513491456}} 
[2026-06-02 04:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":89085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:50:02] local.INFO: GPS data processed {"connection_id":89085,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:50:02] local.INFO: Acknowledgment sent {"connection_id":89085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:50:25] local.INFO: TCP Data received {"connection_id":89341,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:50:25] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:50:25] local.INFO: IMEI packet received {"connection_id":89341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":89341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:50:30] local.INFO: TCP Data received {"connection_id":89341,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:50:30] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:50:30] local.INFO: IMEI packet received {"connection_id":89341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":89341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:50:31] local.INFO: TCP Data received {"connection_id":89341,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857c4370012d500f40064e5b68001100e62d..."} 
[2026-06-02 04:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857c4370012d500f40064e5b68001100e62d..."} 
[2026-06-02 04:50:31] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857c4370012d500f40064e5b68001100e62d..."} 
[2026-06-02 04:50:31] local.INFO: Packet analysis {"connection_id":89341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:50:31] local.INFO: Extracted packet for processing {"connection_id":89341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:50:31] local.INFO: GPS Element Parsed {"raw_longitude":760221504,"raw_latitude":105798504,"longitude_deg":76.0221504,"latitude_deg":10.5798504,"altitude":17,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d500f40","hex_latitude":"064e5b68","is_valid_coordinates":true} 
[2026-06-02 04:50: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-06-02 04:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771123968001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626353674649600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768900043513489408,"note":"Value kept but may cause issues"} 
[2026-06-02 04:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780355974000,"timestamp_ms":1780355974000,"timestamp_seconds":1780355974,"priority":1,"record_length":96,"hex_timestamp":"0000019e857c4370"} 
[2026-06-02 04:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:50: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-06-02 04:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 04:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:50: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-06-02 04:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771123968001,"66":27321,"35":206,"19":38144,"24":0,"16":304626353674649600,"45":5768900043513489408},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771123968001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:50:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:50:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626353674649600,"km_value":304626353674649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768900043513489408,"description":"Unknown IO ID 45"} 
[2026-06-02 04:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771123968001,"power":27321,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5768900043513489408}} 
[2026-06-02 04:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":89341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:50:32] local.INFO: GPS data processed {"connection_id":89341,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:50:32] local.INFO: Acknowledgment sent {"connection_id":89341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:51:08] local.INFO: TCP Data received {"connection_id":89341,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857c6e68012d500dc0064e59c0001100d22e..."} 
[2026-06-02 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857c6e68012d500dc0064e59c0001100d22e..."} 
[2026-06-02 04:51:08] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857c6e68012d500dc0064e59c0001100d22e..."} 
[2026-06-02 04:51:08] local.INFO: Packet analysis {"connection_id":89341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:51:08] local.INFO: Extracted packet for processing {"connection_id":89341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":760221120,"raw_latitude":105798080,"longitude_deg":76.022112,"latitude_deg":10.579808,"altitude":17,"angle":210,"satellites":46,"speed":2,"hex_longitude":"2d500dc0","hex_latitude":"064e59c0","is_valid_coordinates":true} 
[2026-06-02 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771129344001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626379444453376,"note":"Value kept but may cause issues"} 
[2026-06-02 04:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768900043513489408,"note":"Value kept but may cause issues"} 
[2026-06-02 04:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780355985000,"timestamp_ms":1780355985000,"timestamp_seconds":1780355985,"priority":1,"record_length":96,"hex_timestamp":"0000019e857c6e68"} 
[2026-06-02 04:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 04:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771129344001,"66":27397,"35":206,"19":38144,"24":2,"16":304626379444453376,"45":5768900043513489408},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771129344001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:51:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:51:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626379444453376,"km_value":304626379444453.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768900043513489408,"description":"Unknown IO ID 45"} 
[2026-06-02 04:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771129344001,"power":27397,"unknown_35":206,"unknown_19":38144,"ignition":2,"odometer":null,"unknown_45":5768900043513489408}} 
[2026-06-02 04:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":89341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:51:08] local.INFO: GPS data processed {"connection_id":89341,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:51:08] local.INFO: Acknowledgment sent {"connection_id":89341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:51:19] local.INFO: TCP Data received {"connection_id":89483,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:51:19] local.INFO: Processing buffer {"connection_id":89483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:51:19] local.INFO: IMEI packet received {"connection_id":89483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":89483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:51:25] local.INFO: TCP Data received {"connection_id":89086,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:25] local.INFO: Processing buffer {"connection_id":89086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:25] local.INFO: IMEI packet received {"connection_id":89086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":89086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:51:29] local.INFO: TCP Data received {"connection_id":89086,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:29] local.INFO: Processing buffer {"connection_id":89086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:29] local.INFO: IMEI packet received {"connection_id":89086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":89086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:51:30] local.INFO: TCP Data received {"connection_id":89086,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:30] local.INFO: Processing buffer {"connection_id":89086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:51:30] local.INFO: IMEI packet received {"connection_id":89086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":89086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:51:30] local.INFO: TCP Data received {"connection_id":89086,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857c8da8012d500ac0064e5518001200df30..."} 
[2026-06-02 04:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857c8da8012d500ac0064e5518001200df30..."} 
[2026-06-02 04:51:30] local.INFO: Processing buffer {"connection_id":89086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857c8da8012d500ac0064e5518001200df30..."} 
[2026-06-02 04:51:30] local.INFO: Packet analysis {"connection_id":89086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:51:31] local.INFO: Extracted packet for processing {"connection_id":89086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:51:31] local.INFO: GPS Element Parsed {"raw_longitude":760220352,"raw_latitude":105796888,"longitude_deg":76.0220352,"latitude_deg":10.5796888,"altitude":18,"angle":223,"satellites":48,"speed":13,"hex_longitude":"2d500ac0","hex_latitude":"064e5518","is_valid_coordinates":true} 
[2026-06-02 04:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771132160001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626448163930112,"note":"Value kept but may cause issues"} 
[2026-06-02 04:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5768477831048314880,"note":"Value kept but may cause issues"} 
[2026-06-02 04:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780355993000,"timestamp_ms":1780355993000,"timestamp_seconds":1780355993,"priority":1,"record_length":96,"hex_timestamp":"0000019e857c8da8"} 
[2026-06-02 04:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:51: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-06-02 04:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 04:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771132160001,"66":27343,"35":206,"19":38144,"24":13,"16":304626448163930112,"45":5768477831048314880},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771132160001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:51:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:51:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626448163930112,"km_value":304626448163930.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5768477831048314880,"description":"Unknown IO ID 45"} 
[2026-06-02 04:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771132160001,"power":27343,"unknown_35":206,"unknown_19":38144,"ignition":13,"odometer":null,"unknown_45":5768477831048314880}} 
[2026-06-02 04:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":89086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:51:31] local.INFO: GPS data processed {"connection_id":89086,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:51:31] local.INFO: Acknowledgment sent {"connection_id":89086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:51:59] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:51:59] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:51:59] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:52:02] local.INFO: TCP Data received {"connection_id":89086,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857cace8012d5000c0064e4d40001100eb2f..."} 
[2026-06-02 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857cace8012d5000c0064e4d40001100eb2f..."} 
[2026-06-02 04:52:02] local.INFO: Processing buffer {"connection_id":89086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857cace8012d5000c0064e4d40001100eb2f..."} 
[2026-06-02 04:52:02] local.INFO: Packet analysis {"connection_id":89086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:52:02] local.INFO: Extracted packet for processing {"connection_id":89086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857c"} 
[2026-06-02 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":760217792,"raw_latitude":105794880,"longitude_deg":76.0217792,"latitude_deg":10.579488,"altitude":17,"angle":235,"satellites":47,"speed":20,"hex_longitude":"2d5000c0","hex_latitude":"064e4d40","is_valid_coordinates":true} 
[2026-06-02 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771134208001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304626602782752768,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767633406117877760,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780356001000,"timestamp_ms":1780356001000,"timestamp_seconds":1780356001,"priority":1,"record_length":96,"hex_timestamp":"0000019e857cace8"} 
[2026-06-02 04:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:52: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-06-02 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771134208001,"66":27300,"35":206,"19":38144,"24":20,"16":304626602782752768,"45":5767633406117877760},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771134208001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:52:02] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:52:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304626602782752768,"km_value":304626602782752.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5767633406117877760,"description":"Unknown IO ID 45"} 
[2026-06-02 04:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771134208001,"power":27300,"unknown_35":206,"unknown_19":38144,"ignition":20,"odometer":null,"unknown_45":5767633406117877760}} 
[2026-06-02 04:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":89086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:52:02] local.INFO: GPS data processed {"connection_id":89086,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:52:02] local.INFO: Acknowledgment sent {"connection_id":89086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:52:23] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:23] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:23] local.INFO: IMEI packet received {"connection_id":89342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":89342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:52:26] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:26] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:26] local.INFO: IMEI packet received {"connection_id":89342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":89342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:52:30] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:30] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:52:30] local.INFO: IMEI packet received {"connection_id":89342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":89342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:52:31] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857df8f0012d4f7640064e6188000401442e..."} 
[2026-06-02 04:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857df8f0012d4f7640064e6188000401442e..."} 
[2026-06-02 04:52:31] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857df8f0012d4f7640064e6188000401442e..."} 
[2026-06-02 04:52:31] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857d"} 
[2026-06-02 04:52:31] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857d"} 
[2026-06-02 04:52:31] local.INFO: GPS Element Parsed {"raw_longitude":760182336,"raw_latitude":105800072,"longitude_deg":76.0182336,"latitude_deg":10.5800072,"altitude":4,"angle":324,"satellites":46,"speed":19,"hex_longitude":"2d4f7640","hex_latitude":"064e6188","is_valid_coordinates":true} 
[2026-06-02 04:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771158016001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304628982194634752,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5725834372077160448,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780356086000,"timestamp_ms":1780356086000,"timestamp_seconds":1780356086,"priority":1,"record_length":96,"hex_timestamp":"0000019e857df8f0"} 
[2026-06-02 04:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:52: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-06-02 04:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:52: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-06-02 04:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771158016001,"66":27343,"35":206,"19":38144,"24":19,"16":304628982194634752,"45":5725834372077160448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771158016001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:52:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:52:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304628982194634752,"km_value":304628982194634.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5725834372077160448,"description":"Unknown IO ID 45"} 
[2026-06-02 04:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771158016001,"power":27343,"unknown_35":206,"unknown_19":38144,"ignition":19,"odometer":null,"unknown_45":5725834372077160448}} 
[2026-06-02 04:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:52:31] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:52:31] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:52:36] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857e00c0012d4f7340064e6498000401362e..."} 
[2026-06-02 04:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857e00c0012d4f7340064e6498000401362e..."} 
[2026-06-02 04:52:36] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857e00c0012d4f7340064e6498000401362e..."} 
[2026-06-02 04:52:36] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:52:36] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:52:36] local.INFO: GPS Element Parsed {"raw_longitude":760181568,"raw_latitude":105800856,"longitude_deg":76.0181568,"latitude_deg":10.5800856,"altitude":4,"angle":310,"satellites":46,"speed":21,"hex_longitude":"2d4f7340","hex_latitude":"064e6498","is_valid_coordinates":true} 
[2026-06-02 04:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771158016001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304629038029209600,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5725834372077160448,"note":"Value kept but may cause issues"} 
[2026-06-02 04:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780356088000,"timestamp_ms":1780356088000,"timestamp_seconds":1780356088,"priority":1,"record_length":96,"hex_timestamp":"0000019e857e00c0"} 
[2026-06-02 04:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:52: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-06-02 04:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771158016001,"66":27332,"35":206,"19":38144,"24":21,"16":304629038029209600,"45":5725834372077160448},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771158016001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:52:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:52:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304629038029209600,"km_value":304629038029209.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5725834372077160448,"description":"Unknown IO ID 45"} 
[2026-06-02 04:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771158016001,"power":27332,"unknown_35":206,"unknown_19":38144,"ignition":21,"odometer":null,"unknown_45":5725834372077160448}} 
[2026-06-02 04:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:52:36] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:52:36] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:53:07] local.INFO: TCP Data received {"connection_id":89342,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857e1060012d4f6cc0064e6a700004014230..."} 
[2026-06-02 04:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857e1060012d4f6cc0064e6a700004014230..."} 
[2026-06-02 04:53:07] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857e1060012d4f6cc0064e6a700004014230..."} 
[2026-06-02 04:53:07] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:53:07] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:53:07] local.INFO: GPS Element Parsed {"raw_longitude":760179904,"raw_latitude":105802352,"longitude_deg":76.0179904,"latitude_deg":10.5802352,"altitude":4,"angle":322,"satellites":48,"speed":25,"hex_longitude":"2d4f6cc0","hex_latitude":"064e6a70","is_valid_coordinates":true} 
[2026-06-02 04:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771158528001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304629145403392000,"note":"Value kept but may cause issues"} 
[2026-06-02 04:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5724989947147229184,"note":"Value kept but may cause issues"} 
[2026-06-02 04:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780356092000,"timestamp_ms":1780356092000,"timestamp_seconds":1780356092,"priority":1,"record_length":96,"hex_timestamp":"0000019e857e1060"} 
[2026-06-02 04:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771158528001,"66":27343,"35":206,"19":38144,"24":25,"16":304629145403392000,"45":5724989947147229184},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771158528001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:53:07] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:53:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304629145403392000,"km_value":304629145403392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5724989947147229184,"description":"Unknown IO ID 45"} 
[2026-06-02 04:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771158528001,"power":27343,"unknown_35":206,"unknown_19":38144,"ignition":25,"odometer":null,"unknown_45":5724989947147229184}} 
[2026-06-02 04:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:53:07] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:53:07] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:53:25] local.INFO: TCP Data received {"connection_id":90553,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:53:25] local.INFO: Processing buffer {"connection_id":90553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:53:25] local.INFO: IMEI packet received {"connection_id":90553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":90553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:53:29] local.INFO: TCP Data received {"connection_id":90553,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:53:30] local.INFO: Processing buffer {"connection_id":90553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:53:30] local.INFO: IMEI packet received {"connection_id":90553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":90553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:53:30] local.INFO: TCP Data received {"connection_id":90553,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857e4328012d4f5b80064e85800004014d2f..."} 
[2026-06-02 04:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857e4328012d4f5b80064e85800004014d2f..."} 
[2026-06-02 04:53:30] local.INFO: Processing buffer {"connection_id":90553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857e4328012d4f5b80064e85800004014d2f..."} 
[2026-06-02 04:53:30] local.INFO: Packet analysis {"connection_id":90553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:53:30] local.INFO: Extracted packet for processing {"connection_id":90553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:53:30] local.INFO: GPS Element Parsed {"raw_longitude":760175488,"raw_latitude":105809280,"longitude_deg":76.0175488,"latitude_deg":10.580928,"altitude":4,"angle":333,"satellites":47,"speed":20,"hex_longitude":"2d4f5b80","hex_latitude":"064e8580","is_valid_coordinates":true} 
[2026-06-02 04:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771159552001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304629540540383232,"note":"Value kept but may cause issues"} 
[2026-06-02 04:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5723160359798992896,"note":"Value kept but may cause issues"} 
[2026-06-02 04:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780356105000,"timestamp_ms":1780356105000,"timestamp_seconds":1780356105,"priority":1,"record_length":96,"hex_timestamp":"0000019e857e4328"} 
[2026-06-02 04:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:53: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-06-02 04:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:53: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-06-02 04:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771159552001,"66":27397,"35":206,"19":38144,"24":20,"16":304629540540383232,"45":5723160359798992896},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771159552001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:53:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:53:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304629540540383232,"km_value":304629540540383.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5723160359798992896,"description":"Unknown IO ID 45"} 
[2026-06-02 04:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771159552001,"power":27397,"unknown_35":206,"unknown_19":38144,"ignition":20,"odometer":null,"unknown_45":5723160359798992896}} 
[2026-06-02 04:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":90553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:53:30] local.INFO: GPS data processed {"connection_id":90553,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:53:30] local.INFO: Acknowledgment sent {"connection_id":90553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:54:07] local.INFO: TCP Data received {"connection_id":90553,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857e7dc0012d4f4a40064ea3c8000401452f..."} 
[2026-06-02 04:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857e7dc0012d4f4a40064ea3c8000401452f..."} 
[2026-06-02 04:54:07] local.INFO: Processing buffer {"connection_id":90553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857e7dc0012d4f4a40064ea3c8000401452f..."} 
[2026-06-02 04:54:07] local.INFO: Packet analysis {"connection_id":90553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:54:07] local.INFO: Extracted packet for processing {"connection_id":90553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:54:07] local.INFO: GPS Element Parsed {"raw_longitude":760171072,"raw_latitude":105817032,"longitude_deg":76.0171072,"latitude_deg":10.5817032,"altitude":4,"angle":325,"satellites":47,"speed":21,"hex_longitude":"2d4f4a40","hex_latitude":"064ea3c8","is_valid_coordinates":true} 
[2026-06-02 04:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771162880001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304629974332080128,"note":"Value kept but may cause issues"} 
[2026-06-02 04:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5718304916452507648,"note":"Value kept but may cause issues"} 
[2026-06-02 04:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780356120000,"timestamp_ms":1780356120000,"timestamp_seconds":1780356120,"priority":1,"record_length":96,"hex_timestamp":"0000019e857e7dc0"} 
[2026-06-02 04:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 04:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771162880001,"66":27376,"35":206,"19":38144,"24":21,"16":304629974332080128,"45":5718304916452507648},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771162880001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:54:07] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:54:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304629974332080128,"km_value":304629974332080.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5718304916452507648,"description":"Unknown IO ID 45"} 
[2026-06-02 04:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771162880001,"power":27376,"unknown_35":206,"unknown_19":38144,"ignition":21,"odometer":null,"unknown_45":5718304916452507648}} 
[2026-06-02 04:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":90553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:54:07] local.INFO: GPS data processed {"connection_id":90553,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:54:07] local.INFO: Acknowledgment sent {"connection_id":90553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:54:25] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:54:25] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:54:25] local.INFO: IMEI packet received {"connection_id":89343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":89343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:54:30] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:54:30] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:54:30] local.INFO: IMEI packet received {"connection_id":89343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":89343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:54:31] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e857eb470012d4f3780064ec2500003014b2e..."} 
[2026-06-02 04:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e857eb470012d4f3780064ec2500003014b2e..."} 
[2026-06-02 04:54:31] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e857eb470012d4f3780064ec2500003014b2e..."} 
[2026-06-02 04:54:31] local.INFO: Packet analysis {"connection_id":89343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:54:31] local.INFO: Extracted packet for processing {"connection_id":89343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e857e"} 
[2026-06-02 04:54:31] local.INFO: GPS Element Parsed {"raw_longitude":760166272,"raw_latitude":105824848,"longitude_deg":76.0166272,"latitude_deg":10.5824848,"altitude":3,"angle":331,"satellites":46,"speed":30,"hex_longitude":"2d4f3780","hex_latitude":"064ec250","is_valid_coordinates":true} 
[2026-06-02 04:54: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-06-02 04:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771166720001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304630416713711616,"note":"Value kept but may cause issues"} 
[2026-06-02 04:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5713449473106233344,"note":"Value kept but may cause issues"} 
[2026-06-02 04:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780356134000,"timestamp_ms":1780356134000,"timestamp_seconds":1780356134,"priority":1,"record_length":96,"hex_timestamp":"0000019e857eb470"} 
[2026-06-02 04:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:54: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-06-02 04:54: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":240,"data_length":795,"current_offset":136} 
[2026-06-02 04:54:31] 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-06-02 04:54: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-06-02 04:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771166720001,"66":27332,"35":206,"19":38144,"24":30,"16":304630416713711616,"45":5713449473106233344},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-02 04:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771166720001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:54:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 04:54:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304630416713711616,"km_value":304630416713711.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5713449473106233344,"description":"Unknown IO ID 45"} 
[2026-06-02 04:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771166720001,"power":27332,"unknown_35":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":5713449473106233344}} 
[2026-06-02 04:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":89343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:54:31] local.INFO: GPS data processed {"connection_id":89343,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:54:31] local.INFO: Acknowledgment sent {"connection_id":89343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:55:02] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85806220012d4e5f8006506388000401512e..."} 
[2026-06-02 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85806220012d4e5f8006506388000401512e..."} 
[2026-06-02 04:55:02] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85806220012d4e5f8006506388000401512e..."} 
[2026-06-02 04:55:02] local.INFO: Packet analysis {"connection_id":89343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8580"} 
[2026-06-02 04:55:02] local.INFO: Extracted packet for processing {"connection_id":89343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8580"} 
[2026-06-02 04:55:02] local.INFO: GPS Element Parsed {"raw_longitude":760110976,"raw_latitude":105931656,"longitude_deg":76.0110976,"latitude_deg":10.5931656,"altitude":4,"angle":337,"satellites":46,"speed":56,"hex_longitude":"2d4e5f80","hex_latitude":"06506388","is_valid_coordinates":true} 
[2026-06-02 04:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771196672001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304636232099430400,"note":"Value kept but may cause issues"} 
[2026-06-02 04:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5651876821977694208,"note":"Value kept but may cause issues"} 
[2026-06-02 04:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780356244000,"timestamp_ms":1780356244000,"timestamp_seconds":1780356244,"priority":1,"record_length":96,"hex_timestamp":"0000019e85806220"} 
[2026-06-02 04:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:55: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-06-02 04:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:55: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-06-02 04:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771196672001,"66":27343,"235":206,"19":38144,"24":56,"16":304636232099430400,"45":5651876821977694208},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-06-02 04:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771196672001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:55:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 04:55:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304636232099430400,"km_value":304636232099430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5651876821977694208,"description":"Unknown IO ID 45"} 
[2026-06-02 04:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771196672001,"power":27343,"unknown_235":206,"unknown_19":38144,"ignition":56,"odometer":null,"unknown_45":5651876821977694208}} 
[2026-06-02 04:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":89343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:55:02] local.INFO: GPS data processed {"connection_id":89343,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:55:02] local.INFO: Acknowledgment sent {"connection_id":89343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:55:26] local.INFO: TCP Data received {"connection_id":90554,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:55:26] local.INFO: Processing buffer {"connection_id":90554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:55:26] local.INFO: IMEI packet received {"connection_id":90554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":90554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:55:26] local.INFO: TCP Data received {"connection_id":90554,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:55:26] local.INFO: Processing buffer {"connection_id":90554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:55:26] local.INFO: IMEI packet received {"connection_id":90554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":90554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:56:03] local.INFO: TCP Data received {"connection_id":90554,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:03] local.INFO: Processing buffer {"connection_id":90554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:03] local.INFO: IMEI packet received {"connection_id":90554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":90554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:56:05] local.INFO: TCP Data received {"connection_id":90554,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:05] local.INFO: Processing buffer {"connection_id":90554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:05] local.INFO: IMEI packet received {"connection_id":90554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":90554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:56:09] local.INFO: TCP Data received {"connection_id":90554,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85807d78012d4e510006508628000401512e..."} 
[2026-06-02 04:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85807d78012d4e510006508628000401512e..."} 
[2026-06-02 04:56:09] local.INFO: Processing buffer {"connection_id":90554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85807d78012d4e510006508628000401512e..."} 
[2026-06-02 04:56:09] local.INFO: Packet analysis {"connection_id":90554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8580"} 
[2026-06-02 04:56:09] local.INFO: Extracted packet for processing {"connection_id":90554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8580"} 
[2026-06-02 04:56:09] local.INFO: GPS Element Parsed {"raw_longitude":760107264,"raw_latitude":105940520,"longitude_deg":76.0107264,"latitude_deg":10.594052,"altitude":4,"angle":337,"satellites":46,"speed":52,"hex_longitude":"2d4e5100","hex_latitude":"06508628","is_valid_coordinates":true} 
[2026-06-02 04:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771198464001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304636700250865664,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5647373222352750592,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780356251000,"timestamp_ms":1780356251000,"timestamp_seconds":1780356251,"priority":1,"record_length":96,"hex_timestamp":"0000019e85807d78"} 
[2026-06-02 04:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 04:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":90554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":90554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":90554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771198464001,"66":27397,"235":206,"19":38144,"24":52,"16":304636700250865664,"45":5647373222352750592},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-06-02 04:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771198464001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:56:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 04:56:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304636700250865664,"km_value":304636700250865.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5647373222352750592,"description":"Unknown IO ID 45"} 
[2026-06-02 04:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771198464001,"power":27397,"unknown_235":206,"unknown_19":38144,"ignition":52,"odometer":null,"unknown_45":5647373222352750592}} 
[2026-06-02 04:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":90554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:56:09] local.INFO: GPS data processed {"connection_id":90554,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:56:09] local.INFO: Acknowledgment sent {"connection_id":90554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:56:11] local.INFO: TCP Data received {"connection_id":90554,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e858098d0012d4e44000650a658000501512f..."} 
[2026-06-02 04:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e858098d0012d4e44000650a658000501512f..."} 
[2026-06-02 04:56:11] local.INFO: Processing buffer {"connection_id":90554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e858098d0012d4e44000650a658000501512f..."} 
[2026-06-02 04:56:11] local.INFO: Packet analysis {"connection_id":90554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8580"} 
[2026-06-02 04:56:11] local.INFO: Extracted packet for processing {"connection_id":90554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8580"} 
[2026-06-02 04:56:11] local.INFO: GPS Element Parsed {"raw_longitude":760103936,"raw_latitude":105948760,"longitude_deg":76.0103936,"latitude_deg":10.594876,"altitude":5,"angle":337,"satellites":47,"speed":48,"hex_longitude":"2d4e4400","hex_latitude":"0650a658","is_valid_coordinates":true} 
[2026-06-02 04:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771200256001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304637129747595264,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5643291835192715264,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780356258000,"timestamp_ms":1780356258000,"timestamp_seconds":1780356258,"priority":1,"record_length":96,"hex_timestamp":"0000019e858098d0"} 
[2026-06-02 04:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 04:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771200256001,"66":27376,"235":206,"19":38144,"24":48,"16":304637129747595264,"45":5643291835192715264},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-06-02 04:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771200256001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:56:11] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 04:56:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304637129747595264,"km_value":304637129747595.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5643291835192715264,"description":"Unknown IO ID 45"} 
[2026-06-02 04:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771200256001,"power":27376,"unknown_235":206,"unknown_19":38144,"ignition":48,"odometer":null,"unknown_45":5643291835192715264}} 
[2026-06-02 04:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":90554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:56:11] local.INFO: GPS data processed {"connection_id":90554,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:56:11] local.INFO: Acknowledgment sent {"connection_id":90554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:56:25] local.INFO: TCP Data received {"connection_id":89488,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:25] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:25] local.INFO: IMEI packet received {"connection_id":89488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":89488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:56:29] local.INFO: TCP Data received {"connection_id":89488,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:29] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:29] local.INFO: IMEI packet received {"connection_id":89488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":89488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:56:30] local.INFO: TCP Data received {"connection_id":89488,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:30] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:56:30] local.INFO: IMEI packet received {"connection_id":89488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":89488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:56:31] local.INFO: TCP Data received {"connection_id":89488,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8581c980012d4d9d40065227600009014b2f..."} 
[2026-06-02 04:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8581c980012d4d9d40065227600009014b2f..."} 
[2026-06-02 04:56:31] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8581c980012d4d9d40065227600009014b2f..."} 
[2026-06-02 04:56:31] local.INFO: Packet analysis {"connection_id":89488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8581"} 
[2026-06-02 04:56:31] local.INFO: Extracted packet for processing {"connection_id":89488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8581"} 
[2026-06-02 04:56:31] local.INFO: GPS Element Parsed {"raw_longitude":760061248,"raw_latitude":106047328,"longitude_deg":76.0061248,"latitude_deg":10.6047328,"altitude":9,"angle":331,"satellites":47,"speed":57,"hex_longitude":"2d4d9d40","hex_latitude":"06522760","is_valid_coordinates":true} 
[2026-06-02 04:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771220224001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304642322363056128,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597903995223234560,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780356336000,"timestamp_ms":1780356336000,"timestamp_seconds":1780356336,"priority":1,"record_length":96,"hex_timestamp":"0000019e8581c980"} 
[2026-06-02 04:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:56: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-06-02 04:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 04:56:31] 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-06-02 04:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771220224001,"66":27321,"235":206,"19":38144,"24":57,"16":304642322363056128,"45":5597903995223234560},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-06-02 04:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771220224001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:56:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 04:56:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304642322363056128,"km_value":304642322363056.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597903995223234560,"description":"Unknown IO ID 45"} 
[2026-06-02 04:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771220224001,"power":27321,"unknown_235":206,"unknown_19":38144,"ignition":57,"odometer":null,"unknown_45":5597903995223234560}} 
[2026-06-02 04:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":89488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:56:31] local.INFO: GPS data processed {"connection_id":89488,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:56:31] local.INFO: Acknowledgment sent {"connection_id":89488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:56:50] local.INFO: TCP Data received {"connection_id":89488,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8581e4d8012d4d8a4006524a180008014b2f..."} 
[2026-06-02 04:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8581e4d8012d4d8a4006524a180008014b2f..."} 
[2026-06-02 04:56:50] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8581e4d8012d4d8a4006524a180008014b2f..."} 
[2026-06-02 04:56:50] local.INFO: Packet analysis {"connection_id":89488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8581"} 
[2026-06-02 04:56:50] local.INFO: Extracted packet for processing {"connection_id":89488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8581"} 
[2026-06-02 04:56:50] local.INFO: GPS Element Parsed {"raw_longitude":760056384,"raw_latitude":106056216,"longitude_deg":76.0056384,"latitude_deg":10.6056216,"altitude":8,"angle":331,"satellites":47,"speed":56,"hex_longitude":"2d4d8a40","hex_latitude":"06524a18","is_valid_coordinates":true} 
[2026-06-02 04: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-06-02 04:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771222016001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304642811989327872,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5592696708156317696,"note":"Value kept but may cause issues"} 
[2026-06-02 04:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780356343000,"timestamp_ms":1780356343000,"timestamp_seconds":1780356343,"priority":1,"record_length":96,"hex_timestamp":"0000019e8581e4d8"} 
[2026-06-02 04:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04: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-06-02 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 04:56: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-06-02 04: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-06-02 04:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771222016001,"66":27376,"235":206,"19":38144,"24":56,"16":304642811989327872,"45":5592696708156317696},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-06-02 04:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771222016001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:56:50] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 04:56:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304642811989327872,"km_value":304642811989327.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5592696708156317696,"description":"Unknown IO ID 45"} 
[2026-06-02 04:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771222016001,"power":27376,"unknown_235":206,"unknown_19":38144,"ignition":56,"odometer":null,"unknown_45":5592696708156317696}} 
[2026-06-02 04:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":89488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:56:50] local.INFO: GPS data processed {"connection_id":89488,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:56:50] local.INFO: Acknowledgment sent {"connection_id":89488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:57:24] local.INFO: TCP Data received {"connection_id":89087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:57:24] local.INFO: Processing buffer {"connection_id":89087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:57:24] local.INFO: IMEI packet received {"connection_id":89087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":89087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:57:30] local.INFO: TCP Data received {"connection_id":89088,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:57:30] local.INFO: Processing buffer {"connection_id":89088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:57:30] local.INFO: IMEI packet received {"connection_id":89088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":89088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:57:31] local.INFO: TCP Data received {"connection_id":89088,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:57:31] local.INFO: Processing buffer {"connection_id":89088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:57:31] local.INFO: IMEI packet received {"connection_id":89088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":89088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:57:32] local.INFO: TCP Data received {"connection_id":89088,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85820030012d4d778006526cc80005014c2f..."} 
[2026-06-02 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85820030012d4d778006526cc80005014c2f..."} 
[2026-06-02 04:57:32] local.INFO: Processing buffer {"connection_id":89088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85820030012d4d778006526cc80005014c2f..."} 
[2026-06-02 04:57:32] local.INFO: Packet analysis {"connection_id":89088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8582"} 
[2026-06-02 04:57:32] local.INFO: Extracted packet for processing {"connection_id":89088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8582"} 
[2026-06-02 04:57:32] local.INFO: GPS Element Parsed {"raw_longitude":760051584,"raw_latitude":106065096,"longitude_deg":76.0051584,"latitude_deg":10.6065096,"altitude":5,"angle":332,"satellites":47,"speed":57,"hex_longitude":"2d4d7780","hex_latitude":"06526cc8","is_valid_coordinates":true} 
[2026-06-02 04:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771223808001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304643301615599616,"note":"Value kept but may cause issues"} 
[2026-06-02 04:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5587348683601090560,"note":"Value kept but may cause issues"} 
[2026-06-02 04:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780356350000,"timestamp_ms":1780356350000,"timestamp_seconds":1780356350,"priority":1,"record_length":96,"hex_timestamp":"0000019e85820030"} 
[2026-06-02 04:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 04:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771223808001,"66":27180,"235":206,"19":38144,"24":57,"16":304643301615599616,"45":5587348683601090560},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-06-02 04:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771223808001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:57:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 04:57:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304643301615599616,"km_value":304643301615599.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5587348683601090560,"description":"Unknown IO ID 45"} 
[2026-06-02 04:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771223808001,"power":27180,"unknown_235":206,"unknown_19":38144,"ignition":57,"odometer":null,"unknown_45":5587348683601090560}} 
[2026-06-02 04:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":89088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:57:32] local.INFO: GPS data processed {"connection_id":89088,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:57:32] local.INFO: Acknowledgment sent {"connection_id":89088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:57:36] local.INFO: TCP Data received {"connection_id":89088,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85821b88012d4d648006528fd80003014b2e..."} 
[2026-06-02 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85821b88012d4d648006528fd80003014b2e..."} 
[2026-06-02 04:57:36] local.INFO: Processing buffer {"connection_id":89088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85821b88012d4d648006528fd80003014b2e..."} 
[2026-06-02 04:57:36] local.INFO: Packet analysis {"connection_id":89088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8582"} 
[2026-06-02 04:57:36] local.INFO: Extracted packet for processing {"connection_id":89088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8582"} 
[2026-06-02 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":760046720,"raw_latitude":106074072,"longitude_deg":76.004672,"latitude_deg":10.6074072,"altitude":3,"angle":331,"satellites":46,"speed":58,"hex_longitude":"2d4d6480","hex_latitude":"06528fd8","is_valid_coordinates":true} 
[2026-06-02 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771225600001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304643795536838656,"note":"Value kept but may cause issues"} 
[2026-06-02 04:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5582071027790039040,"note":"Value kept but may cause issues"} 
[2026-06-02 04:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780356357000,"timestamp_ms":1780356357000,"timestamp_seconds":1780356357,"priority":1,"record_length":96,"hex_timestamp":"0000019e85821b88"} 
[2026-06-02 04:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 04:57:36] 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-06-02 04:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771225600001,"66":27300,"235":206,"19":38144,"24":58,"16":304643795536838656,"45":5582071027790039040},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-06-02 04:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771225600001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:57:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 04:57:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-02 04:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304643795536838656,"km_value":304643795536838.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5582071027790039040,"description":"Unknown IO ID 45"} 
[2026-06-02 04:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771225600001,"power":27300,"unknown_235":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":5582071027790039040}} 
[2026-06-02 04:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":89088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:57:36] local.INFO: GPS data processed {"connection_id":89088,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:57:36] local.INFO: Acknowledgment sent {"connection_id":89088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:58:04] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:58:04] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 04:58:04] local.INFO: IMEI packet received {"connection_id":89489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 04:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":89489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:58:23] local.INFO: TCP Data received {"connection_id":89089,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:23] local.INFO: Processing buffer {"connection_id":89089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:23] local.INFO: IMEI packet received {"connection_id":89089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":89089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:58:25] local.INFO: TCP Data received {"connection_id":89089,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:25] local.INFO: Processing buffer {"connection_id":89089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:25] local.INFO: IMEI packet received {"connection_id":89089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":89089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:58:29] local.INFO: TCP Data received {"connection_id":89089,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:29] local.INFO: Processing buffer {"connection_id":89089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:58:29] local.INFO: IMEI packet received {"connection_id":89089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":89089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:58:31] local.INFO: TCP Data received {"connection_id":89089,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85835408012d4c8c000653e700000c01502f..."} 
[2026-06-02 04:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85835408012d4c8c000653e700000c01502f..."} 
[2026-06-02 04:58:31] local.INFO: Processing buffer {"connection_id":89089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85835408012d4c8c000653e700000c01502f..."} 
[2026-06-02 04:58:31] local.INFO: Packet analysis {"connection_id":89089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8583"} 
[2026-06-02 04:58:31] local.INFO: Extracted packet for processing {"connection_id":89089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8583"} 
[2026-06-02 04:58:31] local.INFO: GPS Element Parsed {"raw_longitude":759991296,"raw_latitude":106161920,"longitude_deg":75.9991296,"latitude_deg":10.616192,"altitude":12,"angle":336,"satellites":47,"speed":49,"hex_longitude":"2d4c8c00","hex_latitude":"0653e700","is_valid_coordinates":true} 
[2026-06-02 04:58: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-06-02 04:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771245824001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304648820648574976,"note":"Value kept but may cause issues"} 
[2026-06-02 04:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5520146532936218624,"note":"Value kept but may cause issues"} 
[2026-06-02 04:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780356437000,"timestamp_ms":1780356437000,"timestamp_seconds":1780356437,"priority":1,"record_length":96,"hex_timestamp":"0000019e85835408"} 
[2026-06-02 04:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:58: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-06-02 04:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 04:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 04:58: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-06-02 04:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771245824001,"66":27245,"135":206,"28":31488,"24":49,"16":304648820648574976,"45":5520146532936218624},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-06-02 04:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771245824001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:58:31] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 04:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 04:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304648820648574976,"km_value":304648820648575.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5520146532936218624,"description":"Unknown IO ID 45"} 
[2026-06-02 04:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771245824001,"power":27245,"unknown_135":206,"unknown_28":31488,"ignition":49,"odometer":null,"unknown_45":5520146532936218624}} 
[2026-06-02 04:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":89089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:58:31] local.INFO: GPS data processed {"connection_id":89089,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:58:31] local.INFO: Acknowledgment sent {"connection_id":89089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:59:02] local.INFO: TCP Data received {"connection_id":89089,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85836f60012d4c7e00065406d0000c01512f..."} 
[2026-06-02 04:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85836f60012d4c7e00065406d0000c01512f..."} 
[2026-06-02 04:59:02] local.INFO: Processing buffer {"connection_id":89089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85836f60012d4c7e00065406d0000c01512f..."} 
[2026-06-02 04:59:02] local.INFO: Packet analysis {"connection_id":89089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8583"} 
[2026-06-02 04:59:02] local.INFO: Extracted packet for processing {"connection_id":89089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8583"} 
[2026-06-02 04:59:02] local.INFO: GPS Element Parsed {"raw_longitude":759987712,"raw_latitude":106170064,"longitude_deg":75.9987712,"latitude_deg":10.6170064,"altitude":12,"angle":337,"satellites":47,"speed":51,"hex_longitude":"2d4c7e00","hex_latitude":"065406d0","is_valid_coordinates":true} 
[2026-06-02 04:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 04:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771247872001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304649250145304576,"note":"Value kept but may cause issues"} 
[2026-06-02 04:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5515783670799466496,"note":"Value kept but may cause issues"} 
[2026-06-02 04:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780356444000,"timestamp_ms":1780356444000,"timestamp_seconds":1780356444,"priority":1,"record_length":96,"hex_timestamp":"0000019e85836f60"} 
[2026-06-02 04:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 04:59: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-06-02 04:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 04:59:02] 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-06-02 04:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 04:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 04:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771247872001,"66":27213,"135":206,"28":31488,"24":51,"16":304649250145304576,"45":5515783670799466496},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-06-02 04:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771247872001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:59:02] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 04:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 04:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304649250145304576,"km_value":304649250145304.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5515783670799466496,"description":"Unknown IO ID 45"} 
[2026-06-02 04:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771247872001,"power":27213,"unknown_135":206,"unknown_28":31488,"ignition":51,"odometer":null,"unknown_45":5515783670799466496}} 
[2026-06-02 04:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":89089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:59:02] local.INFO: GPS data processed {"connection_id":89089,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:59:02] local.INFO: Acknowledgment sent {"connection_id":89089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 04:59:25] local.INFO: TCP Data received {"connection_id":90555,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:59:25] local.INFO: Processing buffer {"connection_id":90555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:59:25] local.INFO: IMEI packet received {"connection_id":90555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 04:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":90555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 04:59:27] local.INFO: TCP Data received {"connection_id":90555,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:59:27] local.INFO: Processing buffer {"connection_id":90555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 04:59:27] local.INFO: IMEI packet received {"connection_id":90555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 04:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":90555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 04:59:28] local.INFO: TCP Data received {"connection_id":90555,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e858484b8012d4bba00065548a00005014b2f..."} 
[2026-06-02 04:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e858484b8012d4bba00065548a00005014b2f..."} 
[2026-06-02 04:59:28] local.INFO: Processing buffer {"connection_id":90555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e858484b8012d4bba00065548a00005014b2f..."} 
[2026-06-02 04:59:28] local.INFO: Packet analysis {"connection_id":90555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8584"} 
[2026-06-02 04:59:28] local.INFO: Extracted packet for processing {"connection_id":90555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8584"} 
[2026-06-02 04:59:28] local.INFO: GPS Element Parsed {"raw_longitude":759937536,"raw_latitude":106252448,"longitude_deg":75.9937536,"latitude_deg":10.6252448,"altitude":5,"angle":331,"satellites":47,"speed":54,"hex_longitude":"2d4bba00","hex_latitude":"065548a0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 04:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771266048001,"note":"Value kept but may cause issues"} 
[2026-06-02 04:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304653931659657216,"note":"Value kept but may cause issues"} 
[2026-06-02 04:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461599737803685888,"note":"Value kept but may cause issues"} 
[2026-06-02 04:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 04:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780356515000,"timestamp_ms":1780356515000,"timestamp_seconds":1780356515,"priority":1,"record_length":96,"hex_timestamp":"0000019e858484b8"} 
[2026-06-02 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-06-02 04:59: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-06-02 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 04:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 04:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 04:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 04:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 04:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 04:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 04:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 04:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771266048001,"66":27321,"77":206,"28":31488,"24":54,"16":304653931659657216,"45":5461599737803685888},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-02 04:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 04:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 04:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771266048001,"description":"Unknown IO ID 0"} 
[2026-06-02 04:59:28] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-02 04:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 04:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304653931659657216,"km_value":304653931659657.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 04:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461599737803685888,"description":"Unknown IO ID 45"} 
[2026-06-02 04:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771266048001,"power":27321,"unknown_77":206,"unknown_28":31488,"ignition":54,"odometer":null,"unknown_45":5461599737803685888}} 
[2026-06-02 04:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":90555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 04:59:28] local.INFO: GPS data processed {"connection_id":90555,"processed":1,"errors":0,"total":1} 
[2026-06-02 04:59:28] local.INFO: Acknowledgment sent {"connection_id":90555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:00:00] local.INFO: TCP Data received {"connection_id":90555,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8584a010012d4ba780065569e00005014c2f..."} 
[2026-06-02 05:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8584a010012d4ba780065569e00005014c2f..."} 
[2026-06-02 05:00:00] local.INFO: Processing buffer {"connection_id":90555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8584a010012d4ba780065569e00005014c2f..."} 
[2026-06-02 05:00:00] local.INFO: Packet analysis {"connection_id":90555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8584"} 
[2026-06-02 05:00:00] local.INFO: Extracted packet for processing {"connection_id":90555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8584"} 
[2026-06-02 05:00:00] local.INFO: GPS Element Parsed {"raw_longitude":759932800,"raw_latitude":106260960,"longitude_deg":75.99328,"latitude_deg":10.626096,"altitude":5,"angle":332,"satellites":47,"speed":55,"hex_longitude":"2d4ba780","hex_latitude":"065569e0","is_valid_coordinates":true} 
[2026-06-02 05:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771267840001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304654399811092480,"note":"Value kept but may cause issues"} 
[2026-06-02 05:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5456673925713403904,"note":"Value kept but may cause issues"} 
[2026-06-02 05:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780356522000,"timestamp_ms":1780356522000,"timestamp_seconds":1780356522,"priority":1,"record_length":96,"hex_timestamp":"0000019e8584a010"} 
[2026-06-02 05:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:00: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-06-02 05:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 05:00: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-06-02 05:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771267840001,"66":27463,"77":206,"28":31488,"24":55,"16":304654399811092480,"45":5456673925713403904},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-02 05:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771267840001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:00:00] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-02 05:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304654399811092480,"km_value":304654399811092.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5456673925713403904,"description":"Unknown IO ID 45"} 
[2026-06-02 05:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771267840001,"power":27463,"unknown_77":206,"unknown_28":31488,"ignition":55,"odometer":null,"unknown_45":5456673925713403904}} 
[2026-06-02 05:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":90555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:00:00] local.INFO: GPS data processed {"connection_id":90555,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:00:00] local.INFO: Acknowledgment sent {"connection_id":90555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:00:25] local.INFO: TCP Data received {"connection_id":89345,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:00:25] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:00:25] local.INFO: IMEI packet received {"connection_id":89345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":89345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:00:28] local.INFO: TCP Data received {"connection_id":89345,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:00:28] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:00:28] local.INFO: IMEI packet received {"connection_id":89345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":89345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:00:30] local.INFO: TCP Data received {"connection_id":89345,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8584bb68012d4b954006558b580005014b2f..."} 
[2026-06-02 05:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8584bb68012d4b954006558b580005014b2f..."} 
[2026-06-02 05:00:30] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8584bb68012d4b954006558b580005014b2f..."} 
[2026-06-02 05:00:30] local.INFO: Packet analysis {"connection_id":89345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8584"} 
[2026-06-02 05:00:30] local.INFO: Extracted packet for processing {"connection_id":89345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8584"} 
[2026-06-02 05:00:30] local.INFO: GPS Element Parsed {"raw_longitude":759928128,"raw_latitude":106269528,"longitude_deg":75.9928128,"latitude_deg":10.6269528,"altitude":5,"angle":331,"satellites":47,"speed":55,"hex_longitude":"2d4b9540","hex_latitude":"06558b58","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771269632001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304654872257495040,"note":"Value kept but may cause issues"} 
[2026-06-02 05:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5451466638646435840,"note":"Value kept but may cause issues"} 
[2026-06-02 05:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780356529000,"timestamp_ms":1780356529000,"timestamp_seconds":1780356529,"priority":1,"record_length":96,"hex_timestamp":"0000019e8584bb68"} 
[2026-06-02 05:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:00: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-06-02 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 05:00:30] 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-06-02 05: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-06-02 05:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771269632001,"66":27321,"77":206,"28":31488,"24":55,"16":304654872257495040,"45":5451466638646435840},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-02 05:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771269632001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:00:30] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-02 05:00:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304654872257495040,"km_value":304654872257495.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5451466638646435840,"description":"Unknown IO ID 45"} 
[2026-06-02 05:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771269632001,"power":27321,"unknown_77":206,"unknown_28":31488,"ignition":55,"odometer":null,"unknown_45":5451466638646435840}} 
[2026-06-02 05:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":89345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:00:30] local.INFO: GPS data processed {"connection_id":89345,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:00:30] local.INFO: Acknowledgment sent {"connection_id":89345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:01:02] local.INFO: TCP Data received {"connection_id":89345,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8585e060012d4af20006570658000a014e2e..."} 
[2026-06-02 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8585e060012d4af20006570658000a014e2e..."} 
[2026-06-02 05:01:02] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8585e060012d4af20006570658000a014e2e..."} 
[2026-06-02 05:01:02] local.INFO: Packet analysis {"connection_id":89345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8585"} 
[2026-06-02 05:01:02] local.INFO: Extracted packet for processing {"connection_id":89345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8585"} 
[2026-06-02 05:01:02] local.INFO: GPS Element Parsed {"raw_longitude":759886336,"raw_latitude":106366552,"longitude_deg":75.9886336,"latitude_deg":10.6366552,"altitude":10,"angle":334,"satellites":46,"speed":53,"hex_longitude":"2d4af200","hex_latitude":"06570658","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304660009038381056,"note":"Value kept but may cause issues"} 
[2026-06-02 05:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5404952898769848320,"note":"Value kept but may cause issues"} 
[2026-06-02 05:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780356604000,"timestamp_ms":1780356604000,"timestamp_seconds":1780356604,"priority":1,"record_length":96,"hex_timestamp":"0000019e8585e060"} 
[2026-06-02 05:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:01: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-06-02 05: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 05:01:02] 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-06-02 05: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-06-02 05:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771288832001,"66":27267,"76":206,"28":31488,"24":53,"16":304660009038381056,"45":5404952898769848320},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-02 05:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:01:02] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-02 05:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304660009038381056,"km_value":304660009038381.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5404952898769848320,"description":"Unknown IO ID 45"} 
[2026-06-02 05:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771288832001,"power":27267,"unknown_76":206,"unknown_28":31488,"ignition":53,"odometer":null,"unknown_45":5404952898769848320}} 
[2026-06-02 05:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":89345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:01:02] local.INFO: GPS data processed {"connection_id":89345,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:01:02] local.INFO: Acknowledgment sent {"connection_id":89345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:01:24] local.INFO: TCP Data received {"connection_id":90556,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:24] local.INFO: Processing buffer {"connection_id":90556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:24] local.INFO: IMEI packet received {"connection_id":90556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":90556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:01:25] local.INFO: TCP Data received {"connection_id":90556,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:25] local.INFO: Processing buffer {"connection_id":90556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:25] local.INFO: IMEI packet received {"connection_id":90556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":90556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:01:30] local.INFO: TCP Data received {"connection_id":90556,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:30] local.INFO: Processing buffer {"connection_id":90556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:01:30] local.INFO: IMEI packet received {"connection_id":90556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":90556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:01:31] local.INFO: TCP Data received {"connection_id":90556,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e8585fbb8012d4ae14006572738000a014d2e..."} 
[2026-06-02 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8585fbb8012d4ae14006572738000a014d2e..."} 
[2026-06-02 05:01:31] local.INFO: Processing buffer {"connection_id":90556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8585fbb8012d4ae14006572738000a014d2e..."} 
[2026-06-02 05:01:31] local.INFO: Packet analysis {"connection_id":90556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8585"} 
[2026-06-02 05:01:31] local.INFO: Extracted packet for processing {"connection_id":90556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8585"} 
[2026-06-02 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":759882048,"raw_latitude":106374968,"longitude_deg":75.9882048,"latitude_deg":10.6374968,"altitude":10,"angle":333,"satellites":46,"speed":53,"hex_longitude":"2d4ae140","hex_latitude":"06572738","is_valid_coordinates":true} 
[2026-06-02 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771290624001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304660464304914432,"note":"Value kept but may cause issues"} 
[2026-06-02 05:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5400378930400483328,"note":"Value kept but may cause issues"} 
[2026-06-02 05:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780356611000,"timestamp_ms":1780356611000,"timestamp_seconds":1780356611,"priority":1,"record_length":96,"hex_timestamp":"0000019e8585fbb8"} 
[2026-06-02 05:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:01: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-06-02 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 05:01:31] 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-06-02 05:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771290624001,"66":27234,"76":206,"28":31488,"24":53,"16":304660464304914432,"45":5400378930400483328},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-02 05:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771290624001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:01:31] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-02 05:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304660464304914432,"km_value":304660464304914.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5400378930400483328,"description":"Unknown IO ID 45"} 
[2026-06-02 05:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771290624001,"power":27234,"unknown_76":206,"unknown_28":31488,"ignition":53,"odometer":null,"unknown_45":5400378930400483328}} 
[2026-06-02 05:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":90556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:01:31] local.INFO: GPS data processed {"connection_id":90556,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:01:31] local.INFO: Acknowledgment sent {"connection_id":90556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:02:03] local.INFO: TCP Data received {"connection_id":90556,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85861710012d4ad080065748780009014d2f..."} 
[2026-06-02 05:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85861710012d4ad080065748780009014d2f..."} 
[2026-06-02 05:02:03] local.INFO: Processing buffer {"connection_id":90556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85861710012d4ad080065748780009014d2f..."} 
[2026-06-02 05:02:03] local.INFO: Packet analysis {"connection_id":90556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8586"} 
[2026-06-02 05:02:03] local.INFO: Extracted packet for processing {"connection_id":90556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8586"} 
[2026-06-02 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":759877760,"raw_latitude":106383480,"longitude_deg":75.987776,"latitude_deg":10.638348,"altitude":9,"angle":333,"satellites":47,"speed":54,"hex_longitude":"2d4ad080","hex_latitude":"06574878","is_valid_coordinates":true} 
[2026-06-02 05:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304660923866415104,"note":"Value kept but may cause issues"} 
[2026-06-02 05:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5395664224542734336,"note":"Value kept but may cause issues"} 
[2026-06-02 05:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780356618000,"timestamp_ms":1780356618000,"timestamp_seconds":1780356618,"priority":1,"record_length":96,"hex_timestamp":"0000019e85861710"} 
[2026-06-02 05:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 05:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771292416001,"66":27397,"76":206,"28":31488,"24":54,"16":304660923866415104,"45":5395664224542734336},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-02 05:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:02:03] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-02 05:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304660923866415104,"km_value":304660923866415.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5395664224542734336,"description":"Unknown IO ID 45"} 
[2026-06-02 05:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771292416001,"power":27397,"unknown_76":206,"unknown_28":31488,"ignition":54,"odometer":null,"unknown_45":5395664224542734336}} 
[2026-06-02 05:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":90556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:02:03] local.INFO: GPS data processed {"connection_id":90556,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:02:03] local.INFO: Acknowledgment sent {"connection_id":90556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:02:34] local.INFO: TCP Data received {"connection_id":89092,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:34] local.INFO: Processing buffer {"connection_id":89092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:34] local.INFO: IMEI packet received {"connection_id":89092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":89092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:02:35] local.INFO: TCP Data received {"connection_id":89092,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:35] local.INFO: Processing buffer {"connection_id":89092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:35] local.INFO: IMEI packet received {"connection_id":89092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":89092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:02:40] local.INFO: TCP Data received {"connection_id":89092,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:40] local.INFO: Processing buffer {"connection_id":89092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:02:40] local.INFO: IMEI packet received {"connection_id":89092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":89092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:02:41] local.INFO: TCP Data received {"connection_id":89092,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e858743d8012d4a1cc00658bb680003014c2f..."} 
[2026-06-02 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e858743d8012d4a1cc00658bb680003014c2f..."} 
[2026-06-02 05:02:41] local.INFO: Processing buffer {"connection_id":89092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e858743d8012d4a1cc00658bb680003014c2f..."} 
[2026-06-02 05:02:41] local.INFO: Packet analysis {"connection_id":89092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8587"} 
[2026-06-02 05:02:41] local.INFO: Extracted packet for processing {"connection_id":89092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8587"} 
[2026-06-02 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":759831744,"raw_latitude":106478440,"longitude_deg":75.9831744,"latitude_deg":10.647844,"altitude":3,"angle":332,"satellites":47,"speed":55,"hex_longitude":"2d4a1cc0","hex_latitude":"0658bb68","is_valid_coordinates":true} 
[2026-06-02 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771312128001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304666026287562752,"note":"Value kept but may cause issues"} 
[2026-06-02 05:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5345280203735834624,"note":"Value kept but may cause issues"} 
[2026-06-02 05:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780356695000,"timestamp_ms":1780356695000,"timestamp_seconds":1780356695,"priority":1,"record_length":96,"hex_timestamp":"0000019e858743d8"} 
[2026-06-02 05:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 05:02:41] 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-06-02 05:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771312128001,"66":26713,"76":206,"28":31488,"24":55,"16":304666026287562752,"45":5345280203735834624},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-02 05:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771312128001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:02:41] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-02 05:02:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304666026287562752,"km_value":304666026287562.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5345280203735834624,"description":"Unknown IO ID 45"} 
[2026-06-02 05:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771312128001,"power":26713,"unknown_76":206,"unknown_28":31488,"ignition":55,"odometer":null,"unknown_45":5345280203735834624}} 
[2026-06-02 05:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":89092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:02:41] local.INFO: GPS data processed {"connection_id":89092,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:02:41] local.INFO: Acknowledgment sent {"connection_id":89092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:03:29] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:03:29] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:03:29] local.INFO: IMEI packet received {"connection_id":89491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":89491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:03:38] local.INFO: TCP Data received {"connection_id":89492,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:38] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:38] local.INFO: IMEI packet received {"connection_id":89492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":89492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:03:40] local.INFO: TCP Data received {"connection_id":89492,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:40] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:40] local.INFO: IMEI packet received {"connection_id":89492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":89492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:03:43] local.INFO: TCP Data received {"connection_id":89492,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:43] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:03:43] local.INFO: IMEI packet received {"connection_id":89492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":89492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:03:59] local.INFO: TCP Data received {"connection_id":89093,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:03:59] local.INFO: Processing buffer {"connection_id":89093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:03:59] local.INFO: IMEI packet received {"connection_id":89093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":89093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:04:26] local.INFO: TCP Data received {"connection_id":89492,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85887870012d4950c0065a2c580009015131..."} 
[2026-06-02 05:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85887870012d4950c0065a2c580009015131..."} 
[2026-06-02 05:04:26] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85887870012d4950c0065a2c580009015131..."} 
[2026-06-02 05:04:26] local.INFO: Packet analysis {"connection_id":89492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8588"} 
[2026-06-02 05:04:26] local.INFO: Extracted packet for processing {"connection_id":89492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8588"} 
[2026-06-02 05:04:26] local.INFO: GPS Element Parsed {"raw_longitude":759779520,"raw_latitude":106572888,"longitude_deg":75.977952,"latitude_deg":10.6572888,"altitude":9,"angle":337,"satellites":49,"speed":59,"hex_longitude":"2d4950c0","hex_latitude":"065a2c58","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771332352001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304671240377860096,"note":"Value kept but may cause issues"} 
[2026-06-02 05:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5288211152231819264,"note":"Value kept but may cause issues"} 
[2026-06-02 05:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780356774000,"timestamp_ms":1780356774000,"timestamp_seconds":1780356774,"priority":1,"record_length":96,"hex_timestamp":"0000019e85887870"} 
[2026-06-02 05:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:04: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-06-02 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 05:04:26] 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-06-02 05: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-06-02 05:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771332352001,"66":27376,"76":206,"28":31488,"24":59,"16":304671240377860096,"45":5288211152231819264},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-02 05:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771332352001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:04:26] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-02 05:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304671240377860096,"km_value":304671240377860.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5288211152231819264,"description":"Unknown IO ID 45"} 
[2026-06-02 05:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771332352001,"power":27376,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5288211152231819264}} 
[2026-06-02 05:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":89492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:04:26] local.INFO: GPS data processed {"connection_id":89492,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:04:26] local.INFO: Acknowledgment sent {"connection_id":89492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:04:39] local.INFO: TCP Data received {"connection_id":89492,"ip":"117.224.195.65","data_length":795,"data_hex":"000000000000030f8e0a0000019e85888bf8012d494900065a48c80007015e30..."} 
[2026-06-02 05:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85888bf8012d494900065a48c80007015e30..."} 
[2026-06-02 05:04:39] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85888bf8012d494900065a48c80007015e30..."} 
[2026-06-02 05:04:39] local.INFO: Packet analysis {"connection_id":89492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8588"} 
[2026-06-02 05:04:39] local.INFO: Extracted packet for processing {"connection_id":89492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8588"} 
[2026-06-02 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":759777536,"raw_latitude":106580168,"longitude_deg":75.9777536,"latitude_deg":10.6580168,"altitude":7,"angle":350,"satellites":48,"speed":61,"hex_longitude":"2d494900","hex_latitude":"065a48c8","is_valid_coordinates":true} 
[2026-06-02 05:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771334144001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304671609745047552,"note":"Value kept but may cause issues"} 
[2026-06-02 05:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5282933496420784128,"note":"Value kept but may cause issues"} 
[2026-06-02 05:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780356779000,"timestamp_ms":1780356779000,"timestamp_seconds":1780356779,"priority":1,"record_length":96,"hex_timestamp":"0000019e85888bf8"} 
[2026-06-02 05:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 05:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.195.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771334144001,"66":27332,"76":206,"28":31488,"24":61,"16":304671609745047552,"45":5282933496420784128},"client_ip":"117.224.195.65","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-02 05:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771334144001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:04:39] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-02 05:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-02 05:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304671609745047552,"km_value":304671609745047.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5282933496420784128,"description":"Unknown IO ID 45"} 
[2026-06-02 05:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771334144001,"power":27332,"unknown_76":206,"unknown_28":31488,"ignition":61,"odometer":null,"unknown_45":5282933496420784128}} 
[2026-06-02 05:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":89492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:04:39] local.INFO: GPS data processed {"connection_id":89492,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:04:39] local.ERROR: TCP Connection error {"connection_id":89492,"code":2,"message":"client closed"} 
[2026-06-02 05:04:39] local.INFO: Acknowledgment sent {"connection_id":89492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:09:24] local.INFO: TCP Data received {"connection_id":89494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:24] local.INFO: Processing buffer {"connection_id":89494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:24] local.INFO: IMEI packet received {"connection_id":89494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":89494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:09:56] local.INFO: TCP Data received {"connection_id":89350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:56] local.INFO: Processing buffer {"connection_id":89350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:56] local.INFO: IMEI packet received {"connection_id":89350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":89350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:09:59] local.INFO: TCP Data received {"connection_id":89350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:59] local.INFO: Processing buffer {"connection_id":89350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:09:59] local.INFO: IMEI packet received {"connection_id":89350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 05:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":89350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:10:04] local.INFO: TCP Data received {"connection_id":89350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:10:04] local.INFO: Processing buffer {"connection_id":89350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:10:04] local.INFO: IMEI packet received {"connection_id":89350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 05:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":89350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:10:18] local.INFO: TCP Data received {"connection_id":90559,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:10:18] local.INFO: Processing buffer {"connection_id":90559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:10:18] local.INFO: IMEI packet received {"connection_id":90559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":90559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:10:20] local.INFO: TCP Data received {"connection_id":90559,"ip":"117.224.195.65","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:10:20] local.INFO: Processing buffer {"connection_id":90559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:10:20] local.INFO: IMEI packet received {"connection_id":90559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":90559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:15:34] local.INFO: TCP Data received {"connection_id":90560,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:15:34] local.INFO: Processing buffer {"connection_id":90560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:15:34] local.INFO: IMEI packet received {"connection_id":90560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":90560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:15:59] local.INFO: TCP Data received {"connection_id":90561,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:15:59] local.INFO: Processing buffer {"connection_id":90561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:15:59] local.INFO: IMEI packet received {"connection_id":90561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":90561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:16:25] local.INFO: TCP Data received {"connection_id":89096,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:25] local.INFO: Processing buffer {"connection_id":89096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:25] local.INFO: IMEI packet received {"connection_id":89096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":89096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:16:25] local.INFO: TCP Data received {"connection_id":89096,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:25] local.INFO: Processing buffer {"connection_id":89096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:25] local.INFO: IMEI packet received {"connection_id":89096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":89096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:16:29] local.INFO: TCP Data received {"connection_id":89096,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:29] local.INFO: Processing buffer {"connection_id":89096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:16:29] local.INFO: IMEI packet received {"connection_id":89096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":89096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:16:30] local.INFO: TCP Data received {"connection_id":89096,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859351c8012d43404006676a90000d011a2c..."} 
[2026-06-02 05:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859351c8012d43404006676a90000d011a2c..."} 
[2026-06-02 05:16:30] local.INFO: Processing buffer {"connection_id":89096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859351c8012d43404006676a90000d011a2c..."} 
[2026-06-02 05:16:30] local.INFO: Packet analysis {"connection_id":89096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8593"} 
[2026-06-02 05:16:30] local.INFO: Extracted packet for processing {"connection_id":89096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8593"} 
[2026-06-02 05:16:30] local.INFO: GPS Element Parsed {"raw_longitude":759382080,"raw_latitude":107440784,"longitude_deg":75.938208,"latitude_deg":10.7440784,"altitude":13,"angle":282,"satellites":44,"speed":56,"hex_longitude":"2d434040","hex_latitude":"06676a90","is_valid_coordinates":true} 
[2026-06-02 05:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304718214435176448,"note":"Value kept but may cause issues"} 
[2026-06-02 05:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4856639644414144512,"note":"Value kept but may cause issues"} 
[2026-06-02 05:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780357485000,"timestamp_ms":1780357485000,"timestamp_seconds":1780357485,"priority":1,"record_length":96,"hex_timestamp":"0000019e859351c8"} 
[2026-06-02 05:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:16: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-06-02 05:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 05:16:30] 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-06-02 05:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:16:30] 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-06-02 05:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771514368001,"66":27332,"18":206,"80":60416,"24":56,"16":304718214435176448,"45":4856639644414144512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-06-02 05:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:16:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-02 05:16:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304718214435176448,"km_value":304718214435176.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4856639644414144512,"description":"Unknown IO ID 45"} 
[2026-06-02 05:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771514368001,"power":27332,"unknown_18":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4856639644414144512}} 
[2026-06-02 05:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":89096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:16:30] local.INFO: GPS data processed {"connection_id":89096,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:16:30] local.INFO: Acknowledgment sent {"connection_id":89096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:17:25] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:17:25] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:17:25] local.INFO: IMEI packet received {"connection_id":89353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":89353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:17:29] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:17:29] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:17:29] local.INFO: IMEI packet received {"connection_id":89353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":89353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:17:31] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8594bd10012d420e800668ee80000401532a..."} 
[2026-06-02 05:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8594bd10012d420e800668ee80000401532a..."} 
[2026-06-02 05:17:31] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8594bd10012d420e800668ee80000401532a..."} 
[2026-06-02 05:17:31] local.INFO: Packet analysis {"connection_id":89353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8594"} 
[2026-06-02 05:17:31] local.INFO: Extracted packet for processing {"connection_id":89353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8594"} 
[2026-06-02 05:17:31] local.INFO: GPS Element Parsed {"raw_longitude":759303808,"raw_latitude":107540096,"longitude_deg":75.9303808,"latitude_deg":10.7540096,"altitude":4,"angle":339,"satellites":42,"speed":59,"hex_longitude":"2d420e80","hex_latitude":"0668ee80","is_valid_coordinates":true} 
[2026-06-02 05:17: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-06-02 05:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771538432001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304724837274746880,"note":"Value kept but may cause issues"} 
[2026-06-02 05:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4763401058402555904,"note":"Value kept but may cause issues"} 
[2026-06-02 05:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780357578000,"timestamp_ms":1780357578000,"timestamp_seconds":1780357578,"priority":1,"record_length":96,"hex_timestamp":"0000019e8594bd10"} 
[2026-06-02 05:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:17: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-06-02 05:17: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-06-02 05:17: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-06-02 05:17: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-06-02 05:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771538432001,"66":27484,"97":206,"80":60416,"24":59,"16":304724837274746880,"45":4763401058402555904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-06-02 05:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771538432001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 05:17:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304724837274746880,"km_value":304724837274746.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4763401058402555904,"description":"Unknown IO ID 45"} 
[2026-06-02 05:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771538432001,"power":27484,"unknown_97":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4763401058402555904}} 
[2026-06-02 05:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":89353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:17:31] local.INFO: GPS data processed {"connection_id":89353,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:17:31] local.INFO: Acknowledgment sent {"connection_id":89353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:18:03] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8594d480012d42020006690f38000401532a..."} 
[2026-06-02 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8594d480012d42020006690f38000401532a..."} 
[2026-06-02 05:18:03] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8594d480012d42020006690f38000401532a..."} 
[2026-06-02 05:18:03] local.INFO: Packet analysis {"connection_id":89353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8594"} 
[2026-06-02 05:18:03] local.INFO: Extracted packet for processing {"connection_id":89353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8594"} 
[2026-06-02 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":759300608,"raw_latitude":107548472,"longitude_deg":75.9300608,"latitude_deg":10.7548472,"altitude":4,"angle":339,"satellites":42,"speed":59,"hex_longitude":"2d420200","hex_latitude":"06690f38","is_valid_coordinates":true} 
[2026-06-02 05:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771539968001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304725271066443776,"note":"Value kept but may cause issues"} 
[2026-06-02 05:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4759882621195812864,"note":"Value kept but may cause issues"} 
[2026-06-02 05:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780357584000,"timestamp_ms":1780357584000,"timestamp_seconds":1780357584,"priority":1,"record_length":96,"hex_timestamp":"0000019e8594d480"} 
[2026-06-02 05:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 05:18:03] 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-06-02 05:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:18:03] 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-06-02 05:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771539968001,"66":27321,"97":206,"80":60416,"24":59,"16":304725271066443776,"45":4759882621195812864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-06-02 05:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771539968001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 05:18:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304725271066443776,"km_value":304725271066443.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4759882621195812864,"description":"Unknown IO ID 45"} 
[2026-06-02 05:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771539968001,"power":27321,"unknown_97":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4759882621195812864}} 
[2026-06-02 05:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":89353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:18:03] local.INFO: GPS data processed {"connection_id":89353,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:18:03] local.INFO: Acknowledgment sent {"connection_id":89353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:18:24] local.INFO: TCP Data received {"connection_id":89097,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:18:24] local.INFO: Processing buffer {"connection_id":89097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:18:24] local.INFO: IMEI packet received {"connection_id":89097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":89097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:18:29] local.INFO: TCP Data received {"connection_id":89097,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:18:29] local.INFO: Processing buffer {"connection_id":89097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:18:29] local.INFO: IMEI packet received {"connection_id":89097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:18:30] local.INFO: TCP Data received {"connection_id":89097,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8595c2c8012d41bf80066a4a58000c00142a..."} 
[2026-06-02 05:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8595c2c8012d41bf80066a4a58000c00142a..."} 
[2026-06-02 05:18:30] local.INFO: Processing buffer {"connection_id":89097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8595c2c8012d41bf80066a4a58000c00142a..."} 
[2026-06-02 05:18:30] local.INFO: Packet analysis {"connection_id":89097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8595"} 
[2026-06-02 05:18:30] local.INFO: Extracted packet for processing {"connection_id":89097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8595"} 
[2026-06-02 05:18:30] local.INFO: GPS Element Parsed {"raw_longitude":759283584,"raw_latitude":107629144,"longitude_deg":75.9283584,"latitude_deg":10.7629144,"altitude":12,"angle":20,"satellites":42,"speed":56,"hex_longitude":"2d41bf80","hex_latitude":"066a4a58","is_valid_coordinates":true} 
[2026-06-02 05:18: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-06-02 05:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771557120001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304729351285374976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4737646098058467328,"note":"Value kept but may cause issues"} 
[2026-06-02 05:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780357645000,"timestamp_ms":1780357645000,"timestamp_seconds":1780357645,"priority":1,"record_length":96,"hex_timestamp":"0000019e8595c2c8"} 
[2026-06-02 05:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:18: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-06-02 05:18: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":240,"data_length":795,"current_offset":136} 
[2026-06-02 05:18:30] 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-06-02 05:18: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-06-02 05:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:18:30] 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-06-02 05:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771557120001,"66":27376,"201":206,"80":60416,"24":56,"16":304729351285374976,"45":4737646098058467328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-06-02 05:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771557120001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:18:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 05:18:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304729351285374976,"km_value":304729351285375.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4737646098058467328,"description":"Unknown IO ID 45"} 
[2026-06-02 05:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771557120001,"power":27376,"unknown_201":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4737646098058467328}} 
[2026-06-02 05:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":89097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:18:30] local.INFO: GPS data processed {"connection_id":89097,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:18:30] local.INFO: Acknowledgment sent {"connection_id":89097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:19:01] local.INFO: TCP Data received {"connection_id":89097,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8595da38012d41ce80066a67f8000a001f2c..."} 
[2026-06-02 05:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8595da38012d41ce80066a67f8000a001f2c..."} 
[2026-06-02 05:19:01] local.INFO: Processing buffer {"connection_id":89097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8595da38012d41ce80066a67f8000a001f2c..."} 
[2026-06-02 05:19:01] local.INFO: Packet analysis {"connection_id":89097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8595"} 
[2026-06-02 05:19:01] local.INFO: Extracted packet for processing {"connection_id":89097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8595"} 
[2026-06-02 05:19:01] local.INFO: GPS Element Parsed {"raw_longitude":759287424,"raw_latitude":107636728,"longitude_deg":75.9287424,"latitude_deg":10.7636728,"altitude":10,"angle":31,"satellites":44,"speed":56,"hex_longitude":"2d41ce80","hex_latitude":"066a67f8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771557120001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304729763602235392,"note":"Value kept but may cause issues"} 
[2026-06-02 05:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4737646098058467328,"note":"Value kept but may cause issues"} 
[2026-06-02 05:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780357651000,"timestamp_ms":1780357651000,"timestamp_seconds":1780357651,"priority":1,"record_length":96,"hex_timestamp":"0000019e8595da38"} 
[2026-06-02 05:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:19: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-06-02 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 05:19:01] 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-06-02 05: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-06-02 05:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:19:01] 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-06-02 05:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771557120001,"66":27343,"201":206,"80":60416,"24":56,"16":304729763602235392,"45":4737646098058467328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-06-02 05:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771557120001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:19:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 05:19:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304729763602235392,"km_value":304729763602235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4737646098058467328,"description":"Unknown IO ID 45"} 
[2026-06-02 05:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771557120001,"power":27343,"unknown_201":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4737646098058467328}} 
[2026-06-02 05:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":89097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:19:01] local.INFO: GPS data processed {"connection_id":89097,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:19:01] local.INFO: Acknowledgment sent {"connection_id":89097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:19:24] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:24] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:24] local.INFO: IMEI packet received {"connection_id":89503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":89503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:19:27] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:27] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:27] local.INFO: IMEI packet received {"connection_id":89503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":89503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:19:29] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:29] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:19:29] local.INFO: IMEI packet received {"connection_id":89503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":89503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:19:30] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8595f590012d41e4c0066a87e8000800232c..."} 
[2026-06-02 05:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8595f590012d41e4c0066a87e8000800232c..."} 
[2026-06-02 05:19:30] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8595f590012d41e4c0066a87e8000800232c..."} 
[2026-06-02 05:19:30] local.INFO: Packet analysis {"connection_id":89503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8595"} 
[2026-06-02 05:19:30] local.INFO: Extracted packet for processing {"connection_id":89503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8595"} 
[2026-06-02 05:19:30] local.INFO: GPS Element Parsed {"raw_longitude":759293120,"raw_latitude":107644904,"longitude_deg":75.929312,"latitude_deg":10.7644904,"altitude":8,"angle":35,"satellites":44,"speed":56,"hex_longitude":"2d41e4c0","hex_latitude":"066a87e8","is_valid_coordinates":true} 
[2026-06-02 05:19: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-06-02 05:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771558656001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304730244638572544,"note":"Value kept but may cause issues"} 
[2026-06-02 05:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4741868222711068672,"note":"Value kept but may cause issues"} 
[2026-06-02 05:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780357658000,"timestamp_ms":1780357658000,"timestamp_seconds":1780357658,"priority":1,"record_length":96,"hex_timestamp":"0000019e8595f590"} 
[2026-06-02 05:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:19: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-06-02 05:19: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-06-02 05:19: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-06-02 05:19: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-06-02 05:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:19:30] 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-06-02 05:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771558656001,"66":27245,"201":206,"80":60416,"24":56,"16":304730244638572544,"45":4741868222711068672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-06-02 05:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771558656001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:19:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 05:19:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304730244638572544,"km_value":304730244638572.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4741868222711068672,"description":"Unknown IO ID 45"} 
[2026-06-02 05:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771558656001,"power":27245,"unknown_201":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4741868222711068672}} 
[2026-06-02 05:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":89503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:19:30] local.INFO: GPS data processed {"connection_id":89503,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:19:30] local.INFO: Acknowledgment sent {"connection_id":89503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:20:01] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85974198012d430480066bda100005002b2b..."} 
[2026-06-02 05:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85974198012d430480066bda100005002b2b..."} 
[2026-06-02 05:20:01] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85974198012d430480066bda100005002b2b..."} 
[2026-06-02 05:20:01] local.INFO: Packet analysis {"connection_id":89503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8597"} 
[2026-06-02 05:20:01] local.INFO: Extracted packet for processing {"connection_id":89503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8597"} 
[2026-06-02 05:20:01] local.INFO: GPS Element Parsed {"raw_longitude":759366784,"raw_latitude":107731472,"longitude_deg":75.9366784,"latitude_deg":10.7731472,"altitude":5,"angle":43,"satellites":43,"speed":54,"hex_longitude":"2d430480","hex_latitude":"066bda10","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771580416001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304735725016842240,"note":"Value kept but may cause issues"} 
[2026-06-02 05:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4821807116119414784,"note":"Value kept but may cause issues"} 
[2026-06-02 05:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780357743000,"timestamp_ms":1780357743000,"timestamp_seconds":1780357743,"priority":1,"record_length":96,"hex_timestamp":"0000019e85974198"} 
[2026-06-02 05:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05: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-06-02 05: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":185,"data_length":795,"current_offset":136} 
[2026-06-02 05:20: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-06-02 05: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-06-02 05:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:20:01] 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-06-02 05:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771580416001,"66":27310,"148":206,"80":60416,"24":54,"16":304735725016842240,"45":4821807116119414784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-06-02 05:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771580416001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:20:01] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 05:20:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304735725016842240,"km_value":304735725016842.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4821807116119414784,"description":"Unknown IO ID 45"} 
[2026-06-02 05:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771580416001,"power":27310,"unknown_148":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4821807116119414784}} 
[2026-06-02 05:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":89503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:20:01] local.INFO: GPS data processed {"connection_id":89503,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:20:01] local.INFO: Acknowledgment sent {"connection_id":89503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:20:25] local.INFO: TCP Data received {"connection_id":90562,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:20:25] local.INFO: Processing buffer {"connection_id":90562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:20:25] local.INFO: IMEI packet received {"connection_id":90562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":90562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:20:30] local.INFO: TCP Data received {"connection_id":90562,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:20:30] local.INFO: Processing buffer {"connection_id":90562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:20:30] local.INFO: IMEI packet received {"connection_id":90562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":90562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:20:30] local.INFO: TCP Data received {"connection_id":90562,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85975cf0012d431ec0066bf648000500292c..."} 
[2026-06-02 05:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85975cf0012d431ec0066bf648000500292c..."} 
[2026-06-02 05:20:30] local.INFO: Processing buffer {"connection_id":90562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85975cf0012d431ec0066bf648000500292c..."} 
[2026-06-02 05:20:30] local.INFO: Packet analysis {"connection_id":90562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8597"} 
[2026-06-02 05:20:30] local.INFO: Extracted packet for processing {"connection_id":90562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8597"} 
[2026-06-02 05:20:30] local.INFO: GPS Element Parsed {"raw_longitude":759373504,"raw_latitude":107738696,"longitude_deg":75.9373504,"latitude_deg":10.7738696,"altitude":5,"angle":41,"satellites":44,"speed":56,"hex_longitude":"2d431ec0","hex_latitude":"066bf648","is_valid_coordinates":true} 
[2026-06-02 05:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771582208001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304736197463244800,"note":"Value kept but may cause issues"} 
[2026-06-02 05:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4829125465515626496,"note":"Value kept but may cause issues"} 
[2026-06-02 05:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780357750000,"timestamp_ms":1780357750000,"timestamp_seconds":1780357750,"priority":1,"record_length":96,"hex_timestamp":"0000019e85975cf0"} 
[2026-06-02 05:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:20: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-06-02 05:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 05:20:30] 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-06-02 05:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:20:30] 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-06-02 05:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771582208001,"66":27343,"148":206,"80":60416,"24":56,"16":304736197463244800,"45":4829125465515626496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-06-02 05:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771582208001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:20:30] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 05:20:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304736197463244800,"km_value":304736197463244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4829125465515626496,"description":"Unknown IO ID 45"} 
[2026-06-02 05:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771582208001,"power":27343,"unknown_148":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4829125465515626496}} 
[2026-06-02 05:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":90562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:20:30] local.INFO: GPS data processed {"connection_id":90562,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:20:30] local.INFO: Acknowledgment sent {"connection_id":90562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:21:05] local.INFO: TCP Data received {"connection_id":90562,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85977848012d433840066c1358000600292c..."} 
[2026-06-02 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85977848012d433840066c1358000600292c..."} 
[2026-06-02 05:21:05] local.INFO: Processing buffer {"connection_id":90562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85977848012d433840066c1358000600292c..."} 
[2026-06-02 05:21:05] local.INFO: Packet analysis {"connection_id":90562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8597"} 
[2026-06-02 05:21:05] local.INFO: Extracted packet for processing {"connection_id":90562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8597"} 
[2026-06-02 05:21:05] local.INFO: GPS Element Parsed {"raw_longitude":759380032,"raw_latitude":107746136,"longitude_deg":75.9380032,"latitude_deg":10.7746136,"altitude":6,"angle":41,"satellites":44,"speed":56,"hex_longitude":"2d433840","hex_latitude":"066c1358","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771584000001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304736674204614656,"note":"Value kept but may cause issues"} 
[2026-06-02 05:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4836514183656130560,"note":"Value kept but may cause issues"} 
[2026-06-02 05:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780357757000,"timestamp_ms":1780357757000,"timestamp_seconds":1780357757,"priority":1,"record_length":96,"hex_timestamp":"0000019e85977848"} 
[2026-06-02 05:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05: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-06-02 05: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":207,"data_length":795,"current_offset":136} 
[2026-06-02 05:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771584000001,"66":27376,"148":206,"80":60416,"24":56,"16":304736674204614656,"45":4836514183656130560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-06-02 05:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771584000001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:21:05] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-06-02 05:21:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-06-02 05:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304736674204614656,"km_value":304736674204614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4836514183656130560,"description":"Unknown IO ID 45"} 
[2026-06-02 05:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771584000001,"power":27376,"unknown_148":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4836514183656130560}} 
[2026-06-02 05:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":90562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:21:05] local.INFO: GPS data processed {"connection_id":90562,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:21:05] local.INFO: Acknowledgment sent {"connection_id":90562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:21:34] local.INFO: TCP Data received {"connection_id":89099,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:21:34] local.INFO: Processing buffer {"connection_id":89099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:21:34] local.INFO: IMEI packet received {"connection_id":89099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":89099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:21:59] local.INFO: TCP Data received {"connection_id":89100,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:21:59] local.INFO: Processing buffer {"connection_id":89100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:21:59] local.INFO: IMEI packet received {"connection_id":89100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":89100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:22:00] local.INFO: TCP Data received {"connection_id":89100,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:22:00] local.INFO: Processing buffer {"connection_id":89100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:22:00] local.INFO: IMEI packet received {"connection_id":89100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 05:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":89100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:22:03] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:03] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:03] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:22:04] local.INFO: TCP Data received {"connection_id":89100,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:22:04] local.INFO: Processing buffer {"connection_id":89100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:22:04] local.INFO: IMEI packet received {"connection_id":89100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 05:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":89100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:22:04] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:05] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:05] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:22:32] local.INFO: TCP Data received {"connection_id":90563,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:32] local.INFO: Processing buffer {"connection_id":90563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:32] local.INFO: IMEI packet received {"connection_id":90563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":90563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:22:35] local.INFO: TCP Data received {"connection_id":90563,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:35] local.INFO: Processing buffer {"connection_id":90563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:22:35] local.INFO: IMEI packet received {"connection_id":90563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":90563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:27:24] local.INFO: TCP Data received {"connection_id":89356,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:27:24] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:27:24] local.INFO: IMEI packet received {"connection_id":89356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:27:39] local.INFO: TCP Data received {"connection_id":90567,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:27:39] local.INFO: Processing buffer {"connection_id":90567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:27:39] local.INFO: IMEI packet received {"connection_id":90567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":90567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:27:40] local.INFO: TCP Data received {"connection_id":90567,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859d7f40012d480cc00671c878000900292b..."} 
[2026-06-02 05:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859d7f40012d480cc00671c878000900292b..."} 
[2026-06-02 05:27:40] local.INFO: Processing buffer {"connection_id":90567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859d7f40012d480cc00671c878000900292b..."} 
[2026-06-02 05:27:40] local.INFO: Packet analysis {"connection_id":90567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859d"} 
[2026-06-02 05:27:40] local.INFO: Extracted packet for processing {"connection_id":90567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859d"} 
[2026-06-02 05:27:40] local.INFO: GPS Element Parsed {"raw_longitude":759696576,"raw_latitude":108120184,"longitude_deg":75.9696576,"latitude_deg":10.8120184,"altitude":9,"angle":41,"satellites":43,"speed":47,"hex_longitude":"2d480cc0","hex_latitude":"0671c878","is_valid_coordinates":true} 
[2026-06-02 05:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771684864001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304760305114677248,"note":"Value kept but may cause issues"} 
[2026-06-02 05:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5184346886222155776,"note":"Value kept but may cause issues"} 
[2026-06-02 05:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780358152000,"timestamp_ms":1780358152000,"timestamp_seconds":1780358152,"priority":1,"record_length":96,"hex_timestamp":"0000019e859d7f40"} 
[2026-06-02 05:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:27: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-06-02 05:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 05:27:40] 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-06-02 05:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771684864001,"66":27376,"38":206,"80":60160,"24":47,"16":304760305114677248,"45":5184346886222155776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-06-02 05:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771684864001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:27:40] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-02 05:27:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304760305114677248,"km_value":304760305114677.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5184346886222155776,"description":"Unknown IO ID 45"} 
[2026-06-02 05:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771684864001,"power":27376,"unknown_38":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5184346886222155776}} 
[2026-06-02 05:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":90567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:27:40] local.INFO: GPS data processed {"connection_id":90567,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:27:40] local.INFO: Acknowledgment sent {"connection_id":90567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:28:04] local.INFO: TCP Data received {"connection_id":89507,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:28:04] local.INFO: Processing buffer {"connection_id":89507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:28:04] local.INFO: IMEI packet received {"connection_id":89507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":89507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:28:25] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:25] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:25] local.INFO: IMEI packet received {"connection_id":89357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":89357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:28:26] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:26] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:26] local.INFO: IMEI packet received {"connection_id":89357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":89357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:28:30] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:30] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:28:30] local.INFO: IMEI packet received {"connection_id":89357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":89357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:28:30] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859ecb48012d4916000672f488000d00272b..."} 
[2026-06-02 05:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859ecb48012d4916000672f488000d00272b..."} 
[2026-06-02 05:28:30] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859ecb48012d4916000672f488000d00272b..."} 
[2026-06-02 05:28:30] local.INFO: Packet analysis {"connection_id":89357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859e"} 
[2026-06-02 05:28:30] local.INFO: Extracted packet for processing {"connection_id":89357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859e"} 
[2026-06-02 05:28:30] local.INFO: GPS Element Parsed {"raw_longitude":759764480,"raw_latitude":108197000,"longitude_deg":75.976448,"latitude_deg":10.8197,"altitude":13,"angle":39,"satellites":43,"speed":46,"hex_longitude":"2d491600","hex_latitude":"0672f488","is_valid_coordinates":true} 
[2026-06-02 05:28: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-06-02 05:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771706624001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304765240032100352,"note":"Value kept but may cause issues"} 
[2026-06-02 05:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5259852548744415232,"note":"Value kept but may cause issues"} 
[2026-06-02 05:28:30] 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-06-02 05:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780358237000,"timestamp_ms":1780358237000,"timestamp_seconds":1780358237,"priority":1,"record_length":96,"hex_timestamp":"0000019e859ecb48"} 
[2026-06-02 05:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:28: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-06-02 05:28: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-02 05:28:30] 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-06-02 05:28: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-06-02 05:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:28:30] 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-06-02 05:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771706624001,"66":27213,"83":206,"80":60160,"24":46,"16":304765240032100352,"45":5259852548744415232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 05:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771706624001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 05:28:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304765240032100352,"km_value":304765240032100.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5259852548744415232,"description":"Unknown IO ID 45"} 
[2026-06-02 05:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771706624001,"power":27213,"unknown_83":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5259852548744415232}} 
[2026-06-02 05:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":89357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:28:31] local.INFO: GPS data processed {"connection_id":89357,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:28:31] local.INFO: Acknowledgment sent {"connection_id":89357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:29:01] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859eea88012d492d40067310b8000d00272c..."} 
[2026-06-02 05:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859eea88012d492d40067310b8000d00272c..."} 
[2026-06-02 05:29:01] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859eea88012d492d40067310b8000d00272c..."} 
[2026-06-02 05:29:01] local.INFO: Packet analysis {"connection_id":89357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859e"} 
[2026-06-02 05:29:01] local.INFO: Extracted packet for processing {"connection_id":89357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859e"} 
[2026-06-02 05:29:01] local.INFO: GPS Element Parsed {"raw_longitude":759770432,"raw_latitude":108204216,"longitude_deg":75.9770432,"latitude_deg":10.8204216,"altitude":13,"angle":39,"satellites":44,"speed":46,"hex_longitude":"2d492d40","hex_latitude":"067310b8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771708672001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304765691003666432,"note":"Value kept but may cause issues"} 
[2026-06-02 05:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5266396841954805760,"note":"Value kept but may cause issues"} 
[2026-06-02 05:29: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-06-02 05:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780358245000,"timestamp_ms":1780358245000,"timestamp_seconds":1780358245,"priority":1,"record_length":96,"hex_timestamp":"0000019e859eea88"} 
[2026-06-02 05:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:29: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-06-02 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 05:29: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-06-02 05: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-06-02 05:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:29:01] 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-06-02 05:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771708672001,"66":27484,"83":206,"80":60160,"24":46,"16":304765691003666432,"45":5266396841954805760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 05:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771708672001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 05:29:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304765691003666432,"km_value":304765691003666.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5266396841954805760,"description":"Unknown IO ID 45"} 
[2026-06-02 05:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771708672001,"power":27484,"unknown_83":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5266396841954805760}} 
[2026-06-02 05:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":89357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:29:01] local.INFO: GPS data processed {"connection_id":89357,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:29:01] local.INFO: Acknowledgment sent {"connection_id":89357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:29:24] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:29:24] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:29:24] local.INFO: IMEI packet received {"connection_id":89509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":89509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:29:30] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:29:30] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:29:30] local.INFO: IMEI packet received {"connection_id":89509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":89509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:29:33] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859f09c8012d49450006732db0000c00272d..."} 
[2026-06-02 05:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859f09c8012d49450006732db0000c00272d..."} 
[2026-06-02 05:29:33] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859f09c8012d49450006732db0000c00272d..."} 
[2026-06-02 05:29:33] local.INFO: Packet analysis {"connection_id":89509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:29:33] local.INFO: Extracted packet for processing {"connection_id":89509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:29:33] local.INFO: GPS Element Parsed {"raw_longitude":759776512,"raw_latitude":108211632,"longitude_deg":75.9776512,"latitude_deg":10.8211632,"altitude":12,"angle":39,"satellites":45,"speed":48,"hex_longitude":"2d494500","hex_latitude":"06732db0","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771710720001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304766154860134400,"note":"Value kept but may cause issues"} 
[2026-06-02 05:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5272941135165175808,"note":"Value kept but may cause issues"} 
[2026-06-02 05:29:33] 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-06-02 05:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780358253000,"timestamp_ms":1780358253000,"timestamp_seconds":1780358253,"priority":1,"record_length":96,"hex_timestamp":"0000019e859f09c8"} 
[2026-06-02 05:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:29: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-06-02 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 05:29:33] 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-06-02 05: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-06-02 05:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:29:33] 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-06-02 05:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771710720001,"66":27463,"81":206,"80":60160,"24":48,"16":304766154860134400,"45":5272941135165175808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-02 05:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771710720001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:29:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 05:29:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304766154860134400,"km_value":304766154860134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5272941135165175808,"description":"Unknown IO ID 45"} 
[2026-06-02 05:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771710720001,"power":27463,"unknown_81":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5272941135165175808}} 
[2026-06-02 05:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":89509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:29:33] local.INFO: GPS data processed {"connection_id":89509,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:29:33] local.INFO: Acknowledgment sent {"connection_id":89509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:30:04] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859f2520012d495b40067348b8000b00262d..."} 
[2026-06-02 05:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859f2520012d495b40067348b8000b00262d..."} 
[2026-06-02 05:30:04] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859f2520012d495b40067348b8000b00262d..."} 
[2026-06-02 05:30:04] local.INFO: Packet analysis {"connection_id":89509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:30:04] local.INFO: Extracted packet for processing {"connection_id":89509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:30:04] local.INFO: GPS Element Parsed {"raw_longitude":759782208,"raw_latitude":108218552,"longitude_deg":75.9782208,"latitude_deg":10.8218552,"altitude":11,"angle":38,"satellites":45,"speed":50,"hex_longitude":"2d495b40","hex_latitude":"067348b8","is_valid_coordinates":true} 
[2026-06-02 05:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771712768001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304766584356864000,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279626165863952384,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:04] 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-06-02 05:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780358260000,"timestamp_ms":1780358260000,"timestamp_seconds":1780358260,"priority":1,"record_length":96,"hex_timestamp":"0000019e859f2520"} 
[2026-06-02 05:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 05:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771712768001,"66":27484,"81":206,"80":60160,"24":50,"16":304766584356864000,"45":5279626165863952384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-02 05:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771712768001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 05:30:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304766584356864000,"km_value":304766584356864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279626165863952384,"description":"Unknown IO ID 45"} 
[2026-06-02 05:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771712768001,"power":27484,"unknown_81":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5279626165863952384}} 
[2026-06-02 05:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":89509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:30:04] local.INFO: GPS data processed {"connection_id":89509,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:30:04] local.INFO: Acknowledgment sent {"connection_id":89509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:30:30] local.INFO: TCP Data received {"connection_id":90568,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:30:30] local.INFO: Processing buffer {"connection_id":90568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:30:30] local.INFO: IMEI packet received {"connection_id":90568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":90568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:30:36] local.INFO: TCP Data received {"connection_id":90568,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:30:36] local.INFO: Processing buffer {"connection_id":90568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:30:36] local.INFO: IMEI packet received {"connection_id":90568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":90568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:30:37] local.INFO: TCP Data received {"connection_id":90568,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859f4078012d497180067363d0000900262d..."} 
[2026-06-02 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859f4078012d497180067363d0000900262d..."} 
[2026-06-02 05:30:37] local.INFO: Processing buffer {"connection_id":90568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859f4078012d497180067363d0000900262d..."} 
[2026-06-02 05:30:37] local.INFO: Packet analysis {"connection_id":90568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:30:37] local.INFO: Extracted packet for processing {"connection_id":90568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:30:37] local.INFO: GPS Element Parsed {"raw_longitude":759787904,"raw_latitude":108225488,"longitude_deg":75.9787904,"latitude_deg":10.8225488,"altitude":9,"angle":38,"satellites":45,"speed":51,"hex_longitude":"2d497180","hex_latitude":"067363d0","is_valid_coordinates":true} 
[2026-06-02 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771714560001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304767013853593600,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5285888984097536000,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:37] 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-06-02 05:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780358267000,"timestamp_ms":1780358267000,"timestamp_seconds":1780358267,"priority":1,"record_length":96,"hex_timestamp":"0000019e859f4078"} 
[2026-06-02 05:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:30: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-06-02 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 05:30:37] 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-06-02 05:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771714560001,"66":27463,"81":206,"80":60160,"24":51,"16":304767013853593600,"45":5285888984097536000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-02 05:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771714560001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 05:30:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304767013853593600,"km_value":304767013853593.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5285888984097536000,"description":"Unknown IO ID 45"} 
[2026-06-02 05:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771714560001,"power":27463,"unknown_81":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5285888984097536000}} 
[2026-06-02 05:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":90568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:30:37] local.INFO: GPS data processed {"connection_id":90568,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:30:37] local.INFO: Acknowledgment sent {"connection_id":90568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:30:40] local.INFO: TCP Data received {"connection_id":90568,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859f5bd0012d49888006737fd8000600262d..."} 
[2026-06-02 05:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859f5bd0012d49888006737fd8000600262d..."} 
[2026-06-02 05:30:40] local.INFO: Processing buffer {"connection_id":90568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859f5bd0012d49888006737fd8000600262d..."} 
[2026-06-02 05:30:40] local.INFO: Packet analysis {"connection_id":90568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:30:40] local.INFO: Extracted packet for processing {"connection_id":90568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:30:40] local.INFO: GPS Element Parsed {"raw_longitude":759793792,"raw_latitude":108232664,"longitude_deg":75.9793792,"latitude_deg":10.8232664,"altitude":6,"angle":38,"satellites":45,"speed":53,"hex_longitude":"2d498880","hex_latitude":"06737fd8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771716352001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304767460530192384,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5292151802331123712,"note":"Value kept but may cause issues"} 
[2026-06-02 05:30:40] 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-06-02 05:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780358274000,"timestamp_ms":1780358274000,"timestamp_seconds":1780358274,"priority":1,"record_length":96,"hex_timestamp":"0000019e859f5bd0"} 
[2026-06-02 05:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:30: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-06-02 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 05:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771716352001,"66":27115,"81":206,"80":60160,"24":53,"16":304767460530192384,"45":5292151802331123712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-02 05:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771716352001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 05:30:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304767460530192384,"km_value":304767460530192.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5292151802331123712,"description":"Unknown IO ID 45"} 
[2026-06-02 05:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771716352001,"power":27115,"unknown_81":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5292151802331123712}} 
[2026-06-02 05:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":90568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:30:40] local.INFO: GPS data processed {"connection_id":90568,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:30:40] local.INFO: Acknowledgment sent {"connection_id":90568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:31:25] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:31:25] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:31:25] local.INFO: IMEI packet received {"connection_id":89510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":89510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:31:30] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:31:30] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:31:30] local.INFO: IMEI packet received {"connection_id":89510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":89510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:31:31] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859f7728012d499f0006739c08000500262d..."} 
[2026-06-02 05:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859f7728012d499f0006739c08000500262d..."} 
[2026-06-02 05:31:31] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859f7728012d499f0006739c08000500262d..."} 
[2026-06-02 05:31:31] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:31:31] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:31:31] local.INFO: GPS Element Parsed {"raw_longitude":759799552,"raw_latitude":108239880,"longitude_deg":75.9799552,"latitude_deg":10.823988,"altitude":5,"angle":38,"satellites":45,"speed":51,"hex_longitude":"2d499f00","hex_latitude":"06739c08","is_valid_coordinates":true} 
[2026-06-02 05:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771718144001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304767907206791168,"note":"Value kept but may cause issues"} 
[2026-06-02 05:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5298625726797305856,"note":"Value kept but may cause issues"} 
[2026-06-02 05:31:31] 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-06-02 05:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780358281000,"timestamp_ms":1780358281000,"timestamp_seconds":1780358281,"priority":1,"record_length":96,"hex_timestamp":"0000019e859f7728"} 
[2026-06-02 05:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:31: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-06-02 05:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-06-02 05:31:31] 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-06-02 05:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771718144001,"66":27213,"81":206,"80":60160,"24":51,"16":304767907206791168,"45":5298625726797305856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-02 05:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771718144001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 05:31:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304767907206791168,"km_value":304767907206791.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5298625726797305856,"description":"Unknown IO ID 45"} 
[2026-06-02 05:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771718144001,"power":27213,"unknown_81":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5298625726797305856}} 
[2026-06-02 05:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:31:31] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:31:31] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:31:35] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859f9668012d49b8400673b9e8000600272c..."} 
[2026-06-02 05:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859f9668012d49b8400673b9e8000600272c..."} 
[2026-06-02 05:31:35] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859f9668012d49b8400673b9e8000600272c..."} 
[2026-06-02 05:31:35] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:31:35] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:31:35] local.INFO: GPS Element Parsed {"raw_longitude":759806016,"raw_latitude":108247528,"longitude_deg":75.9806016,"latitude_deg":10.8247528,"altitude":6,"angle":39,"satellites":44,"speed":47,"hex_longitude":"2d49b840","hex_latitude":"0673b9e8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771719936001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304768388243128320,"note":"Value kept but may cause issues"} 
[2026-06-02 05:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5304958913775142912,"note":"Value kept but may cause issues"} 
[2026-06-02 05:31:35] 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-06-02 05:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780358289000,"timestamp_ms":1780358289000,"timestamp_seconds":1780358289,"priority":1,"record_length":96,"hex_timestamp":"0000019e859f9668"} 
[2026-06-02 05:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:31: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-06-02 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 05:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771719936001,"66":27213,"81":206,"80":60160,"24":47,"16":304768388243128320,"45":5304958913775142912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-02 05:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771719936001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 05:31:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304768388243128320,"km_value":304768388243128.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5304958913775142912,"description":"Unknown IO ID 45"} 
[2026-06-02 05:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771719936001,"power":27213,"unknown_81":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5304958913775142912}} 
[2026-06-02 05:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:31:35] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:31:35] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:32:06] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859fb5a8012d49ce400673d5a0000600262c..."} 
[2026-06-02 05:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859fb5a8012d49ce400673d5a0000600262c..."} 
[2026-06-02 05:32:06] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859fb5a8012d49ce400673d5a0000600262c..."} 
[2026-06-02 05:32:06] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:32:06] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":759811648,"raw_latitude":108254624,"longitude_deg":75.9811648,"latitude_deg":10.8254624,"altitude":6,"angle":38,"satellites":44,"speed":43,"hex_longitude":"2d49ce40","hex_latitude":"0673d5a0","is_valid_coordinates":true} 
[2026-06-02 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771721984001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304768826329792512,"note":"Value kept but may cause issues"} 
[2026-06-02 05:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5312066156939044864,"note":"Value kept but may cause issues"} 
[2026-06-02 05:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780358297000,"timestamp_ms":1780358297000,"timestamp_seconds":1780358297,"priority":1,"record_length":96,"hex_timestamp":"0000019e859fb5a8"} 
[2026-06-02 05:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 05:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771721984001,"66":27843,"218":206,"80":60160,"24":43,"16":304768826329792512,"45":5312066156939044864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771721984001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:32:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:32:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304768826329792512,"km_value":304768826329792.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5312066156939044864,"description":"Unknown IO ID 45"} 
[2026-06-02 05:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771721984001,"power":27843,"unknown_218":206,"unknown_80":60160,"ignition":43,"odometer":null,"unknown_45":5312066156939044864}} 
[2026-06-02 05:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:32:06] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:32:06] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:32:25] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:32:25] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:32:25] local.INFO: IMEI packet received {"connection_id":89511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":89511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:32:30] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:32:30] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:32:30] local.INFO: IMEI packet received {"connection_id":89511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":89511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:32:30] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:32:30] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:32:30] local.INFO: Packet analysis {"connection_id":89511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:32:30] local.INFO: Extracted packet for processing {"connection_id":89511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:32:30] local.INFO: GPS Element Parsed {"raw_longitude":759814912,"raw_latitude":108258760,"longitude_deg":75.9814912,"latitude_deg":10.825876,"altitude":7,"angle":38,"satellites":44,"speed":40,"hex_longitude":"2d49db00","hex_latitude":"0673e5c8","is_valid_coordinates":true} 
[2026-06-02 05:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771724032001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5318258606428495872,"note":"Value kept but may cause issues"} 
[2026-06-02 05:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780358302000,"timestamp_ms":1780358302000,"timestamp_seconds":1780358302,"priority":1,"record_length":96,"hex_timestamp":"0000019e859fc930"} 
[2026-06-02 05:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:32: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-06-02 05:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 05:32: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-06-02 05:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:32:30] 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-06-02 05:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771724032001,"66":27713,"218":206,"80":60160,"24":40,"16":304769079732862976,"45":5318258606428495872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771724032001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:32:30] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:32:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5318258606428495872,"description":"Unknown IO ID 45"} 
[2026-06-02 05:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771724032001,"power":27713,"unknown_218":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5318258606428495872}} 
[2026-06-02 05:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":89511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:32:30] local.INFO: GPS data processed {"connection_id":89511,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:32:30] local.INFO: Acknowledgment sent {"connection_id":89511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:33:01] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:33:01] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:33:01] local.INFO: Packet analysis {"connection_id":89511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:33:01] local.INFO: Extracted packet for processing {"connection_id":89511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:33:01] local.INFO: GPS Element Parsed {"raw_longitude":759814912,"raw_latitude":108258760,"longitude_deg":75.9814912,"latitude_deg":10.825876,"altitude":7,"angle":38,"satellites":44,"speed":40,"hex_longitude":"2d49db00","hex_latitude":"0673e5c8","is_valid_coordinates":true} 
[2026-06-02 05:33: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-06-02 05:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771724032001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5318258606428495872,"note":"Value kept but may cause issues"} 
[2026-06-02 05:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780358302000,"timestamp_ms":1780358302000,"timestamp_seconds":1780358302,"priority":1,"record_length":96,"hex_timestamp":"0000019e859fc930"} 
[2026-06-02 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-06-02 05:33: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-06-02 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 05:33: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-06-02 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-06-02 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-06-02 05:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:33:01] 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-06-02 05:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771724032001,"66":27713,"218":206,"80":60160,"24":40,"16":304769079732862976,"45":5318258606428495872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771724032001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:33:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:33:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5318258606428495872,"description":"Unknown IO ID 45"} 
[2026-06-02 05:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771724032001,"power":27713,"unknown_218":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5318258606428495872}} 
[2026-06-02 05:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":89511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:33:01] local.INFO: GPS data processed {"connection_id":89511,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:33:01] local.INFO: Acknowledgment sent {"connection_id":89511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:33:24] local.INFO: TCP Data received {"connection_id":90569,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:33:24] local.INFO: Processing buffer {"connection_id":90569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:33:24] local.INFO: IMEI packet received {"connection_id":90569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":90569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:33:25] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:33:25] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:33:25] local.INFO: IMEI packet received {"connection_id":89512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":89512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:33:30] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:33:30] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:33:30] local.INFO: IMEI packet received {"connection_id":89512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":89512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:33:30] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:33:30] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:33:30] local.INFO: Packet analysis {"connection_id":89512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:33:30] local.INFO: Extracted packet for processing {"connection_id":89512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:33:30] local.INFO: GPS Element Parsed {"raw_longitude":759814912,"raw_latitude":108258760,"longitude_deg":75.9814912,"latitude_deg":10.825876,"altitude":7,"angle":38,"satellites":44,"speed":40,"hex_longitude":"2d49db00","hex_latitude":"0673e5c8","is_valid_coordinates":true} 
[2026-06-02 05:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771724032001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5318258606428495872,"note":"Value kept but may cause issues"} 
[2026-06-02 05:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780358302000,"timestamp_ms":1780358302000,"timestamp_seconds":1780358302,"priority":1,"record_length":96,"hex_timestamp":"0000019e859fc930"} 
[2026-06-02 05:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:33: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-06-02 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 05:33: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-06-02 05: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-06-02 05:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:33:30] 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-06-02 05:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771724032001,"66":27713,"218":206,"80":60160,"24":40,"16":304769079732862976,"45":5318258606428495872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771724032001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:33:30] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:33:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5318258606428495872,"description":"Unknown IO ID 45"} 
[2026-06-02 05:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771724032001,"power":27713,"unknown_218":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5318258606428495872}} 
[2026-06-02 05:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:33:30] local.INFO: GPS data processed {"connection_id":89512,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:33:30] local.INFO: Acknowledgment sent {"connection_id":89512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:33:59] local.INFO: TCP Data received {"connection_id":89358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:33:59] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:33:59] local.INFO: IMEI packet received {"connection_id":89358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":89358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:34:02] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:34:02] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e859fc930012d49db000673e5c8000700262c..."} 
[2026-06-02 05:34:02] local.INFO: Packet analysis {"connection_id":89512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:34:02] local.INFO: Extracted packet for processing {"connection_id":89512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e859f"} 
[2026-06-02 05:34:02] local.INFO: GPS Element Parsed {"raw_longitude":759814912,"raw_latitude":108258760,"longitude_deg":75.9814912,"latitude_deg":10.825876,"altitude":7,"angle":38,"satellites":44,"speed":40,"hex_longitude":"2d49db00","hex_latitude":"0673e5c8","is_valid_coordinates":true} 
[2026-06-02 05:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771724032001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5318258606428495872,"note":"Value kept but may cause issues"} 
[2026-06-02 05:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780358302000,"timestamp_ms":1780358302000,"timestamp_seconds":1780358302,"priority":1,"record_length":96,"hex_timestamp":"0000019e859fc930"} 
[2026-06-02 05:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:34: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-06-02 05:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 05:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:34:02] 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-06-02 05:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771724032001,"66":27713,"218":206,"80":60160,"24":40,"16":304769079732862976,"45":5318258606428495872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771724032001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:34:02] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:34:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5318258606428495872,"description":"Unknown IO ID 45"} 
[2026-06-02 05:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771724032001,"power":27713,"unknown_218":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5318258606428495872}} 
[2026-06-02 05:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":89512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:34:02] local.INFO: GPS data processed {"connection_id":89512,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:34:02] local.INFO: Acknowledgment sent {"connection_id":89512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:34:24] local.INFO: TCP Data received {"connection_id":90570,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:34:24] local.INFO: Processing buffer {"connection_id":90570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:34:24] local.INFO: IMEI packet received {"connection_id":90570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":90570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:34:30] local.INFO: TCP Data received {"connection_id":90570,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:34:30] local.INFO: Processing buffer {"connection_id":90570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:34:30] local.INFO: IMEI packet received {"connection_id":90570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":90570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:34:31] local.INFO: TCP Data received {"connection_id":90570,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:34:31] local.INFO: Processing buffer {"connection_id":90570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:34:31] local.INFO: Packet analysis {"connection_id":90570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a4"} 
[2026-06-02 05:34:31] local.INFO: Extracted packet for processing {"connection_id":90570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a4"} 
[2026-06-02 05:34:31] local.INFO: GPS Element Parsed {"raw_longitude":759823232,"raw_latitude":108269216,"longitude_deg":75.9823232,"latitude_deg":10.8269216,"altitude":9,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d49fb80","hex_latitude":"06740ea0","is_valid_coordinates":true} 
[2026-06-02 05:34: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-06-02 05:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771725312001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5321847412382615552,"note":"Value kept but may cause issues"} 
[2026-06-02 05:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780358608000,"timestamp_ms":1780358608000,"timestamp_seconds":1780358608,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a47480"} 
[2026-06-02 05:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 05:34: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":65,"data_length":795,"current_offset":136} 
[2026-06-02 05:34:31] 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-06-02 05:34: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-06-02 05:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771725312001,"66":25647,"218":206,"80":60160,"24":0,"16":304769079732862976,"45":5321847412382615552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771725312001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:34:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:34:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5321847412382615552,"description":"Unknown IO ID 45"} 
[2026-06-02 05:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771725312001,"power":25647,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5321847412382615552}} 
[2026-06-02 05:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":90570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:34:31] local.INFO: GPS data processed {"connection_id":90570,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:34:31] local.INFO: Acknowledgment sent {"connection_id":90570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:35:02] local.INFO: TCP Data received {"connection_id":90570,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:35:02] local.INFO: Processing buffer {"connection_id":90570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:35:02] local.INFO: Packet analysis {"connection_id":90570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a4"} 
[2026-06-02 05:35:02] local.INFO: Extracted packet for processing {"connection_id":90570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a4"} 
[2026-06-02 05:35:02] local.INFO: GPS Element Parsed {"raw_longitude":759823232,"raw_latitude":108269216,"longitude_deg":75.9823232,"latitude_deg":10.8269216,"altitude":9,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d49fb80","hex_latitude":"06740ea0","is_valid_coordinates":true} 
[2026-06-02 05:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771725312001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5321847412382615552,"note":"Value kept but may cause issues"} 
[2026-06-02 05:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780358608000,"timestamp_ms":1780358608000,"timestamp_seconds":1780358608,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a47480"} 
[2026-06-02 05:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:35: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-06-02 05:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 05:35:02] 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-06-02 05:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:35:02] 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-06-02 05:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771725312001,"66":25647,"218":206,"80":60160,"24":0,"16":304769079732862976,"45":5321847412382615552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771725312001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:35:02] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:35:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5321847412382615552,"description":"Unknown IO ID 45"} 
[2026-06-02 05:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771725312001,"power":25647,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5321847412382615552}} 
[2026-06-02 05:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":90570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:35:02] local.INFO: GPS data processed {"connection_id":90570,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:35:02] local.INFO: Acknowledgment sent {"connection_id":90570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:35:24] local.INFO: TCP Data received {"connection_id":89106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:35:24] local.INFO: Processing buffer {"connection_id":89106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:35:24] local.INFO: IMEI packet received {"connection_id":89106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":89106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:35:30] local.INFO: TCP Data received {"connection_id":89106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:35:30] local.INFO: Processing buffer {"connection_id":89106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:35:30] local.INFO: IMEI packet received {"connection_id":89106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":89106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:35:30] local.INFO: TCP Data received {"connection_id":89106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:35:30] local.INFO: Processing buffer {"connection_id":89106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a47480012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:35:30] local.INFO: Packet analysis {"connection_id":89106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a4"} 
[2026-06-02 05:35:30] local.INFO: Extracted packet for processing {"connection_id":89106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a4"} 
[2026-06-02 05:35:30] local.INFO: GPS Element Parsed {"raw_longitude":759823232,"raw_latitude":108269216,"longitude_deg":75.9823232,"latitude_deg":10.8269216,"altitude":9,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d49fb80","hex_latitude":"06740ea0","is_valid_coordinates":true} 
[2026-06-02 05:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771725312001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5321847412382615552,"note":"Value kept but may cause issues"} 
[2026-06-02 05:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780358608000,"timestamp_ms":1780358608000,"timestamp_seconds":1780358608,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a47480"} 
[2026-06-02 05:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 05:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 05:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:35:30] 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-06-02 05:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771725312001,"66":25647,"218":206,"80":60160,"24":0,"16":304769079732862976,"45":5321847412382615552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771725312001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:35:30] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:35:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5321847412382615552,"description":"Unknown IO ID 45"} 
[2026-06-02 05:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771725312001,"power":25647,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5321847412382615552}} 
[2026-06-02 05:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":89106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:35:30] local.INFO: GPS data processed {"connection_id":89106,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:35:30] local.INFO: Acknowledgment sent {"connection_id":89106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:36:01] local.INFO: TCP Data received {"connection_id":89106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a5c858012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a5c858012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:36:01] local.INFO: Processing buffer {"connection_id":89106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a5c858012d49fb8006740ea0000900262e..."} 
[2026-06-02 05:36:01] local.INFO: Packet analysis {"connection_id":89106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a5"} 
[2026-06-02 05:36:01] local.INFO: Extracted packet for processing {"connection_id":89106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a5"} 
[2026-06-02 05:36:01] local.INFO: GPS Element Parsed {"raw_longitude":759823232,"raw_latitude":108269216,"longitude_deg":75.9823232,"latitude_deg":10.8269216,"altitude":9,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d49fb80","hex_latitude":"06740ea0","is_valid_coordinates":true} 
[2026-06-02 05:36: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-06-02 05:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771803648001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5330995349128388608,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780358695000,"timestamp_ms":1780358695000,"timestamp_seconds":1780358695,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a5c858"} 
[2026-06-02 05:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:36: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-06-02 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 05:36: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-06-02 05: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-06-02 05:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:36:01] 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-06-02 05:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771803648001,"66":25473,"218":206,"80":60160,"24":0,"16":304769079732862976,"45":5330995349128388608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771803648001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:36:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:36:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5330995349128388608,"description":"Unknown IO ID 45"} 
[2026-06-02 05:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771803648001,"power":25473,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5330995349128388608}} 
[2026-06-02 05:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":89106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:36:01] local.INFO: GPS data processed {"connection_id":89106,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:36:01] local.INFO: Acknowledgment sent {"connection_id":89106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:36:25] local.INFO: TCP Data received {"connection_id":90571,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:25] local.INFO: Processing buffer {"connection_id":90571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:25] local.INFO: IMEI packet received {"connection_id":90571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":90571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:36:25] local.INFO: TCP Data received {"connection_id":90571,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:25] local.INFO: Processing buffer {"connection_id":90571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:25] local.INFO: IMEI packet received {"connection_id":90571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":90571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:36:27] local.INFO: TCP Data received {"connection_id":90571,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:27] local.INFO: Processing buffer {"connection_id":90571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:36:27] local.INFO: IMEI packet received {"connection_id":90571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":90571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:36:27] local.INFO: TCP Data received {"connection_id":90571,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a62230012d49fcc0067411a0000900282d..."} 
[2026-06-02 05:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a62230012d49fcc0067411a0000900282d..."} 
[2026-06-02 05:36:27] local.INFO: Processing buffer {"connection_id":90571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a62230012d49fcc0067411a0000900282d..."} 
[2026-06-02 05:36:27] local.INFO: Packet analysis {"connection_id":90571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:36:27] local.INFO: Extracted packet for processing {"connection_id":90571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:36:27] local.INFO: GPS Element Parsed {"raw_longitude":759823552,"raw_latitude":108269984,"longitude_deg":75.9823552,"latitude_deg":10.8269984,"altitude":9,"angle":40,"satellites":45,"speed":0,"hex_longitude":"2d49fcc0","hex_latitude":"067411a0","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771825920001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5330995349128388608,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780358718000,"timestamp_ms":1780358718000,"timestamp_seconds":1780358718,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a62230"} 
[2026-06-02 05:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05: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-06-02 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 05:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":90571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":90571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":90571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771825920001,"66":27267,"218":206,"80":60160,"24":0,"16":304769079732862976,"45":5330995349128388608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771825920001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:36:27] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:36:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5330995349128388608,"description":"Unknown IO ID 45"} 
[2026-06-02 05:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771825920001,"power":27267,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5330995349128388608}} 
[2026-06-02 05:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":90571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:36:27] local.INFO: GPS data processed {"connection_id":90571,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:36:27] local.INFO: Acknowledgment sent {"connection_id":90571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:36:58] local.INFO: TCP Data received {"connection_id":90571,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a67438012d49fcc0067411a0000900282d..."} 
[2026-06-02 05:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a67438012d49fcc0067411a0000900282d..."} 
[2026-06-02 05:36:58] local.INFO: Processing buffer {"connection_id":90571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a67438012d49fcc0067411a0000900282d..."} 
[2026-06-02 05:36:58] local.INFO: Packet analysis {"connection_id":90571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:36:58] local.INFO: Extracted packet for processing {"connection_id":90571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:36:58] local.INFO: GPS Element Parsed {"raw_longitude":759823552,"raw_latitude":108269984,"longitude_deg":75.9823552,"latitude_deg":10.8269984,"altitude":9,"angle":40,"satellites":45,"speed":0,"hex_longitude":"2d49fcc0","hex_latitude":"067411a0","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771831808001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769079732862976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5331347192849473536,"note":"Value kept but may cause issues"} 
[2026-06-02 05:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780358739000,"timestamp_ms":1780358739000,"timestamp_seconds":1780358739,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a67438"} 
[2026-06-02 05:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:36: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-06-02 05: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":131,"data_length":795,"current_offset":136} 
[2026-06-02 05:36: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-06-02 05: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-06-02 05:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":90571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":90571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":90571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:36:58] 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-06-02 05:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771831808001,"66":27321,"218":206,"80":60160,"24":0,"16":304769079732862976,"45":5331347192849473536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771831808001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:36:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:36:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769079732862976,"km_value":304769079732863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5331347192849473536,"description":"Unknown IO ID 45"} 
[2026-06-02 05:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771831808001,"power":27321,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5331347192849473536}} 
[2026-06-02 05:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":90571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:36:58] local.INFO: GPS data processed {"connection_id":90571,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:36:58] local.INFO: Acknowledgment sent {"connection_id":90571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:37:25] local.INFO: TCP Data received {"connection_id":89360,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:25] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:25] local.INFO: IMEI packet received {"connection_id":89360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":89360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:37:25] local.INFO: TCP Data received {"connection_id":89360,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:25] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:25] local.INFO: IMEI packet received {"connection_id":89360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":89360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:37:29] local.INFO: TCP Data received {"connection_id":89360,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:29] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:37:29] local.INFO: IMEI packet received {"connection_id":89360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":89360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:37:30] local.INFO: TCP Data received {"connection_id":89360,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a69378012d49fd8006741290000a003e2d..."} 
[2026-06-02 05:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a69378012d49fd8006741290000a003e2d..."} 
[2026-06-02 05:37:30] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a69378012d49fd8006741290000a003e2d..."} 
[2026-06-02 05:37:30] local.INFO: Packet analysis {"connection_id":89360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:37:30] local.INFO: Extracted packet for processing {"connection_id":89360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:37:30] local.INFO: GPS Element Parsed {"raw_longitude":759823744,"raw_latitude":108270224,"longitude_deg":75.9823744,"latitude_deg":10.8270224,"altitude":10,"angle":62,"satellites":45,"speed":6,"hex_longitude":"2d49fd80","hex_latitude":"06741290","is_valid_coordinates":true} 
[2026-06-02 05:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771837184001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769096912732160,"note":"Value kept but may cause issues"} 
[2026-06-02 05:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5331347192849473536,"note":"Value kept but may cause issues"} 
[2026-06-02 05:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780358747000,"timestamp_ms":1780358747000,"timestamp_seconds":1780358747,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a69378"} 
[2026-06-02 05:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:37: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-06-02 05:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 05:37: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-06-02 05:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:37:30] 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-06-02 05:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771837184001,"66":27343,"218":206,"80":60160,"24":6,"16":304769096912732160,"45":5331347192849473536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771837184001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:37:30] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:37:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769096912732160,"km_value":304769096912732.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5331347192849473536,"description":"Unknown IO ID 45"} 
[2026-06-02 05:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771837184001,"power":27343,"unknown_218":206,"unknown_80":60160,"ignition":6,"odometer":null,"unknown_45":5331347192849473536}} 
[2026-06-02 05:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":89360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:37:30] local.INFO: GPS data processed {"connection_id":89360,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:37:30] local.INFO: Acknowledgment sent {"connection_id":89360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:38:01] local.INFO: TCP Data received {"connection_id":89360,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a69b48012d49ff40067413b8000a002d2d..."} 
[2026-06-02 05:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a69b48012d49ff40067413b8000a002d2d..."} 
[2026-06-02 05:38:01] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a69b48012d49ff40067413b8000a002d2d..."} 
[2026-06-02 05:38:01] local.INFO: Packet analysis {"connection_id":89360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:38:01] local.INFO: Extracted packet for processing {"connection_id":89360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a6"} 
[2026-06-02 05:38:01] local.INFO: GPS Element Parsed {"raw_longitude":759824192,"raw_latitude":108270520,"longitude_deg":75.9824192,"latitude_deg":10.827052,"altitude":10,"angle":45,"satellites":45,"speed":13,"hex_longitude":"2d49ff40","hex_latitude":"067413b8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771839232001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304769122682535936,"note":"Value kept but may cause issues"} 
[2026-06-02 05:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5331558299082067968,"note":"Value kept but may cause issues"} 
[2026-06-02 05:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780358749000,"timestamp_ms":1780358749000,"timestamp_seconds":1780358749,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a69b48"} 
[2026-06-02 05:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:38: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-06-02 05: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":207,"data_length":795,"current_offset":136} 
[2026-06-02 05:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:38:01] 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-06-02 05:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771839232001,"66":27234,"218":206,"80":60160,"24":13,"16":304769122682535936,"45":5331558299082067968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-06-02 05:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771839232001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:38:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 05:38:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304769122682535936,"km_value":304769122682535.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5331558299082067968,"description":"Unknown IO ID 45"} 
[2026-06-02 05:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771839232001,"power":27234,"unknown_218":206,"unknown_80":60160,"ignition":13,"odometer":null,"unknown_45":5331558299082067968}} 
[2026-06-02 05:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":89360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:38:01] local.INFO: GPS data processed {"connection_id":89360,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:38:01] local.INFO: Acknowledgment sent {"connection_id":89360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:38:24] local.INFO: TCP Data received {"connection_id":89109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:24] local.INFO: Processing buffer {"connection_id":89109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:24] local.INFO: IMEI packet received {"connection_id":89109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":89109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:38:27] local.INFO: TCP Data received {"connection_id":89109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:27] local.INFO: Processing buffer {"connection_id":89109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:27] local.INFO: IMEI packet received {"connection_id":89109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":89109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:38:29] local.INFO: TCP Data received {"connection_id":89109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:29] local.INFO: Processing buffer {"connection_id":89109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:38:29] local.INFO: IMEI packet received {"connection_id":89109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":89109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:38:30] local.INFO: TCP Data received {"connection_id":89109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a80690012d4b03c006755070000a00262d..."} 
[2026-06-02 05:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a80690012d4b03c006755070000a00262d..."} 
[2026-06-02 05:38:30] local.INFO: Processing buffer {"connection_id":89109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a80690012d4b03c006755070000a00262d..."} 
[2026-06-02 05:38:30] local.INFO: Packet analysis {"connection_id":89109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a8"} 
[2026-06-02 05:38:30] local.INFO: Extracted packet for processing {"connection_id":89109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a8"} 
[2026-06-02 05:38:30] local.INFO: GPS Element Parsed {"raw_longitude":759890880,"raw_latitude":108351600,"longitude_deg":75.989088,"latitude_deg":10.83516,"altitude":10,"angle":38,"satellites":45,"speed":58,"hex_longitude":"2d4b03c0","hex_latitude":"06755070","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771861760001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304774173564076032,"note":"Value kept but may cause issues"} 
[2026-06-02 05:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5398338237325438976,"note":"Value kept but may cause issues"} 
[2026-06-02 05:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780358842000,"timestamp_ms":1780358842000,"timestamp_seconds":1780358842,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a80690"} 
[2026-06-02 05:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05: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-06-02 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 05:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:38:30] 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-06-02 05:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771861760001,"66":27343,"236":206,"80":60160,"24":58,"16":304774173564076032,"45":5398338237325438976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-06-02 05:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771861760001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:38:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-02 05:38:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304774173564076032,"km_value":304774173564076.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5398338237325438976,"description":"Unknown IO ID 45"} 
[2026-06-02 05:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771861760001,"power":27343,"unknown_236":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5398338237325438976}} 
[2026-06-02 05:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":89109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:38:30] local.INFO: GPS data processed {"connection_id":89109,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:38:30] local.INFO: Acknowledgment sent {"connection_id":89109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:39:01] local.INFO: TCP Data received {"connection_id":89109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a821e8012d4b1cc006757028000b00252d..."} 
[2026-06-02 05:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a821e8012d4b1cc006757028000b00252d..."} 
[2026-06-02 05:39:01] local.INFO: Processing buffer {"connection_id":89109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a821e8012d4b1cc006757028000b00252d..."} 
[2026-06-02 05:39:01] local.INFO: Packet analysis {"connection_id":89109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a8"} 
[2026-06-02 05:39:01] local.INFO: Extracted packet for processing {"connection_id":89109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a8"} 
[2026-06-02 05:39:01] local.INFO: GPS Element Parsed {"raw_longitude":759897280,"raw_latitude":108359720,"longitude_deg":75.989728,"latitude_deg":10.835972,"altitude":11,"angle":37,"satellites":45,"speed":58,"hex_longitude":"2d4b1cc0","hex_latitude":"06757028","is_valid_coordinates":true} 
[2026-06-02 05:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771863552001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304774671780282368,"note":"Value kept but may cause issues"} 
[2026-06-02 05:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5405375111745269760,"note":"Value kept but may cause issues"} 
[2026-06-02 05:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780358849000,"timestamp_ms":1780358849000,"timestamp_seconds":1780358849,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a821e8"} 
[2026-06-02 05:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:39: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-06-02 05:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 05:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:39:01] 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-06-02 05:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771863552001,"66":27376,"236":206,"80":60160,"24":58,"16":304774671780282368,"45":5405375111745269760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-06-02 05:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771863552001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:39:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-02 05:39:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304774671780282368,"km_value":304774671780282.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5405375111745269760,"description":"Unknown IO ID 45"} 
[2026-06-02 05:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771863552001,"power":27376,"unknown_236":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5405375111745269760}} 
[2026-06-02 05:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":89109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:39:01] local.INFO: GPS data processed {"connection_id":89109,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:39:01] local.INFO: Acknowledgment sent {"connection_id":89109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:39:24] local.INFO: TCP Data received {"connection_id":89361,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:24] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:24] local.INFO: IMEI packet received {"connection_id":89361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":89361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:39:26] local.INFO: TCP Data received {"connection_id":89361,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:26] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:26] local.INFO: IMEI packet received {"connection_id":89361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":89361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:39:29] local.INFO: TCP Data received {"connection_id":89514,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:39:29] local.INFO: Processing buffer {"connection_id":89514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:39:29] local.INFO: IMEI packet received {"connection_id":89514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:39:30] local.INFO: TCP Data received {"connection_id":89361,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:30] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:39:30] local.INFO: IMEI packet received {"connection_id":89361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":89361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:39:31] local.INFO: TCP Data received {"connection_id":89361,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a923b8012d4c0e00067672180012004b2e..."} 
[2026-06-02 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a923b8012d4c0e00067672180012004b2e..."} 
[2026-06-02 05:39:31] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a923b8012d4c0e00067672180012004b2e..."} 
[2026-06-02 05:39:31] local.INFO: Packet analysis {"connection_id":89361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:39:31] local.INFO: Extracted packet for processing {"connection_id":89361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":759959040,"raw_latitude":108425752,"longitude_deg":75.995904,"latitude_deg":10.8425752,"altitude":18,"angle":75,"satellites":46,"speed":57,"hex_longitude":"2d4c0e00","hex_latitude":"06767218","is_valid_coordinates":true} 
[2026-06-02 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771880960001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304779082711695360,"note":"Value kept but may cause issues"} 
[2026-06-02 05:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5472858737429995520,"note":"Value kept but may cause issues"} 
[2026-06-02 05:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780358915000,"timestamp_ms":1780358915000,"timestamp_seconds":1780358915,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a923b8"} 
[2026-06-02 05:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:39: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-06-02 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 05:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771880960001,"66":27234,"206":206,"80":60160,"24":57,"16":304779082711695360,"45":5472858737429995520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-06-02 05:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771880960001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:39:31] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-02 05:39:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304779082711695360,"km_value":304779082711695.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5472858737429995520,"description":"Unknown IO ID 45"} 
[2026-06-02 05:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771880960001,"power":27234,"unknown_206":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5472858737429995520}} 
[2026-06-02 05:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":89361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:39:31] local.INFO: GPS data processed {"connection_id":89361,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:39:31] local.INFO: Acknowledgment sent {"connection_id":89361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:39:59] local.INFO: TCP Data received {"connection_id":89110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:39:59] local.INFO: Processing buffer {"connection_id":89110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:39:59] local.INFO: IMEI packet received {"connection_id":89110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":89110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:40:02] local.INFO: TCP Data received {"connection_id":89361,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a93f10012d4c360006767898000e00532e..."} 
[2026-06-02 05:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a93f10012d4c360006767898000e00532e..."} 
[2026-06-02 05:40:02] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a93f10012d4c360006767898000e00532e..."} 
[2026-06-02 05:40:02] local.INFO: Packet analysis {"connection_id":89361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:40:02] local.INFO: Extracted packet for processing {"connection_id":89361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:40:02] local.INFO: GPS Element Parsed {"raw_longitude":759969280,"raw_latitude":108427416,"longitude_deg":75.996928,"latitude_deg":10.8427416,"altitude":14,"angle":83,"satellites":46,"speed":59,"hex_longitude":"2d4c3600","hex_latitude":"06767898","is_valid_coordinates":true} 
[2026-06-02 05:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771882240001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304779576632934400,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5480317824313464832,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780358922000,"timestamp_ms":1780358922000,"timestamp_seconds":1780358922,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a93f10"} 
[2026-06-02 05:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:40: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-06-02 05:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 05:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:40:02] 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-06-02 05:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771882240001,"66":27397,"206":206,"80":60160,"24":59,"16":304779576632934400,"45":5480317824313464832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-06-02 05:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771882240001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:40:02] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-02 05:40:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304779576632934400,"km_value":304779576632934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5480317824313464832,"description":"Unknown IO ID 45"} 
[2026-06-02 05:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771882240001,"power":27397,"unknown_206":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5480317824313464832}} 
[2026-06-02 05:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":89361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:40:02] local.INFO: GPS data processed {"connection_id":89361,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:40:02] local.INFO: Acknowledgment sent {"connection_id":89361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:40:29] local.INFO: TCP Data received {"connection_id":90572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:29] local.INFO: Processing buffer {"connection_id":90572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:29] local.INFO: IMEI packet received {"connection_id":90572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":90572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:40:29] local.INFO: TCP Data received {"connection_id":90572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:29] local.INFO: Processing buffer {"connection_id":90572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:29] local.INFO: IMEI packet received {"connection_id":90572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":90572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:40:34] local.INFO: TCP Data received {"connection_id":90572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:34] local.INFO: Processing buffer {"connection_id":90572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:40:34] local.INFO: IMEI packet received {"connection_id":90572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":90572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:40:35] local.INFO: TCP Data received {"connection_id":90572,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a95680012d4c59c006767ca0000c00532e..."} 
[2026-06-02 05:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a95680012d4c59c006767ca0000c00532e..."} 
[2026-06-02 05:40:35] local.INFO: Processing buffer {"connection_id":90572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a95680012d4c59c006767ca0000c00532e..."} 
[2026-06-02 05:40:35] local.INFO: Packet analysis {"connection_id":90572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:40:35] local.INFO: Extracted packet for processing {"connection_id":90572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:40:35] local.INFO: GPS Element Parsed {"raw_longitude":759978432,"raw_latitude":108428448,"longitude_deg":75.9978432,"latitude_deg":10.8428448,"altitude":12,"angle":83,"satellites":46,"speed":60,"hex_longitude":"2d4c59c0","hex_latitude":"06767ca0","is_valid_coordinates":true} 
[2026-06-02 05:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771884032001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304780014719598592,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5491576823382317056,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780358928000,"timestamp_ms":1780358928000,"timestamp_seconds":1780358928,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a95680"} 
[2026-06-02 05:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 05:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771884032001,"66":27321,"206":206,"80":60160,"24":60,"16":304780014719598592,"45":5491576823382317056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771884032001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304780014719598592,"km_value":304780014719598.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5491576823382317056,"description":"Unknown IO ID 45"} 
[2026-06-02 05:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771884032001,"power":27321,"unknown_206":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5491576823382317056}} 
[2026-06-02 05:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":90572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:40:35] local.INFO: GPS data processed {"connection_id":90572,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:40:35] local.INFO: Acknowledgment sent {"connection_id":90572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:40:35] local.INFO: TCP Data received {"connection_id":90572,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85a96df0012d4c7dc006768048000b00542e..."} 
[2026-06-02 05:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85a96df0012d4c7dc006768048000b00542e..."} 
[2026-06-02 05:40:35] local.INFO: Processing buffer {"connection_id":90572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85a96df0012d4c7dc006768048000b00542e..."} 
[2026-06-02 05:40:35] local.INFO: Packet analysis {"connection_id":90572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:40:35] local.INFO: Extracted packet for processing {"connection_id":90572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85a9"} 
[2026-06-02 05:40:35] local.INFO: GPS Element Parsed {"raw_longitude":759987648,"raw_latitude":108429384,"longitude_deg":75.9987648,"latitude_deg":10.8429384,"altitude":11,"angle":84,"satellites":46,"speed":59,"hex_longitude":"2d4c7dc0","hex_latitude":"06768048","is_valid_coordinates":true} 
[2026-06-02 05:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771885568001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304780457101230080,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501639553799987200,"note":"Value kept but may cause issues"} 
[2026-06-02 05:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780358934000,"timestamp_ms":1780358934000,"timestamp_seconds":1780358934,"priority":1,"record_length":96,"hex_timestamp":"0000019e85a96df0"} 
[2026-06-02 05:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 05:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771885568001,"66":27343,"235":206,"80":60160,"24":59,"16":304780457101230080,"45":5501639553799987200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-06-02 05:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771885568001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304780457101230080,"km_value":304780457101230.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501639553799987200,"description":"Unknown IO ID 45"} 
[2026-06-02 05:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771885568001,"power":27343,"unknown_235":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5501639553799987200}} 
[2026-06-02 05:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":90572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:40:35] local.INFO: GPS data processed {"connection_id":90572,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:40:35] local.INFO: Acknowledgment sent {"connection_id":90572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:41:07] local.INFO: TCP Data received {"connection_id":90572,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85aa96d0012d4dfcc006762390000f004e2d..."} 
[2026-06-02 05:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85aa96d0012d4dfcc006762390000f004e2d..."} 
[2026-06-02 05:41:07] local.INFO: Processing buffer {"connection_id":90572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85aa96d0012d4dfcc006762390000f004e2d..."} 
[2026-06-02 05:41:07] local.INFO: Packet analysis {"connection_id":90572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85aa"} 
[2026-06-02 05:41:07] local.INFO: Extracted packet for processing {"connection_id":90572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85aa"} 
[2026-06-02 05:41:07] local.INFO: GPS Element Parsed {"raw_longitude":760085696,"raw_latitude":108405648,"longitude_deg":76.0085696,"latitude_deg":10.8405648,"altitude":15,"angle":78,"satellites":45,"speed":56,"hex_longitude":"2d4dfcc0","hex_latitude":"06762390","is_valid_coordinates":true} 
[2026-06-02 05:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771904768001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304785546637475840,"note":"Value kept but may cause issues"} 
[2026-06-02 05:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5608740782432047104,"note":"Value kept but may cause issues"} 
[2026-06-02 05:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780359010000,"timestamp_ms":1780359010000,"timestamp_seconds":1780359010,"priority":1,"record_length":96,"hex_timestamp":"0000019e85aa96d0"} 
[2026-06-02 05:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 05:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:41:07] 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-06-02 05:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771904768001,"66":27332,"168":206,"80":60160,"24":56,"16":304785546637475840,"45":5608740782432047104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-06-02 05:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771904768001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:41:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-02 05:41:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-02 05:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304785546637475840,"km_value":304785546637475.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5608740782432047104,"description":"Unknown IO ID 45"} 
[2026-06-02 05:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771904768001,"power":27332,"unknown_168":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5608740782432047104}} 
[2026-06-02 05:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":90572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:41:07] local.INFO: GPS data processed {"connection_id":90572,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:41:07] local.INFO: Acknowledgment sent {"connection_id":90572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:41:23] local.INFO: TCP Data received {"connection_id":89515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:41:23] local.INFO: Processing buffer {"connection_id":89515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:41:23] local.INFO: IMEI packet received {"connection_id":89515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":89515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:41:30] local.INFO: TCP Data received {"connection_id":89515,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 05:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89515,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 05:41:30] local.INFO: Processing buffer {"connection_id":89515,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 05:41:30] local.INFO: IMEI packet received {"connection_id":89515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":89515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:41:32] local.INFO: TCP Data received {"connection_id":89515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:41:32] local.INFO: Processing buffer {"connection_id":89515,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 05:41:32] local.INFO: IMEI packet received {"connection_id":89515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":89515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:45:31] local.INFO: TCP Data received {"connection_id":89113,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:45:31] local.INFO: Processing buffer {"connection_id":89113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:45:31] local.INFO: IMEI packet received {"connection_id":89113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":89113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:46:01] local.INFO: TCP Data received {"connection_id":89364,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:46:01] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:46:01] local.INFO: IMEI packet received {"connection_id":89364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":89364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:46:34] local.INFO: TCP Data received {"connection_id":89519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:46:34] local.INFO: Processing buffer {"connection_id":89519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:46:34] local.INFO: IMEI packet received {"connection_id":89519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":89519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:46:35] local.INFO: TCP Data received {"connection_id":89519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85aec520012d523a0006783d08003d000627..."} 
[2026-06-02 05:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85aec520012d523a0006783d08003d000627..."} 
[2026-06-02 05:46:35] local.INFO: Processing buffer {"connection_id":89519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85aec520012d523a0006783d08003d000627..."} 
[2026-06-02 05:46:35] local.INFO: Packet analysis {"connection_id":89519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ae"} 
[2026-06-02 05:46:35] local.INFO: Extracted packet for processing {"connection_id":89519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ae"} 
[2026-06-02 05:46:35] local.INFO: GPS Element Parsed {"raw_longitude":760363520,"raw_latitude":108543240,"longitude_deg":76.036352,"latitude_deg":10.854324,"altitude":61,"angle":6,"satellites":39,"speed":39,"hex_longitude":"2d523a00","hex_latitude":"06783d08","is_valid_coordinates":true} 
[2026-06-02 05:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771974144001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304802889715417088,"note":"Value kept but may cause issues"} 
[2026-06-02 05:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5923359437683634176,"note":"Value kept but may cause issues"} 
[2026-06-02 05:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780359284000,"timestamp_ms":1780359284000,"timestamp_seconds":1780359284,"priority":1,"record_length":96,"hex_timestamp":"0000019e85aec520"} 
[2026-06-02 05:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 05:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771974144001,"66":27321,"52":206,"80":60928,"24":39,"16":304802889715417088,"45":5923359437683634176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,80,24,16,45]} 
[2026-06-02 05:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771974144001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:46:35] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 05:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304802889715417088,"km_value":304802889715417.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5923359437683634176,"description":"Unknown IO ID 45"} 
[2026-06-02 05:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771974144001,"power":27321,"unknown_52":206,"unknown_80":60928,"ignition":39,"odometer":null,"unknown_45":5923359437683634176}} 
[2026-06-02 05:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":89519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:46:35] local.INFO: GPS data processed {"connection_id":89519,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:46:35] local.INFO: Acknowledgment sent {"connection_id":89519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:47:07] local.INFO: TCP Data received {"connection_id":89519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85aeec30012d523f80067862d8004200062a..."} 
[2026-06-02 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85aeec30012d523f80067862d8004200062a..."} 
[2026-06-02 05:47:07] local.INFO: Processing buffer {"connection_id":89519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85aeec30012d523f80067862d8004200062a..."} 
[2026-06-02 05:47:07] local.INFO: Packet analysis {"connection_id":89519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ae"} 
[2026-06-02 05:47:07] local.INFO: Extracted packet for processing {"connection_id":89519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ae"} 
[2026-06-02 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":760364928,"raw_latitude":108552920,"longitude_deg":76.0364928,"latitude_deg":10.855292,"altitude":66,"angle":6,"satellites":42,"speed":39,"hex_longitude":"2d523f80","hex_latitude":"067862d8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455771976704001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304803362161819648,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5925048287546378240,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780359294000,"timestamp_ms":1780359294000,"timestamp_seconds":1780359294,"priority":1,"record_length":96,"hex_timestamp":"0000019e85aeec30"} 
[2026-06-02 05:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 05:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:47:07] 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-06-02 05:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455771976704001,"66":27376,"52":206,"80":60928,"24":39,"16":304803362161819648,"45":5925048287546378240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,80,24,16,45]} 
[2026-06-02 05:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455771976704001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:47:07] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 05:47:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304803362161819648,"km_value":304803362161819.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5925048287546378240,"description":"Unknown IO ID 45"} 
[2026-06-02 05:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455771976704001,"power":27376,"unknown_52":206,"unknown_80":60928,"ignition":39,"odometer":null,"unknown_45":5925048287546378240}} 
[2026-06-02 05:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":89519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:47:07] local.INFO: GPS data processed {"connection_id":89519,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:47:07] local.INFO: Acknowledgment sent {"connection_id":89519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:47:22] local.INFO: TCP Data received {"connection_id":90575,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:22] local.INFO: Processing buffer {"connection_id":90575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:22] local.INFO: IMEI packet received {"connection_id":90575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":90575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:47:25] local.INFO: TCP Data received {"connection_id":90575,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:25] local.INFO: Processing buffer {"connection_id":90575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:25] local.INFO: IMEI packet received {"connection_id":90575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":90575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:47:29] local.INFO: TCP Data received {"connection_id":90575,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:29] local.INFO: Processing buffer {"connection_id":90575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:47:29] local.INFO: IMEI packet received {"connection_id":90575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":90575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:47:34] local.INFO: TCP Data received {"connection_id":90575,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b047d8012d52a7800679de30005400232b..."} 
[2026-06-02 05:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b047d8012d52a7800679de30005400232b..."} 
[2026-06-02 05:47:34] local.INFO: Processing buffer {"connection_id":90575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b047d8012d52a7800679de30005400232b..."} 
[2026-06-02 05:47:34] local.INFO: Packet analysis {"connection_id":90575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b0"} 
[2026-06-02 05:47:34] local.INFO: Extracted packet for processing {"connection_id":90575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b0"} 
[2026-06-02 05:47:34] local.INFO: GPS Element Parsed {"raw_longitude":760391552,"raw_latitude":108650032,"longitude_deg":76.0391552,"latitude_deg":10.8650032,"altitude":84,"angle":35,"satellites":43,"speed":58,"hex_longitude":"2d52a780","hex_latitude":"0679de30","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772000512001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304808284194340864,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5950732879196624896,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:34] 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-06-02 05:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780359383000,"timestamp_ms":1780359383000,"timestamp_seconds":1780359383,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b047d8"} 
[2026-06-02 05:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:47: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-06-02 05: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 05:47:34] 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-06-02 05: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-06-02 05:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:47:34] 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-06-02 05:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772000512001,"66":27365,"156":206,"80":60928,"24":58,"16":304808284194340864,"45":5950732879196624896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-06-02 05:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772000512001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:47:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 05:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304808284194340864,"km_value":304808284194340.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5950732879196624896,"description":"Unknown IO ID 45"} 
[2026-06-02 05:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772000512001,"power":27365,"unknown_156":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5950732879196624896}} 
[2026-06-02 05:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":90575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:47:34] local.INFO: GPS data processed {"connection_id":90575,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:47:34] local.INFO: Acknowledgment sent {"connection_id":90575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:47:37] local.INFO: TCP Data received {"connection_id":90575,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b06330012d52c1800679fba80054002c2b..."} 
[2026-06-02 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b06330012d52c1800679fba80054002c2b..."} 
[2026-06-02 05:47:37] local.INFO: Processing buffer {"connection_id":90575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b06330012d52c1800679fba80054002c2b..."} 
[2026-06-02 05:47:37] local.INFO: Packet analysis {"connection_id":90575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b0"} 
[2026-06-02 05:47:37] local.INFO: Extracted packet for processing {"connection_id":90575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b0"} 
[2026-06-02 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":760398208,"raw_latitude":108657576,"longitude_deg":76.0398208,"latitude_deg":10.8657576,"altitude":84,"angle":44,"satellites":43,"speed":55,"hex_longitude":"2d52c180","hex_latitude":"0679fba8","is_valid_coordinates":true} 
[2026-06-02 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772002048001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304808765230678016,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5955869797523533824,"note":"Value kept but may cause issues"} 
[2026-06-02 05:47:37] 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-06-02 05:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780359390000,"timestamp_ms":1780359390000,"timestamp_seconds":1780359390,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b06330"} 
[2026-06-02 05:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 05:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772002048001,"66":27376,"156":206,"80":60928,"24":55,"16":304808765230678016,"45":5955869797523533824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-06-02 05:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772002048001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:47:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 05:47:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304808765230678016,"km_value":304808765230678.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5955869797523533824,"description":"Unknown IO ID 45"} 
[2026-06-02 05:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772002048001,"power":27376,"unknown_156":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5955869797523533824}} 
[2026-06-02 05:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":90575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:47:37] local.INFO: GPS data processed {"connection_id":90575,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:47:37] local.INFO: Acknowledgment sent {"connection_id":90575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:48:22] local.INFO: TCP Data received {"connection_id":90576,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:22] local.INFO: Processing buffer {"connection_id":90576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:22] local.INFO: IMEI packet received {"connection_id":90576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":90576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:48:24] local.INFO: TCP Data received {"connection_id":90576,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:24] local.INFO: Processing buffer {"connection_id":90576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:24] local.INFO: IMEI packet received {"connection_id":90576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":90576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:48:29] local.INFO: TCP Data received {"connection_id":90576,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:29] local.INFO: Processing buffer {"connection_id":90576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:48:29] local.INFO: IMEI packet received {"connection_id":90576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":90576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:48:29] local.INFO: TCP Data received {"connection_id":90576,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b170b8012d5421c0067a5460004e005c2d..."} 
[2026-06-02 05:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b170b8012d5421c0067a5460004e005c2d..."} 
[2026-06-02 05:48:29] local.INFO: Processing buffer {"connection_id":90576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b170b8012d5421c0067a5460004e005c2d..."} 
[2026-06-02 05:48:29] local.INFO: Packet analysis {"connection_id":90576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b1"} 
[2026-06-02 05:48:29] local.INFO: Extracted packet for processing {"connection_id":90576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b1"} 
[2026-06-02 05:48:29] local.INFO: GPS Element Parsed {"raw_longitude":760488384,"raw_latitude":108680288,"longitude_deg":76.0488384,"latitude_deg":10.8680288,"altitude":78,"angle":92,"satellites":45,"speed":63,"hex_longitude":"2d5421c0","hex_latitude":"067a5460","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772019968001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304813493989670912,"note":"Value kept but may cause issues"} 
[2026-06-02 05:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6051993502078072832,"note":"Value kept but may cause issues"} 
[2026-06-02 05:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780359459000,"timestamp_ms":1780359459000,"timestamp_seconds":1780359459,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b170b8"} 
[2026-06-02 05:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:48: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-06-02 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 05:48:29] 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-06-02 05: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-06-02 05:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:48:29] 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-06-02 05:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772019968001,"66":27463,"250":206,"80":60928,"24":63,"16":304813493989670912,"45":6051993502078072832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-06-02 05:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772019968001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:48:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-02 05:48:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304813493989670912,"km_value":304813493989670.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6051993502078072832,"description":"Unknown IO ID 45"} 
[2026-06-02 05:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772019968001,"power":27463,"unknown_250":206,"unknown_80":60928,"ignition":63,"odometer":null,"unknown_45":6051993502078072832}} 
[2026-06-02 05:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":90576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:48:29] local.INFO: GPS data processed {"connection_id":90576,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:48:29] local.INFO: Acknowledgment sent {"connection_id":90576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:49:00] local.INFO: TCP Data received {"connection_id":90576,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b18828012d5448c0067a52c8004a005b2d..."} 
[2026-06-02 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b18828012d5448c0067a52c8004a005b2d..."} 
[2026-06-02 05:49:00] local.INFO: Processing buffer {"connection_id":90576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b18828012d5448c0067a52c8004a005b2d..."} 
[2026-06-02 05:49:00] local.INFO: Packet analysis {"connection_id":90576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b1"} 
[2026-06-02 05:49:00] local.INFO: Extracted packet for processing {"connection_id":90576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b1"} 
[2026-06-02 05:49:00] local.INFO: GPS Element Parsed {"raw_longitude":760498368,"raw_latitude":108679880,"longitude_deg":76.0498368,"latitude_deg":10.867988,"altitude":74,"angle":91,"satellites":45,"speed":67,"hex_longitude":"2d5448c0","hex_latitude":"067a52c8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772021504001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304813970731040768,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6062337707472084992,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780359465000,"timestamp_ms":1780359465000,"timestamp_seconds":1780359465,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b18828"} 
[2026-06-02 05:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:49: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-06-02 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 05:49:00] 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-06-02 05: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-06-02 05:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:49:00] 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-06-02 05:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772021504001,"66":27321,"250":206,"80":60928,"24":67,"16":304813970731040768,"45":6062337707472084992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-06-02 05:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772021504001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:49:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-02 05:49:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304813970731040768,"km_value":304813970731040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6062337707472084992,"description":"Unknown IO ID 45"} 
[2026-06-02 05:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772021504001,"power":27321,"unknown_250":206,"unknown_80":60928,"ignition":67,"odometer":null,"unknown_45":6062337707472084992}} 
[2026-06-02 05:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":90576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:49:00] local.INFO: GPS data processed {"connection_id":90576,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:49:00] local.INFO: Acknowledgment sent {"connection_id":90576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:49:25] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:25] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:25] local.INFO: IMEI packet received {"connection_id":89522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":89522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:49:26] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:27] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:27] local.INFO: IMEI packet received {"connection_id":89522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":89522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:49:34] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:34] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:49:34] local.INFO: IMEI packet received {"connection_id":89522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":89522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:49:35] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.40","data_length":804,"data_hex":"00000000000003188e0a0000019e85b22468002d556280067ae208002300372d..."} 
[2026-06-02 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":804,"packet_hex":"00000000000003188e0a0000019e85b22468002d556280067ae208002300372d..."} 
[2026-06-02 05:49:35] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":804,"buffer_hex":"00000000000003188e0a0000019e85b22468002d556280067ae208002300372d..."} 
[2026-06-02 05:49:35] local.INFO: Packet analysis {"connection_id":89522,"data_field_length":792,"total_packet_length":804,"buffer_length":804,"packet_hex_start":"00000000000003188e0a0000019e85b2"} 
[2026-06-02 05:49:35] local.INFO: Extracted packet for processing {"connection_id":89522,"packet_length":804,"remaining_buffer_length":0,"packet_hex_start":"00000000000003188e0a0000019e85b2"} 
[2026-06-02 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":760570496,"raw_latitude":108716552,"longitude_deg":76.0570496,"latitude_deg":10.8716552,"altitude":35,"angle":55,"satellites":45,"speed":91,"hex_longitude":"2d556280","hex_latitude":"067ae208","is_valid_coordinates":true} 
[2026-06-02 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":255,"n1_one_byte":0,"n2_two_byte":11,"n4_four_byte":0,"n8_eight_byte":5,"data_length":804,"current_offset":40} 
[2026-06-02 05:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772032768000,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304817917805985792,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6148469050354167808,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:35] local.WARNING: Large IO value detected {"io_id":37,"raw_value":15530603269127936,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:35] local.INFO: IO Element Parsed {"io_data_count":8,"io_data_keys":[0,66,250,80,24,16,45,37],"length":84,"final_offset":118,"validated_count":8,"validation_warnings":[]} 
[2026-06-02 05:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780359505000,"timestamp_ms":1780359505000,"timestamp_seconds":1780359505,"priority":0,"record_length":108,"hex_timestamp":"0000019e85b22468"} 
[2026-06-02 05:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":108,"new_offset":118} 
[2026-06-02 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":16734976,"raw_latitude":4026597445,"longitude_deg":1.6734976,"latitude_deg":-26.8369851,"altitude":256,"angle":1024,"satellites":66,"speed":27365,"hex_longitude":"00ff5b00","hex_latitude":"f0010045","is_valid_coordinates":true} 
[2026-06-02 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":205,"n1_one_byte":204,"n2_two_byte":250,"n4_four_byte":0,"n8_eight_byte":206,"data_length":804,"current_offset":148} 
[2026-06-02 05:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":148,"expected_size":3012,"max_length":804,"available_bytes":656,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":142,"data_length":804,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":118,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772032768000,"66":27332,"250":206,"80":60928,"24":91,"16":304817917805985792,"45":6148469050354167808,"37":15530603269127936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45,37]} 
[2026-06-02 05:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772032768000,"description":"Unknown IO ID 0"} 
[2026-06-02 05:49:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-02 05:49:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304817917805985792,"km_value":304817917805985.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6148469050354167808,"description":"Unknown IO ID 45"} 
[2026-06-02 05:49:35] local.INFO: Unknown IO ID detected {"io_id":37,"value":15530603269127936,"description":"Unknown IO ID 37"} 
[2026-06-02 05:49:35] local.INFO: IO Data Validated and Processed {"original_count":8,"validated_count":8,"validated_data":{"unknown_0":455772032768000,"power":27332,"unknown_250":206,"unknown_80":60928,"ignition":91,"odometer":null,"unknown_45":6148469050354167808,"unknown_37":15530603269127936}} 
[2026-06-02 05:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":89522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:49:35] local.INFO: GPS data processed {"connection_id":89522,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:49:35] local.INFO: Acknowledgment sent {"connection_id":89522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:49:48] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.40","data_length":804,"data_hex":"00000000000003188e0a0000019e85b23408012d558080067af5f8002100382c..."} 
[2026-06-02 05:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":804,"packet_hex":"00000000000003188e0a0000019e85b23408012d558080067af5f8002100382c..."} 
[2026-06-02 05:49:48] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":804,"buffer_hex":"00000000000003188e0a0000019e85b23408012d558080067af5f8002100382c..."} 
[2026-06-02 05:49:48] local.INFO: Packet analysis {"connection_id":89522,"data_field_length":792,"total_packet_length":804,"buffer_length":804,"packet_hex_start":"00000000000003188e0a0000019e85b2"} 
[2026-06-02 05:49:48] local.INFO: Extracted packet for processing {"connection_id":89522,"packet_length":804,"remaining_buffer_length":0,"packet_hex_start":"00000000000003188e0a0000019e85b2"} 
[2026-06-02 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":760578176,"raw_latitude":108721656,"longitude_deg":76.0578176,"latitude_deg":10.8721656,"altitude":33,"angle":56,"satellites":44,"speed":89,"hex_longitude":"2d558080","hex_latitude":"067af5f8","is_valid_coordinates":true} 
[2026-06-02 05:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":804,"current_offset":40} 
[2026-06-02 05:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772033280000,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304818355892649984,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6152620806261311488,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780359509000,"timestamp_ms":1780359509000,"timestamp_seconds":1780359509,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b23408"} 
[2026-06-02 05:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:49:48] local.INFO: GPS Element Parsed {"raw_longitude":184550656,"raw_latitude":4009820273,"longitude_deg":18.4550656,"latitude_deg":-28.5147023,"altitude":24064,"angle":65371,"satellites":0,"speed":61441,"hex_longitude":"0b000500","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":1,"n2_two_byte":0,"n4_four_byte":4,"n8_eight_byte":0,"data_length":804,"current_offset":136} 
[2026-06-02 05:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4043309213,"note":"Value kept but may cause issues"} 
[2026-06-02 05:49:48] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[66,196,0,24],"length":28,"final_offset":158,"validated_count":4,"validation_warnings":[]} 
[2026-06-02 05:49:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522076457746497791,"timestamp_seconds":2522076457746497.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 05:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772033280000,"66":27365,"250":206,"80":60928,"24":89,"16":304818355892649984,"45":6152620806261311488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-06-02 05:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772033280000,"description":"Unknown IO ID 0"} 
[2026-06-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304818355892649984,"km_value":304818355892650.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6152620806261311488,"description":"Unknown IO ID 45"} 
[2026-06-02 05:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772033280000,"power":27365,"unknown_250":206,"unknown_80":60928,"ignition":89,"odometer":null,"unknown_45":6152620806261311488}} 
[2026-06-02 05:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":89522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:49:48] local.INFO: GPS data processed {"connection_id":89522,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:49:48] local.INFO: Acknowledgment sent {"connection_id":89522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:50:24] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:50:24] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:50:24] local.INFO: IMEI packet received {"connection_id":89523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":89523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:50:29] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:50:29] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:50:29] local.INFO: IMEI packet received {"connection_id":89523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":89523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:50:30] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b32250012d570180067ba3b8001b002c22..."} 
[2026-06-02 05:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b32250012d570180067ba3b8001b002c22..."} 
[2026-06-02 05:50:30] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b32250012d570180067ba3b8001b002c22..."} 
[2026-06-02 05:50:30] local.INFO: Packet analysis {"connection_id":89523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b3"} 
[2026-06-02 05:50:30] local.INFO: Extracted packet for processing {"connection_id":89523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b3"} 
[2026-06-02 05:50:30] local.INFO: GPS Element Parsed {"raw_longitude":760676736,"raw_latitude":108766136,"longitude_deg":76.0676736,"latitude_deg":10.8766136,"altitude":27,"angle":44,"satellites":34,"speed":56,"hex_longitude":"2d570180","hex_latitude":"067ba3b8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772048384001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304823574277914624,"note":"Value kept but may cause issues"} 
[2026-06-02 05:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6262114572213041152,"note":"Value kept but may cause issues"} 
[2026-06-02 05:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780359570000,"timestamp_ms":1780359570000,"timestamp_seconds":1780359570,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b32250"} 
[2026-06-02 05:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:50: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-06-02 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 05:50:30] 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-06-02 05: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-06-02 05:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:50:30] 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-06-02 05:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772048384001,"66":27300,"35":206,"80":60928,"24":56,"16":304823574277914624,"45":6262114572213041152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-06-02 05:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772048384001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:50:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 05:50:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304823574277914624,"km_value":304823574277914.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6262114572213041152,"description":"Unknown IO ID 45"} 
[2026-06-02 05:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772048384001,"power":27300,"unknown_35":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":6262114572213041152}} 
[2026-06-02 05:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":89523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:50:30] local.INFO: GPS data processed {"connection_id":89523,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:50:30] local.INFO: Acknowledgment sent {"connection_id":89523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:51:02] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b32e08012d570b40067bb180001b001e28..."} 
[2026-06-02 05:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b32e08012d570b40067bb180001b001e28..."} 
[2026-06-02 05:51:02] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b32e08012d570b40067bb180001b001e28..."} 
[2026-06-02 05:51:02] local.INFO: Packet analysis {"connection_id":89523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b3"} 
[2026-06-02 05:51:02] local.INFO: Extracted packet for processing {"connection_id":89523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b3"} 
[2026-06-02 05:51:02] local.INFO: GPS Element Parsed {"raw_longitude":760679232,"raw_latitude":108769664,"longitude_deg":76.0679232,"latitude_deg":10.8769664,"altitude":27,"angle":30,"satellites":40,"speed":56,"hex_longitude":"2d570b40","hex_latitude":"067bb180","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772049920001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304823780436344832,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6269432921608927232,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780359573000,"timestamp_ms":1780359573000,"timestamp_seconds":1780359573,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b32e08"} 
[2026-06-02 05:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:51: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-06-02 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-02 05:51:02] 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-06-02 05: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-06-02 05:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:51:02] 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-06-02 05:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772049920001,"66":27267,"35":206,"80":60928,"24":56,"16":304823780436344832,"45":6269432921608927232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-06-02 05:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772049920001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:51:02] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 05:51:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304823780436344832,"km_value":304823780436344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6269432921608927232,"description":"Unknown IO ID 45"} 
[2026-06-02 05:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772049920001,"power":27267,"unknown_35":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":6269432921608927232}} 
[2026-06-02 05:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":89523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:51:02] local.INFO: GPS data processed {"connection_id":89523,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:51:02] local.INFO: Acknowledgment sent {"connection_id":89523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:51:24] local.INFO: TCP Data received {"connection_id":89116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:24] local.INFO: Processing buffer {"connection_id":89116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:24] local.INFO: IMEI packet received {"connection_id":89116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":89116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:51:27] local.INFO: TCP Data received {"connection_id":89116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:27] local.INFO: Processing buffer {"connection_id":89116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:27] local.INFO: IMEI packet received {"connection_id":89116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":89116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:51:29] local.INFO: TCP Data received {"connection_id":89116,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:29] local.INFO: Processing buffer {"connection_id":89116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:51:29] local.INFO: IMEI packet received {"connection_id":89116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":89116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:51:32] local.INFO: TCP Data received {"connection_id":89116,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b404e0012d5697c0067cc2a80014013b2b..."} 
[2026-06-02 05:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b404e0012d5697c0067cc2a80014013b2b..."} 
[2026-06-02 05:51:32] local.INFO: Processing buffer {"connection_id":89116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b404e0012d5697c0067cc2a80014013b2b..."} 
[2026-06-02 05:51:32] local.INFO: Packet analysis {"connection_id":89116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:51:32] local.INFO: Extracted packet for processing {"connection_id":89116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:51:32] local.INFO: GPS Element Parsed {"raw_longitude":760649664,"raw_latitude":108839592,"longitude_deg":76.0649664,"latitude_deg":10.8839592,"altitude":20,"angle":315,"satellites":43,"speed":58,"hex_longitude":"2d5697c0","hex_latitude":"067cc2a8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772063232001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304827723216322560,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6246774186000887808,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780359628000,"timestamp_ms":1780359628000,"timestamp_seconds":1780359628,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b404e0"} 
[2026-06-02 05:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 05:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:51:32] 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-06-02 05:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772063232001,"66":27550,"109":206,"80":60928,"24":58,"16":304827723216322560,"45":6246774186000887808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-06-02 05:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772063232001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:51:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 05:51:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304827723216322560,"km_value":304827723216322.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6246774186000887808,"description":"Unknown IO ID 45"} 
[2026-06-02 05:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772063232001,"power":27550,"unknown_109":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":6246774186000887808}} 
[2026-06-02 05:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":89116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:51:32] local.INFO: GPS data processed {"connection_id":89116,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:51:32] local.INFO: Acknowledgment sent {"connection_id":89116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:51:36] local.INFO: TCP Data received {"connection_id":89116,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b42038012d567c40067cdd580014013a2c..."} 
[2026-06-02 05:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b42038012d567c40067cdd580014013a2c..."} 
[2026-06-02 05:51:36] local.INFO: Processing buffer {"connection_id":89116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b42038012d567c40067cdd580014013a2c..."} 
[2026-06-02 05:51:36] local.INFO: Packet analysis {"connection_id":89116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:51:36] local.INFO: Extracted packet for processing {"connection_id":89116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:51:36] local.INFO: GPS Element Parsed {"raw_longitude":760642624,"raw_latitude":108846424,"longitude_deg":76.0642624,"latitude_deg":10.8846424,"altitude":20,"angle":314,"satellites":44,"speed":52,"hex_longitude":"2d567c40","hex_latitude":"067cdd58","is_valid_coordinates":true} 
[2026-06-02 05:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772064768001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304828195662725120,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6239666942840580096,"note":"Value kept but may cause issues"} 
[2026-06-02 05:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780359635000,"timestamp_ms":1780359635000,"timestamp_seconds":1780359635,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b42038"} 
[2026-06-02 05:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:51: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-06-02 05:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-02 05:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772064768001,"66":27234,"109":206,"80":60928,"24":52,"16":304828195662725120,"45":6239666942840580096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-06-02 05:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772064768001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:51:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 05:51:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304828195662725120,"km_value":304828195662725.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6239666942840580096,"description":"Unknown IO ID 45"} 
[2026-06-02 05:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772064768001,"power":27234,"unknown_109":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6239666942840580096}} 
[2026-06-02 05:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":89116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:51:36] local.INFO: GPS data processed {"connection_id":89116,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:51:36] local.INFO: Acknowledgment sent {"connection_id":89116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:51:37] local.INFO: TCP Data received {"connection_id":89365,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:51:37] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:51:37] local.INFO: IMEI packet received {"connection_id":89365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":89365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:51:59] local.INFO: TCP Data received {"connection_id":90578,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:51:59] local.INFO: Processing buffer {"connection_id":90578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:51:59] local.INFO: IMEI packet received {"connection_id":90578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":90578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:52:18] local.INFO: TCP Data received {"connection_id":89116,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b43b90012d566340067cf5b8001501382d..."} 
[2026-06-02 05:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b43b90012d566340067cf5b8001501382d..."} 
[2026-06-02 05:52:18] local.INFO: Processing buffer {"connection_id":89116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b43b90012d566340067cf5b8001501382d..."} 
[2026-06-02 05:52:18] local.INFO: Packet analysis {"connection_id":89116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:18] local.INFO: Extracted packet for processing {"connection_id":89116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:18] local.INFO: GPS Element Parsed {"raw_longitude":760636224,"raw_latitude":108852664,"longitude_deg":76.0636224,"latitude_deg":10.8852664,"altitude":21,"angle":312,"satellites":45,"speed":48,"hex_longitude":"2d566340","hex_latitude":"067cf5b8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772066560001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304828625159454720,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6231926380982786048,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780359642000,"timestamp_ms":1780359642000,"timestamp_seconds":1780359642,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b43b90"} 
[2026-06-02 05:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05: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-06-02 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 05:52: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-06-02 05: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-06-02 05:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:18] 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-06-02 05:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772066560001,"66":27484,"109":206,"80":60928,"24":48,"16":304828625159454720,"45":6231926380982786048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-06-02 05:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772066560001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:52:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 05:52:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304828625159454720,"km_value":304828625159454.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6231926380982786048,"description":"Unknown IO ID 45"} 
[2026-06-02 05:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772066560001,"power":27484,"unknown_109":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":6231926380982786048}} 
[2026-06-02 05:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":89116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:52:18] local.INFO: GPS data processed {"connection_id":89116,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:52:18] local.INFO: Acknowledgment sent {"connection_id":89116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:52:30] local.INFO: TCP Data received {"connection_id":89366,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:52:30] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:52:30] local.INFO: IMEI packet received {"connection_id":89366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":89366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:52:43] local.INFO: TCP Data received {"connection_id":89366,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 05:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 05:52:43] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 05:52:43] local.INFO: IMEI packet received {"connection_id":89366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":89366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:52:44] local.INFO: TCP Data received {"connection_id":89366,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b45ad0012d564780067d0fd80015013a2c..."} 
[2026-06-02 05:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b45ad0012d564780067d0fd80015013a2c..."} 
[2026-06-02 05:52:44] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 05:52:44] local.INFO: IMEI packet received {"connection_id":89366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":89366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:52:44] local.INFO: TCP Data received {"connection_id":89366,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b47628012d562d00067d29900014013b2c..."} 
[2026-06-02 05:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b47628012d562d00067d29900014013b2c..."} 
[2026-06-02 05:52:44] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e85b45ad0012d564780067d0fd80015013a2c..."} 
[2026-06-02 05:52:44] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:44] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:44] local.INFO: GPS Element Parsed {"raw_longitude":760629120,"raw_latitude":108859352,"longitude_deg":76.062912,"latitude_deg":10.8859352,"altitude":21,"angle":314,"satellites":44,"speed":50,"hex_longitude":"2d564780","hex_latitude":"067d0fd8","is_valid_coordinates":true} 
[2026-06-02 05:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772068352001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304829093310889984,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6224889506566617088,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780359650000,"timestamp_ms":1780359650000,"timestamp_seconds":1780359650,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b45ad0"} 
[2026-06-02 05:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 05:52:44] 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-06-02 05:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772068352001,"66":27376,"109":206,"80":60928,"24":50,"16":304829093310889984,"45":6224889506566617088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772068352001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304829093310889984,"km_value":304829093310890.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6224889506566617088,"description":"Unknown IO ID 45"} 
[2026-06-02 05:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772068352001,"power":27376,"unknown_109":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6224889506566617088}} 
[2026-06-02 05:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:52:44] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:52:44] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:52:44] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:44] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:44] local.INFO: GPS Element Parsed {"raw_longitude":760622336,"raw_latitude":108865936,"longitude_deg":76.0622336,"latitude_deg":10.8865936,"altitude":20,"angle":315,"satellites":44,"speed":56,"hex_longitude":"2d562d00","hex_latitude":"067d2990","is_valid_coordinates":true} 
[2026-06-02 05:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772070400001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304829548577423360,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6217078575964608512,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780359657000,"timestamp_ms":1780359657000,"timestamp_seconds":1780359657,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b47628"} 
[2026-06-02 05:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:52: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-06-02 05:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 05:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772070400001,"66":27321,"109":206,"80":60928,"24":56,"16":304829548577423360,"45":6217078575964608512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-06-02 05:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772070400001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304829548577423360,"km_value":304829548577423.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6217078575964608512,"description":"Unknown IO ID 45"} 
[2026-06-02 05:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772070400001,"power":27321,"unknown_109":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":6217078575964608512}} 
[2026-06-02 05:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:52:44] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:52:44] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:52:45] local.INFO: TCP Data received {"connection_id":89366,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b48d98012d561400067d42380013013b2c..."} 
[2026-06-02 05:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b48d98012d561400067d42380013013b2c..."} 
[2026-06-02 05:52:45] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b48d98012d561400067d42380013013b2c..."} 
[2026-06-02 05:52:45] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:45] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b4"} 
[2026-06-02 05:52:45] local.INFO: GPS Element Parsed {"raw_longitude":760615936,"raw_latitude":108872248,"longitude_deg":76.0615936,"latitude_deg":10.8872248,"altitude":19,"angle":315,"satellites":44,"speed":61,"hex_longitude":"2d561400","hex_latitude":"067d4238","is_valid_coordinates":true} 
[2026-06-02 05:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772072192001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304829978074152960,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6209619489083461632,"note":"Value kept but may cause issues"} 
[2026-06-02 05:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780359663000,"timestamp_ms":1780359663000,"timestamp_seconds":1780359663,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b48d98"} 
[2026-06-02 05:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 05:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772072192001,"66":27463,"109":206,"80":60928,"24":61,"16":304829978074152960,"45":6209619489083461632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-06-02 05:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772072192001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:52:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 05:52:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304829978074152960,"km_value":304829978074152.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6209619489083461632,"description":"Unknown IO ID 45"} 
[2026-06-02 05:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772072192001,"power":27463,"unknown_109":206,"unknown_80":60928,"ignition":61,"odometer":null,"unknown_45":6209619489083461632}} 
[2026-06-02 05:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:52:45] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:52:45] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:53:24] local.INFO: TCP Data received {"connection_id":90579,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:24] local.INFO: Processing buffer {"connection_id":90579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:24] local.INFO: IMEI packet received {"connection_id":90579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":90579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:53:25] local.INFO: TCP Data received {"connection_id":90579,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:25] local.INFO: Processing buffer {"connection_id":90579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:25] local.INFO: IMEI packet received {"connection_id":90579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":90579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:53:30] local.INFO: TCP Data received {"connection_id":90579,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:30] local.INFO: Processing buffer {"connection_id":90579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:53:30] local.INFO: IMEI packet received {"connection_id":90579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":90579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:53:32] local.INFO: TCP Data received {"connection_id":90579,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b5b678012d556400067eaf80001e01582d..."} 
[2026-06-02 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b5b678012d556400067eaf80001e01582d..."} 
[2026-06-02 05:53:32] local.INFO: Processing buffer {"connection_id":90579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b5b678012d556400067eaf80001e01582d..."} 
[2026-06-02 05:53:32] local.INFO: Packet analysis {"connection_id":90579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b5"} 
[2026-06-02 05:53:32] local.INFO: Extracted packet for processing {"connection_id":90579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b5"} 
[2026-06-02 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":760570880,"raw_latitude":108965760,"longitude_deg":76.057088,"latitude_deg":10.896576,"altitude":30,"angle":344,"satellites":45,"speed":54,"hex_longitude":"2d556400","hex_latitude":"067eaf80","is_valid_coordinates":true} 
[2026-06-02 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772091392001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304835089085235200,"note":"Value kept but may cause issues"} 
[2026-06-02 05:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6155365187345584128,"note":"Value kept but may cause issues"} 
[2026-06-02 05:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780359739000,"timestamp_ms":1780359739000,"timestamp_seconds":1780359739,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b5b678"} 
[2026-06-02 05:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:53: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-06-02 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 05:53:32] 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-06-02 05:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:53:32] 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-06-02 05:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772091392001,"66":27463,"228":206,"80":60928,"24":54,"16":304835089085235200,"45":6155365187345584128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-06-02 05:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772091392001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:53:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-02 05:53:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304835089085235200,"km_value":304835089085235.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6155365187345584128,"description":"Unknown IO ID 45"} 
[2026-06-02 05:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772091392001,"power":27463,"unknown_228":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":6155365187345584128}} 
[2026-06-02 05:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":90579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:53:32] local.INFO: GPS data processed {"connection_id":90579,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:53:32] local.INFO: Acknowledgment sent {"connection_id":90579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:54:04] local.INFO: TCP Data received {"connection_id":90579,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b5cde8012d555840067ecca80020014c2d..."} 
[2026-06-02 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b5cde8012d555840067ecca80020014c2d..."} 
[2026-06-02 05:54:04] local.INFO: Processing buffer {"connection_id":90579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b5cde8012d555840067ecca80020014c2d..."} 
[2026-06-02 05:54:04] local.INFO: Packet analysis {"connection_id":90579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b5"} 
[2026-06-02 05:54:04] local.INFO: Extracted packet for processing {"connection_id":90579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b5"} 
[2026-06-02 05:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760567872,"raw_latitude":108973224,"longitude_deg":76.0567872,"latitude_deg":10.8973224,"altitude":32,"angle":332,"satellites":45,"speed":52,"hex_longitude":"2d555840","hex_latitude":"067ecca8","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772093184001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304835479927259136,"note":"Value kept but may cause issues"} 
[2026-06-02 05:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6153043018790174720,"note":"Value kept but may cause issues"} 
[2026-06-02 05:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780359745000,"timestamp_ms":1780359745000,"timestamp_seconds":1780359745,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b5cde8"} 
[2026-06-02 05:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:54: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-06-02 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 05:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05: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-06-02 05:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772093184001,"66":27376,"228":206,"80":60928,"24":52,"16":304835479927259136,"45":6153043018790174720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-06-02 05:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772093184001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:54:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-02 05:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304835479927259136,"km_value":304835479927259.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6153043018790174720,"description":"Unknown IO ID 45"} 
[2026-06-02 05:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772093184001,"power":27376,"unknown_228":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6153043018790174720}} 
[2026-06-02 05:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":90579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:54:04] local.INFO: GPS data processed {"connection_id":90579,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:54:04] local.INFO: Acknowledgment sent {"connection_id":90579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:54:24] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:54:25] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:54:25] local.INFO: IMEI packet received {"connection_id":89524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":89524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:54:30] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:54:30] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:54:30] local.INFO: IMEI packet received {"connection_id":89524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":89524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:54:33] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b5e940012d554500067eea38002301452c..."} 
[2026-06-02 05:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b5e940012d554500067eea38002301452c..."} 
[2026-06-02 05:54:33] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b5e940012d554500067eea38002301452c..."} 
[2026-06-02 05:54:33] local.INFO: Packet analysis {"connection_id":89524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b5"} 
[2026-06-02 05:54:33] local.INFO: Extracted packet for processing {"connection_id":89524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b5"} 
[2026-06-02 05:54:33] local.INFO: GPS Element Parsed {"raw_longitude":760562944,"raw_latitude":108980792,"longitude_deg":76.0562944,"latitude_deg":10.8980792,"altitude":35,"angle":325,"satellites":44,"speed":50,"hex_longitude":"2d554500","hex_latitude":"067eea38","is_valid_coordinates":true} 
[2026-06-02 05: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-06-02 05:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772094720001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304835918013923328,"note":"Value kept but may cause issues"} 
[2026-06-02 05:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6149735687815735296,"note":"Value kept but may cause issues"} 
[2026-06-02 05:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780359752000,"timestamp_ms":1780359752000,"timestamp_seconds":1780359752,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b5e940"} 
[2026-06-02 05:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:54: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-06-02 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 05:54:33] 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-06-02 05: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-06-02 05:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:54:33] 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-06-02 05:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772094720001,"66":27343,"228":206,"80":60928,"24":50,"16":304835918013923328,"45":6149735687815735296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-06-02 05:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772094720001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:54:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-02 05:54:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304835918013923328,"km_value":304835918013923.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6149735687815735296,"description":"Unknown IO ID 45"} 
[2026-06-02 05:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772094720001,"power":27343,"unknown_228":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6149735687815735296}} 
[2026-06-02 05:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":89524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:54:33] local.INFO: GPS data processed {"connection_id":89524,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:54:33] local.INFO: Acknowledgment sent {"connection_id":89524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:55:12] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b60880012d552f00067f09b0002701472d..."} 
[2026-06-02 05:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b60880012d552f00067f09b0002701472d..."} 
[2026-06-02 05:55:12] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b60880012d552f00067f09b0002701472d..."} 
[2026-06-02 05:55:12] local.INFO: Packet analysis {"connection_id":89524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b6"} 
[2026-06-02 05:55:12] local.INFO: Extracted packet for processing {"connection_id":89524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b6"} 
[2026-06-02 05:55:12] local.INFO: GPS Element Parsed {"raw_longitude":760557312,"raw_latitude":108988848,"longitude_deg":76.0557312,"latitude_deg":10.8988848,"altitude":39,"angle":327,"satellites":45,"speed":47,"hex_longitude":"2d552f00","hex_latitude":"067f09b0","is_valid_coordinates":true} 
[2026-06-02 05:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772096512001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304836390460325888,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6144317294515992576,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780359760000,"timestamp_ms":1780359760000,"timestamp_seconds":1780359760,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b60880"} 
[2026-06-02 05:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-02 05:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772096512001,"66":27376,"229":206,"80":60928,"24":47,"16":304836390460325888,"45":6144317294515992576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-06-02 05:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772096512001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:55:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 05:55:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304836390460325888,"km_value":304836390460325.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6144317294515992576,"description":"Unknown IO ID 45"} 
[2026-06-02 05:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772096512001,"power":27376,"unknown_229":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":6144317294515992576}} 
[2026-06-02 05:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":89524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:55:12] local.INFO: GPS data processed {"connection_id":89524,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:55:12] local.INFO: Acknowledgment sent {"connection_id":89524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:55:30] local.INFO: TCP Data received {"connection_id":90581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:55:30] local.INFO: Processing buffer {"connection_id":90581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:55:30] local.INFO: IMEI packet received {"connection_id":90581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":90581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:55:35] local.INFO: TCP Data received {"connection_id":90581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:55:35] local.INFO: Processing buffer {"connection_id":90581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:55:35] local.INFO: IMEI packet received {"connection_id":90581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":90581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:55:36] local.INFO: TCP Data received {"connection_id":90581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b627c0012d551e00067f2a68002901512c..."} 
[2026-06-02 05:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b627c0012d551e00067f2a68002901512c..."} 
[2026-06-02 05:55:36] local.INFO: Processing buffer {"connection_id":90581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b627c0012d551e00067f2a68002901512c..."} 
[2026-06-02 05:55:36] local.INFO: Packet analysis {"connection_id":90581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b6"} 
[2026-06-02 05:55:36] local.INFO: Extracted packet for processing {"connection_id":90581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b6"} 
[2026-06-02 05:55:36] local.INFO: GPS Element Parsed {"raw_longitude":760552960,"raw_latitude":108997224,"longitude_deg":76.055296,"latitude_deg":10.8997224,"altitude":41,"angle":337,"satellites":44,"speed":46,"hex_longitude":"2d551e00","hex_latitude":"067f2a68","is_valid_coordinates":true} 
[2026-06-02 05:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772098560001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304836845726859264,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6138124845030420480,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780359768000,"timestamp_ms":1780359768000,"timestamp_seconds":1780359768,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b627c0"} 
[2026-06-02 05:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:55: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-06-02 05:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 05:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772098560001,"66":27365,"229":206,"80":60928,"24":46,"16":304836845726859264,"45":6138124845030420480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772098560001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304836845726859264,"km_value":304836845726859.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6138124845030420480,"description":"Unknown IO ID 45"} 
[2026-06-02 05:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772098560001,"power":27365,"unknown_229":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":6138124845030420480}} 
[2026-06-02 05:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":90581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:55:36] local.INFO: GPS data processed {"connection_id":90581,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:55:36] local.INFO: Acknowledgment sent {"connection_id":90581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:55:36] local.INFO: TCP Data received {"connection_id":90581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b64700012d5511c0067f4c78002b01552c..."} 
[2026-06-02 05:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b64700012d5511c0067f4c78002b01552c..."} 
[2026-06-02 05:55:36] local.INFO: Processing buffer {"connection_id":90581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b64700012d5511c0067f4c78002b01552c..."} 
[2026-06-02 05:55:36] local.INFO: Packet analysis {"connection_id":90581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b6"} 
[2026-06-02 05:55:36] local.INFO: Extracted packet for processing {"connection_id":90581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b6"} 
[2026-06-02 05:55:36] local.INFO: GPS Element Parsed {"raw_longitude":760549824,"raw_latitude":109005944,"longitude_deg":76.0549824,"latitude_deg":10.9005944,"altitude":43,"angle":341,"satellites":44,"speed":45,"hex_longitude":"2d5511c0","hex_latitude":"067f4c78","is_valid_coordinates":true} 
[2026-06-02 05:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772100608001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304837296698425344,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6133339770428483584,"note":"Value kept but may cause issues"} 
[2026-06-02 05:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780359776000,"timestamp_ms":1780359776000,"timestamp_seconds":1780359776,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b64700"} 
[2026-06-02 05:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 05:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772100608001,"66":27767,"229":206,"80":60928,"24":45,"16":304837296698425344,"45":6133339770428483584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-06-02 05:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772100608001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304837296698425344,"km_value":304837296698425.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6133339770428483584,"description":"Unknown IO ID 45"} 
[2026-06-02 05:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772100608001,"power":27767,"unknown_229":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":6133339770428483584}} 
[2026-06-02 05:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":90581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:55:36] local.INFO: GPS data processed {"connection_id":90581,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:55:36] local.INFO: Acknowledgment sent {"connection_id":90581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:56:08] local.INFO: TCP Data received {"connection_id":90581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b81fa8012d54458006809c50005c01322c..."} 
[2026-06-02 05:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b81fa8012d54458006809c50005c01322c..."} 
[2026-06-02 05:56:08] local.INFO: Processing buffer {"connection_id":90581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b81fa8012d54458006809c50005c01322c..."} 
[2026-06-02 05:56:08] local.INFO: Packet analysis {"connection_id":90581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:56:08] local.INFO: Extracted packet for processing {"connection_id":90581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:56:08] local.INFO: GPS Element Parsed {"raw_longitude":760497536,"raw_latitude":109091920,"longitude_deg":76.0497536,"latitude_deg":10.909192,"altitude":92,"angle":306,"satellites":44,"speed":29,"hex_longitude":"2d544580","hex_latitude":"06809c50","is_valid_coordinates":true} 
[2026-06-02 05:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772130304001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304842223025913856,"note":"Value kept but may cause issues"} 
[2026-06-02 05:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6080844687294717952,"note":"Value kept but may cause issues"} 
[2026-06-02 05:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780359897000,"timestamp_ms":1780359897000,"timestamp_seconds":1780359897,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b81fa8"} 
[2026-06-02 05:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:56: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-06-02 05:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 05:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 05:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":90581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":90581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":90581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:56:08] 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-06-02 05:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772130304001,"66":27713,"152":206,"80":60928,"24":29,"16":304842223025913856,"45":6080844687294717952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-06-02 05:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772130304001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:56:08] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-06-02 05:56:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304842223025913856,"km_value":304842223025913.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6080844687294717952,"description":"Unknown IO ID 45"} 
[2026-06-02 05:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772130304001,"power":27713,"unknown_152":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":6080844687294717952}} 
[2026-06-02 05:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":90581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:56:08] local.INFO: GPS data processed {"connection_id":90581,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:56:08] local.INFO: Acknowledgment sent {"connection_id":90581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:56:22] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:22] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:22] local.INFO: IMEI packet received {"connection_id":89525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":89525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:56:25] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:25] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:25] local.INFO: IMEI packet received {"connection_id":89525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":89525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:56:30] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:30] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:56:30] local.INFO: IMEI packet received {"connection_id":89525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":89525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:56:31] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b84e88012d5429000680b208006201342c..."} 
[2026-06-02 05:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b84e88012d5429000680b208006201342c..."} 
[2026-06-02 05:56:31] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b84e88012d5429000680b208006201342c..."} 
[2026-06-02 05:56:31] local.INFO: Packet analysis {"connection_id":89525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:56:31] local.INFO: Extracted packet for processing {"connection_id":89525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:56:31] local.INFO: GPS Element Parsed {"raw_longitude":760490240,"raw_latitude":109097480,"longitude_deg":76.049024,"latitude_deg":10.909748,"altitude":98,"angle":308,"satellites":44,"speed":30,"hex_longitude":"2d542900","hex_latitude":"0680b208","is_valid_coordinates":true} 
[2026-06-02 05:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772133632001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304842661112578048,"note":"Value kept but may cause issues"} 
[2026-06-02 05:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6072400437994868736,"note":"Value kept but may cause issues"} 
[2026-06-02 05:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780359909000,"timestamp_ms":1780359909000,"timestamp_seconds":1780359909,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b84e88"} 
[2026-06-02 05:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:56: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-06-02 05:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 05:56:31] 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-06-02 05:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772133632001,"66":27767,"152":206,"80":60928,"24":30,"16":304842661112578048,"45":6072400437994868736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-06-02 05:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772133632001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:56:31] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-06-02 05:56:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304842661112578048,"km_value":304842661112578.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6072400437994868736,"description":"Unknown IO ID 45"} 
[2026-06-02 05:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772133632001,"power":27767,"unknown_152":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":6072400437994868736}} 
[2026-06-02 05:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":89525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:56:31] local.INFO: GPS data processed {"connection_id":89525,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:56:31] local.INFO: Acknowledgment sent {"connection_id":89525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:57:02] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b87d68012d540cc00680c850006601372c..."} 
[2026-06-02 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b87d68012d540cc00680c850006601372c..."} 
[2026-06-02 05:57:02] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b87d68012d540cc00680c850006601372c..."} 
[2026-06-02 05:57:02] local.INFO: Packet analysis {"connection_id":89525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:57:02] local.INFO: Extracted packet for processing {"connection_id":89525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:57:02] local.INFO: GPS Element Parsed {"raw_longitude":760483008,"raw_latitude":109103184,"longitude_deg":76.0483008,"latitude_deg":10.9103184,"altitude":102,"angle":311,"satellites":44,"speed":30,"hex_longitude":"2d540cc0","hex_latitude":"0680c850","is_valid_coordinates":true} 
[2026-06-02 05:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772136704001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304843103494209536,"note":"Value kept but may cause issues"} 
[2026-06-02 05:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6064378401160038400,"note":"Value kept but may cause issues"} 
[2026-06-02 05:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780359921000,"timestamp_ms":1780359921000,"timestamp_seconds":1780359921,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b87d68"} 
[2026-06-02 05:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:57: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-06-02 05:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 05:57: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-06-02 05:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:57:02] 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-06-02 05:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772136704001,"66":27800,"152":206,"80":60928,"24":30,"16":304843103494209536,"45":6064378401160038400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-06-02 05:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772136704001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:57:02] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-06-02 05:57:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304843103494209536,"km_value":304843103494209.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6064378401160038400,"description":"Unknown IO ID 45"} 
[2026-06-02 05:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772136704001,"power":27800,"unknown_152":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":6064378401160038400}} 
[2026-06-02 05:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":89525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:57:02] local.INFO: GPS data processed {"connection_id":89525,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:57:02] local.INFO: Acknowledgment sent {"connection_id":89525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:57:25] local.INFO: TCP Data received {"connection_id":90583,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:57:25] local.INFO: Processing buffer {"connection_id":90583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:57:25] local.INFO: IMEI packet received {"connection_id":90583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":90583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:57:29] local.INFO: TCP Data received {"connection_id":90582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:57:29] local.INFO: Processing buffer {"connection_id":90582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:57:29] local.INFO: IMEI packet received {"connection_id":90582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":90582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:57:30] local.INFO: TCP Data received {"connection_id":90583,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:57:30] local.INFO: Processing buffer {"connection_id":90583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:57:30] local.INFO: IMEI packet received {"connection_id":90583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":90583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:57:52] local.INFO: TCP Data received {"connection_id":90583,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85b8ac48012d53f1c00680e060006a01392e..."} 
[2026-06-02 05:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85b8ac48012d53f1c00680e060006a01392e..."} 
[2026-06-02 05:57:52] local.INFO: Processing buffer {"connection_id":90583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85b8ac48012d53f1c00680e060006a01392e..."} 
[2026-06-02 05:57:52] local.INFO: Packet analysis {"connection_id":90583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:57:52] local.INFO: Extracted packet for processing {"connection_id":90583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85b8"} 
[2026-06-02 05:57:52] local.INFO: GPS Element Parsed {"raw_longitude":760476096,"raw_latitude":109109344,"longitude_deg":76.0476096,"latitude_deg":10.9109344,"altitude":106,"angle":313,"satellites":46,"speed":30,"hex_longitude":"2d53f1c0","hex_latitude":"0680e060","is_valid_coordinates":true} 
[2026-06-02 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-06-02 05:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772139776001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304843550170808320,"note":"Value kept but may cause issues"} 
[2026-06-02 05:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6056426733069422592,"note":"Value kept but may cause issues"} 
[2026-06-02 05:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780359933000,"timestamp_ms":1780359933000,"timestamp_seconds":1780359933,"priority":1,"record_length":96,"hex_timestamp":"0000019e85b8ac48"} 
[2026-06-02 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-06-02 05:57: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-06-02 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 05:57: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-06-02 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-06-02 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-06-02 05:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":90583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":90583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":90583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772139776001,"66":27691,"153":206,"80":60928,"24":30,"16":304843550170808320,"45":6056426733069422592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-06-02 05:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772139776001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:57:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 05:57:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304843550170808320,"km_value":304843550170808.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6056426733069422592,"description":"Unknown IO ID 45"} 
[2026-06-02 05:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772139776001,"power":27691,"unknown_153":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":6056426733069422592}} 
[2026-06-02 05:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":90583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:57:52] local.INFO: GPS data processed {"connection_id":90583,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:57:52] local.INFO: Acknowledgment sent {"connection_id":90583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:58:04] local.INFO: TCP Data received {"connection_id":89370,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:58:04] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 05:58:04] local.INFO: IMEI packet received {"connection_id":89370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 05:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":89370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:58:24] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:24] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:24] local.INFO: IMEI packet received {"connection_id":89526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:58:25] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:25] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:25] local.INFO: IMEI packet received {"connection_id":89526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":89526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:58:30] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:30] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:58:30] local.INFO: IMEI packet received {"connection_id":89526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":89526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:58:31] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ba6998012d52ccc00681ef50008701382c..."} 
[2026-06-02 05:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ba6998012d52ccc00681ef50008701382c..."} 
[2026-06-02 05:58:31] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ba6998012d52ccc00681ef50008701382c..."} 
[2026-06-02 05:58:31] local.INFO: Packet analysis {"connection_id":89526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ba"} 
[2026-06-02 05:58:31] local.INFO: Extracted packet for processing {"connection_id":89526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ba"} 
[2026-06-02 05:58:31] local.INFO: GPS Element Parsed {"raw_longitude":760401088,"raw_latitude":109178704,"longitude_deg":76.0401088,"latitude_deg":10.9178704,"altitude":135,"angle":312,"satellites":44,"speed":53,"hex_longitude":"2d52ccc0","hex_latitude":"0681ef50","is_valid_coordinates":true} 
[2026-06-02 05:58: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-06-02 05:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772170240001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304848455023460352,"note":"Value kept but may cause issues"} 
[2026-06-02 05:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5973743458678484992,"note":"Value kept but may cause issues"} 
[2026-06-02 05:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780360047000,"timestamp_ms":1780360047000,"timestamp_seconds":1780360047,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ba6998"} 
[2026-06-02 05:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:58: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-06-02 05:58: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":10,"data_length":795,"current_offset":136} 
[2026-06-02 05:58:31] 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-06-02 05:58: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-06-02 05:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 05:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772170240001,"66":27647,"63":206,"80":60928,"24":53,"16":304848455023460352,"45":5973743458678484992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-06-02 05:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772170240001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:58:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 05:58:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304848455023460352,"km_value":304848455023460.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5973743458678484992,"description":"Unknown IO ID 45"} 
[2026-06-02 05:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772170240001,"power":27647,"unknown_63":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":5973743458678484992}} 
[2026-06-02 05:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":89526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:58:31] local.INFO: GPS data processed {"connection_id":89526,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:58:31] local.INFO: Acknowledgment sent {"connection_id":89526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:59:02] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ba84f0012d52afc006820958008601392c..."} 
[2026-06-02 05:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ba84f0012d52afc006820958008601392c..."} 
[2026-06-02 05:59:02] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ba84f0012d52afc006820958008601392c..."} 
[2026-06-02 05:59:02] local.INFO: Packet analysis {"connection_id":89526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ba"} 
[2026-06-02 05:59:02] local.INFO: Extracted packet for processing {"connection_id":89526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ba"} 
[2026-06-02 05:59:02] local.INFO: GPS Element Parsed {"raw_longitude":760393664,"raw_latitude":109185368,"longitude_deg":76.0393664,"latitude_deg":10.9185368,"altitude":134,"angle":313,"satellites":44,"speed":58,"hex_longitude":"2d52afc0","hex_latitude":"06820958","is_valid_coordinates":true} 
[2026-06-02 05:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772172032001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304848936059797504,"note":"Value kept but may cause issues"} 
[2026-06-02 05:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5966354740541345792,"note":"Value kept but may cause issues"} 
[2026-06-02 05:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780360054000,"timestamp_ms":1780360054000,"timestamp_seconds":1780360054,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ba84f0"} 
[2026-06-02 05:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:59: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-06-02 05:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 05:59:02] 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-06-02 05:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:59:02] 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-06-02 05:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772172032001,"66":27800,"63":206,"80":60928,"24":58,"16":304848936059797504,"45":5966354740541345792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-06-02 05:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772172032001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:59:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 05:59:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304848936059797504,"km_value":304848936059797.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5966354740541345792,"description":"Unknown IO ID 45"} 
[2026-06-02 05:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772172032001,"power":27800,"unknown_63":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5966354740541345792}} 
[2026-06-02 05:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":89526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:59:02] local.INFO: GPS data processed {"connection_id":89526,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:59:02] local.INFO: Acknowledgment sent {"connection_id":89526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 05:59:24] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:24] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:24] local.INFO: IMEI packet received {"connection_id":89371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 05:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":89371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 05:59:25] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:25] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:25] local.INFO: IMEI packet received {"connection_id":89371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":89371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:59:30] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:30] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 05:59:30] local.INFO: IMEI packet received {"connection_id":89371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 05:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":89371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 05:59:32] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85baa048012d529240068224e0008401382c..."} 
[2026-06-02 05:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85baa048012d529240068224e0008401382c..."} 
[2026-06-02 05:59:32] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85baa048012d529240068224e0008401382c..."} 
[2026-06-02 05:59:32] local.INFO: Packet analysis {"connection_id":89371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ba"} 
[2026-06-02 05:59:32] local.INFO: Extracted packet for processing {"connection_id":89371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ba"} 
[2026-06-02 05:59:32] local.INFO: GPS Element Parsed {"raw_longitude":760386112,"raw_latitude":109192416,"longitude_deg":76.0386112,"latitude_deg":10.9192416,"altitude":132,"angle":312,"satellites":44,"speed":58,"hex_longitude":"2d529240","hex_latitude":"068224e0","is_valid_coordinates":true} 
[2026-06-02 05:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 05:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772173824001,"note":"Value kept but may cause issues"} 
[2026-06-02 05:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304849429981036544,"note":"Value kept but may cause issues"} 
[2026-06-02 05:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5958191966218442752,"note":"Value kept but may cause issues"} 
[2026-06-02 05:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 05:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780360061000,"timestamp_ms":1780360061000,"timestamp_seconds":1780360061,"priority":1,"record_length":96,"hex_timestamp":"0000019e85baa048"} 
[2026-06-02 05:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 05:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 05:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 05:59:32] 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-06-02 05:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 05:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 05:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 05:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 05:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 05:59:32] 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-06-02 05:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 05:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 05:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772173824001,"66":27745,"63":206,"80":60928,"24":58,"16":304849429981036544,"45":5958191966218442752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-06-02 05:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 05:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 05:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772173824001,"description":"Unknown IO ID 0"} 
[2026-06-02 05:59:32] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 05:59:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 05:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304849429981036544,"km_value":304849429981036.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 05:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5958191966218442752,"description":"Unknown IO ID 45"} 
[2026-06-02 05:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772173824001,"power":27745,"unknown_63":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5958191966218442752}} 
[2026-06-02 05:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":89371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 05:59:32] local.INFO: GPS data processed {"connection_id":89371,"processed":1,"errors":0,"total":1} 
[2026-06-02 05:59:32] local.INFO: Acknowledgment sent {"connection_id":89371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:00:02] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bbd8c8012d513a0006834190008e01382c..."} 
[2026-06-02 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bbd8c8012d513a0006834190008e01382c..."} 
[2026-06-02 06:00:02] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bbd8c8012d513a0006834190008e01382c..."} 
[2026-06-02 06:00:02] local.INFO: Packet analysis {"connection_id":89371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bb"} 
[2026-06-02 06:00:02] local.INFO: Extracted packet for processing {"connection_id":89371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bb"} 
[2026-06-02 06:00:02] local.INFO: GPS Element Parsed {"raw_longitude":760297984,"raw_latitude":109265296,"longitude_deg":76.0297984,"latitude_deg":10.9265296,"altitude":142,"angle":312,"satellites":44,"speed":55,"hex_longitude":"2d513a00","hex_latitude":"06834190","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772194304001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304854957603946496,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5860731255551135744,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780360141000,"timestamp_ms":1780360141000,"timestamp_seconds":1780360141,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bbd8c8"} 
[2026-06-02 06:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:00: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-06-02 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:00: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-06-02 06: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-06-02 06:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:00:02] 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-06-02 06:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772194304001,"66":27865,"48":206,"80":60928,"24":55,"16":304854957603946496,"45":5860731255551135744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-06-02 06:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772194304001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:00:02] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-02 06:00:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304854957603946496,"km_value":304854957603946.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5860731255551135744,"description":"Unknown IO ID 45"} 
[2026-06-02 06:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772194304001,"power":27865,"unknown_48":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5860731255551135744}} 
[2026-06-02 06:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":89371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:00:02] local.INFO: GPS data processed {"connection_id":89371,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:00:02] local.INFO: Acknowledgment sent {"connection_id":89371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:00:24] local.INFO: TCP Data received {"connection_id":89118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:00:24] local.INFO: Processing buffer {"connection_id":89118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:00:24] local.INFO: IMEI packet received {"connection_id":89118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":89118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:00:31] local.INFO: TCP Data received {"connection_id":89118,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89118,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:00:31] local.INFO: Processing buffer {"connection_id":89118,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:00:31] local.INFO: IMEI packet received {"connection_id":89118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":89118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:00:31] local.INFO: TCP Data received {"connection_id":89118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bbec50012d51248006835290008f012d2c..."} 
[2026-06-02 06:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bbec50012d51248006835290008f012d2c..."} 
[2026-06-02 06:00:31] local.INFO: Processing buffer {"connection_id":89118,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 06:00:31] local.INFO: IMEI packet received {"connection_id":89118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":89118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:00:35] local.INFO: TCP Data received {"connection_id":89118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bbf808012d5117c006835850008f01212b..."} 
[2026-06-02 06:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bbf808012d5117c006835850008f01212b..."} 
[2026-06-02 06:00:35] local.INFO: Processing buffer {"connection_id":89118,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e85bbec50012d51248006835290008f012d2c..."} 
[2026-06-02 06:00:35] local.INFO: Packet analysis {"connection_id":89118,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e85bb"} 
[2026-06-02 06:00:35] local.INFO: Extracted packet for processing {"connection_id":89118,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bb"} 
[2026-06-02 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":760292480,"raw_latitude":109269648,"longitude_deg":76.029248,"latitude_deg":10.9269648,"altitude":143,"angle":301,"satellites":44,"speed":56,"hex_longitude":"2d512480","hex_latitude":"06835290","is_valid_coordinates":true} 
[2026-06-02 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772196096001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304855292611395584,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852990693693296640,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780360146000,"timestamp_ms":1780360146000,"timestamp_seconds":1780360146,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bbec50"} 
[2026-06-02 06:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:00: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-06-02 06:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772196096001,"66":27658,"48":206,"80":60928,"24":56,"16":304855292611395584,"45":5852990693693296640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772196096001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304855292611395584,"km_value":304855292611395.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852990693693296640,"description":"Unknown IO ID 45"} 
[2026-06-02 06:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772196096001,"power":27658,"unknown_48":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":5852990693693296640}} 
[2026-06-02 06:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":89118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:00:35] local.INFO: GPS data processed {"connection_id":89118,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:00:35] local.INFO: Acknowledgment sent {"connection_id":89118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:00:35] local.INFO: Packet analysis {"connection_id":89118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bb"} 
[2026-06-02 06:00:35] local.INFO: Extracted packet for processing {"connection_id":89118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bb"} 
[2026-06-02 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":760289216,"raw_latitude":109271120,"longitude_deg":76.0289216,"latitude_deg":10.927112,"altitude":143,"angle":289,"satellites":43,"speed":43,"hex_longitude":"2d5117c0","hex_latitude":"06835850","is_valid_coordinates":true} 
[2026-06-02 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772197376001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304855464410087424,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5846938981695131648,"note":"Value kept but may cause issues"} 
[2026-06-02 06:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780360149000,"timestamp_ms":1780360149000,"timestamp_seconds":1780360149,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bbf808"} 
[2026-06-02 06:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 06:00:35] 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-06-02 06:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772197376001,"66":27713,"48":206,"80":60928,"24":43,"16":304855464410087424,"45":5846938981695131648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-06-02 06:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772197376001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304855464410087424,"km_value":304855464410087.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5846938981695131648,"description":"Unknown IO ID 45"} 
[2026-06-02 06:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772197376001,"power":27713,"unknown_48":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5846938981695131648}} 
[2026-06-02 06:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":89118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:00:35] local.INFO: GPS data processed {"connection_id":89118,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:00:35] local.INFO: Acknowledgment sent {"connection_id":89118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:01:07] local.INFO: TCP Data received {"connection_id":89118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bc4a10012d50fb00068365a8008e01292c..."} 
[2026-06-02 06:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bc4a10012d50fb00068365a8008e01292c..."} 
[2026-06-02 06:01:07] local.INFO: Processing buffer {"connection_id":89118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bc4a10012d50fb00068365a8008e01292c..."} 
[2026-06-02 06:01:07] local.INFO: Packet analysis {"connection_id":89118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bc"} 
[2026-06-02 06:01:07] local.INFO: Extracted packet for processing {"connection_id":89118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bc"} 
[2026-06-02 06:01:07] local.INFO: GPS Element Parsed {"raw_longitude":760281856,"raw_latitude":109274536,"longitude_deg":76.0281856,"latitude_deg":10.9274536,"altitude":142,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2d50fb00","hex_latitude":"068365a8","is_valid_coordinates":true} 
[2026-06-02 06:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772198144001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304855855252111360,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5843350175742447616,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780360170000,"timestamp_ms":1780360170000,"timestamp_seconds":1780360170,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bc4a10"} 
[2026-06-02 06:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 06:01:07] 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-06-02 06:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:01:07] 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-06-02 06:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772198144001,"66":27658,"48":206,"80":60928,"24":0,"16":304855855252111360,"45":5843350175742447616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-06-02 06:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772198144001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:01:07] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-02 06:01:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304855855252111360,"km_value":304855855252111.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5843350175742447616,"description":"Unknown IO ID 45"} 
[2026-06-02 06:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772198144001,"power":27658,"unknown_48":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5843350175742447616}} 
[2026-06-02 06:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":89118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:01:07] local.INFO: GPS data processed {"connection_id":89118,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:01:07] local.INFO: Acknowledgment sent {"connection_id":89118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:01:24] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:24] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:24] local.INFO: IMEI packet received {"connection_id":89528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":89528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:01:29] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:29] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:29] local.INFO: IMEI packet received {"connection_id":89528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":89528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:01:34] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:34] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:01:34] local.INFO: IMEI packet received {"connection_id":89528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":89528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:01:35] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bc9c18012d50ec4006836eb8008f012e2b..."} 
[2026-06-02 06:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bc9c18012d50ec4006836eb8008f012e2b..."} 
[2026-06-02 06:01:35] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bc9c18012d50ec4006836eb8008f012e2b..."} 
[2026-06-02 06:01:35] local.INFO: Packet analysis {"connection_id":89528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bc"} 
[2026-06-02 06:01:35] local.INFO: Extracted packet for processing {"connection_id":89528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bc"} 
[2026-06-02 06:01:35] local.INFO: GPS Element Parsed {"raw_longitude":760278080,"raw_latitude":109276856,"longitude_deg":76.027808,"latitude_deg":10.9276856,"altitude":143,"angle":302,"satellites":43,"speed":26,"hex_longitude":"2d50ec40","hex_latitude":"06836eb8","is_valid_coordinates":true} 
[2026-06-02 06:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772203520001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304856065705508864,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5835257770162890752,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780360191000,"timestamp_ms":1780360191000,"timestamp_seconds":1780360191,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bc9c18"} 
[2026-06-02 06:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 06:01:35] 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-06-02 06:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772203520001,"66":27626,"48":206,"80":60928,"24":26,"16":304856065705508864,"45":5835257770162890752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-06-02 06:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772203520001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:01:35] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-02 06:01:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304856065705508864,"km_value":304856065705508.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5835257770162890752,"description":"Unknown IO ID 45"} 
[2026-06-02 06:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772203520001,"power":27626,"unknown_48":206,"unknown_80":60928,"ignition":26,"odometer":null,"unknown_45":5835257770162890752}} 
[2026-06-02 06:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":89528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:01:35] local.INFO: GPS data processed {"connection_id":89528,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:01:35] local.INFO: Acknowledgment sent {"connection_id":89528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:01:36] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bcc328012d50d10006837bf0008e01222d..."} 
[2026-06-02 06:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bcc328012d50d10006837bf0008e01222d..."} 
[2026-06-02 06:01:36] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bcc328012d50d10006837bf0008e01222d..."} 
[2026-06-02 06:01:36] local.INFO: Packet analysis {"connection_id":89528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bc"} 
[2026-06-02 06:01:36] local.INFO: Extracted packet for processing {"connection_id":89528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bc"} 
[2026-06-02 06:01:36] local.INFO: GPS Element Parsed {"raw_longitude":760271104,"raw_latitude":109280240,"longitude_deg":76.0271104,"latitude_deg":10.928024,"altitude":142,"angle":290,"satellites":45,"speed":36,"hex_longitude":"2d50d100","hex_latitude":"06837bf0","is_valid_coordinates":true} 
[2026-06-02 06:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772208896001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304856439367663616,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831106014257002496,"note":"Value kept but may cause issues"} 
[2026-06-02 06:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780360201000,"timestamp_ms":1780360201000,"timestamp_seconds":1780360201,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bcc328"} 
[2026-06-02 06:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 06:01:36] 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-06-02 06:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772208896001,"66":27800,"49":206,"80":60928,"24":36,"16":304856439367663616,"45":5831106014257002496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-06-02 06:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772208896001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:01:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 06:01:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304856439367663616,"km_value":304856439367663.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831106014257002496,"description":"Unknown IO ID 45"} 
[2026-06-02 06:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772208896001,"power":27800,"unknown_49":206,"unknown_80":60928,"ignition":36,"odometer":null,"unknown_45":5831106014257002496}} 
[2026-06-02 06:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":89528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:01:36] local.INFO: GPS data processed {"connection_id":89528,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:01:36] local.INFO: Acknowledgment sent {"connection_id":89528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:02:08] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bde438012d4f36400683bd98007901162a..."} 
[2026-06-02 06:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bde438012d4f36400683bd98007901162a..."} 
[2026-06-02 06:02:08] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bde438012d4f36400683bd98007901162a..."} 
[2026-06-02 06:02:08] local.INFO: Packet analysis {"connection_id":89528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bd"} 
[2026-06-02 06:02:08] local.INFO: Extracted packet for processing {"connection_id":89528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bd"} 
[2026-06-02 06:02:08] local.INFO: GPS Element Parsed {"raw_longitude":760165952,"raw_latitude":109297048,"longitude_deg":76.0165952,"latitude_deg":10.9297048,"altitude":121,"angle":278,"satellites":42,"speed":68,"hex_longitude":"2d4f3640","hex_latitude":"0683bd98","is_valid_coordinates":true} 
[2026-06-02 06:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772228864001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304861511724040192,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5719078973530941440,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780360275000,"timestamp_ms":1780360275000,"timestamp_seconds":1780360275,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bde438"} 
[2026-06-02 06:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:02: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-06-02 06:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 06:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:02:08] 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-06-02 06:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772228864001,"66":27908,"216":206,"80":60928,"24":68,"16":304861511724040192,"45":5719078973530941440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-06-02 06:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772228864001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:02:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 06:02:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304861511724040192,"km_value":304861511724040.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5719078973530941440,"description":"Unknown IO ID 45"} 
[2026-06-02 06:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772228864001,"power":27908,"unknown_216":206,"unknown_80":60928,"ignition":68,"odometer":null,"unknown_45":5719078973530941440}} 
[2026-06-02 06:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":89528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:02:08] local.INFO: GPS data processed {"connection_id":89528,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:02:08] local.INFO: Acknowledgment sent {"connection_id":89528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:02:26] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:26] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:26] local.INFO: IMEI packet received {"connection_id":89529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":89529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:02:30] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:30] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:30] local.INFO: IMEI packet received {"connection_id":89529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":89529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:02:34] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:34] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:02:34] local.INFO: IMEI packet received {"connection_id":89529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":89529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:02:35] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bdfba8012d4f0dc00683c360007601152a..."} 
[2026-06-02 06:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bdfba8012d4f0dc00683c360007601152a..."} 
[2026-06-02 06:02:35] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bdfba8012d4f0dc00683c360007601152a..."} 
[2026-06-02 06:02:35] local.INFO: Packet analysis {"connection_id":89529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bd"} 
[2026-06-02 06:02:35] local.INFO: Extracted packet for processing {"connection_id":89529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bd"} 
[2026-06-02 06:02:35] local.INFO: GPS Element Parsed {"raw_longitude":760155584,"raw_latitude":109298528,"longitude_deg":76.0155584,"latitude_deg":10.9298528,"altitude":118,"angle":277,"satellites":42,"speed":69,"hex_longitude":"2d4f0dc0","hex_latitude":"0683c360","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772230400001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304862009940246528,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5707819974462904320,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780360281000,"timestamp_ms":1780360281000,"timestamp_seconds":1780360281,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bdfba8"} 
[2026-06-02 06:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 06:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772230400001,"66":27767,"216":206,"80":60928,"24":69,"16":304862009940246528,"45":5707819974462904320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-06-02 06:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772230400001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:02:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 06:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304862009940246528,"km_value":304862009940246.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5707819974462904320,"description":"Unknown IO ID 45"} 
[2026-06-02 06:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772230400001,"power":27767,"unknown_216":206,"unknown_80":60928,"ignition":69,"odometer":null,"unknown_45":5707819974462904320}} 
[2026-06-02 06:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":89529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:02:35] local.INFO: GPS data processed {"connection_id":89529,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:02:35] local.INFO: Acknowledgment sent {"connection_id":89529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:02:37] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85be1318012d4ee4400683c950007301162b..."} 
[2026-06-02 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85be1318012d4ee4400683c950007301162b..."} 
[2026-06-02 06:02:37] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85be1318012d4ee4400683c950007301162b..."} 
[2026-06-02 06:02:37] local.INFO: Packet analysis {"connection_id":89529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85be"} 
[2026-06-02 06:02:37] local.INFO: Extracted packet for processing {"connection_id":89529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85be"} 
[2026-06-02 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":760144960,"raw_latitude":109300048,"longitude_deg":76.014496,"latitude_deg":10.9300048,"altitude":115,"angle":278,"satellites":43,"speed":70,"hex_longitude":"2d4ee440","hex_latitude":"0683c950","is_valid_coordinates":true} 
[2026-06-02 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772231936001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304862521041354752,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5696420237906501632,"note":"Value kept but may cause issues"} 
[2026-06-02 06:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780360287000,"timestamp_ms":1780360287000,"timestamp_seconds":1780360287,"priority":1,"record_length":96,"hex_timestamp":"0000019e85be1318"} 
[2026-06-02 06:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772231936001,"66":27484,"184":206,"80":60928,"24":70,"16":304862521041354752,"45":5696420237906501632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-06-02 06:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772231936001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:02:37] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 06:02:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304862521041354752,"km_value":304862521041354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5696420237906501632,"description":"Unknown IO ID 45"} 
[2026-06-02 06:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772231936001,"power":27484,"unknown_184":206,"unknown_80":60928,"ignition":70,"odometer":null,"unknown_45":5696420237906501632}} 
[2026-06-02 06:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":89529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:02:37] local.INFO: GPS data processed {"connection_id":89529,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:02:37] local.INFO: Acknowledgment sent {"connection_id":89529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:03:09] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85be26a0012d4ec1800683ce88007001172b..."} 
[2026-06-02 06:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85be26a0012d4ec1800683ce88007001172b..."} 
[2026-06-02 06:03:09] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85be26a0012d4ec1800683ce88007001172b..."} 
[2026-06-02 06:03:09] local.INFO: Packet analysis {"connection_id":89529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85be"} 
[2026-06-02 06:03:09] local.INFO: Extracted packet for processing {"connection_id":89529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85be"} 
[2026-06-02 06:03:09] local.INFO: GPS Element Parsed {"raw_longitude":760136064,"raw_latitude":109301384,"longitude_deg":76.0136064,"latitude_deg":10.9301384,"altitude":112,"angle":279,"satellites":43,"speed":71,"hex_longitude":"2d4ec180","hex_latitude":"0683ce88","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772233472001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304862950538084352,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5684739026373398528,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780360292000,"timestamp_ms":1780360292000,"timestamp_seconds":1780360292,"priority":1,"record_length":96,"hex_timestamp":"0000019e85be26a0"} 
[2026-06-02 06:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:03: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-06-02 06:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 06:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772233472001,"66":27626,"184":206,"80":60928,"24":71,"16":304862950538084352,"45":5684739026373398528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-06-02 06:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772233472001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:03:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 06:03:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304862950538084352,"km_value":304862950538084.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5684739026373398528,"description":"Unknown IO ID 45"} 
[2026-06-02 06:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772233472001,"power":27626,"unknown_184":206,"unknown_80":60928,"ignition":71,"odometer":null,"unknown_45":5684739026373398528}} 
[2026-06-02 06:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":89529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:03:09] local.INFO: GPS data processed {"connection_id":89529,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:03:09] local.INFO: Acknowledgment sent {"connection_id":89529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:03:25] local.INFO: TCP Data received {"connection_id":90585,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:25] local.INFO: Processing buffer {"connection_id":90585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:25] local.INFO: IMEI packet received {"connection_id":90585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":90585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:03:25] local.INFO: TCP Data received {"connection_id":90585,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:25] local.INFO: Processing buffer {"connection_id":90585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:25] local.INFO: IMEI packet received {"connection_id":90585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":90585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:03:28] local.INFO: TCP Data received {"connection_id":90585,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:28] local.INFO: Processing buffer {"connection_id":90585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:03:28] local.INFO: IMEI packet received {"connection_id":90585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":90585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:03:29] local.INFO: TCP Data received {"connection_id":90585,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bf14e8012d4dac0006847aa0007b01162c..."} 
[2026-06-02 06:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bf14e8012d4dac0006847aa0007b01162c..."} 
[2026-06-02 06:03:29] local.INFO: Processing buffer {"connection_id":90585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bf14e8012d4dac0006847aa0007b01162c..."} 
[2026-06-02 06:03:29] local.INFO: Packet analysis {"connection_id":90585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bf"} 
[2026-06-02 06:03:29] local.INFO: Extracted packet for processing {"connection_id":90585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bf"} 
[2026-06-02 06:03:29] local.INFO: GPS Element Parsed {"raw_longitude":760065024,"raw_latitude":109345440,"longitude_deg":76.0065024,"latitude_deg":10.934544,"altitude":123,"angle":278,"satellites":44,"speed":58,"hex_longitude":"2d4dac00","hex_latitude":"06847aa0","is_valid_coordinates":true} 
[2026-06-02 06:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772248576001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304867129541263360,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5607614882765893632,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:29] 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-06-02 06:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780360353000,"timestamp_ms":1780360353000,"timestamp_seconds":1780360353,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bf14e8"} 
[2026-06-02 06:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:03: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-06-02 06:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:03: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-06-02 06:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:03:29] 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-06-02 06:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772248576001,"66":27908,"104":206,"80":60928,"24":58,"16":304867129541263360,"45":5607614882765893632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-06-02 06:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772248576001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:03:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-02 06:03:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304867129541263360,"km_value":304867129541263.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5607614882765893632,"description":"Unknown IO ID 45"} 
[2026-06-02 06:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772248576001,"power":27908,"unknown_104":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5607614882765893632}} 
[2026-06-02 06:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":90585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:03:29] local.INFO: GPS data processed {"connection_id":90585,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:03:29] local.INFO: Acknowledgment sent {"connection_id":90585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:03:30] local.INFO: TCP Data received {"connection_id":90585,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bf3040012d4d8400068480f0007a01162c..."} 
[2026-06-02 06:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bf3040012d4d8400068480f0007a01162c..."} 
[2026-06-02 06:03:30] local.INFO: Processing buffer {"connection_id":90585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bf3040012d4d8400068480f0007a01162c..."} 
[2026-06-02 06:03:30] local.INFO: Packet analysis {"connection_id":90585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bf"} 
[2026-06-02 06:03:30] local.INFO: Extracted packet for processing {"connection_id":90585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bf"} 
[2026-06-02 06:03:30] local.INFO: GPS Element Parsed {"raw_longitude":760054784,"raw_latitude":109347056,"longitude_deg":76.0054784,"latitude_deg":10.9347056,"altitude":122,"angle":278,"satellites":44,"speed":57,"hex_longitude":"2d4d8400","hex_latitude":"068480f0","is_valid_coordinates":true} 
[2026-06-02 06:03: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-06-02 06:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772250368001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304867623462502400,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5596848464907116544,"note":"Value kept but may cause issues"} 
[2026-06-02 06:03:30] 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-06-02 06:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780360360000,"timestamp_ms":1780360360000,"timestamp_seconds":1780360360,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bf3040"} 
[2026-06-02 06:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:03: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-06-02 06:03: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 06:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:03: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-06-02 06:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:03:30] 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-06-02 06:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772250368001,"66":27908,"103":206,"80":60928,"24":57,"16":304867623462502400,"45":5596848464907116544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-06-02 06:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772250368001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:03:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 06:03:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304867623462502400,"km_value":304867623462502.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5596848464907116544,"description":"Unknown IO ID 45"} 
[2026-06-02 06:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772250368001,"power":27908,"unknown_103":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5596848464907116544}} 
[2026-06-02 06:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":90585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:03:30] local.INFO: GPS data processed {"connection_id":90585,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:03:30] local.INFO: Acknowledgment sent {"connection_id":90585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:03:34] local.INFO: TCP Data received {"connection_id":89373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:03:34] local.INFO: Processing buffer {"connection_id":89373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:03:34] local.INFO: IMEI packet received {"connection_id":89373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":89373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:03:59] local.INFO: TCP Data received {"connection_id":89530,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:03:59] local.INFO: Processing buffer {"connection_id":89530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:03:59] local.INFO: IMEI packet received {"connection_id":89530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":89530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:04:01] local.INFO: TCP Data received {"connection_id":90585,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85bf4b98012d4d5d8006848b080078012124..."} 
[2026-06-02 06:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85bf4b98012d4d5d8006848b080078012124..."} 
[2026-06-02 06:04:01] local.INFO: Processing buffer {"connection_id":90585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85bf4b98012d4d5d8006848b080078012124..."} 
[2026-06-02 06:04:01] local.INFO: Packet analysis {"connection_id":90585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85bf"} 
[2026-06-02 06:04:01] local.INFO: Extracted packet for processing {"connection_id":90585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85bf"} 
[2026-06-02 06:04:01] local.INFO: GPS Element Parsed {"raw_longitude":760044928,"raw_latitude":109349640,"longitude_deg":76.0044928,"latitude_deg":10.934964,"altitude":120,"angle":289,"satellites":36,"speed":56,"hex_longitude":"2d4d5d80","hex_latitude":"06848b08","is_valid_coordinates":true} 
[2026-06-02 06:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772252160001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304868108793806848,"note":"Value kept but may cause issues"} 
[2026-06-02 06:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5585589465839104000,"note":"Value kept but may cause issues"} 
[2026-06-02 06:04:01] 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-06-02 06:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780360367000,"timestamp_ms":1780360367000,"timestamp_seconds":1780360367,"priority":1,"record_length":96,"hex_timestamp":"0000019e85bf4b98"} 
[2026-06-02 06:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:04: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-06-02 06:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 06:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:04:01] 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-06-02 06:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772252160001,"66":27876,"103":206,"80":60928,"24":56,"16":304868108793806848,"45":5585589465839104000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-06-02 06:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772252160001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:04:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 06:04:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304868108793806848,"km_value":304868108793806.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5585589465839104000,"description":"Unknown IO ID 45"} 
[2026-06-02 06:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772252160001,"power":27876,"unknown_103":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":5585589465839104000}} 
[2026-06-02 06:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":90585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:04:01] local.INFO: GPS data processed {"connection_id":90585,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:04:01] local.INFO: Acknowledgment sent {"connection_id":90585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:04:23] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:23] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:23] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:04:24] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:24] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:24] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:04:26] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:26] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:04:26] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:05:03] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.40","data_length":1348,"data_hex":"000000000000030f8e0a0000019e85c00ee8012d4cb94006857a20006d015c2c..."} 
[2026-06-02 06:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019e85c00ee8012d4cb94006857a20006d015c2c..."} 
[2026-06-02 06:05:03] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019e85c00ee8012d4cb94006857a20006d015c2c..."} 
[2026-06-02 06:05:03] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:03] local.INFO: Extracted packet for processing {"connection_id":89374,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:03] local.INFO: GPS Element Parsed {"raw_longitude":760002880,"raw_latitude":109410848,"longitude_deg":76.000288,"latitude_deg":10.9410848,"altitude":109,"angle":348,"satellites":44,"speed":50,"hex_longitude":"2d4cb940","hex_latitude":"06857a20","is_valid_coordinates":true} 
[2026-06-02 06:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772266752001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304871763810975744,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528520414327349248,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:03] 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-06-02 06:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780360417000,"timestamp_ms":1780360417000,"timestamp_seconds":1780360417,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c00ee8"} 
[2026-06-02 06:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 06:05: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-06-02 06:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:03] 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-06-02 06:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772266752001,"66":27745,"103":206,"80":60928,"24":50,"16":304871763810975744,"45":5528520414327349248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-06-02 06:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772266752001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:05:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 06:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304871763810975744,"km_value":304871763810975.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528520414327349248,"description":"Unknown IO ID 45"} 
[2026-06-02 06:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772266752001,"power":27745,"unknown_103":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":5528520414327349248}} 
[2026-06-02 06:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":89374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:05:03] local.INFO: GPS data processed {"connection_id":89374,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:05:03] local.INFO: Acknowledgment sent {"connection_id":89374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:05:03] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:03] local.INFO: Incomplete packet, waiting for more data {"connection_id":89374,"needed":795,"available":553} 
[2026-06-02 06:05:04] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.40","data_length":1037,"data_hex":"0000000000019e85bfad40012d4cf6000684f4900070014c2b003f0000000a00..."} 
[2026-06-02 06:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":1037,"packet_hex":"0000000000019e85bfad40012d4cf6000684f4900070014c2b003f0000000a00..."} 
[2026-06-02 06:05:04] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e85c01e88012d4cb74006858de0006e00002d..."} 
[2026-06-02 06:05:04] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:04] local.INFO: Extracted packet for processing {"connection_id":89374,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":760002368,"raw_latitude":109415904,"longitude_deg":76.0002368,"latitude_deg":10.9415904,"altitude":110,"angle":0,"satellites":45,"speed":50,"hex_longitude":"2d4cb740","hex_latitude":"06858de0","is_valid_coordinates":true} 
[2026-06-02 06:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772266752001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304872008624111616,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528520414327349248,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:04] 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-06-02 06:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780360421000,"timestamp_ms":1780360421000,"timestamp_seconds":1780360421,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c01e88"} 
[2026-06-02 06:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:05: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-06-02 06:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 06:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772266752001,"66":27767,"103":206,"80":60928,"24":50,"16":304872008624111616,"45":5528520414327349248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772266752001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304872008624111616,"km_value":304872008624111.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528520414327349248,"description":"Unknown IO ID 45"} 
[2026-06-02 06:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772266752001,"power":27767,"unknown_103":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":5528520414327349248}} 
[2026-06-02 06:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":89374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:05:04] local.INFO: GPS data processed {"connection_id":89374,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:05:04] local.INFO: Acknowledgment sent {"connection_id":89374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:05:04] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:04] local.INFO: Extracted packet for processing {"connection_id":89374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":760002944,"raw_latitude":109420872,"longitude_deg":76.0002944,"latitude_deg":10.9420872,"altitude":111,"angle":13,"satellites":44,"speed":49,"hex_longitude":"2d4cb980","hex_latitude":"0685a148","is_valid_coordinates":true} 
[2026-06-02 06:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772267776001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304872253437247488,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5527957464375222272,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:04] 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-06-02 06:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780360425000,"timestamp_ms":1780360425000,"timestamp_seconds":1780360425,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c02e28"} 
[2026-06-02 06:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:05: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-06-02 06:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:05: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-06-02 06:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772267776001,"66":27658,"103":206,"80":60928,"24":49,"16":304872253437247488,"45":5527957464375222272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-06-02 06:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772267776001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304872253437247488,"km_value":304872253437247.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5527957464375222272,"description":"Unknown IO ID 45"} 
[2026-06-02 06:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772267776001,"power":27658,"unknown_103":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5527957464375222272}} 
[2026-06-02 06:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":89374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:05:04] local.INFO: GPS data processed {"connection_id":89374,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:05:04] local.INFO: Acknowledgment sent {"connection_id":89374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:05:22] local.INFO: TCP Data received {"connection_id":90587,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:22] local.INFO: Processing buffer {"connection_id":90587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:22] local.INFO: IMEI packet received {"connection_id":90587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":90587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:05:25] local.INFO: TCP Data received {"connection_id":90587,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:25] local.INFO: Processing buffer {"connection_id":90587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:25] local.INFO: IMEI packet received {"connection_id":90587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":90587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:05:29] local.INFO: TCP Data received {"connection_id":90587,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:29] local.INFO: Processing buffer {"connection_id":90587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:05:29] local.INFO: IMEI packet received {"connection_id":90587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":90587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:05:30] local.INFO: TCP Data received {"connection_id":90587,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c03dc8012d4cbf800685b390007100182e..."} 
[2026-06-02 06:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c03dc8012d4cbf800685b390007100182e..."} 
[2026-06-02 06:05:30] local.INFO: Processing buffer {"connection_id":90587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c03dc8012d4cbf800685b390007100182e..."} 
[2026-06-02 06:05:30] local.INFO: Packet analysis {"connection_id":90587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:30] local.INFO: Extracted packet for processing {"connection_id":90587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c0"} 
[2026-06-02 06:05:30] local.INFO: GPS Element Parsed {"raw_longitude":760004480,"raw_latitude":109425552,"longitude_deg":76.000448,"latitude_deg":10.9425552,"altitude":113,"angle":24,"satellites":46,"speed":48,"hex_longitude":"2d4cbf80","hex_latitude":"0685b390","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772268800001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304872489660448768,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528590783074093056,"note":"Value kept but may cause issues"} 
[2026-06-02 06:05:30] 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-06-02 06:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780360429000,"timestamp_ms":1780360429000,"timestamp_seconds":1780360429,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c03dc8"} 
[2026-06-02 06:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:05: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-06-02 06: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":10,"data_length":795,"current_offset":136} 
[2026-06-02 06:05: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-06-02 06: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-06-02 06:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:05:30] 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-06-02 06:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772268800001,"66":27691,"103":206,"80":60928,"24":48,"16":304872489660448768,"45":5528590783074093056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-06-02 06:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772268800001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:05:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 06:05:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-06-02 06:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304872489660448768,"km_value":304872489660448.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528590783074093056,"description":"Unknown IO ID 45"} 
[2026-06-02 06:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772268800001,"power":27691,"unknown_103":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":5528590783074093056}} 
[2026-06-02 06:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":90587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:05:30] local.INFO: GPS data processed {"connection_id":90587,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:05:30] local.INFO: Acknowledgment sent {"connection_id":90587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:06:01] local.INFO: TCP Data received {"connection_id":90587,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c17260012d4da6c0068741880065000e28..."} 
[2026-06-02 06:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c17260012d4da6c0068741880065000e28..."} 
[2026-06-02 06:06:01] local.INFO: Processing buffer {"connection_id":90587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c17260012d4da6c0068741880065000e28..."} 
[2026-06-02 06:06:01] local.INFO: Packet analysis {"connection_id":90587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c1"} 
[2026-06-02 06:06:01] local.INFO: Extracted packet for processing {"connection_id":90587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c1"} 
[2026-06-02 06:06:01] local.INFO: GPS Element Parsed {"raw_longitude":760063680,"raw_latitude":109527432,"longitude_deg":76.006368,"latitude_deg":10.9527432,"altitude":101,"angle":14,"satellites":40,"speed":70,"hex_longitude":"2d4da6c0","hex_latitude":"06874188","is_valid_coordinates":true} 
[2026-06-02 06:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772288768001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304878287866298368,"note":"Value kept but may cause issues"} 
[2026-06-02 06:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5592767077789212672,"note":"Value kept but may cause issues"} 
[2026-06-02 06:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780360508000,"timestamp_ms":1780360508000,"timestamp_seconds":1780360508,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c17260"} 
[2026-06-02 06:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:06: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-06-02 06:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:06: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-06-02 06:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:06:01] 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-06-02 06:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772288768001,"66":27865,"237":206,"86":48896,"24":70,"16":304878287866298368,"45":5592767077789212672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-06-02 06:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772288768001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:06:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-02 06:06:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304878287866298368,"km_value":304878287866298.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5592767077789212672,"description":"Unknown IO ID 45"} 
[2026-06-02 06:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772288768001,"power":27865,"unknown_237":206,"unknown_86":48896,"ignition":70,"odometer":null,"unknown_45":5592767077789212672}} 
[2026-06-02 06:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":90587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:06:01] local.INFO: GPS data processed {"connection_id":90587,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:06:01] local.INFO: Acknowledgment sent {"connection_id":90587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:06:25] local.INFO: TCP Data received {"connection_id":89121,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:25] local.INFO: Processing buffer {"connection_id":89121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:25] local.INFO: IMEI packet received {"connection_id":89121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":89121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:06:26] local.INFO: TCP Data received {"connection_id":89121,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:26] local.INFO: Processing buffer {"connection_id":89121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:26] local.INFO: IMEI packet received {"connection_id":89121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":89121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:06:29] local.INFO: TCP Data received {"connection_id":89121,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:29] local.INFO: Processing buffer {"connection_id":89121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:06:29] local.INFO: IMEI packet received {"connection_id":89121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":89121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:06:30] local.INFO: TCP Data received {"connection_id":89121,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c185e8012d4daf80068763700063000e28..."} 
[2026-06-02 06:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c185e8012d4daf80068763700063000e28..."} 
[2026-06-02 06:06:30] local.INFO: Processing buffer {"connection_id":89121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c185e8012d4daf80068763700063000e28..."} 
[2026-06-02 06:06:30] local.INFO: Packet analysis {"connection_id":89121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c1"} 
[2026-06-02 06:06:30] local.INFO: Extracted packet for processing {"connection_id":89121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c1"} 
[2026-06-02 06:06:30] local.INFO: GPS Element Parsed {"raw_longitude":760065920,"raw_latitude":109536112,"longitude_deg":76.006592,"latitude_deg":10.9536112,"altitude":99,"angle":14,"satellites":40,"speed":71,"hex_longitude":"2d4daf80","hex_latitude":"06876370","is_valid_coordinates":true} 
[2026-06-02 06:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772290048001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304878721657995264,"note":"Value kept but may cause issues"} 
[2026-06-02 06:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5595370721325975552,"note":"Value kept but may cause issues"} 
[2026-06-02 06:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780360513000,"timestamp_ms":1780360513000,"timestamp_seconds":1780360513,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c185e8"} 
[2026-06-02 06:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:06: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-06-02 06:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:06: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-06-02 06:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:06:30] 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-06-02 06:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772290048001,"66":27876,"237":206,"86":48896,"24":71,"16":304878721657995264,"45":5595370721325975552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-06-02 06:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772290048001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:06:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-02 06:06:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304878721657995264,"km_value":304878721657995.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5595370721325975552,"description":"Unknown IO ID 45"} 
[2026-06-02 06:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772290048001,"power":27876,"unknown_237":206,"unknown_86":48896,"ignition":71,"odometer":null,"unknown_45":5595370721325975552}} 
[2026-06-02 06:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":89121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:06:30] local.INFO: GPS data processed {"connection_id":89121,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:06:30] local.INFO: Acknowledgment sent {"connection_id":89121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:07:01] local.INFO: TCP Data received {"connection_id":89121,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c19970012d4db880068785880060000f28..."} 
[2026-06-02 06:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c19970012d4db880068785880060000f28..."} 
[2026-06-02 06:07:01] local.INFO: Processing buffer {"connection_id":89121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c19970012d4db880068785880060000f28..."} 
[2026-06-02 06:07:01] local.INFO: Packet analysis {"connection_id":89121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c1"} 
[2026-06-02 06:07:01] local.INFO: Extracted packet for processing {"connection_id":89121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c1"} 
[2026-06-02 06:07:01] local.INFO: GPS Element Parsed {"raw_longitude":760068224,"raw_latitude":109544840,"longitude_deg":76.0068224,"latitude_deg":10.954484,"altitude":96,"angle":15,"satellites":40,"speed":72,"hex_longitude":"2d4db880","hex_latitude":"06878588","is_valid_coordinates":true} 
[2026-06-02 06:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772291328001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304879155449692160,"note":"Value kept but may cause issues"} 
[2026-06-02 06:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597833627374415872,"note":"Value kept but may cause issues"} 
[2026-06-02 06:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780360518000,"timestamp_ms":1780360518000,"timestamp_seconds":1780360518,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c19970"} 
[2026-06-02 06:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:07: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-06-02 06:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 06:07:01] 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-06-02 06:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:07:01] 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-06-02 06:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772291328001,"66":27843,"122":206,"86":48896,"24":72,"16":304879155449692160,"45":5597833627374415872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-06-02 06:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772291328001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:07:01] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 06:07:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304879155449692160,"km_value":304879155449692.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597833627374415872,"description":"Unknown IO ID 45"} 
[2026-06-02 06:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772291328001,"power":27843,"unknown_122":206,"unknown_86":48896,"ignition":72,"odometer":null,"unknown_45":5597833627374415872}} 
[2026-06-02 06:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":89121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:07:01] local.INFO: GPS data processed {"connection_id":89121,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:07:01] local.INFO: Acknowledgment sent {"connection_id":89121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:07:25] local.INFO: TCP Data received {"connection_id":89122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:07:25] local.INFO: Processing buffer {"connection_id":89122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:07:25] local.INFO: IMEI packet received {"connection_id":89122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":89122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:07:29] local.INFO: TCP Data received {"connection_id":89122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:07:29] local.INFO: Processing buffer {"connection_id":89122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:07:29] local.INFO: IMEI packet received {"connection_id":89122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":89122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:07:30] local.INFO: TCP Data received {"connection_id":89122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c2aae0012d4de28006893638005900042c..."} 
[2026-06-02 06:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c2aae0012d4de28006893638005900042c..."} 
[2026-06-02 06:07:30] local.INFO: Processing buffer {"connection_id":89122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c2aae0012d4de28006893638005900042c..."} 
[2026-06-02 06:07:30] local.INFO: Packet analysis {"connection_id":89122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c2"} 
[2026-06-02 06:07:30] local.INFO: Extracted packet for processing {"connection_id":89122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c2"} 
[2026-06-02 06:07:30] local.INFO: GPS Element Parsed {"raw_longitude":760078976,"raw_latitude":109655608,"longitude_deg":76.0078976,"latitude_deg":10.9655608,"altitude":89,"angle":4,"satellites":44,"speed":47,"hex_longitude":"2d4de280","hex_latitude":"06893638","is_valid_coordinates":true} 
[2026-06-02 06:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772308480001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304884627238027264,"note":"Value kept but may cause issues"} 
[2026-06-02 06:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5612259219958962176,"note":"Value kept but may cause issues"} 
[2026-06-02 06:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780360588000,"timestamp_ms":1780360588000,"timestamp_seconds":1780360588,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c2aae0"} 
[2026-06-02 06:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:07: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-06-02 06:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:07:30] 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-06-02 06:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772308480001,"66":27691,"121":206,"86":48896,"24":47,"16":304884627238027264,"45":5612259219958962176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-06-02 06:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772308480001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:07:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-02 06:07:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304884627238027264,"km_value":304884627238027.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5612259219958962176,"description":"Unknown IO ID 45"} 
[2026-06-02 06:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772308480001,"power":27691,"unknown_121":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5612259219958962176}} 
[2026-06-02 06:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":89122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:07:30] local.INFO: GPS data processed {"connection_id":89122,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:07:30] local.INFO: Acknowledgment sent {"connection_id":89122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:08:02] local.INFO: TCP Data received {"connection_id":89122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c2ca20012d4de94006895a50005c00102d..."} 
[2026-06-02 06:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c2ca20012d4de94006895a50005c00102d..."} 
[2026-06-02 06:08:02] local.INFO: Processing buffer {"connection_id":89122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c2ca20012d4de94006895a50005c00102d..."} 
[2026-06-02 06:08:02] local.INFO: Packet analysis {"connection_id":89122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c2"} 
[2026-06-02 06:08:02] local.INFO: Extracted packet for processing {"connection_id":89122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c2"} 
[2026-06-02 06:08:02] local.INFO: GPS Element Parsed {"raw_longitude":760080704,"raw_latitude":109664848,"longitude_deg":76.0080704,"latitude_deg":10.9664848,"altitude":92,"angle":16,"satellites":45,"speed":46,"hex_longitude":"2d4de940","hex_latitude":"06895a50","is_valid_coordinates":true} 
[2026-06-02 06:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772310528001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304885082504560640,"note":"Value kept but may cause issues"} 
[2026-06-02 06:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5612188851217250304,"note":"Value kept but may cause issues"} 
[2026-06-02 06:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780360596000,"timestamp_ms":1780360596000,"timestamp_seconds":1780360596,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c2ca20"} 
[2026-06-02 06:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:08: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-06-02 06:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-02 06:08:02] 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-06-02 06:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:08:02] 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-06-02 06:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772310528001,"66":27745,"121":206,"86":48896,"24":46,"16":304885082504560640,"45":5612188851217250304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-06-02 06:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772310528001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:08:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-02 06:08:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304885082504560640,"km_value":304885082504560.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5612188851217250304,"description":"Unknown IO ID 45"} 
[2026-06-02 06:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772310528001,"power":27745,"unknown_121":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5612188851217250304}} 
[2026-06-02 06:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":89122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:08:02] local.INFO: GPS data processed {"connection_id":89122,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:08:02] local.INFO: Acknowledgment sent {"connection_id":89122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:08:39] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:39] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:39] local.INFO: IMEI packet received {"connection_id":89377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":89377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:08:40] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:40] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:40] local.INFO: IMEI packet received {"connection_id":89377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":89377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:08:53] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:53] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:08:53] local.INFO: IMEI packet received {"connection_id":89377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":89377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:08:55] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c3c808012d4de940068a7b28006c013c22..."} 
[2026-06-02 06:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c3c808012d4de940068a7b28006c013c22..."} 
[2026-06-02 06:08:55] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c3c808012d4de940068a7b28006c013c22..."} 
[2026-06-02 06:08:55] local.INFO: Packet analysis {"connection_id":89377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c3"} 
[2026-06-02 06:08:55] local.INFO: Extracted packet for processing {"connection_id":89377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c3"} 
[2026-06-02 06:08:55] local.INFO: GPS Element Parsed {"raw_longitude":760080704,"raw_latitude":109738792,"longitude_deg":76.0080704,"latitude_deg":10.9738792,"altitude":108,"angle":316,"satellites":34,"speed":60,"hex_longitude":"2d4de940","hex_latitude":"068a7b28","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772329216001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304888836305977344,"note":"Value kept but may cause issues"} 
[2026-06-02 06:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614088807331342336,"note":"Value kept but may cause issues"} 
[2026-06-02 06:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780360661000,"timestamp_ms":1780360661000,"timestamp_seconds":1780360661,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c3c808"} 
[2026-06-02 06:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:08: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-06-02 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:08: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-06-02 06: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-06-02 06:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":89377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:08:55] 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-06-02 06:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772329216001,"66":27800,"93":206,"86":48896,"24":60,"16":304888836305977344,"45":5614088807331342336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,86,24,16,45]} 
[2026-06-02 06:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772329216001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:08:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-02 06:08:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304888836305977344,"km_value":304888836305977.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614088807331342336,"description":"Unknown IO ID 45"} 
[2026-06-02 06:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772329216001,"power":27800,"unknown_93":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5614088807331342336}} 
[2026-06-02 06:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":89377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:08:55] local.INFO: GPS data processed {"connection_id":89377,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:08:55] local.INFO: Acknowledgment sent {"connection_id":89377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:09:19] local.INFO: TCP Data received {"connection_id":90588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:09:19] local.INFO: Processing buffer {"connection_id":90588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:09:19] local.INFO: IMEI packet received {"connection_id":90588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":90588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:09:23] local.INFO: TCP Data received {"connection_id":90589,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:23] local.INFO: Processing buffer {"connection_id":90589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:23] local.INFO: IMEI packet received {"connection_id":90589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":90589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:09:25] local.INFO: TCP Data received {"connection_id":90589,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:25] local.INFO: Processing buffer {"connection_id":90589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:25] local.INFO: IMEI packet received {"connection_id":90589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":90589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:09:25] local.INFO: TCP Data received {"connection_id":90589,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:25] local.INFO: Processing buffer {"connection_id":90589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:25] local.INFO: IMEI packet received {"connection_id":90589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":90589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:09:27] local.INFO: TCP Data received {"connection_id":90589,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:27] local.INFO: Processing buffer {"connection_id":90589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:09:27] local.INFO: IMEI packet received {"connection_id":90589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":90589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:09:27] local.INFO: TCP Data received {"connection_id":90589,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c4a6b0012d4c6300068af6800044011728..."} 
[2026-06-02 06:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c4a6b0012d4c6300068af6800044011728..."} 
[2026-06-02 06:09:27] local.INFO: Processing buffer {"connection_id":90589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c4a6b0012d4c6300068af6800044011728..."} 
[2026-06-02 06:09:27] local.INFO: Packet analysis {"connection_id":90589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c4"} 
[2026-06-02 06:09:27] local.INFO: Extracted packet for processing {"connection_id":90589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c4"} 
[2026-06-02 06:09:27] local.INFO: GPS Element Parsed {"raw_longitude":759980800,"raw_latitude":109770368,"longitude_deg":75.99808,"latitude_deg":10.9770368,"altitude":68,"angle":279,"satellites":40,"speed":89,"hex_longitude":"2d4c6300","hex_latitude":"068af680","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772342528001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304893960201961472,"note":"Value kept but may cause issues"} 
[2026-06-02 06:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5516487359164581888,"note":"Value kept but may cause issues"} 
[2026-06-02 06:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780360718000,"timestamp_ms":1780360718000,"timestamp_seconds":1780360718,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c4a6b0"} 
[2026-06-02 06:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06: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-06-02 06: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 06:09: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-06-02 06: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-06-02 06:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":90589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":90589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":90589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772342528001,"66":27821,"187":206,"86":48896,"24":89,"16":304893960201961472,"45":5516487359164581888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-06-02 06:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772342528001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:09:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-06-02 06:09:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304893960201961472,"km_value":304893960201961.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5516487359164581888,"description":"Unknown IO ID 45"} 
[2026-06-02 06:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772342528001,"power":27821,"unknown_187":206,"unknown_86":48896,"ignition":89,"odometer":null,"unknown_45":5516487359164581888}} 
[2026-06-02 06:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":90589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:09:27] local.INFO: GPS data processed {"connection_id":90589,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:09:27] local.INFO: Acknowledgment sent {"connection_id":90589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:09:59] local.INFO: TCP Data received {"connection_id":89123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:09:59] local.INFO: Processing buffer {"connection_id":89123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:09:59] local.INFO: IMEI packet received {"connection_id":89123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":89123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:10:13] local.INFO: TCP Data received {"connection_id":90589,"ip":"42.106.6.40","data_length":822,"data_hex":"000000000000032a8e0a0000019e85c53738002d4b0680068b2e080019011729..."} 
[2026-06-02 06:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90589,"packet_length":822,"packet_hex":"000000000000032a8e0a0000019e85c53738002d4b0680068b2e080019011729..."} 
[2026-06-02 06:10:13] local.INFO: Processing buffer {"connection_id":90589,"buffer_length":822,"buffer_hex":"000000000000032a8e0a0000019e85c53738002d4b0680068b2e080019011729..."} 
[2026-06-02 06:10:13] local.INFO: Packet analysis {"connection_id":90589,"data_field_length":810,"total_packet_length":822,"buffer_length":822,"packet_hex_start":"000000000000032a8e0a0000019e85c5"} 
[2026-06-02 06:10:13] local.INFO: Extracted packet for processing {"connection_id":90589,"packet_length":822,"remaining_buffer_length":0,"packet_hex_start":"000000000000032a8e0a0000019e85c5"} 
[2026-06-02 06:10:13] local.INFO: GPS Element Parsed {"raw_longitude":759891584,"raw_latitude":109784584,"longitude_deg":75.9891584,"latitude_deg":10.9784584,"altitude":25,"angle":279,"satellites":41,"speed":101,"hex_longitude":"2d4b0680","hex_latitude":"068b2e08","is_valid_coordinates":true} 
[2026-06-02 06:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":255,"n1_one_byte":0,"n2_two_byte":11,"n4_four_byte":0,"n8_eight_byte":5,"data_length":822,"current_offset":40} 
[2026-06-02 06:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772352768000,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304898263759192064,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5411708299087898624,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:13] local.WARNING: Large IO value detected {"io_id":27,"raw_value":78295125180088064,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:13] local.INFO: IO Element Parsed {"io_data_count":8,"io_data_keys":[0,66,91,86,24,16,45,27],"length":84,"final_offset":118,"validated_count":8,"validation_warnings":[]} 
[2026-06-02 06:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780360755000,"timestamp_ms":1780360755000,"timestamp_seconds":1780360755,"priority":0,"record_length":108,"hex_timestamp":"0000019e85c53738"} 
[2026-06-02 06:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":108,"new_offset":118} 
[2026-06-02 06:10:13] local.INFO: GPS Element Parsed {"raw_longitude":16737280,"raw_latitude":4026597445,"longitude_deg":1.673728,"latitude_deg":-26.8369851,"altitude":256,"angle":1024,"satellites":66,"speed":27919,"hex_longitude":"00ff6400","hex_latitude":"f0010045","is_valid_coordinates":true} 
[2026-06-02 06:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":205,"n1_one_byte":56,"n2_two_byte":91,"n4_four_byte":0,"n8_eight_byte":206,"data_length":822,"current_offset":148} 
[2026-06-02 06:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":148,"expected_size":2239,"max_length":822,"available_bytes":674,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":142,"data_length":822,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":118,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":90589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":90589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":90589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772352768000,"66":27865,"91":206,"86":48896,"24":101,"16":304898263759192064,"45":5411708299087898624,"27":78295125180088064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45,27]} 
[2026-06-02 06:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772352768000,"description":"Unknown IO ID 0"} 
[2026-06-02 06:10:13] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-02 06:10:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304898263759192064,"km_value":304898263759192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5411708299087898624,"description":"Unknown IO ID 45"} 
[2026-06-02 06:10:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":78295125180088064,"description":"Unknown IO ID 27"} 
[2026-06-02 06:10:13] local.INFO: IO Data Validated and Processed {"original_count":8,"validated_count":8,"validated_data":{"unknown_0":455772352768000,"power":27865,"unknown_91":206,"unknown_86":48896,"ignition":101,"odometer":null,"unknown_45":5411708299087898624,"unknown_27":78295125180088064}} 
[2026-06-02 06:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":90589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:10:13] local.INFO: GPS data processed {"connection_id":90589,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:10:13] local.INFO: Acknowledgment sent {"connection_id":90589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:10:24] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:24] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:24] local.INFO: IMEI packet received {"connection_id":89378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":89378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:10:27] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:27] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:27] local.INFO: IMEI packet received {"connection_id":89378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":89378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:10:30] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:30] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:10:30] local.INFO: IMEI packet received {"connection_id":89378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":89378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:10:31] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.40","data_length":813,"data_hex":"00000000000003218e0a0000019e85c59110012d4a5940068b97d80012014a2a..."} 
[2026-06-02 06:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":813,"packet_hex":"00000000000003218e0a0000019e85c59110012d4a5940068b97d80012014a2a..."} 
[2026-06-02 06:10:31] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":813,"buffer_hex":"00000000000003218e0a0000019e85c59110012d4a5940068b97d80012014a2a..."} 
[2026-06-02 06:10:31] local.INFO: Packet analysis {"connection_id":89378,"data_field_length":801,"total_packet_length":813,"buffer_length":813,"packet_hex_start":"00000000000003218e0a0000019e85c5"} 
[2026-06-02 06:10:31] local.INFO: Extracted packet for processing {"connection_id":89378,"packet_length":813,"remaining_buffer_length":0,"packet_hex_start":"00000000000003218e0a0000019e85c5"} 
[2026-06-02 06:10:31] local.INFO: GPS Element Parsed {"raw_longitude":759847232,"raw_latitude":109811672,"longitude_deg":75.9847232,"latitude_deg":10.9811672,"altitude":18,"angle":330,"satellites":42,"speed":84,"hex_longitude":"2d4a5940","hex_latitude":"068b97d8","is_valid_coordinates":true} 
[2026-06-02 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":813,"current_offset":40} 
[2026-06-02 06:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772357888001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304900866509373440,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5364068659284451328,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780360778000,"timestamp_ms":1780360778000,"timestamp_seconds":1780360778,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c59110"} 
[2026-06-02 06:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:10: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-06-02 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":813,"current_offset":136} 
[2026-06-02 06:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":813,"available_bytes":677,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":813,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772357888001,"66":27745,"90":206,"86":48896,"24":84,"16":304900866509373440,"45":5364068659284451328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45]} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772357888001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304900866509373440,"km_value":304900866509373.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5364068659284451328,"description":"Unknown IO ID 45"} 
[2026-06-02 06:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772357888001,"power":27745,"unknown_90":206,"unknown_86":48896,"ignition":84,"odometer":null,"unknown_45":5364068659284451328}} 
[2026-06-02 06:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":89378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:10:31] local.INFO: GPS data processed {"connection_id":89378,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:10:31] local.INFO: Acknowledgment sent {"connection_id":89378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:10:31] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.40","data_length":810,"data_hex":"000000000000031e8e0a0000019e85c5a498012d4a4500068bbb300011014929..."} 
[2026-06-02 06:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":810,"packet_hex":"000000000000031e8e0a0000019e85c5a498012d4a4500068bbb300011014929..."} 
[2026-06-02 06:10:31] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":810,"buffer_hex":"000000000000031e8e0a0000019e85c5a498012d4a4500068bbb300011014929..."} 
[2026-06-02 06:10:31] local.INFO: Packet analysis {"connection_id":89378,"data_field_length":798,"total_packet_length":810,"buffer_length":810,"packet_hex_start":"000000000000031e8e0a0000019e85c5"} 
[2026-06-02 06:10:31] local.INFO: Extracted packet for processing {"connection_id":89378,"packet_length":810,"remaining_buffer_length":0,"packet_hex_start":"000000000000031e8e0a0000019e85c5"} 
[2026-06-02 06:10:31] local.INFO: GPS Element Parsed {"raw_longitude":759842048,"raw_latitude":109820720,"longitude_deg":75.9842048,"latitude_deg":10.982072,"altitude":17,"angle":329,"satellites":41,"speed":82,"hex_longitude":"2d4a4500","hex_latitude":"068bbb30","is_valid_coordinates":true} 
[2026-06-02 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":810,"current_offset":40} 
[2026-06-02 06:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772359168001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304901369020547072,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5357383628589881344,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780360783000,"timestamp_ms":1780360783000,"timestamp_seconds":1780360783,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c5a498"} 
[2026-06-02 06:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:10: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-06-02 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":810,"current_offset":136} 
[2026-06-02 06:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":810,"available_bytes":674,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":810,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772359168001,"66":27713,"90":206,"86":48896,"24":82,"16":304901369020547072,"45":5357383628589881344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45]} 
[2026-06-02 06:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772359168001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304901369020547072,"km_value":304901369020547.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5357383628589881344,"description":"Unknown IO ID 45"} 
[2026-06-02 06:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772359168001,"power":27713,"unknown_90":206,"unknown_86":48896,"ignition":82,"odometer":null,"unknown_45":5357383628589881344}} 
[2026-06-02 06:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":89378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:10:31] local.INFO: GPS data processed {"connection_id":89378,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:10:31] local.INFO: Acknowledgment sent {"connection_id":89378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:10:35] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.40","data_length":807,"data_hex":"000000000000031b8e0a0000019e85c5b820012d4a30c0068bdd600010014928..."} 
[2026-06-02 06:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":807,"packet_hex":"000000000000031b8e0a0000019e85c5b820012d4a30c0068bdd600010014928..."} 
[2026-06-02 06:10:35] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":807,"buffer_hex":"000000000000031b8e0a0000019e85c5b820012d4a30c0068bdd600010014928..."} 
[2026-06-02 06:10:35] local.INFO: Packet analysis {"connection_id":89378,"data_field_length":795,"total_packet_length":807,"buffer_length":807,"packet_hex_start":"000000000000031b8e0a0000019e85c5"} 
[2026-06-02 06:10:35] local.INFO: Extracted packet for processing {"connection_id":89378,"packet_length":807,"remaining_buffer_length":0,"packet_hex_start":"000000000000031b8e0a0000019e85c5"} 
[2026-06-02 06:10:35] local.INFO: GPS Element Parsed {"raw_longitude":759836864,"raw_latitude":109829472,"longitude_deg":75.9836864,"latitude_deg":10.9829472,"altitude":16,"angle":329,"satellites":40,"speed":79,"hex_longitude":"2d4a30c0","hex_latitude":"068bdd60","is_valid_coordinates":true} 
[2026-06-02 06:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":807,"current_offset":40} 
[2026-06-02 06:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772360448001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304901862941786112,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5351683760313806848,"note":"Value kept but may cause issues"} 
[2026-06-02 06:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780360788000,"timestamp_ms":1780360788000,"timestamp_seconds":1780360788,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c5b820"} 
[2026-06-02 06:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":807,"current_offset":136} 
[2026-06-02 06:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":807,"available_bytes":671,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":807,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772360448001,"66":27626,"90":206,"86":48896,"24":79,"16":304901862941786112,"45":5351683760313806848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45]} 
[2026-06-02 06:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772360448001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:10:35] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 06:10:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304901862941786112,"km_value":304901862941786.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5351683760313806848,"description":"Unknown IO ID 45"} 
[2026-06-02 06:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772360448001,"power":27626,"unknown_90":206,"unknown_86":48896,"ignition":79,"odometer":null,"unknown_45":5351683760313806848}} 
[2026-06-02 06:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":89378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:10:35] local.INFO: GPS data processed {"connection_id":89378,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:10:35] local.INFO: Acknowledgment sent {"connection_id":89378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:11:06] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.40","data_length":804,"data_hex":"00000000000003188e0a0000019e85c5cba8012d4a1ac0068bfd90000f013f28..."} 
[2026-06-02 06:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":804,"packet_hex":"00000000000003188e0a0000019e85c5cba8012d4a1ac0068bfd90000f013f28..."} 
[2026-06-02 06:11:06] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":804,"buffer_hex":"00000000000003188e0a0000019e85c5cba8012d4a1ac0068bfd90000f013f28..."} 
[2026-06-02 06:11:06] local.INFO: Packet analysis {"connection_id":89378,"data_field_length":792,"total_packet_length":804,"buffer_length":804,"packet_hex_start":"00000000000003188e0a0000019e85c5"} 
[2026-06-02 06:11:06] local.INFO: Extracted packet for processing {"connection_id":89378,"packet_length":804,"remaining_buffer_length":0,"packet_hex_start":"00000000000003188e0a0000019e85c5"} 
[2026-06-02 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":759831232,"raw_latitude":109837712,"longitude_deg":75.9831232,"latitude_deg":10.9837712,"altitude":15,"angle":319,"satellites":40,"speed":78,"hex_longitude":"2d4a1ac0","hex_latitude":"068bfd90","is_valid_coordinates":true} 
[2026-06-02 06:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":804,"current_offset":40} 
[2026-06-02 06:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772361728001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304902343978123264,"note":"Value kept but may cause issues"} 
[2026-06-02 06:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5345983892037656576,"note":"Value kept but may cause issues"} 
[2026-06-02 06:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780360793000,"timestamp_ms":1780360793000,"timestamp_seconds":1780360793,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c5cba8"} 
[2026-06-02 06:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":804,"current_offset":136} 
[2026-06-02 06:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":804,"available_bytes":668,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":804,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772361728001,"66":27767,"90":206,"86":48896,"24":78,"16":304902343978123264,"45":5345983892037656576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45]} 
[2026-06-02 06:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772361728001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:11:06] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 06:11:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304902343978123264,"km_value":304902343978123.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5345983892037656576,"description":"Unknown IO ID 45"} 
[2026-06-02 06:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772361728001,"power":27767,"unknown_90":206,"unknown_86":48896,"ignition":78,"odometer":null,"unknown_45":5345983892037656576}} 
[2026-06-02 06:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":89378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:11:06] local.INFO: GPS data processed {"connection_id":89378,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:11:06] local.INFO: Acknowledgment sent {"connection_id":89378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:11:25] local.INFO: TCP Data received {"connection_id":89124,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:25] local.INFO: Processing buffer {"connection_id":89124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:25] local.INFO: IMEI packet received {"connection_id":89124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":89124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:11:27] local.INFO: TCP Data received {"connection_id":89124,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:27] local.INFO: Processing buffer {"connection_id":89124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:27] local.INFO: IMEI packet received {"connection_id":89124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":89124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:11:29] local.INFO: TCP Data received {"connection_id":89124,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:29] local.INFO: Processing buffer {"connection_id":89124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:11:29] local.INFO: IMEI packet received {"connection_id":89124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:11:30] local.INFO: TCP Data received {"connection_id":89124,"ip":"42.106.6.40","data_length":804,"data_hex":"00000000000003188e0a0000019e85c5df30012d49ff00068c17f0000e01332a..."} 
[2026-06-02 06:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89124,"packet_length":804,"packet_hex":"00000000000003188e0a0000019e85c5df30012d49ff00068c17f0000e01332a..."} 
[2026-06-02 06:11:30] local.INFO: Processing buffer {"connection_id":89124,"buffer_length":804,"buffer_hex":"00000000000003188e0a0000019e85c5df30012d49ff00068c17f0000e01332a..."} 
[2026-06-02 06:11:30] local.INFO: Packet analysis {"connection_id":89124,"data_field_length":792,"total_packet_length":804,"buffer_length":804,"packet_hex_start":"00000000000003188e0a0000019e85c5"} 
[2026-06-02 06:11:30] local.INFO: Extracted packet for processing {"connection_id":89124,"packet_length":804,"remaining_buffer_length":0,"packet_hex_start":"00000000000003188e0a0000019e85c5"} 
[2026-06-02 06:11:30] local.INFO: GPS Element Parsed {"raw_longitude":759824128,"raw_latitude":109844464,"longitude_deg":75.9824128,"latitude_deg":10.9844464,"altitude":14,"angle":307,"satellites":42,"speed":76,"hex_longitude":"2d49ff00","hex_latitude":"068c17f0","is_valid_coordinates":true} 
[2026-06-02 06:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":804,"current_offset":40} 
[2026-06-02 06:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772363008001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304902812129558528,"note":"Value kept but may cause issues"} 
[2026-06-02 06:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5339791442552131584,"note":"Value kept but may cause issues"} 
[2026-06-02 06:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780360798000,"timestamp_ms":1780360798000,"timestamp_seconds":1780360798,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c5df30"} 
[2026-06-02 06:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:11: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-06-02 06:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":804,"current_offset":136} 
[2026-06-02 06:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":804,"available_bytes":668,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":804,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:11:30] 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-06-02 06:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772363008001,"66":27713,"90":206,"86":48896,"24":76,"16":304902812129558528,"45":5339791442552131584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,86,24,16,45]} 
[2026-06-02 06:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772363008001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:11:30] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 06:11:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304902812129558528,"km_value":304902812129558.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5339791442552131584,"description":"Unknown IO ID 45"} 
[2026-06-02 06:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772363008001,"power":27713,"unknown_90":206,"unknown_86":48896,"ignition":76,"odometer":null,"unknown_45":5339791442552131584}} 
[2026-06-02 06:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":89124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:11:30] local.INFO: GPS data processed {"connection_id":89124,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:11:30] local.INFO: Acknowledgment sent {"connection_id":89124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:12:01] local.INFO: TCP Data received {"connection_id":89124,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c6f0a0012d48f480068d3580001001532d..."} 
[2026-06-02 06:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c6f0a0012d48f480068d3580001001532d..."} 
[2026-06-02 06:12:01] local.INFO: Processing buffer {"connection_id":89124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c6f0a0012d48f480068d3580001001532d..."} 
[2026-06-02 06:12:01] local.INFO: Packet analysis {"connection_id":89124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c6"} 
[2026-06-02 06:12:01] local.INFO: Extracted packet for processing {"connection_id":89124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c6"} 
[2026-06-02 06:12:01] local.INFO: GPS Element Parsed {"raw_longitude":759755904,"raw_latitude":109917568,"longitude_deg":75.9755904,"latitude_deg":10.9917568,"altitude":16,"angle":339,"satellites":45,"speed":59,"hex_longitude":"2d48f480","hex_latitude":"068d3580","is_valid_coordinates":true} 
[2026-06-02 06:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772380672001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304907884485935104,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5260626605370574848,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780360868000,"timestamp_ms":1780360868000,"timestamp_seconds":1780360868,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c6f0a0"} 
[2026-06-02 06:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:12: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-06-02 06:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 06:12:01] 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-06-02 06:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:12:01] 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-06-02 06:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772380672001,"66":27767,"61":206,"86":48896,"24":59,"16":304907884485935104,"45":5260626605370574848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-06-02 06:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772380672001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:12:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 06:12:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304907884485935104,"km_value":304907884485935.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5260626605370574848,"description":"Unknown IO ID 45"} 
[2026-06-02 06:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772380672001,"power":27767,"unknown_61":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5260626605370574848}} 
[2026-06-02 06:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":89124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:12:01] local.INFO: GPS data processed {"connection_id":89124,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:12:01] local.INFO: Acknowledgment sent {"connection_id":89124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:12:25] local.INFO: TCP Data received {"connection_id":89380,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:25] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:25] local.INFO: IMEI packet received {"connection_id":89380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:12:25] local.INFO: TCP Data received {"connection_id":89380,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:25] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:25] local.INFO: IMEI packet received {"connection_id":89380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:12:31] local.INFO: TCP Data received {"connection_id":89380,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:31] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:12:31] local.INFO: IMEI packet received {"connection_id":89380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":89380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:12:32] local.INFO: TCP Data received {"connection_id":89380,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c70bf8012d48e5c0068d5a280015014e2d..."} 
[2026-06-02 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c70bf8012d48e5c0068d5a280015014e2d..."} 
[2026-06-02 06:12:32] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c70bf8012d48e5c0068d5a280015014e2d..."} 
[2026-06-02 06:12:32] local.INFO: Packet analysis {"connection_id":89380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:12:32] local.INFO: Extracted packet for processing {"connection_id":89380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:12:32] local.INFO: GPS Element Parsed {"raw_longitude":759752128,"raw_latitude":109926952,"longitude_deg":75.9752128,"latitude_deg":10.9926952,"altitude":21,"angle":334,"satellites":45,"speed":55,"hex_longitude":"2d48e5c0","hex_latitude":"068d5a28","is_valid_coordinates":true} 
[2026-06-02 06:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772382208001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304908374112206848,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5256967430675464192,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780360875000,"timestamp_ms":1780360875000,"timestamp_seconds":1780360875,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c70bf8"} 
[2026-06-02 06:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:12: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-06-02 06:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:12:32] 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-06-02 06:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772382208001,"66":27767,"61":206,"86":48896,"24":55,"16":304908374112206848,"45":5256967430675464192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-06-02 06:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772382208001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:12:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 06:12:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304908374112206848,"km_value":304908374112206.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5256967430675464192,"description":"Unknown IO ID 45"} 
[2026-06-02 06:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772382208001,"power":27767,"unknown_61":206,"unknown_86":48896,"ignition":55,"odometer":null,"unknown_45":5256967430675464192}} 
[2026-06-02 06:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":89380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:12:32] local.INFO: GPS data processed {"connection_id":89380,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:12:32] local.INFO: Acknowledgment sent {"connection_id":89380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:12:35] local.INFO: TCP Data received {"connection_id":89380,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c72750012d48d4c0068d7a70001901492b..."} 
[2026-06-02 06:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c72750012d48d4c0068d7a70001901492b..."} 
[2026-06-02 06:12:35] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c72750012d48d4c0068d7a70001901492b..."} 
[2026-06-02 06:12:35] local.INFO: Packet analysis {"connection_id":89380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:12:35] local.INFO: Extracted packet for processing {"connection_id":89380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:12:35] local.INFO: GPS Element Parsed {"raw_longitude":759747776,"raw_latitude":109935216,"longitude_deg":75.9747776,"latitude_deg":10.9935216,"altitude":25,"angle":329,"satellites":43,"speed":51,"hex_longitude":"2d48d4c0","hex_latitude":"068d7a70","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772384000001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304908829378740224,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5252815674771384320,"note":"Value kept but may cause issues"} 
[2026-06-02 06:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780360882000,"timestamp_ms":1780360882000,"timestamp_seconds":1780360882,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c72750"} 
[2026-06-02 06:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772384000001,"66":27789,"61":206,"86":48896,"24":51,"16":304908829378740224,"45":5252815674771384320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-06-02 06:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772384000001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:12:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 06:12:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304908829378740224,"km_value":304908829378740.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5252815674771384320,"description":"Unknown IO ID 45"} 
[2026-06-02 06:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772384000001,"power":27789,"unknown_61":206,"unknown_86":48896,"ignition":51,"odometer":null,"unknown_45":5252815674771384320}} 
[2026-06-02 06:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":89380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:12:35] local.INFO: GPS data processed {"connection_id":89380,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:12:35] local.INFO: Acknowledgment sent {"connection_id":89380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:13:06] local.INFO: TCP Data received {"connection_id":89380,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c74690012d48be80068d9a08001e01402b..."} 
[2026-06-02 06:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c74690012d48be80068d9a08001e01402b..."} 
[2026-06-02 06:13:06] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c74690012d48be80068d9a08001e01402b..."} 
[2026-06-02 06:13:06] local.INFO: Packet analysis {"connection_id":89380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:13:06] local.INFO: Extracted packet for processing {"connection_id":89380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:13:06] local.INFO: GPS Element Parsed {"raw_longitude":759742080,"raw_latitude":109943304,"longitude_deg":75.974208,"latitude_deg":10.9943304,"altitude":30,"angle":320,"satellites":43,"speed":46,"hex_longitude":"2d48be80","hex_latitude":"068d9a08","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772385792001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304909306120110080,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5248030600169418752,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780360890000,"timestamp_ms":1780360890000,"timestamp_seconds":1780360890,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c74690"} 
[2026-06-02 06:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 06:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772385792001,"66":27832,"61":206,"86":48896,"24":46,"16":304909306120110080,"45":5248030600169418752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-06-02 06:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772385792001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:13:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 06:13:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304909306120110080,"km_value":304909306120110.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5248030600169418752,"description":"Unknown IO ID 45"} 
[2026-06-02 06:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772385792001,"power":27832,"unknown_61":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5248030600169418752}} 
[2026-06-02 06:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":89380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:13:06] local.INFO: GPS data processed {"connection_id":89380,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:13:06] local.INFO: Acknowledgment sent {"connection_id":89380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:13:29] local.INFO: TCP Data received {"connection_id":89531,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:29] local.INFO: Processing buffer {"connection_id":89531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:29] local.INFO: IMEI packet received {"connection_id":89531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":89531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:13:30] local.INFO: TCP Data received {"connection_id":89531,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:30] local.INFO: Processing buffer {"connection_id":89531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:30] local.INFO: IMEI packet received {"connection_id":89531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":89531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:13:34] local.INFO: TCP Data received {"connection_id":89531,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:34] local.INFO: Processing buffer {"connection_id":89531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:13:34] local.INFO: IMEI packet received {"connection_id":89531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":89531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:13:35] local.INFO: TCP Data received {"connection_id":89531,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c765d0012d48a5c0068db300002201362b..."} 
[2026-06-02 06:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c765d0012d48a5c0068db300002201362b..."} 
[2026-06-02 06:13:35] local.INFO: Processing buffer {"connection_id":89531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c765d0012d48a5c0068db300002201362b..."} 
[2026-06-02 06:13:35] local.INFO: Packet analysis {"connection_id":89531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:13:35] local.INFO: Extracted packet for processing {"connection_id":89531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:13:35] local.INFO: GPS Element Parsed {"raw_longitude":759735744,"raw_latitude":109949696,"longitude_deg":75.9735744,"latitude_deg":10.9949696,"altitude":34,"angle":310,"satellites":43,"speed":43,"hex_longitude":"2d48a5c0","hex_latitude":"068db300","is_valid_coordinates":true} 
[2026-06-02 06:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772387840001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304909739911806976,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5241767781939677184,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780360898000,"timestamp_ms":1780360898000,"timestamp_seconds":1780360898,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c765d0"} 
[2026-06-02 06:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 06:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772387840001,"66":27767,"61":206,"86":48896,"24":43,"16":304909739911806976,"45":5241767781939677184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-06-02 06:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772387840001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:13:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 06:13:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304909739911806976,"km_value":304909739911807.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5241767781939677184,"description":"Unknown IO ID 45"} 
[2026-06-02 06:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772387840001,"power":27767,"unknown_61":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5241767781939677184}} 
[2026-06-02 06:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":89531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:13:35] local.INFO: GPS data processed {"connection_id":89531,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:13:35] local.INFO: Acknowledgment sent {"connection_id":89531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:13:40] local.INFO: TCP Data received {"connection_id":89531,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c788f8012d4888c0068dc9a8002501312d..."} 
[2026-06-02 06:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c788f8012d4888c0068dc9a8002501312d..."} 
[2026-06-02 06:13:40] local.INFO: Processing buffer {"connection_id":89531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c788f8012d4888c0068dc9a8002501312d..."} 
[2026-06-02 06:13:40] local.INFO: Packet analysis {"connection_id":89531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:13:40] local.INFO: Extracted packet for processing {"connection_id":89531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c7"} 
[2026-06-02 06:13:40] local.INFO: GPS Element Parsed {"raw_longitude":759728320,"raw_latitude":109955496,"longitude_deg":75.972832,"latitude_deg":10.9955496,"altitude":37,"angle":305,"satellites":45,"speed":39,"hex_longitude":"2d4888c0","hex_latitude":"068dc9a8","is_valid_coordinates":true} 
[2026-06-02 06:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772389888001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304910186588405760,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5234801276267724800,"note":"Value kept but may cause issues"} 
[2026-06-02 06:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780360907000,"timestamp_ms":1780360907000,"timestamp_seconds":1780360907,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c788f8"} 
[2026-06-02 06:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772389888001,"66":27691,"61":206,"86":48896,"24":39,"16":304910186588405760,"45":5234801276267724800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-06-02 06:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772389888001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:13:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 06:13:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304910186588405760,"km_value":304910186588405.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5234801276267724800,"description":"Unknown IO ID 45"} 
[2026-06-02 06:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772389888001,"power":27691,"unknown_61":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5234801276267724800}} 
[2026-06-02 06:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":89531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:13:40] local.INFO: GPS data processed {"connection_id":89531,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:13:40] local.INFO: Acknowledgment sent {"connection_id":89531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:14:37] local.INFO: TCP Data received {"connection_id":90592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:14:37] local.INFO: Processing buffer {"connection_id":90592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:14:37] local.INFO: IMEI packet received {"connection_id":90592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":90592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:14:39] local.INFO: TCP Data received {"connection_id":90592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:14:39] local.INFO: Processing buffer {"connection_id":90592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:14:39] local.INFO: IMEI packet received {"connection_id":90592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":90592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:14:39] local.INFO: TCP Data received {"connection_id":90592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c92708012d472880068dcd380052010928..."} 
[2026-06-02 06:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c92708012d472880068dcd380052010928..."} 
[2026-06-02 06:14:39] local.INFO: Processing buffer {"connection_id":90592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c92708012d472880068dcd380052010928..."} 
[2026-06-02 06:14:39] local.INFO: Packet analysis {"connection_id":90592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:14:39] local.INFO: Extracted packet for processing {"connection_id":90592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":759638144,"raw_latitude":109956408,"longitude_deg":75.9638144,"latitude_deg":10.9956408,"altitude":82,"angle":265,"satellites":40,"speed":35,"hex_longitude":"2d472880","hex_latitude":"068dcd38","is_valid_coordinates":true} 
[2026-06-02 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772419328001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304914674829230080,"note":"Value kept but may cause issues"} 
[2026-06-02 06:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5127488941398505472,"note":"Value kept but may cause issues"} 
[2026-06-02 06:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780361013000,"timestamp_ms":1780361013000,"timestamp_seconds":1780361013,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c92708"} 
[2026-06-02 06:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:14: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-06-02 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:14:39] 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-06-02 06:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772419328001,"66":27767,"73":206,"86":48896,"24":35,"16":304914674829230080,"45":5127488941398505472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-06-02 06:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772419328001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304914674829230080,"km_value":304914674829230.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5127488941398505472,"description":"Unknown IO ID 45"} 
[2026-06-02 06:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772419328001,"power":27767,"unknown_73":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5127488941398505472}} 
[2026-06-02 06:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":90592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:14:40] local.INFO: GPS data processed {"connection_id":90592,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:14:40] local.INFO: Acknowledgment sent {"connection_id":90592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:14:40] local.INFO: TCP Data received {"connection_id":90592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c94e18012d470500068dcf080055011526..."} 
[2026-06-02 06:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c94e18012d470500068dcf080055011526..."} 
[2026-06-02 06:14:40] local.INFO: Processing buffer {"connection_id":90592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c94e18012d470500068dcf080055011526..."} 
[2026-06-02 06:14:40] local.INFO: Packet analysis {"connection_id":90592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:14:40] local.INFO: Extracted packet for processing {"connection_id":90592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:14:40] local.INFO: GPS Element Parsed {"raw_longitude":759629056,"raw_latitude":109956872,"longitude_deg":75.9629056,"latitude_deg":10.9956872,"altitude":85,"angle":277,"satellites":38,"speed":35,"hex_longitude":"2d470500","hex_latitude":"068dcf08","is_valid_coordinates":true} 
[2026-06-02 06:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772419328001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304915108620926976,"note":"Value kept but may cause issues"} 
[2026-06-02 06:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5127488941398505472,"note":"Value kept but may cause issues"} 
[2026-06-02 06:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780361023000,"timestamp_ms":1780361023000,"timestamp_seconds":1780361023,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c94e18"} 
[2026-06-02 06:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772419328001,"66":27865,"71":206,"86":48896,"24":35,"16":304915108620926976,"45":5127488941398505472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,86,24,16,45]} 
[2026-06-02 06:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772419328001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304915108620926976,"km_value":304915108620927.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5127488941398505472,"description":"Unknown IO ID 45"} 
[2026-06-02 06:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772419328001,"power":27865,"unknown_71":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5127488941398505472}} 
[2026-06-02 06:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":90592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:14:40] local.INFO: GPS data processed {"connection_id":90592,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:14:40] local.INFO: Acknowledgment sent {"connection_id":90592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:15:24] local.INFO: TCP Data received {"connection_id":89381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:15:24] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:15:24] local.INFO: IMEI packet received {"connection_id":89381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":89381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:15:25] local.INFO: TCP Data received {"connection_id":89126,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:25] local.INFO: Processing buffer {"connection_id":89126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:25] local.INFO: IMEI packet received {"connection_id":89126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":89126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:15:26] local.INFO: TCP Data received {"connection_id":89126,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:26] local.INFO: Processing buffer {"connection_id":89126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:26] local.INFO: IMEI packet received {"connection_id":89126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":89126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:15:30] local.INFO: TCP Data received {"connection_id":89126,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:30] local.INFO: Processing buffer {"connection_id":89126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:15:30] local.INFO: IMEI packet received {"connection_id":89126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":89126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:15:30] local.INFO: TCP Data received {"connection_id":89126,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c94e18012d470500068dcf080055011526..."} 
[2026-06-02 06:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c94e18012d470500068dcf080055011526..."} 
[2026-06-02 06:15:30] local.INFO: Processing buffer {"connection_id":89126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c94e18012d470500068dcf080055011526..."} 
[2026-06-02 06:15:30] local.INFO: Packet analysis {"connection_id":89126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:15:30] local.INFO: Extracted packet for processing {"connection_id":89126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:15:30] local.INFO: GPS Element Parsed {"raw_longitude":759629056,"raw_latitude":109956872,"longitude_deg":75.9629056,"latitude_deg":10.9956872,"altitude":85,"angle":277,"satellites":38,"speed":35,"hex_longitude":"2d470500","hex_latitude":"068dcf08","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772421888001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304915108620926976,"note":"Value kept but may cause issues"} 
[2026-06-02 06:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5117496579725395968,"note":"Value kept but may cause issues"} 
[2026-06-02 06:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780361023000,"timestamp_ms":1780361023000,"timestamp_seconds":1780361023,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c94e18"} 
[2026-06-02 06:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:15: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-06-02 06: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-06-02 06: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-06-02 06: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-06-02 06:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:15:30] 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-06-02 06:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772421888001,"66":27865,"71":206,"86":48896,"24":35,"16":304915108620926976,"45":5117496579725395968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,86,24,16,45]} 
[2026-06-02 06:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772421888001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:15:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 06:15:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304915108620926976,"km_value":304915108620927.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5117496579725395968,"description":"Unknown IO ID 45"} 
[2026-06-02 06:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772421888001,"power":27865,"unknown_71":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5117496579725395968}} 
[2026-06-02 06:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":89126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:15:30] local.INFO: GPS data processed {"connection_id":89126,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:15:30] local.INFO: Acknowledgment sent {"connection_id":89126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:15:33] local.INFO: TCP Data received {"connection_id":89126,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85c97528012d46e1c0068dd6580059011a28..."} 
[2026-06-02 06:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85c97528012d46e1c0068dd6580059011a28..."} 
[2026-06-02 06:15:33] local.INFO: Processing buffer {"connection_id":89126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85c97528012d46e1c0068dd6580059011a28..."} 
[2026-06-02 06:15:33] local.INFO: Packet analysis {"connection_id":89126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:15:33] local.INFO: Extracted packet for processing {"connection_id":89126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85c9"} 
[2026-06-02 06:15:33] local.INFO: GPS Element Parsed {"raw_longitude":759620032,"raw_latitude":109958744,"longitude_deg":75.9620032,"latitude_deg":10.9958744,"altitude":89,"angle":282,"satellites":40,"speed":37,"hex_longitude":"2d46e1c0","hex_latitude":"068dd658","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772421888001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304915546707591168,"note":"Value kept but may cause issues"} 
[2026-06-02 06:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5117496579725395968,"note":"Value kept but may cause issues"} 
[2026-06-02 06:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780361033000,"timestamp_ms":1780361033000,"timestamp_seconds":1780361033,"priority":1,"record_length":96,"hex_timestamp":"0000019e85c97528"} 
[2026-06-02 06:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:15: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-06-02 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:15:33] 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-06-02 06:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772421888001,"66":27821,"71":206,"86":48896,"24":37,"16":304915546707591168,"45":5117496579725395968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,86,24,16,45]} 
[2026-06-02 06:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772421888001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:15:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 06:15:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304915546707591168,"km_value":304915546707591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5117496579725395968,"description":"Unknown IO ID 45"} 
[2026-06-02 06:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772421888001,"power":27821,"unknown_71":206,"unknown_86":48896,"ignition":37,"odometer":null,"unknown_45":5117496579725395968}} 
[2026-06-02 06:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":89126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:15:33] local.INFO: GPS data processed {"connection_id":89126,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:15:33] local.INFO: Acknowledgment sent {"connection_id":89126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:15:59] local.INFO: TCP Data received {"connection_id":90593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:15:59] local.INFO: Processing buffer {"connection_id":90593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:15:59] local.INFO: IMEI packet received {"connection_id":90593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":90593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:16:06] local.INFO: TCP Data received {"connection_id":89126,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85caa5d8012d462700068f2d78004501582a..."} 
[2026-06-02 06:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85caa5d8012d462700068f2d78004501582a..."} 
[2026-06-02 06:16:06] local.INFO: Processing buffer {"connection_id":89126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85caa5d8012d462700068f2d78004501582a..."} 
[2026-06-02 06:16:06] local.INFO: Packet analysis {"connection_id":89126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ca"} 
[2026-06-02 06:16:06] local.INFO: Extracted packet for processing {"connection_id":89126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ca"} 
[2026-06-02 06:16:06] local.INFO: GPS Element Parsed {"raw_longitude":759572224,"raw_latitude":110046584,"longitude_deg":75.9572224,"latitude_deg":11.0046584,"altitude":69,"angle":344,"satellites":42,"speed":66,"hex_longitude":"2d462700","hex_latitude":"068f2d78","is_valid_coordinates":true} 
[2026-06-02 06:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772442880001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304920885351940096,"note":"Value kept but may cause issues"} 
[2026-06-02 06:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5058105359659827200,"note":"Value kept but may cause issues"} 
[2026-06-02 06:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780361111000,"timestamp_ms":1780361111000,"timestamp_seconds":1780361111,"priority":1,"record_length":96,"hex_timestamp":"0000019e85caa5d8"} 
[2026-06-02 06:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:16: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-06-02 06:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772442880001,"66":27767,"47":206,"86":48896,"24":66,"16":304920885351940096,"45":5058105359659827200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-06-02 06:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772442880001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:16:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 06:16:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304920885351940096,"km_value":304920885351940.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5058105359659827200,"description":"Unknown IO ID 45"} 
[2026-06-02 06:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772442880001,"power":27767,"unknown_47":206,"unknown_86":48896,"ignition":66,"odometer":null,"unknown_45":5058105359659827200}} 
[2026-06-02 06:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":89126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:16:07] local.INFO: GPS data processed {"connection_id":89126,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:16:07] local.INFO: Acknowledgment sent {"connection_id":89126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:16:24] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:16:24] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:16:24] local.INFO: IMEI packet received {"connection_id":89532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":89532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:16:28] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:16:28] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:16:28] local.INFO: IMEI packet received {"connection_id":89532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":89532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:16:30] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85cabd48012d461cc0068f5180004601582a..."} 
[2026-06-02 06:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85cabd48012d461cc0068f5180004601582a..."} 
[2026-06-02 06:16:30] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85cabd48012d461cc0068f5180004601582a..."} 
[2026-06-02 06:16:30] local.INFO: Packet analysis {"connection_id":89532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ca"} 
[2026-06-02 06:16:30] local.INFO: Extracted packet for processing {"connection_id":89532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ca"} 
[2026-06-02 06:16:30] local.INFO: GPS Element Parsed {"raw_longitude":759569600,"raw_latitude":110055808,"longitude_deg":75.95696,"latitude_deg":11.0055808,"altitude":70,"angle":344,"satellites":42,"speed":60,"hex_longitude":"2d461cc0","hex_latitude":"068f5180","is_valid_coordinates":true} 
[2026-06-02 06:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772444416001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304921349208408064,"note":"Value kept but may cause issues"} 
[2026-06-02 06:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5055009134918596608,"note":"Value kept but may cause issues"} 
[2026-06-02 06:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780361117000,"timestamp_ms":1780361117000,"timestamp_seconds":1780361117,"priority":1,"record_length":96,"hex_timestamp":"0000019e85cabd48"} 
[2026-06-02 06:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:16: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-06-02 06:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:16:30] 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-06-02 06:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772444416001,"66":27865,"47":206,"86":48896,"24":60,"16":304921349208408064,"45":5055009134918596608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-06-02 06:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772444416001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:16:30] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 06:16:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304921349208408064,"km_value":304921349208408.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5055009134918596608,"description":"Unknown IO ID 45"} 
[2026-06-02 06:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772444416001,"power":27865,"unknown_47":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5055009134918596608}} 
[2026-06-02 06:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":89532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:16:30] local.INFO: GPS data processed {"connection_id":89532,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:16:30] local.INFO: Acknowledgment sent {"connection_id":89532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:17:03] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85cad8a0012d4611c0068f77e8004601582b..."} 
[2026-06-02 06:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85cad8a0012d4611c0068f77e8004601582b..."} 
[2026-06-02 06:17:03] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85cad8a0012d4611c0068f77e8004601582b..."} 
[2026-06-02 06:17:03] local.INFO: Packet analysis {"connection_id":89532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ca"} 
[2026-06-02 06:17:03] local.INFO: Extracted packet for processing {"connection_id":89532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ca"} 
[2026-06-02 06:17:03] local.INFO: GPS Element Parsed {"raw_longitude":759566784,"raw_latitude":110065640,"longitude_deg":75.9566784,"latitude_deg":11.006564,"altitude":70,"angle":344,"satellites":43,"speed":55,"hex_longitude":"2d4611c0","hex_latitude":"068f77e8","is_valid_coordinates":true} 
[2026-06-02 06:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772445952001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304921843129647104,"note":"Value kept but may cause issues"} 
[2026-06-02 06:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5052124016409673728,"note":"Value kept but may cause issues"} 
[2026-06-02 06:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780361124000,"timestamp_ms":1780361124000,"timestamp_seconds":1780361124,"priority":1,"record_length":96,"hex_timestamp":"0000019e85cad8a0"} 
[2026-06-02 06:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:17: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-06-02 06:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:17: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-06-02 06:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:17:03] 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-06-02 06:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772445952001,"66":27767,"47":206,"86":48896,"24":55,"16":304921843129647104,"45":5052124016409673728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-06-02 06:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772445952001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:17:03] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 06:17:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-06-02 06:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304921843129647104,"km_value":304921843129647.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5052124016409673728,"description":"Unknown IO ID 45"} 
[2026-06-02 06:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772445952001,"power":27767,"unknown_47":206,"unknown_86":48896,"ignition":55,"odometer":null,"unknown_45":5052124016409673728}} 
[2026-06-02 06:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":89532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:17:03] local.INFO: GPS data processed {"connection_id":89532,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:17:03] local.INFO: Acknowledgment sent {"connection_id":89532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:18:03] local.INFO: TCP Data received {"connection_id":89534,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:18:03] local.INFO: Processing buffer {"connection_id":89534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:18:03] local.INFO: IMEI packet received {"connection_id":89534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":89534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:18:12] local.INFO: TCP Data received {"connection_id":89534,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89534,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:18:12] local.INFO: Processing buffer {"connection_id":89534,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:18:12] local.INFO: IMEI packet received {"connection_id":89534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":89534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:18:29] local.INFO: TCP Data received {"connection_id":89127,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:18:29] local.INFO: Processing buffer {"connection_id":89127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:18:29] local.INFO: IMEI packet received {"connection_id":89127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:21:19] local.INFO: TCP Data received {"connection_id":90596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:21:19] local.INFO: Processing buffer {"connection_id":90596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:21:19] local.INFO: IMEI packet received {"connection_id":90596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":90596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:21:59] local.INFO: TCP Data received {"connection_id":89383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:21:59] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:21:59] local.INFO: IMEI packet received {"connection_id":89383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":89383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:23:32] local.INFO: TCP Data received {"connection_id":90598,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:23:32] local.INFO: Processing buffer {"connection_id":90598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:23:32] local.INFO: IMEI packet received {"connection_id":90598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":90598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:23:33] local.INFO: TCP Data received {"connection_id":90598,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d16080012d42d34006973ee80022016329..."} 
[2026-06-02 06:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d16080012d42d34006973ee80022016329..."} 
[2026-06-02 06:23:33] local.INFO: Processing buffer {"connection_id":90598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d16080012d42d34006973ee80022016329..."} 
[2026-06-02 06:23:33] local.INFO: Packet analysis {"connection_id":90598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:23:33] local.INFO: Extracted packet for processing {"connection_id":90598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:23:33] local.INFO: GPS Element Parsed {"raw_longitude":759354176,"raw_latitude":110575336,"longitude_deg":75.9354176,"latitude_deg":11.0575336,"altitude":34,"angle":355,"satellites":41,"speed":35,"hex_longitude":"2d42d340","hex_latitude":"06973ee8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772554496001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304950825568960512,"note":"Value kept but may cause issues"} 
[2026-06-02 06:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816036879824160768,"note":"Value kept but may cause issues"} 
[2026-06-02 06:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780361552000,"timestamp_ms":1780361552000,"timestamp_seconds":1780361552,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d16080"} 
[2026-06-02 06:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:23: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-06-02 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:23:33] 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-06-02 06:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772554496001,"66":27767,"28":206,"81":47616,"24":35,"16":304950825568960512,"45":4816036879824160768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-06-02 06:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772554496001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:23:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 06:23:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304950825568960512,"km_value":304950825568960.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816036879824160768,"description":"Unknown IO ID 45"} 
[2026-06-02 06:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772554496001,"power":27767,"unknown_28":206,"unknown_81":47616,"ignition":35,"odometer":null,"unknown_45":4816036879824160768}} 
[2026-06-02 06:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":90598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:23:33] local.INFO: GPS data processed {"connection_id":90598,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:23:33] local.INFO: Acknowledgment sent {"connection_id":90598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:24:05] local.INFO: TCP Data received {"connection_id":90598,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d18b78012d42d140069762200026016428..."} 
[2026-06-02 06:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d18b78012d42d140069762200026016428..."} 
[2026-06-02 06:24:05] local.INFO: Processing buffer {"connection_id":90598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d18b78012d42d140069762200026016428..."} 
[2026-06-02 06:24:05] local.INFO: Packet analysis {"connection_id":90598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:05] local.INFO: Extracted packet for processing {"connection_id":90598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:05] local.INFO: GPS Element Parsed {"raw_longitude":759353664,"raw_latitude":110584352,"longitude_deg":75.9353664,"latitude_deg":11.0584352,"altitude":38,"angle":356,"satellites":40,"speed":31,"hex_longitude":"2d42d140","hex_latitude":"06976220","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772557312001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304951263655624704,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4815262823640655872,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780361563000,"timestamp_ms":1780361563000,"timestamp_seconds":1780361563,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d18b78"} 
[2026-06-02 06:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:24: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-06-02 06:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772557312001,"66":27832,"29":206,"81":47616,"24":31,"16":304951263655624704,"45":4815262823640655872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-06-02 06:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772557312001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:24:05] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 06:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304951263655624704,"km_value":304951263655624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4815262823640655872,"description":"Unknown IO ID 45"} 
[2026-06-02 06:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772557312001,"power":27832,"unknown_29":206,"unknown_81":47616,"ignition":31,"odometer":null,"unknown_45":4815262823640655872}} 
[2026-06-02 06:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":90598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:24:05] local.INFO: GPS data processed {"connection_id":90598,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:24:05] local.INFO: Acknowledgment sent {"connection_id":90598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:24:30] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:30] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:30] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:24:30] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:30] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:30] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:24:35] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:35] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:24:35] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:24:36] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d1b670012d42cf0006978660002a01622b..."} 
[2026-06-02 06:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d1b670012d42cf0006978660002a01622b..."} 
[2026-06-02 06:24:36] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d1b670012d42cf0006978660002a01622b..."} 
[2026-06-02 06:24:36] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:36] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:36] local.INFO: GPS Element Parsed {"raw_longitude":759353088,"raw_latitude":110593632,"longitude_deg":75.9353088,"latitude_deg":11.0593632,"altitude":42,"angle":354,"satellites":43,"speed":34,"hex_longitude":"2d42cf00","hex_latitude":"06978660","is_valid_coordinates":true} 
[2026-06-02 06:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772560128001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304951714627190784,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814699873689542656,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780361574000,"timestamp_ms":1780361574000,"timestamp_seconds":1780361574,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d1b670"} 
[2026-06-02 06:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 06:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772560128001,"66":27919,"29":206,"81":47616,"24":34,"16":304951714627190784,"45":4814699873689542656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772560128001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304951714627190784,"km_value":304951714627190.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814699873689542656,"description":"Unknown IO ID 45"} 
[2026-06-02 06:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772560128001,"power":27919,"unknown_29":206,"unknown_81":47616,"ignition":34,"odometer":null,"unknown_45":4814699873689542656}} 
[2026-06-02 06:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:24:36] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:24:36] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:24:36] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d1e168012d42c8400697aac0002e01541f..."} 
[2026-06-02 06:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d1e168012d42c8400697aac0002e01541f..."} 
[2026-06-02 06:24:36] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d1e168012d42c8400697aac0002e01541f..."} 
[2026-06-02 06:24:36] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:36] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:36] local.INFO: GPS Element Parsed {"raw_longitude":759351360,"raw_latitude":110602944,"longitude_deg":75.935136,"latitude_deg":11.0602944,"altitude":46,"angle":340,"satellites":31,"speed":34,"hex_longitude":"2d42c840","hex_latitude":"0697aac0","is_valid_coordinates":true} 
[2026-06-02 06:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772562944001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304952174188691456,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814066554994319360,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780361585000,"timestamp_ms":1780361585000,"timestamp_seconds":1780361585,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d1e168"} 
[2026-06-02 06:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 06:24: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-06-02 06:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772562944001,"66":26908,"29":206,"81":47616,"24":34,"16":304952174188691456,"45":4814066554994319360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-06-02 06:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772562944001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304952174188691456,"km_value":304952174188691.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814066554994319360,"description":"Unknown IO ID 45"} 
[2026-06-02 06:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772562944001,"power":26908,"unknown_29":206,"unknown_81":47616,"ignition":34,"odometer":null,"unknown_45":4814066554994319360}} 
[2026-06-02 06:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:24:36] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:24:36] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:24:40] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d1e168012d42c8400697aac0002e01541f..."} 
[2026-06-02 06:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d1e168012d42c8400697aac0002e01541f..."} 
[2026-06-02 06:24:40] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d1e168012d42c8400697aac0002e01541f..."} 
[2026-06-02 06:24:40] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:40] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d1"} 
[2026-06-02 06:24:40] local.INFO: GPS Element Parsed {"raw_longitude":759351360,"raw_latitude":110602944,"longitude_deg":75.935136,"latitude_deg":11.0602944,"altitude":46,"angle":340,"satellites":31,"speed":34,"hex_longitude":"2d42c840","hex_latitude":"0697aac0","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772565760001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304952174188691456,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4812166598903906304,"note":"Value kept but may cause issues"} 
[2026-06-02 06:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780361585000,"timestamp_ms":1780361585000,"timestamp_seconds":1780361585,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d1e168"} 
[2026-06-02 06:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:24: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-06-02 06: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 06:24:40] 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-06-02 06: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-06-02 06:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772565760001,"66":26908,"29":206,"81":47616,"24":34,"16":304952174188691456,"45":4812166598903906304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-06-02 06:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772565760001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:24:40] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 06:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304952174188691456,"km_value":304952174188691.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4812166598903906304,"description":"Unknown IO ID 45"} 
[2026-06-02 06:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772565760001,"power":26908,"unknown_29":206,"unknown_81":47616,"ignition":34,"odometer":null,"unknown_45":4812166598903906304}} 
[2026-06-02 06:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:24:40] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:24:40] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:25:24] local.INFO: TCP Data received {"connection_id":89132,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:24] local.INFO: Processing buffer {"connection_id":89132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:24] local.INFO: IMEI packet received {"connection_id":89132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":89132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:25:24] local.INFO: TCP Data received {"connection_id":89132,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:24] local.INFO: Processing buffer {"connection_id":89132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:24] local.INFO: IMEI packet received {"connection_id":89132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":89132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:25:30] local.INFO: TCP Data received {"connection_id":89132,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:30] local.INFO: Processing buffer {"connection_id":89132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:25:30] local.INFO: IMEI packet received {"connection_id":89132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":89132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:25:31] local.INFO: TCP Data received {"connection_id":89132,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d2f6c0012d418f8006985360001c01302c..."} 
[2026-06-02 06:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d2f6c0012d418f8006985360001c01302c..."} 
[2026-06-02 06:25:31] local.INFO: Processing buffer {"connection_id":89132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d2f6c0012d418f8006985360001c01302c..."} 
[2026-06-02 06:25:31] local.INFO: Packet analysis {"connection_id":89132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d2"} 
[2026-06-02 06:25:31] local.INFO: Extracted packet for processing {"connection_id":89132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d2"} 
[2026-06-02 06:25:31] local.INFO: GPS Element Parsed {"raw_longitude":759271296,"raw_latitude":110646112,"longitude_deg":75.9271296,"latitude_deg":11.0646112,"altitude":28,"angle":304,"satellites":44,"speed":68,"hex_longitude":"2d418f80","hex_latitude":"06985360","is_valid_coordinates":true} 
[2026-06-02 06:25: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-06-02 06:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772582400001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304956610889908224,"note":"Value kept but may cause issues"} 
[2026-06-02 06:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4733775817899565056,"note":"Value kept but may cause issues"} 
[2026-06-02 06:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780361656000,"timestamp_ms":1780361656000,"timestamp_seconds":1780361656,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d2f6c0"} 
[2026-06-02 06:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:25: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-06-02 06:25: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:25:31] 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-06-02 06:25: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-06-02 06:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772582400001,"66":27887,"71":206,"81":47616,"24":68,"16":304956610889908224,"45":4733775817899565056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-06-02 06:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772582400001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:25:31] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 06:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304956610889908224,"km_value":304956610889908.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4733775817899565056,"description":"Unknown IO ID 45"} 
[2026-06-02 06:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772582400001,"power":27887,"unknown_71":206,"unknown_81":47616,"ignition":68,"odometer":null,"unknown_45":4733775817899565056}} 
[2026-06-02 06:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":89132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:25:31] local.INFO: GPS data processed {"connection_id":89132,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:25:31] local.INFO: Acknowledgment sent {"connection_id":89132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:26:07] local.INFO: TCP Data received {"connection_id":89132,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d30e30012d416f8006986910001e01302d..."} 
[2026-06-02 06:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d30e30012d416f8006986910001e01302d..."} 
[2026-06-02 06:26:07] local.INFO: Processing buffer {"connection_id":89132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d30e30012d416f8006986910001e01302d..."} 
[2026-06-02 06:26:07] local.INFO: Packet analysis {"connection_id":89132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d3"} 
[2026-06-02 06:26:07] local.INFO: Extracted packet for processing {"connection_id":89132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d3"} 
[2026-06-02 06:26:07] local.INFO: GPS Element Parsed {"raw_longitude":759263104,"raw_latitude":110651664,"longitude_deg":75.9263104,"latitude_deg":11.0651664,"altitude":30,"angle":304,"satellites":45,"speed":61,"hex_longitude":"2d416f80","hex_latitude":"06986910","is_valid_coordinates":true} 
[2026-06-02 06:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772583936001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304957087631278080,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4724135299948699648,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780361662000,"timestamp_ms":1780361662000,"timestamp_seconds":1780361662,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d30e30"} 
[2026-06-02 06:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 06:26:07] 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-06-02 06:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:07] 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-06-02 06:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772583936001,"66":27800,"71":206,"81":47616,"24":61,"16":304957087631278080,"45":4724135299948699648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-06-02 06:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772583936001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:26:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 06:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304957087631278080,"km_value":304957087631278.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4724135299948699648,"description":"Unknown IO ID 45"} 
[2026-06-02 06:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772583936001,"power":27800,"unknown_71":206,"unknown_81":47616,"ignition":61,"odometer":null,"unknown_45":4724135299948699648}} 
[2026-06-02 06:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":89132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:26:07] local.INFO: GPS data processed {"connection_id":89132,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:26:07] local.INFO: Acknowledgment sent {"connection_id":89132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:26:34] local.INFO: TCP Data received {"connection_id":89134,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:26:34] local.INFO: Processing buffer {"connection_id":89134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:26:34] local.INFO: IMEI packet received {"connection_id":89134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":89134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:26:42] local.INFO: TCP Data received {"connection_id":89134,"ip":"42.106.6.40","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89134,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:26:42] local.INFO: Processing buffer {"connection_id":89134,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:26:42] local.INFO: IMEI packet received {"connection_id":89134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":89134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:26:44] local.INFO: TCP Data received {"connection_id":89134,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d44e80012d4015c0069950c8001501202c..."} 
[2026-06-02 06:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d44e80012d4015c0069950c8001501202c..."} 
[2026-06-02 06:26:44] local.INFO: Processing buffer {"connection_id":89134,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:26:44] local.INFO: IMEI packet received {"connection_id":89134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":89134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:26:45] local.INFO: TCP Data received {"connection_id":89134,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d465f0012d3ff280069957c8001501132b..."} 
[2026-06-02 06:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d465f0012d3ff280069957c8001501132b..."} 
[2026-06-02 06:26:45] local.INFO: Processing buffer {"connection_id":89134,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e85..."} 
[2026-06-02 06:26:45] local.INFO: IMEI packet received {"connection_id":89134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":89134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:26:45] local.INFO: TCP Data received {"connection_id":89134,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d465f0012d3ff280069957c8001501132b..."} 
[2026-06-02 06:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d465f0012d3ff280069957c8001501132b..."} 
[2026-06-02 06:26:45] local.INFO: Processing buffer {"connection_id":89134,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019e85d44e80012d4015c0069950c8001501202c..."} 
[2026-06-02 06:26:45] local.INFO: Packet analysis {"connection_id":89134,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:45] local.INFO: Extracted packet for processing {"connection_id":89134,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:45] local.INFO: GPS Element Parsed {"raw_longitude":759174592,"raw_latitude":110710984,"longitude_deg":75.9174592,"latitude_deg":11.0710984,"altitude":21,"angle":288,"satellites":44,"speed":60,"hex_longitude":"2d4015c0","hex_latitude":"069950c8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772606464001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304962198642360320,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4617808127512856576,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780361744000,"timestamp_ms":1780361744000,"timestamp_seconds":1780361744,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d44e80"} 
[2026-06-02 06:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 06:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772606464001,"66":27908,"145":206,"81":47616,"24":60,"16":304962198642360320,"45":4617808127512856576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772606464001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304962198642360320,"km_value":304962198642360.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4617808127512856576,"description":"Unknown IO ID 45"} 
[2026-06-02 06:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772606464001,"power":27908,"unknown_145":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4617808127512856576}} 
[2026-06-02 06:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":89134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:26:45] local.INFO: GPS data processed {"connection_id":89134,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:26:45] local.INFO: Acknowledgment sent {"connection_id":89134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:26:45] local.INFO: Packet analysis {"connection_id":89134,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:45] local.INFO: Extracted packet for processing {"connection_id":89134,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:45] local.INFO: GPS Element Parsed {"raw_longitude":759165568,"raw_latitude":110712776,"longitude_deg":75.9165568,"latitude_deg":11.0712776,"altitude":21,"angle":275,"satellites":43,"speed":58,"hex_longitude":"2d3ff280","hex_latitude":"069957c8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772606464001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304962636729024512,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4617808127512856576,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780361750000,"timestamp_ms":1780361750000,"timestamp_seconds":1780361750,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d465f0"} 
[2026-06-02 06:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 06:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772606464001,"66":27865,"145":206,"81":47616,"24":58,"16":304962636729024512,"45":4617808127512856576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772606464001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304962636729024512,"km_value":304962636729024.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4617808127512856576,"description":"Unknown IO ID 45"} 
[2026-06-02 06:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772606464001,"power":27865,"unknown_145":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4617808127512856576}} 
[2026-06-02 06:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":89134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:26:45] local.INFO: GPS data processed {"connection_id":89134,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:26:45] local.INFO: Acknowledgment sent {"connection_id":89134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:26:45] local.INFO: Packet analysis {"connection_id":89134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:45] local.INFO: Extracted packet for processing {"connection_id":89134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:45] local.INFO: GPS Element Parsed {"raw_longitude":759165568,"raw_latitude":110712776,"longitude_deg":75.9165568,"latitude_deg":11.0712776,"altitude":21,"angle":275,"satellites":43,"speed":58,"hex_longitude":"2d3ff280","hex_latitude":"069957c8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772608000001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304962636729024512,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4607886134584264704,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780361750000,"timestamp_ms":1780361750000,"timestamp_seconds":1780361750,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d465f0"} 
[2026-06-02 06:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772608000001,"66":27865,"145":206,"81":47616,"24":58,"16":304962636729024512,"45":4607886134584264704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-06-02 06:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772608000001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304962636729024512,"km_value":304962636729024.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4607886134584264704,"description":"Unknown IO ID 45"} 
[2026-06-02 06:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772608000001,"power":27865,"unknown_145":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4607886134584264704}} 
[2026-06-02 06:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":89134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:26:45] local.INFO: GPS data processed {"connection_id":89134,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:26:45] local.INFO: Acknowledgment sent {"connection_id":89134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:26:46] local.INFO: TCP Data received {"connection_id":89134,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d48148012d3fcbc0069957c0001601072b..."} 
[2026-06-02 06:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d48148012d3fcbc0069957c0001601072b..."} 
[2026-06-02 06:26:46] local.INFO: Processing buffer {"connection_id":89134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d48148012d3fcbc0069957c0001601072b..."} 
[2026-06-02 06:26:46] local.INFO: Packet analysis {"connection_id":89134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:46] local.INFO: Extracted packet for processing {"connection_id":89134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:26:46] local.INFO: GPS Element Parsed {"raw_longitude":759155648,"raw_latitude":110712768,"longitude_deg":75.9155648,"latitude_deg":11.0712768,"altitude":22,"angle":263,"satellites":43,"speed":53,"hex_longitude":"2d3fcbc0","hex_latitude":"069957c0","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772608000001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304963109175427072,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4607886134584264704,"note":"Value kept but may cause issues"} 
[2026-06-02 06:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780361757000,"timestamp_ms":1780361757000,"timestamp_seconds":1780361757,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d48148"} 
[2026-06-02 06:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:26: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-06-02 06:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772608000001,"66":27821,"145":206,"81":47616,"24":53,"16":304963109175427072,"45":4607886134584264704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-06-02 06:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772608000001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:26:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-02 06:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304963109175427072,"km_value":304963109175427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4607886134584264704,"description":"Unknown IO ID 45"} 
[2026-06-02 06:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772608000001,"power":27821,"unknown_145":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4607886134584264704}} 
[2026-06-02 06:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":89134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:26:46] local.INFO: GPS data processed {"connection_id":89134,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:26:46] local.INFO: Acknowledgment sent {"connection_id":89134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:27:17] local.INFO: TCP Data received {"connection_id":89135,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:27:17] local.INFO: Processing buffer {"connection_id":89135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:27:17] local.INFO: IMEI packet received {"connection_id":89135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":89135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:27:22] local.INFO: TCP Data received {"connection_id":89135,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:27:22] local.INFO: Processing buffer {"connection_id":89135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:27:22] local.INFO: IMEI packet received {"connection_id":89135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 06:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":89135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:27:25] local.INFO: TCP Data received {"connection_id":89136,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:27:25] local.INFO: Processing buffer {"connection_id":89136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:27:25] local.INFO: IMEI packet received {"connection_id":89136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":89136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:27:28] local.INFO: TCP Data received {"connection_id":89136,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:27:28] local.INFO: Processing buffer {"connection_id":89136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:27:28] local.INFO: IMEI packet received {"connection_id":89136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":89136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:27:29] local.INFO: TCP Data received {"connection_id":89136,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d48148012d3fcbc0069957c0001601072b..."} 
[2026-06-02 06:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d48148012d3fcbc0069957c0001601072b..."} 
[2026-06-02 06:27:29] local.INFO: Processing buffer {"connection_id":89136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d48148012d3fcbc0069957c0001601072b..."} 
[2026-06-02 06:27:29] local.INFO: Packet analysis {"connection_id":89136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:27:29] local.INFO: Extracted packet for processing {"connection_id":89136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:27:29] local.INFO: GPS Element Parsed {"raw_longitude":759155648,"raw_latitude":110712768,"longitude_deg":75.9155648,"latitude_deg":11.0712768,"altitude":22,"angle":263,"satellites":43,"speed":53,"hex_longitude":"2d3fcbc0","hex_latitude":"069957c0","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772609792001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304963109175427072,"note":"Value kept but may cause issues"} 
[2026-06-02 06:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4596978979236724736,"note":"Value kept but may cause issues"} 
[2026-06-02 06:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780361757000,"timestamp_ms":1780361757000,"timestamp_seconds":1780361757,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d48148"} 
[2026-06-02 06:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 06:27:29] 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-06-02 06: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-06-02 06:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:27:29] 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-06-02 06:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772609792001,"66":27821,"145":206,"81":47616,"24":53,"16":304963109175427072,"45":4596978979236724736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-06-02 06:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772609792001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:27:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-02 06:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304963109175427072,"km_value":304963109175427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4596978979236724736,"description":"Unknown IO ID 45"} 
[2026-06-02 06:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772609792001,"power":27821,"unknown_145":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4596978979236724736}} 
[2026-06-02 06:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":89136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:27:29] local.INFO: GPS data processed {"connection_id":89136,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:27:29] local.INFO: Acknowledgment sent {"connection_id":89136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:28:00] local.INFO: TCP Data received {"connection_id":89136,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d4a088012d3fa54006994ee8001700fb2b..."} 
[2026-06-02 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d4a088012d3fa54006994ee8001700fb2b..."} 
[2026-06-02 06:28:00] local.INFO: Processing buffer {"connection_id":89136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d4a088012d3fa54006994ee8001700fb2b..."} 
[2026-06-02 06:28:00] local.INFO: Packet analysis {"connection_id":89136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:28:00] local.INFO: Extracted packet for processing {"connection_id":89136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d4"} 
[2026-06-02 06:28:00] local.INFO: GPS Element Parsed {"raw_longitude":759145792,"raw_latitude":110710504,"longitude_deg":75.9145792,"latitude_deg":11.0710504,"altitude":23,"angle":251,"satellites":43,"speed":46,"hex_longitude":"2d3fa540","hex_latitude":"06994ee8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772609792001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304963590211764224,"note":"Value kept but may cause issues"} 
[2026-06-02 06:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4596978979236724736,"note":"Value kept but may cause issues"} 
[2026-06-02 06:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780361765000,"timestamp_ms":1780361765000,"timestamp_seconds":1780361765,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d4a088"} 
[2026-06-02 06:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:28: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-06-02 06: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 06:28: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-06-02 06: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-06-02 06:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:28:00] 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-06-02 06:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772609792001,"66":27865,"145":206,"81":47616,"24":46,"16":304963590211764224,"45":4596978979236724736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-06-02 06:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772609792001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:28:00] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-02 06:28:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304963590211764224,"km_value":304963590211764.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4596978979236724736,"description":"Unknown IO ID 45"} 
[2026-06-02 06:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772609792001,"power":27865,"unknown_145":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4596978979236724736}} 
[2026-06-02 06:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":89136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:28:00] local.INFO: GPS data processed {"connection_id":89136,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:28:00] local.INFO: Acknowledgment sent {"connection_id":89136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:28:24] local.INFO: TCP Data received {"connection_id":89537,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:24] local.INFO: Processing buffer {"connection_id":89537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:24] local.INFO: IMEI packet received {"connection_id":89537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:28:25] local.INFO: TCP Data received {"connection_id":89537,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:25] local.INFO: Processing buffer {"connection_id":89537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:25] local.INFO: IMEI packet received {"connection_id":89537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":89537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:28:29] local.INFO: TCP Data received {"connection_id":89537,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:29] local.INFO: Processing buffer {"connection_id":89537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:28:29] local.INFO: IMEI packet received {"connection_id":89537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:28:30] local.INFO: TCP Data received {"connection_id":89537,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d5d138012d3e3c4006994150000e01182a..."} 
[2026-06-02 06:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d5d138012d3e3c4006994150000e01182a..."} 
[2026-06-02 06:28:30] local.INFO: Processing buffer {"connection_id":89537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d5d138012d3e3c4006994150000e01182a..."} 
[2026-06-02 06:28:30] local.INFO: Packet analysis {"connection_id":89537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d5"} 
[2026-06-02 06:28:30] local.INFO: Extracted packet for processing {"connection_id":89537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d5"} 
[2026-06-02 06:28:30] local.INFO: GPS Element Parsed {"raw_longitude":759053376,"raw_latitude":110707024,"longitude_deg":75.9053376,"latitude_deg":11.0707024,"altitude":14,"angle":280,"satellites":42,"speed":54,"hex_longitude":"2d3e3c40","hex_latitude":"06994150","is_valid_coordinates":true} 
[2026-06-02 06:28: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-06-02 06:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772630016001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304968121402261504,"note":"Value kept but may cause issues"} 
[2026-06-02 06:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4495577618874791936,"note":"Value kept but may cause issues"} 
[2026-06-02 06:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780361843000,"timestamp_ms":1780361843000,"timestamp_seconds":1780361843,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d5d138"} 
[2026-06-02 06:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:28: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-06-02 06:28: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-06-02 06:28: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-06-02 06:28: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-06-02 06:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:28:30] 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-06-02 06:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772630016001,"66":27767,"242":206,"81":47616,"24":54,"16":304968121402261504,"45":4495577618874791936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-06-02 06:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772630016001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:28:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 06:28:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304968121402261504,"km_value":304968121402261.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4495577618874791936,"description":"Unknown IO ID 45"} 
[2026-06-02 06:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772630016001,"power":27767,"unknown_242":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4495577618874791936}} 
[2026-06-02 06:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":89537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:28:30] local.INFO: GPS data processed {"connection_id":89537,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:28:30] local.INFO: Acknowledgment sent {"connection_id":89537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:29:10] local.INFO: TCP Data received {"connection_id":89537,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d5e8a8012d3e1f4006994938001001242c..."} 
[2026-06-02 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d5e8a8012d3e1f4006994938001001242c..."} 
[2026-06-02 06:29:10] local.INFO: Processing buffer {"connection_id":89537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d5e8a8012d3e1f4006994938001001242c..."} 
[2026-06-02 06:29:10] local.INFO: Packet analysis {"connection_id":89537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d5"} 
[2026-06-02 06:29:10] local.INFO: Extracted packet for processing {"connection_id":89537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d5"} 
[2026-06-02 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":759045952,"raw_latitude":110709048,"longitude_deg":75.9045952,"latitude_deg":11.0709048,"altitude":16,"angle":292,"satellites":44,"speed":46,"hex_longitude":"2d3e1f40","hex_latitude":"06994938","is_valid_coordinates":true} 
[2026-06-02 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772631808001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304968490769448960,"note":"Value kept but may cause issues"} 
[2026-06-02 06:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4484529726039347200,"note":"Value kept but may cause issues"} 
[2026-06-02 06:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780361849000,"timestamp_ms":1780361849000,"timestamp_seconds":1780361849,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d5e8a8"} 
[2026-06-02 06:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772631808001,"66":27843,"242":206,"81":47616,"24":46,"16":304968490769448960,"45":4484529726039347200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-06-02 06:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772631808001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:29:10] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 06:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304968490769448960,"km_value":304968490769448.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4484529726039347200,"description":"Unknown IO ID 45"} 
[2026-06-02 06:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772631808001,"power":27843,"unknown_242":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4484529726039347200}} 
[2026-06-02 06:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":89537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:29:10] local.INFO: GPS data processed {"connection_id":89537,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:29:10] local.INFO: Acknowledgment sent {"connection_id":89537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:29:24] local.INFO: TCP Data received {"connection_id":90599,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:29:24] local.INFO: Processing buffer {"connection_id":90599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:29:24] local.INFO: IMEI packet received {"connection_id":90599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":90599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:29:29] local.INFO: TCP Data received {"connection_id":90599,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:29:29] local.INFO: Processing buffer {"connection_id":90599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:29:29] local.INFO: IMEI packet received {"connection_id":90599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":90599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:29:29] local.INFO: TCP Data received {"connection_id":90599,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d5f848012d3e0f4006995228001101322d..."} 
[2026-06-02 06:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d5f848012d3e0f4006995228001101322d..."} 
[2026-06-02 06:29:29] local.INFO: Processing buffer {"connection_id":90599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d5f848012d3e0f4006995228001101322d..."} 
[2026-06-02 06:29:29] local.INFO: Packet analysis {"connection_id":90599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d5"} 
[2026-06-02 06:29:29] local.INFO: Extracted packet for processing {"connection_id":90599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d5"} 
[2026-06-02 06:29:29] local.INFO: GPS Element Parsed {"raw_longitude":759041856,"raw_latitude":110711336,"longitude_deg":75.9041856,"latitude_deg":11.0711336,"altitude":17,"angle":306,"satellites":45,"speed":47,"hex_longitude":"2d3e0f40","hex_latitude":"06995228","is_valid_coordinates":true} 
[2026-06-02 06:29: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-06-02 06:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772633344001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304968714107748352,"note":"Value kept but may cause issues"} 
[2026-06-02 06:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4476366951715256320,"note":"Value kept but may cause issues"} 
[2026-06-02 06:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780361853000,"timestamp_ms":1780361853000,"timestamp_seconds":1780361853,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d5f848"} 
[2026-06-02 06:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:29: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-06-02 06:29: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-06-02 06:29: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-06-02 06:29: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-06-02 06:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:29:29] 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-06-02 06:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772633344001,"66":27843,"242":206,"81":47616,"24":47,"16":304968714107748352,"45":4476366951715256320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-06-02 06:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772633344001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:29:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 06:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304968714107748352,"km_value":304968714107748.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4476366951715256320,"description":"Unknown IO ID 45"} 
[2026-06-02 06:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772633344001,"power":27843,"unknown_242":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4476366951715256320}} 
[2026-06-02 06:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":90599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:29:29] local.INFO: GPS data processed {"connection_id":90599,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:29:29] local.INFO: Acknowledgment sent {"connection_id":90599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:30:03] local.INFO: TCP Data received {"connection_id":90599,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d75008012d3dc0c0069abbf8002401522b..."} 
[2026-06-02 06:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d75008012d3dc0c0069abbf8002401522b..."} 
[2026-06-02 06:30:03] local.INFO: Processing buffer {"connection_id":90599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d75008012d3dc0c0069abbf8002401522b..."} 
[2026-06-02 06:30:03] local.INFO: Packet analysis {"connection_id":90599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:30:03] local.INFO: Extracted packet for processing {"connection_id":90599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:30:03] local.INFO: GPS Element Parsed {"raw_longitude":759021760,"raw_latitude":110803960,"longitude_deg":75.902176,"latitude_deg":11.080396,"altitude":36,"angle":338,"satellites":43,"speed":35,"hex_longitude":"2d3dc0c0","hex_latitude":"069abbf8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772654336001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304973447161708544,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4453567478623805440,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780361941000,"timestamp_ms":1780361941000,"timestamp_seconds":1780361941,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d75008"} 
[2026-06-02 06:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:30: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-06-02 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:30: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-06-02 06: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-06-02 06:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:30:03] 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-06-02 06:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772654336001,"66":27767,"225":206,"81":47616,"24":35,"16":304973447161708544,"45":4453567478623805440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-06-02 06:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772654336001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:30:03] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 06:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304973447161708544,"km_value":304973447161708.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4453567478623805440,"description":"Unknown IO ID 45"} 
[2026-06-02 06:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772654336001,"power":27767,"unknown_225":206,"unknown_81":47616,"ignition":35,"odometer":null,"unknown_45":4453567478623805440}} 
[2026-06-02 06:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":90599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:30:03] local.INFO: GPS data processed {"connection_id":90599,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:30:03] local.INFO: Acknowledgment sent {"connection_id":90599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:30:25] local.INFO: TCP Data received {"connection_id":89385,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:25] local.INFO: Processing buffer {"connection_id":89385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:25] local.INFO: IMEI packet received {"connection_id":89385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":89385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:30:30] local.INFO: TCP Data received {"connection_id":89385,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:30] local.INFO: Processing buffer {"connection_id":89385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:30] local.INFO: IMEI packet received {"connection_id":89385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":89385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:30:32] local.INFO: TCP Data received {"connection_id":89385,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:32] local.INFO: Processing buffer {"connection_id":89385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:30:32] local.INFO: IMEI packet received {"connection_id":89385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":89385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:30:33] local.INFO: TCP Data received {"connection_id":89385,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d77718012d3db300069add40002401522b..."} 
[2026-06-02 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d77718012d3db300069add40002401522b..."} 
[2026-06-02 06:30:33] local.INFO: Processing buffer {"connection_id":89385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d77718012d3db300069add40002401522b..."} 
[2026-06-02 06:30:33] local.INFO: Packet analysis {"connection_id":89385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:30:33] local.INFO: Extracted packet for processing {"connection_id":89385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":759018240,"raw_latitude":110812480,"longitude_deg":75.901824,"latitude_deg":11.081248,"altitude":36,"angle":338,"satellites":43,"speed":38,"hex_longitude":"2d3db300","hex_latitude":"069add40","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772656896001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304973893838307328,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4449767566440396800,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780361951000,"timestamp_ms":1780361951000,"timestamp_seconds":1780361951,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d77718"} 
[2026-06-02 06:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:30: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-06-02 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:30:33] 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-06-02 06:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772656896001,"66":27843,"225":206,"81":47616,"24":38,"16":304973893838307328,"45":4449767566440396800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-06-02 06:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772656896001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:30:33] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 06:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304973893838307328,"km_value":304973893838307.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4449767566440396800,"description":"Unknown IO ID 45"} 
[2026-06-02 06:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772656896001,"power":27843,"unknown_225":206,"unknown_81":47616,"ignition":38,"odometer":null,"unknown_45":4449767566440396800}} 
[2026-06-02 06:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":89385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:30:33] local.INFO: GPS data processed {"connection_id":89385,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:30:33] local.INFO: Acknowledgment sent {"connection_id":89385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:30:35] local.INFO: TCP Data received {"connection_id":89385,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d79e28012d3da480069afff8002501502b..."} 
[2026-06-02 06:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d79e28012d3da480069afff8002501502b..."} 
[2026-06-02 06:30:35] local.INFO: Processing buffer {"connection_id":89385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d79e28012d3da480069afff8002501502b..."} 
[2026-06-02 06:30:35] local.INFO: Packet analysis {"connection_id":89385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:30:35] local.INFO: Extracted packet for processing {"connection_id":89385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:30:35] local.INFO: GPS Element Parsed {"raw_longitude":759014528,"raw_latitude":110821368,"longitude_deg":75.9014528,"latitude_deg":11.0821368,"altitude":37,"angle":336,"satellites":43,"speed":36,"hex_longitude":"2d3da480","hex_latitude":"069afff8","is_valid_coordinates":true} 
[2026-06-02 06:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772659456001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304974357694775296,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4445897285512806400,"note":"Value kept but may cause issues"} 
[2026-06-02 06:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780361961000,"timestamp_ms":1780361961000,"timestamp_seconds":1780361961,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d79e28"} 
[2026-06-02 06:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 06:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772659456001,"66":27767,"225":206,"81":47616,"24":36,"16":304974357694775296,"45":4445897285512806400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-06-02 06:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772659456001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:30:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 06:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304974357694775296,"km_value":304974357694775.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4445897285512806400,"description":"Unknown IO ID 45"} 
[2026-06-02 06:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772659456001,"power":27767,"unknown_225":206,"unknown_81":47616,"ignition":36,"odometer":null,"unknown_45":4445897285512806400}} 
[2026-06-02 06:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":89385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:30:35] local.INFO: GPS data processed {"connection_id":89385,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:30:35] local.INFO: Acknowledgment sent {"connection_id":89385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:31:05] local.INFO: TCP Data received {"connection_id":89385,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d7c538012d3d9780069b23900025015a2b..."} 
[2026-06-02 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d7c538012d3d9780069b23900025015a2b..."} 
[2026-06-02 06:31:05] local.INFO: Processing buffer {"connection_id":89385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d7c538012d3d9780069b23900025015a2b..."} 
[2026-06-02 06:31:05] local.INFO: Packet analysis {"connection_id":89385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:31:05] local.INFO: Extracted packet for processing {"connection_id":89385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:31:05] local.INFO: GPS Element Parsed {"raw_longitude":759011200,"raw_latitude":110830480,"longitude_deg":75.90112,"latitude_deg":11.083048,"altitude":37,"angle":346,"satellites":43,"speed":39,"hex_longitude":"2d3d9780","hex_latitude":"069b2390","is_valid_coordinates":true} 
[2026-06-02 06:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772662016001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304974830141177856,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4441815898352777216,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:05] 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-06-02 06:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780361971000,"timestamp_ms":1780361971000,"timestamp_seconds":1780361971,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d7c538"} 
[2026-06-02 06:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:31: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-06-02 06:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772662016001,"66":28028,"34":206,"81":47616,"24":39,"16":304974830141177856,"45":4441815898352777216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-06-02 06:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772662016001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:31:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 06:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304974830141177856,"km_value":304974830141177.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4441815898352777216,"description":"Unknown IO ID 45"} 
[2026-06-02 06:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772662016001,"power":28028,"unknown_34":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4441815898352777216}} 
[2026-06-02 06:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":89385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:31:05] local.INFO: GPS data processed {"connection_id":89385,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:31:05] local.INFO: Acknowledgment sent {"connection_id":89385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:31:20] local.INFO: TCP Data received {"connection_id":90600,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:20] local.INFO: Processing buffer {"connection_id":90600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:20] local.INFO: IMEI packet received {"connection_id":90600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":90600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:31:24] local.INFO: TCP Data received {"connection_id":90600,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:24] local.INFO: Processing buffer {"connection_id":90600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:24] local.INFO: IMEI packet received {"connection_id":90600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":90600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:31:31] local.INFO: TCP Data received {"connection_id":90600,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:31] local.INFO: Processing buffer {"connection_id":90600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:31:31] local.INFO: IMEI packet received {"connection_id":90600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":90600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:31:32] local.INFO: TCP Data received {"connection_id":90600,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d7e860012d3d91c0069b49000026016329..."} 
[2026-06-02 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d7e860012d3d91c0069b49000026016329..."} 
[2026-06-02 06:31:32] local.INFO: Processing buffer {"connection_id":90600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d7e860012d3d91c0069b49000026016329..."} 
[2026-06-02 06:31:32] local.INFO: Packet analysis {"connection_id":90600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:31:32] local.INFO: Extracted packet for processing {"connection_id":90600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d7"} 
[2026-06-02 06:31:32] local.INFO: GPS Element Parsed {"raw_longitude":759009728,"raw_latitude":110840064,"longitude_deg":75.9009728,"latitude_deg":11.0840064,"altitude":38,"angle":355,"satellites":41,"speed":46,"hex_longitude":"2d3d91c0","hex_latitude":"069b4900","is_valid_coordinates":true} 
[2026-06-02 06:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772664576001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304975298292613120,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4438156723657871360,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:32] 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-06-02 06:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780361980000,"timestamp_ms":1780361980000,"timestamp_seconds":1780361980,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d7e860"} 
[2026-06-02 06:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:31: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-06-02 06:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 06:31:32] 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-06-02 06:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:31:32] 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-06-02 06:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772664576001,"66":27865,"34":206,"81":47616,"24":46,"16":304975298292613120,"45":4438156723657871360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-06-02 06:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772664576001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:31:32] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 06:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304975298292613120,"km_value":304975298292613.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4438156723657871360,"description":"Unknown IO ID 45"} 
[2026-06-02 06:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772664576001,"power":27865,"unknown_34":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4438156723657871360}} 
[2026-06-02 06:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":90600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:31:32] local.INFO: GPS data processed {"connection_id":90600,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:31:32] local.INFO: Acknowledgment sent {"connection_id":90600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:31:34] local.INFO: TCP Data received {"connection_id":90600,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d807a0012d3d9040069b6f700026016427..."} 
[2026-06-02 06:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d807a0012d3d9040069b6f700026016427..."} 
[2026-06-02 06:31:34] local.INFO: Processing buffer {"connection_id":90600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d807a0012d3d9040069b6f700026016427..."} 
[2026-06-02 06:31:34] local.INFO: Packet analysis {"connection_id":90600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d8"} 
[2026-06-02 06:31:34] local.INFO: Extracted packet for processing {"connection_id":90600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d8"} 
[2026-06-02 06:31:34] local.INFO: GPS Element Parsed {"raw_longitude":759009344,"raw_latitude":110849904,"longitude_deg":75.9009344,"latitude_deg":11.0849904,"altitude":38,"angle":356,"satellites":39,"speed":51,"hex_longitude":"2d3d9040","hex_latitude":"069b6f70","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772666880001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304975775033982976,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4436538242544238592,"note":"Value kept but may cause issues"} 
[2026-06-02 06:31:34] 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-06-02 06:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780361988000,"timestamp_ms":1780361988000,"timestamp_seconds":1780361988,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d807a0"} 
[2026-06-02 06:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:31: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-06-02 06: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-06-02 06:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:31:34] 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-06-02 06:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772666880001,"66":27832,"34":206,"81":47616,"24":51,"16":304975775033982976,"45":4436538242544238592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-06-02 06:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772666880001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:31:34] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 06:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304975775033982976,"km_value":304975775033983.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4436538242544238592,"description":"Unknown IO ID 45"} 
[2026-06-02 06:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772666880001,"power":27832,"unknown_34":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4436538242544238592}} 
[2026-06-02 06:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":90600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:31:34] local.INFO: GPS data processed {"connection_id":90600,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:31:34] local.INFO: Acknowledgment sent {"connection_id":90600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:32:05] local.INFO: TCP Data received {"connection_id":90600,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d947f0012d3d0780069d0a300034015c2b..."} 
[2026-06-02 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d947f0012d3d0780069d0a300034015c2b..."} 
[2026-06-02 06:32:05] local.INFO: Processing buffer {"connection_id":90600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d947f0012d3d0780069d0a300034015c2b..."} 
[2026-06-02 06:32:05] local.INFO: Packet analysis {"connection_id":90600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:32:05] local.INFO: Extracted packet for processing {"connection_id":90600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758974336,"raw_latitude":110955056,"longitude_deg":75.8974336,"latitude_deg":11.0955056,"altitude":52,"angle":348,"satellites":43,"speed":52,"hex_longitude":"2d3d0780","hex_latitude":"069d0a30","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772688128001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304981178102841344,"note":"Value kept but may cause issues"} 
[2026-06-02 06:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4399946495599038464,"note":"Value kept but may cause issues"} 
[2026-06-02 06:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780362070000,"timestamp_ms":1780362070000,"timestamp_seconds":1780362070,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d947f0"} 
[2026-06-02 06:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 06:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772688128001,"66":27800,"35":206,"81":47616,"24":52,"16":304981178102841344,"45":4399946495599038464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-06-02 06:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772688128001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:32:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 06:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304981178102841344,"km_value":304981178102841.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4399946495599038464,"description":"Unknown IO ID 45"} 
[2026-06-02 06:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772688128001,"power":27800,"unknown_35":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4399946495599038464}} 
[2026-06-02 06:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":90600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:32:05] local.INFO: GPS data processed {"connection_id":90600,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:32:05] local.INFO: Acknowledgment sent {"connection_id":90600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:32:24] local.INFO: TCP Data received {"connection_id":89139,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:24] local.INFO: Processing buffer {"connection_id":89139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:24] local.INFO: IMEI packet received {"connection_id":89139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":89139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:32:25] local.INFO: TCP Data received {"connection_id":89139,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:25] local.INFO: Processing buffer {"connection_id":89139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:25] local.INFO: IMEI packet received {"connection_id":89139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":89139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:32:27] local.INFO: TCP Data received {"connection_id":90601,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:32:27] local.INFO: Processing buffer {"connection_id":90601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:32:27] local.INFO: IMEI packet received {"connection_id":90601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":90601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:32:30] local.INFO: TCP Data received {"connection_id":89139,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:30] local.INFO: Processing buffer {"connection_id":89139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:32:30] local.INFO: IMEI packet received {"connection_id":89139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":89139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:32:31] local.INFO: TCP Data received {"connection_id":89139,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d96348012d3d0040069d2ca00033015c2b..."} 
[2026-06-02 06:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d96348012d3d0040069d2ca00033015c2b..."} 
[2026-06-02 06:32:31] local.INFO: Processing buffer {"connection_id":89139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d96348012d3d0040069d2ca00033015c2b..."} 
[2026-06-02 06:32:31] local.INFO: Packet analysis {"connection_id":89139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:32:31] local.INFO: Extracted packet for processing {"connection_id":89139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758972480,"raw_latitude":110963872,"longitude_deg":75.897248,"latitude_deg":11.0963872,"altitude":51,"angle":348,"satellites":43,"speed":51,"hex_longitude":"2d3d0040","hex_latitude":"069d2ca0","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772689920001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304981616189505536,"note":"Value kept but may cause issues"} 
[2026-06-02 06:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4397624327043428352,"note":"Value kept but may cause issues"} 
[2026-06-02 06:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780362077000,"timestamp_ms":1780362077000,"timestamp_seconds":1780362077,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d96348"} 
[2026-06-02 06:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:32: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-06-02 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:32:31] 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-06-02 06: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-06-02 06:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772689920001,"66":27800,"35":206,"81":47616,"24":51,"16":304981616189505536,"45":4397624327043428352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-06-02 06:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772689920001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:32:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 06:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304981616189505536,"km_value":304981616189505.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4397624327043428352,"description":"Unknown IO ID 45"} 
[2026-06-02 06:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772689920001,"power":27800,"unknown_35":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4397624327043428352}} 
[2026-06-02 06:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":89139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:32:31] local.INFO: GPS data processed {"connection_id":89139,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:32:31] local.INFO: Acknowledgment sent {"connection_id":89139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:33:02] local.INFO: TCP Data received {"connection_id":89139,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d97ea0012d3cf8c0069d50e80032015b2c..."} 
[2026-06-02 06:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d97ea0012d3cf8c0069d50e80032015b2c..."} 
[2026-06-02 06:33:02] local.INFO: Processing buffer {"connection_id":89139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d97ea0012d3cf8c0069d50e80032015b2c..."} 
[2026-06-02 06:33:02] local.INFO: Packet analysis {"connection_id":89139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:33:02] local.INFO: Extracted packet for processing {"connection_id":89139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:33:02] local.INFO: GPS Element Parsed {"raw_longitude":758970560,"raw_latitude":110973160,"longitude_deg":75.897056,"latitude_deg":11.097316,"altitude":50,"angle":347,"satellites":44,"speed":56,"hex_longitude":"2d3cf8c0","hex_latitude":"069d50e8","is_valid_coordinates":true} 
[2026-06-02 06:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772691712001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304982075751006208,"note":"Value kept but may cause issues"} 
[2026-06-02 06:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4395583633464532992,"note":"Value kept but may cause issues"} 
[2026-06-02 06:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780362084000,"timestamp_ms":1780362084000,"timestamp_seconds":1780362084,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d97ea0"} 
[2026-06-02 06:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:33:02] 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-06-02 06:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772691712001,"66":27843,"35":206,"81":47616,"24":56,"16":304982075751006208,"45":4395583633464532992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-06-02 06:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772691712001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:33:02] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 06:33:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304982075751006208,"km_value":304982075751006.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4395583633464532992,"description":"Unknown IO ID 45"} 
[2026-06-02 06:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772691712001,"power":27843,"unknown_35":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4395583633464532992}} 
[2026-06-02 06:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":89139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:33:02] local.INFO: GPS data processed {"connection_id":89139,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:33:02] local.INFO: Acknowledgment sent {"connection_id":89139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:33:14] local.INFO: TCP Data received {"connection_id":89140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:33:14] local.INFO: Processing buffer {"connection_id":89140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:33:14] local.INFO: IMEI packet received {"connection_id":89140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":89140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:33:23] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:23] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:23] local.INFO: IMEI packet received {"connection_id":89386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":89386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:33:24] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:24] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:24] local.INFO: IMEI packet received {"connection_id":89386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":89386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:33:30] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:30] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:33:30] local.INFO: IMEI packet received {"connection_id":89386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":89386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:33:31] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85d99610012d3cef80069d7070003101502b..."} 
[2026-06-02 06:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85d99610012d3cef80069d7070003101502b..."} 
[2026-06-02 06:33:31] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85d99610012d3cef80069d7070003101502b..."} 
[2026-06-02 06:33:31] local.INFO: Packet analysis {"connection_id":89386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:33:31] local.INFO: Extracted packet for processing {"connection_id":89386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85d9"} 
[2026-06-02 06:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758968192,"raw_latitude":110981232,"longitude_deg":75.8968192,"latitude_deg":11.0981232,"altitude":49,"angle":336,"satellites":43,"speed":56,"hex_longitude":"2d3cef80","hex_latitude":"069d7070","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772693504001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304982483772899328,"note":"Value kept but may cause issues"} 
[2026-06-02 06:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4393472571141580800,"note":"Value kept but may cause issues"} 
[2026-06-02 06:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780362090000,"timestamp_ms":1780362090000,"timestamp_seconds":1780362090,"priority":1,"record_length":96,"hex_timestamp":"0000019e85d99610"} 
[2026-06-02 06:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:33: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-06-02 06: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":195,"data_length":795,"current_offset":136} 
[2026-06-02 06:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772693504001,"66":27767,"35":206,"81":47616,"24":56,"16":304982483772899328,"45":4393472571141580800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-06-02 06:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772693504001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:33:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 06:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304982483772899328,"km_value":304982483772899.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4393472571141580800,"description":"Unknown IO ID 45"} 
[2026-06-02 06:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772693504001,"power":27767,"unknown_35":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4393472571141580800}} 
[2026-06-02 06:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":89386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:33:31] local.INFO: GPS data processed {"connection_id":89386,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:33:31] local.INFO: Acknowledgment sent {"connection_id":89386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:34:04] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85daf988012d3c0200069ebec00041014e2d..."} 
[2026-06-02 06:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85daf988012d3c0200069ebec00041014e2d..."} 
[2026-06-02 06:34:04] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85daf988012d3c0200069ebec00041014e2d..."} 
[2026-06-02 06:34:04] local.INFO: Packet analysis {"connection_id":89386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85da"} 
[2026-06-02 06:34:04] local.INFO: Extracted packet for processing {"connection_id":89386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85da"} 
[2026-06-02 06:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758907392,"raw_latitude":111066816,"longitude_deg":75.8907392,"latitude_deg":11.1066816,"altitude":65,"angle":334,"satellites":45,"speed":48,"hex_longitude":"2d3c0200","hex_latitude":"069ebec0","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772716288001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304987624848752640,"note":"Value kept but may cause issues"} 
[2026-06-02 06:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4329155538984904704,"note":"Value kept but may cause issues"} 
[2026-06-02 06:34:04] 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-06-02 06:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780362181000,"timestamp_ms":1780362181000,"timestamp_seconds":1780362181,"priority":1,"record_length":96,"hex_timestamp":"0000019e85daf988"} 
[2026-06-02 06:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 06:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772716288001,"66":27843,"108":206,"81":47616,"24":48,"16":304987624848752640,"45":4329155538984904704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-06-02 06:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772716288001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:34:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 06:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304987624848752640,"km_value":304987624848752.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4329155538984904704,"description":"Unknown IO ID 45"} 
[2026-06-02 06:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772716288001,"power":27843,"unknown_108":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4329155538984904704}} 
[2026-06-02 06:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":89386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:34:04] local.INFO: GPS data processed {"connection_id":89386,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:34:04] local.INFO: Acknowledgment sent {"connection_id":89386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:34:24] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:24] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:24] local.INFO: IMEI packet received {"connection_id":89388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":89388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:34:25] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:25] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:25] local.INFO: IMEI packet received {"connection_id":89388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":89388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:34:30] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:30] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:34:30] local.INFO: IMEI packet received {"connection_id":89388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":89388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:34:30] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85db18c8012d3bf3c0069ee128004301542d..."} 
[2026-06-02 06:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85db18c8012d3bf3c0069ee128004301542d..."} 
[2026-06-02 06:34:30] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85db18c8012d3bf3c0069ee128004301542d..."} 
[2026-06-02 06:34:30] local.INFO: Packet analysis {"connection_id":89388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85db"} 
[2026-06-02 06:34:30] local.INFO: Extracted packet for processing {"connection_id":89388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85db"} 
[2026-06-02 06:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758903744,"raw_latitude":111075624,"longitude_deg":75.8903744,"latitude_deg":11.1075624,"altitude":67,"angle":340,"satellites":45,"speed":47,"hex_longitude":"2d3bf3c0","hex_latitude":"069ee128","is_valid_coordinates":true} 
[2026-06-02 06:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772718336001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304988084410253312,"note":"Value kept but may cause issues"} 
[2026-06-02 06:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4324018620662202368,"note":"Value kept but may cause issues"} 
[2026-06-02 06:34:30] 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-06-02 06:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780362189000,"timestamp_ms":1780362189000,"timestamp_seconds":1780362189,"priority":1,"record_length":96,"hex_timestamp":"0000019e85db18c8"} 
[2026-06-02 06:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:34: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-06-02 06:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 06:34: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-06-02 06:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:34:30] 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-06-02 06:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772718336001,"66":27832,"108":206,"81":47616,"24":47,"16":304988084410253312,"45":4324018620662202368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-06-02 06:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772718336001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:34:30] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 06:34:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304988084410253312,"km_value":304988084410253.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4324018620662202368,"description":"Unknown IO ID 45"} 
[2026-06-02 06:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772718336001,"power":27832,"unknown_108":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4324018620662202368}} 
[2026-06-02 06:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":89388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:34:30] local.INFO: GPS data processed {"connection_id":89388,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:34:30] local.INFO: Acknowledgment sent {"connection_id":89388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:35:02] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85db3808012d3be980069f04780043015c2c..."} 
[2026-06-02 06:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85db3808012d3be980069f04780043015c2c..."} 
[2026-06-02 06:35:02] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85db3808012d3be980069f04780043015c2c..."} 
[2026-06-02 06:35:02] local.INFO: Packet analysis {"connection_id":89388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85db"} 
[2026-06-02 06:35:02] local.INFO: Extracted packet for processing {"connection_id":89388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85db"} 
[2026-06-02 06:35:02] local.INFO: GPS Element Parsed {"raw_longitude":758901120,"raw_latitude":111084664,"longitude_deg":75.890112,"latitude_deg":11.1084664,"altitude":67,"angle":348,"satellites":44,"speed":46,"hex_longitude":"2d3be980","hex_latitude":"069f0478","is_valid_coordinates":true} 
[2026-06-02 06:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772720384001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304988539676786688,"note":"Value kept but may cause issues"} 
[2026-06-02 06:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320007602246330368,"note":"Value kept but may cause issues"} 
[2026-06-02 06:35:02] 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-06-02 06:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780362197000,"timestamp_ms":1780362197000,"timestamp_seconds":1780362197,"priority":1,"record_length":96,"hex_timestamp":"0000019e85db3808"} 
[2026-06-02 06:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:35: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-06-02 06:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 06:35: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-06-02 06:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:35:02] 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-06-02 06:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772720384001,"66":27865,"108":206,"81":47616,"24":46,"16":304988539676786688,"45":4320007602246330368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-06-02 06:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772720384001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:35:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 06:35:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304988539676786688,"km_value":304988539676786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320007602246330368,"description":"Unknown IO ID 45"} 
[2026-06-02 06:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772720384001,"power":27865,"unknown_108":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4320007602246330368}} 
[2026-06-02 06:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":89388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:35:02] local.INFO: GPS data processed {"connection_id":89388,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:35:02] local.INFO: Acknowledgment sent {"connection_id":89388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:35:24] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:35:24] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:35:24] local.INFO: IMEI packet received {"connection_id":89541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":89541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:35:30] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:35:30] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:35:30] local.INFO: IMEI packet received {"connection_id":89541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":89541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:35:30] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85dc3dc0012d3c590006a07550002f00152c..."} 
[2026-06-02 06:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85dc3dc0012d3c590006a07550002f00152c..."} 
[2026-06-02 06:35:30] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85dc3dc0012d3c590006a07550002f00152c..."} 
[2026-06-02 06:35:30] local.INFO: Packet analysis {"connection_id":89541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:35:30] local.INFO: Extracted packet for processing {"connection_id":89541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758929664,"raw_latitude":111179088,"longitude_deg":75.8929664,"latitude_deg":11.1179088,"altitude":47,"angle":21,"satellites":44,"speed":75,"hex_longitude":"2d3c5900","hex_latitude":"06a07550","is_valid_coordinates":true} 
[2026-06-02 06:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772738304001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304993457414340608,"note":"Value kept but may cause issues"} 
[2026-06-02 06:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343370025337729024,"note":"Value kept but may cause issues"} 
[2026-06-02 06:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780362264000,"timestamp_ms":1780362264000,"timestamp_seconds":1780362264,"priority":1,"record_length":96,"hex_timestamp":"0000019e85dc3dc0"} 
[2026-06-02 06:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:35: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-06-02 06:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:35:30] 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-06-02 06:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772738304001,"66":27691,"221":206,"81":47616,"24":75,"16":304993457414340608,"45":4343370025337729024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-06-02 06:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772738304001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:35:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 06:35:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304993457414340608,"km_value":304993457414340.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343370025337729024,"description":"Unknown IO ID 45"} 
[2026-06-02 06:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772738304001,"power":27691,"unknown_221":206,"unknown_81":47616,"ignition":75,"odometer":null,"unknown_45":4343370025337729024}} 
[2026-06-02 06:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":89541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:35:30] local.INFO: GPS data processed {"connection_id":89541,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:35:30] local.INFO: Acknowledgment sent {"connection_id":89541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:36:02] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85dc3dc0012d3c590006a07550002f00152c..."} 
[2026-06-02 06:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85dc3dc0012d3c590006a07550002f00152c..."} 
[2026-06-02 06:36:02] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85dc3dc0012d3c590006a07550002f00152c..."} 
[2026-06-02 06:36:02] local.INFO: Packet analysis {"connection_id":89541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:36:02] local.INFO: Extracted packet for processing {"connection_id":89541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758929664,"raw_latitude":111179088,"longitude_deg":75.8929664,"latitude_deg":11.1179088,"altitude":47,"angle":21,"satellites":44,"speed":75,"hex_longitude":"2d3c5900","hex_latitude":"06a07550","is_valid_coordinates":true} 
[2026-06-02 06:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772739584001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304993457414340608,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4348506943664771072,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780362264000,"timestamp_ms":1780362264000,"timestamp_seconds":1780362264,"priority":1,"record_length":96,"hex_timestamp":"0000019e85dc3dc0"} 
[2026-06-02 06:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:36: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-06-02 06:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-02 06:36:02] 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-06-02 06:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:36:02] 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-06-02 06:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772739584001,"66":27691,"221":206,"81":47616,"24":75,"16":304993457414340608,"45":4348506943664771072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-06-02 06:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772739584001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:36:02] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 06:36:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304993457414340608,"km_value":304993457414340.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4348506943664771072,"description":"Unknown IO ID 45"} 
[2026-06-02 06:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772739584001,"power":27691,"unknown_221":206,"unknown_81":47616,"ignition":75,"odometer":null,"unknown_45":4348506943664771072}} 
[2026-06-02 06:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":89541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:36:02] local.INFO: GPS data processed {"connection_id":89541,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:36:02] local.INFO: Acknowledgment sent {"connection_id":89541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:36:40] local.INFO: TCP Data received {"connection_id":90602,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:36:40] local.INFO: Processing buffer {"connection_id":90602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:36:40] local.INFO: IMEI packet received {"connection_id":90602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":90602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:36:40] local.INFO: TCP Data received {"connection_id":90602,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:36:40] local.INFO: Processing buffer {"connection_id":90602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:36:40] local.INFO: IMEI packet received {"connection_id":90602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":90602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:36:43] local.INFO: TCP Data received {"connection_id":90602,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85dc5148012d3c650006a09888002d00112b..."} 
[2026-06-02 06:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85dc5148012d3c650006a09888002d00112b..."} 
[2026-06-02 06:36:43] local.INFO: Processing buffer {"connection_id":90602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85dc5148012d3c650006a09888002d00112b..."} 
[2026-06-02 06:36:43] local.INFO: Packet analysis {"connection_id":90602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:36:43] local.INFO: Extracted packet for processing {"connection_id":90602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758932736,"raw_latitude":111188104,"longitude_deg":75.8932736,"latitude_deg":11.1188104,"altitude":45,"angle":17,"satellites":43,"speed":75,"hex_longitude":"2d3c6500","hex_latitude":"06a09888","is_valid_coordinates":true} 
[2026-06-02 06:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772739584001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304993921270808576,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4348506943664771072,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780362269000,"timestamp_ms":1780362269000,"timestamp_seconds":1780362269,"priority":1,"record_length":96,"hex_timestamp":"0000019e85dc5148"} 
[2026-06-02 06:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-02 06:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772739584001,"66":27843,"221":206,"81":47616,"24":75,"16":304993921270808576,"45":4348506943664771072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-06-02 06:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772739584001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 06:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304993921270808576,"km_value":304993921270808.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4348506943664771072,"description":"Unknown IO ID 45"} 
[2026-06-02 06:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772739584001,"power":27843,"unknown_221":206,"unknown_81":47616,"ignition":75,"odometer":null,"unknown_45":4348506943664771072}} 
[2026-06-02 06:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":90602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:36:43] local.INFO: GPS data processed {"connection_id":90602,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:36:43] local.INFO: Acknowledgment sent {"connection_id":90602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:36:45] local.INFO: TCP Data received {"connection_id":90602,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85dc64d0012d3c700006a0bb60002d00112b..."} 
[2026-06-02 06:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85dc64d0012d3c700006a0bb60002d00112b..."} 
[2026-06-02 06:36:45] local.INFO: Processing buffer {"connection_id":90602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85dc64d0012d3c700006a0bb60002d00112b..."} 
[2026-06-02 06:36:45] local.INFO: Packet analysis {"connection_id":90602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:36:45] local.INFO: Extracted packet for processing {"connection_id":90602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85dc"} 
[2026-06-02 06:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758935552,"raw_latitude":111197024,"longitude_deg":75.8935552,"latitude_deg":11.1197024,"altitude":45,"angle":17,"satellites":43,"speed":72,"hex_longitude":"2d3c7000","hex_latitude":"06a0bb60","is_valid_coordinates":true} 
[2026-06-02 06:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772740864001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304994372242374656,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4351884643387607040,"note":"Value kept but may cause issues"} 
[2026-06-02 06:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780362274000,"timestamp_ms":1780362274000,"timestamp_seconds":1780362274,"priority":1,"record_length":96,"hex_timestamp":"0000019e85dc64d0"} 
[2026-06-02 06:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 06:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":90602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":90602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":90602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772740864001,"66":27800,"221":206,"81":47616,"24":72,"16":304994372242374656,"45":4351884643387607040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-06-02 06:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772740864001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:36:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 06:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-06-02 06:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304994372242374656,"km_value":304994372242374.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4351884643387607040,"description":"Unknown IO ID 45"} 
[2026-06-02 06:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772740864001,"power":27800,"unknown_221":206,"unknown_81":47616,"ignition":72,"odometer":null,"unknown_45":4351884643387607040}} 
[2026-06-02 06:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":90602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:36:45] local.INFO: GPS data processed {"connection_id":90602,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:36:45] local.INFO: Acknowledgment sent {"connection_id":90602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:37:23] local.INFO: TCP Data received {"connection_id":89391,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:23] local.INFO: Processing buffer {"connection_id":89391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:23] local.INFO: IMEI packet received {"connection_id":89391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":89391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:37:24] local.INFO: TCP Data received {"connection_id":89391,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:24] local.INFO: Processing buffer {"connection_id":89391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:24] local.INFO: IMEI packet received {"connection_id":89391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":89391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:37:30] local.INFO: TCP Data received {"connection_id":89391,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:30] local.INFO: Processing buffer {"connection_id":89391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:37:30] local.INFO: IMEI packet received {"connection_id":89391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":89391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:37:32] local.INFO: TCP Data received {"connection_id":89391,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85dde788012d3c920006a263280049015727..."} 
[2026-06-02 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85dde788012d3c920006a263280049015727..."} 
[2026-06-02 06:37:32] local.INFO: Processing buffer {"connection_id":89391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85dde788012d3c920006a263280049015727..."} 
[2026-06-02 06:37:32] local.INFO: Packet analysis {"connection_id":89391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85dd"} 
[2026-06-02 06:37:32] local.INFO: Extracted packet for processing {"connection_id":89391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85dd"} 
[2026-06-02 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758944256,"raw_latitude":111305512,"longitude_deg":75.8944256,"latitude_deg":11.1305512,"altitude":73,"angle":343,"satellites":39,"speed":46,"hex_longitude":"2d3c9200","hex_latitude":"06a26328","is_valid_coordinates":true} 
[2026-06-02 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772765440001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367154660901990400,"note":"Value kept but may cause issues"} 
[2026-06-02 06:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":304999753836396544,"note":"Value kept but may cause issues"} 
[2026-06-02 06:37:32] 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-06-02 06:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780362373000,"timestamp_ms":1780362373000,"timestamp_seconds":1780362373,"priority":1,"record_length":96,"hex_timestamp":"0000019e85dde788"} 
[2026-06-02 06:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 06:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:37:32] 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-06-02 06:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772765440001,"66":27887,"45":4367154660901990400,"81":49664,"24":46,"16":304999753836396544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 06:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772765440001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367154660901990400,"description":"Unknown IO ID 45"} 
[2026-06-02 06:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-06-02 06:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":304999753836396544,"km_value":304999753836396.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:37:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455772765440001,"power":27887,"unknown_45":4367154660901990400,"unknown_81":49664,"ignition":46,"odometer":null}} 
[2026-06-02 06:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":89391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:37:32] local.INFO: GPS data processed {"connection_id":89391,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:37:32] local.INFO: Acknowledgment sent {"connection_id":89391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:38:05] local.INFO: TCP Data received {"connection_id":89391,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85de06c8012d3c86c006a287a80049015724..."} 
[2026-06-02 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85de06c8012d3c86c006a287a80049015724..."} 
[2026-06-02 06:38:05] local.INFO: Processing buffer {"connection_id":89391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85de06c8012d3c86c006a287a80049015724..."} 
[2026-06-02 06:38:05] local.INFO: Packet analysis {"connection_id":89391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85de"} 
[2026-06-02 06:38:05] local.INFO: Extracted packet for processing {"connection_id":89391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85de"} 
[2026-06-02 06:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758941376,"raw_latitude":111314856,"longitude_deg":75.8941376,"latitude_deg":11.1314856,"altitude":73,"angle":343,"satellites":36,"speed":51,"hex_longitude":"2d3c86c0","hex_latitude":"06a287a8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772767488001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364551017369643008,"note":"Value kept but may cause issues"} 
[2026-06-02 06:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305000226282799104,"note":"Value kept but may cause issues"} 
[2026-06-02 06:38:05] 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-06-02 06:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780362381000,"timestamp_ms":1780362381000,"timestamp_seconds":1780362381,"priority":1,"record_length":96,"hex_timestamp":"0000019e85de06c8"} 
[2026-06-02 06:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06: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-06-02 06: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":239,"data_length":795,"current_offset":136} 
[2026-06-02 06:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772767488001,"66":27930,"45":4364551017369643008,"81":49664,"24":51,"16":305000226282799104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 06:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772767488001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364551017369643008,"description":"Unknown IO ID 45"} 
[2026-06-02 06:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-06-02 06:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305000226282799104,"km_value":305000226282799.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:38:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455772767488001,"power":27930,"unknown_45":4364551017369643008,"unknown_81":49664,"ignition":51,"odometer":null}} 
[2026-06-02 06:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":89391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:38:05] local.INFO: GPS data processed {"connection_id":89391,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:38:05] local.INFO: Acknowledgment sent {"connection_id":89391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:38:31] local.INFO: TCP Data received {"connection_id":89142,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:38:31] local.INFO: Processing buffer {"connection_id":89142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:38:31] local.INFO: IMEI packet received {"connection_id":89142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":89142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:38:31] local.INFO: TCP Data received {"connection_id":89142,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89142,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:38:31] local.INFO: Processing buffer {"connection_id":89142,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:38:31] local.INFO: IMEI packet received {"connection_id":89142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":89142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:38:34] local.INFO: TCP Data received {"connection_id":89142,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:38:34] local.INFO: Processing buffer {"connection_id":89142,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 06:38:34] local.INFO: IMEI packet received {"connection_id":89142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":89142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:39:07] local.INFO: TCP Data received {"connection_id":90603,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:39:07] local.INFO: Processing buffer {"connection_id":90603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:39:07] local.INFO: IMEI packet received {"connection_id":90603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":90603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:43:40] local.INFO: TCP Data received {"connection_id":89544,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:43:40] local.INFO: Processing buffer {"connection_id":89544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:43:40] local.INFO: IMEI packet received {"connection_id":89544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":89544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:43:41] local.INFO: TCP Data received {"connection_id":89544,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e313c0012d39814006a8c6a0000c01592a..."} 
[2026-06-02 06:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e313c0012d39814006a8c6a0000c01592a..."} 
[2026-06-02 06:43:41] local.INFO: Processing buffer {"connection_id":89544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e313c0012d39814006a8c6a0000c01592a..."} 
[2026-06-02 06:43:41] local.INFO: Packet analysis {"connection_id":89544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e3"} 
[2026-06-02 06:43:41] local.INFO: Extracted packet for processing {"connection_id":89544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e3"} 
[2026-06-02 06:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758743360,"raw_latitude":111724192,"longitude_deg":75.874336,"latitude_deg":11.1724192,"altitude":12,"angle":345,"satellites":42,"speed":71,"hex_longitude":"2d398140","hex_latitude":"06a8c6a0","is_valid_coordinates":true} 
[2026-06-02 06:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772852992001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4146337541779642368,"note":"Value kept but may cause issues"} 
[2026-06-02 06:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305025519345205248,"note":"Value kept but may cause issues"} 
[2026-06-02 06:43:41] 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-06-02 06:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780362712000,"timestamp_ms":1780362712000,"timestamp_seconds":1780362712,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e313c0"} 
[2026-06-02 06:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 06:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772852992001,"66":27919,"45":4146337541779642368,"81":23296,"24":71,"16":305025519345205248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 06:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772852992001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4146337541779642368,"description":"Unknown IO ID 45"} 
[2026-06-02 06:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-02 06:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305025519345205248,"km_value":305025519345205.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:43:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455772852992001,"power":27919,"unknown_45":4146337541779642368,"unknown_81":23296,"ignition":71,"odometer":null}} 
[2026-06-02 06:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":89544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:43:41] local.INFO: GPS data processed {"connection_id":89544,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:43:41] local.INFO: Acknowledgment sent {"connection_id":89544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:44:20] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:44:20] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:44:20] local.INFO: IMEI packet received {"connection_id":89545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":89545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:44:23] local.INFO: TCP Data received {"connection_id":89392,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:23] local.INFO: Processing buffer {"connection_id":89392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:23] local.INFO: IMEI packet received {"connection_id":89392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":89392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:44:24] local.INFO: TCP Data received {"connection_id":89392,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:24] local.INFO: Processing buffer {"connection_id":89392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:24] local.INFO: IMEI packet received {"connection_id":89392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":89392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:44:30] local.INFO: TCP Data received {"connection_id":89392,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:30] local.INFO: Processing buffer {"connection_id":89392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:44:30] local.INFO: IMEI packet received {"connection_id":89392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":89392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:44:31] local.INFO: TCP Data received {"connection_id":89392,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e45be0012d39028006aa9f00000b015927..."} 
[2026-06-02 06:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e45be0012d39028006aa9f00000b015927..."} 
[2026-06-02 06:44:31] local.INFO: Processing buffer {"connection_id":89392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e45be0012d39028006aa9f00000b015927..."} 
[2026-06-02 06:44:31] local.INFO: Packet analysis {"connection_id":89392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:44:31] local.INFO: Extracted packet for processing {"connection_id":89392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758710912,"raw_latitude":111845120,"longitude_deg":75.8710912,"latitude_deg":11.184512,"altitude":11,"angle":345,"satellites":39,"speed":53,"hex_longitude":"2d390280","hex_latitude":"06aa9f00","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772873984001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305031583839027200,"note":"Value kept but may cause issues"} 
[2026-06-02 06:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110519851024181248,"note":"Value kept but may cause issues"} 
[2026-06-02 06:44:31] 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-06-02 06:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780362796000,"timestamp_ms":1780362796000,"timestamp_seconds":1780362796,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e45be0"} 
[2026-06-02 06:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:44: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-06-02 06: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 06:44:31] 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-06-02 06: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-06-02 06:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772873984001,"66":27821,"163":206,"81":23296,"24":53,"16":305031583839027200,"45":4110519851024181248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-06-02 06:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772873984001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:44:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 06:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-02 06:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305031583839027200,"km_value":305031583839027.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4110519851024181248,"description":"Unknown IO ID 45"} 
[2026-06-02 06:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772873984001,"power":27821,"unknown_163":206,"unknown_81":23296,"ignition":53,"odometer":null,"unknown_45":4110519851024181248}} 
[2026-06-02 06:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":89392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:44:31] local.INFO: GPS data processed {"connection_id":89392,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:44:31] local.INFO: Acknowledgment sent {"connection_id":89392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:44:59] local.INFO: TCP Data received {"connection_id":90606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:44:59] local.INFO: Processing buffer {"connection_id":90606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:44:59] local.INFO: IMEI packet received {"connection_id":90606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":90606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:45:02] local.INFO: TCP Data received {"connection_id":89392,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e47738012d38f88006aac448000c015929..."} 
[2026-06-02 06:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e47738012d38f88006aac448000c015929..."} 
[2026-06-02 06:45:02] local.INFO: Processing buffer {"connection_id":89392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e47738012d38f88006aac448000c015929..."} 
[2026-06-02 06:45:02] local.INFO: Packet analysis {"connection_id":89392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:45:02] local.INFO: Extracted packet for processing {"connection_id":89392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758708352,"raw_latitude":111854664,"longitude_deg":75.8708352,"latitude_deg":11.1854664,"altitude":12,"angle":345,"satellites":41,"speed":57,"hex_longitude":"2d38f880","hex_latitude":"06aac448","is_valid_coordinates":true} 
[2026-06-02 06:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772875776001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305032060580397056,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4107986576236019712,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45: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-06-02 06:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780362803000,"timestamp_ms":1780362803000,"timestamp_seconds":1780362803,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e47738"} 
[2026-06-02 06:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:45: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-06-02 06:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 06:45: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-06-02 06:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:45:02] 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-06-02 06:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772875776001,"66":27865,"163":206,"81":23296,"24":57,"16":305032060580397056,"45":4107986576236019712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-06-02 06:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772875776001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:45:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 06:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-02 06:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305032060580397056,"km_value":305032060580397.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4107986576236019712,"description":"Unknown IO ID 45"} 
[2026-06-02 06:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772875776001,"power":27865,"unknown_163":206,"unknown_81":23296,"ignition":57,"odometer":null,"unknown_45":4107986576236019712}} 
[2026-06-02 06:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":89392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:45:02] local.INFO: GPS data processed {"connection_id":89392,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:45:02] local.INFO: Acknowledgment sent {"connection_id":89392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:45:32] local.INFO: TCP Data received {"connection_id":89393,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:45:32] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:45:32] local.INFO: IMEI packet received {"connection_id":89393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":89393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:45:33] local.INFO: TCP Data received {"connection_id":89393,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:45:33] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:45:33] local.INFO: IMEI packet received {"connection_id":89393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":89393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:45:34] local.INFO: TCP Data received {"connection_id":89393,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e49290012d38ee0006aaea28000c015829..."} 
[2026-06-02 06:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e49290012d38ee0006aaea28000c015829..."} 
[2026-06-02 06:45:34] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e49290012d38ee0006aaea28000c015829..."} 
[2026-06-02 06:45:34] local.INFO: Packet analysis {"connection_id":89393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:45:34] local.INFO: Extracted packet for processing {"connection_id":89393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758705664,"raw_latitude":111864360,"longitude_deg":75.8705664,"latitude_deg":11.186436,"altitude":12,"angle":344,"satellites":41,"speed":54,"hex_longitude":"2d38ee00","hex_latitude":"06aaea28","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772877568001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305032550206668800,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4105171826471356416,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:34] 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-06-02 06:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780362810000,"timestamp_ms":1780362810000,"timestamp_seconds":1780362810,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e49290"} 
[2026-06-02 06:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:45: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-06-02 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:45: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-06-02 06: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-06-02 06:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:45:34] 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-06-02 06:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772877568001,"66":27908,"163":206,"81":23296,"24":54,"16":305032550206668800,"45":4105171826471356416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-06-02 06:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772877568001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-02 06:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305032550206668800,"km_value":305032550206668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4105171826471356416,"description":"Unknown IO ID 45"} 
[2026-06-02 06:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772877568001,"power":27908,"unknown_163":206,"unknown_81":23296,"ignition":54,"odometer":null,"unknown_45":4105171826471356416}} 
[2026-06-02 06:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":89393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:45:34] local.INFO: GPS data processed {"connection_id":89393,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:45:34] local.INFO: Acknowledgment sent {"connection_id":89393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:45:34] local.INFO: TCP Data received {"connection_id":89393,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e4ade8012d38e48006ab0d50000c015928..."} 
[2026-06-02 06:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e4ade8012d38e48006ab0d50000c015928..."} 
[2026-06-02 06:45:34] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e4ade8012d38e48006ab0d50000c015928..."} 
[2026-06-02 06:45:34] local.INFO: Packet analysis {"connection_id":89393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:45:34] local.INFO: Extracted packet for processing {"connection_id":89393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e4"} 
[2026-06-02 06:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758703232,"raw_latitude":111873360,"longitude_deg":75.8703232,"latitude_deg":11.187336,"altitude":12,"angle":345,"satellites":40,"speed":51,"hex_longitude":"2d38e480","hex_latitude":"06ab0d50","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772879360001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305033001178234880,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4102216339218376704,"note":"Value kept but may cause issues"} 
[2026-06-02 06:45:34] 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-06-02 06:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780362817000,"timestamp_ms":1780362817000,"timestamp_seconds":1780362817,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e4ade8"} 
[2026-06-02 06:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:45: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-06-02 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 06:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:45:34] 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-06-02 06:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772879360001,"66":27908,"163":206,"81":23296,"24":51,"16":305033001178234880,"45":4102216339218376704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-06-02 06:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772879360001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-02 06:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305033001178234880,"km_value":305033001178234.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4102216339218376704,"description":"Unknown IO ID 45"} 
[2026-06-02 06:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772879360001,"power":27908,"unknown_163":206,"unknown_81":23296,"ignition":51,"odometer":null,"unknown_45":4102216339218376704}} 
[2026-06-02 06:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":89393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:45:34] local.INFO: GPS data processed {"connection_id":89393,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:45:34] local.INFO: Acknowledgment sent {"connection_id":89393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:46:05] local.INFO: TCP Data received {"connection_id":89393,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e61548012d38688006ace4200012015a2b..."} 
[2026-06-02 06:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e61548012d38688006ace4200012015a2b..."} 
[2026-06-02 06:46:05] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e61548012d38688006ace4200012015a2b..."} 
[2026-06-02 06:46:05] local.INFO: Packet analysis {"connection_id":89393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e6"} 
[2026-06-02 06:46:05] local.INFO: Extracted packet for processing {"connection_id":89393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e6"} 
[2026-06-02 06:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758671488,"raw_latitude":111993888,"longitude_deg":75.8671488,"latitude_deg":11.1993888,"altitude":18,"angle":346,"satellites":43,"speed":53,"hex_longitude":"2d386880","hex_latitude":"06ace420","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772902912001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305039035607285760,"note":"Value kept but may cause issues"} 
[2026-06-02 06:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4067102335904499712,"note":"Value kept but may cause issues"} 
[2026-06-02 06:46:05] 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-06-02 06:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780362909000,"timestamp_ms":1780362909000,"timestamp_seconds":1780362909,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e61548"} 
[2026-06-02 06:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:46: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-06-02 06:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 06:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772902912001,"66":27887,"185":206,"81":49664,"24":53,"16":305039035607285760,"45":4067102335904499712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-06-02 06:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772902912001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:46:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-02 06:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-06-02 06:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305039035607285760,"km_value":305039035607285.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4067102335904499712,"description":"Unknown IO ID 45"} 
[2026-06-02 06:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772902912001,"power":27887,"unknown_185":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4067102335904499712}} 
[2026-06-02 06:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":89393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:46:05] local.INFO: GPS data processed {"connection_id":89393,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:46:05] local.INFO: Acknowledgment sent {"connection_id":89393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:46:24] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:24] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:24] local.INFO: IMEI packet received {"connection_id":89547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":89547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:46:26] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:26] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:26] local.INFO: IMEI packet received {"connection_id":89547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":89547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:46:29] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:29] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:46:29] local.INFO: IMEI packet received {"connection_id":89547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":89547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:46:31] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e630a0012d385e0006ad0800001301562b..."} 
[2026-06-02 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e630a0012d385e0006ad0800001301562b..."} 
[2026-06-02 06:46:31] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e630a0012d385e0006ad0800001301562b..."} 
[2026-06-02 06:46:31] local.INFO: Packet analysis {"connection_id":89547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e6"} 
[2026-06-02 06:46:31] local.INFO: Extracted packet for processing {"connection_id":89547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e6"} 
[2026-06-02 06:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758668800,"raw_latitude":112003072,"longitude_deg":75.86688,"latitude_deg":11.2003072,"altitude":19,"angle":342,"satellites":43,"speed":55,"hex_longitude":"2d385e00","hex_latitude":"06ad0800","is_valid_coordinates":true} 
[2026-06-02 06:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772904704001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305039499463753728,"note":"Value kept but may cause issues"} 
[2026-06-02 06:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4064639429860663296,"note":"Value kept but may cause issues"} 
[2026-06-02 06:46:31] 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-06-02 06:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780362916000,"timestamp_ms":1780362916000,"timestamp_seconds":1780362916,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e630a0"} 
[2026-06-02 06:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:46: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-06-02 06:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 06:46:31] 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-06-02 06:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772904704001,"66":27789,"185":206,"81":49664,"24":55,"16":305039499463753728,"45":4064639429860663296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-06-02 06:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772904704001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:46:31] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-02 06:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-06-02 06:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305039499463753728,"km_value":305039499463753.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4064639429860663296,"description":"Unknown IO ID 45"} 
[2026-06-02 06:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772904704001,"power":27789,"unknown_185":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":4064639429860663296}} 
[2026-06-02 06:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":89547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:46:31] local.INFO: GPS data processed {"connection_id":89547,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:46:31] local.INFO: Acknowledgment sent {"connection_id":89547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:47:03] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e64bf8012d38530006ad2ee0001201592b..."} 
[2026-06-02 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e64bf8012d38530006ad2ee0001201592b..."} 
[2026-06-02 06:47:03] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e64bf8012d38530006ad2ee0001201592b..."} 
[2026-06-02 06:47:03] local.INFO: Packet analysis {"connection_id":89547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e6"} 
[2026-06-02 06:47:03] local.INFO: Extracted packet for processing {"connection_id":89547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e6"} 
[2026-06-02 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758665984,"raw_latitude":112013024,"longitude_deg":75.8665984,"latitude_deg":11.2013024,"altitude":18,"angle":345,"satellites":43,"speed":61,"hex_longitude":"2d385300","hex_latitude":"06ad2ee0","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772906496001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305040001974927360,"note":"Value kept but may cause issues"} 
[2026-06-02 06:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4061683942607552512,"note":"Value kept but may cause issues"} 
[2026-06-02 06:47:03] 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-06-02 06:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780362923000,"timestamp_ms":1780362923000,"timestamp_seconds":1780362923,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e64bf8"} 
[2026-06-02 06:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 06:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:47:03] 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-06-02 06:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772906496001,"66":27821,"6":206,"81":49664,"24":61,"16":305040001974927360,"45":4061683942607552512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-06-02 06:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772906496001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:47:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 06:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-06-02 06:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305040001974927360,"km_value":305040001974927.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4061683942607552512,"description":"Unknown IO ID 45"} 
[2026-06-02 06:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772906496001,"power":27821,"unknown_6":206,"unknown_81":49664,"ignition":61,"odometer":null,"unknown_45":4061683942607552512}} 
[2026-06-02 06:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":89547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:47:03] local.INFO: GPS data processed {"connection_id":89547,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:47:03] local.INFO: Acknowledgment sent {"connection_id":89547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:47:33] local.INFO: TCP Data received {"connection_id":89147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:33] local.INFO: Processing buffer {"connection_id":89147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:33] local.INFO: IMEI packet received {"connection_id":89147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":89147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:47:34] local.INFO: TCP Data received {"connection_id":89147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:34] local.INFO: Processing buffer {"connection_id":89147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:34] local.INFO: IMEI packet received {"connection_id":89147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":89147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:47:40] local.INFO: TCP Data received {"connection_id":89147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:40] local.INFO: Processing buffer {"connection_id":89147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:47:40] local.INFO: IMEI packet received {"connection_id":89147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":89147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:47:41] local.INFO: TCP Data received {"connection_id":89147,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85e75d68012d37888006ae8a60000d01472c..."} 
[2026-06-02 06:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85e75d68012d37888006ae8a60000d01472c..."} 
[2026-06-02 06:47:41] local.INFO: Processing buffer {"connection_id":89147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85e75d68012d37888006ae8a60000d01472c..."} 
[2026-06-02 06:47:41] local.INFO: Packet analysis {"connection_id":89147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85e7"} 
[2026-06-02 06:47:41] local.INFO: Extracted packet for processing {"connection_id":89147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85e7"} 
[2026-06-02 06:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758614144,"raw_latitude":112101984,"longitude_deg":75.8614144,"latitude_deg":11.2101984,"altitude":13,"angle":327,"satellites":44,"speed":54,"hex_longitude":"2d378880","hex_latitude":"06ae8a60","is_valid_coordinates":true} 
[2026-06-02 06:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455772924416001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305044988431958016,"note":"Value kept but may cause issues"} 
[2026-06-02 06:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4007500009613903872,"note":"Value kept but may cause issues"} 
[2026-06-02 06:47:41] 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-06-02 06:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780362993000,"timestamp_ms":1780362993000,"timestamp_seconds":1780362993,"priority":1,"record_length":96,"hex_timestamp":"0000019e85e75d68"} 
[2026-06-02 06:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:47: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-06-02 06:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 06:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455772924416001,"66":27821,"6":206,"81":49664,"24":54,"16":305044988431958016,"45":4007500009613903872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-06-02 06:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455772924416001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:47:41] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-02 06:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-06-02 06:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305044988431958016,"km_value":305044988431958.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4007500009613903872,"description":"Unknown IO ID 45"} 
[2026-06-02 06:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455772924416001,"power":27821,"unknown_6":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4007500009613903872}} 
[2026-06-02 06:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":89147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:47:41] local.INFO: GPS data processed {"connection_id":89147,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:47:41] local.INFO: Acknowledgment sent {"connection_id":89147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:48:22] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:22] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:22] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:48:25] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:25] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:25] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:48:58] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:58] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:58] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:48:59] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:59] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:48:59] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:50:24] local.INFO: TCP Data received {"connection_id":89395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:50:24] local.INFO: Processing buffer {"connection_id":89395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:50:24] local.INFO: IMEI packet received {"connection_id":89395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":89395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:51:04] local.INFO: TCP Data received {"connection_id":89549,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:51:04] local.INFO: Processing buffer {"connection_id":89549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:51:04] local.INFO: IMEI packet received {"connection_id":89549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":89549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:54:24] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:54:24] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:54:24] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:54:30] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:54:30] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:54:30] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:54:31] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ed8788012d33b64006b417280012015b2a..."} 
[2026-06-02 06:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ed8788012d33b64006b417280012015b2a..."} 
[2026-06-02 06:54:31] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ed8788012d33b64006b417280012015b2a..."} 
[2026-06-02 06:54:31] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ed"} 
[2026-06-02 06:54:31] local.INFO: Extracted packet for processing {"connection_id":89398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ed"} 
[2026-06-02 06:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758363712,"raw_latitude":112465704,"longitude_deg":75.8363712,"latitude_deg":11.2465704,"altitude":18,"angle":347,"satellites":42,"speed":49,"hex_longitude":"2d33b640","hex_latitude":"06b41728","is_valid_coordinates":true} 
[2026-06-02 06:54: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-06-02 06:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773028608001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305067326556864512,"note":"Value kept but may cause issues"} 
[2026-06-02 06:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726939826671544320,"note":"Value kept but may cause issues"} 
[2026-06-02 06:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780363397000,"timestamp_ms":1780363397000,"timestamp_seconds":1780363397,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ed8788"} 
[2026-06-02 06:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:54: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-06-02 06:54: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 06:54:31] 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-06-02 06:54: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-06-02 06:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773028608001,"66":27843,"255":206,"81":23552,"24":49,"16":305067326556864512,"45":3726939826671544320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-06-02 06:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773028608001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:54:31] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-06-02 06:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305067326556864512,"km_value":305067326556864.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726939826671544320,"description":"Unknown IO ID 45"} 
[2026-06-02 06:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773028608001,"power":27843,"unknown_255":206,"unknown_81":23552,"ignition":49,"odometer":null,"unknown_45":3726939826671544320}} 
[2026-06-02 06:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":89398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:54:31] local.INFO: GPS data processed {"connection_id":89398,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:54:31] local.INFO: Acknowledgment sent {"connection_id":89398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:55:03] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ed9b10012d33aec006b42da00011014f28..."} 
[2026-06-02 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ed9b10012d33aec006b42da00011014f28..."} 
[2026-06-02 06:55:03] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ed9b10012d33aec006b42da00011014f28..."} 
[2026-06-02 06:55:03] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ed"} 
[2026-06-02 06:55:03] local.INFO: Extracted packet for processing {"connection_id":89398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ed"} 
[2026-06-02 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758361792,"raw_latitude":112471456,"longitude_deg":75.8361792,"latitude_deg":11.2471456,"altitude":17,"angle":335,"satellites":40,"speed":44,"hex_longitude":"2d33aec0","hex_latitude":"06b42da0","is_valid_coordinates":true} 
[2026-06-02 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773029632001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305067622909607936,"note":"Value kept but may cause issues"} 
[2026-06-02 06:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726236139231062016,"note":"Value kept but may cause issues"} 
[2026-06-02 06:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780363402000,"timestamp_ms":1780363402000,"timestamp_seconds":1780363402,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ed9b10"} 
[2026-06-02 06:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:55: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-06-02 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 06:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:55:03] 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-06-02 06:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773029632001,"66":27843,"255":206,"81":23552,"24":44,"16":305067622909607936,"45":3726236139231062016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-06-02 06:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773029632001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:55:03] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-06-02 06:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305067622909607936,"km_value":305067622909607.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726236139231062016,"description":"Unknown IO ID 45"} 
[2026-06-02 06:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773029632001,"power":27843,"unknown_255":206,"unknown_81":23552,"ignition":44,"odometer":null,"unknown_45":3726236139231062016}} 
[2026-06-02 06:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":89398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:55:03] local.INFO: GPS data processed {"connection_id":89398,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:55:03] local.INFO: Acknowledgment sent {"connection_id":89398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:55:59] local.INFO: TCP Data received {"connection_id":89151,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:55:59] local.INFO: Processing buffer {"connection_id":89151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:55:59] local.INFO: IMEI packet received {"connection_id":89151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":89151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:56:02] local.INFO: TCP Data received {"connection_id":89151,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:02] local.INFO: Processing buffer {"connection_id":89151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:02] local.INFO: IMEI packet received {"connection_id":89151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":89151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:56:05] local.INFO: TCP Data received {"connection_id":89151,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:05] local.INFO: Processing buffer {"connection_id":89151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:05] local.INFO: IMEI packet received {"connection_id":89151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":89151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:56:05] local.INFO: TCP Data received {"connection_id":89151,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85eeb068012d327b4006b4f840000e01272c..."} 
[2026-06-02 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85eeb068012d327b4006b4f840000e01272c..."} 
[2026-06-02 06:56:05] local.INFO: Processing buffer {"connection_id":89151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85eeb068012d327b4006b4f840000e01272c..."} 
[2026-06-02 06:56:05] local.INFO: Packet analysis {"connection_id":89151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ee"} 
[2026-06-02 06:56:05] local.INFO: Extracted packet for processing {"connection_id":89151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ee"} 
[2026-06-02 06:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758283072,"raw_latitude":112523328,"longitude_deg":75.8283072,"latitude_deg":11.2523328,"altitude":14,"angle":295,"satellites":44,"speed":62,"hex_longitude":"2d327b40","hex_latitude":"06b4f840","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773047552001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305072252884353024,"note":"Value kept but may cause issues"} 
[2026-06-02 06:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3647000933300746240,"note":"Value kept but may cause issues"} 
[2026-06-02 06:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780363473000,"timestamp_ms":1780363473000,"timestamp_seconds":1780363473,"priority":1,"record_length":96,"hex_timestamp":"0000019e85eeb068"} 
[2026-06-02 06:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06: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-06-02 06: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773047552001,"66":27800,"255":206,"81":23552,"24":62,"16":305072252884353024,"45":3647000933300746240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-06-02 06:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773047552001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:56:05] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-06-02 06:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305072252884353024,"km_value":305072252884353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3647000933300746240,"description":"Unknown IO ID 45"} 
[2026-06-02 06:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773047552001,"power":27800,"unknown_255":206,"unknown_81":23552,"ignition":62,"odometer":null,"unknown_45":3647000933300746240}} 
[2026-06-02 06:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":89151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:56:05] local.INFO: GPS data processed {"connection_id":89151,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:56:05] local.INFO: Acknowledgment sent {"connection_id":89151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:56:24] local.INFO: TCP Data received {"connection_id":89552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:56:24] local.INFO: Processing buffer {"connection_id":89552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:56:24] local.INFO: IMEI packet received {"connection_id":89552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:56:29] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:29] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:29] local.INFO: IMEI packet received {"connection_id":89553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":89553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:56:35] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:35] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:56:35] local.INFO: IMEI packet received {"connection_id":89553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":89553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:56:36] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85eec7d8012d32598006b50870000c01292b..."} 
[2026-06-02 06:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85eec7d8012d32598006b50870000c01292b..."} 
[2026-06-02 06:56:36] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85eec7d8012d32598006b50870000c01292b..."} 
[2026-06-02 06:56:36] local.INFO: Packet analysis {"connection_id":89553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ee"} 
[2026-06-02 06:56:36] local.INFO: Extracted packet for processing {"connection_id":89553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ee"} 
[2026-06-02 06:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758274432,"raw_latitude":112527472,"longitude_deg":75.8274432,"latitude_deg":11.2527472,"altitude":12,"angle":297,"satellites":43,"speed":63,"hex_longitude":"2d325980","hex_latitude":"06b50870","is_valid_coordinates":true} 
[2026-06-02 06:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773049088001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305072708150886400,"note":"Value kept but may cause issues"} 
[2026-06-02 06:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3637571521581957120,"note":"Value kept but may cause issues"} 
[2026-06-02 06:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780363479000,"timestamp_ms":1780363479000,"timestamp_seconds":1780363479,"priority":1,"record_length":96,"hex_timestamp":"0000019e85eec7d8"} 
[2026-06-02 06:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773049088001,"66":27821,"255":206,"81":23552,"24":63,"16":305072708150886400,"45":3637571521581957120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-06-02 06:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773049088001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:56:36] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-06-02 06:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305072708150886400,"km_value":305072708150886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3637571521581957120,"description":"Unknown IO ID 45"} 
[2026-06-02 06:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773049088001,"power":27821,"unknown_255":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3637571521581957120}} 
[2026-06-02 06:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":89553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:56:36] local.INFO: GPS data processed {"connection_id":89553,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:56:36] local.INFO: Acknowledgment sent {"connection_id":89553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:56:59] local.INFO: TCP Data received {"connection_id":89152,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:56:59] local.INFO: Processing buffer {"connection_id":89152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 06:56:59] local.INFO: IMEI packet received {"connection_id":89152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":89152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:57:07] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f046a8012d30d24006b69650000d011c2d..."} 
[2026-06-02 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f046a8012d30d24006b69650000d011c2d..."} 
[2026-06-02 06:57:07] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f046a8012d30d24006b69650000d011c2d..."} 
[2026-06-02 06:57:07] local.INFO: Packet analysis {"connection_id":89553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f0"} 
[2026-06-02 06:57:07] local.INFO: Extracted packet for processing {"connection_id":89553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f0"} 
[2026-06-02 06:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758174272,"raw_latitude":112629328,"longitude_deg":75.8174272,"latitude_deg":11.2629328,"altitude":13,"angle":284,"satellites":45,"speed":63,"hex_longitude":"2d30d240","hex_latitude":"06b69650","is_valid_coordinates":true} 
[2026-06-02 06:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773073920001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305079734717382656,"note":"Value kept but may cause issues"} 
[2026-06-02 06:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3529485130551156736,"note":"Value kept but may cause issues"} 
[2026-06-02 06:57:07] 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-06-02 06:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780363577000,"timestamp_ms":1780363577000,"timestamp_seconds":1780363577,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f046a8"} 
[2026-06-02 06:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 06:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:57:07] 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-06-02 06:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773073920001,"66":27800,"201":206,"81":23552,"24":63,"16":305079734717382656,"45":3529485130551156736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-06-02 06:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773073920001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:57:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 06:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305079734717382656,"km_value":305079734717382.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3529485130551156736,"description":"Unknown IO ID 45"} 
[2026-06-02 06:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773073920001,"power":27800,"unknown_201":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3529485130551156736}} 
[2026-06-02 06:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":89553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:57:07] local.INFO: GPS data processed {"connection_id":89553,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:57:07] local.INFO: Acknowledgment sent {"connection_id":89553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:57:28] local.INFO: TCP Data received {"connection_id":89153,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:28] local.INFO: Processing buffer {"connection_id":89153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:28] local.INFO: IMEI packet received {"connection_id":89153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:57:29] local.INFO: TCP Data received {"connection_id":89153,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:29] local.INFO: Processing buffer {"connection_id":89153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:29] local.INFO: IMEI packet received {"connection_id":89153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":89153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:57:34] local.INFO: TCP Data received {"connection_id":89153,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:34] local.INFO: Processing buffer {"connection_id":89153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:57:34] local.INFO: IMEI packet received {"connection_id":89153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":89153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:57:36] local.INFO: TCP Data received {"connection_id":89153,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f046a8012d30d24006b69650000d011c2d..."} 
[2026-06-02 06:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f046a8012d30d24006b69650000d011c2d..."} 
[2026-06-02 06:57:36] local.INFO: Processing buffer {"connection_id":89153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f046a8012d30d24006b69650000d011c2d..."} 
[2026-06-02 06:57:36] local.INFO: Packet analysis {"connection_id":89153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f0"} 
[2026-06-02 06:57:36] local.INFO: Extracted packet for processing {"connection_id":89153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f0"} 
[2026-06-02 06:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758174272,"raw_latitude":112629328,"longitude_deg":75.8174272,"latitude_deg":11.2629328,"altitude":13,"angle":284,"satellites":45,"speed":63,"hex_longitude":"2d30d240","hex_latitude":"06b69650","is_valid_coordinates":true} 
[2026-06-02 06:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773075712001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305079734717382656,"note":"Value kept but may cause issues"} 
[2026-06-02 06:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3517944656507064320,"note":"Value kept but may cause issues"} 
[2026-06-02 06:57:36] 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-06-02 06:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780363577000,"timestamp_ms":1780363577000,"timestamp_seconds":1780363577,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f046a8"} 
[2026-06-02 06:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773075712001,"66":27800,"201":206,"81":23552,"24":63,"16":305079734717382656,"45":3517944656507064320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-06-02 06:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773075712001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:57:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 06:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305079734717382656,"km_value":305079734717382.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3517944656507064320,"description":"Unknown IO ID 45"} 
[2026-06-02 06:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773075712001,"power":27800,"unknown_201":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3517944656507064320}} 
[2026-06-02 06:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":89153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:57:36] local.INFO: GPS data processed {"connection_id":89153,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:57:36] local.INFO: Acknowledgment sent {"connection_id":89153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:58:27] local.INFO: TCP Data received {"connection_id":89153,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f12938012d2fc5c006b71d18001101562d..."} 
[2026-06-02 06:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f12938012d2fc5c006b71d18001101562d..."} 
[2026-06-02 06:58:27] local.INFO: Processing buffer {"connection_id":89153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f12938012d2fc5c006b71d18001101562d..."} 
[2026-06-02 06:58:27] local.INFO: Packet analysis {"connection_id":89153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f1"} 
[2026-06-02 06:58:27] local.INFO: Extracted packet for processing {"connection_id":89153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f1"} 
[2026-06-02 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":758105536,"raw_latitude":112663832,"longitude_deg":75.8105536,"latitude_deg":11.2663832,"altitude":17,"angle":342,"satellites":45,"speed":61,"hex_longitude":"2d2fc5c0","hex_latitude":"06b71d18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 06:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773089280001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305083638842654720,"note":"Value kept but may cause issues"} 
[2026-06-02 06:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3445746324987834368,"note":"Value kept but may cause issues"} 
[2026-06-02 06:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780363635000,"timestamp_ms":1780363635000,"timestamp_seconds":1780363635,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f12938"} 
[2026-06-02 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-06-02 06:58: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-06-02 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 06:58:27] 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-06-02 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-06-02 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-06-02 06:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773089280001,"66":27876,"52":206,"81":23552,"24":61,"16":305083638842654720,"45":3445746324987834368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-06-02 06:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773089280001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:58:27] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 06:58:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305083638842654720,"km_value":305083638842654.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3445746324987834368,"description":"Unknown IO ID 45"} 
[2026-06-02 06:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773089280001,"power":27876,"unknown_52":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3445746324987834368}} 
[2026-06-02 06:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":89153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:58:27] local.INFO: GPS data processed {"connection_id":89153,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:58:27] local.INFO: Acknowledgment sent {"connection_id":89153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:58:34] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:58:34] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:58:34] local.INFO: IMEI packet received {"connection_id":89554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":89554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:58:38] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:58:38] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:58:38] local.INFO: IMEI packet received {"connection_id":89554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":89554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:58:39] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f140a8012d2fbcc006b74160000d015c2c..."} 
[2026-06-02 06:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f140a8012d2fbcc006b74160000d015c2c..."} 
[2026-06-02 06:58:39] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f140a8012d2fbcc006b74160000d015c2c..."} 
[2026-06-02 06:58:39] local.INFO: Packet analysis {"connection_id":89554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f1"} 
[2026-06-02 06:58:39] local.INFO: Extracted packet for processing {"connection_id":89554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f1"} 
[2026-06-02 06:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758103232,"raw_latitude":112673120,"longitude_deg":75.8103232,"latitude_deg":11.267312,"altitude":13,"angle":348,"satellites":44,"speed":64,"hex_longitude":"2d2fbcc0","hex_latitude":"06b74160","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773090560001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305084102699122688,"note":"Value kept but may cause issues"} 
[2026-06-02 06:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3442368625269086208,"note":"Value kept but may cause issues"} 
[2026-06-02 06:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780363641000,"timestamp_ms":1780363641000,"timestamp_seconds":1780363641,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f140a8"} 
[2026-06-02 06:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 06:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:58:39] 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-06-02 06:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773090560001,"66":27800,"52":206,"81":23552,"24":64,"16":305084102699122688,"45":3442368625269086208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-06-02 06:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773090560001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:58:39] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 06:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305084102699122688,"km_value":305084102699122.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3442368625269086208,"description":"Unknown IO ID 45"} 
[2026-06-02 06:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773090560001,"power":27800,"unknown_52":206,"unknown_81":23552,"ignition":64,"odometer":null,"unknown_45":3442368625269086208}} 
[2026-06-02 06:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":89554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:58:39] local.INFO: GPS data processed {"connection_id":89554,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:58:39] local.INFO: Acknowledgment sent {"connection_id":89554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:59:10] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f15818012d2fb48006b76758000b015a2b..."} 
[2026-06-02 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f15818012d2fb48006b76758000b015a2b..."} 
[2026-06-02 06:59:10] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f15818012d2fb48006b76758000b015a2b..."} 
[2026-06-02 06:59:10] local.INFO: Packet analysis {"connection_id":89554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f1"} 
[2026-06-02 06:59:10] local.INFO: Extracted packet for processing {"connection_id":89554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f1"} 
[2026-06-02 06:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758101120,"raw_latitude":112682840,"longitude_deg":75.810112,"latitude_deg":11.268284,"altitude":11,"angle":346,"satellites":43,"speed":65,"hex_longitude":"2d2fb480","hex_latitude":"06b76758","is_valid_coordinates":true} 
[2026-06-02 06:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773092096001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305084583735459840,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3439835350481068032,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 06:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780363647000,"timestamp_ms":1780363647000,"timestamp_seconds":1780363647,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f15818"} 
[2026-06-02 06:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 06:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773092096001,"66":27865,"52":206,"81":23552,"24":65,"16":305084583735459840,"45":3439835350481068032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-06-02 06:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773092096001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:59:10] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 06:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-06-02 06:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305084583735459840,"km_value":305084583735459.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3439835350481068032,"description":"Unknown IO ID 45"} 
[2026-06-02 06:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773092096001,"power":27865,"unknown_52":206,"unknown_81":23552,"ignition":65,"odometer":null,"unknown_45":3439835350481068032}} 
[2026-06-02 06:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":89554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:59:10] local.INFO: GPS data processed {"connection_id":89554,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:59:10] local.INFO: Acknowledgment sent {"connection_id":89554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:59:25] local.INFO: TCP Data received {"connection_id":89399,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:25] local.INFO: Processing buffer {"connection_id":89399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:25] local.INFO: IMEI packet received {"connection_id":89399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 06:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":89399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:59:26] local.INFO: TCP Data received {"connection_id":89399,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:26] local.INFO: Processing buffer {"connection_id":89399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:26] local.INFO: IMEI packet received {"connection_id":89399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":89399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:59:31] local.INFO: TCP Data received {"connection_id":89399,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:31] local.INFO: Processing buffer {"connection_id":89399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 06:59:31] local.INFO: IMEI packet received {"connection_id":89399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 06:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":89399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:59:38] local.INFO: TCP Data received {"connection_id":89399,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f261b8012d2f0d8006b8cff8000901482d..."} 
[2026-06-02 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f261b8012d2f0d8006b8cff8000901482d..."} 
[2026-06-02 06:59:38] local.INFO: Processing buffer {"connection_id":89399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f261b8012d2f0d8006b8cff8000901482d..."} 
[2026-06-02 06:59:38] local.INFO: Packet analysis {"connection_id":89399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f2"} 
[2026-06-02 06:59:38] local.INFO: Extracted packet for processing {"connection_id":89399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f2"} 
[2026-06-02 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758058368,"raw_latitude":112775160,"longitude_deg":75.8058368,"latitude_deg":11.277516,"altitude":9,"angle":328,"satellites":45,"speed":59,"hex_longitude":"2d2f0d80","hex_latitude":"06b8cff8","is_valid_coordinates":true} 
[2026-06-02 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 06:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773109504001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305089518652882944,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3395714147905832960,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:38] 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-06-02 06:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780363715000,"timestamp_ms":1780363715000,"timestamp_seconds":1780363715,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f261b8"} 
[2026-06-02 06:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:59: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-06-02 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 06:59: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-06-02 06:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 06:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773109504001,"66":27767,"81":21760,"24":59,"16":305089518652882944,"45":3395714147905832960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 06:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773109504001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-06-02 06:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305089518652882944,"km_value":305089518652882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3395714147905832960,"description":"Unknown IO ID 45"} 
[2026-06-02 06:59:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773109504001,"power":27767,"unknown_81":21760,"ignition":59,"odometer":null,"unknown_45":3395714147905832960}} 
[2026-06-02 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":89399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:59:38] local.INFO: GPS data processed {"connection_id":89399,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:59:38] local.INFO: Acknowledgment sent {"connection_id":89399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:59:40] local.INFO: TCP Data received {"connection_id":89399,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f27928012d2efb4006b8edc8000901472e..."} 
[2026-06-02 06:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f27928012d2efb4006b8edc8000901472e..."} 
[2026-06-02 06:59:40] local.INFO: Processing buffer {"connection_id":89399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f27928012d2efb4006b8edc8000901472e..."} 
[2026-06-02 06:59:40] local.INFO: Packet analysis {"connection_id":89399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f2"} 
[2026-06-02 06:59:40] local.INFO: Extracted packet for processing {"connection_id":89399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f2"} 
[2026-06-02 06:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758053696,"raw_latitude":112782792,"longitude_deg":75.8053696,"latitude_deg":11.2782792,"altitude":9,"angle":327,"satellites":46,"speed":59,"hex_longitude":"2d2efb40","hex_latitude":"06b8edc8","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773111040001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305089952444579840,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3390506860838647808,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:40] 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-06-02 06:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780363721000,"timestamp_ms":1780363721000,"timestamp_seconds":1780363721,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f27928"} 
[2026-06-02 06:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:59: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-06-02 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 06:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 06: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-06-02 06:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 06:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 06:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 06:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773111040001,"66":27767,"81":21760,"24":59,"16":305089952444579840,"45":3390506860838647808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 06:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 06:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 06:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773111040001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:59:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-06-02 06:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305089952444579840,"km_value":305089952444579.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3390506860838647808,"description":"Unknown IO ID 45"} 
[2026-06-02 06:59:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773111040001,"power":27767,"unknown_81":21760,"ignition":59,"odometer":null,"unknown_45":3390506860838647808}} 
[2026-06-02 06:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":89399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:59:40] local.INFO: GPS data processed {"connection_id":89399,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:59:40] local.INFO: Acknowledgment sent {"connection_id":89399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 06:59:42] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:42] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:42] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 06:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 06:59:42] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:42] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:42] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 06:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:59:50] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:50] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 06:59:50] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 06:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 06:59:50] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f37328012d7e398005d35320000600a10c..."} 
[2026-06-02 06:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f37328012d7e398005d35320000600a10c..."} 
[2026-06-02 06:59:50] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f37328012d7e398005d35320000600a10c..."} 
[2026-06-02 06:59:50] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 06:59:50] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 06:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97735456,"longitude_deg":76.3246976,"latitude_deg":9.7735456,"altitude":6,"angle":161,"satellites":12,"speed":2,"hex_longitude":"2d7e3980","hex_latitude":"05d35320","is_valid_coordinates":true} 
[2026-06-02 06: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-06-02 06:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773127680001,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87635491960127488,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684960061440,"note":"Value kept but may cause issues"} 
[2026-06-02 06:59:50] 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-06-02 06:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780363785000,"timestamp_ms":1780363785000,"timestamp_seconds":1780363785,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f37328"} 
[2026-06-02 06:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 06:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 06: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 06:59:50] 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-06-02 06: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-06-02 06:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 06:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 06:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 06:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 06:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 06:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 06:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 06:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 06:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773127680001,"66":13580,"115":206,"85":15104,"24":2,"16":87635491960127488,"45":9095441684960061440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-02 06:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 06:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 06:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773127680001,"description":"Unknown IO ID 0"} 
[2026-06-02 06:59:50] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 06:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 06:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87635491960127488,"km_value":87635491960127.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 06:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684960061440,"description":"Unknown IO ID 45"} 
[2026-06-02 06:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773127680001,"power":13580,"unknown_115":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095441684960061440}} 
[2026-06-02 06:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 06:59:50] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 06:59:50] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:00:21] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f3f028012d7e2e8005d35510000201590d..."} 
[2026-06-02 07:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f3f028012d7e2e8005d35510000201590d..."} 
[2026-06-02 07:00:21] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f3f028012d7e2e8005d35510000201590d..."} 
[2026-06-02 07:00:21] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:00:21] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:00:21] local.INFO: GPS Element Parsed {"raw_longitude":763244160,"raw_latitude":97735952,"longitude_deg":76.324416,"latitude_deg":9.7735952,"altitude":2,"angle":345,"satellites":13,"speed":12,"hex_longitude":"2d7e2e80","hex_latitude":"05d35510","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773136384001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87635741068230656,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147657906176,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:21] 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-06-02 07:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780363817000,"timestamp_ms":1780363817000,"timestamp_seconds":1780363817,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f3f028"} 
[2026-06-02 07:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-06-02 07:00:21] 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-06-02 07: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-06-02 07:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773136384001,"66":13276,"109":206,"85":15104,"24":12,"16":87635741068230656,"45":9093049147657906176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773136384001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87635741068230656,"km_value":87635741068230.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147657906176,"description":"Unknown IO ID 45"} 
[2026-06-02 07:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773136384001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9093049147657906176}} 
[2026-06-02 07:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:00:21] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:00:21] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:00:24] local.INFO: TCP Data received {"connection_id":90614,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:00:24] local.INFO: Processing buffer {"connection_id":90614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:00:24] local.INFO: IMEI packet received {"connection_id":90614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":90614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:00:30] local.INFO: TCP Data received {"connection_id":90614,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:00:30] local.INFO: Processing buffer {"connection_id":90614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:00:30] local.INFO: IMEI packet received {"connection_id":90614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":90614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:00:30] local.INFO: TCP Data received {"connection_id":90614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f29098012d2ee90006b90bc00009014a2e..."} 
[2026-06-02 07:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f29098012d2ee90006b90bc00009014a2e..."} 
[2026-06-02 07:00:30] local.INFO: Processing buffer {"connection_id":90614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f29098012d2ee90006b90bc00009014a2e..."} 
[2026-06-02 07:00:30] local.INFO: Packet analysis {"connection_id":90614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f2"} 
[2026-06-02 07:00:30] local.INFO: Extracted packet for processing {"connection_id":90614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f2"} 
[2026-06-02 07:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758049024,"raw_latitude":112790464,"longitude_deg":75.8049024,"latitude_deg":11.2790464,"altitude":9,"angle":330,"satellites":46,"speed":59,"hex_longitude":"2d2ee900","hex_latitude":"06b90bc0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773112576001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305090386236276736,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3385369942515632128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:30] 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-06-02 07:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780363727000,"timestamp_ms":1780363727000,"timestamp_seconds":1780363727,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f29098"} 
[2026-06-02 07:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:00: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-06-02 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 07:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:00:30] 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-06-02 07:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773112576001,"66":27745,"81":21760,"24":59,"16":305090386236276736,"45":3385369942515632128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773112576001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-06-02 07:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305090386236276736,"km_value":305090386236276.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3385369942515632128,"description":"Unknown IO ID 45"} 
[2026-06-02 07:00:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773112576001,"power":27745,"unknown_81":21760,"ignition":59,"odometer":null,"unknown_45":3385369942515632128}} 
[2026-06-02 07:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":90614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:00:30] local.INFO: GPS data processed {"connection_id":90614,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:00:30] local.INFO: Acknowledgment sent {"connection_id":90614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:00:52] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f3f410012d7e2e8005d35648000200080d..."} 
[2026-06-02 07:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f3f410012d7e2e8005d35648000200080d..."} 
[2026-06-02 07:00:52] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f3f410012d7e2e8005d35648000200080d..."} 
[2026-06-02 07:00:52] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:00:52] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:00:52] local.INFO: GPS Element Parsed {"raw_longitude":763244160,"raw_latitude":97736264,"longitude_deg":76.324416,"latitude_deg":9.7736264,"altitude":2,"angle":8,"satellites":13,"speed":12,"hex_longitude":"2d7e2e80","hex_latitude":"05d35648","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773137152001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87635753953132544,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092345460216369152,"note":"Value kept but may cause issues"} 
[2026-06-02 07:00: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-06-02 07:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780363818000,"timestamp_ms":1780363818000,"timestamp_seconds":1780363818,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f3f410"} 
[2026-06-02 07:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 07:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773137152001,"66":13276,"109":206,"85":15104,"24":12,"16":87635753953132544,"45":9092345460216369152},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773137152001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:00:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87635753953132544,"km_value":87635753953132.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092345460216369152,"description":"Unknown IO ID 45"} 
[2026-06-02 07:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773137152001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9092345460216369152}} 
[2026-06-02 07:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:00:52] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:00:52] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:01:02] local.INFO: TCP Data received {"connection_id":90614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f3bd60012d2e338006ba76e80014014f2a..."} 
[2026-06-02 07:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f3bd60012d2e338006ba76e80014014f2a..."} 
[2026-06-02 07:01:02] local.INFO: Processing buffer {"connection_id":90614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f3bd60012d2e338006ba76e80014014f2a..."} 
[2026-06-02 07:01:02] local.INFO: Packet analysis {"connection_id":90614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:01:02] local.INFO: Extracted packet for processing {"connection_id":90614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758002560,"raw_latitude":112883432,"longitude_deg":75.800256,"latitude_deg":11.2883432,"altitude":20,"angle":335,"satellites":42,"speed":58,"hex_longitude":"2d2e3380","hex_latitude":"06ba76e8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773132288001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305095415642980352,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3333437809336207360,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780363804000,"timestamp_ms":1780363804000,"timestamp_seconds":1780363804,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f3bd60"} 
[2026-06-02 07:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:01: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-06-02 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 07:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:01:02] 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-06-02 07:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773132288001,"66":27832,"139":206,"81":20992,"24":58,"16":305095415642980352,"45":3333437809336207360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-06-02 07:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773132288001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:01:02] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 07:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305095415642980352,"km_value":305095415642980.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3333437809336207360,"description":"Unknown IO ID 45"} 
[2026-06-02 07:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773132288001,"power":27832,"unknown_139":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3333437809336207360}} 
[2026-06-02 07:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":90614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:01:02] local.INFO: GPS data processed {"connection_id":90614,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:01:02] local.INFO: Acknowledgment sent {"connection_id":90614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:01:23] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f4af90012d7e5ec005d34f900009009e0d..."} 
[2026-06-02 07:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f4af90012d7e5ec005d34f900009009e0d..."} 
[2026-06-02 07:01:23] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f4af90012d7e5ec005d34f900009009e0d..."} 
[2026-06-02 07:01:23] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f4"} 
[2026-06-02 07:01:23] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f4"} 
[2026-06-02 07:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763256512,"raw_latitude":97734544,"longitude_deg":76.3256512,"latitude_deg":9.7734544,"altitude":9,"angle":158,"satellites":13,"speed":19,"hex_longitude":"2d7e5ec0","hex_latitude":"05d34f90","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773149440001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87636415378096128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105645152865734656,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01: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-06-02 07:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780363866000,"timestamp_ms":1780363866000,"timestamp_seconds":1780363866,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f4af90"} 
[2026-06-02 07:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:01:23] 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-06-02 07: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-06-02 07:01:23] 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-06-02 07: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-06-02 07:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773149440001,"66":13537,"109":206,"85":15104,"24":19,"16":87636415378096128,"45":9105645152865734656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773149440001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:01:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:01:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87636415378096128,"km_value":87636415378096.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105645152865734656,"description":"Unknown IO ID 45"} 
[2026-06-02 07:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773149440001,"power":13537,"unknown_109":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9105645152865734656}} 
[2026-06-02 07:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:01:23] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:01:23] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:01:24] local.INFO: TCP Data received {"connection_id":90616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:01:24] local.INFO: Processing buffer {"connection_id":90616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:01:24] local.INFO: IMEI packet received {"connection_id":90616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":90616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:01:30] local.INFO: TCP Data received {"connection_id":90616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:01:30] local.INFO: Processing buffer {"connection_id":90616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:01:30] local.INFO: IMEI packet received {"connection_id":90616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":90616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:01:39] local.INFO: TCP Data received {"connection_id":90616,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f3d4d0012d2e24c006ba96e00014014f2b..."} 
[2026-06-02 07:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f3d4d0012d2e24c006ba96e00014014f2b..."} 
[2026-06-02 07:01:39] local.INFO: Processing buffer {"connection_id":90616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f3d4d0012d2e24c006ba96e00014014f2b..."} 
[2026-06-02 07:01:39] local.INFO: Packet analysis {"connection_id":90616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:01:39] local.INFO: Extracted packet for processing {"connection_id":90616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":757998784,"raw_latitude":112891616,"longitude_deg":75.7998784,"latitude_deg":11.2891616,"altitude":20,"angle":335,"satellites":43,"speed":58,"hex_longitude":"2d2e24c0","hex_latitude":"06ba96e0","is_valid_coordinates":true} 
[2026-06-02 07:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773133824001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305095849434677248,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3329145315943442432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780363810000,"timestamp_ms":1780363810000,"timestamp_seconds":1780363810,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f3d4d0"} 
[2026-06-02 07:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 07:01:39] 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-06-02 07: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-06-02 07:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:01:39] 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-06-02 07:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773133824001,"66":27974,"139":206,"81":20992,"24":58,"16":305095849434677248,"45":3329145315943442432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-06-02 07:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773133824001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:01:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 07:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305095849434677248,"km_value":305095849434677.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3329145315943442432,"description":"Unknown IO ID 45"} 
[2026-06-02 07:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773133824001,"power":27974,"unknown_139":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3329145315943442432}} 
[2026-06-02 07:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":90616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:01:39] local.INFO: GPS data processed {"connection_id":90616,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:01:39] local.INFO: Acknowledgment sent {"connection_id":90616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:01:54] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f4b760012d7e5fc005d34ab0000900ac0d..."} 
[2026-06-02 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f4b760012d7e5fc005d34ab0000900ac0d..."} 
[2026-06-02 07:01:54] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f4b760012d7e5fc005d34ab0000900ac0d..."} 
[2026-06-02 07:01:54] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f4"} 
[2026-06-02 07:01:54] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f4"} 
[2026-06-02 07:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763256768,"raw_latitude":97733296,"longitude_deg":76.3256768,"latitude_deg":9.7733296,"altitude":9,"angle":172,"satellites":13,"speed":23,"hex_longitude":"2d7e5fc0","hex_latitude":"05d34ab0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773149696001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87636475507638272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105926627842297856,"note":"Value kept but may cause issues"} 
[2026-06-02 07:01: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-06-02 07:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780363868000,"timestamp_ms":1780363868000,"timestamp_seconds":1780363868,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f4b760"} 
[2026-06-02 07:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:01:54] 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-06-02 07: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":225,"data_length":795,"current_offset":136} 
[2026-06-02 07:01:54] 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-06-02 07: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-06-02 07:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773149696001,"66":13363,"109":206,"85":15104,"24":23,"16":87636475507638272,"45":9105926627842297856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773149696001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:01:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87636475507638272,"km_value":87636475507638.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105926627842297856,"description":"Unknown IO ID 45"} 
[2026-06-02 07:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773149696001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9105926627842297856}} 
[2026-06-02 07:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:01:54] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:01:54] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:02:10] local.INFO: TCP Data received {"connection_id":90616,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f3ec40012d2e168006bab6800012014f2c..."} 
[2026-06-02 07:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f3ec40012d2e168006bab6800012014f2c..."} 
[2026-06-02 07:02:10] local.INFO: Processing buffer {"connection_id":90616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f3ec40012d2e168006bab6800012014f2c..."} 
[2026-06-02 07:02:10] local.INFO: Packet analysis {"connection_id":90616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:02:10] local.INFO: Extracted packet for processing {"connection_id":90616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f3"} 
[2026-06-02 07:02:10] local.INFO: GPS Element Parsed {"raw_longitude":757995136,"raw_latitude":112899712,"longitude_deg":75.7995136,"latitude_deg":11.2899712,"altitude":18,"angle":335,"satellites":44,"speed":58,"hex_longitude":"2d2e1680","hex_latitude":"06bab680","is_valid_coordinates":true} 
[2026-06-02 07:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773135360001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305096278931406848,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3324993560039055360,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780363816000,"timestamp_ms":1780363816000,"timestamp_seconds":1780363816,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f3ec40"} 
[2026-06-02 07:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 07:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773135360001,"66":27908,"139":206,"81":20992,"24":58,"16":305096278931406848,"45":3324993560039055360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-06-02 07:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773135360001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:02:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 07:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305096278931406848,"km_value":305096278931406.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3324993560039055360,"description":"Unknown IO ID 45"} 
[2026-06-02 07:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773135360001,"power":27908,"unknown_139":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3324993560039055360}} 
[2026-06-02 07:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":90616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:02:10] local.INFO: GPS data processed {"connection_id":90616,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:02:10] local.INFO: Acknowledgment sent {"connection_id":90616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:02:14] local.INFO: TCP Data received {"connection_id":89401,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:02:14] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:02:14] local.INFO: IMEI packet received {"connection_id":89401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":89401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:02:25] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f4de70012d7e630005d32640000a00ae0d..."} 
[2026-06-02 07:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f4de70012d7e630005d32640000a00ae0d..."} 
[2026-06-02 07:02:25] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f4de70012d7e630005d32640000a00ae0d..."} 
[2026-06-02 07:02:25] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f4"} 
[2026-06-02 07:02:25] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f4"} 
[2026-06-02 07:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763257600,"raw_latitude":97723968,"longitude_deg":76.32576,"latitude_deg":9.7723968,"altitude":10,"angle":174,"satellites":13,"speed":39,"hex_longitude":"2d7e6300","hex_latitude":"05d32640","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773150208001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87636930774171648,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106208102818689024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780363878000,"timestamp_ms":1780363878000,"timestamp_seconds":1780363878,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f4de70"} 
[2026-06-02 07:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:02:25] 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-06-02 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 07:02: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-06-02 07: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-06-02 07:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773150208001,"66":13319,"109":206,"85":15104,"24":39,"16":87636930774171648,"45":9106208102818689024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773150208001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:02:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87636930774171648,"km_value":87636930774171.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106208102818689024,"description":"Unknown IO ID 45"} 
[2026-06-02 07:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773150208001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9106208102818689024}} 
[2026-06-02 07:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:02:25] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:02:25] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:02:30] local.INFO: TCP Data received {"connection_id":90617,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:02:30] local.INFO: Processing buffer {"connection_id":90617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:02:30] local.INFO: IMEI packet received {"connection_id":90617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":90617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:02:30] local.INFO: TCP Data received {"connection_id":90617,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:02:30] local.INFO: Processing buffer {"connection_id":90617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:02:30] local.INFO: IMEI packet received {"connection_id":90617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":90617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:02:31] local.INFO: TCP Data received {"connection_id":90617,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f51520012d2d3fc006bc1f50001201442e..."} 
[2026-06-02 07:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f51520012d2d3fc006bc1f50001201442e..."} 
[2026-06-02 07:02:31] local.INFO: Processing buffer {"connection_id":90617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f51520012d2d3fc006bc1f50001201442e..."} 
[2026-06-02 07:02:31] local.INFO: Packet analysis {"connection_id":90617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:02:31] local.INFO: Extracted packet for processing {"connection_id":90617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:02:31] local.INFO: GPS Element Parsed {"raw_longitude":757940160,"raw_latitude":112992080,"longitude_deg":75.794016,"latitude_deg":11.299208,"altitude":18,"angle":324,"satellites":46,"speed":55,"hex_longitude":"2d2d3fc0","hex_latitude":"06bc1f50","is_valid_coordinates":true} 
[2026-06-02 07:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773154560001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305101505906606080,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3267502296069597184,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:31] 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-06-02 07:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780363892000,"timestamp_ms":1780363892000,"timestamp_seconds":1780363892,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f51520"} 
[2026-06-02 07:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:02: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-06-02 07:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:02:31] 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-06-02 07:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773154560001,"66":27843,"124":206,"81":20992,"24":55,"16":305101505906606080,"45":3267502296069597184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-06-02 07:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773154560001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:02:31] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-02 07:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305101505906606080,"km_value":305101505906606.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3267502296069597184,"description":"Unknown IO ID 45"} 
[2026-06-02 07:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773154560001,"power":27843,"unknown_124":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3267502296069597184}} 
[2026-06-02 07:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":90617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:02:31] local.INFO: GPS data processed {"connection_id":90617,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:02:31] local.INFO: Acknowledgment sent {"connection_id":90617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:02:35] local.INFO: TCP Data received {"connection_id":90617,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f53078012d2d28c006bc3d90001101422d..."} 
[2026-06-02 07:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f53078012d2d28c006bc3d90001101422d..."} 
[2026-06-02 07:02:35] local.INFO: Processing buffer {"connection_id":90617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f53078012d2d28c006bc3d90001101422d..."} 
[2026-06-02 07:02:35] local.INFO: Packet analysis {"connection_id":90617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:02:35] local.INFO: Extracted packet for processing {"connection_id":90617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:02:35] local.INFO: GPS Element Parsed {"raw_longitude":757934272,"raw_latitude":112999824,"longitude_deg":75.7934272,"latitude_deg":11.2999824,"altitude":17,"angle":322,"satellites":45,"speed":55,"hex_longitude":"2d2d28c0","hex_latitude":"06bc3d90","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773156352001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305101974058041344,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3260535790398033920,"note":"Value kept but may cause issues"} 
[2026-06-02 07:02:35] 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-06-02 07:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780363899000,"timestamp_ms":1780363899000,"timestamp_seconds":1780363899,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f53078"} 
[2026-06-02 07:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773156352001,"66":27908,"124":206,"81":20992,"24":55,"16":305101974058041344,"45":3260535790398033920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-06-02 07:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773156352001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:02:35] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-02 07:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305101974058041344,"km_value":305101974058041.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3260535790398033920,"description":"Unknown IO ID 45"} 
[2026-06-02 07:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773156352001,"power":27908,"unknown_124":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3260535790398033920}} 
[2026-06-02 07:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":90617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:02:35] local.INFO: GPS data processed {"connection_id":90617,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:02:35] local.INFO: Acknowledgment sent {"connection_id":90617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:03:01] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f60f20012d7ee74005d32e38000800550e..."} 
[2026-06-02 07:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f60f20012d7ee74005d32e38000800550e..."} 
[2026-06-02 07:03:01] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f60f20012d7ee74005d32e38000800550e..."} 
[2026-06-02 07:03:01] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:03:01] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763291456,"raw_latitude":97726008,"longitude_deg":76.3291456,"latitude_deg":9.7726008,"altitude":8,"angle":85,"satellites":14,"speed":18,"hex_longitude":"2d7ee740","hex_latitude":"05d32e38","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773169664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87639039603113984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137874037696411648,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780363956000,"timestamp_ms":1780363956000,"timestamp_seconds":1780363956,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f60f20"} 
[2026-06-02 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-06-02 07:03:01] 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-06-02 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2247435456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4115898369,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":211,"raw_value":279223237033594112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040077,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3540238336,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57787500785980731,"corrected_to":0} 
[2026-06-02 07:03:01] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2366642899089178629,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:01] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,90,158,165,45,128,33,10,14,66,150,30,13,103,64,1,240,105,227,133,211,4,113,205,26,122,168,239,51,2,55,5,11,247,245],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":247,"original":57787500785980731,"validated":0}]} 
[2026-06-02 07:03:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720656264859156480,"timestamp_seconds":720656264859156.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 07:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773169664001,"66":13200,"109":206,"85":15104,"24":18,"16":87639039603113984,"45":9137874037696411648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773169664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:03:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87639039603113984,"km_value":87639039603113.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137874037696411648,"description":"Unknown IO ID 45"} 
[2026-06-02 07:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773169664001,"power":13200,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9137874037696411648}} 
[2026-06-02 07:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:03:01] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:03:01] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:03:06] local.INFO: TCP Data received {"connection_id":90617,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f54bd0012d2d0f8006bc5c380012013f2c..."} 
[2026-06-02 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f54bd0012d2d0f8006bc5c380012013f2c..."} 
[2026-06-02 07:03:06] local.INFO: Processing buffer {"connection_id":90617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f54bd0012d2d0f8006bc5c380012013f2c..."} 
[2026-06-02 07:03:06] local.INFO: Packet analysis {"connection_id":90617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:03:06] local.INFO: Extracted packet for processing {"connection_id":90617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":757927808,"raw_latitude":113007672,"longitude_deg":75.7927808,"latitude_deg":11.3007672,"altitude":18,"angle":319,"satellites":44,"speed":58,"hex_longitude":"2d2d0f80","hex_latitude":"06bc5c38","is_valid_coordinates":true} 
[2026-06-02 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773158144001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305102463684313088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3254061865935671296,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:06] 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-06-02 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780363906000,"timestamp_ms":1780363906000,"timestamp_seconds":1780363906,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f54bd0"} 
[2026-06-02 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773158144001,"66":27974,"124":206,"81":20992,"24":58,"16":305102463684313088,"45":3254061865935671296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-06-02 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773158144001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:03:06] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-02 07:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305102463684313088,"km_value":305102463684313.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3254061865935671296,"description":"Unknown IO ID 45"} 
[2026-06-02 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773158144001,"power":27974,"unknown_124":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3254061865935671296}} 
[2026-06-02 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":90617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:03:06] local.INFO: GPS data processed {"connection_id":90617,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:03:06] local.INFO: Acknowledgment sent {"connection_id":90617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:03:24] local.INFO: TCP Data received {"connection_id":89402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:24] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:24] local.INFO: IMEI packet received {"connection_id":89402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":89402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:03:27] local.INFO: TCP Data received {"connection_id":89402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:27] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:27] local.INFO: IMEI packet received {"connection_id":89402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":89402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:03:30] local.INFO: TCP Data received {"connection_id":89402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:30] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:03:30] local.INFO: IMEI packet received {"connection_id":89402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":89402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:03:32] local.INFO: TCP Data received {"connection_id":89402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f56340012d2cf7c006bc76e80013013f27..."} 
[2026-06-02 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f56340012d2cf7c006bc76e80013013f27..."} 
[2026-06-02 07:03:32] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f56340012d2cf7c006bc76e80013013f27..."} 
[2026-06-02 07:03:32] local.INFO: Packet analysis {"connection_id":89402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:03:32] local.INFO: Extracted packet for processing {"connection_id":89402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f5"} 
[2026-06-02 07:03:32] local.INFO: GPS Element Parsed {"raw_longitude":757921728,"raw_latitude":113014504,"longitude_deg":75.7921728,"latitude_deg":11.3014504,"altitude":19,"angle":319,"satellites":39,"speed":60,"hex_longitude":"2d2cf7c0","hex_latitude":"06bc76e8","is_valid_coordinates":true} 
[2026-06-02 07:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773159936001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305102901770977280,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3246954622775736320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:32] 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-06-02 07:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780363912000,"timestamp_ms":1780363912000,"timestamp_seconds":1780363912,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f56340"} 
[2026-06-02 07:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:03: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-06-02 07:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 07:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:03:32] 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-06-02 07:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773159936001,"66":27865,"124":206,"81":20992,"24":60,"16":305102901770977280,"45":3246954622775736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-06-02 07:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773159936001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:03:32] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-02 07:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305102901770977280,"km_value":305102901770977.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3246954622775736320,"description":"Unknown IO ID 45"} 
[2026-06-02 07:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773159936001,"power":27865,"unknown_124":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3246954622775736320}} 
[2026-06-02 07:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":89402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:03:32] local.INFO: GPS data processed {"connection_id":89402,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:03:32] local.INFO: Acknowledgment sent {"connection_id":89402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:03:41] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f641e8012d7f044005d33278000c00410e..."} 
[2026-06-02 07:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f641e8012d7f044005d33278000c00410e..."} 
[2026-06-02 07:03:41] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f641e8012d7f044005d33278000c00410e..."} 
[2026-06-02 07:03:41] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:03:41] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763298880,"raw_latitude":97727096,"longitude_deg":76.329888,"latitude_deg":9.7727096,"altitude":12,"angle":65,"satellites":14,"speed":19,"hex_longitude":"2d7f0440","hex_latitude":"05d33278","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773172736001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87639400380366848,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144347962161117184,"note":"Value kept but may cause issues"} 
[2026-06-02 07:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780363969000,"timestamp_ms":1780363969000,"timestamp_seconds":1780363969,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f641e8"} 
[2026-06-02 07:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:03:41] 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-06-02 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 07:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773172736001,"66":13428,"109":206,"85":15104,"24":19,"16":87639400380366848,"45":9144347962161117184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773172736001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:03:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87639400380366848,"km_value":87639400380366.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144347962161117184,"description":"Unknown IO ID 45"} 
[2026-06-02 07:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773172736001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9144347962161117184}} 
[2026-06-02 07:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:03:41] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:03:41] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:04:06] local.INFO: TCP Data received {"connection_id":89402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f69bc0012d2bb78006bdca78001101382d..."} 
[2026-06-02 07:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f69bc0012d2bb78006bdca78001101382d..."} 
[2026-06-02 07:04:06] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f69bc0012d2bb78006bdca78001101382d..."} 
[2026-06-02 07:04:06] local.INFO: Packet analysis {"connection_id":89402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:04:06] local.INFO: Extracted packet for processing {"connection_id":89402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":757839744,"raw_latitude":113101432,"longitude_deg":75.7839744,"latitude_deg":11.3101432,"altitude":17,"angle":312,"satellites":45,"speed":52,"hex_longitude":"2d2bb780","hex_latitude":"06bdca78","is_valid_coordinates":true} 
[2026-06-02 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773180160001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305108665617088512,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3157445580203898880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780363992000,"timestamp_ms":1780363992000,"timestamp_seconds":1780363992,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f69bc0"} 
[2026-06-02 07:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 07:04: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-06-02 07:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773180160001,"66":27865,"125":206,"81":20992,"24":52,"16":305108665617088512,"45":3157445580203898880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-06-02 07:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773180160001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:04:06] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-02 07:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305108665617088512,"km_value":305108665617088.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3157445580203898880,"description":"Unknown IO ID 45"} 
[2026-06-02 07:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773180160001,"power":27865,"unknown_125":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":3157445580203898880}} 
[2026-06-02 07:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":89402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:04:06] local.INFO: GPS data processed {"connection_id":89402,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:04:06] local.INFO: Acknowledgment sent {"connection_id":89402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:04:25] local.INFO: TCP Data received {"connection_id":89403,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:04:25] local.INFO: Processing buffer {"connection_id":89403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:04:25] local.INFO: IMEI packet received {"connection_id":89403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":89403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:04:28] local.INFO: TCP Data received {"connection_id":89403,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 07:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89403,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 07:04:28] local.INFO: Processing buffer {"connection_id":89403,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 07:04:28] local.INFO: IMEI packet received {"connection_id":89403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":89403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:04:29] local.INFO: TCP Data received {"connection_id":90620,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:29] local.INFO: Processing buffer {"connection_id":90620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:29] local.INFO: IMEI packet received {"connection_id":90620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":90620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:04:30] local.INFO: TCP Data received {"connection_id":90620,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:30] local.INFO: Processing buffer {"connection_id":90620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:30] local.INFO: IMEI packet received {"connection_id":90620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":90620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:04:31] local.INFO: TCP Data received {"connection_id":89403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f645d0012d7f064005d333b8000d00330e..."} 
[2026-06-02 07:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f645d0012d7f064005d333b8000d00330e..."} 
[2026-06-02 07:04:31] local.INFO: Processing buffer {"connection_id":89403,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e85..."} 
[2026-06-02 07:04:31] local.INFO: IMEI packet received {"connection_id":89403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":89403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:04:33] local.INFO: TCP Data received {"connection_id":89403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f7ad30012d803e0005d38f28000a009614..."} 
[2026-06-02 07:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f7ad30012d803e0005d38f28000a009614..."} 
[2026-06-02 07:04:33] local.INFO: Processing buffer {"connection_id":89403,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e85f645d0012d7f064005d333b8000d00330e..."} 
[2026-06-02 07:04:33] local.INFO: Packet analysis {"connection_id":89403,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:04:33] local.INFO: Extracted packet for processing {"connection_id":89403,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763299392,"raw_latitude":97727416,"longitude_deg":76.3299392,"latitude_deg":9.7727416,"altitude":13,"angle":51,"satellites":14,"speed":20,"hex_longitude":"2d7f0640","hex_latitude":"05d333b8","is_valid_coordinates":true} 
[2026-06-02 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773176064001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87639430445137920,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152510736486004736,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04: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-06-02 07:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780363970000,"timestamp_ms":1780363970000,"timestamp_seconds":1780363970,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f645d0"} 
[2026-06-02 07:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-02 07:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773176064001,"66":13428,"109":206,"85":15104,"24":20,"16":87639430445137920,"45":9152510736486004736},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773176064001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87639430445137920,"km_value":87639430445137.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152510736486004736,"description":"Unknown IO ID 45"} 
[2026-06-02 07:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773176064001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9152510736486004736}} 
[2026-06-02 07:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":89403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:04:33] local.INFO: GPS data processed {"connection_id":89403,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:04:33] local.INFO: Acknowledgment sent {"connection_id":89403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:04:33] local.INFO: Packet analysis {"connection_id":89403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:04:33] local.INFO: Extracted packet for processing {"connection_id":89403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763379200,"raw_latitude":97750824,"longitude_deg":76.33792,"latitude_deg":9.7750824,"altitude":10,"angle":150,"satellites":20,"speed":29,"hex_longitude":"2d803e00","hex_latitude":"05d38f28","is_valid_coordinates":true} 
[2026-06-02 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773199616001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87643828491649024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206342775739383808,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04: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-06-02 07:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780364062000,"timestamp_ms":1780364062000,"timestamp_seconds":1780364062,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f7ad30"} 
[2026-06-02 07:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 07:04: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-06-02 07:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773199616001,"66":13048,"109":206,"85":15104,"24":29,"16":87643828491649024,"45":-9206342775739383808},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773199616001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87643828491649024,"km_value":87643828491649.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206342775739383808,"description":"Unknown IO ID 45"} 
[2026-06-02 07:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773199616001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9206342775739383808}} 
[2026-06-02 07:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":89403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:04:33] local.INFO: GPS data processed {"connection_id":89403,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:04:33] local.INFO: Acknowledgment sent {"connection_id":89403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:04:34] local.INFO: TCP Data received {"connection_id":89403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f7bcd0012d80424005d386200009008815..."} 
[2026-06-02 07:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f7bcd0012d80424005d386200009008815..."} 
[2026-06-02 07:04:34] local.INFO: Processing buffer {"connection_id":89403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f7bcd0012d80424005d386200009008815..."} 
[2026-06-02 07:04:34] local.INFO: Packet analysis {"connection_id":89403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:04:34] local.INFO: Extracted packet for processing {"connection_id":89403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763380288,"raw_latitude":97748512,"longitude_deg":76.3380288,"latitude_deg":9.7748512,"altitude":9,"angle":136,"satellites":21,"speed":20,"hex_longitude":"2d804240","hex_latitude":"05d38620","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773199872001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87643953045700608,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205920563274504192,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780364066000,"timestamp_ms":1780364066000,"timestamp_seconds":1780364066,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f7bcd0"} 
[2026-06-02 07:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:04:34] 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-06-02 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 07:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773199872001,"66":12885,"109":206,"85":15104,"24":20,"16":87643953045700608,"45":-9205920563274504192},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773199872001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:04:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87643953045700608,"km_value":87643953045700.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205920563274504192,"description":"Unknown IO ID 45"} 
[2026-06-02 07:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773199872001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9205920563274504192}} 
[2026-06-02 07:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":89403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:04:34] local.INFO: GPS data processed {"connection_id":89403,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:04:34] local.INFO: Acknowledgment sent {"connection_id":89403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:04:35] local.INFO: TCP Data received {"connection_id":90620,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:35] local.INFO: Processing buffer {"connection_id":90620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:04:35] local.INFO: IMEI packet received {"connection_id":90620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":90620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:04:35] local.INFO: TCP Data received {"connection_id":90620,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f6b718012d2b9c4006bde2d0001001392e..."} 
[2026-06-02 07:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f6b718012d2b9c4006bde2d0001001392e..."} 
[2026-06-02 07:04:35] local.INFO: Processing buffer {"connection_id":90620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f6b718012d2b9c4006bde2d0001001392e..."} 
[2026-06-02 07:04:35] local.INFO: Packet analysis {"connection_id":90620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:04:35] local.INFO: Extracted packet for processing {"connection_id":90620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:04:35] local.INFO: GPS Element Parsed {"raw_longitude":757832768,"raw_latitude":113107664,"longitude_deg":75.7832768,"latitude_deg":11.3107664,"altitude":16,"angle":313,"satellites":46,"speed":53,"hex_longitude":"2d2b9c40","hex_latitude":"06bde2d0","is_valid_coordinates":true} 
[2026-06-02 07:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773181952001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305109112293687296,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3150127230811273216,"note":"Value kept but may cause issues"} 
[2026-06-02 07:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780363999000,"timestamp_ms":1780363999000,"timestamp_seconds":1780363999,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f6b718"} 
[2026-06-02 07:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:04: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-06-02 07:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773181952001,"66":27800,"125":206,"81":20992,"24":53,"16":305109112293687296,"45":3150127230811273216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-06-02 07:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773181952001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:04:35] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-02 07:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305109112293687296,"km_value":305109112293687.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3150127230811273216,"description":"Unknown IO ID 45"} 
[2026-06-02 07:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773181952001,"power":27800,"unknown_125":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3150127230811273216}} 
[2026-06-02 07:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":90620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:04:35] local.INFO: GPS data processed {"connection_id":90620,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:04:35] local.INFO: Acknowledgment sent {"connection_id":90620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:05:05] local.INFO: TCP Data received {"connection_id":89403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f7c0b8012d80438005d384b80009007c15..."} 
[2026-06-02 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f7c0b8012d80438005d384b80009007c15..."} 
[2026-06-02 07:05:05] local.INFO: Processing buffer {"connection_id":89403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f7c0b8012d80438005d384b80009007c15..."} 
[2026-06-02 07:05:05] local.INFO: Packet analysis {"connection_id":89403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:05:05] local.INFO: Extracted packet for processing {"connection_id":89403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763380608,"raw_latitude":97748152,"longitude_deg":76.3380608,"latitude_deg":9.7748152,"altitude":9,"angle":124,"satellites":21,"speed":18,"hex_longitude":"2d804380","hex_latitude":"05d384b8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773200896001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87643974520537088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204724294624075776,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05: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-06-02 07:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780364067000,"timestamp_ms":1780364067000,"timestamp_seconds":1780364067,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f7c0b8"} 
[2026-06-02 07:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:05:05] 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-06-02 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 07:05:05] 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-06-02 07: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-06-02 07:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773200896001,"66":12341,"109":206,"85":15104,"24":18,"16":87643974520537088,"45":-9204724294624075776},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 07:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773200896001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:05:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 07:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87643974520537088,"km_value":87643974520537.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204724294624075776,"description":"Unknown IO ID 45"} 
[2026-06-02 07:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773200896001,"power":12341,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9204724294624075776}} 
[2026-06-02 07:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":89403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:05:05] local.INFO: GPS data processed {"connection_id":89403,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:05:05] local.INFO: Acknowledgment sent {"connection_id":89403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:05:07] local.INFO: TCP Data received {"connection_id":90620,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f6d270012d2b818006be0180000d01402e..."} 
[2026-06-02 07:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f6d270012d2b818006be0180000d01402e..."} 
[2026-06-02 07:05:07] local.INFO: Processing buffer {"connection_id":90620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f6d270012d2b818006be0180000d01402e..."} 
[2026-06-02 07:05:07] local.INFO: Packet analysis {"connection_id":90620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:05:07] local.INFO: Extracted packet for processing {"connection_id":90620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f6"} 
[2026-06-02 07:05:07] local.INFO: GPS Element Parsed {"raw_longitude":757825920,"raw_latitude":113115520,"longitude_deg":75.782592,"latitude_deg":11.311552,"altitude":13,"angle":320,"satellites":46,"speed":62,"hex_longitude":"2d2b8180","hex_latitude":"06be0180","is_valid_coordinates":true} 
[2026-06-02 07:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773183744001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305109614804860928,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3142457037697503232,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780364006000,"timestamp_ms":1780364006000,"timestamp_seconds":1780364006,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f6d270"} 
[2026-06-02 07:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:05:07] 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-06-02 07:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773183744001,"66":27876,"125":206,"81":20992,"24":62,"16":305109614804860928,"45":3142457037697503232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-06-02 07:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773183744001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:05:07] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-02 07:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305109614804860928,"km_value":305109614804860.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3142457037697503232,"description":"Unknown IO ID 45"} 
[2026-06-02 07:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773183744001,"power":27876,"unknown_125":206,"unknown_81":20992,"ignition":62,"odometer":null,"unknown_45":3142457037697503232}} 
[2026-06-02 07:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":90620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:05:07] local.INFO: GPS data processed {"connection_id":90620,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:05:07] local.INFO: Acknowledgment sent {"connection_id":90620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:05:24] local.INFO: TCP Data received {"connection_id":89155,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:24] local.INFO: Processing buffer {"connection_id":89155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:24] local.INFO: IMEI packet received {"connection_id":89155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":89155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:05:35] local.INFO: TCP Data received {"connection_id":89403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f8b6d0012d80a60005d2faa0000900a715..."} 
[2026-06-02 07:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f8b6d0012d80a60005d2faa0000900a715..."} 
[2026-06-02 07:05:35] local.INFO: Processing buffer {"connection_id":89403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f8b6d0012d80a60005d2faa0000900a715..."} 
[2026-06-02 07:05:35] local.INFO: Packet analysis {"connection_id":89403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f8"} 
[2026-06-02 07:05:35] local.INFO: Extracted packet for processing {"connection_id":89403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f8"} 
[2026-06-02 07:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763405824,"raw_latitude":97712800,"longitude_deg":76.3405824,"latitude_deg":9.77128,"altitude":9,"angle":167,"satellites":21,"speed":27,"hex_longitude":"2d80a600","hex_latitude":"05d2faa0","is_valid_coordinates":true} 
[2026-06-02 07:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773216512001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87646787724115968,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903194075136,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780364130000,"timestamp_ms":1780364130000,"timestamp_seconds":1780364130,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f8b6d0"} 
[2026-06-02 07:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-02 07:05:35] 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-06-02 07:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773216512001,"66":12809,"167":206,"85":15104,"24":27,"16":87646787724115968,"45":-9176787903194075136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-02 07:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773216512001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:05:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-02 07:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87646787724115968,"km_value":87646787724115.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903194075136,"description":"Unknown IO ID 45"} 
[2026-06-02 07:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773216512001,"power":12809,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9176787903194075136}} 
[2026-06-02 07:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":89403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:05:35] local.INFO: GPS data processed {"connection_id":89403,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:05:35] local.INFO: Acknowledgment sent {"connection_id":89403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:05:37] local.INFO: TCP Data received {"connection_id":89155,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:37] local.INFO: Processing buffer {"connection_id":89155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:37] local.INFO: IMEI packet received {"connection_id":89155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":89155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:05:39] local.INFO: TCP Data received {"connection_id":89155,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:39] local.INFO: Processing buffer {"connection_id":89155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:05:39] local.INFO: IMEI packet received {"connection_id":89155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":89155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:05:39] local.INFO: TCP Data received {"connection_id":89155,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f7e3e0012d2a828006bf3d30000f01422e..."} 
[2026-06-02 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f7e3e0012d2a828006bf3d30000f01422e..."} 
[2026-06-02 07:05:39] local.INFO: Processing buffer {"connection_id":89155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f7e3e0012d2a828006bf3d30000f01422e..."} 
[2026-06-02 07:05:39] local.INFO: Packet analysis {"connection_id":89155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:05:39] local.INFO: Extracted packet for processing {"connection_id":89155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":757760640,"raw_latitude":113196336,"longitude_deg":75.776064,"latitude_deg":11.3196336,"altitude":15,"angle":322,"satellites":46,"speed":57,"hex_longitude":"2d2a8280","hex_latitude":"06bf3d30","is_valid_coordinates":true} 
[2026-06-02 07:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773201664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305114614146793472,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3070188337447710720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:39] 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-06-02 07:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780364076000,"timestamp_ms":1780364076000,"timestamp_seconds":1780364076,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f7e3e0"} 
[2026-06-02 07:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:05:39] 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-06-02 07:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773201664001,"66":27865,"73":206,"81":20992,"24":57,"16":305114614146793472,"45":3070188337447710720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-06-02 07:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773201664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:05:39] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-02 07:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305114614146793472,"km_value":305114614146793.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3070188337447710720,"description":"Unknown IO ID 45"} 
[2026-06-02 07:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773201664001,"power":27865,"unknown_73":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":3070188337447710720}} 
[2026-06-02 07:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":89155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:05:39] local.INFO: GPS data processed {"connection_id":89155,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:05:39] local.INFO: Acknowledgment sent {"connection_id":89155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:05:40] local.INFO: TCP Data received {"connection_id":89155,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f7ff38012d2a6a4006bf5c98000f01422e..."} 
[2026-06-02 07:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f7ff38012d2a6a4006bf5c98000f01422e..."} 
[2026-06-02 07:05:40] local.INFO: Processing buffer {"connection_id":89155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f7ff38012d2a6a4006bf5c98000f01422e..."} 
[2026-06-02 07:05:40] local.INFO: Packet analysis {"connection_id":89155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:05:40] local.INFO: Extracted packet for processing {"connection_id":89155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f7"} 
[2026-06-02 07:05:40] local.INFO: GPS Element Parsed {"raw_longitude":757754432,"raw_latitude":113204376,"longitude_deg":75.7754432,"latitude_deg":11.3204376,"altitude":15,"angle":322,"satellites":46,"speed":57,"hex_longitude":"2d2a6a40","hex_latitude":"06bf5c98","is_valid_coordinates":true} 
[2026-06-02 07:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773203456001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305115103773065216,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3063151463031975936,"note":"Value kept but may cause issues"} 
[2026-06-02 07:05:40] 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-06-02 07:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780364083000,"timestamp_ms":1780364083000,"timestamp_seconds":1780364083,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f7ff38"} 
[2026-06-02 07:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773203456001,"66":27800,"73":206,"81":20992,"24":57,"16":305115103773065216,"45":3063151463031975936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-06-02 07:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773203456001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:05:40] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-02 07:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305115103773065216,"km_value":305115103773065.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3063151463031975936,"description":"Unknown IO ID 45"} 
[2026-06-02 07:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773203456001,"power":27800,"unknown_73":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":3063151463031975936}} 
[2026-06-02 07:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":89155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:05:40] local.INFO: GPS data processed {"connection_id":89155,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:05:40] local.INFO: Acknowledgment sent {"connection_id":89155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:06:11] local.INFO: TCP Data received {"connection_id":89404,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:11] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:11] local.INFO: IMEI packet received {"connection_id":89404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":89404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:06:12] local.INFO: TCP Data received {"connection_id":89404,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:12] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:12] local.INFO: IMEI packet received {"connection_id":89404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":89404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:06:18] local.INFO: TCP Data received {"connection_id":89404,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:18] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:06:18] local.INFO: IMEI packet received {"connection_id":89404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":89404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:06:19] local.INFO: TCP Data received {"connection_id":89404,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f92c00012d80d40005d2b2b00005007316..."} 
[2026-06-02 07:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f92c00012d80d40005d2b2b00005007316..."} 
[2026-06-02 07:06:19] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f92c00012d80d40005d2b2b00005007316..."} 
[2026-06-02 07:06:19] local.INFO: Packet analysis {"connection_id":89404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:06:19] local.INFO: Extracted packet for processing {"connection_id":89404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:06:19] local.INFO: GPS Element Parsed {"raw_longitude":763417600,"raw_latitude":97694384,"longitude_deg":76.34176,"latitude_deg":9.7694384,"altitude":5,"angle":115,"satellites":22,"speed":25,"hex_longitude":"2d80d400","hex_latitude":"05d2b2b0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773224448001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87648097689141248,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164965954177409024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:19] 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-06-02 07:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780364160000,"timestamp_ms":1780364160000,"timestamp_seconds":1780364160,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f92c00"} 
[2026-06-02 07:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:06:19] 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-06-02 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 07:06:19] 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-06-02 07: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-06-02 07:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773224448001,"66":11874,"208":206,"85":15104,"24":25,"16":87648097689141248,"45":-9164965954177409024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773224448001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:06:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87648097689141248,"km_value":87648097689141.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164965954177409024,"description":"Unknown IO ID 45"} 
[2026-06-02 07:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773224448001,"power":11874,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9164965954177409024}} 
[2026-06-02 07:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":89404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:06:19] local.INFO: GPS data processed {"connection_id":89404,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:06:19] local.INFO: Acknowledgment sent {"connection_id":89404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:06:24] local.INFO: TCP Data received {"connection_id":89156,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:24] local.INFO: Processing buffer {"connection_id":89156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:24] local.INFO: IMEI packet received {"connection_id":89156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":89156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:06:27] local.INFO: TCP Data received {"connection_id":89156,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:27] local.INFO: Processing buffer {"connection_id":89156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:27] local.INFO: IMEI packet received {"connection_id":89156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":89156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:06:30] local.INFO: TCP Data received {"connection_id":89156,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:30] local.INFO: Processing buffer {"connection_id":89156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:06:30] local.INFO: IMEI packet received {"connection_id":89156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":89156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:06:30] local.INFO: TCP Data received {"connection_id":89156,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f816a8012d2a54c006bf7850000f01432e..."} 
[2026-06-02 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f816a8012d2a54c006bf7850000f01432e..."} 
[2026-06-02 07:06:30] local.INFO: Processing buffer {"connection_id":89156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f816a8012d2a54c006bf7850000f01432e..."} 
[2026-06-02 07:06:30] local.INFO: Packet analysis {"connection_id":89156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f8"} 
[2026-06-02 07:06:30] local.INFO: Extracted packet for processing {"connection_id":89156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f8"} 
[2026-06-02 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":757748928,"raw_latitude":113211472,"longitude_deg":75.7748928,"latitude_deg":11.3211472,"altitude":15,"angle":323,"satellites":46,"speed":60,"hex_longitude":"2d2a54c0","hex_latitude":"06bf7850","is_valid_coordinates":true} 
[2026-06-02 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773205248001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305115533269794816,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3056325694848800768,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:30] 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-06-02 07:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780364089000,"timestamp_ms":1780364089000,"timestamp_seconds":1780364089,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f816a8"} 
[2026-06-02 07:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:06: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-06-02 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:06:30] 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-06-02 07:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:06:30] 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-06-02 07:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773205248001,"66":27767,"32":206,"81":20992,"24":60,"16":305115533269794816,"45":3056325694848800768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-06-02 07:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773205248001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:06:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-02 07:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305115533269794816,"km_value":305115533269794.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3056325694848800768,"description":"Unknown IO ID 45"} 
[2026-06-02 07:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773205248001,"power":27767,"unknown_32":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3056325694848800768}} 
[2026-06-02 07:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":89156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:06:30] local.INFO: GPS data processed {"connection_id":89156,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:06:30] local.INFO: Acknowledgment sent {"connection_id":89156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:06:49] local.INFO: TCP Data received {"connection_id":89404,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f9bc88012d811a8005d267200003007d16..."} 
[2026-06-02 07:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f9bc88012d811a8005d267200003007d16..."} 
[2026-06-02 07:06:49] local.INFO: Processing buffer {"connection_id":89404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f9bc88012d811a8005d267200003007d16..."} 
[2026-06-02 07:06:49] local.INFO: Packet analysis {"connection_id":89404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:06:49] local.INFO: Extracted packet for processing {"connection_id":89404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763435648,"raw_latitude":97675040,"longitude_deg":76.3435648,"latitude_deg":9.767504,"altitude":3,"angle":125,"satellites":22,"speed":25,"hex_longitude":"2d811a80","hex_latitude":"05d26720","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773233664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87649596632727552,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146036761998510080,"note":"Value kept but may cause issues"} 
[2026-06-02 07:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780364197000,"timestamp_ms":1780364197000,"timestamp_seconds":1780364197,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f9bc88"} 
[2026-06-02 07:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:06:49] 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-06-02 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 07:06: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-06-02 07: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-06-02 07:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773233664001,"66":12982,"208":206,"85":15104,"24":25,"16":87649596632727552,"45":-9146036761998510080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773233664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:06:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87649596632727552,"km_value":87649596632727.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146036761998510080,"description":"Unknown IO ID 45"} 
[2026-06-02 07:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773233664001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9146036761998510080}} 
[2026-06-02 07:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":89404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:06:49] local.INFO: GPS data processed {"connection_id":89404,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:06:49] local.INFO: Acknowledgment sent {"connection_id":89404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:01] local.INFO: TCP Data received {"connection_id":89156,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f933d0012d294e0006c0bab0000d013b2e..."} 
[2026-06-02 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f933d0012d294e0006c0bab0000d013b2e..."} 
[2026-06-02 07:07:01] local.INFO: Processing buffer {"connection_id":89156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f933d0012d294e0006c0bab0000d013b2e..."} 
[2026-06-02 07:07:01] local.INFO: Packet analysis {"connection_id":89156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:01] local.INFO: Extracted packet for processing {"connection_id":89156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:01] local.INFO: GPS Element Parsed {"raw_longitude":757681664,"raw_latitude":113294000,"longitude_deg":75.7681664,"latitude_deg":11.3294,"altitude":13,"angle":315,"satellites":46,"speed":59,"hex_longitude":"2d294e00","hex_latitude":"06c0bab0","is_valid_coordinates":true} 
[2026-06-02 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773223680001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305120678640615424,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2984971788273760256,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:01] 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-06-02 07:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780364162000,"timestamp_ms":1780364162000,"timestamp_seconds":1780364162,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f933d0"} 
[2026-06-02 07:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:07: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-06-02 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:07: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-06-02 07:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:01] 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-06-02 07:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773223680001,"66":27919,"179":206,"81":20992,"24":59,"16":305120678640615424,"45":2984971788273760256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-06-02 07:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773223680001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:07:01] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-02 07:07:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305120678640615424,"km_value":305120678640615.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2984971788273760256,"description":"Unknown IO ID 45"} 
[2026-06-02 07:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773223680001,"power":27919,"unknown_179":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2984971788273760256}} 
[2026-06-02 07:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":89156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:07:01] local.INFO: GPS data processed {"connection_id":89156,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:07:01] local.INFO: Acknowledgment sent {"connection_id":89156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:13] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:13] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:13] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:07:14] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:14] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:14] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:07:16] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:17] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:17] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:07:17] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:17] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:07:17] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:07:19] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f9c458012d811b4005d26210000300ac16..."} 
[2026-06-02 07:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f9c458012d811b4005d26210000300ac16..."} 
[2026-06-02 07:07:19] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f9c458012d811b4005d26210000300ac16..."} 
[2026-06-02 07:07:19] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:19] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":763435840,"raw_latitude":97673744,"longitude_deg":76.343584,"latitude_deg":9.7673744,"altitude":3,"angle":172,"satellites":22,"speed":25,"hex_longitude":"2d811b40","hex_latitude":"05d26210","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773234432001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87649665352204288,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143855330929205248,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:19] 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-06-02 07:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780364199000,"timestamp_ms":1780364199000,"timestamp_seconds":1780364199,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f9c458"} 
[2026-06-02 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-06-02 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 07:07:19] 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-06-02 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-06-02 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-06-02 07:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773234432001,"66":12189,"208":206,"85":15104,"24":25,"16":87649665352204288,"45":-9143855330929205248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773234432001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87649665352204288,"km_value":87649665352204.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143855330929205248,"description":"Unknown IO ID 45"} 
[2026-06-02 07:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773234432001,"power":12189,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9143855330929205248}} 
[2026-06-02 07:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:07:19] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:07:19] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:23] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f9cc28012d811a0005d25ae8000200ba16..."} 
[2026-06-02 07:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f9cc28012d811a0005d25ae8000200ba16..."} 
[2026-06-02 07:07:23] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f9cc28012d811a0005d25ae8000200ba16..."} 
[2026-06-02 07:07:23] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:23] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763435520,"raw_latitude":97671912,"longitude_deg":76.343552,"latitude_deg":9.7671912,"altitude":2,"angle":186,"satellites":22,"speed":33,"hex_longitude":"2d811a00","hex_latitude":"05d25ae8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773234944001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87649755546517504,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143644224697004032,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:23] 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-06-02 07:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780364201000,"timestamp_ms":1780364201000,"timestamp_seconds":1780364201,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f9cc28"} 
[2026-06-02 07:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-02 07:07:23] 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-06-02 07: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-06-02 07:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773234944001,"66":12472,"208":206,"85":15104,"24":33,"16":87649755546517504,"45":-9143644224697004032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773234944001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:07:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87649755546517504,"km_value":87649755546517.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143644224697004032,"description":"Unknown IO ID 45"} 
[2026-06-02 07:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773234944001,"power":12472,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9143644224697004032}} 
[2026-06-02 07:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:07:23] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:07:23] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:26] local.INFO: TCP Data received {"connection_id":89558,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:07:26] local.INFO: Processing buffer {"connection_id":89558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:07:26] local.INFO: IMEI packet received {"connection_id":89558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":89558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:07:30] local.INFO: TCP Data received {"connection_id":89157,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:30] local.INFO: Processing buffer {"connection_id":89157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:30] local.INFO: IMEI packet received {"connection_id":89157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":89157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:07:30] local.INFO: TCP Data received {"connection_id":89157,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:30] local.INFO: Processing buffer {"connection_id":89157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:30] local.INFO: IMEI packet received {"connection_id":89157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":89157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:07:35] local.INFO: TCP Data received {"connection_id":89157,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:35] local.INFO: Processing buffer {"connection_id":89157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:07:35] local.INFO: IMEI packet received {"connection_id":89157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":89157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:07:36] local.INFO: TCP Data received {"connection_id":89157,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f94f28012d2931c006c0d758000e013b2e..."} 
[2026-06-02 07:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f94f28012d2931c006c0d758000e013b2e..."} 
[2026-06-02 07:07:36] local.INFO: Processing buffer {"connection_id":89157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f94f28012d2931c006c0d758000e013b2e..."} 
[2026-06-02 07:07:36] local.INFO: Packet analysis {"connection_id":89157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:36] local.INFO: Extracted packet for processing {"connection_id":89157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:36] local.INFO: GPS Element Parsed {"raw_longitude":757674432,"raw_latitude":113301336,"longitude_deg":75.7674432,"latitude_deg":11.3301336,"altitude":14,"angle":315,"satellites":46,"speed":56,"hex_longitude":"2d2931c0","hex_latitude":"06c0d758","is_valid_coordinates":true} 
[2026-06-02 07:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773225472001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305121176856821760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2976316432741740544,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:36] 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-06-02 07:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780364169000,"timestamp_ms":1780364169000,"timestamp_seconds":1780364169,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f94f28"} 
[2026-06-02 07:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 07:07: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-06-02 07:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773225472001,"66":27843,"179":206,"81":20992,"24":56,"16":305121176856821760,"45":2976316432741740544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-06-02 07:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773225472001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:07:36] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-02 07:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305121176856821760,"km_value":305121176856821.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2976316432741740544,"description":"Unknown IO ID 45"} 
[2026-06-02 07:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773225472001,"power":27843,"unknown_179":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":2976316432741740544}} 
[2026-06-02 07:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":89157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:07:36] local.INFO: GPS data processed {"connection_id":89157,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:07:36] local.INFO: Acknowledgment sent {"connection_id":89157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:37] local.INFO: TCP Data received {"connection_id":89157,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f96a80012d29168006c0f2e8000f013c2d..."} 
[2026-06-02 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f96a80012d29168006c0f2e8000f013c2d..."} 
[2026-06-02 07:07:37] local.INFO: Processing buffer {"connection_id":89157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f96a80012d29168006c0f2e8000f013c2d..."} 
[2026-06-02 07:07:37] local.INFO: Packet analysis {"connection_id":89157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:37] local.INFO: Extracted packet for processing {"connection_id":89157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":757667456,"raw_latitude":113308392,"longitude_deg":75.7667456,"latitude_deg":11.3308392,"altitude":15,"angle":316,"satellites":45,"speed":55,"hex_longitude":"2d291680","hex_latitude":"06c0f2e8","is_valid_coordinates":true} 
[2026-06-02 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773227264001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305121649303224320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2968364764651542528,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:37] 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-06-02 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780364176000,"timestamp_ms":1780364176000,"timestamp_seconds":1780364176,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f96a80"} 
[2026-06-02 07:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773227264001,"66":27843,"179":206,"81":20992,"24":55,"16":305121649303224320,"45":2968364764651542528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-06-02 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773227264001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:07:37] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-02 07:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305121649303224320,"km_value":305121649303224.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2968364764651542528,"description":"Unknown IO ID 45"} 
[2026-06-02 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773227264001,"power":27843,"unknown_179":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2968364764651542528}} 
[2026-06-02 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":89157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:07:37] local.INFO: GPS data processed {"connection_id":89157,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:07:37] local.INFO: Acknowledgment sent {"connection_id":89157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:40] local.INFO: TCP Data received {"connection_id":89157,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85f985d8012d28fbc006c10e680010013b2e..."} 
[2026-06-02 07:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85f985d8012d28fbc006c10e680010013b2e..."} 
[2026-06-02 07:07:40] local.INFO: Processing buffer {"connection_id":89157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85f985d8012d28fbc006c10e680010013b2e..."} 
[2026-06-02 07:07:40] local.INFO: Packet analysis {"connection_id":89157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:40] local.INFO: Extracted packet for processing {"connection_id":89157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85f9"} 
[2026-06-02 07:07:40] local.INFO: GPS Element Parsed {"raw_longitude":757660608,"raw_latitude":113315432,"longitude_deg":75.7660608,"latitude_deg":11.3315432,"altitude":16,"angle":315,"satellites":46,"speed":55,"hex_longitude":"2d28fbc0","hex_latitude":"06c10e68","is_valid_coordinates":true} 
[2026-06-02 07:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773229056001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305122121749626880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960694571537983488,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:40] 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-06-02 07:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780364183000,"timestamp_ms":1780364183000,"timestamp_seconds":1780364183,"priority":1,"record_length":96,"hex_timestamp":"0000019e85f985d8"} 
[2026-06-02 07:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:07: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-06-02 07:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773229056001,"66":27843,"179":206,"81":20992,"24":55,"16":305122121749626880,"45":2960694571537983488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-06-02 07:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773229056001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:07:40] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-02 07:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305122121749626880,"km_value":305122121749626.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960694571537983488,"description":"Unknown IO ID 45"} 
[2026-06-02 07:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773229056001,"power":27843,"unknown_179":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2960694571537983488}} 
[2026-06-02 07:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":89157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:07:40] local.INFO: GPS data processed {"connection_id":89157,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:07:40] local.INFO: Acknowledgment sent {"connection_id":89157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:54] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fa7bf0012d81174005d188f80000006116..."} 
[2026-06-02 07:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fa7bf0012d81174005d188f80000006116..."} 
[2026-06-02 07:07:54] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fa7bf0012d81174005d188f80000006116..."} 
[2026-06-02 07:07:54] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:07:54] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763434816,"raw_latitude":97618168,"longitude_deg":76.3434816,"latitude_deg":9.7618168,"altitude":0,"angle":97,"satellites":22,"speed":23,"hex_longitude":"2d811740","hex_latitude":"05d188f8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773246720001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87652461375913984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145544180804057088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07: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-06-02 07:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780364246000,"timestamp_ms":1780364246000,"timestamp_seconds":1780364246,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fa7bf0"} 
[2026-06-02 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-06-02 07:07: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-06-02 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015671,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399473,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2247757456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165260293,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4198586369,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3158310912,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3892391297,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3523588096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:07:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,103,158,116,45,128,136,22,10,66,112,64,137,21,80,1,240,119,227,133,209,4,113,205,58,41,17,239,50,2,55,5,49],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-06-02 07:07:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":122140281012224,"timestamp_seconds":122140281012.224,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 07:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773246720001,"66":13059,"208":206,"85":15104,"24":23,"16":87652461375913984,"45":-9145544180804057088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773246720001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:07:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87652461375913984,"km_value":87652461375913.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145544180804057088,"description":"Unknown IO ID 45"} 
[2026-06-02 07:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773246720001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9145544180804057088}} 
[2026-06-02 07:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:07:54] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:07:54] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:07:59] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:07:59] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:07:59] local.INFO: IMEI packet received {"connection_id":89560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":89560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:08:12] local.INFO: TCP Data received {"connection_id":90621,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:12] local.INFO: Processing buffer {"connection_id":90621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:12] local.INFO: IMEI packet received {"connection_id":90621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":90621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:08:16] local.INFO: TCP Data received {"connection_id":90621,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:16] local.INFO: Processing buffer {"connection_id":90621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:16] local.INFO: IMEI packet received {"connection_id":90621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":90621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:08:18] local.INFO: TCP Data received {"connection_id":90621,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:18] local.INFO: Processing buffer {"connection_id":90621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:08:18] local.INFO: IMEI packet received {"connection_id":90621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":90621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:08:19] local.INFO: TCP Data received {"connection_id":90621,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fa9f18012d813c0005d185700000006916..."} 
[2026-06-02 07:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fa9f18012d813c0005d185700000006916..."} 
[2026-06-02 07:08:19] local.INFO: Processing buffer {"connection_id":90621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fa9f18012d813c0005d185700000006916..."} 
[2026-06-02 07:08:19] local.INFO: Packet analysis {"connection_id":90621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:08:19] local.INFO: Extracted packet for processing {"connection_id":90621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:08:19] local.INFO: GPS Element Parsed {"raw_longitude":763444224,"raw_latitude":97617264,"longitude_deg":76.3444224,"latitude_deg":9.7617264,"altitude":0,"angle":105,"satellites":22,"speed":47,"hex_longitude":"2d813c00","hex_latitude":"05d18570","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773246976001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87652916642447360,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144770124618074112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] 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-06-02 07:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780364255000,"timestamp_ms":1780364255000,"timestamp_seconds":1780364255,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fa9f18"} 
[2026-06-02 07:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:08:19] 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-06-02 07: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":3,"data_length":795,"current_offset":136} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159355428215,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399486,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2247764456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165178373,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4199610369,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2786590720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-06-02 07:08:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3521073152,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,103,158,120,45,128,136,22,10,66,116,112,64,1,240,51,227,133,209,4,113,205,56,65,15,21,239,50,2,55,5,62],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-06-02 07:08:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":106747118682112,"timestamp_seconds":106747118682.112,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773246976001,"66":13200,"208":206,"85":15104,"24":47,"16":87652916642447360,"45":-9144770124618074112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773246976001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:08:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87652916642447360,"km_value":87652916642447.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144770124618074112,"description":"Unknown IO ID 45"} 
[2026-06-02 07:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773246976001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9144770124618074112}} 
[2026-06-02 07:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":90621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:08:19] local.INFO: GPS data processed {"connection_id":90621,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:08:19] local.INFO: Acknowledgment sent {"connection_id":90621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:08:21] local.INFO: TCP Data received {"connection_id":89158,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:21] local.INFO: Processing buffer {"connection_id":89158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:21] local.INFO: IMEI packet received {"connection_id":89158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":89158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:08:25] local.INFO: TCP Data received {"connection_id":89158,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:25] local.INFO: Processing buffer {"connection_id":89158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:25] local.INFO: IMEI packet received {"connection_id":89158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":89158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:08:29] local.INFO: TCP Data received {"connection_id":89158,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:29] local.INFO: Processing buffer {"connection_id":89158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:08:29] local.INFO: IMEI packet received {"connection_id":89158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":89158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:08:30] local.INFO: TCP Data received {"connection_id":89158,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85faa300012d27e8c006c24130000b014e2e..."} 
[2026-06-02 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85faa300012d27e8c006c24130000b014e2e..."} 
[2026-06-02 07:08:30] local.INFO: Processing buffer {"connection_id":89158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85faa300012d27e8c006c24130000b014e2e..."} 
[2026-06-02 07:08:30] local.INFO: Packet analysis {"connection_id":89158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:08:30] local.INFO: Extracted packet for processing {"connection_id":89158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":757590208,"raw_latitude":113393968,"longitude_deg":75.7590208,"latitude_deg":11.3393968,"altitude":11,"angle":334,"satellites":46,"speed":59,"hex_longitude":"2d27e8c0","hex_latitude":"06c24130","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773248000001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305127211285872640,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2880614940683618304,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:30] 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-06-02 07:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780364256000,"timestamp_ms":1780364256000,"timestamp_seconds":1780364256,"priority":1,"record_length":96,"hex_timestamp":"0000019e85faa300"} 
[2026-06-02 07:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:08: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-06-02 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 07:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:08:30] 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-06-02 07:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773248000001,"66":27865,"229":206,"81":20992,"24":59,"16":305127211285872640,"45":2880614940683618304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-06-02 07:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773248000001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:08:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 07:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305127211285872640,"km_value":305127211285872.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2880614940683618304,"description":"Unknown IO ID 45"} 
[2026-06-02 07:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773248000001,"power":27865,"unknown_229":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2880614940683618304}} 
[2026-06-02 07:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":89158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:08:30] local.INFO: GPS data processed {"connection_id":89158,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:08:30] local.INFO: Acknowledgment sent {"connection_id":89158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:08:53] local.INFO: TCP Data received {"connection_id":90621,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fba0e8012d81d88005d17f500007007616..."} 
[2026-06-02 07:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fba0e8012d81d88005d17f500007007616..."} 
[2026-06-02 07:08:53] local.INFO: Processing buffer {"connection_id":90621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fba0e8012d81d88005d17f500007007616..."} 
[2026-06-02 07:08:53] local.INFO: Packet analysis {"connection_id":90621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fb"} 
[2026-06-02 07:08:53] local.INFO: Extracted packet for processing {"connection_id":90621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fb"} 
[2026-06-02 07:08:53] local.INFO: GPS Element Parsed {"raw_longitude":763484288,"raw_latitude":97615696,"longitude_deg":76.3484288,"latitude_deg":9.7615696,"altitude":7,"angle":118,"satellites":22,"speed":41,"hex_longitude":"2d81d880","hex_latitude":"05d17f50","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773265664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87654900917338112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092486147694444544,"note":"Value kept but may cause issues"} 
[2026-06-02 07:08: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-06-02 07:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1780364321000,"timestamp_ms":1780364321000,"timestamp_seconds":1780364321,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fba0e8"} 
[2026-06-02 07:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:08:53] 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-06-02 07:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 07:08:53] 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-06-02 07: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-06-02 07:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":90621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":90621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":90621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773265664001,"66":13363,"208":206,"85":15104,"24":41,"16":87654900917338112,"45":-9092486147694444544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773265664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:08:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:08:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87654900917338112,"km_value":87654900917338.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092486147694444544,"description":"Unknown IO ID 45"} 
[2026-06-02 07:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773265664001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9092486147694444544}} 
[2026-06-02 07:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":90621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:08:53] local.INFO: GPS data processed {"connection_id":90621,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:08:53] local.INFO: Acknowledgment sent {"connection_id":90621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:09:00] local.INFO: TCP Data received {"connection_id":89158,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fabe58012d27d80006c264c8000b014f2e..."} 
[2026-06-02 07:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fabe58012d27d80006c264c8000b014f2e..."} 
[2026-06-02 07:09:00] local.INFO: Processing buffer {"connection_id":89158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fabe58012d27d80006c264c8000b014f2e..."} 
[2026-06-02 07:09:00] local.INFO: Packet analysis {"connection_id":89158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:09:00] local.INFO: Extracted packet for processing {"connection_id":89158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:09:00] local.INFO: GPS Element Parsed {"raw_longitude":757585920,"raw_latitude":113403080,"longitude_deg":75.758592,"latitude_deg":11.340308,"altitude":11,"angle":335,"satellites":46,"speed":55,"hex_longitude":"2d27d800","hex_latitude":"06c264c8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773249536001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305127696617177088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2875759497337450496,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:00] 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-06-02 07:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780364263000,"timestamp_ms":1780364263000,"timestamp_seconds":1780364263,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fabe58"} 
[2026-06-02 07:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:09: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-06-02 07: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":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:09: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-06-02 07: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-06-02 07:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:09:00] 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-06-02 07:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773249536001,"66":27745,"229":206,"81":20992,"24":55,"16":305127696617177088,"45":2875759497337450496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-06-02 07:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773249536001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:09:00] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 07:09:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305127696617177088,"km_value":305127696617177.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2875759497337450496,"description":"Unknown IO ID 45"} 
[2026-06-02 07:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773249536001,"power":27745,"unknown_229":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2875759497337450496}} 
[2026-06-02 07:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":89158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:09:00] local.INFO: GPS data processed {"connection_id":89158,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:09:00] local.INFO: Acknowledgment sent {"connection_id":89158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:09:17] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:17] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:17] local.INFO: IMEI packet received {"connection_id":89562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":89562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:09:17] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:17] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:17] local.INFO: IMEI packet received {"connection_id":89562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":89562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:09:23] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:23] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:09:23] local.INFO: IMEI packet received {"connection_id":89562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":89562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:09:24] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fba8b8012d81e04005d17c300007006916..."} 
[2026-06-02 07:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fba8b8012d81e04005d17c300007006916..."} 
[2026-06-02 07:09:24] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fba8b8012d81e04005d17c300007006916..."} 
[2026-06-02 07:09:24] local.INFO: Packet analysis {"connection_id":89562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fb"} 
[2026-06-02 07:09:24] local.INFO: Extracted packet for processing {"connection_id":89562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fb"} 
[2026-06-02 07:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763486272,"raw_latitude":97614896,"longitude_deg":76.3486272,"latitude_deg":9.7614896,"altitude":7,"angle":105,"satellites":22,"speed":42,"hex_longitude":"2d81e040","hex_latitude":"05d17c30","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773266176001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87655003996553216,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090375085369372672,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09: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-06-02 07:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780364323000,"timestamp_ms":1780364323000,"timestamp_seconds":1780364323,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fba8b8"} 
[2026-06-02 07:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:09:24] 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-06-02 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 07:09:24] 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-06-02 07: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-06-02 07:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773266176001,"66":13428,"208":206,"85":15104,"24":42,"16":87655003996553216,"45":-9090375085369372672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 07:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773266176001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:09:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 07:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87655003996553216,"km_value":87655003996553.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090375085369372672,"description":"Unknown IO ID 45"} 
[2026-06-02 07:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773266176001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9090375085369372672}} 
[2026-06-02 07:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":89562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:09:24] local.INFO: GPS data processed {"connection_id":89562,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:09:24] local.INFO: Acknowledgment sent {"connection_id":89562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:09:25] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:25] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:25] local.INFO: IMEI packet received {"connection_id":89563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":89563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:09:26] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:26] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:26] local.INFO: IMEI packet received {"connection_id":89563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":89563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:09:27] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fbb088012d81e8c005d17b500007005c16..."} 
[2026-06-02 07:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fbb088012d81e8c005d17b500007005c16..."} 
[2026-06-02 07:09:27] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fbb088012d81e8c005d17b500007005c16..."} 
[2026-06-02 07:09:27] local.INFO: Packet analysis {"connection_id":89562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fb"} 
[2026-06-02 07:09:27] local.INFO: Extracted packet for processing {"connection_id":89562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fb"} 
[2026-06-02 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763488448,"raw_latitude":97614672,"longitude_deg":76.3488448,"latitude_deg":9.7614672,"altitude":7,"angle":92,"satellites":22,"speed":45,"hex_longitude":"2d81e8c0","hex_latitude":"05d17b50","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773266688001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87655107075768320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9088193654300069888,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:27] 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-06-02 07:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780364325000,"timestamp_ms":1780364325000,"timestamp_seconds":1780364325,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fbb088"} 
[2026-06-02 07:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-02 07:09:27] 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-06-02 07: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-06-02 07:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773266688001,"66":13406,"63":206,"85":15104,"24":45,"16":87655107075768320,"45":-9088193654300069888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773266688001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:09:27] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87655107075768320,"km_value":87655107075768.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9088193654300069888,"description":"Unknown IO ID 45"} 
[2026-06-02 07:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773266688001,"power":13406,"unknown_63":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9088193654300069888}} 
[2026-06-02 07:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":89562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:09:27] local.INFO: GPS data processed {"connection_id":89562,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:09:27] local.INFO: Acknowledgment sent {"connection_id":89562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:09:30] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:30] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:09:30] local.INFO: IMEI packet received {"connection_id":89563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":89563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:09:32] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fad9b0012d27c84006c28628000c014f2d..."} 
[2026-06-02 07:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fad9b0012d27c84006c28628000c014f2d..."} 
[2026-06-02 07:09:32] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fad9b0012d27c84006c28628000c014f2d..."} 
[2026-06-02 07:09:32] local.INFO: Packet analysis {"connection_id":89563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:09:32] local.INFO: Extracted packet for processing {"connection_id":89563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:09:32] local.INFO: GPS Element Parsed {"raw_longitude":757581888,"raw_latitude":113411624,"longitude_deg":75.7581888,"latitude_deg":11.3411624,"altitude":12,"angle":335,"satellites":45,"speed":52,"hex_longitude":"2d27c840","hex_latitude":"06c28628","is_valid_coordinates":true} 
[2026-06-02 07:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773251328001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305128156178677760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2871044791479879680,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:32] 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-06-02 07:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780364270000,"timestamp_ms":1780364270000,"timestamp_seconds":1780364270,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fad9b0"} 
[2026-06-02 07:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:09: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-06-02 07:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 07:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:09:32] 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-06-02 07:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773251328001,"66":27800,"229":206,"81":20992,"24":52,"16":305128156178677760,"45":2871044791479879680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-06-02 07:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773251328001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:09:32] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 07:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305128156178677760,"km_value":305128156178677.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2871044791479879680,"description":"Unknown IO ID 45"} 
[2026-06-02 07:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773251328001,"power":27800,"unknown_229":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2871044791479879680}} 
[2026-06-02 07:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":89563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:09:32] local.INFO: GPS data processed {"connection_id":89563,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:09:32] local.INFO: Acknowledgment sent {"connection_id":89563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:09:33] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85faf508012d27b84006c2a7f8000d01502c..."} 
[2026-06-02 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85faf508012d27b84006c2a7f8000d01502c..."} 
[2026-06-02 07:09:33] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85faf508012d27b84006c2a7f8000d01502c..."} 
[2026-06-02 07:09:33] local.INFO: Packet analysis {"connection_id":89563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:09:33] local.INFO: Extracted packet for processing {"connection_id":89563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fa"} 
[2026-06-02 07:09:33] local.INFO: GPS Element Parsed {"raw_longitude":757577792,"raw_latitude":113420280,"longitude_deg":75.7577792,"latitude_deg":11.342028,"altitude":13,"angle":336,"satellites":44,"speed":55,"hex_longitude":"2d27b840","hex_latitude":"06c2a7f8","is_valid_coordinates":true} 
[2026-06-02 07:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773253120001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305128615740178432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2866611560598874112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:33] 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-06-02 07:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780364277000,"timestamp_ms":1780364277000,"timestamp_seconds":1780364277,"priority":1,"record_length":96,"hex_timestamp":"0000019e85faf508"} 
[2026-06-02 07:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:09: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-06-02 07:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:09:33] 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-06-02 07:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:09:33] 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-06-02 07:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773253120001,"66":27832,"229":206,"81":20992,"24":55,"16":305128615740178432,"45":2866611560598874112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-06-02 07:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773253120001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:09:33] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 07:09:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305128615740178432,"km_value":305128615740178.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2866611560598874112,"description":"Unknown IO ID 45"} 
[2026-06-02 07:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773253120001,"power":27832,"unknown_229":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2866611560598874112}} 
[2026-06-02 07:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":89563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:09:33] local.INFO: GPS data processed {"connection_id":89563,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:09:33] local.INFO: Acknowledgment sent {"connection_id":89563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:09:58] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fc6820012d829a8005d16300000f005b17..."} 
[2026-06-02 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fc6820012d829a8005d16300000f005b17..."} 
[2026-06-02 07:09:58] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fc6820012d829a8005d16300000f005b17..."} 
[2026-06-02 07:09:58] local.INFO: Packet analysis {"connection_id":89562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:09:58] local.INFO: Extracted packet for processing {"connection_id":89562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763533952,"raw_latitude":97608448,"longitude_deg":76.3533952,"latitude_deg":9.7608448,"altitude":15,"angle":91,"satellites":23,"speed":13,"hex_longitude":"2d829a80","hex_latitude":"05d16300","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773278976001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87657404883271680,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036120783610230784,"note":"Value kept but may cause issues"} 
[2026-06-02 07:09:58] 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-06-02 07:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780364372000,"timestamp_ms":1780364372000,"timestamp_seconds":1780364372,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fc6820"} 
[2026-06-02 07:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:09:58] 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-06-02 07:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-02 07:09:58] 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-06-02 07: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-06-02 07:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773278976001,"66":13472,"63":206,"85":15104,"24":13,"16":87657404883271680,"45":-9036120783610230784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773278976001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:09:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87657404883271680,"km_value":87657404883271.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036120783610230784,"description":"Unknown IO ID 45"} 
[2026-06-02 07:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773278976001,"power":13472,"unknown_63":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9036120783610230784}} 
[2026-06-02 07:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":89562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:09:58] local.INFO: GPS data processed {"connection_id":89562,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:09:58] local.INFO: Acknowledgment sent {"connection_id":89562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:10:05] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fc0678012d270b8006c41bd8000d014f2d..."} 
[2026-06-02 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fc0678012d270b8006c41bd8000d014f2d..."} 
[2026-06-02 07:10:05] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fc0678012d270b8006c41bd8000d014f2d..."} 
[2026-06-02 07:10:05] local.INFO: Packet analysis {"connection_id":89563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:05] local.INFO: Extracted packet for processing {"connection_id":89563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:05] local.INFO: GPS Element Parsed {"raw_longitude":757533568,"raw_latitude":113515480,"longitude_deg":75.7533568,"latitude_deg":11.351548,"altitude":13,"angle":335,"satellites":45,"speed":62,"hex_longitude":"2d270b80","hex_latitude":"06c41bd8","is_valid_coordinates":true} 
[2026-06-02 07:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773271296001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305133688096555008,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2817916389652293632,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:05] 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-06-02 07:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780364347000,"timestamp_ms":1780364347000,"timestamp_seconds":1780364347,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fc0678"} 
[2026-06-02 07:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 07:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773271296001,"66":27517,"231":206,"81":20992,"24":62,"16":305133688096555008,"45":2817916389652293632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-06-02 07:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773271296001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:10:05] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 07:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305133688096555008,"km_value":305133688096555.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2817916389652293632,"description":"Unknown IO ID 45"} 
[2026-06-02 07:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773271296001,"power":27517,"unknown_231":206,"unknown_81":20992,"ignition":62,"odometer":null,"unknown_45":2817916389652293632}} 
[2026-06-02 07:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":89563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:10:05] local.INFO: GPS data processed {"connection_id":89563,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:10:05] local.INFO: Acknowledgment sent {"connection_id":89563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:10:10] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:10] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:10] local.INFO: IMEI packet received {"connection_id":89405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":89405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:10:10] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:10] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:10] local.INFO: IMEI packet received {"connection_id":89405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":89405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:10:12] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:12] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:12] local.INFO: IMEI packet received {"connection_id":89405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":89405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:10:18] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:18] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:10:18] local.INFO: IMEI packet received {"connection_id":89405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":89405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:10:18] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fc9318012d82c00005d15ef80010006517..."} 
[2026-06-02 07:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fc9318012d82c00005d15ef80010006517..."} 
[2026-06-02 07:10:18] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fc9318012d82c00005d15ef80010006517..."} 
[2026-06-02 07:10:18] local.INFO: Packet analysis {"connection_id":89405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:18] local.INFO: Extracted packet for processing {"connection_id":89405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:18] local.INFO: GPS Element Parsed {"raw_longitude":763543552,"raw_latitude":97607416,"longitude_deg":76.3543552,"latitude_deg":9.7607416,"altitude":16,"angle":101,"satellites":23,"speed":47,"hex_longitude":"2d82c000","hex_latitude":"05d15ef8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773279232001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87657868739739648,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035768939889360896,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:18] 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-06-02 07:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780364383000,"timestamp_ms":1780364383000,"timestamp_seconds":1780364383,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fc9318"} 
[2026-06-02 07:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:10: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-06-02 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-02 07:10:18] 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-06-02 07: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-06-02 07:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773279232001,"66":13493,"63":206,"85":15104,"24":47,"16":87657868739739648,"45":-9035768939889360896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773279232001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:10:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:10:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87657868739739648,"km_value":87657868739739.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035768939889360896,"description":"Unknown IO ID 45"} 
[2026-06-02 07:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773279232001,"power":13493,"unknown_63":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9035768939889360896}} 
[2026-06-02 07:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":89405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:10:18] local.INFO: GPS data processed {"connection_id":89405,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:10:18] local.INFO: Acknowledgment sent {"connection_id":89405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:10:30] local.INFO: TCP Data received {"connection_id":90622,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:30] local.INFO: Processing buffer {"connection_id":90622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:30] local.INFO: IMEI packet received {"connection_id":90622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":90622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:10:30] local.INFO: TCP Data received {"connection_id":90622,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:30] local.INFO: Processing buffer {"connection_id":90622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:30] local.INFO: IMEI packet received {"connection_id":90622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":90622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:10:35] local.INFO: TCP Data received {"connection_id":90622,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:35] local.INFO: Processing buffer {"connection_id":90622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:10:35] local.INFO: IMEI packet received {"connection_id":90622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":90622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:10:36] local.INFO: TCP Data received {"connection_id":90622,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fc1de8012d26fc0006c43cc0000d014f2d..."} 
[2026-06-02 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fc1de8012d26fc0006c43cc0000d014f2d..."} 
[2026-06-02 07:10:36] local.INFO: Processing buffer {"connection_id":90622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fc1de8012d26fc0006c43cc0000d014f2d..."} 
[2026-06-02 07:10:36] local.INFO: Packet analysis {"connection_id":90622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:36] local.INFO: Extracted packet for processing {"connection_id":90622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":757529600,"raw_latitude":113523904,"longitude_deg":75.75296,"latitude_deg":11.3523904,"altitude":13,"angle":335,"satellites":45,"speed":60,"hex_longitude":"2d26fc00","hex_latitude":"06c43cc0","is_valid_coordinates":true} 
[2026-06-02 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773272832001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305134139068121088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2813483158771324928,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:36] 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-06-02 07:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780364353000,"timestamp_ms":1780364353000,"timestamp_seconds":1780364353,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fc1de8"} 
[2026-06-02 07:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 07:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773272832001,"66":27843,"231":206,"81":20992,"24":60,"16":305134139068121088,"45":2813483158771324928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773272832001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305134139068121088,"km_value":305134139068121.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2813483158771324928,"description":"Unknown IO ID 45"} 
[2026-06-02 07:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773272832001,"power":27843,"unknown_231":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":2813483158771324928}} 
[2026-06-02 07:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":90622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:10:36] local.INFO: GPS data processed {"connection_id":90622,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:10:36] local.INFO: Acknowledgment sent {"connection_id":90622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:10:36] local.INFO: TCP Data received {"connection_id":90622,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fc3940012d26eb4006c46128000d014f2e..."} 
[2026-06-02 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fc3940012d26eb4006c46128000d014f2e..."} 
[2026-06-02 07:10:36] local.INFO: Processing buffer {"connection_id":90622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fc3940012d26eb4006c46128000d014f2e..."} 
[2026-06-02 07:10:36] local.INFO: Packet analysis {"connection_id":90622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:36] local.INFO: Extracted packet for processing {"connection_id":90622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":757525312,"raw_latitude":113533224,"longitude_deg":75.7525312,"latitude_deg":11.3533224,"altitude":13,"angle":335,"satellites":46,"speed":56,"hex_longitude":"2d26eb40","hex_latitude":"06c46128","is_valid_coordinates":true} 
[2026-06-02 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773274368001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305134632989360128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2809120296634466304,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:36] 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-06-02 07:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780364360000,"timestamp_ms":1780364360000,"timestamp_seconds":1780364360,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fc3940"} 
[2026-06-02 07:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773274368001,"66":27843,"231":206,"81":20992,"24":56,"16":305134632989360128,"45":2809120296634466304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-06-02 07:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773274368001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305134632989360128,"km_value":305134632989360.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2809120296634466304,"description":"Unknown IO ID 45"} 
[2026-06-02 07:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773274368001,"power":27843,"unknown_231":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":2809120296634466304}} 
[2026-06-02 07:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":90622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:10:36] local.INFO: GPS data processed {"connection_id":90622,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:10:36] local.INFO: Acknowledgment sent {"connection_id":90622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:10:49] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fcae70012d82e3c005d159600010005e17..."} 
[2026-06-02 07:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fcae70012d82e3c005d159600010005e17..."} 
[2026-06-02 07:10:49] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fcae70012d82e3c005d159600010005e17..."} 
[2026-06-02 07:10:49] local.INFO: Packet analysis {"connection_id":89405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:49] local.INFO: Extracted packet for processing {"connection_id":89405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:10:49] local.INFO: GPS Element Parsed {"raw_longitude":763552704,"raw_latitude":97605984,"longitude_deg":76.3552704,"latitude_deg":9.7605984,"altitude":16,"angle":94,"satellites":23,"speed":56,"hex_longitude":"2d82e3c0","hex_latitude":"05d15960","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773282048001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87658311121371136,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025213628262975488,"note":"Value kept but may cause issues"} 
[2026-06-02 07:10:49] 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-06-02 07:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780364390000,"timestamp_ms":1780364390000,"timestamp_seconds":1780364390,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fcae70"} 
[2026-06-02 07:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-02 07:10:49] 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-06-02 07: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-06-02 07:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773282048001,"66":13189,"63":206,"85":15104,"24":56,"16":87658311121371136,"45":-9025213628262975488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773282048001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:10:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:10:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87658311121371136,"km_value":87658311121371.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025213628262975488,"description":"Unknown IO ID 45"} 
[2026-06-02 07:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773282048001,"power":13189,"unknown_63":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-9025213628262975488}} 
[2026-06-02 07:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":89405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:10:50] local.INFO: GPS data processed {"connection_id":89405,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:10:50] local.INFO: Acknowledgment sent {"connection_id":89405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:11:08] local.INFO: TCP Data received {"connection_id":90622,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fc5498012d26dac006c483f8000d014e2e..."} 
[2026-06-02 07:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fc5498012d26dac006c483f8000d014e2e..."} 
[2026-06-02 07:11:08] local.INFO: Processing buffer {"connection_id":90622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fc5498012d26dac006c483f8000d014e2e..."} 
[2026-06-02 07:11:08] local.INFO: Packet analysis {"connection_id":90622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:08] local.INFO: Extracted packet for processing {"connection_id":90622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:08] local.INFO: GPS Element Parsed {"raw_longitude":757521088,"raw_latitude":113542136,"longitude_deg":75.7521088,"latitude_deg":11.3542136,"altitude":13,"angle":334,"satellites":46,"speed":57,"hex_longitude":"2d26dac0","hex_latitude":"06c483f8","is_valid_coordinates":true} 
[2026-06-02 07:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773276160001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305135109730729984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2804405590776948736,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:08] 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-06-02 07:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780364367000,"timestamp_ms":1780364367000,"timestamp_seconds":1780364367,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fc5498"} 
[2026-06-02 07:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":90622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":90622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":90622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:11:08] 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-06-02 07:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773276160001,"66":27908,"88":206,"81":20992,"24":57,"16":305135109730729984,"45":2804405590776948736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-06-02 07:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773276160001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:11:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 07:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305135109730729984,"km_value":305135109730730.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2804405590776948736,"description":"Unknown IO ID 45"} 
[2026-06-02 07:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773276160001,"power":27908,"unknown_88":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2804405590776948736}} 
[2026-06-02 07:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":90622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:11:08] local.INFO: GPS data processed {"connection_id":90622,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:11:08] local.INFO: Acknowledgment sent {"connection_id":90622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:11:12] local.INFO: TCP Data received {"connection_id":90623,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:11:12] local.INFO: Processing buffer {"connection_id":90623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:11:12] local.INFO: IMEI packet received {"connection_id":90623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":90623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:11:18] local.INFO: TCP Data received {"connection_id":90623,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:11:18] local.INFO: Processing buffer {"connection_id":90623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:11:18] local.INFO: IMEI packet received {"connection_id":90623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":90623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:11:18] local.INFO: TCP Data received {"connection_id":90623,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fcc5e0012d83074005d156c80011005e17..."} 
[2026-06-02 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fcc5e0012d83074005d156c80011005e17..."} 
[2026-06-02 07:11:18] local.INFO: Processing buffer {"connection_id":90623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fcc5e0012d83074005d156c80011005e17..."} 
[2026-06-02 07:11:18] local.INFO: Packet analysis {"connection_id":90623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:18] local.INFO: Extracted packet for processing {"connection_id":90623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763561792,"raw_latitude":97605320,"longitude_deg":76.3561792,"latitude_deg":9.760532,"altitude":17,"angle":94,"satellites":23,"speed":61,"hex_longitude":"2d830740","hex_latitude":"05d156c8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773283840001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87658744913068032,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015150897845936128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:18] 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-06-02 07:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780364396000,"timestamp_ms":1780364396000,"timestamp_seconds":1780364396,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fcc5e0"} 
[2026-06-02 07:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:11: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-06-02 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 07:11:18] 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-06-02 07: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-06-02 07:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773283840001,"66":12950,"63":206,"85":15104,"24":61,"16":87658744913068032,"45":-9015150897845936128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773283840001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:11:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87658744913068032,"km_value":87658744913068.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015150897845936128,"description":"Unknown IO ID 45"} 
[2026-06-02 07:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773283840001,"power":12950,"unknown_63":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":-9015150897845936128}} 
[2026-06-02 07:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":90623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:11:18] local.INFO: GPS data processed {"connection_id":90623,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:11:18] local.INFO: Acknowledgment sent {"connection_id":90623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:11:23] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:23] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:23] local.INFO: IMEI packet received {"connection_id":89406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":89406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:11:24] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:24] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:24] local.INFO: IMEI packet received {"connection_id":89406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:11:30] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:30] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:11:30] local.INFO: IMEI packet received {"connection_id":89406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":89406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:11:49] local.INFO: TCP Data received {"connection_id":90623,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fce138012d832ac005d154c00011005c17..."} 
[2026-06-02 07:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fce138012d832ac005d154c00011005c17..."} 
[2026-06-02 07:11:49] local.INFO: Processing buffer {"connection_id":90623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fce138012d832ac005d154c00011005c17..."} 
[2026-06-02 07:11:49] local.INFO: Packet analysis {"connection_id":90623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:49] local.INFO: Extracted packet for processing {"connection_id":90623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:49] local.INFO: GPS Element Parsed {"raw_longitude":763570880,"raw_latitude":97604800,"longitude_deg":76.357088,"latitude_deg":9.76048,"altitude":17,"angle":92,"satellites":23,"speed":36,"hex_longitude":"2d832ac0","hex_latitude":"05d154c0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773285376001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87659178704764928,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005158536172877824,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:49] 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-06-02 07:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780364403000,"timestamp_ms":1780364403000,"timestamp_seconds":1780364403,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fce138"} 
[2026-06-02 07:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:11:49] 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-06-02 07: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 07:11: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-06-02 07: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-06-02 07:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773285376001,"66":13319,"63":206,"85":15104,"24":36,"16":87659178704764928,"45":-9005158536172877824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773285376001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:11:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:11:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87659178704764928,"km_value":87659178704764.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005158536172877824,"description":"Unknown IO ID 45"} 
[2026-06-02 07:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773285376001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9005158536172877824}} 
[2026-06-02 07:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":90623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:11:49] local.INFO: GPS data processed {"connection_id":90623,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:11:49] local.INFO: Acknowledgment sent {"connection_id":90623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:11:51] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fc6c08012d26c94006c4a260000d01472e..."} 
[2026-06-02 07:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fc6c08012d26c94006c4a260000d01472e..."} 
[2026-06-02 07:11:51] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fc6c08012d26c94006c4a260000d01472e..."} 
[2026-06-02 07:11:51] local.INFO: Packet analysis {"connection_id":89406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:51] local.INFO: Extracted packet for processing {"connection_id":89406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":757516608,"raw_latitude":113549920,"longitude_deg":75.7516608,"latitude_deg":11.354992,"altitude":13,"angle":327,"satellites":46,"speed":60,"hex_longitude":"2d26c940","hex_latitude":"06c4a260","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773277952001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305135543522426880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2799761253663504384,"note":"Value kept but may cause issues"} 
[2026-06-02 07:11:51] 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-06-02 07:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780364373000,"timestamp_ms":1780364373000,"timestamp_seconds":1780364373,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fc6c08"} 
[2026-06-02 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-06-02 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-06-02 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07: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-06-02 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-06-02 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-06-02 07:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":89406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":89406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":89406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:11:51] 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-06-02 07:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773277952001,"66":27821,"88":206,"81":20992,"24":60,"16":305135543522426880,"45":2799761253663504384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-06-02 07:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773277952001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:11:51] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 07:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-06-02 07:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305135543522426880,"km_value":305135543522426.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2799761253663504384,"description":"Unknown IO ID 45"} 
[2026-06-02 07:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773277952001,"power":27821,"unknown_88":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":2799761253663504384}} 
[2026-06-02 07:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":89406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:11:51] local.INFO: GPS data processed {"connection_id":89406,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:11:51] local.INFO: Acknowledgment sent {"connection_id":89406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:12:13] local.INFO: TCP Data received {"connection_id":90624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:12:13] local.INFO: Processing buffer {"connection_id":90624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:12:13] local.INFO: IMEI packet received {"connection_id":90624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":90624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:12:18] local.INFO: TCP Data received {"connection_id":90624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:12:18] local.INFO: Processing buffer {"connection_id":90624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:12:18] local.INFO: IMEI packet received {"connection_id":90624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":90624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:12:18] local.INFO: TCP Data received {"connection_id":90624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fcf0d8012d83338005d152e8000e006915..."} 
[2026-06-02 07:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fcf0d8012d83338005d152e8000e006915..."} 
[2026-06-02 07:12:18] local.INFO: Processing buffer {"connection_id":90624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fcf0d8012d83338005d152e8000e006915..."} 
[2026-06-02 07:12:18] local.INFO: Packet analysis {"connection_id":90624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:12:18] local.INFO: Extracted packet for processing {"connection_id":90624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604328,"longitude_deg":76.357312,"latitude_deg":9.7604328,"altitude":14,"angle":105,"satellites":21,"speed":13,"hex_longitude":"2d833380","hex_latitude":"05d152e8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773287168001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87659290373914624,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8995166174499782656,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] 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-06-02 07:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780364407000,"timestamp_ms":1780364407000,"timestamp_seconds":1780364407,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fcf0d8"} 
[2026-06-02 07:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:12: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-06-02 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2247909456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191163397,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4234682369,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7491738040270722816,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407118,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512985600,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57788402729112891,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.WARNING: Large IO value detected {"io_id":252,"raw_value":6095623390622089221,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,63,85,24,241,157,16,109,158,197,45,64,86,17,23,10,66,174,192,89,108,147,1,240,181,227,133,209,4,113,205,13,100,153,72,239,52,2,55,5,15,11,117,252],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-06-02 07:12:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225080352501137408,"timestamp_seconds":1225080352501137.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773287168001,"66":13363,"63":206,"85":15104,"24":13,"16":87659290373914624,"45":-8995166174499782656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773287168001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:12:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87659290373914624,"km_value":87659290373914.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8995166174499782656,"description":"Unknown IO ID 45"} 
[2026-06-02 07:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773287168001,"power":13363,"unknown_63":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-8995166174499782656}} 
[2026-06-02 07:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":90624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:12:18] local.INFO: GPS data processed {"connection_id":90624,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:12:18] local.INFO: Acknowledgment sent {"connection_id":90624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:12:25] local.INFO: TCP Data received {"connection_id":89160,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:12:25] local.INFO: Processing buffer {"connection_id":89160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:12:25] local.INFO: IMEI packet received {"connection_id":89160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:12:30] local.INFO: TCP Data received {"connection_id":89160,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:12:30] local.INFO: Processing buffer {"connection_id":89160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:12:30] local.INFO: IMEI packet received {"connection_id":89160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":89160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:12:30] local.INFO: TCP Data received {"connection_id":89160,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fe0630012d25610006c67cd0000d014b2d..."} 
[2026-06-02 07:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fe0630012d25610006c67cd0000d014b2d..."} 
[2026-06-02 07:12:30] local.INFO: Processing buffer {"connection_id":89160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fe0630012d25610006c67cd0000d014b2d..."} 
[2026-06-02 07:12:30] local.INFO: Packet analysis {"connection_id":89160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fe"} 
[2026-06-02 07:12:30] local.INFO: Extracted packet for processing {"connection_id":89160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fe"} 
[2026-06-02 07:12:30] local.INFO: GPS Element Parsed {"raw_longitude":757424384,"raw_latitude":113671376,"longitude_deg":75.7424384,"latitude_deg":11.3671376,"altitude":13,"angle":331,"satellites":45,"speed":59,"hex_longitude":"2d256100","hex_latitude":"06c67cd0","is_valid_coordinates":true} 
[2026-06-02 07:12: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-06-02 07:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773304832001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305142909391339520,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2698219155846174720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:30] 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-06-02 07:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780364478000,"timestamp_ms":1780364478000,"timestamp_seconds":1780364478,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fe0630"} 
[2026-06-02 07:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:12: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-06-02 07:12: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-06-02 07:12: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-06-02 07:12: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-06-02 07:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:12:30] 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-06-02 07:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773304832001,"66":27800,"78":206,"81":22528,"24":59,"16":305142909391339520,"45":2698219155846174720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-06-02 07:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773304832001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:12:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-02 07:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305142909391339520,"km_value":305142909391339.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2698219155846174720,"description":"Unknown IO ID 45"} 
[2026-06-02 07:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773304832001,"power":27800,"unknown_78":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2698219155846174720}} 
[2026-06-02 07:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":89160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:12:30] local.INFO: GPS data processed {"connection_id":89160,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:12:30] local.INFO: Acknowledgment sent {"connection_id":89160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:12:49] local.INFO: TCP Data received {"connection_id":90624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fcf4c0012d83340005d15220000d008617..."} 
[2026-06-02 07:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fcf4c0012d83340005d15220000d008617..."} 
[2026-06-02 07:12:49] local.INFO: Processing buffer {"connection_id":90624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fcf4c0012d83340005d15220000d008617..."} 
[2026-06-02 07:12:49] local.INFO: Packet analysis {"connection_id":90624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:12:49] local.INFO: Extracted packet for processing {"connection_id":90624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604128,"longitude_deg":76.3573248,"latitude_deg":9.7604128,"altitude":13,"angle":134,"satellites":23,"speed":8,"hex_longitude":"2d833400","hex_latitude":"05d15220","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773288192001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87659303258816512,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453685248,"note":"Value kept but may cause issues"} 
[2026-06-02 07:12:49] 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-06-02 07:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780364408000,"timestamp_ms":1780364408000,"timestamp_seconds":1780364408,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fcf4c0"} 
[2026-06-02 07:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:12:49] 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-06-02 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 07:12: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-06-02 07: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-06-02 07:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773288192001,"66":13243,"63":206,"85":15104,"24":8,"16":87659303258816512,"45":-8992703268453685248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773288192001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:12:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87659303258816512,"km_value":87659303258816.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453685248,"description":"Unknown IO ID 45"} 
[2026-06-02 07:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773288192001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992703268453685248}} 
[2026-06-02 07:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":90624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:12:49] local.INFO: GPS data processed {"connection_id":90624,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:12:49] local.INFO: Acknowledgment sent {"connection_id":90624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:13:01] local.INFO: TCP Data received {"connection_id":89160,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fe1da0012d25504006c69c00000d014c2c..."} 
[2026-06-02 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fe1da0012d25504006c69c00000d014c2c..."} 
[2026-06-02 07:13:01] local.INFO: Processing buffer {"connection_id":89160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fe1da0012d25504006c69c00000d014c2c..."} 
[2026-06-02 07:13:01] local.INFO: Packet analysis {"connection_id":89160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fe"} 
[2026-06-02 07:13:01] local.INFO: Extracted packet for processing {"connection_id":89160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fe"} 
[2026-06-02 07:13:01] local.INFO: GPS Element Parsed {"raw_longitude":757420096,"raw_latitude":113679360,"longitude_deg":75.7420096,"latitude_deg":11.367936,"altitude":13,"angle":332,"satellites":44,"speed":59,"hex_longitude":"2d255040","hex_latitude":"06c69c00","is_valid_coordinates":true} 
[2026-06-02 07:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773306368001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305143347478003712,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2693434081244139520,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:01] 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-06-02 07:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780364484000,"timestamp_ms":1780364484000,"timestamp_seconds":1780364484,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fe1da0"} 
[2026-06-02 07:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:13: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-06-02 07:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:13: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-06-02 07:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:13:01] 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-06-02 07:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773306368001,"66":27908,"78":206,"81":22528,"24":59,"16":305143347478003712,"45":2693434081244139520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-06-02 07:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773306368001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:13:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-02 07:13:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305143347478003712,"km_value":305143347478003.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2693434081244139520,"description":"Unknown IO ID 45"} 
[2026-06-02 07:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773306368001,"power":27908,"unknown_78":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2693434081244139520}} 
[2026-06-02 07:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":89160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:13:01] local.INFO: GPS data processed {"connection_id":89160,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:13:01] local.INFO: Acknowledgment sent {"connection_id":89160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:13:12] local.INFO: TCP Data received {"connection_id":90625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:13:12] local.INFO: Processing buffer {"connection_id":90625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:13:12] local.INFO: IMEI packet received {"connection_id":90625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":90625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:13:18] local.INFO: TCP Data received {"connection_id":90625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:13:18] local.INFO: Processing buffer {"connection_id":90625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:13:18] local.INFO: IMEI packet received {"connection_id":90625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":90625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:13:18] local.INFO: TCP Data received {"connection_id":90625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fcf8a8012d83344005d15128000d00a317..."} 
[2026-06-02 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fcf8a8012d83344005d15128000d00a317..."} 
[2026-06-02 07:13:18] local.INFO: Processing buffer {"connection_id":90625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fcf8a8012d83344005d15128000d00a317..."} 
[2026-06-02 07:13:18] local.INFO: Packet analysis {"connection_id":90625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:13:18] local.INFO: Extracted packet for processing {"connection_id":90625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85fc"} 
[2026-06-02 07:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97603880,"longitude_deg":76.3573312,"latitude_deg":9.760388,"altitude":13,"angle":163,"satellites":23,"speed":8,"hex_longitude":"2d833440","hex_latitude":"05d15128","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773288448001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87659316143718400,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965381120,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:18] 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-06-02 07:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780364409000,"timestamp_ms":1780364409000,"timestamp_seconds":1780364409,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fcf8a8"} 
[2026-06-02 07:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:13: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-06-02 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 07:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773288448001,"66":13243,"63":206,"85":15104,"24":8,"16":87659316143718400,"45":-8992562530965381120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773288448001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:13:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87659316143718400,"km_value":87659316143718.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965381120,"description":"Unknown IO ID 45"} 
[2026-06-02 07:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773288448001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992562530965381120}} 
[2026-06-02 07:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":90625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:13:18] local.INFO: GPS data processed {"connection_id":90625,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:13:18] local.INFO: Acknowledgment sent {"connection_id":90625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:13:19] local.INFO: TCP Data received {"connection_id":89408,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:13:19] local.INFO: Processing buffer {"connection_id":89408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:13:19] local.INFO: IMEI packet received {"connection_id":89408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":89408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:13:24] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:24] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:24] local.INFO: IMEI packet received {"connection_id":89565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":89565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:13:28] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:28] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:28] local.INFO: IMEI packet received {"connection_id":89565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":89565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:13:29] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:29] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:13:29] local.INFO: IMEI packet received {"connection_id":89565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":89565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:13:31] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ff3ac8012d24cd4006c81ce0000901572d..."} 
[2026-06-02 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ff3ac8012d24cd4006c81ce0000901572d..."} 
[2026-06-02 07:13:31] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ff3ac8012d24cd4006c81ce0000901572d..."} 
[2026-06-02 07:13:31] local.INFO: Packet analysis {"connection_id":89565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:13:31] local.INFO: Extracted packet for processing {"connection_id":89565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":757386560,"raw_latitude":113777888,"longitude_deg":75.738656,"latitude_deg":11.3777888,"altitude":9,"angle":343,"satellites":45,"speed":63,"hex_longitude":"2d24cd40","hex_latitude":"06c81ce0","is_valid_coordinates":true} 
[2026-06-02 07:13: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-06-02 07:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773325056001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305148445604184064,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2655083115692195840,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:31] 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-06-02 07:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780364557000,"timestamp_ms":1780364557000,"timestamp_seconds":1780364557,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ff3ac8"} 
[2026-06-02 07:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:13: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-06-02 07:13: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:13:31] 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-06-02 07:13: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-06-02 07:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773325056001,"66":27887,"79":206,"81":22528,"24":63,"16":305148445604184064,"45":2655083115692195840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-06-02 07:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773325056001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:13:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-02 07:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305148445604184064,"km_value":305148445604184.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2655083115692195840,"description":"Unknown IO ID 45"} 
[2026-06-02 07:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773325056001,"power":27887,"unknown_79":206,"unknown_81":22528,"ignition":63,"odometer":null,"unknown_45":2655083115692195840}} 
[2026-06-02 07:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":89565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:13:31] local.INFO: GPS data processed {"connection_id":89565,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:13:31] local.INFO: Acknowledgment sent {"connection_id":89565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:13:49] local.INFO: TCP Data received {"connection_id":90625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e85fffa30012d83324005d153f0000c00ff1f..."} 
[2026-06-02 07:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85fffa30012d83324005d153f0000c00ff1f..."} 
[2026-06-02 07:13:49] local.INFO: Processing buffer {"connection_id":90625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85fffa30012d83324005d153f0000c00ff1f..."} 
[2026-06-02 07:13:49] local.INFO: Packet analysis {"connection_id":90625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:13:49] local.INFO: Extracted packet for processing {"connection_id":90625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:13:49] local.INFO: GPS Element Parsed {"raw_longitude":763572800,"raw_latitude":97604592,"longitude_deg":76.35728,"latitude_deg":9.7604592,"altitude":12,"angle":255,"satellites":31,"speed":10,"hex_longitude":"2d833240","hex_latitude":"05d153f0","is_valid_coordinates":true} 
[2026-06-02 07:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773338880001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87659414927966208,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992844005941948416,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780364606000,"timestamp_ms":1780364606000,"timestamp_seconds":1780364606,"priority":1,"record_length":96,"hex_timestamp":"0000019e85fffa30"} 
[2026-06-02 07:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:13:49] 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-06-02 07:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2248022456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201190405,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070414,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4273850369,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6039327156161287936,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3221302659,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511930880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57788407024080187,"corrected_to":0} 
[2026-06-02 07:13:49] local.WARNING: Large IO value detected {"io_id":253,"raw_value":-4057741969274470395,"note":"Value kept but may cause issues"} 
[2026-06-02 07:13:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,64,85,24,241,157,16,109,158,179,45,128,83,13,30,10,66,97,29,15,1,240,51,227,133,209,4,113,205,107,208,27,239,2,55,5,203,253],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0},{"io_id":203,"original":57788407024080187,"validated":0}]} 
[2026-06-02 07:13:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864943049762275328,"timestamp_seconds":864943049762275.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773338880001,"66":13319,"64":206,"85":15104,"24":10,"16":87659414927966208,"45":-8992844005941948416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-02 07:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773338880001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:13:49] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-02 07:13:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87659414927966208,"km_value":87659414927966.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992844005941948416,"description":"Unknown IO ID 45"} 
[2026-06-02 07:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773338880001,"power":13319,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8992844005941948416}} 
[2026-06-02 07:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":90625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:13:49] local.INFO: GPS data processed {"connection_id":90625,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:13:49] local.INFO: Acknowledgment sent {"connection_id":90625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:14:03] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ff5238012d24c2c006c83f68000a01562d..."} 
[2026-06-02 07:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ff5238012d24c2c006c83f68000a01562d..."} 
[2026-06-02 07:14:03] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ff5238012d24c2c006c83f68000a01562d..."} 
[2026-06-02 07:14:03] local.INFO: Packet analysis {"connection_id":89565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:14:03] local.INFO: Extracted packet for processing {"connection_id":89565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:14:03] local.INFO: GPS Element Parsed {"raw_longitude":757383872,"raw_latitude":113786728,"longitude_deg":75.7383872,"latitude_deg":11.3786728,"altitude":10,"angle":342,"satellites":45,"speed":58,"hex_longitude":"2d24c2c0","hex_latitude":"06c83f68","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773326592001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305148892280782848,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2651846153462407168,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:03] 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-06-02 07:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780364563000,"timestamp_ms":1780364563000,"timestamp_seconds":1780364563,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ff5238"} 
[2026-06-02 07:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:14: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-06-02 07: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":239,"data_length":795,"current_offset":136} 
[2026-06-02 07:14:03] 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-06-02 07: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-06-02 07:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:14:03] 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-06-02 07:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773326592001,"66":27800,"79":206,"81":22528,"24":58,"16":305148892280782848,"45":2651846153462407168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-06-02 07:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773326592001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:14:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-02 07:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305148892280782848,"km_value":305148892280782.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2651846153462407168,"description":"Unknown IO ID 45"} 
[2026-06-02 07:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773326592001,"power":27800,"unknown_79":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2651846153462407168}} 
[2026-06-02 07:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":89565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:14:03] local.INFO: GPS data processed {"connection_id":89565,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:14:03] local.INFO: Acknowledgment sent {"connection_id":89565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:14:04] local.INFO: TCP Data received {"connection_id":89566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:14:04] local.INFO: Processing buffer {"connection_id":89566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:14:04] local.INFO: IMEI packet received {"connection_id":89566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":89566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:14:12] local.INFO: TCP Data received {"connection_id":89409,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:12] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:12] local.INFO: IMEI packet received {"connection_id":89409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":89409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:14:13] local.INFO: TCP Data received {"connection_id":89409,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:13] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:13] local.INFO: IMEI packet received {"connection_id":89409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":89409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:14:14] local.INFO: TCP Data received {"connection_id":89409,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:14] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:14] local.INFO: IMEI packet received {"connection_id":89409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":89409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:14:18] local.INFO: TCP Data received {"connection_id":89409,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:18] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:14:18] local.INFO: IMEI packet received {"connection_id":89409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":89409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:14:19] local.INFO: TCP Data received {"connection_id":89409,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86000200012d832f8005d153b8000d01131e..."} 
[2026-06-02 07:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86000200012d832f8005d153b8000d01131e..."} 
[2026-06-02 07:14:19] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86000200012d832f8005d153b8000d01131e..."} 
[2026-06-02 07:14:19] local.INFO: Packet analysis {"connection_id":89409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:14:19] local.INFO: Extracted packet for processing {"connection_id":89409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:14:19] local.INFO: GPS Element Parsed {"raw_longitude":763572096,"raw_latitude":97604536,"longitude_deg":76.3572096,"latitude_deg":9.7604536,"altitude":13,"angle":275,"satellites":30,"speed":16,"hex_longitude":"2d832f80","hex_latitude":"05d153b8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773339136001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87659449287704576,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993055112174505984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780364608000,"timestamp_ms":1780364608000,"timestamp_seconds":1780364608,"priority":1,"record_length":96,"hex_timestamp":"0000019e86000200"} 
[2026-06-02 07:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2248043456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":18433,"corrected_to":0} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201190405,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4279226369,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6039327156161288448,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3355520387,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147864915,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511930880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1853232541649305605,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,64,85,24,241,157,16,109,158,246,45,84,12,31,10,66,179,128,83,13,30,97,1,240,29,227,133,209,4,113,205,189,51,208,239,52,2,55,5,166,254],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":246,"original":18433,"validated":0},{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-06-02 07:14:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864971637064859648,"timestamp_seconds":864971637064859.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773339136001,"66":13472,"64":206,"85":15104,"24":16,"16":87659449287704576,"45":-8993055112174505984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-02 07:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773339136001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87659449287704576,"km_value":87659449287704.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993055112174505984,"description":"Unknown IO ID 45"} 
[2026-06-02 07:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773339136001,"power":13472,"unknown_64":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-8993055112174505984}} 
[2026-06-02 07:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":89409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:14:19] local.INFO: GPS data processed {"connection_id":89409,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:14:19] local.INFO: Acknowledgment sent {"connection_id":89409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:14:30] local.INFO: TCP Data received {"connection_id":89161,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:14:30] local.INFO: Processing buffer {"connection_id":89161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:14:30] local.INFO: IMEI packet received {"connection_id":89161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":89161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:14:30] local.INFO: TCP Data received {"connection_id":89161,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:14:30] local.INFO: Processing buffer {"connection_id":89161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:14:30] local.INFO: IMEI packet received {"connection_id":89161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":89161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:14:31] local.INFO: TCP Data received {"connection_id":89161,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ff69a8012d24b78006c86048000b01552d..."} 
[2026-06-02 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ff69a8012d24b78006c86048000b01552d..."} 
[2026-06-02 07:14:31] local.INFO: Processing buffer {"connection_id":89161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ff69a8012d24b78006c86048000b01552d..."} 
[2026-06-02 07:14:31] local.INFO: Packet analysis {"connection_id":89161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:14:31] local.INFO: Extracted packet for processing {"connection_id":89161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:14:31] local.INFO: GPS Element Parsed {"raw_longitude":757380992,"raw_latitude":113795144,"longitude_deg":75.7380992,"latitude_deg":11.3795144,"altitude":11,"angle":341,"satellites":45,"speed":59,"hex_longitude":"2d24b780","hex_latitude":"06c86048","is_valid_coordinates":true} 
[2026-06-02 07:14: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-06-02 07:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773328128001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305149321777512448,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2648890666209208320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:31] 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-06-02 07:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780364569000,"timestamp_ms":1780364569000,"timestamp_seconds":1780364569,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ff69a8"} 
[2026-06-02 07:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:14: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-06-02 07:14: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:14:31] 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-06-02 07:14: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-06-02 07:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773328128001,"66":27800,"79":206,"81":22528,"24":59,"16":305149321777512448,"45":2648890666209208320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-06-02 07:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773328128001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:14:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-02 07:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305149321777512448,"km_value":305149321777512.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2648890666209208320,"description":"Unknown IO ID 45"} 
[2026-06-02 07:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773328128001,"power":27800,"unknown_79":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2648890666209208320}} 
[2026-06-02 07:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":89161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:14:31] local.INFO: GPS data processed {"connection_id":89161,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:14:31] local.INFO: Acknowledgment sent {"connection_id":89161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:14:35] local.INFO: TCP Data received {"connection_id":89161,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e85ff8500012d24a9c006c88378000d01522d..."} 
[2026-06-02 07:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e85ff8500012d24a9c006c88378000d01522d..."} 
[2026-06-02 07:14:35] local.INFO: Processing buffer {"connection_id":89161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e85ff8500012d24a9c006c88378000d01522d..."} 
[2026-06-02 07:14:35] local.INFO: Packet analysis {"connection_id":89161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:14:35] local.INFO: Extracted packet for processing {"connection_id":89161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e85ff"} 
[2026-06-02 07:14:35] local.INFO: GPS Element Parsed {"raw_longitude":757377472,"raw_latitude":113804152,"longitude_deg":75.7377472,"latitude_deg":11.3804152,"altitude":13,"angle":338,"satellites":45,"speed":51,"hex_longitude":"2d24a9c0","hex_latitude":"06c88378","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773329664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305149789928947712,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2645724072723367936,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:35] 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-06-02 07:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780364576000,"timestamp_ms":1780364576000,"timestamp_seconds":1780364576,"priority":1,"record_length":96,"hex_timestamp":"0000019e85ff8500"} 
[2026-06-02 07:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773329664001,"66":27995,"46":206,"81":22528,"24":51,"16":305149789928947712,"45":2645724072723367936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-06-02 07:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773329664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:14:35] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-02 07:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305149789928947712,"km_value":305149789928947.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2645724072723367936,"description":"Unknown IO ID 45"} 
[2026-06-02 07:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773329664001,"power":27995,"unknown_46":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2645724072723367936}} 
[2026-06-02 07:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":89161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:14:35] local.INFO: GPS data processed {"connection_id":89161,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:14:35] local.INFO: Acknowledgment sent {"connection_id":89161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:14:50] local.INFO: TCP Data received {"connection_id":89409,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860030e0012d830c0005d155f0000e01121e..."} 
[2026-06-02 07:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860030e0012d830c0005d155f0000e01121e..."} 
[2026-06-02 07:14:50] local.INFO: Processing buffer {"connection_id":89409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860030e0012d830c0005d155f0000e01121e..."} 
[2026-06-02 07:14:50] local.INFO: Packet analysis {"connection_id":89409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:14:50] local.INFO: Extracted packet for processing {"connection_id":89409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:14:50] local.INFO: GPS Element Parsed {"raw_longitude":763563008,"raw_latitude":97605104,"longitude_deg":76.3563008,"latitude_deg":9.7605104,"altitude":14,"angle":274,"satellites":30,"speed":42,"hex_longitude":"2d830c00","hex_latitude":"05d155f0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773339648001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87659883079401472,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993829168360474624,"note":"Value kept but may cause issues"} 
[2026-06-02 07:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780364620000,"timestamp_ms":1780364620000,"timestamp_seconds":1780364620,"priority":1,"record_length":96,"hex_timestamp":"0000019e860030e0"} 
[2026-06-02 07:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:14:50] 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-06-02 07: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":160,"data_length":795,"current_offset":136} 
[2026-06-02 07:14:50] 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-06-02 07: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-06-02 07:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773339648001,"66":13319,"64":206,"85":15104,"24":42,"16":87659883079401472,"45":-8993829168360474624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-02 07:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773339648001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:14:50] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-02 07:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87659883079401472,"km_value":87659883079401.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993829168360474624,"description":"Unknown IO ID 45"} 
[2026-06-02 07:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773339648001,"power":13319,"unknown_64":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-8993829168360474624}} 
[2026-06-02 07:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":89409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:14:50] local.INFO: GPS data processed {"connection_id":89409,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:14:50] local.INFO: Acknowledgment sent {"connection_id":89409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:15:07] local.INFO: TCP Data received {"connection_id":89161,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8600c938012d23e50006ca1198000d01332d..."} 
[2026-06-02 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8600c938012d23e50006ca1198000d01332d..."} 
[2026-06-02 07:15:07] local.INFO: Processing buffer {"connection_id":89161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8600c938012d23e50006ca1198000d01332d..."} 
[2026-06-02 07:15:07] local.INFO: Packet analysis {"connection_id":89161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:07] local.INFO: Extracted packet for processing {"connection_id":89161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:07] local.INFO: GPS Element Parsed {"raw_longitude":757327104,"raw_latitude":113906072,"longitude_deg":75.7327104,"latitude_deg":11.3906072,"altitude":13,"angle":307,"satellites":45,"speed":57,"hex_longitude":"2d23e500","hex_latitude":"06ca1198","is_valid_coordinates":true} 
[2026-06-02 07:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773351168001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305155377681399808,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2593088252105299968,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:07] 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-06-02 07:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780364659000,"timestamp_ms":1780364659000,"timestamp_seconds":1780364659,"priority":1,"record_length":96,"hex_timestamp":"0000019e8600c938"} 
[2026-06-02 07:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:15:07] 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-06-02 07:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773351168001,"66":27865,"241":206,"81":22528,"24":57,"16":305155377681399808,"45":2593088252105299968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-06-02 07:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773351168001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:15:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 07:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305155377681399808,"km_value":305155377681399.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2593088252105299968,"description":"Unknown IO ID 45"} 
[2026-06-02 07:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773351168001,"power":27865,"unknown_241":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2593088252105299968}} 
[2026-06-02 07:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":89161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:15:07] local.INFO: GPS data processed {"connection_id":89161,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:15:07] local.INFO: Acknowledgment sent {"connection_id":89161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:15:13] local.INFO: TCP Data received {"connection_id":90626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:13] local.INFO: Processing buffer {"connection_id":90626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:13] local.INFO: IMEI packet received {"connection_id":90626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":90626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:15:13] local.INFO: TCP Data received {"connection_id":90626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:13] local.INFO: Processing buffer {"connection_id":90626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:13] local.INFO: IMEI packet received {"connection_id":90626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":90626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:15:18] local.INFO: TCP Data received {"connection_id":90626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:18] local.INFO: Processing buffer {"connection_id":90626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:15:18] local.INFO: IMEI packet received {"connection_id":90626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":90626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:15:18] local.INFO: TCP Data received {"connection_id":90626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86005020012d82e54005d15880000c01131e..."} 
[2026-06-02 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86005020012d82e54005d15880000c01131e..."} 
[2026-06-02 07:15:18] local.INFO: Processing buffer {"connection_id":90626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86005020012d82e54005d15880000c01131e..."} 
[2026-06-02 07:15:18] local.INFO: Packet analysis {"connection_id":90626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:18] local.INFO: Extracted packet for processing {"connection_id":90626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763553088,"raw_latitude":97605760,"longitude_deg":76.3553088,"latitude_deg":9.760576,"altitude":12,"angle":275,"satellites":30,"speed":54,"hex_longitude":"2d82e540","hex_latitude":"05d15880","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773342720001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87660355525804032,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9003821530033557504,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780364628000,"timestamp_ms":1780364628000,"timestamp_seconds":1780364628,"priority":1,"record_length":96,"hex_timestamp":"0000019e86005020"} 
[2026-06-02 07:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:15: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-06-02 07: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":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2248085456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201190405,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":18433,"corrected_to":0} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4289978369,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6039327156161289472,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3623955843,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511930880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.WARNING: Large IO value detected {"io_id":254,"raw_value":-4771562510212694011,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,64,85,24,241,157,16,110,158,2,45,128,83,13,30,10,66,109,250,12,31,246,1,240,7,227,133,209,4,113,205,97,51,208,29,239,52,55,5,254],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":246,"original":18433,"validated":0},{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-06-02 07:15:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009107711568773120,"timestamp_seconds":1009107711568773.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773342720001,"66":13254,"64":206,"85":15104,"24":54,"16":87660355525804032,"45":-9003821530033557504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-02 07:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773342720001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87660355525804032,"km_value":87660355525804.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9003821530033557504,"description":"Unknown IO ID 45"} 
[2026-06-02 07:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773342720001,"power":13254,"unknown_64":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-9003821530033557504}} 
[2026-06-02 07:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":90626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:15:18] local.INFO: GPS data processed {"connection_id":90626,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:15:18] local.INFO: Acknowledgment sent {"connection_id":90626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:15:25] local.INFO: TCP Data received {"connection_id":89162,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:25] local.INFO: Processing buffer {"connection_id":89162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:25] local.INFO: IMEI packet received {"connection_id":89162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":89162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:15:25] local.INFO: TCP Data received {"connection_id":89162,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:25] local.INFO: Processing buffer {"connection_id":89162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:25] local.INFO: IMEI packet received {"connection_id":89162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":89162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:15:28] local.INFO: TCP Data received {"connection_id":89162,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:28] local.INFO: Processing buffer {"connection_id":89162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:15:28] local.INFO: IMEI packet received {"connection_id":89162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":89162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:15:29] local.INFO: TCP Data received {"connection_id":89162,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8600dcc0012d23cc0006ca2090000d01272d..."} 
[2026-06-02 07:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8600dcc0012d23cc0006ca2090000d01272d..."} 
[2026-06-02 07:15:29] local.INFO: Processing buffer {"connection_id":89162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8600dcc0012d23cc0006ca2090000d01272d..."} 
[2026-06-02 07:15:29] local.INFO: Packet analysis {"connection_id":89162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:29] local.INFO: Extracted packet for processing {"connection_id":89162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:29] local.INFO: GPS Element Parsed {"raw_longitude":757320704,"raw_latitude":113909904,"longitude_deg":75.7320704,"latitude_deg":11.3909904,"altitude":13,"angle":295,"satellites":45,"speed":60,"hex_longitude":"2d23cc00","hex_latitude":"06ca2090","is_valid_coordinates":true} 
[2026-06-02 07:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773352704001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305155734163685376,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2586473590154172416,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:29] 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-06-02 07:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780364664000,"timestamp_ms":1780364664000,"timestamp_seconds":1780364664,"priority":1,"record_length":96,"hex_timestamp":"0000019e8600dcc0"} 
[2026-06-02 07:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:15: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-06-02 07:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:15: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-06-02 07:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:15:29] 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-06-02 07:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773352704001,"66":27745,"241":206,"81":22528,"24":60,"16":305155734163685376,"45":2586473590154172416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-06-02 07:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773352704001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305155734163685376,"km_value":305155734163685.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2586473590154172416,"description":"Unknown IO ID 45"} 
[2026-06-02 07:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773352704001,"power":27745,"unknown_241":206,"unknown_81":22528,"ignition":60,"odometer":null,"unknown_45":2586473590154172416}} 
[2026-06-02 07:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":89162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:15:29] local.INFO: GPS data processed {"connection_id":89162,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:15:29] local.INFO: Acknowledgment sent {"connection_id":89162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:15:29] local.INFO: TCP Data received {"connection_id":89162,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8600ec60012d23b48006ca27e8000d011a2b..."} 
[2026-06-02 07:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8600ec60012d23b48006ca27e8000d011a2b..."} 
[2026-06-02 07:15:29] local.INFO: Processing buffer {"connection_id":89162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8600ec60012d23b48006ca27e8000d011a2b..."} 
[2026-06-02 07:15:29] local.INFO: Packet analysis {"connection_id":89162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:29] local.INFO: Extracted packet for processing {"connection_id":89162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8600"} 
[2026-06-02 07:15:29] local.INFO: GPS Element Parsed {"raw_longitude":757314688,"raw_latitude":113911784,"longitude_deg":75.7314688,"latitude_deg":11.3911784,"altitude":13,"angle":282,"satellites":43,"speed":61,"hex_longitude":"2d23b480","hex_latitude":"06ca27e8","is_valid_coordinates":true} 
[2026-06-02 07:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773353984001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305156034811396096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2579436715737387008,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:29] 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-06-02 07:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780364668000,"timestamp_ms":1780364668000,"timestamp_seconds":1780364668,"priority":1,"record_length":96,"hex_timestamp":"0000019e8600ec60"} 
[2026-06-02 07:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:15: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-06-02 07:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 07:15: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-06-02 07:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:15:29] 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-06-02 07:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773353984001,"66":27865,"241":206,"81":22528,"24":61,"16":305156034811396096,"45":2579436715737387008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-06-02 07:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773353984001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305156034811396096,"km_value":305156034811396.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2579436715737387008,"description":"Unknown IO ID 45"} 
[2026-06-02 07:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773353984001,"power":27865,"unknown_241":206,"unknown_81":22528,"ignition":61,"odometer":null,"unknown_45":2579436715737387008}} 
[2026-06-02 07:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":89162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:15:30] local.INFO: GPS data processed {"connection_id":89162,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:15:30] local.INFO: Acknowledgment sent {"connection_id":89162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:15:49] local.INFO: TCP Data received {"connection_id":90626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8601d6c0012d82950005d214e0000d016521..."} 
[2026-06-02 07:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8601d6c0012d82950005d214e0000d016521..."} 
[2026-06-02 07:15:49] local.INFO: Processing buffer {"connection_id":90626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8601d6c0012d82950005d214e0000d016521..."} 
[2026-06-02 07:15:49] local.INFO: Packet analysis {"connection_id":90626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:15:49] local.INFO: Extracted packet for processing {"connection_id":90626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:15:49] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97653984,"longitude_deg":76.3532544,"latitude_deg":9.7653984,"altitude":13,"angle":357,"satellites":33,"speed":44,"hex_longitude":"2d829500","hex_latitude":"05d214e0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773368320001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87663589636177920,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577275244544,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] 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-06-02 07:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780364728000,"timestamp_ms":1780364728000,"timestamp_seconds":1780364728,"priority":1,"record_length":96,"hex_timestamp":"0000019e8601d6c0"} 
[2026-06-02 07:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:15:49] 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-06-02 07: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":18,"data_length":795,"current_offset":136} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2248192456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190819333,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":9,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4611912883884791808,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279362699172078024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7151716251236048384,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3513014272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 07:15:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,63,85,24,241,157,16,113,158,148,45,192,204,9,32,10,66,112,78,169,8,255,64,1,240,133,227,134,209,4,205,20,193,40,30,239,52,2,55,5,11,237,65],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-06-02 07:15:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793027301316886528,"timestamp_seconds":793027301316886.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773368320001,"66":13406,"63":206,"85":15104,"24":44,"16":87663589636177920,"45":-9037035577275244544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773368320001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:15:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87663589636177920,"km_value":87663589636177.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577275244544,"description":"Unknown IO ID 45"} 
[2026-06-02 07:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773368320001,"power":13406,"unknown_63":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9037035577275244544}} 
[2026-06-02 07:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":90626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:15:49] local.INFO: GPS data processed {"connection_id":90626,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:15:49] local.INFO: Acknowledgment sent {"connection_id":90626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:16:03] local.INFO: TCP Data received {"connection_id":89162,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860107b8012d238bc006ca2f20000d01172c..."} 
[2026-06-02 07:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860107b8012d238bc006ca2f20000d01172c..."} 
[2026-06-02 07:16:03] local.INFO: Processing buffer {"connection_id":89162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860107b8012d238bc006ca2f20000d01172c..."} 
[2026-06-02 07:16:03] local.INFO: Packet analysis {"connection_id":89162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:16:03] local.INFO: Extracted packet for processing {"connection_id":89162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:16:03] local.INFO: GPS Element Parsed {"raw_longitude":757304256,"raw_latitude":113913632,"longitude_deg":75.7304256,"latitude_deg":11.3913632,"altitude":13,"angle":279,"satellites":44,"speed":59,"hex_longitude":"2d238bc0","hex_latitude":"06ca2f20","is_valid_coordinates":true} 
[2026-06-02 07:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773355008001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305156541617537024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2572822053785167872,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:03] 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-06-02 07:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780364675000,"timestamp_ms":1780364675000,"timestamp_seconds":1780364675,"priority":1,"record_length":96,"hex_timestamp":"0000019e860107b8"} 
[2026-06-02 07:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:16: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-06-02 07:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:16: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-06-02 07:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:16:03] 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-06-02 07:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773355008001,"66":27865,"241":206,"81":22528,"24":59,"16":305156541617537024,"45":2572822053785167872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-06-02 07:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773355008001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:16:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 07:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305156541617537024,"km_value":305156541617537.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2572822053785167872,"description":"Unknown IO ID 45"} 
[2026-06-02 07:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773355008001,"power":27865,"unknown_241":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2572822053785167872}} 
[2026-06-02 07:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":89162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:16:03] local.INFO: GPS data processed {"connection_id":89162,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:16:03] local.INFO: Acknowledgment sent {"connection_id":89162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:16:18] local.INFO: TCP Data received {"connection_id":89163,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:16:18] local.INFO: Processing buffer {"connection_id":89163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:16:18] local.INFO: IMEI packet received {"connection_id":89163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":89163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:16:20] local.INFO: TCP Data received {"connection_id":89163,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:16:20] local.INFO: Processing buffer {"connection_id":89163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:16:20] local.INFO: IMEI packet received {"connection_id":89163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":89163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:16:21] local.INFO: TCP Data received {"connection_id":89163,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8601f600012d82950005d237a8000d000321..."} 
[2026-06-02 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8601f600012d82950005d237a8000d000321..."} 
[2026-06-02 07:16:21] local.INFO: Processing buffer {"connection_id":89163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8601f600012d82950005d237a8000d000321..."} 
[2026-06-02 07:16:21] local.INFO: Packet analysis {"connection_id":89163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:16:21] local.INFO: Extracted packet for processing {"connection_id":89163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97662888,"longitude_deg":76.3532544,"latitude_deg":9.7662888,"altitude":13,"angle":3,"satellites":33,"speed":45,"hex_longitude":"2d829500","hex_latitude":"05d237a8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773370368001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87664019132907520,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052249612288,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780364736000,"timestamp_ms":1780364736000,"timestamp_seconds":1780364736,"priority":1,"record_length":96,"hex_timestamp":"0000019e8601f600"} 
[2026-06-02 07:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:16:21] 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-06-02 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-02 07:16:21] 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-06-02 07: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-06-02 07:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773370368001,"66":13298,"63":206,"85":15104,"24":45,"16":87664019132907520,"45":-9037317052249612288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773370368001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:16:21] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87664019132907520,"km_value":87664019132907.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052249612288,"description":"Unknown IO ID 45"} 
[2026-06-02 07:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773370368001,"power":13298,"unknown_63":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9037317052249612288}} 
[2026-06-02 07:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":89163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:16:21] local.INFO: GPS data processed {"connection_id":89163,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:16:21] local.INFO: Acknowledgment sent {"connection_id":89163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:16:21] local.INFO: TCP Data received {"connection_id":89164,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:21] local.INFO: Processing buffer {"connection_id":89164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:21] local.INFO: IMEI packet received {"connection_id":89164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":89164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:16:24] local.INFO: TCP Data received {"connection_id":89163,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86021928012d82950005d25c50000d016221..."} 
[2026-06-02 07:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86021928012d82950005d25c50000d016221..."} 
[2026-06-02 07:16:24] local.INFO: Processing buffer {"connection_id":89163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86021928012d82950005d25c50000d016221..."} 
[2026-06-02 07:16:24] local.INFO: Packet analysis {"connection_id":89163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:16:24] local.INFO: Extracted packet for processing {"connection_id":89163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97672272,"longitude_deg":76.3532544,"latitude_deg":9.7672272,"altitude":13,"angle":354,"satellites":33,"speed":34,"hex_longitude":"2d829500","hex_latitude":"05d25c50","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773372416001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87664474399440896,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052247332864,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:24] 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-06-02 07:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780364745000,"timestamp_ms":1780364745000,"timestamp_seconds":1780364745,"priority":1,"record_length":96,"hex_timestamp":"0000019e86021928"} 
[2026-06-02 07:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 07:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773372416001,"66":13243,"63":206,"85":15104,"24":34,"16":87664474399440896,"45":-9037317052247332864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773372416001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:16:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:16:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87664474399440896,"km_value":87664474399440.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052247332864,"description":"Unknown IO ID 45"} 
[2026-06-02 07:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773372416001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9037317052247332864}} 
[2026-06-02 07:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":89163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:16:24] local.INFO: GPS data processed {"connection_id":89163,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:16:24] local.INFO: Acknowledgment sent {"connection_id":89163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:16:25] local.INFO: TCP Data received {"connection_id":89164,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:25] local.INFO: Processing buffer {"connection_id":89164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:25] local.INFO: IMEI packet received {"connection_id":89164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":89164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:16:28] local.INFO: TCP Data received {"connection_id":89164,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:28] local.INFO: Processing buffer {"connection_id":89164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:16:28] local.INFO: IMEI packet received {"connection_id":89164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":89164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:16:29] local.INFO: TCP Data received {"connection_id":89164,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86012310012d23630006ca3758000e01212b..."} 
[2026-06-02 07:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86012310012d23630006ca3758000e01212b..."} 
[2026-06-02 07:16:29] local.INFO: Processing buffer {"connection_id":89164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86012310012d23630006ca3758000e01212b..."} 
[2026-06-02 07:16:29] local.INFO: Packet analysis {"connection_id":89164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:16:29] local.INFO: Extracted packet for processing {"connection_id":89164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8601"} 
[2026-06-02 07:16:29] local.INFO: GPS Element Parsed {"raw_longitude":757293824,"raw_latitude":113915736,"longitude_deg":75.7293824,"latitude_deg":11.3915736,"altitude":14,"angle":289,"satellites":43,"speed":59,"hex_longitude":"2d236300","hex_latitude":"06ca3758","is_valid_coordinates":true} 
[2026-06-02 07:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305157044128710656,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2561351948484681728,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:29] 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-06-02 07:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780364682000,"timestamp_ms":1780364682000,"timestamp_seconds":1780364682,"priority":1,"record_length":96,"hex_timestamp":"0000019e86012310"} 
[2026-06-02 07:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:16: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-06-02 07:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:16: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-06-02 07:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:16:29] 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-06-02 07:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773356800001,"66":27865,"241":206,"81":22528,"24":59,"16":305157044128710656,"45":2561351948484681728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-06-02 07:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:16:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-02 07:16:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305157044128710656,"km_value":305157044128710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2561351948484681728,"description":"Unknown IO ID 45"} 
[2026-06-02 07:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773356800001,"power":27865,"unknown_241":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2561351948484681728}} 
[2026-06-02 07:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":89164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:16:29] local.INFO: GPS data processed {"connection_id":89164,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:16:29] local.INFO: Acknowledgment sent {"connection_id":89164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:16:55] local.INFO: TCP Data received {"connection_id":89163,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86024420012d82904005d281d0000d016221..."} 
[2026-06-02 07:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86024420012d82904005d281d0000d016221..."} 
[2026-06-02 07:16:55] local.INFO: Processing buffer {"connection_id":89163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86024420012d82904005d281d0000d016221..."} 
[2026-06-02 07:16:55] local.INFO: Packet analysis {"connection_id":89163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:16:55] local.INFO: Extracted packet for processing {"connection_id":89163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763531328,"raw_latitude":97681872,"longitude_deg":76.3531328,"latitude_deg":9.7681872,"altitude":13,"angle":354,"satellites":33,"speed":37,"hex_longitude":"2d829040","hex_latitude":"05d281d0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773374720001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87664946845843456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052244930560,"note":"Value kept but may cause issues"} 
[2026-06-02 07:16:55] 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-06-02 07:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780364756000,"timestamp_ms":1780364756000,"timestamp_seconds":1780364756,"priority":1,"record_length":96,"hex_timestamp":"0000019e86024420"} 
[2026-06-02 07:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:16:55] 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-06-02 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 07:16: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-06-02 07: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-06-02 07:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":89163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":89163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":89163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773374720001,"66":13243,"63":206,"85":15104,"24":37,"16":87664946845843456,"45":-9037317052244930560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-02 07:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773374720001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:16:55] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 07:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87664946845843456,"km_value":87664946845843.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052244930560,"description":"Unknown IO ID 45"} 
[2026-06-02 07:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773374720001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9037317052244930560}} 
[2026-06-02 07:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":89163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:16:55] local.INFO: GPS data processed {"connection_id":89163,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:16:55] local.INFO: Acknowledgment sent {"connection_id":89163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:17:02] local.INFO: TCP Data received {"connection_id":89164,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86025b90012d2297c006cb8678000c01472d..."} 
[2026-06-02 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86025b90012d2297c006cb8678000c01472d..."} 
[2026-06-02 07:17:02] local.INFO: Processing buffer {"connection_id":89164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86025b90012d2297c006cb8678000c01472d..."} 
[2026-06-02 07:17:02] local.INFO: Packet analysis {"connection_id":89164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:17:02] local.INFO: Extracted packet for processing {"connection_id":89164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":757241792,"raw_latitude":114001528,"longitude_deg":75.7241792,"latitude_deg":11.4001528,"altitude":12,"angle":327,"satellites":45,"speed":56,"hex_longitude":"2d2297c0","hex_latitude":"06cb8678","is_valid_coordinates":true} 
[2026-06-02 07:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773377280001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305162017700839424,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2498653397442656256,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:02] 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-06-02 07:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780364762000,"timestamp_ms":1780364762000,"timestamp_seconds":1780364762,"priority":1,"record_length":96,"hex_timestamp":"0000019e86025b90"} 
[2026-06-02 07:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:17: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-06-02 07:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:17: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-06-02 07:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:17:02] 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-06-02 07:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773377280001,"66":27658,"179":206,"81":22528,"24":56,"16":305162017700839424,"45":2498653397442656256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-06-02 07:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773377280001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:17:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-02 07:17:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305162017700839424,"km_value":305162017700839.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2498653397442656256,"description":"Unknown IO ID 45"} 
[2026-06-02 07:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773377280001,"power":27658,"unknown_179":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2498653397442656256}} 
[2026-06-02 07:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":89164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:17:02] local.INFO: GPS data processed {"connection_id":89164,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:17:02] local.INFO: Acknowledgment sent {"connection_id":89164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:17:13] local.INFO: TCP Data received {"connection_id":90627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:13] local.INFO: Processing buffer {"connection_id":90627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:13] local.INFO: IMEI packet received {"connection_id":90627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":90627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:17:14] local.INFO: TCP Data received {"connection_id":90627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:14] local.INFO: Processing buffer {"connection_id":90627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:14] local.INFO: IMEI packet received {"connection_id":90627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":90627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:17:18] local.INFO: TCP Data received {"connection_id":90627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:18] local.INFO: Processing buffer {"connection_id":90627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:17:18] local.INFO: IMEI packet received {"connection_id":90627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":90627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:17:19] local.INFO: TCP Data received {"connection_id":90627,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86033a38012d827dc005d34ac8000c010d21..."} 
[2026-06-02 07:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86033a38012d827dc005d34ac8000c010d21..."} 
[2026-06-02 07:17:19] local.INFO: Processing buffer {"connection_id":90627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86033a38012d827dc005d34ac8000c010d21..."} 
[2026-06-02 07:17:19] local.INFO: Packet analysis {"connection_id":90627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:17:19] local.INFO: Extracted packet for processing {"connection_id":90627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:17:19] local.INFO: GPS Element Parsed {"raw_longitude":763526592,"raw_latitude":97733320,"longitude_deg":76.3526592,"latitude_deg":9.773332,"altitude":12,"angle":269,"satellites":33,"speed":10,"hex_longitude":"2d827dc0","hex_latitude":"05d34ac8","is_valid_coordinates":true} 
[2026-06-02 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773393408001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87667480876548096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043579870461118464,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:19] 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-06-02 07:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780364819000,"timestamp_ms":1780364819000,"timestamp_seconds":1780364819,"priority":1,"record_length":96,"hex_timestamp":"0000019e86033a38"} 
[2026-06-02 07:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:17: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-06-02 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 07:17: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-06-02 07:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773393408001,"66":13363,"221":206,"85":15104,"24":10,"16":87667480876548096,"45":-9043579870461118464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 07:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773393408001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:17:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 07:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87667480876548096,"km_value":87667480876548.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043579870461118464,"description":"Unknown IO ID 45"} 
[2026-06-02 07:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773393408001,"power":13363,"unknown_221":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9043579870461118464}} 
[2026-06-02 07:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":90627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:17:19] local.INFO: GPS data processed {"connection_id":90627,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:17:19] local.INFO: Acknowledgment sent {"connection_id":90627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:17:25] local.INFO: TCP Data received {"connection_id":90627,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860345f0012d8278c005d349e0000c010121..."} 
[2026-06-02 07:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860345f0012d8278c005d349e0000c010121..."} 
[2026-06-02 07:17:25] local.INFO: Processing buffer {"connection_id":90627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860345f0012d8278c005d349e0000c010121..."} 
[2026-06-02 07:17:25] local.INFO: Packet analysis {"connection_id":90627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:17:25] local.INFO: Extracted packet for processing {"connection_id":90627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763525312,"raw_latitude":97733088,"longitude_deg":76.3525312,"latitude_deg":9.7733088,"altitude":12,"angle":257,"satellites":33,"speed":22,"hex_longitude":"2d8278c0","hex_latitude":"05d349e0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773393664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87667541006090240,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043861345437825024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17: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-06-02 07:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780364822000,"timestamp_ms":1780364822000,"timestamp_seconds":1780364822,"priority":1,"record_length":96,"hex_timestamp":"0000019e860345f0"} 
[2026-06-02 07:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:17:25] 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-06-02 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 07:17: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-06-02 07: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-06-02 07:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":90627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":90627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":90627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773393664001,"66":13254,"221":206,"85":15104,"24":22,"16":87667541006090240,"45":-9043861345437825024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 07:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773393664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87667541006090240,"km_value":87667541006090.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043861345437825024,"description":"Unknown IO ID 45"} 
[2026-06-02 07:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773393664001,"power":13254,"unknown_221":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9043861345437825024}} 
[2026-06-02 07:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":90627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:17:25] local.INFO: GPS data processed {"connection_id":90627,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:17:25] local.INFO: Acknowledgment sent {"connection_id":90627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:17:36] local.INFO: TCP Data received {"connection_id":89411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:36] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:36] local.INFO: IMEI packet received {"connection_id":89411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":89411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:17:40] local.INFO: TCP Data received {"connection_id":89411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:40] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:40] local.INFO: IMEI packet received {"connection_id":89411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":89411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:17:45] local.INFO: TCP Data received {"connection_id":89411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:45] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:17:45] local.INFO: IMEI packet received {"connection_id":89411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":89411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:17:46] local.INFO: TCP Data received {"connection_id":89411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86027300012d22838006cba020000d013c2d..."} 
[2026-06-02 07:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86027300012d22838006cba020000d013c2d..."} 
[2026-06-02 07:17:46] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86027300012d22838006cba020000d013c2d..."} 
[2026-06-02 07:17:46] local.INFO: Packet analysis {"connection_id":89411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:17:46] local.INFO: Extracted packet for processing {"connection_id":89411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:17:46] local.INFO: GPS Element Parsed {"raw_longitude":757236608,"raw_latitude":114008096,"longitude_deg":75.7236608,"latitude_deg":11.4008096,"altitude":13,"angle":316,"satellites":45,"speed":54,"hex_longitude":"2d228380","hex_latitude":"06cba020","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773379072001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305162417132797952,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2492672054189783040,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:46] 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-06-02 07:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780364768000,"timestamp_ms":1780364768000,"timestamp_seconds":1780364768,"priority":1,"record_length":96,"hex_timestamp":"0000019e86027300"} 
[2026-06-02 07:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07: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-06-02 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 07:17:46] 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-06-02 07: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-06-02 07:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773379072001,"66":27745,"179":206,"81":22528,"24":54,"16":305162417132797952,"45":2492672054189783040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-06-02 07:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773379072001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:17:46] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-02 07:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305162417132797952,"km_value":305162417132797.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2492672054189783040,"description":"Unknown IO ID 45"} 
[2026-06-02 07:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773379072001,"power":27745,"unknown_179":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2492672054189783040}} 
[2026-06-02 07:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":89411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:17:46] local.INFO: GPS data processed {"connection_id":89411,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:17:46] local.INFO: Acknowledgment sent {"connection_id":89411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:17:47] local.INFO: TCP Data received {"connection_id":89411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86028e58012d22674006cbb738000d01322d..."} 
[2026-06-02 07:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86028e58012d22674006cbb738000d01322d..."} 
[2026-06-02 07:17:47] local.INFO: Processing buffer {"connection_id":89411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86028e58012d22674006cbb738000d01322d..."} 
[2026-06-02 07:17:47] local.INFO: Packet analysis {"connection_id":89411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:17:47] local.INFO: Extracted packet for processing {"connection_id":89411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8602"} 
[2026-06-02 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":757229376,"raw_latitude":114014008,"longitude_deg":75.7229376,"latitude_deg":11.4014008,"altitude":13,"angle":306,"satellites":45,"speed":51,"hex_longitude":"2d226740","hex_latitude":"06cbb738","is_valid_coordinates":true} 
[2026-06-02 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773380608001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305162868104364032,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2486972185913073664,"note":"Value kept but may cause issues"} 
[2026-06-02 07:17:47] 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-06-02 07:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780364775000,"timestamp_ms":1780364775000,"timestamp_seconds":1780364775,"priority":1,"record_length":96,"hex_timestamp":"0000019e86028e58"} 
[2026-06-02 07:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 07:17: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-06-02 07:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:17:47] 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-06-02 07:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773380608001,"66":27615,"179":206,"81":22528,"24":51,"16":305162868104364032,"45":2486972185913073664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-06-02 07:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773380608001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:17:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-02 07:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305162868104364032,"km_value":305162868104364.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2486972185913073664,"description":"Unknown IO ID 45"} 
[2026-06-02 07:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773380608001,"power":27615,"unknown_179":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2486972185913073664}} 
[2026-06-02 07:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":89411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:17:47] local.INFO: GPS data processed {"connection_id":89411,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:17:47] local.INFO: Acknowledgment sent {"connection_id":89411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:18:09] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:09] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:09] local.INFO: IMEI packet received {"connection_id":89412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":89412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:18:11] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:11] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:11] local.INFO: IMEI packet received {"connection_id":89412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":89412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:18:12] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:12] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:12] local.INFO: IMEI packet received {"connection_id":89412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":89412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:18:13] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:13] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:18:13] local.INFO: IMEI packet received {"connection_id":89412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":89412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:18:29] local.INFO: TCP Data received {"connection_id":89165,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:18:29] local.INFO: Processing buffer {"connection_id":89165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:18:29] local.INFO: IMEI packet received {"connection_id":89165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:18:34] local.INFO: TCP Data received {"connection_id":89165,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:18:34] local.INFO: Processing buffer {"connection_id":89165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:18:34] local.INFO: IMEI packet received {"connection_id":89165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":89165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:18:35] local.INFO: TCP Data received {"connection_id":89165,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86039be0012d21c44006ccaca00009015c2a..."} 
[2026-06-02 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86039be0012d21c44006ccaca00009015c2a..."} 
[2026-06-02 07:18:35] local.INFO: Processing buffer {"connection_id":89165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86039be0012d21c44006ccaca00009015c2a..."} 
[2026-06-02 07:18:35] local.INFO: Packet analysis {"connection_id":89165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:18:35] local.INFO: Extracted packet for processing {"connection_id":89165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:18:35] local.INFO: GPS Element Parsed {"raw_longitude":757187648,"raw_latitude":114076832,"longitude_deg":75.7187648,"latitude_deg":11.4076832,"altitude":9,"angle":348,"satellites":42,"speed":47,"hex_longitude":"2d21c440","hex_latitude":"06ccaca0","is_valid_coordinates":true} 
[2026-06-02 07:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773400064001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305166561776238592,"note":"Value kept but may cause issues"} 
[2026-06-02 07:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2433140096634757120,"note":"Value kept but may cause issues"} 
[2026-06-02 07:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780364844000,"timestamp_ms":1780364844000,"timestamp_seconds":1780364844,"priority":1,"record_length":96,"hex_timestamp":"0000019e86039be0"} 
[2026-06-02 07:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773400064001,"66":27843,"233":206,"81":22528,"24":47,"16":305166561776238592,"45":2433140096634757120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-06-02 07:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773400064001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:18:35] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-06-02 07:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305166561776238592,"km_value":305166561776238.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2433140096634757120,"description":"Unknown IO ID 45"} 
[2026-06-02 07:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773400064001,"power":27843,"unknown_233":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2433140096634757120}} 
[2026-06-02 07:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":89165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:18:35] local.INFO: GPS data processed {"connection_id":89165,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:18:35] local.INFO: Acknowledgment sent {"connection_id":89165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:19:06] local.INFO: TCP Data received {"connection_id":89165,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8603bb20012d21bf8006ccd2e0000a01612c..."} 
[2026-06-02 07:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8603bb20012d21bf8006ccd2e0000a01612c..."} 
[2026-06-02 07:19:06] local.INFO: Processing buffer {"connection_id":89165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8603bb20012d21bf8006ccd2e0000a01612c..."} 
[2026-06-02 07:19:06] local.INFO: Packet analysis {"connection_id":89165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:19:06] local.INFO: Extracted packet for processing {"connection_id":89165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":757186432,"raw_latitude":114086624,"longitude_deg":75.7186432,"latitude_deg":11.4086624,"altitude":10,"angle":353,"satellites":44,"speed":50,"hex_longitude":"2d21bf80","hex_latitude":"06ccd2e0","is_valid_coordinates":true} 
[2026-06-02 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773400064001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305167042812575744,"note":"Value kept but may cause issues"} 
[2026-06-02 07:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2433140096634757120,"note":"Value kept but may cause issues"} 
[2026-06-02 07:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780364852000,"timestamp_ms":1780364852000,"timestamp_seconds":1780364852,"priority":1,"record_length":96,"hex_timestamp":"0000019e8603bb20"} 
[2026-06-02 07:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773400064001,"66":27745,"233":206,"81":22528,"24":50,"16":305167042812575744,"45":2433140096634757120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-06-02 07:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773400064001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:19:06] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-06-02 07:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305167042812575744,"km_value":305167042812575.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2433140096634757120,"description":"Unknown IO ID 45"} 
[2026-06-02 07:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773400064001,"power":27745,"unknown_233":206,"unknown_81":22528,"ignition":50,"odometer":null,"unknown_45":2433140096634757120}} 
[2026-06-02 07:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":89165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:19:06] local.INFO: GPS data processed {"connection_id":89165,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:19:06] local.INFO: Acknowledgment sent {"connection_id":89165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:19:24] local.INFO: TCP Data received {"connection_id":90628,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:24] local.INFO: Processing buffer {"connection_id":90628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:24] local.INFO: IMEI packet received {"connection_id":90628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":90628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:19:25] local.INFO: TCP Data received {"connection_id":90628,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:25] local.INFO: Processing buffer {"connection_id":90628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:25] local.INFO: IMEI packet received {"connection_id":90628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":90628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:19:30] local.INFO: TCP Data received {"connection_id":90628,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:30] local.INFO: Processing buffer {"connection_id":90628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:19:30] local.INFO: IMEI packet received {"connection_id":90628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":90628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:19:30] local.INFO: TCP Data received {"connection_id":90628,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8603cea8012d21b9c006cceae0000b01532b..."} 
[2026-06-02 07:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8603cea8012d21b9c006cceae0000b01532b..."} 
[2026-06-02 07:19:30] local.INFO: Processing buffer {"connection_id":90628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8603cea8012d21b9c006cceae0000b01532b..."} 
[2026-06-02 07:19:30] local.INFO: Packet analysis {"connection_id":90628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:19:30] local.INFO: Extracted packet for processing {"connection_id":90628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8603"} 
[2026-06-02 07:19:30] local.INFO: GPS Element Parsed {"raw_longitude":757184960,"raw_latitude":114092768,"longitude_deg":75.718496,"latitude_deg":11.4092768,"altitude":11,"angle":339,"satellites":43,"speed":50,"hex_longitude":"2d21b9c0","hex_latitude":"06cceae0","is_valid_coordinates":true} 
[2026-06-02 07:19: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-06-02 07:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773402112001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305167347755253760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2431803090497888256,"note":"Value kept but may cause issues"} 
[2026-06-02 07:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780364857000,"timestamp_ms":1780364857000,"timestamp_seconds":1780364857,"priority":1,"record_length":96,"hex_timestamp":"0000019e8603cea8"} 
[2026-06-02 07:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:19: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-06-02 07:19: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-06-02 07:19: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-06-02 07:19: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-06-02 07:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:19:30] 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-06-02 07:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773402112001,"66":27789,"233":206,"81":22528,"24":50,"16":305167347755253760,"45":2431803090497888256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-06-02 07:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773402112001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:19:30] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-06-02 07:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305167347755253760,"km_value":305167347755253.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2431803090497888256,"description":"Unknown IO ID 45"} 
[2026-06-02 07:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773402112001,"power":27789,"unknown_233":206,"unknown_81":22528,"ignition":50,"odometer":null,"unknown_45":2431803090497888256}} 
[2026-06-02 07:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":90628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:19:30] local.INFO: GPS data processed {"connection_id":90628,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:19:30] local.INFO: Acknowledgment sent {"connection_id":90628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:19:34] local.INFO: TCP Data received {"connection_id":89166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:19:34] local.INFO: Processing buffer {"connection_id":89166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:19:34] local.INFO: IMEI packet received {"connection_id":89166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":89166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:20:02] local.INFO: TCP Data received {"connection_id":90628,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86052668012d2101c006cde3a0000c014b2b..."} 
[2026-06-02 07:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86052668012d2101c006cde3a0000c014b2b..."} 
[2026-06-02 07:20:02] local.INFO: Processing buffer {"connection_id":90628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86052668012d2101c006cde3a0000c014b2b..."} 
[2026-06-02 07:20:02] local.INFO: Packet analysis {"connection_id":90628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:20:02] local.INFO: Extracted packet for processing {"connection_id":90628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:20:02] local.INFO: GPS Element Parsed {"raw_longitude":757137856,"raw_latitude":114156448,"longitude_deg":75.7137856,"latitude_deg":11.4156448,"altitude":12,"angle":331,"satellites":43,"speed":48,"hex_longitude":"2d2101c0","hex_latitude":"06cde3a0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773425920001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305171217520787456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2378393213684916224,"note":"Value kept but may cause issues"} 
[2026-06-02 07:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780364945000,"timestamp_ms":1780364945000,"timestamp_seconds":1780364945,"priority":1,"record_length":96,"hex_timestamp":"0000019e86052668"} 
[2026-06-02 07:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07: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-06-02 07: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":70,"data_length":795,"current_offset":136} 
[2026-06-02 07:20:02] 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-06-02 07: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-06-02 07:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:20:02] 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-06-02 07:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773425920001,"66":27974,"60":206,"81":22528,"24":48,"16":305171217520787456,"45":2378393213684916224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-06-02 07:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773425920001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:20:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:20:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305171217520787456,"km_value":305171217520787.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2378393213684916224,"description":"Unknown IO ID 45"} 
[2026-06-02 07:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773425920001,"power":27974,"unknown_60":206,"unknown_81":22528,"ignition":48,"odometer":null,"unknown_45":2378393213684916224}} 
[2026-06-02 07:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":90628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:20:02] local.INFO: GPS data processed {"connection_id":90628,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:20:02] local.INFO: Acknowledgment sent {"connection_id":90628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:20:04] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:20:04] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:20:04] local.INFO: IMEI packet received {"connection_id":89571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":89571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:20:24] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:24] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:24] local.INFO: IMEI packet received {"connection_id":89414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":89414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:20:27] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:27] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:27] local.INFO: IMEI packet received {"connection_id":89414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":89414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:20:29] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:29] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:20:29] local.INFO: IMEI packet received {"connection_id":89414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":89414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:20:31] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860545a8012d20ee4006ce0508000e014a2a..."} 
[2026-06-02 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860545a8012d20ee4006ce0508000e014a2a..."} 
[2026-06-02 07:20:31] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860545a8012d20ee4006ce0508000e014a2a..."} 
[2026-06-02 07:20:31] local.INFO: Packet analysis {"connection_id":89414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:20:31] local.INFO: Extracted packet for processing {"connection_id":89414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:20:31] local.INFO: GPS Element Parsed {"raw_longitude":757132864,"raw_latitude":114165000,"longitude_deg":75.7132864,"latitude_deg":11.4165,"altitude":14,"angle":330,"satellites":42,"speed":49,"hex_longitude":"2d20ee40","hex_latitude":"06ce0508","is_valid_coordinates":true} 
[2026-06-02 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773425920001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305171694262157312,"note":"Value kept but may cause issues"} 
[2026-06-02 07:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2378393213684916224,"note":"Value kept but may cause issues"} 
[2026-06-02 07:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780364953000,"timestamp_ms":1780364953000,"timestamp_seconds":1780364953,"priority":1,"record_length":96,"hex_timestamp":"0000019e860545a8"} 
[2026-06-02 07:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:20: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-06-02 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 07:20:31] 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-06-02 07:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773425920001,"66":27908,"60":206,"81":22528,"24":49,"16":305171694262157312,"45":2378393213684916224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-06-02 07:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773425920001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:20:31] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305171694262157312,"km_value":305171694262157.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2378393213684916224,"description":"Unknown IO ID 45"} 
[2026-06-02 07:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773425920001,"power":27908,"unknown_60":206,"unknown_81":22528,"ignition":49,"odometer":null,"unknown_45":2378393213684916224}} 
[2026-06-02 07:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":89414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:20:31] local.INFO: GPS data processed {"connection_id":89414,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:20:31] local.INFO: Acknowledgment sent {"connection_id":89414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:21:03] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86056100012d20dbc006ce2570000e014b2b..."} 
[2026-06-02 07:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86056100012d20dbc006ce2570000e014b2b..."} 
[2026-06-02 07:21:03] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86056100012d20dbc006ce2570000e014b2b..."} 
[2026-06-02 07:21:03] local.INFO: Packet analysis {"connection_id":89414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:21:03] local.INFO: Extracted packet for processing {"connection_id":89414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:21:03] local.INFO: GPS Element Parsed {"raw_longitude":757128128,"raw_latitude":114173296,"longitude_deg":75.7128128,"latitude_deg":11.4173296,"altitude":14,"angle":331,"satellites":43,"speed":57,"hex_longitude":"2d20dbc0","hex_latitude":"06ce2570","is_valid_coordinates":true} 
[2026-06-02 07:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773427968001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305172153823657984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2372904451641247744,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780364960000,"timestamp_ms":1780364960000,"timestamp_seconds":1780364960,"priority":1,"record_length":96,"hex_timestamp":"0000019e86056100"} 
[2026-06-02 07:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:21: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-06-02 07:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:21:03] 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-06-02 07:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773427968001,"66":27919,"60":206,"81":22528,"24":57,"16":305172153823657984,"45":2372904451641247744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-06-02 07:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773427968001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:21:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305172153823657984,"km_value":305172153823658.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2372904451641247744,"description":"Unknown IO ID 45"} 
[2026-06-02 07:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773427968001,"power":27919,"unknown_60":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2372904451641247744}} 
[2026-06-02 07:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":89414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:21:03] local.INFO: GPS data processed {"connection_id":89414,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:21:03] local.INFO: Acknowledgment sent {"connection_id":89414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:21:30] local.INFO: TCP Data received {"connection_id":89168,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:21:30] local.INFO: Processing buffer {"connection_id":89168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:21:30] local.INFO: IMEI packet received {"connection_id":89168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":89168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:21:34] local.INFO: TCP Data received {"connection_id":89168,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:21:34] local.INFO: Processing buffer {"connection_id":89168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:21:34] local.INFO: IMEI packet received {"connection_id":89168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":89168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:21:35] local.INFO: TCP Data received {"connection_id":89168,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86057c58012d20cc4006ce4950000d01562a..."} 
[2026-06-02 07:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86057c58012d20cc4006ce4950000d01562a..."} 
[2026-06-02 07:21:35] local.INFO: Processing buffer {"connection_id":89168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86057c58012d20cc4006ce4950000d01562a..."} 
[2026-06-02 07:21:35] local.INFO: Packet analysis {"connection_id":89168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:21:35] local.INFO: Extracted packet for processing {"connection_id":89168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:21:35] local.INFO: GPS Element Parsed {"raw_longitude":757124160,"raw_latitude":114182480,"longitude_deg":75.712416,"latitude_deg":11.418248,"altitude":13,"angle":342,"satellites":42,"speed":56,"hex_longitude":"2d20cc40","hex_latitude":"06ce4950","is_valid_coordinates":true} 
[2026-06-02 07:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773429760001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305172639154962432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2367697164574224384,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780364967000,"timestamp_ms":1780364967000,"timestamp_seconds":1780364967,"priority":1,"record_length":96,"hex_timestamp":"0000019e86057c58"} 
[2026-06-02 07:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 07:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773429760001,"66":27908,"60":206,"81":22528,"24":56,"16":305172639154962432,"45":2367697164574224384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-06-02 07:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773429760001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:21:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305172639154962432,"km_value":305172639154962.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2367697164574224384,"description":"Unknown IO ID 45"} 
[2026-06-02 07:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773429760001,"power":27908,"unknown_60":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2367697164574224384}} 
[2026-06-02 07:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":89168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:21:35] local.INFO: GPS data processed {"connection_id":89168,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:21:35] local.INFO: Acknowledgment sent {"connection_id":89168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:21:40] local.INFO: TCP Data received {"connection_id":89168,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86057c58012d20cc4006ce4950000d01562a..."} 
[2026-06-02 07:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86057c58012d20cc4006ce4950000d01562a..."} 
[2026-06-02 07:21:40] local.INFO: Processing buffer {"connection_id":89168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86057c58012d20cc4006ce4950000d01562a..."} 
[2026-06-02 07:21:40] local.INFO: Packet analysis {"connection_id":89168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:21:40] local.INFO: Extracted packet for processing {"connection_id":89168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:21:40] local.INFO: GPS Element Parsed {"raw_longitude":757124160,"raw_latitude":114182480,"longitude_deg":75.712416,"latitude_deg":11.418248,"altitude":13,"angle":342,"satellites":42,"speed":56,"hex_longitude":"2d20cc40","hex_latitude":"06ce4950","is_valid_coordinates":true} 
[2026-06-02 07:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773431552001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305172639154962432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363334302437560320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780364967000,"timestamp_ms":1780364967000,"timestamp_seconds":1780364967,"priority":1,"record_length":96,"hex_timestamp":"0000019e86057c58"} 
[2026-06-02 07:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:21: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-06-02 07:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773431552001,"66":27908,"60":206,"81":22528,"24":56,"16":305172639154962432,"45":2363334302437560320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-06-02 07:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773431552001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:21:40] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305172639154962432,"km_value":305172639154962.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2363334302437560320,"description":"Unknown IO ID 45"} 
[2026-06-02 07:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773431552001,"power":27908,"unknown_60":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2363334302437560320}} 
[2026-06-02 07:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":89168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:21:40] local.INFO: GPS data processed {"connection_id":89168,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:21:40] local.INFO: Acknowledgment sent {"connection_id":89168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:22:25] local.INFO: TCP Data received {"connection_id":90631,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:22:25] local.INFO: Processing buffer {"connection_id":90631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:22:25] local.INFO: IMEI packet received {"connection_id":90631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":90631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:22:30] local.INFO: TCP Data received {"connection_id":90631,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:22:30] local.INFO: Processing buffer {"connection_id":90631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:22:30] local.INFO: IMEI packet received {"connection_id":90631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":90631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:22:31] local.INFO: TCP Data received {"connection_id":90631,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860597b0012d20c3c006ce6da8000c015c2a..."} 
[2026-06-02 07:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860597b0012d20c3c006ce6da8000c015c2a..."} 
[2026-06-02 07:22:31] local.INFO: Processing buffer {"connection_id":90631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860597b0012d20c3c006ce6da8000c015c2a..."} 
[2026-06-02 07:22:31] local.INFO: Packet analysis {"connection_id":90631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:22:31] local.INFO: Extracted packet for processing {"connection_id":90631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8605"} 
[2026-06-02 07:22:31] local.INFO: GPS Element Parsed {"raw_longitude":757121984,"raw_latitude":114191784,"longitude_deg":75.7121984,"latitude_deg":11.4191784,"altitude":12,"angle":348,"satellites":42,"speed":52,"hex_longitude":"2d20c3c0","hex_latitude":"06ce6da8","is_valid_coordinates":true} 
[2026-06-02 07:22: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-06-02 07:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773431552001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305173103011430400,"note":"Value kept but may cause issues"} 
[2026-06-02 07:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363334302437560320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:22:31] 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-06-02 07:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780364974000,"timestamp_ms":1780364974000,"timestamp_seconds":1780364974,"priority":1,"record_length":96,"hex_timestamp":"0000019e860597b0"} 
[2026-06-02 07:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:22: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-06-02 07:22: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:22: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-06-02 07:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773431552001,"66":27767,"61":206,"81":22528,"24":52,"16":305173103011430400,"45":2363334302437560320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-06-02 07:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773431552001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:22:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 07:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305173103011430400,"km_value":305173103011430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2363334302437560320,"description":"Unknown IO ID 45"} 
[2026-06-02 07:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773431552001,"power":27767,"unknown_61":206,"unknown_81":22528,"ignition":52,"odometer":null,"unknown_45":2363334302437560320}} 
[2026-06-02 07:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":90631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:22:31] local.INFO: GPS data processed {"connection_id":90631,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:22:31] local.INFO: Acknowledgment sent {"connection_id":90631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:23:04] local.INFO: TCP Data received {"connection_id":90631,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8607c260012d1ffbc006cf6050001301282b..."} 
[2026-06-02 07:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8607c260012d1ffbc006cf6050001301282b..."} 
[2026-06-02 07:23:04] local.INFO: Processing buffer {"connection_id":90631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8607c260012d1ffbc006cf6050001301282b..."} 
[2026-06-02 07:23:04] local.INFO: Packet analysis {"connection_id":90631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8607"} 
[2026-06-02 07:23:04] local.INFO: Extracted packet for processing {"connection_id":90631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8607"} 
[2026-06-02 07:23:04] local.INFO: GPS Element Parsed {"raw_longitude":757070784,"raw_latitude":114253904,"longitude_deg":75.7070784,"latitude_deg":11.4253904,"altitude":19,"angle":296,"satellites":43,"speed":24,"hex_longitude":"2d1ffbc0","hex_latitude":"06cf6050","is_valid_coordinates":true} 
[2026-06-02 07:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773466112001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305177256244805632,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2314005812786237440,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:04] 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-06-02 07:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780365116000,"timestamp_ms":1780365116000,"timestamp_seconds":1780365116,"priority":1,"record_length":96,"hex_timestamp":"0000019e8607c260"} 
[2026-06-02 07:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773466112001,"66":27658,"79":206,"81":22528,"24":24,"16":305177256244805632,"45":2314005812786237440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-06-02 07:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773466112001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:23:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-02 07:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305177256244805632,"km_value":305177256244805.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2314005812786237440,"description":"Unknown IO ID 45"} 
[2026-06-02 07:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773466112001,"power":27658,"unknown_79":206,"unknown_81":22528,"ignition":24,"odometer":null,"unknown_45":2314005812786237440}} 
[2026-06-02 07:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":90631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:23:04] local.INFO: GPS data processed {"connection_id":90631,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:23:04] local.INFO: Acknowledgment sent {"connection_id":90631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:23:18] local.INFO: TCP Data received {"connection_id":89574,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:23:18] local.INFO: Processing buffer {"connection_id":89574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:23:18] local.INFO: IMEI packet received {"connection_id":89574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":89574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:23:19] local.INFO: TCP Data received {"connection_id":89574,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86086a58012d82a6c005d61a20000c002b1f..."} 
[2026-06-02 07:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86086a58012d82a6c005d61a20000c002b1f..."} 
[2026-06-02 07:23:19] local.INFO: Processing buffer {"connection_id":89574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86086a58012d82a6c005d61a20000c002b1f..."} 
[2026-06-02 07:23:19] local.INFO: Packet analysis {"connection_id":89574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:23:19] local.INFO: Extracted packet for processing {"connection_id":89574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763537088,"raw_latitude":97917472,"longitude_deg":76.3537088,"latitude_deg":9.7917472,"altitude":12,"angle":43,"satellites":31,"speed":21,"hex_longitude":"2d82a6c0","hex_latitude":"05d61a20","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773479936001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87682032225746944,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034009721205999616,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:19] 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-06-02 07:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780365159000,"timestamp_ms":1780365159000,"timestamp_seconds":1780365159,"priority":1,"record_length":96,"hex_timestamp":"0000019e86086a58"} 
[2026-06-02 07:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:23: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-06-02 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 07:23:19] 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-06-02 07: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-06-02 07:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773479936001,"66":13243,"157":206,"85":15104,"24":21,"16":87682032225746944,"45":-9034009721205999616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-02 07:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773479936001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87682032225746944,"km_value":87682032225746.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034009721205999616,"description":"Unknown IO ID 45"} 
[2026-06-02 07:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773479936001,"power":13243,"unknown_157":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9034009721205999616}} 
[2026-06-02 07:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":89574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:23:19] local.INFO: GPS data processed {"connection_id":89574,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:23:19] local.INFO: Acknowledgment sent {"connection_id":89574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:23:24] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:24] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:24] local.INFO: IMEI packet received {"connection_id":89575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":89575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:23:26] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:26] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:26] local.INFO: IMEI packet received {"connection_id":89575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":89575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:23:29] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:29] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:23:29] local.INFO: IMEI packet received {"connection_id":89575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:23:30] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8607f140012d1fdb0006cf7080000f01272a..."} 
[2026-06-02 07:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8607f140012d1fdb0006cf7080000f01272a..."} 
[2026-06-02 07:23:30] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8607f140012d1fdb0006cf7080000f01272a..."} 
[2026-06-02 07:23:30] local.INFO: Packet analysis {"connection_id":89575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8607"} 
[2026-06-02 07:23:30] local.INFO: Extracted packet for processing {"connection_id":89575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8607"} 
[2026-06-02 07:23:30] local.INFO: GPS Element Parsed {"raw_longitude":757062400,"raw_latitude":114258048,"longitude_deg":75.70624,"latitude_deg":11.4258048,"altitude":15,"angle":295,"satellites":42,"speed":31,"hex_longitude":"2d1fdb00","hex_latitude":"06cf7080","is_valid_coordinates":true} 
[2026-06-02 07:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773469696001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305177702921404416,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2304646769811673088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:30] 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-06-02 07:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780365128000,"timestamp_ms":1780365128000,"timestamp_seconds":1780365128,"priority":1,"record_length":96,"hex_timestamp":"0000019e8607f140"} 
[2026-06-02 07:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:23: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-06-02 07:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 07:23: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-06-02 07:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:23:30] 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-06-02 07:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773469696001,"66":27767,"81":22528,"24":31,"16":305177702921404416,"45":2304646769811673088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773469696001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:23:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305177702921404416,"km_value":305177702921404.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2304646769811673088,"description":"Unknown IO ID 45"} 
[2026-06-02 07:23:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773469696001,"power":27767,"unknown_81":22528,"ignition":31,"odometer":null,"unknown_45":2304646769811673088}} 
[2026-06-02 07:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":89575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:23:30] local.INFO: GPS data processed {"connection_id":89575,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:23:30] local.INFO: Acknowledgment sent {"connection_id":89575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:23:35] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86081850012d1fb74006cf7f880011012329..."} 
[2026-06-02 07:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86081850012d1fb74006cf7f880011012329..."} 
[2026-06-02 07:23:35] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86081850012d1fb74006cf7f880011012329..."} 
[2026-06-02 07:23:35] local.INFO: Packet analysis {"connection_id":89575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:23:35] local.INFO: Extracted packet for processing {"connection_id":89575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:23:35] local.INFO: GPS Element Parsed {"raw_longitude":757053248,"raw_latitude":114261896,"longitude_deg":75.7053248,"latitude_deg":11.4261896,"altitude":17,"angle":291,"satellites":41,"speed":42,"hex_longitude":"2d1fb740","hex_latitude":"06cf7f88","is_valid_coordinates":true} 
[2026-06-02 07:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773472768001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305178175367806976,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2295428464325459968,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:35] 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-06-02 07:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780365138000,"timestamp_ms":1780365138000,"timestamp_seconds":1780365138,"priority":1,"record_length":96,"hex_timestamp":"0000019e86081850"} 
[2026-06-02 07:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 07:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773472768001,"66":27800,"81":22528,"24":42,"16":305178175367806976,"45":2295428464325459968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773472768001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305178175367806976,"km_value":305178175367807.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2295428464325459968,"description":"Unknown IO ID 45"} 
[2026-06-02 07:23:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773472768001,"power":27800,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2295428464325459968}} 
[2026-06-02 07:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":89575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:23:35] local.INFO: GPS data processed {"connection_id":89575,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:23:35] local.INFO: Acknowledgment sent {"connection_id":89575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:23:50] local.INFO: TCP Data received {"connection_id":89574,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86094130012d82b84005d69bd0000b015322..."} 
[2026-06-02 07:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86094130012d82b84005d69bd0000b015322..."} 
[2026-06-02 07:23:50] local.INFO: Processing buffer {"connection_id":89574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86094130012d82b84005d69bd0000b015322..."} 
[2026-06-02 07:23:50] local.INFO: Packet analysis {"connection_id":89574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:23:50] local.INFO: Extracted packet for processing {"connection_id":89574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:23:50] local.INFO: GPS Element Parsed {"raw_longitude":763541568,"raw_latitude":97950672,"longitude_deg":76.3541568,"latitude_deg":9.7950672,"altitude":11,"angle":339,"satellites":34,"speed":39,"hex_longitude":"2d82b840","hex_latitude":"05d69bd0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773494272001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87683891946586112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026550634314915840,"note":"Value kept but may cause issues"} 
[2026-06-02 07:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780365214000,"timestamp_ms":1780365214000,"timestamp_seconds":1780365214,"priority":1,"record_length":96,"hex_timestamp":"0000019e86094130"} 
[2026-06-02 07:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 07:23:50] 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-06-02 07: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-06-02 07:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773494272001,"66":13254,"156":206,"85":15104,"24":39,"16":87683891946586112,"45":-9026550634314915840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 07:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773494272001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:23:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87683891946586112,"km_value":87683891946586.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026550634314915840,"description":"Unknown IO ID 45"} 
[2026-06-02 07:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773494272001,"power":13254,"unknown_156":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9026550634314915840}} 
[2026-06-02 07:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":89574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:23:50] local.INFO: GPS data processed {"connection_id":89574,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:23:50] local.INFO: Acknowledgment sent {"connection_id":89574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:24:07] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86084348012d1f958006cf8e40001201262a..."} 
[2026-06-02 07:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86084348012d1f958006cf8e40001201262a..."} 
[2026-06-02 07:24:07] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86084348012d1f958006cf8e40001201262a..."} 
[2026-06-02 07:24:07] local.INFO: Packet analysis {"connection_id":89575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:24:07] local.INFO: Extracted packet for processing {"connection_id":89575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:24:07] local.INFO: GPS Element Parsed {"raw_longitude":757044608,"raw_latitude":114265664,"longitude_deg":75.7044608,"latitude_deg":11.4265664,"altitude":18,"angle":294,"satellites":42,"speed":21,"hex_longitude":"2d1f9580","hex_latitude":"06cf8e40","is_valid_coordinates":true} 
[2026-06-02 07:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773475328001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305178626339373056,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2285365733909039104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:07] 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-06-02 07:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780365149000,"timestamp_ms":1780365149000,"timestamp_seconds":1780365149,"priority":1,"record_length":96,"hex_timestamp":"0000019e86084348"} 
[2026-06-02 07:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:24:07] 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-06-02 07:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773475328001,"66":27843,"81":22528,"24":21,"16":305178626339373056,"45":2285365733909039104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773475328001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305178626339373056,"km_value":305178626339373.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2285365733909039104,"description":"Unknown IO ID 45"} 
[2026-06-02 07:24:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773475328001,"power":27843,"unknown_81":22528,"ignition":21,"odometer":null,"unknown_45":2285365733909039104}} 
[2026-06-02 07:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":89575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:24:07] local.INFO: GPS data processed {"connection_id":89575,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:24:07] local.INFO: Acknowledgment sent {"connection_id":89575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:24:17] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:24:17] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:24:17] local.INFO: IMEI packet received {"connection_id":89416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":89416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:24:18] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:24:18] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:24:18] local.INFO: IMEI packet received {"connection_id":89416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":89416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:24:19] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86094900012d82b6c005d6a360000b016522..."} 
[2026-06-02 07:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86094900012d82b6c005d6a360000b016522..."} 
[2026-06-02 07:24:19] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86094900012d82b6c005d6a360000b016522..."} 
[2026-06-02 07:24:19] local.INFO: Packet analysis {"connection_id":89416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:24:19] local.INFO: Extracted packet for processing {"connection_id":89416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763541184,"raw_latitude":97952608,"longitude_deg":76.3541184,"latitude_deg":9.7952608,"altitude":11,"angle":357,"satellites":34,"speed":38,"hex_longitude":"2d82b6c0","hex_latitude":"05d6a360","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773494784001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87683990730833920,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027395059244609536,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780365216000,"timestamp_ms":1780365216000,"timestamp_seconds":1780365216,"priority":1,"record_length":96,"hex_timestamp":"0000019e86094900"} 
[2026-06-02 07:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 07:24: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-06-02 07: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-06-02 07:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773494784001,"66":13037,"156":206,"85":15104,"24":38,"16":87683990730833920,"45":-9027395059244609536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 07:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773494784001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87683990730833920,"km_value":87683990730833.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027395059244609536,"description":"Unknown IO ID 45"} 
[2026-06-02 07:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773494784001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9027395059244609536}} 
[2026-06-02 07:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":89416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:24:19] local.INFO: GPS data processed {"connection_id":89416,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:24:19] local.INFO: Acknowledgment sent {"connection_id":89416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:24:25] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:24:25] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:24:25] local.INFO: IMEI packet received {"connection_id":89576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":89576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:24:29] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:24:29] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:24:29] local.INFO: IMEI packet received {"connection_id":89576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":89576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:24:30] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86087610012d1f754006cf9e100013012c2a..."} 
[2026-06-02 07:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86087610012d1f754006cf9e100013012c2a..."} 
[2026-06-02 07:24:30] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86087610012d1f754006cf9e100013012c2a..."} 
[2026-06-02 07:24:30] local.INFO: Packet analysis {"connection_id":89576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:24:30] local.INFO: Extracted packet for processing {"connection_id":89576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:24:30] local.INFO: GPS Element Parsed {"raw_longitude":757036352,"raw_latitude":114269712,"longitude_deg":75.7036352,"latitude_deg":11.4269712,"altitude":19,"angle":300,"satellites":42,"speed":35,"hex_longitude":"2d1f7540","hex_latitude":"06cf9e10","is_valid_coordinates":true} 
[2026-06-02 07:24: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-06-02 07:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773478144001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305179064426037248,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2275865953446019072,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:30] 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-06-02 07:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780365162000,"timestamp_ms":1780365162000,"timestamp_seconds":1780365162,"priority":1,"record_length":96,"hex_timestamp":"0000019e86087610"} 
[2026-06-02 07:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:24: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-06-02 07:24: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-06-02 07:24: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-06-02 07:24: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-06-02 07:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:24:30] 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-06-02 07:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773478144001,"66":27713,"81":22528,"24":35,"16":305179064426037248,"45":2275865953446019072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773478144001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305179064426037248,"km_value":305179064426037.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2275865953446019072,"description":"Unknown IO ID 45"} 
[2026-06-02 07:24:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773478144001,"power":27713,"unknown_81":22528,"ignition":35,"odometer":null,"unknown_45":2275865953446019072}} 
[2026-06-02 07:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":89576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:24:30] local.INFO: GPS data processed {"connection_id":89576,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:24:30] local.INFO: Acknowledgment sent {"connection_id":89576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:24:50] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86096840012d82b98005d6c6e8000b000222..."} 
[2026-06-02 07:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86096840012d82b98005d6c6e8000b000222..."} 
[2026-06-02 07:24:50] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86096840012d82b98005d6c6e8000b000222..."} 
[2026-06-02 07:24:50] local.INFO: Packet analysis {"connection_id":89416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:24:50] local.INFO: Extracted packet for processing {"connection_id":89416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:24:50] local.INFO: GPS Element Parsed {"raw_longitude":763541888,"raw_latitude":97961704,"longitude_deg":76.3541888,"latitude_deg":9.7961704,"altitude":11,"angle":2,"satellites":34,"speed":51,"hex_longitude":"2d82b980","hex_latitude":"05d6c6e8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773495296001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87684433112465408,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027817271709179904,"note":"Value kept but may cause issues"} 
[2026-06-02 07:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780365224000,"timestamp_ms":1780365224000,"timestamp_seconds":1780365224,"priority":1,"record_length":96,"hex_timestamp":"0000019e86096840"} 
[2026-06-02 07:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 07:24:50] 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-06-02 07: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-06-02 07:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773495296001,"66":13254,"156":206,"85":15104,"24":51,"16":87684433112465408,"45":-9027817271709179904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 07:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773495296001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:24:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87684433112465408,"km_value":87684433112465.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027817271709179904,"description":"Unknown IO ID 45"} 
[2026-06-02 07:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773495296001,"power":13254,"unknown_156":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9027817271709179904}} 
[2026-06-02 07:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":89416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:24:50] local.INFO: GPS data processed {"connection_id":89416,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:24:50] local.INFO: Acknowledgment sent {"connection_id":89416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:25:01] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86088998012d1f674006cfa8780011013a2b..."} 
[2026-06-02 07:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86088998012d1f674006cfa8780011013a2b..."} 
[2026-06-02 07:25:01] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86088998012d1f674006cfa8780011013a2b..."} 
[2026-06-02 07:25:01] local.INFO: Packet analysis {"connection_id":89576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:25:01] local.INFO: Extracted packet for processing {"connection_id":89576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8608"} 
[2026-06-02 07:25:01] local.INFO: GPS Element Parsed {"raw_longitude":757032768,"raw_latitude":114272376,"longitude_deg":75.7032768,"latitude_deg":11.4272376,"altitude":17,"angle":314,"satellites":43,"speed":30,"hex_longitude":"2d1f6740","hex_latitude":"06cfa878","is_valid_coordinates":true} 
[2026-06-02 07:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773481472001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305179279174402048,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2266788385448136704,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:01] 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-06-02 07:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780365167000,"timestamp_ms":1780365167000,"timestamp_seconds":1780365167,"priority":1,"record_length":96,"hex_timestamp":"0000019e86088998"} 
[2026-06-02 07:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:25: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-06-02 07:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 07:25: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-06-02 07:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:25:01] 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-06-02 07:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773481472001,"66":27865,"81":22528,"24":30,"16":305179279174402048,"45":2266788385448136704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773481472001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:25:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305179279174402048,"km_value":305179279174402.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2266788385448136704,"description":"Unknown IO ID 45"} 
[2026-06-02 07:25:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773481472001,"power":27865,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2266788385448136704}} 
[2026-06-02 07:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":89576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:25:01] local.INFO: GPS data processed {"connection_id":89576,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:25:01] local.INFO: Acknowledgment sent {"connection_id":89576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:25:13] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:25:13] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:25:13] local.INFO: IMEI packet received {"connection_id":89577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":89577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:25:17] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:25:17] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:25:17] local.INFO: IMEI packet received {"connection_id":89577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":89577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:25:18] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86098b68012d82b74005d6ec08000a016522..."} 
[2026-06-02 07:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86098b68012d82b74005d6ec08000a016522..."} 
[2026-06-02 07:25:18] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86098b68012d82b74005d6ec08000a016522..."} 
[2026-06-02 07:25:18] local.INFO: Packet analysis {"connection_id":89577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:25:18] local.INFO: Extracted packet for processing {"connection_id":89577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:25:18] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97971208,"longitude_deg":76.3541312,"latitude_deg":9.7971208,"altitude":10,"angle":357,"satellites":34,"speed":39,"hex_longitude":"2d82b740","hex_latitude":"05d6ec08","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773497344001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87684892673966080,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027043215520897024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780365233000,"timestamp_ms":1780365233000,"timestamp_seconds":1780365233,"priority":1,"record_length":96,"hex_timestamp":"0000019e86098b68"} 
[2026-06-02 07:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:25: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-06-02 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 07:25: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-06-02 07: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-06-02 07:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773497344001,"66":13319,"156":206,"85":15104,"24":39,"16":87684892673966080,"45":-9027043215520897024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 07:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773497344001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:25:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87684892673966080,"km_value":87684892673966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027043215520897024,"description":"Unknown IO ID 45"} 
[2026-06-02 07:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773497344001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9027043215520897024}} 
[2026-06-02 07:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":89577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:25:18] local.INFO: GPS data processed {"connection_id":89577,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:25:18] local.INFO: Acknowledgment sent {"connection_id":89577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:25:31] local.INFO: TCP Data received {"connection_id":89417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:25:31] local.INFO: Processing buffer {"connection_id":89417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:25:31] local.INFO: IMEI packet received {"connection_id":89417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":89417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:25:31] local.INFO: TCP Data received {"connection_id":89169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:31] local.INFO: Processing buffer {"connection_id":89169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:31] local.INFO: IMEI packet received {"connection_id":89169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":89169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:25:35] local.INFO: TCP Data received {"connection_id":89169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:35] local.INFO: Processing buffer {"connection_id":89169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:35] local.INFO: IMEI packet received {"connection_id":89169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":89169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:25:39] local.INFO: TCP Data received {"connection_id":89169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:39] local.INFO: Processing buffer {"connection_id":89169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:25:39] local.INFO: IMEI packet received {"connection_id":89169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":89169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:25:40] local.INFO: TCP Data received {"connection_id":89169,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860a3f18012d1e844006d0fc08001401472c..."} 
[2026-06-02 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860a3f18012d1e844006d0fc08001401472c..."} 
[2026-06-02 07:25:40] local.INFO: Processing buffer {"connection_id":89169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860a3f18012d1e844006d0fc08001401472c..."} 
[2026-06-02 07:25:40] local.INFO: Packet analysis {"connection_id":89169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:25:40] local.INFO: Extracted packet for processing {"connection_id":89169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756974656,"raw_latitude":114359304,"longitude_deg":75.6974656,"latitude_deg":11.4359304,"altitude":20,"angle":327,"satellites":44,"speed":51,"hex_longitude":"2d1e8440","hex_latitude":"06d0fc08","is_valid_coordinates":true} 
[2026-06-02 07:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773509632001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305184321466007552,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2204160203150970880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:40] 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-06-02 07:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780365279000,"timestamp_ms":1780365279000,"timestamp_seconds":1780365279,"priority":1,"record_length":96,"hex_timestamp":"0000019e860a3f18"} 
[2026-06-02 07:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 07:25:40] 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-06-02 07:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773509632001,"66":27843,"153":206,"81":22528,"24":51,"16":305184321466007552,"45":2204160203150970880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-06-02 07:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773509632001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:25:40] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 07:25:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305184321466007552,"km_value":305184321466007.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2204160203150970880,"description":"Unknown IO ID 45"} 
[2026-06-02 07:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773509632001,"power":27843,"unknown_153":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2204160203150970880}} 
[2026-06-02 07:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":89169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:25:40] local.INFO: GPS data processed {"connection_id":89169,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:25:40] local.INFO: Acknowledgment sent {"connection_id":89169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:25:49] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8609aaa8012d82b28005d70ef8000e015e21..."} 
[2026-06-02 07:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8609aaa8012d82b28005d70ef8000e015e21..."} 
[2026-06-02 07:25:49] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8609aaa8012d82b28005d70ef8000e015e21..."} 
[2026-06-02 07:25:49] local.INFO: Packet analysis {"connection_id":89577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:25:49] local.INFO: Extracted packet for processing {"connection_id":89577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763540096,"raw_latitude":97980152,"longitude_deg":76.3540096,"latitude_deg":9.7980152,"altitude":14,"angle":350,"satellites":33,"speed":50,"hex_longitude":"2d82b280","hex_latitude":"05d70ef8","is_valid_coordinates":true} 
[2026-06-02 07:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773499648001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87685330760630272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534216062976,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780365241000,"timestamp_ms":1780365241000,"timestamp_seconds":1780365241,"priority":1,"record_length":96,"hex_timestamp":"0000019e8609aaa8"} 
[2026-06-02 07:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2248743456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193309701,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-8680688251671076608,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2415996290,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2147866256,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2212626432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3599255552,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":57885563479283003,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.WARNING: Large IO value detected {"io_id":9,"raw_value":1601030962509922309,"note":"Value kept but may cause issues"} 
[2026-06-02 07:25:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,85,24,241,157,16,132,158,104,45,128,198,11,34,10,66,73,192,163,65,64,1,240,227,134,214,4,113,205,35,49,191,33,239,51,2,55,5,7,17,69,9],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-06-02 07:25:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720968612061839360,"timestamp_seconds":720968612061839.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773499648001,"66":13276,"156":206,"85":15104,"24":50,"16":87685330760630272,"45":-9027676534216062976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 07:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773499648001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:25:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87685330760630272,"km_value":87685330760630.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534216062976,"description":"Unknown IO ID 45"} 
[2026-06-02 07:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773499648001,"power":13276,"unknown_156":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9027676534216062976}} 
[2026-06-02 07:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":89577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:25:49] local.INFO: GPS data processed {"connection_id":89577,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:25:49] local.INFO: Acknowledgment sent {"connection_id":89577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:25:59] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:25:59] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:25:59] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:26:13] local.INFO: TCP Data received {"connection_id":89170,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:26:13] local.INFO: Processing buffer {"connection_id":89170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:26:13] local.INFO: IMEI packet received {"connection_id":89170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":89170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:26:18] local.INFO: TCP Data received {"connection_id":89170,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:26:18] local.INFO: Processing buffer {"connection_id":89170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:26:18] local.INFO: IMEI packet received {"connection_id":89170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":89170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:26:18] local.INFO: TCP Data received {"connection_id":89170,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8609c600012d82ad0005d73348000f015f22..."} 
[2026-06-02 07:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8609c600012d82ad0005d73348000f015f22..."} 
[2026-06-02 07:26:18] local.INFO: Processing buffer {"connection_id":89170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8609c600012d82ad0005d73348000f015f22..."} 
[2026-06-02 07:26:18] local.INFO: Packet analysis {"connection_id":89170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:26:18] local.INFO: Extracted packet for processing {"connection_id":89170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763538688,"raw_latitude":97989448,"longitude_deg":76.3538688,"latitude_deg":9.7989448,"altitude":15,"angle":351,"satellites":34,"speed":50,"hex_longitude":"2d82ad00","hex_latitude":"05d73348","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773501696001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87685790322130944,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029013540353148928,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780365248000,"timestamp_ms":1780365248000,"timestamp_seconds":1780365248,"priority":1,"record_length":96,"hex_timestamp":"0000019e8609c600"} 
[2026-06-02 07:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:26: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-06-02 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 07:26:18] 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-06-02 07: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-06-02 07:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773501696001,"66":13276,"156":206,"85":15104,"24":50,"16":87685790322130944,"45":-9029013540353148928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 07:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773501696001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:26:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87685790322130944,"km_value":87685790322130.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029013540353148928,"description":"Unknown IO ID 45"} 
[2026-06-02 07:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773501696001,"power":13276,"unknown_156":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9029013540353148928}} 
[2026-06-02 07:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":89170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:26:18] local.INFO: GPS data processed {"connection_id":89170,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:26:18] local.INFO: Acknowledgment sent {"connection_id":89170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:26:25] local.INFO: TCP Data received {"connection_id":89418,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:26:25] local.INFO: Processing buffer {"connection_id":89418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:26:25] local.INFO: IMEI packet received {"connection_id":89418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":89418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:26:29] local.INFO: TCP Data received {"connection_id":89418,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:26:29] local.INFO: Processing buffer {"connection_id":89418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:26:29] local.INFO: IMEI packet received {"connection_id":89418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":89418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:26:31] local.INFO: TCP Data received {"connection_id":89418,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860a5a70012d1e6d8006d119600014014329..."} 
[2026-06-02 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860a5a70012d1e6d8006d119600014014329..."} 
[2026-06-02 07:26:31] local.INFO: Processing buffer {"connection_id":89418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860a5a70012d1e6d8006d119600014014329..."} 
[2026-06-02 07:26:31] local.INFO: Packet analysis {"connection_id":89418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:26:31] local.INFO: Extracted packet for processing {"connection_id":89418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756968832,"raw_latitude":114366816,"longitude_deg":75.6968832,"latitude_deg":11.4366816,"altitude":20,"angle":323,"satellites":41,"speed":55,"hex_longitude":"2d1e6d80","hex_latitude":"06d11960","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773511424001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305184781027508224,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2198952916083804160,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:31] 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-06-02 07:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780365286000,"timestamp_ms":1780365286000,"timestamp_seconds":1780365286,"priority":1,"record_length":96,"hex_timestamp":"0000019e860a5a70"} 
[2026-06-02 07:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:26: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-06-02 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773511424001,"66":27713,"153":206,"81":22528,"24":55,"16":305184781027508224,"45":2198952916083804160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-06-02 07:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773511424001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:26:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 07:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305184781027508224,"km_value":305184781027508.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2198952916083804160,"description":"Unknown IO ID 45"} 
[2026-06-02 07:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773511424001,"power":27713,"unknown_153":206,"unknown_81":22528,"ignition":55,"odometer":null,"unknown_45":2198952916083804160}} 
[2026-06-02 07:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":89418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:26:31] local.INFO: GPS data processed {"connection_id":89418,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:26:31] local.INFO: Acknowledgment sent {"connection_id":89418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:26:49] local.INFO: TCP Data received {"connection_id":89170,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8609e928012d82a8c005d74e60000d015222..."} 
[2026-06-02 07:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8609e928012d82a8c005d74e60000d015222..."} 
[2026-06-02 07:26:49] local.INFO: Processing buffer {"connection_id":89170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8609e928012d82a8c005d74e60000d015222..."} 
[2026-06-02 07:26:49] local.INFO: Packet analysis {"connection_id":89170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:26:49] local.INFO: Extracted packet for processing {"connection_id":89170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8609"} 
[2026-06-02 07:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763537600,"raw_latitude":97996384,"longitude_deg":76.35376,"latitude_deg":9.7996384,"altitude":13,"angle":338,"satellites":34,"speed":5,"hex_longitude":"2d82a8c0","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773503488001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87686129624547328,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030561652722677760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780365257000,"timestamp_ms":1780365257000,"timestamp_seconds":1780365257,"priority":1,"record_length":96,"hex_timestamp":"0000019e8609e928"} 
[2026-06-02 07:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 07:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773503488001,"66":13102,"156":206,"85":15104,"24":5,"16":87686129624547328,"45":-9030561652722677760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 07:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773503488001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:26:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:26:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87686129624547328,"km_value":87686129624547.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030561652722677760,"description":"Unknown IO ID 45"} 
[2026-06-02 07:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773503488001,"power":13102,"unknown_156":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9030561652722677760}} 
[2026-06-02 07:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":89170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:26:49] local.INFO: GPS data processed {"connection_id":89170,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:26:49] local.INFO: Acknowledgment sent {"connection_id":89170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:27:03] local.INFO: TCP Data received {"connection_id":89418,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860a75c8012d1e568006d13928001401452c..."} 
[2026-06-02 07:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860a75c8012d1e568006d13928001401452c..."} 
[2026-06-02 07:27:03] local.INFO: Processing buffer {"connection_id":89418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860a75c8012d1e568006d13928001401452c..."} 
[2026-06-02 07:27:03] local.INFO: Packet analysis {"connection_id":89418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:27:03] local.INFO: Extracted packet for processing {"connection_id":89418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756962944,"raw_latitude":114374952,"longitude_deg":75.6962944,"latitude_deg":11.4374952,"altitude":20,"angle":325,"satellites":44,"speed":57,"hex_longitude":"2d1e5680","hex_latitude":"06d13928","is_valid_coordinates":true} 
[2026-06-02 07:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773513216001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305185262063845376,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192549360365559808,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:03] 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-06-02 07:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780365293000,"timestamp_ms":1780365293000,"timestamp_seconds":1780365293,"priority":1,"record_length":96,"hex_timestamp":"0000019e860a75c8"} 
[2026-06-02 07:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:27: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-06-02 07:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 07:27:03] 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-06-02 07:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:27:03] 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-06-02 07:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773513216001,"66":27908,"153":206,"81":22528,"24":57,"16":305185262063845376,"45":2192549360365559808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-06-02 07:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773513216001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:27:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 07:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-06-02 07:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305185262063845376,"km_value":305185262063845.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2192549360365559808,"description":"Unknown IO ID 45"} 
[2026-06-02 07:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773513216001,"power":27908,"unknown_153":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2192549360365559808}} 
[2026-06-02 07:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":89418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:27:03] local.INFO: GPS data processed {"connection_id":89418,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:27:03] local.INFO: Acknowledgment sent {"connection_id":89418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:27:11] local.INFO: TCP Data received {"connection_id":90635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:11] local.INFO: Processing buffer {"connection_id":90635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:11] local.INFO: IMEI packet received {"connection_id":90635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":90635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:27:12] local.INFO: TCP Data received {"connection_id":90635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:12] local.INFO: Processing buffer {"connection_id":90635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:12] local.INFO: IMEI packet received {"connection_id":90635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":90635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:27:18] local.INFO: TCP Data received {"connection_id":90635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:18] local.INFO: Processing buffer {"connection_id":90635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:27:18] local.INFO: IMEI packet received {"connection_id":90635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":90635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:27:18] local.INFO: TCP Data received {"connection_id":90635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860a3748012d82a84005d74fe8000c014b1e..."} 
[2026-06-02 07:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860a3748012d82a84005d74fe8000c014b1e..."} 
[2026-06-02 07:27:18] local.INFO: Processing buffer {"connection_id":90635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860a3748012d82a84005d74fe8000c014b1e..."} 
[2026-06-02 07:27:18] local.INFO: Packet analysis {"connection_id":90635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:27:18] local.INFO: Extracted packet for processing {"connection_id":90635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860a"} 
[2026-06-02 07:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763537472,"raw_latitude":97996776,"longitude_deg":76.3537472,"latitude_deg":9.7996776,"altitude":12,"angle":331,"satellites":30,"speed":0,"hex_longitude":"2d82a840","hex_latitude":"05d74fe8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773505792001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87686151099383808,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031757921371922432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:18] 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-06-02 07:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780365277000,"timestamp_ms":1780365277000,"timestamp_seconds":1780365277,"priority":1,"record_length":96,"hex_timestamp":"0000019e860a3748"} 
[2026-06-02 07:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:27: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-06-02 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 07:27:18] 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-06-02 07: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-06-02 07:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773505792001,"66":13319,"155":206,"85":15104,"24":0,"16":87686151099383808,"45":-9031757921371922432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-02 07:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773505792001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:27:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-02 07:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87686151099383808,"km_value":87686151099383.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031757921371922432,"description":"Unknown IO ID 45"} 
[2026-06-02 07:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773505792001,"power":13319,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9031757921371922432}} 
[2026-06-02 07:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":90635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:27:18] local.INFO: GPS data processed {"connection_id":90635,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:27:18] local.INFO: Acknowledgment sent {"connection_id":90635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:27:25] local.INFO: TCP Data received {"connection_id":89419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:27:25] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:27:25] local.INFO: IMEI packet received {"connection_id":89419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":89419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:27:28] local.INFO: TCP Data received {"connection_id":89419,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:27:28] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:27:28] local.INFO: IMEI packet received {"connection_id":89419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":89419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:27:29] local.INFO: TCP Data received {"connection_id":89419,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860c0820012d1d928006d23920001301352d..."} 
[2026-06-02 07:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860c0820012d1d928006d23920001301352d..."} 
[2026-06-02 07:27:29] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860c0820012d1d928006d23920001301352d..."} 
[2026-06-02 07:27:29] local.INFO: Packet analysis {"connection_id":89419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:27:29] local.INFO: Extracted packet for processing {"connection_id":89419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756912768,"raw_latitude":114440480,"longitude_deg":75.6912768,"latitude_deg":11.444048,"altitude":19,"angle":309,"satellites":45,"speed":43,"hex_longitude":"2d1d9280","hex_latitude":"06d23920","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773538816001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305189295038136320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2138787639831109632,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:29] 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-06-02 07:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780365396000,"timestamp_ms":1780365396000,"timestamp_seconds":1780365396,"priority":1,"record_length":96,"hex_timestamp":"0000019e860c0820"} 
[2026-06-02 07:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:27: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-06-02 07: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":43,"data_length":795,"current_offset":136} 
[2026-06-02 07:27:29] 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-06-02 07: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-06-02 07:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:27:29] 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-06-02 07:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773538816001,"66":27919,"18":206,"81":20480,"24":43,"16":305189295038136320,"45":2138787639831109632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-06-02 07:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773538816001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:27:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-02 07:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305189295038136320,"km_value":305189295038136.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2138787639831109632,"description":"Unknown IO ID 45"} 
[2026-06-02 07:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773538816001,"power":27919,"unknown_18":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":2138787639831109632}} 
[2026-06-02 07:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":89419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:27:29] local.INFO: GPS data processed {"connection_id":89419,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:27:29] local.INFO: Acknowledgment sent {"connection_id":89419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:27:49] local.INFO: TCP Data received {"connection_id":90635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860ce2e0012d829cc005d80c58000e016526..."} 
[2026-06-02 07:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860ce2e0012d829cc005d80c58000e016526..."} 
[2026-06-02 07:27:49] local.INFO: Processing buffer {"connection_id":90635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860ce2e0012d829cc005d80c58000e016526..."} 
[2026-06-02 07:27:49] local.INFO: Packet analysis {"connection_id":90635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:27:49] local.INFO: Extracted packet for processing {"connection_id":90635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763534528,"raw_latitude":98045016,"longitude_deg":76.3534528,"latitude_deg":9.8045016,"altitude":14,"angle":357,"satellites":38,"speed":57,"hex_longitude":"2d829cc0","hex_latitude":"05d80c58","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773553920001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87688496151527424,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039873327104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:27:49] 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-06-02 07:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780365452000,"timestamp_ms":1780365452000,"timestamp_seconds":1780365452,"priority":1,"record_length":96,"hex_timestamp":"0000019e860ce2e0"} 
[2026-06-02 07:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:27: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-06-02 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 07:27:49] 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-06-02 07: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-06-02 07:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773553920001,"66":13037,"155":206,"85":15104,"24":57,"16":87688496151527424,"45":-9034643039873327104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-02 07:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773553920001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:27:49] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-02 07:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87688496151527424,"km_value":87688496151527.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039873327104,"description":"Unknown IO ID 45"} 
[2026-06-02 07:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773553920001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":-9034643039873327104}} 
[2026-06-02 07:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":90635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:27:49] local.INFO: GPS data processed {"connection_id":90635,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:27:49] local.INFO: Acknowledgment sent {"connection_id":90635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:28:00] local.INFO: TCP Data received {"connection_id":89419,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860c1ba8012d1d834006d24918001401412c..."} 
[2026-06-02 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860c1ba8012d1d834006d24918001401412c..."} 
[2026-06-02 07:28:00] local.INFO: Processing buffer {"connection_id":89419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860c1ba8012d1d834006d24918001401412c..."} 
[2026-06-02 07:28:00] local.INFO: Packet analysis {"connection_id":89419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:28:00] local.INFO: Extracted packet for processing {"connection_id":89419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756908864,"raw_latitude":114444568,"longitude_deg":75.6908864,"latitude_deg":11.4444568,"altitude":20,"angle":321,"satellites":44,"speed":45,"hex_longitude":"2d1d8340","hex_latitude":"06d24918","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773541376001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305189565621075968,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130906340484784128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:00] 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-06-02 07:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780365401000,"timestamp_ms":1780365401000,"timestamp_seconds":1780365401,"priority":1,"record_length":96,"hex_timestamp":"0000019e860c1ba8"} 
[2026-06-02 07:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07: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-06-02 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 07:28: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-06-02 07: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-06-02 07:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:28:00] 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-06-02 07:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773541376001,"66":27821,"81":20480,"24":45,"16":305189565621075968,"45":2130906340484784128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773541376001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:28:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305189565621075968,"km_value":305189565621075.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130906340484784128,"description":"Unknown IO ID 45"} 
[2026-06-02 07:28:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773541376001,"power":27821,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":2130906340484784128}} 
[2026-06-02 07:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":89419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:28:00] local.INFO: GPS data processed {"connection_id":89419,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:28:00] local.INFO: Acknowledgment sent {"connection_id":89419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:28:12] local.INFO: TCP Data received {"connection_id":89171,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:28:12] local.INFO: Processing buffer {"connection_id":89171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:28:12] local.INFO: IMEI packet received {"connection_id":89171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":89171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:28:18] local.INFO: TCP Data received {"connection_id":89171,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:28:18] local.INFO: Processing buffer {"connection_id":89171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:28:18] local.INFO: IMEI packet received {"connection_id":89171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":89171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:28:18] local.INFO: TCP Data received {"connection_id":89171,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860cfa50012d829c8005d82f00000e016625..."} 
[2026-06-02 07:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860cfa50012d829c8005d82f00000e016625..."} 
[2026-06-02 07:28:18] local.INFO: Processing buffer {"connection_id":89171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860cfa50012d829c8005d82f00000e016625..."} 
[2026-06-02 07:28:18] local.INFO: Packet analysis {"connection_id":89171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:28:18] local.INFO: Extracted packet for processing {"connection_id":89171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763534464,"raw_latitude":98053888,"longitude_deg":76.3534464,"latitude_deg":9.8053888,"altitude":14,"angle":358,"satellites":37,"speed":58,"hex_longitude":"2d829c80","hex_latitude":"05d82f00","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773555712001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87688925648257024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035135621080000512,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:18] 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-06-02 07:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780365458000,"timestamp_ms":1780365458000,"timestamp_seconds":1780365458,"priority":1,"record_length":96,"hex_timestamp":"0000019e860cfa50"} 
[2026-06-02 07:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 07:28:18] 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-06-02 07: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-06-02 07:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773555712001,"66":13015,"155":206,"85":15104,"24":58,"16":87688925648257024,"45":-9035135621080000512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-02 07:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773555712001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:28:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-02 07:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87688925648257024,"km_value":87688925648257.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035135621080000512,"description":"Unknown IO ID 45"} 
[2026-06-02 07:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773555712001,"power":13015,"unknown_155":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":-9035135621080000512}} 
[2026-06-02 07:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":89171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:28:19] local.INFO: GPS data processed {"connection_id":89171,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:28:19] local.INFO: Acknowledgment sent {"connection_id":89171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:28:34] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:28:34] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:28:34] local.INFO: IMEI packet received {"connection_id":89420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":89420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:28:40] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:28:40] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:28:40] local.INFO: IMEI packet received {"connection_id":89420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":89420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:28:40] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860c3ae8012d1d6e8006d267a8001301462c..."} 
[2026-06-02 07:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860c3ae8012d1d6e8006d267a8001301462c..."} 
[2026-06-02 07:28:40] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860c3ae8012d1d6e8006d267a8001301462c..."} 
[2026-06-02 07:28:40] local.INFO: Packet analysis {"connection_id":89420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:28:40] local.INFO: Extracted packet for processing {"connection_id":89420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756903552,"raw_latitude":114452392,"longitude_deg":75.6903552,"latitude_deg":11.4452392,"altitude":19,"angle":326,"satellites":44,"speed":48,"hex_longitude":"2d1d6e80","hex_latitude":"06d267a8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773542656001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305190020887609344,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2126613847090993152,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:40] 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-06-02 07:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780365409000,"timestamp_ms":1780365409000,"timestamp_seconds":1780365409,"priority":1,"record_length":96,"hex_timestamp":"0000019e860c3ae8"} 
[2026-06-02 07:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:28: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-06-02 07:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773542656001,"66":27821,"81":20480,"24":48,"16":305190020887609344,"45":2126613847090993152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773542656001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305190020887609344,"km_value":305190020887609.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2126613847090993152,"description":"Unknown IO ID 45"} 
[2026-06-02 07:28:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773542656001,"power":27821,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":2126613847090993152}} 
[2026-06-02 07:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":89420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:28:40] local.INFO: GPS data processed {"connection_id":89420,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:28:40] local.INFO: Acknowledgment sent {"connection_id":89420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:28:50] local.INFO: TCP Data received {"connection_id":89171,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860d15a8012d8299c005d852f0000d016026..."} 
[2026-06-02 07:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860d15a8012d8299c005d852f0000d016026..."} 
[2026-06-02 07:28:50] local.INFO: Processing buffer {"connection_id":89171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860d15a8012d8299c005d852f0000d016026..."} 
[2026-06-02 07:28:50] local.INFO: Packet analysis {"connection_id":89171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:28:50] local.INFO: Extracted packet for processing {"connection_id":89171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763533760,"raw_latitude":98063088,"longitude_deg":76.353376,"latitude_deg":9.8063088,"altitude":13,"angle":352,"satellites":38,"speed":42,"hex_longitude":"2d8299c0","hex_latitude":"05d852f0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773557248001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87689376619823104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035205989821906944,"note":"Value kept but may cause issues"} 
[2026-06-02 07:28:50] 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-06-02 07:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780365465000,"timestamp_ms":1780365465000,"timestamp_seconds":1780365465,"priority":1,"record_length":96,"hex_timestamp":"0000019e860d15a8"} 
[2026-06-02 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-06-02 07:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 07:28:50] 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-06-02 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-06-02 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-06-02 07:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773557248001,"66":12906,"155":206,"85":15104,"24":42,"16":87689376619823104,"45":-9035205989821906944},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-02 07:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773557248001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:28:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-02 07:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87689376619823104,"km_value":87689376619823.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035205989821906944,"description":"Unknown IO ID 45"} 
[2026-06-02 07:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773557248001,"power":12906,"unknown_155":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9035205989821906944}} 
[2026-06-02 07:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":89171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:28:50] local.INFO: GPS data processed {"connection_id":89171,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:28:50] local.INFO: Acknowledgment sent {"connection_id":89171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:29:12] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:12] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:12] local.INFO: IMEI packet received {"connection_id":89579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":89579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:29:17] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:17] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:17] local.INFO: IMEI packet received {"connection_id":89579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":89579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:29:17] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:17] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:29:17] local.INFO: IMEI packet received {"connection_id":89579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":89579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:29:18] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860d63c8012d82968005d865b0000d015e23..."} 
[2026-06-02 07:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860d63c8012d82968005d865b0000d015e23..."} 
[2026-06-02 07:29:18] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860d63c8012d82968005d865b0000d015e23..."} 
[2026-06-02 07:29:18] local.INFO: Packet analysis {"connection_id":89579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:29:18] local.INFO: Extracted packet for processing {"connection_id":89579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:29:18] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":98067888,"longitude_deg":76.3532928,"latitude_deg":9.8067888,"altitude":13,"angle":350,"satellites":35,"speed":14,"hex_longitude":"2d829680","hex_latitude":"05d865b0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773559040001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87689617137991680,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035980046005506048,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:18] 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-06-02 07:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780365485000,"timestamp_ms":1780365485000,"timestamp_seconds":1780365485,"priority":1,"record_length":96,"hex_timestamp":"0000019e860d63c8"} 
[2026-06-02 07:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:29: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-06-02 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 07:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773559040001,"66":13037,"155":206,"85":15104,"24":14,"16":87689617137991680,"45":-9035980046005506048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-02 07:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773559040001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:29:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-02 07:29:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87689617137991680,"km_value":87689617137991.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035980046005506048,"description":"Unknown IO ID 45"} 
[2026-06-02 07:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773559040001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9035980046005506048}} 
[2026-06-02 07:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":89579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:29:18] local.INFO: GPS data processed {"connection_id":89579,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:29:18] local.INFO: Acknowledgment sent {"connection_id":89579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:29:24] local.INFO: TCP Data received {"connection_id":89172,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:24] local.INFO: Processing buffer {"connection_id":89172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:24] local.INFO: IMEI packet received {"connection_id":89172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":89172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:29:28] local.INFO: TCP Data received {"connection_id":89172,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:29] local.INFO: Processing buffer {"connection_id":89172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:29] local.INFO: IMEI packet received {"connection_id":89172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":89172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:29:29] local.INFO: TCP Data received {"connection_id":89172,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:29] local.INFO: Processing buffer {"connection_id":89172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:29:29] local.INFO: IMEI packet received {"connection_id":89172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":89172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:29:30] local.INFO: TCP Data received {"connection_id":89172,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860c5a28012d1d5b0006d28a28001201502a..."} 
[2026-06-02 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860c5a28012d1d5b0006d28a28001201502a..."} 
[2026-06-02 07:29:30] local.INFO: Processing buffer {"connection_id":89172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860c5a28012d1d5b0006d28a28001201502a..."} 
[2026-06-02 07:29:30] local.INFO: Packet analysis {"connection_id":89172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:29:30] local.INFO: Extracted packet for processing {"connection_id":89172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756898560,"raw_latitude":114461224,"longitude_deg":75.689856,"latitude_deg":11.4461224,"altitude":18,"angle":336,"satellites":42,"speed":51,"hex_longitude":"2d1d5b00","hex_latitude":"06d28a28","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773544704001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305190510513881088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2120773241326249984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:30] 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-06-02 07:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780365417000,"timestamp_ms":1780365417000,"timestamp_seconds":1780365417,"priority":1,"record_length":96,"hex_timestamp":"0000019e860c5a28"} 
[2026-06-02 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-06-02 07:29: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-06-02 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:29:30] 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-06-02 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-06-02 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-06-02 07:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:29:30] 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-06-02 07:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773544704001,"66":27908,"81":20480,"24":51,"16":305190510513881088,"45":2120773241326249984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773544704001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305190510513881088,"km_value":305190510513881.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2120773241326249984,"description":"Unknown IO ID 45"} 
[2026-06-02 07:29:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773544704001,"power":27908,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":2120773241326249984}} 
[2026-06-02 07:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":89172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:29:30] local.INFO: GPS data processed {"connection_id":89172,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:29:30] local.INFO: Acknowledgment sent {"connection_id":89172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:29:34] local.INFO: TCP Data received {"connection_id":89172,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860c7968012d1d4bc006d2ac100016014c2b..."} 
[2026-06-02 07:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860c7968012d1d4bc006d2ac100016014c2b..."} 
[2026-06-02 07:29:34] local.INFO: Processing buffer {"connection_id":89172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860c7968012d1d4bc006d2ac100016014c2b..."} 
[2026-06-02 07:29:34] local.INFO: Packet analysis {"connection_id":89172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:29:34] local.INFO: Extracted packet for processing {"connection_id":89172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756894656,"raw_latitude":114469904,"longitude_deg":75.6894656,"latitude_deg":11.4469904,"altitude":22,"angle":332,"satellites":43,"speed":37,"hex_longitude":"2d1d4bc0","hex_latitude":"06d2ac10","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773546752001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305190970075381760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115284479282653184,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:34] 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-06-02 07:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780365425000,"timestamp_ms":1780365425000,"timestamp_seconds":1780365425,"priority":1,"record_length":96,"hex_timestamp":"0000019e860c7968"} 
[2026-06-02 07:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:29: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-06-02 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:29:34] 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-06-02 07:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773546752001,"66":27745,"81":20480,"24":37,"16":305190970075381760,"45":2115284479282653184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773546752001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305190970075381760,"km_value":305190970075381.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115284479282653184,"description":"Unknown IO ID 45"} 
[2026-06-02 07:29:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773546752001,"power":27745,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":2115284479282653184}} 
[2026-06-02 07:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":89172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:29:34] local.INFO: GPS data processed {"connection_id":89172,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:29:34] local.INFO: Acknowledgment sent {"connection_id":89172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:29:50] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860d6f80012d8294c005d86bd0000d015324..."} 
[2026-06-02 07:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860d6f80012d8294c005d86bd0000d015324..."} 
[2026-06-02 07:29:50] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860d6f80012d8294c005d86bd0000d015324..."} 
[2026-06-02 07:29:50] local.INFO: Packet analysis {"connection_id":89579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:29:50] local.INFO: Extracted packet for processing {"connection_id":89579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:29:50] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":98069456,"longitude_deg":76.353248,"latitude_deg":9.8069456,"altitude":13,"angle":339,"satellites":36,"speed":25,"hex_longitude":"2d8294c0","hex_latitude":"05d86bd0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773564160001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87689698742370304,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839678586880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:29:50] 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-06-02 07:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780365488000,"timestamp_ms":1780365488000,"timestamp_seconds":1780365488,"priority":1,"record_length":96,"hex_timestamp":"0000019e860d6f80"} 
[2026-06-02 07:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:29:50] 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-06-02 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 07:29:50] 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-06-02 07: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-06-02 07:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773564160001,"66":12928,"155":206,"85":15104,"24":25,"16":87689698742370304,"45":-9036894839678586880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-02 07:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773564160001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:29:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-02 07:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87689698742370304,"km_value":87689698742370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839678586880,"description":"Unknown IO ID 45"} 
[2026-06-02 07:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773564160001,"power":12928,"unknown_155":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9036894839678586880}} 
[2026-06-02 07:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":89579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:29:50] local.INFO: GPS data processed {"connection_id":89579,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:29:50] local.INFO: Acknowledgment sent {"connection_id":89579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:30:05] local.INFO: TCP Data received {"connection_id":89172,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860ca848012d1d398006d2cc180017014c2b..."} 
[2026-06-02 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860ca848012d1d398006d2cc180017014c2b..."} 
[2026-06-02 07:30:05] local.INFO: Processing buffer {"connection_id":89172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860ca848012d1d398006d2cc180017014c2b..."} 
[2026-06-02 07:30:05] local.INFO: Packet analysis {"connection_id":89172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:30:05] local.INFO: Extracted packet for processing {"connection_id":89172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860c"} 
[2026-06-02 07:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756889984,"raw_latitude":114478104,"longitude_deg":75.6889984,"latitude_deg":11.4478104,"altitude":23,"angle":332,"satellites":43,"speed":31,"hex_longitude":"2d1d3980","hex_latitude":"06d2cc18","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773548800001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305191429636882432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2110991985890037760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:05] 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-06-02 07:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780365437000,"timestamp_ms":1780365437000,"timestamp_seconds":1780365437,"priority":1,"record_length":96,"hex_timestamp":"0000019e860ca848"} 
[2026-06-02 07:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:30: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-06-02 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 07:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773548800001,"66":27832,"81":20480,"24":31,"16":305191429636882432,"45":2110991985890037760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773548800001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305191429636882432,"km_value":305191429636882.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2110991985890037760,"description":"Unknown IO ID 45"} 
[2026-06-02 07:30:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773548800001,"power":27832,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":2110991985890037760}} 
[2026-06-02 07:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":89172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:30:05] local.INFO: GPS data processed {"connection_id":89172,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:30:05] local.INFO: Acknowledgment sent {"connection_id":89172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:30:18] local.INFO: TCP Data received {"connection_id":90638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:30:18] local.INFO: Processing buffer {"connection_id":90638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:30:18] local.INFO: IMEI packet received {"connection_id":90638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":90638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:30:24] local.INFO: TCP Data received {"connection_id":90638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:30:24] local.INFO: Processing buffer {"connection_id":90638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:30:24] local.INFO: IMEI packet received {"connection_id":90638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":90638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:30:25] local.INFO: TCP Data received {"connection_id":90638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860d9690012d8286c005d88d40000d015826..."} 
[2026-06-02 07:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860d9690012d8286c005d88d40000d015826..."} 
[2026-06-02 07:30:25] local.INFO: Processing buffer {"connection_id":90638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860d9690012d8286c005d88d40000d015826..."} 
[2026-06-02 07:30:25] local.INFO: Packet analysis {"connection_id":90638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:30:25] local.INFO: Extracted packet for processing {"connection_id":90638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98078016,"longitude_deg":76.3528896,"latitude_deg":9.8078016,"altitude":13,"angle":344,"satellites":38,"speed":44,"hex_longitude":"2d8286c0","hex_latitude":"05d88d40","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773564928001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87690145418969088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387420887429120,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:25] 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-06-02 07:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780365498000,"timestamp_ms":1780365498000,"timestamp_seconds":1780365498,"priority":1,"record_length":96,"hex_timestamp":"0000019e860d9690"} 
[2026-06-02 07:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:30:25] 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-06-02 07: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 07:30:25] 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-06-02 07: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-06-02 07:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":90638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":90638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":90638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773564928001,"66":13048,"47":206,"85":15104,"24":44,"16":87690145418969088,"45":-9037387420887429120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773564928001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87690145418969088,"km_value":87690145418969.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387420887429120,"description":"Unknown IO ID 45"} 
[2026-06-02 07:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773564928001,"power":13048,"unknown_47":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9037387420887429120}} 
[2026-06-02 07:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":90638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:30:25] local.INFO: GPS data processed {"connection_id":90638,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:30:25] local.INFO: Acknowledgment sent {"connection_id":90638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:30:25] local.INFO: TCP Data received {"connection_id":90638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860da248012d82850005d89b08000c016626..."} 
[2026-06-02 07:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860da248012d82850005d89b08000c016626..."} 
[2026-06-02 07:30:25] local.INFO: Processing buffer {"connection_id":90638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860da248012d82850005d89b08000c016626..."} 
[2026-06-02 07:30:25] local.INFO: Packet analysis {"connection_id":90638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:30:25] local.INFO: Extracted packet for processing {"connection_id":90638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860d"} 
[2026-06-02 07:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":98081544,"longitude_deg":76.3528448,"latitude_deg":9.8081544,"altitude":12,"angle":358,"satellites":38,"speed":49,"hex_longitude":"2d828500","hex_latitude":"05d89b08","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773567488001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87690321512628224,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041328070559186944,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:25] 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-06-02 07:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780365501000,"timestamp_ms":1780365501000,"timestamp_seconds":1780365501,"priority":1,"record_length":96,"hex_timestamp":"0000019e860da248"} 
[2026-06-02 07:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:30:25] 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-06-02 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 07:30:25] 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-06-02 07: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-06-02 07:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":90638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":90638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":90638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773567488001,"66":12863,"47":206,"85":15104,"24":49,"16":87690321512628224,"45":-9041328070559186944},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-02 07:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773567488001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87690321512628224,"km_value":87690321512628.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041328070559186944,"description":"Unknown IO ID 45"} 
[2026-06-02 07:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773567488001,"power":12863,"unknown_47":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9041328070559186944}} 
[2026-06-02 07:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":90638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:30:25] local.INFO: GPS data processed {"connection_id":90638,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:30:25] local.INFO: Acknowledgment sent {"connection_id":90638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:30:25] local.INFO: TCP Data received {"connection_id":89422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:25] local.INFO: Processing buffer {"connection_id":89422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:25] local.INFO: IMEI packet received {"connection_id":89422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":89422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:30:30] local.INFO: TCP Data received {"connection_id":89422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:30] local.INFO: Processing buffer {"connection_id":89422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:30] local.INFO: IMEI packet received {"connection_id":89422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":89422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:30:34] local.INFO: TCP Data received {"connection_id":89422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:34] local.INFO: Processing buffer {"connection_id":89422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:30:34] local.INFO: IMEI packet received {"connection_id":89422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":89422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:30:35] local.INFO: TCP Data received {"connection_id":89422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860e80f0012d1ca00006d3b4780011014b2b..."} 
[2026-06-02 07:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860e80f0012d1ca00006d3b4780011014b2b..."} 
[2026-06-02 07:30:35] local.INFO: Processing buffer {"connection_id":89422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860e80f0012d1ca00006d3b4780011014b2b..."} 
[2026-06-02 07:30:35] local.INFO: Packet analysis {"connection_id":89422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:30:35] local.INFO: Extracted packet for processing {"connection_id":89422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756850688,"raw_latitude":114537592,"longitude_deg":75.6850688,"latitude_deg":11.4537592,"altitude":17,"angle":331,"satellites":43,"speed":36,"hex_longitude":"2d1ca000","hex_latitude":"06d3b478","is_valid_coordinates":true} 
[2026-06-02 07:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773579520001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305194899970457600,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2066870783305781248,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:35] 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-06-02 07:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780365558000,"timestamp_ms":1780365558000,"timestamp_seconds":1780365558,"priority":1,"record_length":96,"hex_timestamp":"0000019e860e80f0"} 
[2026-06-02 07:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:30: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-06-02 07:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 07:30:35] 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-06-02 07:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773579520001,"66":28006,"13":206,"81":20480,"24":36,"16":305194899970457600,"45":2066870783305781248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-06-02 07:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773579520001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:30:35] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 07:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305194899970457600,"km_value":305194899970457.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2066870783305781248,"description":"Unknown IO ID 45"} 
[2026-06-02 07:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773579520001,"power":28006,"unknown_13":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2066870783305781248}} 
[2026-06-02 07:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":89422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:30:35] local.INFO: GPS data processed {"connection_id":89422,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:30:35] local.INFO: Acknowledgment sent {"connection_id":89422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:30:37] local.INFO: TCP Data received {"connection_id":89422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860eabe8012d1c8c8006d3d3e0000f014a28..."} 
[2026-06-02 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860eabe8012d1c8c8006d3d3e0000f014a28..."} 
[2026-06-02 07:30:37] local.INFO: Processing buffer {"connection_id":89422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860eabe8012d1c8c8006d3d3e0000f014a28..."} 
[2026-06-02 07:30:37] local.INFO: Packet analysis {"connection_id":89422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:30:37] local.INFO: Extracted packet for processing {"connection_id":89422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756845696,"raw_latitude":114545632,"longitude_deg":75.6845696,"latitude_deg":11.4545632,"altitude":15,"angle":330,"satellites":40,"speed":36,"hex_longitude":"2d1c8c80","hex_latitude":"06d3d3e0","is_valid_coordinates":true} 
[2026-06-02 07:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773582848001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305195355236990976,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2062648658657310720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:37] 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-06-02 07:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780365569000,"timestamp_ms":1780365569000,"timestamp_seconds":1780365569,"priority":1,"record_length":96,"hex_timestamp":"0000019e860eabe8"} 
[2026-06-02 07:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 07:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773582848001,"66":27821,"13":206,"81":20480,"24":36,"16":305195355236990976,"45":2062648658657310720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-06-02 07:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773582848001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:30:37] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 07:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305195355236990976,"km_value":305195355236991.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2062648658657310720,"description":"Unknown IO ID 45"} 
[2026-06-02 07:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773582848001,"power":27821,"unknown_13":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2062648658657310720}} 
[2026-06-02 07:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":89422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:30:37] local.INFO: GPS data processed {"connection_id":89422,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:30:37] local.INFO: Acknowledgment sent {"connection_id":89422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:30:57] local.INFO: TCP Data received {"connection_id":90638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860fe850012d82184005da8e78000a011e26..."} 
[2026-06-02 07:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860fe850012d82184005da8e78000a011e26..."} 
[2026-06-02 07:30:57] local.INFO: Processing buffer {"connection_id":90638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860fe850012d82184005da8e78000a011e26..."} 
[2026-06-02 07:30:57] local.INFO: Packet analysis {"connection_id":90638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860f"} 
[2026-06-02 07:30:57] local.INFO: Extracted packet for processing {"connection_id":90638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860f"} 
[2026-06-02 07:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763500608,"raw_latitude":98209400,"longitude_deg":76.3500608,"latitude_deg":9.82094,"altitude":10,"angle":286,"satellites":38,"speed":23,"hex_longitude":"2d821840","hex_latitude":"05da8e78","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773606144001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87696759668604928,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071797736754536448,"note":"Value kept but may cause issues"} 
[2026-06-02 07:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1780365650000,"timestamp_ms":1780365650000,"timestamp_seconds":1780365650,"priority":1,"record_length":96,"hex_timestamp":"0000019e860fe850"} 
[2026-06-02 07:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 07:30:57] 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-06-02 07: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-06-02 07:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":90638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":90638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":90638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773606144001,"66":13135,"71":206,"85":15104,"24":23,"16":87696759668604928,"45":-9071797736754536448},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-02 07:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773606144001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:30:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 07:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87696759668604928,"km_value":87696759668604.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071797736754536448,"description":"Unknown IO ID 45"} 
[2026-06-02 07:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773606144001,"power":13135,"unknown_71":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9071797736754536448}} 
[2026-06-02 07:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":90638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:30:57] local.INFO: GPS data processed {"connection_id":90638,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:30:57] local.INFO: Acknowledgment sent {"connection_id":90638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:31:08] local.INFO: TCP Data received {"connection_id":89422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860ebb88012d1c864006d3e2d0000e015829..."} 
[2026-06-02 07:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860ebb88012d1c864006d3e2d0000e015829..."} 
[2026-06-02 07:31:08] local.INFO: Processing buffer {"connection_id":89422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860ebb88012d1c864006d3e2d0000e015829..."} 
[2026-06-02 07:31:08] local.INFO: Packet analysis {"connection_id":89422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:31:08] local.INFO: Extracted packet for processing {"connection_id":89422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756844096,"raw_latitude":114549456,"longitude_deg":75.6844096,"latitude_deg":11.4549456,"altitude":14,"angle":344,"satellites":41,"speed":40,"hex_longitude":"2d1c8640","hex_latitude":"06d3e2d0","is_valid_coordinates":true} 
[2026-06-02 07:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773585664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305195557100453888,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2057159896613511168,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:08] 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-06-02 07:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780365573000,"timestamp_ms":1780365573000,"timestamp_seconds":1780365573,"priority":1,"record_length":96,"hex_timestamp":"0000019e860ebb88"} 
[2026-06-02 07:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:31: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-06-02 07:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:31:08] 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-06-02 07:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773585664001,"66":27800,"13":206,"81":20480,"24":40,"16":305195557100453888,"45":2057159896613511168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-06-02 07:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773585664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:31:08] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 07:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305195557100453888,"km_value":305195557100453.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2057159896613511168,"description":"Unknown IO ID 45"} 
[2026-06-02 07:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773585664001,"power":27800,"unknown_13":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2057159896613511168}} 
[2026-06-02 07:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":89422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:31:08] local.INFO: GPS data processed {"connection_id":89422,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:31:08] local.INFO: Acknowledgment sent {"connection_id":89422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:31:09] local.INFO: TCP Data received {"connection_id":89423,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:31:09] local.INFO: Processing buffer {"connection_id":89423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:31:09] local.INFO: IMEI packet received {"connection_id":89423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":89423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:31:10] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:10] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:10] local.INFO: IMEI packet received {"connection_id":89424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":89424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:31:13] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:13] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:13] local.INFO: IMEI packet received {"connection_id":89424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":89424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:31:16] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:16] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:31:16] local.INFO: IMEI packet received {"connection_id":89424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":89424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:31:17] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e860fec38012d8215c005da8ea8000a010c26..."} 
[2026-06-02 07:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860fec38012d8215c005da8ea8000a010c26..."} 
[2026-06-02 07:31:17] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860fec38012d8215c005da8ea8000a010c26..."} 
[2026-06-02 07:31:17] local.INFO: Packet analysis {"connection_id":89424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860f"} 
[2026-06-02 07:31:17] local.INFO: Extracted packet for processing {"connection_id":89424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860f"} 
[2026-06-02 07:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763499968,"raw_latitude":98209448,"longitude_deg":76.3499968,"latitude_deg":9.8209448,"altitude":10,"angle":268,"satellites":38,"speed":25,"hex_longitude":"2d8215c0","hex_latitude":"05da8ea8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773606400001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87696789733376000,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072431055452080128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780365651000,"timestamp_ms":1780365651000,"timestamp_seconds":1780365651,"priority":1,"record_length":96,"hex_timestamp":"0000019e860fec38"} 
[2026-06-02 07:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07: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-06-02 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 07:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773606400001,"66":13102,"71":206,"85":15104,"24":25,"16":87696789733376000,"45":-9072431055452080128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-02 07:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773606400001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:31:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 07:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87696789733376000,"km_value":87696789733376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072431055452080128,"description":"Unknown IO ID 45"} 
[2026-06-02 07:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773606400001,"power":13102,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9072431055452080128}} 
[2026-06-02 07:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":89424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:31:17] local.INFO: GPS data processed {"connection_id":89424,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:31:17] local.INFO: Acknowledgment sent {"connection_id":89424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:31:25] local.INFO: TCP Data received {"connection_id":89425,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:31:25] local.INFO: Processing buffer {"connection_id":89425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:31:25] local.INFO: IMEI packet received {"connection_id":89425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":89425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:31:29] local.INFO: TCP Data received {"connection_id":89425,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:31:29] local.INFO: Processing buffer {"connection_id":89425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:31:29] local.INFO: IMEI packet received {"connection_id":89425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":89425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:31:30] local.INFO: TCP Data received {"connection_id":89425,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860ef238012d1c810006d3f570000e014d29..."} 
[2026-06-02 07:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860ef238012d1c810006d3f570000e014d29..."} 
[2026-06-02 07:31:30] local.INFO: Processing buffer {"connection_id":89425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860ef238012d1c810006d3f570000e014d29..."} 
[2026-06-02 07:31:30] local.INFO: Packet analysis {"connection_id":89425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:31:30] local.INFO: Extracted packet for processing {"connection_id":89425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860e"} 
[2026-06-02 07:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756842752,"raw_latitude":114554224,"longitude_deg":75.6842752,"latitude_deg":11.4554224,"altitude":14,"angle":333,"satellites":41,"speed":7,"hex_longitude":"2d1c8100","hex_latitude":"06d3f570","is_valid_coordinates":true} 
[2026-06-02 07:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773586688001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305195801913589760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2055400678010048512,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:30] 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-06-02 07:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780365587000,"timestamp_ms":1780365587000,"timestamp_seconds":1780365587,"priority":1,"record_length":96,"hex_timestamp":"0000019e860ef238"} 
[2026-06-02 07:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:31: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-06-02 07:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:31:30] 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-06-02 07:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:31:30] 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-06-02 07:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773586688001,"66":27930,"13":206,"81":20480,"24":7,"16":305195801913589760,"45":2055400678010048512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-06-02 07:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773586688001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:31:30] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 07:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305195801913589760,"km_value":305195801913589.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2055400678010048512,"description":"Unknown IO ID 45"} 
[2026-06-02 07:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773586688001,"power":27930,"unknown_13":206,"unknown_81":20480,"ignition":7,"odometer":null,"unknown_45":2055400678010048512}} 
[2026-06-02 07:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":89425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:31:30] local.INFO: GPS data processed {"connection_id":89425,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:31:30] local.INFO: Acknowledgment sent {"connection_id":89425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:31:48] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8610af88012d81660005da86780009014325..."} 
[2026-06-02 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8610af88012d81660005da86780009014325..."} 
[2026-06-02 07:31:48] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8610af88012d81660005da86780009014325..."} 
[2026-06-02 07:31:48] local.INFO: Packet analysis {"connection_id":89424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:31:48] local.INFO: Extracted packet for processing {"connection_id":89424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763454976,"raw_latitude":98207352,"longitude_deg":76.3454976,"latitude_deg":9.8207352,"altitude":9,"angle":323,"satellites":37,"speed":17,"hex_longitude":"2d816600","hex_latitude":"05da8678","is_valid_coordinates":true} 
[2026-06-02 07:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773619200001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87699048886173696,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122252126330478592,"note":"Value kept but may cause issues"} 
[2026-06-02 07:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780365701000,"timestamp_ms":1780365701000,"timestamp_seconds":1780365701,"priority":1,"record_length":96,"hex_timestamp":"0000019e8610af88"} 
[2026-06-02 07:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:31: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-06-02 07:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 07:31:48] 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-06-02 07:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773619200001,"66":12863,"71":206,"85":15104,"24":17,"16":87699048886173696,"45":-9122252126330478592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-02 07:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773619200001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87699048886173696,"km_value":87699048886173.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122252126330478592,"description":"Unknown IO ID 45"} 
[2026-06-02 07:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773619200001,"power":12863,"unknown_71":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9122252126330478592}} 
[2026-06-02 07:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":89424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:31:48] local.INFO: GPS data processed {"connection_id":89424,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:31:48] local.INFO: Acknowledgment sent {"connection_id":89424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:32:02] local.INFO: TCP Data received {"connection_id":89425,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e860f1d30012d1c7e8006d3faf0001001422b..."} 
[2026-06-02 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e860f1d30012d1c7e8006d3faf0001001422b..."} 
[2026-06-02 07:32:02] local.INFO: Processing buffer {"connection_id":89425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e860f1d30012d1c7e8006d3faf0001001422b..."} 
[2026-06-02 07:32:02] local.INFO: Packet analysis {"connection_id":89425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e860f"} 
[2026-06-02 07:32:02] local.INFO: Extracted packet for processing {"connection_id":89425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e860f"} 
[2026-06-02 07:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756842112,"raw_latitude":114555632,"longitude_deg":75.6842112,"latitude_deg":11.4555632,"altitude":16,"angle":322,"satellites":43,"speed":5,"hex_longitude":"2d1c7e80","hex_latitude":"06d3faf0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773590272001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305195879223001088,"note":"Value kept but may cause issues"} 
[2026-06-02 07:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2053922934383538176,"note":"Value kept but may cause issues"} 
[2026-06-02 07:32:02] 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-06-02 07:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780365598000,"timestamp_ms":1780365598000,"timestamp_seconds":1780365598,"priority":1,"record_length":96,"hex_timestamp":"0000019e860f1d30"} 
[2026-06-02 07:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:32: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-06-02 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 07:32: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-06-02 07: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-06-02 07:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:32:02] 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-06-02 07:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773590272001,"66":27865,"13":206,"81":20480,"24":5,"16":305195879223001088,"45":2053922934383538176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-06-02 07:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773590272001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:32:02] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 07:32:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305195879223001088,"km_value":305195879223001.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2053922934383538176,"description":"Unknown IO ID 45"} 
[2026-06-02 07:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773590272001,"power":27865,"unknown_13":206,"unknown_81":20480,"ignition":5,"odometer":null,"unknown_45":2053922934383538176}} 
[2026-06-02 07:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":89425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:32:02] local.INFO: GPS data processed {"connection_id":89425,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:32:02] local.INFO: Acknowledgment sent {"connection_id":89425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:32:12] local.INFO: TCP Data received {"connection_id":89174,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:12] local.INFO: Processing buffer {"connection_id":89174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:12] local.INFO: IMEI packet received {"connection_id":89174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":89174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:32:13] local.INFO: TCP Data received {"connection_id":89174,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:13] local.INFO: Processing buffer {"connection_id":89174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:13] local.INFO: IMEI packet received {"connection_id":89174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":89174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:32:14] local.INFO: TCP Data received {"connection_id":89174,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:14] local.INFO: Processing buffer {"connection_id":89174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:14] local.INFO: IMEI packet received {"connection_id":89174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":89174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:32:15] local.INFO: TCP Data received {"connection_id":89174,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:15] local.INFO: Processing buffer {"connection_id":89174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:32:15] local.INFO: IMEI packet received {"connection_id":89174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":89174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:32:25] local.INFO: TCP Data received {"connection_id":89580,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:32:25] local.INFO: Processing buffer {"connection_id":89580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:32:25] local.INFO: IMEI packet received {"connection_id":89580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":89580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:32:37] local.INFO: TCP Data received {"connection_id":89580,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:32:37] local.INFO: Processing buffer {"connection_id":89580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:32:37] local.INFO: IMEI packet received {"connection_id":89580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":89580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:32:39] local.INFO: TCP Data received {"connection_id":89580,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861078d8012d1beec006d46758001001552a..."} 
[2026-06-02 07:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861078d8012d1beec006d46758001001552a..."} 
[2026-06-02 07:32:39] local.INFO: Processing buffer {"connection_id":89580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861078d8012d1beec006d46758001001552a..."} 
[2026-06-02 07:32:39] local.INFO: Packet analysis {"connection_id":89580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:32:39] local.INFO: Extracted packet for processing {"connection_id":89580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756805312,"raw_latitude":114583384,"longitude_deg":75.6805312,"latitude_deg":11.4583384,"altitude":16,"angle":341,"satellites":42,"speed":38,"hex_longitude":"2d1beec0","hex_latitude":"06d46758","is_valid_coordinates":true} 
[2026-06-02 07:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773615104001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305198125490896896,"note":"Value kept but may cause issues"} 
[2026-06-02 07:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014023856441602048,"note":"Value kept but may cause issues"} 
[2026-06-02 07:32:39] 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-06-02 07:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780365687000,"timestamp_ms":1780365687000,"timestamp_seconds":1780365687,"priority":1,"record_length":96,"hex_timestamp":"0000019e861078d8"} 
[2026-06-02 07:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 07:32: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-06-02 07:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:32:39] 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-06-02 07:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773615104001,"66":27865,"243":206,"81":20480,"24":38,"16":305198125490896896,"45":2014023856441602048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-06-02 07:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773615104001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:32:39] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-02 07:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305198125490896896,"km_value":305198125490896.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014023856441602048,"description":"Unknown IO ID 45"} 
[2026-06-02 07:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773615104001,"power":27865,"unknown_243":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":2014023856441602048}} 
[2026-06-02 07:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":89580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:32:39] local.INFO: GPS data processed {"connection_id":89580,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:32:39] local.INFO: Acknowledgment sent {"connection_id":89580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:33:25] local.INFO: TCP Data received {"connection_id":89175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:25] local.INFO: Processing buffer {"connection_id":89175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:25] local.INFO: IMEI packet received {"connection_id":89175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":89175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:33:26] local.INFO: TCP Data received {"connection_id":89175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:26] local.INFO: Processing buffer {"connection_id":89175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:26] local.INFO: IMEI packet received {"connection_id":89175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":89175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:33:30] local.INFO: TCP Data received {"connection_id":89175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:30] local.INFO: Processing buffer {"connection_id":89175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:33:30] local.INFO: IMEI packet received {"connection_id":89175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":89175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:33:30] local.INFO: TCP Data received {"connection_id":89175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86109048012d1be54006d47cb0000f014528..."} 
[2026-06-02 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86109048012d1be54006d47cb0000f014528..."} 
[2026-06-02 07:33:30] local.INFO: Processing buffer {"connection_id":89175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86109048012d1be54006d47cb0000f014528..."} 
[2026-06-02 07:33:30] local.INFO: Packet analysis {"connection_id":89175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:33:30] local.INFO: Extracted packet for processing {"connection_id":89175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756802880,"raw_latitude":114588848,"longitude_deg":75.680288,"latitude_deg":11.4588848,"altitude":15,"angle":325,"satellites":40,"speed":40,"hex_longitude":"2d1be540","hex_latitude":"06d47cb0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773615872001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305198413253705728,"note":"Value kept but may cause issues"} 
[2026-06-02 07:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2012757219047069696,"note":"Value kept but may cause issues"} 
[2026-06-02 07:33:30] 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-06-02 07:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780365693000,"timestamp_ms":1780365693000,"timestamp_seconds":1780365693,"priority":1,"record_length":96,"hex_timestamp":"0000019e86109048"} 
[2026-06-02 07:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:33: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-06-02 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:33: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-06-02 07: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-06-02 07:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:33:30] 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-06-02 07:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773615872001,"66":27800,"243":206,"81":20480,"24":40,"16":305198413253705728,"45":2012757219047069696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-06-02 07:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773615872001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:33:30] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-02 07:33:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305198413253705728,"km_value":305198413253705.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2012757219047069696,"description":"Unknown IO ID 45"} 
[2026-06-02 07:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773615872001,"power":27800,"unknown_243":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2012757219047069696}} 
[2026-06-02 07:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:33:30] local.INFO: GPS data processed {"connection_id":89175,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:33:30] local.INFO: Acknowledgment sent {"connection_id":89175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:33:35] local.INFO: TCP Data received {"connection_id":89175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86109fe8012d1bda8006d48880000e013928..."} 
[2026-06-02 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86109fe8012d1bda8006d48880000e013928..."} 
[2026-06-02 07:33:35] local.INFO: Processing buffer {"connection_id":89175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86109fe8012d1bda8006d48880000e013928..."} 
[2026-06-02 07:33:35] local.INFO: Packet analysis {"connection_id":89175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:33:35] local.INFO: Extracted packet for processing {"connection_id":89175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756800128,"raw_latitude":114591872,"longitude_deg":75.6800128,"latitude_deg":11.4591872,"altitude":14,"angle":313,"satellites":40,"speed":35,"hex_longitude":"2d1bda80","hex_latitude":"06d48880","is_valid_coordinates":true} 
[2026-06-02 07:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773617408001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305198610822201344,"note":"Value kept but may cause issues"} 
[2026-06-02 07:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2010083206769717248,"note":"Value kept but may cause issues"} 
[2026-06-02 07:33:35] 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-06-02 07:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780365697000,"timestamp_ms":1780365697000,"timestamp_seconds":1780365697,"priority":1,"record_length":96,"hex_timestamp":"0000019e86109fe8"} 
[2026-06-02 07:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773617408001,"66":27876,"243":206,"81":20480,"24":35,"16":305198610822201344,"45":2010083206769717248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-06-02 07:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773617408001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:33:35] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-02 07:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305198610822201344,"km_value":305198610822201.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2010083206769717248,"description":"Unknown IO ID 45"} 
[2026-06-02 07:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773617408001,"power":27876,"unknown_243":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":2010083206769717248}} 
[2026-06-02 07:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":89175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:33:35] local.INFO: GPS data processed {"connection_id":89175,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:33:35] local.INFO: Acknowledgment sent {"connection_id":89175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:34:06] local.INFO: TCP Data received {"connection_id":89175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8610e638012d1bbfc006d4a018001101332c..."} 
[2026-06-02 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8610e638012d1bbfc006d4a018001101332c..."} 
[2026-06-02 07:34:06] local.INFO: Processing buffer {"connection_id":89175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8610e638012d1bbfc006d4a018001101332c..."} 
[2026-06-02 07:34:06] local.INFO: Packet analysis {"connection_id":89175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:34:06] local.INFO: Extracted packet for processing {"connection_id":89175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8610"} 
[2026-06-02 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756793280,"raw_latitude":114597912,"longitude_deg":75.679328,"latitude_deg":11.4597912,"altitude":17,"angle":307,"satellites":44,"speed":19,"hex_longitude":"2d1bbfc0","hex_latitude":"06d4a018","is_valid_coordinates":true} 
[2026-06-02 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773618432001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305199048908865536,"note":"Value kept but may cause issues"} 
[2026-06-02 07:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007057350770851840,"note":"Value kept but may cause issues"} 
[2026-06-02 07:34:06] 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-06-02 07:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780365715000,"timestamp_ms":1780365715000,"timestamp_seconds":1780365715,"priority":1,"record_length":96,"hex_timestamp":"0000019e8610e638"} 
[2026-06-02 07:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 07:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773618432001,"66":27821,"243":206,"81":20480,"24":19,"16":305199048908865536,"45":2007057350770851840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-06-02 07:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773618432001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:34:06] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-02 07:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305199048908865536,"km_value":305199048908865.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007057350770851840,"description":"Unknown IO ID 45"} 
[2026-06-02 07:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773618432001,"power":27821,"unknown_243":206,"unknown_81":20480,"ignition":19,"odometer":null,"unknown_45":2007057350770851840}} 
[2026-06-02 07:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":89175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:34:06] local.INFO: GPS data processed {"connection_id":89175,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:34:06] local.INFO: Acknowledgment sent {"connection_id":89175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:34:29] local.INFO: TCP Data received {"connection_id":90642,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:29] local.INFO: Processing buffer {"connection_id":90642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:29] local.INFO: IMEI packet received {"connection_id":90642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":90642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:34:30] local.INFO: TCP Data received {"connection_id":90642,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:30] local.INFO: Processing buffer {"connection_id":90642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:30] local.INFO: IMEI packet received {"connection_id":90642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":90642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:34:35] local.INFO: TCP Data received {"connection_id":90642,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:35] local.INFO: Processing buffer {"connection_id":90642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:34:35] local.INFO: IMEI packet received {"connection_id":90642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":90642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:34:35] local.INFO: TCP Data received {"connection_id":90642,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86125950012d1a8f0006d535c8000b012829..."} 
[2026-06-02 07:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86125950012d1a8f0006d535c8000b012829..."} 
[2026-06-02 07:34:35] local.INFO: Processing buffer {"connection_id":90642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86125950012d1a8f0006d535c8000b012829..."} 
[2026-06-02 07:34:35] local.INFO: Packet analysis {"connection_id":90642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:34:35] local.INFO: Extracted packet for processing {"connection_id":90642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756715264,"raw_latitude":114636232,"longitude_deg":75.6715264,"latitude_deg":11.4636232,"altitude":11,"angle":296,"satellites":41,"speed":31,"hex_longitude":"2d1a8f00","hex_latitude":"06d535c8","is_valid_coordinates":true} 
[2026-06-02 07:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773644544001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305203215027142656,"note":"Value kept but may cause issues"} 
[2026-06-02 07:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923037070233008128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780365810000,"timestamp_ms":1780365810000,"timestamp_seconds":1780365810,"priority":1,"record_length":96,"hex_timestamp":"0000019e86125950"} 
[2026-06-02 07:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:34: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-06-02 07:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:34: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-06-02 07:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773644544001,"66":27821,"100":206,"81":20480,"24":31,"16":305203215027142656,"45":1923037070233008128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-06-02 07:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773644544001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:34:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-02 07:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305203215027142656,"km_value":305203215027142.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923037070233008128,"description":"Unknown IO ID 45"} 
[2026-06-02 07:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773644544001,"power":27821,"unknown_100":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1923037070233008128}} 
[2026-06-02 07:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":90642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:34:35] local.INFO: GPS data processed {"connection_id":90642,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:34:35] local.INFO: Acknowledgment sent {"connection_id":90642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:35:06] local.INFO: TCP Data received {"connection_id":90642,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86128448012d1a6e8006d54618000a012a2a..."} 
[2026-06-02 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86128448012d1a6e8006d54618000a012a2a..."} 
[2026-06-02 07:35:06] local.INFO: Processing buffer {"connection_id":90642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86128448012d1a6e8006d54618000a012a2a..."} 
[2026-06-02 07:35:06] local.INFO: Packet analysis {"connection_id":90642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:35:06] local.INFO: Extracted packet for processing {"connection_id":90642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":114640408,"longitude_deg":75.6706944,"latitude_deg":11.4640408,"altitude":10,"angle":298,"satellites":42,"speed":35,"hex_longitude":"2d1a6e80","hex_latitude":"06d54618","is_valid_coordinates":true} 
[2026-06-02 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773647360001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305203661703741440,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913748396002625536,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780365821000,"timestamp_ms":1780365821000,"timestamp_seconds":1780365821,"priority":1,"record_length":96,"hex_timestamp":"0000019e86128448"} 
[2026-06-02 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773647360001,"66":27800,"100":206,"81":20480,"24":35,"16":305203661703741440,"45":1913748396002625536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-06-02 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773647360001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:35:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-02 07:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305203661703741440,"km_value":305203661703741.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913748396002625536,"description":"Unknown IO ID 45"} 
[2026-06-02 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773647360001,"power":27800,"unknown_100":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1913748396002625536}} 
[2026-06-02 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":90642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:35:06] local.INFO: GPS data processed {"connection_id":90642,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:35:06] local.INFO: Acknowledgment sent {"connection_id":90642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:35:30] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:35:30] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:35:30] local.INFO: IMEI packet received {"connection_id":89426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":89426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:35:35] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:35:35] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:35:35] local.INFO: IMEI packet received {"connection_id":89426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":89426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:35:36] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8612ab58012d1a4c8006d55810000a01292a..."} 
[2026-06-02 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8612ab58012d1a4c8006d55810000a01292a..."} 
[2026-06-02 07:35:36] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8612ab58012d1a4c8006d55810000a01292a..."} 
[2026-06-02 07:35:36] local.INFO: Packet analysis {"connection_id":89426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:35:36] local.INFO: Extracted packet for processing {"connection_id":89426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756698240,"raw_latitude":114645008,"longitude_deg":75.669824,"latitude_deg":11.4645008,"altitude":10,"angle":297,"satellites":42,"speed":42,"hex_longitude":"2d1a4c80","hex_latitude":"06d55810","is_valid_coordinates":true} 
[2026-06-02 07:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773650176001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305204129855176704,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600459260598272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780365831000,"timestamp_ms":1780365831000,"timestamp_seconds":1780365831,"priority":1,"record_length":96,"hex_timestamp":"0000019e8612ab58"} 
[2026-06-02 07:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773650176001,"66":27887,"100":206,"81":20480,"24":42,"16":305204129855176704,"45":1904600459260598272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-06-02 07:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773650176001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:35:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-02 07:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305204129855176704,"km_value":305204129855176.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600459260598272,"description":"Unknown IO ID 45"} 
[2026-06-02 07:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773650176001,"power":27887,"unknown_100":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1904600459260598272}} 
[2026-06-02 07:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":89426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:35:36] local.INFO: GPS data processed {"connection_id":89426,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:35:36] local.INFO: Acknowledgment sent {"connection_id":89426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:35:40] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8612ca98012d1a2bc006d56808000c01272b..."} 
[2026-06-02 07:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8612ca98012d1a2bc006d56808000c01272b..."} 
[2026-06-02 07:35:40] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8612ca98012d1a2bc006d56808000c01272b..."} 
[2026-06-02 07:35:40] local.INFO: Packet analysis {"connection_id":89426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:35:40] local.INFO: Extracted packet for processing {"connection_id":89426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756689856,"raw_latitude":114649096,"longitude_deg":75.6689856,"latitude_deg":11.4649096,"altitude":12,"angle":295,"satellites":43,"speed":47,"hex_longitude":"2d1a2bc0","hex_latitude":"06d56808","is_valid_coordinates":true} 
[2026-06-02 07:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773652736001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305204576531775488,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895030310053613568,"note":"Value kept but may cause issues"} 
[2026-06-02 07:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780365839000,"timestamp_ms":1780365839000,"timestamp_seconds":1780365839,"priority":1,"record_length":96,"hex_timestamp":"0000019e8612ca98"} 
[2026-06-02 07:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 07:35:40] 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-06-02 07:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773652736001,"66":27908,"102":206,"81":20480,"24":47,"16":305204576531775488,"45":1895030310053613568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-06-02 07:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773652736001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:35:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 07:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305204576531775488,"km_value":305204576531775.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895030310053613568,"description":"Unknown IO ID 45"} 
[2026-06-02 07:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773652736001,"power":27908,"unknown_102":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1895030310053613568}} 
[2026-06-02 07:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":89426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:35:40] local.INFO: GPS data processed {"connection_id":89426,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:35:40] local.INFO: Acknowledgment sent {"connection_id":89426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:36:13] local.INFO: TCP Data received {"connection_id":90643,"ip":"172.235.173.150","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-06-02 07:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90643,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-06-02 07:36:13] local.INFO: Processing buffer {"connection_id":90643,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-06-02 07:36:18] local.INFO: TCP Data received {"connection_id":89583,"ip":"172.235.173.150","data_length":18,"data_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-06-02 07:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":18,"packet_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-06-02 07:36:18] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":18,"buffer_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-06-02 07:36:18] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89583,"buffer_length":18,"first_bytes_hex":"474554202f20485454502f312e300d0a"} 
[2026-06-02 07:36:23] local.INFO: TCP Data received {"connection_id":89584,"ip":"172.235.173.150","data_length":22,"data_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-06-02 07:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":22,"packet_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-06-02 07:36:23] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-06-02 07:36:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89584,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20485454502f31"} 
[2026-06-02 07:36:23] local.INFO: TCP Data received {"connection_id":90644,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:23] local.INFO: Processing buffer {"connection_id":90644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:23] local.INFO: IMEI packet received {"connection_id":90644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":90644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:36:24] local.INFO: TCP Data received {"connection_id":90644,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:24] local.INFO: Processing buffer {"connection_id":90644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:24] local.INFO: IMEI packet received {"connection_id":90644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":90644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:36:28] local.INFO: TCP Data received {"connection_id":90645,"ip":"172.235.173.150","data_length":22,"data_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-06-02 07:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90645,"packet_length":22,"packet_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-06-02 07:36:28] local.INFO: Processing buffer {"connection_id":90645,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-06-02 07:36:28] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":90645,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20525453502f31"} 
[2026-06-02 07:36:30] local.INFO: TCP Data received {"connection_id":90644,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:30] local.INFO: Processing buffer {"connection_id":90644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:36:30] local.INFO: IMEI packet received {"connection_id":90644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":90644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:36:30] local.INFO: TCP Data received {"connection_id":90644,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8612e5f0012d1a0e4006d57a08000d013228..."} 
[2026-06-02 07:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8612e5f0012d1a0e4006d57a08000d013228..."} 
[2026-06-02 07:36:30] local.INFO: Processing buffer {"connection_id":90644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8612e5f0012d1a0e4006d57a08000d013228..."} 
[2026-06-02 07:36:30] local.INFO: Packet analysis {"connection_id":90644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:36:30] local.INFO: Extracted packet for processing {"connection_id":90644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8612"} 
[2026-06-02 07:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756682304,"raw_latitude":114653704,"longitude_deg":75.6682304,"latitude_deg":11.4653704,"altitude":13,"angle":306,"satellites":40,"speed":51,"hex_longitude":"2d1a0e40","hex_latitude":"06d57a08","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773654784001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305204997438570496,"note":"Value kept but may cause issues"} 
[2026-06-02 07:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885812004567386112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780365846000,"timestamp_ms":1780365846000,"timestamp_seconds":1780365846,"priority":1,"record_length":96,"hex_timestamp":"0000019e8612e5f0"} 
[2026-06-02 07:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:36: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-06-02 07:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:36:30] 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-06-02 07:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773654784001,"66":27789,"102":206,"81":20480,"24":51,"16":305204997438570496,"45":1885812004567386112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-06-02 07:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773654784001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:36:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 07:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305204997438570496,"km_value":305204997438570.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885812004567386112,"description":"Unknown IO ID 45"} 
[2026-06-02 07:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773654784001,"power":27789,"unknown_102":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1885812004567386112}} 
[2026-06-02 07:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":90644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:36:30] local.INFO: GPS data processed {"connection_id":90644,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:36:30] local.INFO: Acknowledgment sent {"connection_id":90644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:36:33] local.INFO: TCP Data received {"connection_id":89427,"ip":"172.235.173.150","data_length":44,"data_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-06-02 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":44,"packet_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-06-02 07:36:33] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":44,"buffer_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-06-02 07:36:33] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-06-02 07:36:33] local.INFO: Found valid Teltonika packet at position {"connection_id":89427,"packet_position":8,"bytes_removed":8} 
[2026-06-02 07:36:33] local.INFO: Packet analysis {"connection_id":89427,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-06-02 07:36:33] local.INFO: Extracted packet for processing {"connection_id":89427,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00001"} 
[2026-06-02 07:36:33] local.WARNING: Failed to parse Teltonika packet {"connection_id":89427,"packet_length":14} 
[2026-06-02 07:36:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89427,"buffer_length":22,"first_bytes_hex":"977c0000000000000000000000000000"} 
[2026-06-02 07:36:38] local.INFO: TCP Data received {"connection_id":89585,"ip":"172.235.173.150","data_length":32,"data_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-06-02 07:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":32,"packet_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-06-02 07:36:38] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":32,"buffer_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-06-02 07:36:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89585,"buffer_length":32,"first_bytes_hex":"001e0006010000010000000000000776"} 
[2026-06-02 07:36:43] local.INFO: TCP Data received {"connection_id":89586,"ip":"172.235.173.150","data_length":14,"data_hex":"000c000010000000000000000000..."} 
[2026-06-02 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89586,"packet_length":14,"packet_hex":"000c000010000000000000000000..."} 
[2026-06-02 07:36:43] local.INFO: Processing buffer {"connection_id":89586,"buffer_length":14,"buffer_hex":"000c000010000000000000000000..."} 
[2026-06-02 07:36:48] local.INFO: TCP Data received {"connection_id":89587,"ip":"172.235.173.150","data_length":6,"data_hex":"48454c500d0a..."} 
[2026-06-02 07:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89587,"packet_length":6,"packet_hex":"48454c500d0a..."} 
[2026-06-02 07:36:48] local.INFO: Processing buffer {"connection_id":89587,"buffer_length":6,"buffer_hex":"48454c500d0a..."} 
[2026-06-02 07:36:56] local.INFO: TCP Data received {"connection_id":89588,"ip":"172.235.173.150","data_length":88,"data_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-06-02 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89588,"packet_length":88,"packet_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-06-02 07:36:56] local.INFO: Processing buffer {"connection_id":89588,"buffer_length":88,"buffer_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-06-02 07:36:56] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89588,"buffer_length":88,"first_bytes_hex":"16030000530100004f03003f47d7f7ba"} 
[2026-06-02 07:37:01] local.INFO: TCP Data received {"connection_id":89179,"ip":"172.235.173.150","data_length":42,"data_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-06-02 07:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89179,"packet_length":42,"packet_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-06-02 07:37:01] local.INFO: Processing buffer {"connection_id":89179,"buffer_length":42,"buffer_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-06-02 07:37:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89179,"buffer_length":42,"first_bytes_hex":"0300002a25e00000000000436f6f6b69"} 
[2026-06-02 07:37:02] local.INFO: TCP Data received {"connection_id":90644,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86130530012d19ef4006d59200000c01352b..."} 
[2026-06-02 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86130530012d19ef4006d59200000c01352b..."} 
[2026-06-02 07:37:02] local.INFO: Processing buffer {"connection_id":90644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86130530012d19ef4006d59200000c01352b..."} 
[2026-06-02 07:37:02] local.INFO: Packet analysis {"connection_id":90644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8613"} 
[2026-06-02 07:37:02] local.INFO: Extracted packet for processing {"connection_id":90644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8613"} 
[2026-06-02 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756674368,"raw_latitude":114659840,"longitude_deg":75.6674368,"latitude_deg":11.465984,"altitude":12,"angle":309,"satellites":43,"speed":43,"hex_longitude":"2d19ef40","hex_latitude":"06d59200","is_valid_coordinates":true} 
[2026-06-02 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773656576001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305205478474907648,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877508492755601408,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:02] 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-06-02 07:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780365854000,"timestamp_ms":1780365854000,"timestamp_seconds":1780365854,"priority":1,"record_length":96,"hex_timestamp":"0000019e86130530"} 
[2026-06-02 07:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:37: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-06-02 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 07:37:02] 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-06-02 07:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:37:02] 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-06-02 07:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773656576001,"66":27974,"159":206,"81":20480,"24":43,"16":305205478474907648,"45":1877508492755601408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-06-02 07:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773656576001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:37:02] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-02 07:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305205478474907648,"km_value":305205478474907.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877508492755601408,"description":"Unknown IO ID 45"} 
[2026-06-02 07:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773656576001,"power":27974,"unknown_159":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1877508492755601408}} 
[2026-06-02 07:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":90644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:37:02] local.INFO: GPS data processed {"connection_id":90644,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:37:02] local.INFO: Acknowledgment sent {"connection_id":90644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:37:06] local.INFO: TCP Data received {"connection_id":89180,"ip":"172.235.173.150","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-06-02 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89180,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-06-02 07:37:06] local.INFO: Processing buffer {"connection_id":89180,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-06-02 07:37:06] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89180,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-06-02 07:37:11] local.INFO: TCP Data received {"connection_id":89428,"ip":"172.235.173.150","data_length":117,"data_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-06-02 07:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":117,"packet_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-06-02 07:37:11] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":117,"buffer_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-06-02 07:37:11] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89428,"buffer_length":117,"first_bytes_hex":"000000716a816e30816ba103020105a2"} 
[2026-06-02 07:37:16] local.INFO: TCP Data received {"connection_id":90649,"ip":"172.235.173.150","data_length":168,"data_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-06-02 07:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90649,"packet_length":168,"packet_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-06-02 07:37:16] local.INFO: Processing buffer {"connection_id":90649,"buffer_length":168,"buffer_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-06-02 07:37:16] local.INFO: Found valid packet candidate {"position":23,"data_field_length":64,"total_length":76,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-06-02 07:37:16] local.INFO: Found valid Teltonika packet at position {"connection_id":90649,"packet_position":23,"bytes_removed":23} 
[2026-06-02 07:37:16] local.INFO: Packet analysis {"connection_id":90649,"data_field_length":64,"total_packet_length":76,"buffer_length":145,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-06-02 07:37:16] local.INFO: Extracted packet for processing {"connection_id":90649,"packet_length":76,"remaining_buffer_length":69,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-06-02 07:37:16] local.WARNING: Failed to parse Teltonika packet {"connection_id":90649,"packet_length":76} 
[2026-06-02 07:37:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":90649,"buffer_length":69,"first_bytes_hex":"4e4554574f524b5320332e3000024c41"} 
[2026-06-02 07:37:18] local.INFO: TCP Data received {"connection_id":90648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:18] local.INFO: Processing buffer {"connection_id":90648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:18] local.INFO: IMEI packet received {"connection_id":90648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":90648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:37:18] local.INFO: TCP Data received {"connection_id":90648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:18] local.INFO: Processing buffer {"connection_id":90648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:18] local.INFO: IMEI packet received {"connection_id":90648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":90648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:37:21] local.INFO: TCP Data received {"connection_id":89430,"ip":"172.235.173.150","data_length":12,"data_hex":"6c000b000000000000000000..."} 
[2026-06-02 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":12,"packet_hex":"6c000b000000000000000000..."} 
[2026-06-02 07:37:21] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":12,"buffer_hex":"6c000b000000000000000000..."} 
[2026-06-02 07:37:23] local.INFO: TCP Data received {"connection_id":90648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:23] local.INFO: Processing buffer {"connection_id":90648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:37:23] local.INFO: IMEI packet received {"connection_id":90648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":90648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:37:23] local.INFO: TCP Data received {"connection_id":90648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86152fe0012d7f474005dd4b680009015b23..."} 
[2026-06-02 07:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86152fe0012d7f474005dd4b680009015b23..."} 
[2026-06-02 07:37:23] local.INFO: Processing buffer {"connection_id":90648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86152fe0012d7f474005dd4b680009015b23..."} 
[2026-06-02 07:37:23] local.INFO: Packet analysis {"connection_id":90648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:23] local.INFO: Extracted packet for processing {"connection_id":90648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763316032,"raw_latitude":98388840,"longitude_deg":76.3316032,"latitude_deg":9.838884,"altitude":9,"angle":347,"satellites":35,"speed":53,"hex_longitude":"2d7f4740","hex_latitude":"05dd4b68","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773692928001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87711873658519552,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173762097394618368,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37: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-06-02 07:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780365996000,"timestamp_ms":1780365996000,"timestamp_seconds":1780365996,"priority":1,"record_length":96,"hex_timestamp":"0000019e86152fe0"} 
[2026-06-02 07:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:37: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-06-02 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164103380391,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2249498456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":251,"raw_value":58077557095399463,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3528458251,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2147867846,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392039,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2614165504,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3703564288,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,205,85,24,241,157,16,158,1,45,23,10,35,66,251,156,221,192,250,34,190,240,7,227,134,220,4,113,39,167,129,64,239,51,2,55,5,13],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-06-02 07:37:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648894529644658688,"timestamp_seconds":648894529644658.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":90648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":90648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":90648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773692928001,"66":13222,"205":206,"85":15104,"24":53,"16":87711873658519552,"45":9173762097394618368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-02 07:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773692928001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87711873658519552,"km_value":87711873658519.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173762097394618368,"description":"Unknown IO ID 45"} 
[2026-06-02 07:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773692928001,"power":13222,"cell_id":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9173762097394618368}} 
[2026-06-02 07:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":90648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:37:23] local.INFO: GPS data processed {"connection_id":90648,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:37:23] local.INFO: Acknowledgment sent {"connection_id":90648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:37:24] local.INFO: TCP Data received {"connection_id":89429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:24] local.INFO: Processing buffer {"connection_id":89429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:24] local.INFO: IMEI packet received {"connection_id":89429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":89429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:37:24] local.INFO: TCP Data received {"connection_id":89429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:24] local.INFO: Processing buffer {"connection_id":89429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:24] local.INFO: IMEI packet received {"connection_id":89429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":89429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:37:25] local.INFO: TCP Data received {"connection_id":90648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86154b38012d7f3f0005dd6f300008015b23..."} 
[2026-06-02 07:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86154b38012d7f3f0005dd6f300008015b23..."} 
[2026-06-02 07:37:25] local.INFO: Processing buffer {"connection_id":90648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86154b38012d7f3f0005dd6f300008015b23..."} 
[2026-06-02 07:37:25] local.INFO: Packet analysis {"connection_id":90648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:25] local.INFO: Extracted packet for processing {"connection_id":90648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763313920,"raw_latitude":98398000,"longitude_deg":76.331392,"latitude_deg":9.8398,"altitude":8,"angle":347,"satellites":35,"speed":54,"hex_longitude":"2d7f3f00","hex_latitude":"05dd6f30","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773694976001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87712328925052928,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171369560095025152,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:25] 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-06-02 07:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780366003000,"timestamp_ms":1780366003000,"timestamp_seconds":1780366003,"priority":1,"record_length":96,"hex_timestamp":"0000019e86154b38"} 
[2026-06-02 07:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:37: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-06-02 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 07:37:25] 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-06-02 07: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-06-02 07:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":90648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":90648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":90648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773694976001,"66":13243,"111":206,"85":15104,"24":54,"16":87712328925052928,"45":9171369560095025152},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-02 07:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773694976001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:37:25] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-02 07:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87712328925052928,"km_value":87712328925052.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171369560095025152,"description":"Unknown IO ID 45"} 
[2026-06-02 07:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773694976001,"power":13243,"unknown_111":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9171369560095025152}} 
[2026-06-02 07:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":90648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:37:25] local.INFO: GPS data processed {"connection_id":90648,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:37:25] local.INFO: Acknowledgment sent {"connection_id":90648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:37:25] local.INFO: TCP Data received {"connection_id":89429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:25] local.INFO: Processing buffer {"connection_id":89429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:25] local.INFO: IMEI packet received {"connection_id":89429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":89429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:37:26] local.INFO: TCP Data received {"connection_id":89589,"ip":"172.235.173.150","data_length":53,"data_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-06-02 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89589,"packet_length":53,"packet_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-06-02 07:37:26] local.INFO: Processing buffer {"connection_id":89589,"buffer_length":53,"buffer_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-06-02 07:37:26] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89589,"buffer_length":53,"first_bytes_hex":"474554202f6e696365253230706f7274"} 
[2026-06-02 07:37:27] local.INFO: TCP Data received {"connection_id":89429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:27] local.INFO: Processing buffer {"connection_id":89429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:37:27] local.INFO: IMEI packet received {"connection_id":89429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":89429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:37:28] local.INFO: TCP Data received {"connection_id":89429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86151870012d18c1c006d604f0000b012b27..."} 
[2026-06-02 07:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86151870012d18c1c006d604f0000b012b27..."} 
[2026-06-02 07:37:28] local.INFO: Processing buffer {"connection_id":89429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86151870012d18c1c006d604f0000b012b27..."} 
[2026-06-02 07:37:28] local.INFO: Packet analysis {"connection_id":89429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:28] local.INFO: Extracted packet for processing {"connection_id":89429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":114689264,"longitude_deg":75.6597184,"latitude_deg":11.4689264,"altitude":11,"angle":299,"satellites":39,"speed":37,"hex_longitude":"2d18c1c0","hex_latitude":"06d604f0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773692416001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305209455614623744,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069818914508800,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37: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-06-02 07:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780365990000,"timestamp_ms":1780365990000,"timestamp_seconds":1780365990,"priority":1,"record_length":96,"hex_timestamp":"0000019e86151870"} 
[2026-06-02 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-06-02 07:37: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-06-02 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 07:37: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-06-02 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-06-02 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-06-02 07:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:37:28] 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-06-02 07:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773692416001,"66":27919,"159":206,"81":20480,"24":37,"16":305209455614623744,"45":1788069818914508800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-06-02 07:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773692416001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:37:28] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-02 07:37:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305209455614623744,"km_value":305209455614623.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069818914508800,"description":"Unknown IO ID 45"} 
[2026-06-02 07:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773692416001,"power":27919,"unknown_159":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1788069818914508800}} 
[2026-06-02 07:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":89429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:37:28] local.INFO: GPS data processed {"connection_id":89429,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:37:28] local.INFO: Acknowledgment sent {"connection_id":89429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:37:30] local.INFO: TCP Data received {"connection_id":89429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86153b98012d18a38006d616b8000a012627..."} 
[2026-06-02 07:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86153b98012d18a38006d616b8000a012627..."} 
[2026-06-02 07:37:30] local.INFO: Processing buffer {"connection_id":89429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86153b98012d18a38006d616b8000a012627..."} 
[2026-06-02 07:37:30] local.INFO: Packet analysis {"connection_id":89429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:30] local.INFO: Extracted packet for processing {"connection_id":89429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":114693816,"longitude_deg":75.658944,"latitude_deg":11.4693816,"altitude":10,"angle":294,"satellites":39,"speed":42,"hex_longitude":"2d18a380","hex_latitude":"06d616b8","is_valid_coordinates":true} 
[2026-06-02 07:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773693440001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305209889406320640,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918063008411648,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780365999000,"timestamp_ms":1780365999000,"timestamp_seconds":1780365999,"priority":1,"record_length":96,"hex_timestamp":"0000019e86153b98"} 
[2026-06-02 07:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:37: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-06-02 07:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 07:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:37:30] 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-06-02 07:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773693440001,"66":27843,"158":206,"81":20480,"24":42,"16":305209889406320640,"45":1783918063008411648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,81,24,16,45]} 
[2026-06-02 07:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773693440001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:37:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 07:37:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305209889406320640,"km_value":305209889406320.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918063008411648,"description":"Unknown IO ID 45"} 
[2026-06-02 07:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773693440001,"power":27843,"unknown_158":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1783918063008411648}} 
[2026-06-02 07:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":89429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:37:30] local.INFO: GPS data processed {"connection_id":89429,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:37:30] local.INFO: Acknowledgment sent {"connection_id":89429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:37:31] local.INFO: TCP Data received {"connection_id":89590,"ip":"172.235.173.150","data_length":9,"data_hex":"0164656661756c740a..."} 
[2026-06-02 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89590,"packet_length":9,"packet_hex":"0164656661756c740a..."} 
[2026-06-02 07:37:31] local.INFO: Processing buffer {"connection_id":89590,"buffer_length":9,"buffer_hex":"0164656661756c740a..."} 
[2026-06-02 07:37:36] local.INFO: TCP Data received {"connection_id":89181,"ip":"172.235.173.150","data_length":51,"data_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-06-02 07:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89181,"packet_length":51,"packet_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-06-02 07:37:36] local.INFO: Processing buffer {"connection_id":89181,"buffer_length":51,"buffer_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-06-02 07:37:36] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89181,"buffer_length":51,"first_bytes_hex":"30840000002d02010763840000002404"} 
[2026-06-02 07:37:41] local.INFO: TCP Data received {"connection_id":89591,"ip":"172.235.173.150","data_length":14,"data_hex":"300c020101600702010204008000..."} 
[2026-06-02 07:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89591,"packet_length":14,"packet_hex":"300c020101600702010204008000..."} 
[2026-06-02 07:37:41] local.INFO: Processing buffer {"connection_id":89591,"buffer_length":14,"buffer_hex":"300c020101600702010204008000..."} 
[2026-06-02 07:37:46] local.INFO: TCP Data received {"connection_id":89592,"ip":"172.235.173.150","data_length":223,"data_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-06-02 07:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":223,"packet_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-06-02 07:37:46] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":223,"buffer_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-06-02 07:37:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89592,"buffer_length":223,"first_bytes_hex":"4f5054494f4e53207369703a6e6d2053"} 
[2026-06-02 07:37:47] local.INFO: TCP Data received {"connection_id":90647,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:37:47] local.INFO: Processing buffer {"connection_id":90647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:37:47] local.INFO: IMEI packet received {"connection_id":90647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":90647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:37:53] local.INFO: TCP Data received {"connection_id":89593,"ip":"172.235.173.150","data_length":16,"data_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-06-02 07:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89593,"packet_length":16,"packet_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-06-02 07:37:53] local.INFO: Processing buffer {"connection_id":89593,"buffer_length":16,"buffer_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-06-02 07:37:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89593,"buffer_length":16,"first_bytes_hex":"544e4d5004000000544e4d4500000400"} 
[2026-06-02 07:37:56] local.INFO: TCP Data received {"connection_id":90648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86155ec0012d7f3b0005dd87d00009016622..."} 
[2026-06-02 07:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86155ec0012d7f3b0005dd87d00009016622..."} 
[2026-06-02 07:37:56] local.INFO: Processing buffer {"connection_id":90648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86155ec0012d7f3b0005dd87d00009016622..."} 
[2026-06-02 07:37:56] local.INFO: Packet analysis {"connection_id":90648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:56] local.INFO: Extracted packet for processing {"connection_id":90648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763312896,"raw_latitude":98404304,"longitude_deg":76.3312896,"latitude_deg":9.8404304,"altitude":9,"angle":358,"satellites":34,"speed":50,"hex_longitude":"2d7f3b00","hex_latitude":"05dd87d0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773696768001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87712638162698240,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169047391539507200,"note":"Value kept but may cause issues"} 
[2026-06-02 07:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1780366008000,"timestamp_ms":1780366008000,"timestamp_seconds":1780366008,"priority":1,"record_length":96,"hex_timestamp":"0000019e86155ec0"} 
[2026-06-02 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-06-02 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 07:37:56] 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-06-02 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-06-02 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-06-02 07:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":90648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":90648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":90648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773696768001,"66":13124,"111":206,"85":15104,"24":50,"16":87712638162698240,"45":9169047391539507200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-02 07:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773696768001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:37:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-02 07:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87712638162698240,"km_value":87712638162698.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169047391539507200,"description":"Unknown IO ID 45"} 
[2026-06-02 07:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773696768001,"power":13124,"unknown_111":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9169047391539507200}} 
[2026-06-02 07:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":90648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:37:56] local.INFO: GPS data processed {"connection_id":90648,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:37:56] local.INFO: Acknowledgment sent {"connection_id":90648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:37:58] local.INFO: TCP Data received {"connection_id":89431,"ip":"172.235.173.150","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-06-02 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89431,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-06-02 07:37:58] local.INFO: Processing buffer {"connection_id":89431,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-06-02 07:38:01] local.INFO: TCP Data received {"connection_id":89429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86155308012d188bc006d61f40000b011a2a..."} 
[2026-06-02 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86155308012d188bc006d61f40000b011a2a..."} 
[2026-06-02 07:38:01] local.INFO: Processing buffer {"connection_id":89429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86155308012d188bc006d61f40000b011a2a..."} 
[2026-06-02 07:38:01] local.INFO: Packet analysis {"connection_id":89429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:01] local.INFO: Extracted packet for processing {"connection_id":89429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:01] local.INFO: GPS Element Parsed {"raw_longitude":756583360,"raw_latitude":114696000,"longitude_deg":75.658336,"latitude_deg":11.4696,"altitude":11,"angle":282,"satellites":42,"speed":41,"hex_longitude":"2d188bc0","hex_latitude":"06d61f40","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773695744001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305210198643965952,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403444964079616,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:01] 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-06-02 07:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780366005000,"timestamp_ms":1780366005000,"timestamp_seconds":1780366005,"priority":1,"record_length":96,"hex_timestamp":"0000019e86155308"} 
[2026-06-02 07:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:38: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-06-02 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:38: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-06-02 07: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-06-02 07:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:38:01] 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-06-02 07:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773695744001,"66":27658,"160":206,"81":20480,"24":41,"16":305210198643965952,"45":1775403444964079616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-06-02 07:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773695744001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:38:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-06-02 07:38:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305210198643965952,"km_value":305210198643965.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403444964079616,"description":"Unknown IO ID 45"} 
[2026-06-02 07:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773695744001,"power":27658,"unknown_160":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1775403444964079616}} 
[2026-06-02 07:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":89429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:38:01] local.INFO: GPS data processed {"connection_id":89429,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:38:01] local.INFO: Acknowledgment sent {"connection_id":89429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:38:02] local.INFO: TCP Data received {"connection_id":90650,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:38:02] local.INFO: Processing buffer {"connection_id":90650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:38:02] local.INFO: IMEI packet received {"connection_id":90650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":90650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:38:03] local.INFO: TCP Data received {"connection_id":89182,"ip":"172.235.173.150","data_length":23,"data_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-06-02 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89182,"packet_length":23,"packet_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-06-02 07:38:03] local.INFO: Processing buffer {"connection_id":89182,"buffer_length":23,"buffer_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-06-02 07:38:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89182,"buffer_length":23,"first_bytes_hex":"446d6454000000170000000100000000"} 
[2026-06-02 07:38:09] local.INFO: TCP Data received {"connection_id":89594,"ip":"172.235.173.150","data_length":60,"data_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-06-02 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":60,"packet_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-06-02 07:38:09] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":60,"buffer_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-06-02 07:38:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89594,"buffer_length":60,"first_bytes_hex":"3a0000002f00000002000040020f0001"} 
[2026-06-02 07:38:13] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:13] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:13] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:38:13] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:13] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:13] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:38:14] local.INFO: TCP Data received {"connection_id":90651,"ip":"172.235.173.150","data_length":7,"data_hex":"4a524d4900024b..."} 
[2026-06-02 07:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90651,"packet_length":7,"packet_hex":"4a524d4900024b..."} 
[2026-06-02 07:38:14] local.INFO: Processing buffer {"connection_id":90651,"buffer_length":7,"buffer_hex":"4a524d4900024b..."} 
[2026-06-02 07:38:18] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:18] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:38:18] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:38:18] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86157a18012d7f398005dda7980009015a23..."} 
[2026-06-02 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86157a18012d7f398005dda7980009015a23..."} 
[2026-06-02 07:38:18] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86157a18012d7f398005dda7980009015a23..."} 
[2026-06-02 07:38:18] local.INFO: Packet analysis {"connection_id":89595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:18] local.INFO: Extracted packet for processing {"connection_id":89595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763312512,"raw_latitude":98412440,"longitude_deg":76.3312512,"latitude_deg":9.841244,"altitude":9,"angle":346,"satellites":35,"speed":39,"hex_longitude":"2d7f3980","hex_latitude":"05dda798","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773698048001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87713033299689472,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921491634278400,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:18] 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-06-02 07:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366015000,"timestamp_ms":1780366015000,"timestamp_seconds":1780366015,"priority":1,"record_length":96,"hex_timestamp":"0000019e86157a18"} 
[2026-06-02 07:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:38: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-06-02 07: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 07:38:18] 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-06-02 07: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-06-02 07:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773698048001,"66":12232,"111":206,"85":15104,"24":39,"16":87713033299689472,"45":9167921491634278400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-02 07:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773698048001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:38:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-02 07:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87713033299689472,"km_value":87713033299689.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921491634278400,"description":"Unknown IO ID 45"} 
[2026-06-02 07:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773698048001,"power":12232,"unknown_111":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9167921491634278400}} 
[2026-06-02 07:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":89595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:38:18] local.INFO: GPS data processed {"connection_id":89595,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:38:18] local.INFO: Acknowledgment sent {"connection_id":89595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:38:19] local.INFO: TCP Data received {"connection_id":90652,"ip":"172.235.173.150","data_length":175,"data_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-06-02 07:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90652,"packet_length":175,"packet_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-06-02 07:38:19] local.INFO: Processing buffer {"connection_id":90652,"buffer_length":175,"buffer_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-06-02 07:38:19] local.INFO: Found valid packet candidate {"position":24,"data_field_length":18,"total_length":30,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-06-02 07:38:19] local.INFO: Found valid Teltonika packet at position {"connection_id":90652,"packet_position":24,"bytes_removed":24} 
[2026-06-02 07:38:19] local.INFO: Packet analysis {"connection_id":90652,"data_field_length":18,"total_packet_length":30,"buffer_length":151,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-06-02 07:38:19] local.INFO: Extracted packet for processing {"connection_id":90652,"packet_length":30,"remaining_buffer_length":121,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-06-02 07:38:19] local.WARNING: Failed to parse Teltonika packet {"connection_id":90652,"packet_length":30} 
[2026-06-02 07:38:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":90652,"buffer_length":121,"first_bytes_hex":"0050006c0061007900650072002f0039"} 
[2026-06-02 07:38:24] local.INFO: TCP Data received {"connection_id":90653,"ip":"172.235.173.150","data_length":90,"data_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-06-02 07:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90653,"packet_length":90,"packet_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-06-02 07:38:24] local.INFO: Processing buffer {"connection_id":90653,"buffer_length":90,"buffer_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-06-02 07:38:24] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":90653,"buffer_length":90,"first_bytes_hex":"005a0000010000000136012c00000800"} 
[2026-06-02 07:38:25] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:38:25] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:38:25] local.INFO: IMEI packet received {"connection_id":89432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":89432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:38:28] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:38:28] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:38:28] local.INFO: IMEI packet received {"connection_id":89432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":89432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:38:29] local.INFO: TCP Data received {"connection_id":90654,"ip":"172.235.173.150","data_length":52,"data_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-06-02 07:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90654,"packet_length":52,"packet_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-06-02 07:38:29] local.INFO: Processing buffer {"connection_id":90654,"buffer_length":52,"buffer_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-06-02 07:38:29] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":90654,"buffer_length":52,"first_bytes_hex":"1201003400000000000015000601001b"} 
[2026-06-02 07:38:29] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86155ad8012d18838006d620380009010e2a..."} 
[2026-06-02 07:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86155ad8012d18838006d620380009010e2a..."} 
[2026-06-02 07:38:29] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86155ad8012d18838006d620380009010e2a..."} 
[2026-06-02 07:38:29] local.INFO: Packet analysis {"connection_id":89432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:29] local.INFO: Extracted packet for processing {"connection_id":89432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":114696248,"longitude_deg":75.6581248,"latitude_deg":11.4696248,"altitude":9,"angle":270,"satellites":42,"speed":39,"hex_longitude":"2d188380","hex_latitude":"06d62038","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773697280001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305210297428213760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768718414267760640,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:29] 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-06-02 07:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780366007000,"timestamp_ms":1780366007000,"timestamp_seconds":1780366007,"priority":1,"record_length":96,"hex_timestamp":"0000019e86155ad8"} 
[2026-06-02 07:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07: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-06-02 07: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":10,"data_length":795,"current_offset":136} 
[2026-06-02 07:38:29] 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-06-02 07: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-06-02 07:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:38:29] 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-06-02 07:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773697280001,"66":27658,"160":206,"81":20480,"24":39,"16":305210297428213760,"45":1768718414267760640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-06-02 07:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773697280001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:38:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-06-02 07:38:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305210297428213760,"km_value":305210297428213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768718414267760640,"description":"Unknown IO ID 45"} 
[2026-06-02 07:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773697280001,"power":27658,"unknown_160":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1768718414267760640}} 
[2026-06-02 07:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":89432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:38:29] local.INFO: GPS data processed {"connection_id":89432,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:38:29] local.INFO: Acknowledgment sent {"connection_id":89432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:38:34] local.INFO: TCP Data received {"connection_id":90655,"ip":"172.235.173.150","data_length":18,"data_hex":"000300010000000000000002000000000f00..."} 
[2026-06-02 07:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90655,"packet_length":18,"packet_hex":"000300010000000000000002000000000f00..."} 
[2026-06-02 07:38:34] local.INFO: Processing buffer {"connection_id":90655,"buffer_length":18,"buffer_hex":"000300010000000000000002000000000f00..."} 
[2026-06-02 07:38:34] local.INFO: Found valid packet candidate {"position":4,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000000000f00"} 
[2026-06-02 07:38:34] local.INFO: Found valid Teltonika packet at position {"connection_id":90655,"packet_position":4,"bytes_removed":4} 
[2026-06-02 07:38:39] local.INFO: TCP Data received {"connection_id":89433,"ip":"172.235.173.150","data_length":48,"data_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-06-02 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89433,"packet_length":48,"packet_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-06-02 07:38:39] local.INFO: Processing buffer {"connection_id":89433,"buffer_length":48,"buffer_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-06-02 07:38:39] local.INFO: Found valid packet candidate {"position":9,"data_field_length":1,"total_length":13,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-06-02 07:38:39] local.INFO: Found valid Teltonika packet at position {"connection_id":89433,"packet_position":9,"bytes_removed":9} 
[2026-06-02 07:38:39] local.INFO: Packet analysis {"connection_id":89433,"data_field_length":1,"total_packet_length":13,"buffer_length":39,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-06-02 07:38:39] local.INFO: Extracted packet for processing {"connection_id":89433,"packet_length":13,"remaining_buffer_length":26,"packet_hex_start":"00000000000000010000000100"} 
[2026-06-02 07:38:39] local.WARNING: Failed to parse Teltonika packet {"connection_id":89433,"packet_length":13} 
[2026-06-02 07:38:39] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89433,"buffer_length":26,"first_bytes_hex":"00000600000061626364656600000400"} 
[2026-06-02 07:38:44] local.INFO: TCP Data received {"connection_id":89596,"ip":"172.235.173.150","data_length":8,"data_hex":"414d515000000901..."} 
[2026-06-02 07:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":8,"packet_hex":"414d515000000901..."} 
[2026-06-02 07:38:44] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":8,"buffer_hex":"414d515000000901..."} 
[2026-06-02 07:38:49] local.INFO: TCP Data received {"connection_id":89183,"ip":"172.235.173.150","data_length":32,"data_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-06-02 07:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89183,"packet_length":32,"packet_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-06-02 07:38:49] local.INFO: Processing buffer {"connection_id":89183,"buffer_length":32,"buffer_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-06-02 07:38:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89183,"buffer_length":32,"first_bytes_hex":"474554202f646576696365646573632e"} 
[2026-06-02 07:38:50] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8615b898012d7f2f4005ddc428000c014f23..."} 
[2026-06-02 07:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8615b898012d7f2f4005ddc428000c014f23..."} 
[2026-06-02 07:38:50] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8615b898012d7f2f4005ddc428000c014f23..."} 
[2026-06-02 07:38:50] local.INFO: Packet analysis {"connection_id":89595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:50] local.INFO: Extracted packet for processing {"connection_id":89595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763309888,"raw_latitude":98419752,"longitude_deg":76.3309888,"latitude_deg":9.8419752,"altitude":12,"angle":335,"satellites":35,"speed":34,"hex_longitude":"2d7f2f40","hex_latitude":"05ddc428","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773699840001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87713411256811520,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167499279171295232,"note":"Value kept but may cause issues"} 
[2026-06-02 07:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780366031000,"timestamp_ms":1780366031000,"timestamp_seconds":1780366031,"priority":1,"record_length":96,"hex_timestamp":"0000019e8615b898"} 
[2026-06-02 07:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:38:50] 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-06-02 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 07:38: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-06-02 07: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-06-02 07:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773699840001,"66":13189,"101":206,"85":15104,"24":34,"16":87713411256811520,"45":9167499279171295232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-06-02 07:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773699840001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:38:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 07:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87713411256811520,"km_value":87713411256811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167499279171295232,"description":"Unknown IO ID 45"} 
[2026-06-02 07:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773699840001,"power":13189,"unknown_101":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9167499279171295232}} 
[2026-06-02 07:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":89595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:38:50] local.INFO: GPS data processed {"connection_id":89595,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:38:50] local.INFO: Acknowledgment sent {"connection_id":89595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:38:54] local.INFO: TCP Data received {"connection_id":89185,"ip":"172.235.173.150","data_length":29,"data_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-06-02 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89185,"packet_length":29,"packet_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-06-02 07:38:54] local.INFO: Processing buffer {"connection_id":89185,"buffer_length":29,"buffer_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-06-02 07:38:54] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89185,"buffer_length":29,"first_bytes_hex":"434f4e4e4543540a6163636570742d76"} 
[2026-06-02 07:38:59] local.INFO: TCP Data received {"connection_id":89186,"ip":"172.235.173.150","data_length":64,"data_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-06-02 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89186,"packet_length":64,"packet_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-06-02 07:38:59] local.INFO: Processing buffer {"connection_id":89186,"buffer_length":64,"buffer_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-06-02 07:38:59] local.INFO: Found valid packet candidate {"position":1,"data_field_length":11,"total_length":23,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-06-02 07:38:59] local.INFO: Found valid Teltonika packet at position {"connection_id":89186,"packet_position":1,"bytes_removed":1} 
[2026-06-02 07:38:59] local.INFO: Packet analysis {"connection_id":89186,"data_field_length":11,"total_packet_length":23,"buffer_length":63,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-06-02 07:38:59] local.INFO: Extracted packet for processing {"connection_id":89186,"packet_length":23,"remaining_buffer_length":40,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-06-02 07:38:59] local.WARNING: Failed to parse Teltonika packet {"connection_id":89186,"packet_length":23} 
[2026-06-02 07:38:59] local.WARNING: Invalid data field length, searching for next valid packet {"connection_id":89186,"data_field_length":0,"buffer_length":40} 
[2026-06-02 07:38:59] local.INFO: Found valid packet candidate {"position":5,"data_field_length":8,"total_length":20,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-06-02 07:38:59] local.INFO: Packet analysis {"connection_id":89186,"data_field_length":8,"total_packet_length":20,"buffer_length":31,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-06-02 07:38:59] local.INFO: Extracted packet for processing {"connection_id":89186,"packet_length":20,"remaining_buffer_length":11,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-06-02 07:38:59] local.WARNING: Failed to parse Teltonika packet {"connection_id":89186,"packet_length":20} 
[2026-06-02 07:39:00] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861562a8012d187bc006d61f600009010129..."} 
[2026-06-02 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861562a8012d187bc006d61f600009010129..."} 
[2026-06-02 07:39:00] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861562a8012d187bc006d61f600009010129..."} 
[2026-06-02 07:39:00] local.INFO: Packet analysis {"connection_id":89432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:39:00] local.INFO: Extracted packet for processing {"connection_id":89432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8615"} 
[2026-06-02 07:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":114696032,"longitude_deg":75.6579264,"latitude_deg":11.4696032,"altitude":9,"angle":257,"satellites":41,"speed":38,"hex_longitude":"2d187bc0","hex_latitude":"06d61f60","is_valid_coordinates":true} 
[2026-06-02 07:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773697792001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305210391917494272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766396245709961216,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39: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-06-02 07:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780366009000,"timestamp_ms":1780366009000,"timestamp_seconds":1780366009,"priority":1,"record_length":96,"hex_timestamp":"0000019e861562a8"} 
[2026-06-02 07:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:39: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-06-02 07:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 07:39:00] 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-06-02 07:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:39:00] 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-06-02 07:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773697792001,"66":27789,"160":206,"81":20480,"24":38,"16":305210391917494272,"45":1766396245709961216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-06-02 07:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773697792001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:39:00] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-06-02 07:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305210391917494272,"km_value":305210391917494.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766396245709961216,"description":"Unknown IO ID 45"} 
[2026-06-02 07:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773697792001,"power":27789,"unknown_160":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1766396245709961216}} 
[2026-06-02 07:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":89432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:39:00] local.INFO: GPS data processed {"connection_id":89432,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:39:00] local.INFO: Acknowledgment sent {"connection_id":89432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:39:04] local.INFO: TCP Data received {"connection_id":89187,"ip":"172.235.173.150","data_length":4,"data_hex":"01000000..."} 
[2026-06-02 07:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89187,"packet_length":4,"packet_hex":"01000000..."} 
[2026-06-02 07:39:04] local.INFO: Processing buffer {"connection_id":89187,"buffer_length":4,"buffer_hex":"01000000..."} 
[2026-06-02 07:39:09] local.INFO: TCP Data received {"connection_id":90656,"ip":"172.235.173.150","data_length":24,"data_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-06-02 07:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90656,"packet_length":24,"packet_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-06-02 07:39:09] local.INFO: Processing buffer {"connection_id":90656,"buffer_length":24,"buffer_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-06-02 07:39:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":90656,"buffer_length":24,"first_bytes_hex":"63000000000000000000000000000000"} 
[2026-06-02 07:39:12] local.INFO: TCP Data received {"connection_id":89188,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:12] local.INFO: Processing buffer {"connection_id":89188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:12] local.INFO: IMEI packet received {"connection_id":89188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":89188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:39:13] local.INFO: TCP Data received {"connection_id":89188,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:13] local.INFO: Processing buffer {"connection_id":89188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:13] local.INFO: IMEI packet received {"connection_id":89188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":89188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:39:18] local.INFO: TCP Data received {"connection_id":89188,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:18] local.INFO: Processing buffer {"connection_id":89188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:39:18] local.INFO: IMEI packet received {"connection_id":89188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":89188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:39:25] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:39:26] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:39:26] local.INFO: IMEI packet received {"connection_id":89597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":89597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:39:26] local.INFO: TCP Data received {"connection_id":89189,"ip":"172.235.173.150","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-06-02 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89189,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-06-02 07:39:26] local.INFO: Processing buffer {"connection_id":89189,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-06-02 07:39:26] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89189,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-06-02 07:39:27] local.INFO: TCP Data received {"connection_id":89188,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86174af0012d7ebd8005deff28000a013c23..."} 
[2026-06-02 07:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86174af0012d7ebd8005deff28000a013c23..."} 
[2026-06-02 07:39:27] local.INFO: Processing buffer {"connection_id":89188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86174af0012d7ebd8005deff28000a013c23..."} 
[2026-06-02 07:39:27] local.INFO: Packet analysis {"connection_id":89188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:39:27] local.INFO: Extracted packet for processing {"connection_id":89188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763280768,"raw_latitude":98500392,"longitude_deg":76.3280768,"latitude_deg":9.8500392,"altitude":10,"angle":316,"satellites":35,"speed":40,"hex_longitude":"2d7ebd80","hex_latitude":"05deff28","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773729536001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87717616029794304,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134918550638938112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] 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-06-02 07:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780366134000,"timestamp_ms":1780366134000,"timestamp_seconds":1780366134,"priority":1,"record_length":96,"hex_timestamp":"0000019e86174af0"} 
[2026-06-02 07:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:39:27] 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-06-02 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:39:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298464974,"corrected_to":0} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2249631456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2700017664,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2449958240261645568,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3221610090,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57787466426242363,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085581,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3729184768,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-8673931587399696379,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,205,85,24,241,157,16,162,158,55,45,128,238,10,34,66,35,64,216,37,4,1,240,227,161,134,222,113,43,194,232,144,36,239,50,101,2,5,11,52,22],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298464974,"validated":0}]} 
[2026-06-02 07:39:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720936726224764928,"timestamp_seconds":720936726224764.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773729536001,"66":13276,"205":206,"85":15104,"24":40,"16":87717616029794304,"45":9134918550638938112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-02 07:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773729536001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87717616029794304,"km_value":87717616029794.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134918550638938112,"description":"Unknown IO ID 45"} 
[2026-06-02 07:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773729536001,"power":13276,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9134918550638938112}} 
[2026-06-02 07:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":89188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:39:27] local.INFO: GPS data processed {"connection_id":89188,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:39:27] local.INFO: Acknowledgment sent {"connection_id":89188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:39:29] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:39:29] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:39:29] local.INFO: IMEI packet received {"connection_id":89597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:39:30] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8616aeb0012d17120006d65ba80009011d28..."} 
[2026-06-02 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8616aeb0012d17120006d65ba80009011d28..."} 
[2026-06-02 07:39:30] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8616aeb0012d17120006d65ba80009011d28..."} 
[2026-06-02 07:39:30] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8616"} 
[2026-06-02 07:39:30] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8616"} 
[2026-06-02 07:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756486656,"raw_latitude":114711464,"longitude_deg":75.6486656,"latitude_deg":11.4711464,"altitude":9,"angle":285,"satellites":40,"speed":44,"hex_longitude":"2d171200","hex_latitude":"06d65ba8","is_valid_coordinates":true} 
[2026-06-02 07:39: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-06-02 07:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773718016001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1672524340980240384,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305214940287860736,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:30] 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-06-02 07:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780366094000,"timestamp_ms":1780366094000,"timestamp_seconds":1780366094,"priority":1,"record_length":96,"hex_timestamp":"0000019e8616aeb0"} 
[2026-06-02 07:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:39: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-06-02 07:39: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-06-02 07:39: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-06-02 07:39: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-06-02 07:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:39:30] 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-06-02 07:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773718016001,"66":27908,"45":1672524340980240384,"81":20480,"24":44,"16":305214940287860736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 07:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773718016001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1672524340980240384,"description":"Unknown IO ID 45"} 
[2026-06-02 07:39:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305214940287860736,"km_value":305214940287860.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:39:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773718016001,"power":27908,"unknown_45":1672524340980240384,"unknown_81":20480,"ignition":44,"odometer":null}} 
[2026-06-02 07:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:39:30] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:39:30] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:39:31] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8616cdf0012d16ee0006d66380000a01152a..."} 
[2026-06-02 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8616cdf0012d16ee0006d66380000a01152a..."} 
[2026-06-02 07:39:31] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8616cdf0012d16ee0006d66380000a01152a..."} 
[2026-06-02 07:39:31] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8616"} 
[2026-06-02 07:39:31] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8616"} 
[2026-06-02 07:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756477440,"raw_latitude":114713472,"longitude_deg":75.647744,"latitude_deg":11.4713472,"altitude":10,"angle":277,"satellites":42,"speed":48,"hex_longitude":"2d16ee00","hex_latitude":"06d66380","is_valid_coordinates":true} 
[2026-06-02 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773720064001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662391241819269120,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305215391259426816,"note":"Value kept but may cause issues"} 
[2026-06-02 07:39:31] 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-06-02 07:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780366102000,"timestamp_ms":1780366102000,"timestamp_seconds":1780366102,"priority":1,"record_length":96,"hex_timestamp":"0000019e8616cdf0"} 
[2026-06-02 07:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:39: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-06-02 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773720064001,"66":27865,"45":1662391241819269120,"81":20480,"24":48,"16":305215391259426816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 07:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773720064001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662391241819269120,"description":"Unknown IO ID 45"} 
[2026-06-02 07:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305215391259426816,"km_value":305215391259426.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:39:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773720064001,"power":27865,"unknown_45":1662391241819269120,"unknown_81":20480,"ignition":48,"odometer":null}} 
[2026-06-02 07:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:39:31] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:39:31] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:39:57] local.INFO: TCP Data received {"connection_id":90658,"ip":"172.235.173.150","data_length":44,"data_hex":"8000002809a90b0b0000000000000002000186a0000000020000000000000000..."} 
[2026-06-02 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90658,"packet_length":44,"packet_hex":"8000002809a90b0b0000000000000002000186a0000000020000000000000000..."} 
[2026-06-02 07:39:57] local.INFO: Processing buffer {"connection_id":90658,"buffer_length":44,"buffer_hex":"8000002809a90b0b0000000000000002000186a0000000020000000000000000..."} 
[2026-06-02 07:39:57] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-06-02 07:39:57] local.INFO: Found valid Teltonika packet at position {"connection_id":90658,"packet_position":8,"bytes_removed":8} 
[2026-06-02 07:39:57] local.INFO: Packet analysis {"connection_id":90658,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-06-02 07:39:57] local.INFO: Extracted packet for processing {"connection_id":90658,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00000"} 
[2026-06-02 07:39:57] local.WARNING: Failed to parse Teltonika packet {"connection_id":90658,"packet_length":14} 
[2026-06-02 07:39:57] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":90658,"buffer_length":22,"first_bytes_hex":"00020000000000000000000000000000"} 
[2026-06-02 07:40:03] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8616f118012d16c94006d66718000a01122a..."} 
[2026-06-02 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8616f118012d16c94006d66718000a01122a..."} 
[2026-06-02 07:40:03] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8616f118012d16c94006d66718000a01122a..."} 
[2026-06-02 07:40:03] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8616"} 
[2026-06-02 07:40:03] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8616"} 
[2026-06-02 07:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756468032,"raw_latitude":114714392,"longitude_deg":75.6468032,"latitude_deg":11.4714392,"altitude":10,"angle":274,"satellites":42,"speed":33,"hex_longitude":"2d16c940","hex_latitude":"06d66718","is_valid_coordinates":true} 
[2026-06-02 07:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773722112001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1652258142658199552,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305215837936025600,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:03] 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-06-02 07:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780366111000,"timestamp_ms":1780366111000,"timestamp_seconds":1780366111,"priority":1,"record_length":96,"hex_timestamp":"0000019e8616f118"} 
[2026-06-02 07:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:40: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-06-02 07:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:40:03] 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-06-02 07:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773722112001,"66":27800,"45":1652258142658199552,"81":20480,"24":33,"16":305215837936025600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 07:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773722112001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1652258142658199552,"description":"Unknown IO ID 45"} 
[2026-06-02 07:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305215837936025600,"km_value":305215837936025.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:40:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773722112001,"power":27800,"unknown_45":1652258142658199552,"unknown_81":20480,"ignition":33,"odometer":null}} 
[2026-06-02 07:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:40:03] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:40:03] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:40:12] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:40:12] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:40:12] local.INFO: IMEI packet received {"connection_id":89598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":89598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:40:18] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:40:18] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:40:18] local.INFO: IMEI packet received {"connection_id":89598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":89598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:40:18] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86176e18012d7ea4c005df1be0000c014924..."} 
[2026-06-02 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86176e18012d7ea4c005df1be0000c014924..."} 
[2026-06-02 07:40:18] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86176e18012d7ea4c005df1be0000c014924..."} 
[2026-06-02 07:40:18] local.INFO: Packet analysis {"connection_id":89598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:40:18] local.INFO: Extracted packet for processing {"connection_id":89598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":98507744,"longitude_deg":76.3274432,"latitude_deg":9.8507744,"altitude":12,"angle":329,"satellites":36,"speed":41,"hex_longitude":"2d7ea4c0","hex_latitude":"05df1be0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773732608001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87718084181229568,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629876409982976,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:18] 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-06-02 07:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366143000,"timestamp_ms":1780366143000,"timestamp_seconds":1780366143,"priority":1,"record_length":96,"hex_timestamp":"0000019e86176e18"} 
[2026-06-02 07:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:40: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-06-02 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 07:40:18] 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-06-02 07: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-06-02 07:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773732608001,"66":13222,"205":206,"85":15104,"24":41,"16":87718084181229568,"45":9125629876409982976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-02 07:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773732608001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:40:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87718084181229568,"km_value":87718084181229.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629876409982976,"description":"Unknown IO ID 45"} 
[2026-06-02 07:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773732608001,"power":13222,"cell_id":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9125629876409982976}} 
[2026-06-02 07:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":89598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:40:18] local.INFO: GPS data processed {"connection_id":89598,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:40:18] local.INFO: Acknowledgment sent {"connection_id":89598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:40:25] local.INFO: TCP Data received {"connection_id":90659,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:40:25] local.INFO: Processing buffer {"connection_id":90659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:40:25] local.INFO: IMEI packet received {"connection_id":90659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":90659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:40:30] local.INFO: TCP Data received {"connection_id":90659,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:40:30] local.INFO: Processing buffer {"connection_id":90659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:40:30] local.INFO: IMEI packet received {"connection_id":90659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":90659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:40:30] local.INFO: TCP Data received {"connection_id":90659,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86171828012d16a64006d66ad0000c011429..."} 
[2026-06-02 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86171828012d16a64006d66ad0000c011429..."} 
[2026-06-02 07:40:30] local.INFO: Processing buffer {"connection_id":90659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86171828012d16a64006d66ad0000c011429..."} 
[2026-06-02 07:40:30] local.INFO: Packet analysis {"connection_id":90659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:40:30] local.INFO: Extracted packet for processing {"connection_id":90659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756459072,"raw_latitude":114715344,"longitude_deg":75.6459072,"latitude_deg":11.4715344,"altitude":12,"angle":276,"satellites":41,"speed":36,"hex_longitude":"2d16a640","hex_latitude":"06d66ad0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773724416001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1641913937264318464,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305216267432755200,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:30] 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-06-02 07:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780366121000,"timestamp_ms":1780366121000,"timestamp_seconds":1780366121,"priority":1,"record_length":96,"hex_timestamp":"0000019e86171828"} 
[2026-06-02 07:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07: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-06-02 07: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:40:30] 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-06-02 07: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-06-02 07:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:40:30] 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-06-02 07:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773724416001,"66":27908,"45":1641913937264318464,"81":20480,"24":36,"16":305216267432755200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 07:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773724416001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1641913937264318464,"description":"Unknown IO ID 45"} 
[2026-06-02 07:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305216267432755200,"km_value":305216267432755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:40:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773724416001,"power":27908,"unknown_45":1641913937264318464,"unknown_81":20480,"ignition":36,"odometer":null}} 
[2026-06-02 07:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":90659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:40:30] local.INFO: GPS data processed {"connection_id":90659,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:40:30] local.INFO: Acknowledgment sent {"connection_id":90659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:40:50] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86179140012d7e948005df3bd0000b014e25..."} 
[2026-06-02 07:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86179140012d7e948005df3bd0000b014e25..."} 
[2026-06-02 07:40:50] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86179140012d7e948005df3bd0000b014e25..."} 
[2026-06-02 07:40:50] local.INFO: Packet analysis {"connection_id":89598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:40:50] local.INFO: Extracted packet for processing {"connection_id":89598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763270272,"raw_latitude":98515920,"longitude_deg":76.3270272,"latitude_deg":9.851592,"altitude":11,"angle":334,"satellites":37,"speed":41,"hex_longitude":"2d7e9480","hex_latitude":"05df3bd0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773732608001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87718530857828352,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629876409982976,"note":"Value kept but may cause issues"} 
[2026-06-02 07:40:50] 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-06-02 07:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780366152000,"timestamp_ms":1780366152000,"timestamp_seconds":1780366152,"priority":1,"record_length":96,"hex_timestamp":"0000019e86179140"} 
[2026-06-02 07:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 07:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773732608001,"66":12972,"206":206,"85":15104,"24":41,"16":87718530857828352,"45":9125629876409982976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-02 07:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773732608001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87718530857828352,"km_value":87718530857828.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629876409982976,"description":"Unknown IO ID 45"} 
[2026-06-02 07:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773732608001,"power":12972,"unknown_206":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9125629876409982976}} 
[2026-06-02 07:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":89598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:40:50] local.INFO: GPS data processed {"connection_id":89598,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:40:50] local.INFO: Acknowledgment sent {"connection_id":89598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:41:04] local.INFO: TCP Data received {"connection_id":90659,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86173f38012d1682c006d66de0000e011229..."} 
[2026-06-02 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86173f38012d1682c006d66de0000e011229..."} 
[2026-06-02 07:41:04] local.INFO: Processing buffer {"connection_id":90659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86173f38012d1682c006d66de0000e011229..."} 
[2026-06-02 07:41:04] local.INFO: Packet analysis {"connection_id":90659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:41:04] local.INFO: Extracted packet for processing {"connection_id":90659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8617"} 
[2026-06-02 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756449984,"raw_latitude":114716128,"longitude_deg":75.6449984,"latitude_deg":11.4716128,"altitude":14,"angle":274,"satellites":41,"speed":34,"hex_longitude":"2d1682c0","hex_latitude":"06d66de0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773726976001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632062313079689216,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305216701224452096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:04] 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-06-02 07:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780366131000,"timestamp_ms":1780366131000,"timestamp_seconds":1780366131,"priority":1,"record_length":96,"hex_timestamp":"0000019e86173f38"} 
[2026-06-02 07:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773726976001,"66":27865,"45":1632062313079689216,"81":20480,"24":34,"16":305216701224452096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-06-02 07:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773726976001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632062313079689216,"description":"Unknown IO ID 45"} 
[2026-06-02 07:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305216701224452096,"km_value":305216701224452.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:41:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773726976001,"power":27865,"unknown_45":1632062313079689216,"unknown_81":20480,"ignition":34,"odometer":null}} 
[2026-06-02 07:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":90659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:41:04] local.INFO: GPS data processed {"connection_id":90659,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:41:04] local.INFO: Acknowledgment sent {"connection_id":90659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:41:13] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:41:13] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:41:13] local.INFO: IMEI packet received {"connection_id":89599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":89599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:41:17] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:41:17] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:41:17] local.INFO: IMEI packet received {"connection_id":89599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":89599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:41:18] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861913f8012d7e2d0005e0aff8000b014624..."} 
[2026-06-02 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861913f8012d7e2d0005e0aff8000b014624..."} 
[2026-06-02 07:41:18] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861913f8012d7e2d0005e0aff8000b014624..."} 
[2026-06-02 07:41:18] local.INFO: Packet analysis {"connection_id":89599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:41:18] local.INFO: Extracted packet for processing {"connection_id":89599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:41:18] local.INFO: GPS Element Parsed {"raw_longitude":763243776,"raw_latitude":98611192,"longitude_deg":76.3243776,"latitude_deg":9.8611192,"altitude":11,"angle":326,"satellites":36,"speed":37,"hex_longitude":"2d7e2d00","hex_latitude":"05e0aff8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773759744001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87723341221199872,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041649254400,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:18] 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-06-02 07:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366251000,"timestamp_ms":1780366251000,"timestamp_seconds":1780366251,"priority":1,"record_length":96,"hex_timestamp":"0000019e861913f8"} 
[2026-06-02 07:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 07:41:18] 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-06-02 07: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-06-02 07:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773759744001,"66":12939,"207":206,"85":15104,"24":37,"16":87723341221199872,"45":9092838041649254400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 07:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773759744001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:41:18] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 07:41:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87723341221199872,"km_value":87723341221199.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041649254400,"description":"Unknown IO ID 45"} 
[2026-06-02 07:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773759744001,"power":12939,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9092838041649254400}} 
[2026-06-02 07:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":89599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:41:18] local.INFO: GPS data processed {"connection_id":89599,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:41:18] local.INFO: Acknowledgment sent {"connection_id":89599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:41:24] local.INFO: TCP Data received {"connection_id":89191,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:41:24] local.INFO: Processing buffer {"connection_id":89191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:41:24] local.INFO: IMEI packet received {"connection_id":89191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":89191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:41:30] local.INFO: TCP Data received {"connection_id":89191,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:41:30] local.INFO: Processing buffer {"connection_id":89191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:41:30] local.INFO: IMEI packet received {"connection_id":89191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":89191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:41:34] local.INFO: TCP Data received {"connection_id":89191,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8618c9c0012d15ad8006d6e528000f014a2b..."} 
[2026-06-02 07:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8618c9c0012d15ad8006d6e528000f014a2b..."} 
[2026-06-02 07:41:34] local.INFO: Processing buffer {"connection_id":89191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8618c9c0012d15ad8006d6e528000f014a2b..."} 
[2026-06-02 07:41:34] local.INFO: Packet analysis {"connection_id":89191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8618"} 
[2026-06-02 07:41:34] local.INFO: Extracted packet for processing {"connection_id":89191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8618"} 
[2026-06-02 07:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756395392,"raw_latitude":114746664,"longitude_deg":75.6395392,"latitude_deg":11.4746664,"altitude":15,"angle":330,"satellites":43,"speed":18,"hex_longitude":"2d15ad80","hex_latitude":"06d6e528","is_valid_coordinates":true} 
[2026-06-02 07:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773752064001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305219849435480064,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1564086106210732032,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:34] 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-06-02 07:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780366232000,"timestamp_ms":1780366232000,"timestamp_seconds":1780366232,"priority":1,"record_length":96,"hex_timestamp":"0000019e8618c9c0"} 
[2026-06-02 07:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:41: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-06-02 07:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 07:41:34] 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-06-02 07:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:41:34] 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-06-02 07:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773752064001,"66":27908,"44":206,"81":20480,"24":18,"16":305219849435480064,"45":1564086106210732032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-06-02 07:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773752064001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:41:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 07:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305219849435480064,"km_value":305219849435480.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1564086106210732032,"description":"Unknown IO ID 45"} 
[2026-06-02 07:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773752064001,"power":27908,"unknown_44":206,"unknown_81":20480,"ignition":18,"odometer":null,"unknown_45":1564086106210732032}} 
[2026-06-02 07:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":89191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:41:34] local.INFO: GPS data processed {"connection_id":89191,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:41:34] local.INFO: Acknowledgment sent {"connection_id":89191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:41:49] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8619ac50012d7e1e8005e12450000b000c23..."} 
[2026-06-02 07:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8619ac50012d7e1e8005e12450000b000c23..."} 
[2026-06-02 07:41:49] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8619ac50012d7e1e8005e12450000b000c23..."} 
[2026-06-02 07:41:49] local.INFO: Packet analysis {"connection_id":89599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:41:49] local.INFO: Extracted packet for processing {"connection_id":89599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763240064,"raw_latitude":98640976,"longitude_deg":76.3240064,"latitude_deg":9.8640976,"altitude":11,"angle":12,"satellites":35,"speed":37,"hex_longitude":"2d7e1e80","hex_latitude":"05e12450","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773768960001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87725024848379904,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954773422080,"note":"Value kept but may cause issues"} 
[2026-06-02 07:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780366290000,"timestamp_ms":1780366290000,"timestamp_seconds":1780366290,"priority":1,"record_length":96,"hex_timestamp":"0000019e8619ac50"} 
[2026-06-02 07:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 07:41:49] 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-06-02 07: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-06-02 07:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773768960001,"66":13374,"60":206,"85":15104,"24":37,"16":87725024848379904,"45":9085378954773422080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-02 07:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773768960001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:41:49] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:41:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87725024848379904,"km_value":87725024848379.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954773422080,"description":"Unknown IO ID 45"} 
[2026-06-02 07:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773768960001,"power":13374,"unknown_60":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9085378954773422080}} 
[2026-06-02 07:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":89599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:41:49] local.INFO: GPS data processed {"connection_id":89599,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:41:49] local.INFO: Acknowledgment sent {"connection_id":89599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:42:05] local.INFO: TCP Data received {"connection_id":89191,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8618e900012d15a74006d6edc80010013e2a..."} 
[2026-06-02 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8618e900012d15a74006d6edc80010013e2a..."} 
[2026-06-02 07:42:05] local.INFO: Processing buffer {"connection_id":89191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8618e900012d15a74006d6edc80010013e2a..."} 
[2026-06-02 07:42:05] local.INFO: Packet analysis {"connection_id":89191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8618"} 
[2026-06-02 07:42:05] local.INFO: Extracted packet for processing {"connection_id":89191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8618"} 
[2026-06-02 07:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756393792,"raw_latitude":114748872,"longitude_deg":75.6393792,"latitude_deg":11.4748872,"altitude":16,"angle":318,"satellites":42,"speed":10,"hex_longitude":"2d15a740","hex_latitude":"06d6edc8","is_valid_coordinates":true} 
[2026-06-02 07:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773755392001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305219982579466240,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562045412630931456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:05] 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-06-02 07:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780366240000,"timestamp_ms":1780366240000,"timestamp_seconds":1780366240,"priority":1,"record_length":96,"hex_timestamp":"0000019e8618e900"} 
[2026-06-02 07:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07: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-06-02 07:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773755392001,"66":27745,"46":206,"81":20480,"24":10,"16":305219982579466240,"45":1562045412630931456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-06-02 07:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773755392001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:42:05] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-02 07:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305219982579466240,"km_value":305219982579466.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562045412630931456,"description":"Unknown IO ID 45"} 
[2026-06-02 07:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773755392001,"power":27745,"unknown_46":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":1562045412630931456}} 
[2026-06-02 07:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":89191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:42:05] local.INFO: GPS data processed {"connection_id":89191,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:42:05] local.INFO: Acknowledgment sent {"connection_id":89191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:42:13] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:42:13] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:42:13] local.INFO: IMEI packet received {"connection_id":89435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":89435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:42:17] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:42:17] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:42:17] local.INFO: IMEI packet received {"connection_id":89435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":89435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:42:18] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8619b420012d7e1f0005e12bd0000b016624..."} 
[2026-06-02 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8619b420012d7e1f0005e12bd0000b016624..."} 
[2026-06-02 07:42:18] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8619b420012d7e1f0005e12bd0000b016624..."} 
[2026-06-02 07:42:18] local.INFO: Packet analysis {"connection_id":89435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:42:18] local.INFO: Extracted packet for processing {"connection_id":89435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763240192,"raw_latitude":98642896,"longitude_deg":76.3240192,"latitude_deg":9.8642896,"altitude":11,"angle":358,"satellites":36,"speed":37,"hex_longitude":"2d7e1f00","hex_latitude":"05e12bd0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773770240001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87725119337660416,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087841860820684800,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366292000,"timestamp_ms":1780366292000,"timestamp_seconds":1780366292,"priority":1,"record_length":96,"hex_timestamp":"0000019e8619b420"} 
[2026-06-02 07:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 07:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773770240001,"66":13374,"60":206,"85":15104,"24":37,"16":87725119337660416,"45":9087841860820684800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-02 07:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773770240001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:42:18] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87725119337660416,"km_value":87725119337660.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087841860820684800,"description":"Unknown IO ID 45"} 
[2026-06-02 07:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773770240001,"power":13374,"unknown_60":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9087841860820684800}} 
[2026-06-02 07:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":89435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:42:18] local.INFO: GPS data processed {"connection_id":89435,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:42:18] local.INFO: Acknowledgment sent {"connection_id":89435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:42:24] local.INFO: TCP Data received {"connection_id":90661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:42:24] local.INFO: Processing buffer {"connection_id":90661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:42:24] local.INFO: IMEI packet received {"connection_id":90661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":90661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:42:29] local.INFO: TCP Data received {"connection_id":90661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:42:30] local.INFO: Processing buffer {"connection_id":90661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:42:30] local.INFO: IMEI packet received {"connection_id":90661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":90661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:42:30] local.INFO: TCP Data received {"connection_id":90661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8618f4b8012d15a50006d6eff0001101302a..."} 
[2026-06-02 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8618f4b8012d15a50006d6eff0001101302a..."} 
[2026-06-02 07:42:30] local.INFO: Processing buffer {"connection_id":90661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8618f4b8012d15a50006d6eff0001101302a..."} 
[2026-06-02 07:42:30] local.INFO: Packet analysis {"connection_id":90661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8618"} 
[2026-06-02 07:42:30] local.INFO: Extracted packet for processing {"connection_id":90661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8618"} 
[2026-06-02 07:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756393216,"raw_latitude":114749424,"longitude_deg":75.6393216,"latitude_deg":11.4749424,"altitude":17,"angle":304,"satellites":42,"speed":12,"hex_longitude":"2d15a500","hex_latitude":"06d6eff0","is_valid_coordinates":true} 
[2026-06-02 07:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773757440001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305220021234171904,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1560286194027055104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:30] 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-06-02 07:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780366243000,"timestamp_ms":1780366243000,"timestamp_seconds":1780366243,"priority":1,"record_length":96,"hex_timestamp":"0000019e8618f4b8"} 
[2026-06-02 07:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:42: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-06-02 07:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 07:42: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-06-02 07:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:42:30] 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-06-02 07:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773757440001,"66":27919,"46":206,"81":20480,"24":12,"16":305220021234171904,"45":1560286194027055104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-06-02 07:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773757440001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:42:30] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-02 07:42:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305220021234171904,"km_value":305220021234171.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1560286194027055104,"description":"Unknown IO ID 45"} 
[2026-06-02 07:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773757440001,"power":27919,"unknown_46":206,"unknown_81":20480,"ignition":12,"odometer":null,"unknown_45":1560286194027055104}} 
[2026-06-02 07:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":90661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:42:30] local.INFO: GPS data processed {"connection_id":90661,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:42:30] local.INFO: Acknowledgment sent {"connection_id":90661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:42:49] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861a8710012d7e270005e20d68000a013224..."} 
[2026-06-02 07:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861a8710012d7e270005e20d68000a013224..."} 
[2026-06-02 07:42:49] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861a8710012d7e270005e20d68000a013224..."} 
[2026-06-02 07:42:49] local.INFO: Packet analysis {"connection_id":89435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:42:49] local.INFO: Extracted packet for processing {"connection_id":89435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763242240,"raw_latitude":98700648,"longitude_deg":76.324224,"latitude_deg":9.8700648,"altitude":10,"angle":306,"satellites":36,"speed":25,"hex_longitude":"2d7e2700","hex_latitude":"05e20d68","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773784320001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87727996965748736,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085579681792,"note":"Value kept but may cause issues"} 
[2026-06-02 07:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780366346000,"timestamp_ms":1780366346000,"timestamp_seconds":1780366346,"priority":1,"record_length":96,"hex_timestamp":"0000019e861a8710"} 
[2026-06-02 07:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 07:42:49] 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-06-02 07: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-06-02 07:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773784320001,"66":13298,"60":206,"85":15104,"24":25,"16":87727996965748736,"45":9090938085579681792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-02 07:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773784320001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:42:49] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87727996965748736,"km_value":87727996965748.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085579681792,"description":"Unknown IO ID 45"} 
[2026-06-02 07:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773784320001,"power":13298,"unknown_60":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9090938085579681792}} 
[2026-06-02 07:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":89435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:42:49] local.INFO: GPS data processed {"connection_id":89435,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:42:49] local.INFO: Acknowledgment sent {"connection_id":89435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:43:02] local.INFO: TCP Data received {"connection_id":90661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86193338012d15884006d705b0000f01392a..."} 
[2026-06-02 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86193338012d15884006d705b0000f01392a..."} 
[2026-06-02 07:43:02] local.INFO: Processing buffer {"connection_id":90661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86193338012d15884006d705b0000f01392a..."} 
[2026-06-02 07:43:02] local.INFO: Packet analysis {"connection_id":90661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:43:02] local.INFO: Extracted packet for processing {"connection_id":90661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756385856,"raw_latitude":114754992,"longitude_deg":75.6385856,"latitude_deg":11.4754992,"altitude":15,"angle":313,"satellites":42,"speed":26,"hex_longitude":"2d158840","hex_latitude":"06d705b0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773758208001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305220463615803392,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1559652875329597440,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:02] 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-06-02 07:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780366259000,"timestamp_ms":1780366259000,"timestamp_seconds":1780366259,"priority":1,"record_length":96,"hex_timestamp":"0000019e86193338"} 
[2026-06-02 07:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:43: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-06-02 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 07:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:43:02] 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-06-02 07:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773758208001,"66":27908,"46":206,"81":20480,"24":26,"16":305220463615803392,"45":1559652875329597440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-06-02 07:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773758208001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:43:02] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-02 07:43:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305220463615803392,"km_value":305220463615803.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1559652875329597440,"description":"Unknown IO ID 45"} 
[2026-06-02 07:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773758208001,"power":27908,"unknown_46":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1559652875329597440}} 
[2026-06-02 07:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":90661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:43:02] local.INFO: GPS data processed {"connection_id":90661,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:43:02] local.INFO: Acknowledgment sent {"connection_id":90661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:43:04] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:43:04] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:43:04] local.INFO: IMEI packet received {"connection_id":89600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":89600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:43:12] local.INFO: TCP Data received {"connection_id":90662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:43:12] local.INFO: Processing buffer {"connection_id":90662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:43:12] local.INFO: IMEI packet received {"connection_id":90662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":90662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:43:17] local.INFO: TCP Data received {"connection_id":90662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:43:17] local.INFO: Processing buffer {"connection_id":90662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:43:17] local.INFO: IMEI packet received {"connection_id":90662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":90662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:43:18] local.INFO: TCP Data received {"connection_id":90662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861a8af8012d7e248005e20e30000a012124..."} 
[2026-06-02 07:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861a8af8012d7e248005e20e30000a012124..."} 
[2026-06-02 07:43:18] local.INFO: Processing buffer {"connection_id":90662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861a8af8012d7e248005e20e30000a012124..."} 
[2026-06-02 07:43:18] local.INFO: Packet analysis {"connection_id":90662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:43:18] local.INFO: Extracted packet for processing {"connection_id":90662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763241600,"raw_latitude":98700848,"longitude_deg":76.32416,"latitude_deg":9.8700848,"altitude":10,"angle":289,"satellites":36,"speed":26,"hex_longitude":"2d7e2480","hex_latitude":"05e20e30","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773784576001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87728031325487104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090234398138001408,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366347000,"timestamp_ms":1780366347000,"timestamp_seconds":1780366347,"priority":1,"record_length":96,"hex_timestamp":"0000019e861a8af8"} 
[2026-06-02 07:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 07:43:18] 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-06-02 07: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-06-02 07:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773784576001,"66":13091,"60":206,"85":15104,"24":26,"16":87728031325487104,"45":9090234398138001408},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-02 07:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773784576001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:43:18] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 07:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87728031325487104,"km_value":87728031325487.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090234398138001408,"description":"Unknown IO ID 45"} 
[2026-06-02 07:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773784576001,"power":13091,"unknown_60":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9090234398138001408}} 
[2026-06-02 07:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":90662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:43:18] local.INFO: GPS data processed {"connection_id":90662,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:43:18] local.INFO: Acknowledgment sent {"connection_id":90662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:43:24] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:43:24] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:43:24] local.INFO: IMEI packet received {"connection_id":89601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":89601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:43:30] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:43:30] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:43:30] local.INFO: IMEI packet received {"connection_id":89601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":89601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:43:30] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86198540012d1571c006d719d00015013824..."} 
[2026-06-02 07:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86198540012d1571c006d719d00015013824..."} 
[2026-06-02 07:43:30] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86198540012d1571c006d719d00015013824..."} 
[2026-06-02 07:43:30] local.INFO: Packet analysis {"connection_id":89601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:43:30] local.INFO: Extracted packet for processing {"connection_id":89601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756380096,"raw_latitude":114760144,"longitude_deg":75.6380096,"latitude_deg":11.4760144,"altitude":21,"angle":312,"satellites":36,"speed":12,"hex_longitude":"2d1571c0","hex_latitude":"06d719d0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773762304001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305220837277958144,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1551560469750591488,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:30] 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-06-02 07:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780366280000,"timestamp_ms":1780366280000,"timestamp_seconds":1780366280,"priority":1,"record_length":96,"hex_timestamp":"0000019e86198540"} 
[2026-06-02 07:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:43: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-06-02 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:43:30] 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-06-02 07:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773762304001,"66":27887,"183":206,"81":20480,"24":12,"16":305220837277958144,"45":1551560469750591488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-06-02 07:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773762304001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:43:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-02 07:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305220837277958144,"km_value":305220837277958.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1551560469750591488,"description":"Unknown IO ID 45"} 
[2026-06-02 07:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773762304001,"power":27887,"unknown_183":206,"unknown_81":20480,"ignition":12,"odometer":null,"unknown_45":1551560469750591488}} 
[2026-06-02 07:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":89601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:43:30] local.INFO: GPS data processed {"connection_id":89601,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:43:30] local.INFO: Acknowledgment sent {"connection_id":89601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:43:49] local.INFO: TCP Data received {"connection_id":90662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861a92c8012d7e1e4005e20ed8000b011523..."} 
[2026-06-02 07:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861a92c8012d7e1e4005e20ed8000b011523..."} 
[2026-06-02 07:43:49] local.INFO: Processing buffer {"connection_id":90662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861a92c8012d7e1e4005e20ed8000b011523..."} 
[2026-06-02 07:43:49] local.INFO: Packet analysis {"connection_id":90662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:43:49] local.INFO: Extracted packet for processing {"connection_id":90662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:43:49] local.INFO: GPS Element Parsed {"raw_longitude":763240000,"raw_latitude":98701016,"longitude_deg":76.324,"latitude_deg":9.8701016,"altitude":11,"angle":277,"satellites":35,"speed":32,"hex_longitude":"2d7e1e40","hex_latitude":"05e20ed8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773784832001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87728108634898432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089530710696275968,"note":"Value kept but may cause issues"} 
[2026-06-02 07:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780366349000,"timestamp_ms":1780366349000,"timestamp_seconds":1780366349,"priority":1,"record_length":96,"hex_timestamp":"0000019e861a92c8"} 
[2026-06-02 07:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 07:43:49] 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-06-02 07: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-06-02 07:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773784832001,"66":12809,"61":206,"85":15104,"24":32,"16":87728108634898432,"45":9089530710696275968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 07:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773784832001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:43:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 07:43:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87728108634898432,"km_value":87728108634898.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089530710696275968,"description":"Unknown IO ID 45"} 
[2026-06-02 07:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773784832001,"power":12809,"unknown_61":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9089530710696275968}} 
[2026-06-02 07:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":90662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:43:49] local.INFO: GPS data processed {"connection_id":90662,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:43:49] local.INFO: Acknowledgment sent {"connection_id":90662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:44:02] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8619d748012d1558c006d733b00015013d26..."} 
[2026-06-02 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8619d748012d1558c006d733b00015013d26..."} 
[2026-06-02 07:44:02] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8619d748012d1558c006d733b00015013d26..."} 
[2026-06-02 07:44:02] local.INFO: Packet analysis {"connection_id":89601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:44:02] local.INFO: Extracted packet for processing {"connection_id":89601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756373696,"raw_latitude":114766768,"longitude_deg":75.6373696,"latitude_deg":11.4766768,"altitude":21,"angle":317,"satellites":38,"speed":22,"hex_longitude":"2d1558c0","hex_latitude":"06d733b0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773767680001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305221279659589632,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1545227282775920640,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:02] 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-06-02 07:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780366301000,"timestamp_ms":1780366301000,"timestamp_seconds":1780366301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8619d748"} 
[2026-06-02 07:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 07:44:02] 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-06-02 07: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-06-02 07:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:44:02] 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-06-02 07:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773767680001,"66":27908,"183":206,"81":20480,"24":22,"16":305221279659589632,"45":1545227282775920640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-06-02 07:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773767680001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:44:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-02 07:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305221279659589632,"km_value":305221279659589.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1545227282775920640,"description":"Unknown IO ID 45"} 
[2026-06-02 07:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773767680001,"power":27908,"unknown_183":206,"unknown_81":20480,"ignition":22,"odometer":null,"unknown_45":1545227282775920640}} 
[2026-06-02 07:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":89601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:44:02] local.INFO: GPS data processed {"connection_id":89601,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:44:02] local.INFO: Acknowledgment sent {"connection_id":89601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:44:12] local.INFO: TCP Data received {"connection_id":89436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:12] local.INFO: Processing buffer {"connection_id":89436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:12] local.INFO: IMEI packet received {"connection_id":89436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":89436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:44:15] local.INFO: TCP Data received {"connection_id":89436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:15] local.INFO: Processing buffer {"connection_id":89436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:15] local.INFO: IMEI packet received {"connection_id":89436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":89436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:44:17] local.INFO: TCP Data received {"connection_id":89436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:17] local.INFO: Processing buffer {"connection_id":89436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:44:17] local.INFO: IMEI packet received {"connection_id":89436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":89436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:44:18] local.INFO: TCP Data received {"connection_id":89436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861ae0e8012d7e028005e21248000c010e23..."} 
[2026-06-02 07:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861ae0e8012d7e028005e21248000c010e23..."} 
[2026-06-02 07:44:18] local.INFO: Processing buffer {"connection_id":89436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861ae0e8012d7e028005e21248000c010e23..."} 
[2026-06-02 07:44:18] local.INFO: Packet analysis {"connection_id":89436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:44:18] local.INFO: Extracted packet for processing {"connection_id":89436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861a"} 
[2026-06-02 07:44:18] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":98701896,"longitude_deg":76.3232896,"latitude_deg":9.8701896,"altitude":12,"angle":270,"satellites":35,"speed":25,"hex_longitude":"2d7e0280","hex_latitude":"05e21248","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773785344001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87728460822216704,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087771492091877376,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366369000,"timestamp_ms":1780366369000,"timestamp_seconds":1780366369,"priority":1,"record_length":96,"hex_timestamp":"0000019e861ae0e8"} 
[2026-06-02 07:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2954361355722818560,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2249866456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":134,"raw_value":1888424419903023360,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2147869167,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":8791252590777126485,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2882011136,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2178968163310366430,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,61,85,24,241,157,16,172,158,138,45,128,14,10,36,66,60,135,13,131,1,240,242,227,134,226,4,113,205,25,92,43,239,51,2,55,5,9,42,59,95],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-06-02 07:44:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792938249464053760,"timestamp_seconds":792938249464053.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773785344001,"66":13102,"61":206,"85":15104,"24":25,"16":87728460822216704,"45":9087771492091877376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 07:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773785344001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:44:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 07:44:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87728460822216704,"km_value":87728460822216.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087771492091877376,"description":"Unknown IO ID 45"} 
[2026-06-02 07:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773785344001,"power":13102,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9087771492091877376}} 
[2026-06-02 07:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":89436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:44:18] local.INFO: GPS data processed {"connection_id":89436,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:44:18] local.INFO: Acknowledgment sent {"connection_id":89436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:44:24] local.INFO: TCP Data received {"connection_id":89192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:44:24] local.INFO: Processing buffer {"connection_id":89192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:44:24] local.INFO: IMEI packet received {"connection_id":89192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":89192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:44:29] local.INFO: TCP Data received {"connection_id":89192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:44:29] local.INFO: Processing buffer {"connection_id":89192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:44:29] local.INFO: IMEI packet received {"connection_id":89192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":89192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:44:30] local.INFO: TCP Data received {"connection_id":89192,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8619d748012d1558c006d733b00015013d26..."} 
[2026-06-02 07:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8619d748012d1558c006d733b00015013d26..."} 
[2026-06-02 07:44:30] local.INFO: Processing buffer {"connection_id":89192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8619d748012d1558c006d733b00015013d26..."} 
[2026-06-02 07:44:30] local.INFO: Packet analysis {"connection_id":89192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:44:30] local.INFO: Extracted packet for processing {"connection_id":89192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8619"} 
[2026-06-02 07:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756373696,"raw_latitude":114766768,"longitude_deg":75.6373696,"latitude_deg":11.4766768,"altitude":21,"angle":317,"satellites":38,"speed":22,"hex_longitude":"2d1558c0","hex_latitude":"06d733b0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773773056001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305221279659589632,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1538190408359849984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:30] 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-06-02 07:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780366301000,"timestamp_ms":1780366301000,"timestamp_seconds":1780366301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8619d748"} 
[2026-06-02 07:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:44: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-06-02 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:44:30] 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-06-02 07:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773773056001,"66":27908,"183":206,"81":20480,"24":22,"16":305221279659589632,"45":1538190408359849984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-06-02 07:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773773056001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:44:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-02 07:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305221279659589632,"km_value":305221279659589.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1538190408359849984,"description":"Unknown IO ID 45"} 
[2026-06-02 07:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773773056001,"power":27908,"unknown_183":206,"unknown_81":20480,"ignition":22,"odometer":null,"unknown_45":1538190408359849984}} 
[2026-06-02 07:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":89192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:44:30] local.INFO: GPS data processed {"connection_id":89192,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:44:30] local.INFO: Acknowledgment sent {"connection_id":89192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:44:49] local.INFO: TCP Data received {"connection_id":89436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c5400012d7ccb0005e204d0000a010d25..."} 
[2026-06-02 07:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c5400012d7ccb0005e204d0000a010d25..."} 
[2026-06-02 07:44:49] local.INFO: Processing buffer {"connection_id":89436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c5400012d7ccb0005e204d0000a010d25..."} 
[2026-06-02 07:44:49] local.INFO: Packet analysis {"connection_id":89436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:44:49] local.INFO: Extracted packet for processing {"connection_id":89436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763153152,"raw_latitude":98698448,"longitude_deg":76.3153152,"latitude_deg":9.8698448,"altitude":10,"angle":269,"satellites":37,"speed":30,"hex_longitude":"2d7ccb00","hex_latitude":"05e204d0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773811968001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87732347767619584,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002203099171657728,"note":"Value kept but may cause issues"} 
[2026-06-02 07:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780366464000,"timestamp_ms":1780366464000,"timestamp_seconds":1780366464,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c5400"} 
[2026-06-02 07:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:44:49] 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-06-02 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 07:44:49] 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-06-02 07: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-06-02 07:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773811968001,"66":12961,"61":206,"85":15104,"24":30,"16":87732347767619584,"45":9002203099171657728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 07:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773811968001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87732347767619584,"km_value":87732347767619.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002203099171657728,"description":"Unknown IO ID 45"} 
[2026-06-02 07:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773811968001,"power":12961,"unknown_61":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9002203099171657728}} 
[2026-06-02 07:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":89436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:44:49] local.INFO: GPS data processed {"connection_id":89436,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:44:49] local.INFO: Acknowledgment sent {"connection_id":89436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:45:02] local.INFO: TCP Data received {"connection_id":89192,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c1198012d148a4006d80f880010013b2b..."} 
[2026-06-02 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c1198012d148a4006d80f880010013b2b..."} 
[2026-06-02 07:45:02] local.INFO: Processing buffer {"connection_id":89192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c1198012d148a4006d80f880010013b2b..."} 
[2026-06-02 07:45:02] local.INFO: Packet analysis {"connection_id":89192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:02] local.INFO: Extracted packet for processing {"connection_id":89192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:02] local.INFO: GPS Element Parsed {"raw_longitude":756320832,"raw_latitude":114823048,"longitude_deg":75.6320832,"latitude_deg":11.4823048,"altitude":16,"angle":315,"satellites":43,"speed":55,"hex_longitude":"2d148a40","hex_latitude":"06d80f88","is_valid_coordinates":true} 
[2026-06-02 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773808640001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305224994806300672,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1487384175076253696,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:02] 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-06-02 07:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780366447000,"timestamp_ms":1780366447000,"timestamp_seconds":1780366447,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c1198"} 
[2026-06-02 07:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:45: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-06-02 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:45:02] 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-06-02 07:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773808640001,"66":28028,"184":206,"81":20480,"24":55,"16":305224994806300672,"45":1487384175076253696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-06-02 07:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773808640001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:45:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 07:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305224994806300672,"km_value":305224994806300.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1487384175076253696,"description":"Unknown IO ID 45"} 
[2026-06-02 07:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773808640001,"power":28028,"unknown_184":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1487384175076253696}} 
[2026-06-02 07:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":89192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:45:02] local.INFO: GPS data processed {"connection_id":89192,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:45:02] local.INFO: Acknowledgment sent {"connection_id":89192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:45:12] local.INFO: TCP Data received {"connection_id":90663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:12] local.INFO: Processing buffer {"connection_id":90663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:12] local.INFO: IMEI packet received {"connection_id":90663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":90663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:45:19] local.INFO: TCP Data received {"connection_id":90663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:19] local.INFO: Processing buffer {"connection_id":90663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:19] local.INFO: IMEI packet received {"connection_id":90663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":90663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:45:20] local.INFO: TCP Data received {"connection_id":90663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:20] local.INFO: Processing buffer {"connection_id":90663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:45:20] local.INFO: IMEI packet received {"connection_id":90663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":90663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:45:20] local.INFO: TCP Data received {"connection_id":90663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c7b10012d7caf0005e207600009011825..."} 
[2026-06-02 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c7b10012d7caf0005e207600009011825..."} 
[2026-06-02 07:45:20] local.INFO: Processing buffer {"connection_id":90663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c7b10012d7caf0005e207600009011825..."} 
[2026-06-02 07:45:20] local.INFO: Packet analysis {"connection_id":90663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:20] local.INFO: Extracted packet for processing {"connection_id":90663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763145984,"raw_latitude":98699104,"longitude_deg":76.3145984,"latitude_deg":9.8699104,"altitude":9,"angle":280,"satellites":37,"speed":37,"hex_longitude":"2d7caf00","hex_latitude":"05e20760","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773814784001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87732691365003264,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106242129920,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780366474000,"timestamp_ms":1780366474000,"timestamp_seconds":1780366474,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c7b10"} 
[2026-06-02 07:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 07:45:20] 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-06-02 07: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-06-02 07:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773814784001,"66":12917,"61":206,"85":15104,"24":37,"16":87732691365003264,"45":8992281106242129920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 07:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773814784001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87732691365003264,"km_value":87732691365003.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106242129920,"description":"Unknown IO ID 45"} 
[2026-06-02 07:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773814784001,"power":12917,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8992281106242129920}} 
[2026-06-02 07:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":90663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:45:21] local.INFO: GPS data processed {"connection_id":90663,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:45:21] local.INFO: Acknowledgment sent {"connection_id":90663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:45:21] local.INFO: TCP Data received {"connection_id":90663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c9e38012d7c884005e20d58000b011825..."} 
[2026-06-02 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c9e38012d7c884005e20d58000b011825..."} 
[2026-06-02 07:45:21] local.INFO: Processing buffer {"connection_id":90663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c9e38012d7c884005e20d58000b011825..."} 
[2026-06-02 07:45:21] local.INFO: Packet analysis {"connection_id":90663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:21] local.INFO: Extracted packet for processing {"connection_id":90663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763136064,"raw_latitude":98700632,"longitude_deg":76.3136064,"latitude_deg":9.8700632,"altitude":11,"angle":280,"satellites":37,"speed":44,"hex_longitude":"2d7c8840","hex_latitude":"05e20d58","is_valid_coordinates":true} 
[2026-06-02 07:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773817344001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87733172401340416,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984399806894399488,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780366483000,"timestamp_ms":1780366483000,"timestamp_seconds":1780366483,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c9e38"} 
[2026-06-02 07:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 07:45:21] 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-06-02 07:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773817344001,"66":12863,"61":206,"85":15104,"24":44,"16":87733172401340416,"45":8984399806894399488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 07:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773817344001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:45:21] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 07:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87733172401340416,"km_value":87733172401340.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984399806894399488,"description":"Unknown IO ID 45"} 
[2026-06-02 07:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773817344001,"power":12863,"unknown_61":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8984399806894399488}} 
[2026-06-02 07:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":90663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:45:21] local.INFO: GPS data processed {"connection_id":90663,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:45:21] local.INFO: Acknowledgment sent {"connection_id":90663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:45:30] local.INFO: TCP Data received {"connection_id":89193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:45:30] local.INFO: Processing buffer {"connection_id":89193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:45:30] local.INFO: IMEI packet received {"connection_id":89193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":89193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:45:34] local.INFO: TCP Data received {"connection_id":89193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:45:34] local.INFO: Processing buffer {"connection_id":89193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:45:34] local.INFO: IMEI packet received {"connection_id":89193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":89193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:45:36] local.INFO: TCP Data received {"connection_id":89193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c2cf0012d146ec006d82b900011013d2c..."} 
[2026-06-02 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c2cf0012d146ec006d82b900011013d2c..."} 
[2026-06-02 07:45:36] local.INFO: Processing buffer {"connection_id":89193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c2cf0012d146ec006d82b900011013d2c..."} 
[2026-06-02 07:45:36] local.INFO: Packet analysis {"connection_id":89193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:36] local.INFO: Extracted packet for processing {"connection_id":89193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756313792,"raw_latitude":114830224,"longitude_deg":75.6313792,"latitude_deg":11.4830224,"altitude":17,"angle":317,"satellites":44,"speed":57,"hex_longitude":"2d146ec0","hex_latitude":"06d82b90","is_valid_coordinates":true} 
[2026-06-02 07:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773810432001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305225480137605120,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1480065825683507200,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:36] 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-06-02 07:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780366454000,"timestamp_ms":1780366454000,"timestamp_seconds":1780366454,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c2cf0"} 
[2026-06-02 07:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 07:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773810432001,"66":28050,"184":206,"81":20480,"24":57,"16":305225480137605120,"45":1480065825683507200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-06-02 07:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773810432001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:45:36] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 07:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305225480137605120,"km_value":305225480137605.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1480065825683507200,"description":"Unknown IO ID 45"} 
[2026-06-02 07:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773810432001,"power":28050,"unknown_184":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1480065825683507200}} 
[2026-06-02 07:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":89193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:45:36] local.INFO: GPS data processed {"connection_id":89193,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:45:36] local.INFO: Acknowledgment sent {"connection_id":89193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:45:38] local.INFO: TCP Data received {"connection_id":89193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c4848012d14558006d84af8001201462c..."} 
[2026-06-02 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c4848012d14558006d84af8001201462c..."} 
[2026-06-02 07:45:38] local.INFO: Processing buffer {"connection_id":89193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c4848012d14558006d84af8001201462c..."} 
[2026-06-02 07:45:38] local.INFO: Packet analysis {"connection_id":89193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:38] local.INFO: Extracted packet for processing {"connection_id":89193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756307328,"raw_latitude":114838264,"longitude_deg":75.6307328,"latitude_deg":11.4838264,"altitude":18,"angle":326,"satellites":44,"speed":59,"hex_longitude":"2d145580","hex_latitude":"06d84af8","is_valid_coordinates":true} 
[2026-06-02 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773812224001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305225978353811456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1472325263825801216,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780366461000,"timestamp_ms":1780366461000,"timestamp_seconds":1780366461,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c4848"} 
[2026-06-02 07:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:45: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-06-02 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 07:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773812224001,"66":27800,"184":206,"81":20480,"24":59,"16":305225978353811456,"45":1472325263825801216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-06-02 07:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773812224001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:45:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 07:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305225978353811456,"km_value":305225978353811.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1472325263825801216,"description":"Unknown IO ID 45"} 
[2026-06-02 07:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773812224001,"power":27800,"unknown_184":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1472325263825801216}} 
[2026-06-02 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":89193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:45:38] local.INFO: GPS data processed {"connection_id":89193,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:45:38] local.INFO: Acknowledgment sent {"connection_id":89193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:45:52] local.INFO: TCP Data received {"connection_id":90663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861d59b8012d7c1d0005e1ddf00004010525..."} 
[2026-06-02 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861d59b8012d7c1d0005e1ddf00004010525..."} 
[2026-06-02 07:45:52] local.INFO: Processing buffer {"connection_id":90663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861d59b8012d7c1d0005e1ddf00004010525..."} 
[2026-06-02 07:45:52] local.INFO: Packet analysis {"connection_id":90663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:45:52] local.INFO: Extracted packet for processing {"connection_id":90663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763108608,"raw_latitude":98688496,"longitude_deg":76.3108608,"latitude_deg":9.8688496,"altitude":4,"angle":261,"satellites":37,"speed":28,"hex_longitude":"2d7c1d00","hex_latitude":"05e1ddf0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773829888001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87734830258716672,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948652484849375232,"note":"Value kept but may cause issues"} 
[2026-06-02 07:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780366531000,"timestamp_ms":1780366531000,"timestamp_seconds":1780366531,"priority":1,"record_length":96,"hex_timestamp":"0000019e861d59b8"} 
[2026-06-02 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-06-02 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 07:45:52] 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-06-02 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-06-02 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-06-02 07:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":90663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":90663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":90663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773829888001,"66":13135,"169":206,"85":15104,"24":28,"16":87734830258716672,"45":8948652484849375232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 07:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773829888001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:45:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 07:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87734830258716672,"km_value":87734830258716.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948652484849375232,"description":"Unknown IO ID 45"} 
[2026-06-02 07:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773829888001,"power":13135,"unknown_169":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8948652484849375232}} 
[2026-06-02 07:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":90663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:45:52] local.INFO: GPS data processed {"connection_id":90663,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:45:52] local.INFO: Acknowledgment sent {"connection_id":90663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:46:09] local.INFO: TCP Data received {"connection_id":89193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c5fb8012d14440006d86a280011014e2a..."} 
[2026-06-02 07:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c5fb8012d14440006d86a280011014e2a..."} 
[2026-06-02 07:46:09] local.INFO: Processing buffer {"connection_id":89193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c5fb8012d14440006d86a280011014e2a..."} 
[2026-06-02 07:46:09] local.INFO: Packet analysis {"connection_id":89193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:46:09] local.INFO: Extracted packet for processing {"connection_id":89193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":756302848,"raw_latitude":114846248,"longitude_deg":75.6302848,"latitude_deg":11.4846248,"altitude":17,"angle":334,"satellites":42,"speed":61,"hex_longitude":"2d144400","hex_latitude":"06d86a28","is_valid_coordinates":true} 
[2026-06-02 07:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773814016001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305226416440475648,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1465218020665915392,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:09] 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-06-02 07:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780366467000,"timestamp_ms":1780366467000,"timestamp_seconds":1780366467,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c5fb8"} 
[2026-06-02 07:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773814016001,"66":27745,"184":206,"81":20480,"24":61,"16":305226416440475648,"45":1465218020665915392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-06-02 07:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773814016001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:46:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 07:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305226416440475648,"km_value":305226416440475.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1465218020665915392,"description":"Unknown IO ID 45"} 
[2026-06-02 07:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773814016001,"power":27745,"unknown_184":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1465218020665915392}} 
[2026-06-02 07:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":89193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:46:09] local.INFO: GPS data processed {"connection_id":89193,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:46:09] local.INFO: Acknowledgment sent {"connection_id":89193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:46:13] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:13] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:13] local.INFO: IMEI packet received {"connection_id":89438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":89438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:46:16] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:16] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:16] local.INFO: IMEI packet received {"connection_id":89438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":89438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:46:17] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:17] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:46:17] local.INFO: IMEI packet received {"connection_id":89438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":89438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:46:18] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861d80c8012d7bf9c005e1d8580001010a23..."} 
[2026-06-02 07:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861d80c8012d7bf9c005e1d8580001010a23..."} 
[2026-06-02 07:46:18] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861d80c8012d7bf9c005e1d8580001010a23..."} 
[2026-06-02 07:46:18] local.INFO: Packet analysis {"connection_id":89438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:46:18] local.INFO: Extracted packet for processing {"connection_id":89438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:46:18] local.INFO: GPS Element Parsed {"raw_longitude":763099584,"raw_latitude":98687064,"longitude_deg":76.3099584,"latitude_deg":9.8687064,"altitude":1,"angle":266,"satellites":35,"speed":32,"hex_longitude":"2d7bf9c0","hex_latitude":"05e1d858","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773831936001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87735268345380864,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943304460291928064,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:18] 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-06-02 07:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366541000,"timestamp_ms":1780366541000,"timestamp_seconds":1780366541,"priority":1,"record_length":96,"hex_timestamp":"0000019e861d80c8"} 
[2026-06-02 07:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:46: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-06-02 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 07:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773831936001,"66":13135,"43":206,"85":15104,"24":32,"16":87735268345380864,"45":8943304460291928064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 07:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773831936001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:46:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 07:46:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87735268345380864,"km_value":87735268345380.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943304460291928064,"description":"Unknown IO ID 45"} 
[2026-06-02 07:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773831936001,"power":13135,"unknown_43":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8943304460291928064}} 
[2026-06-02 07:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":89438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:46:18] local.INFO: GPS data processed {"connection_id":89438,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:46:18] local.INFO: Acknowledgment sent {"connection_id":89438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:46:25] local.INFO: TCP Data received {"connection_id":89439,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:46:25] local.INFO: Processing buffer {"connection_id":89439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:46:25] local.INFO: IMEI packet received {"connection_id":89439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":89439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:46:27] local.INFO: TCP Data received {"connection_id":89439,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:46:27] local.INFO: Processing buffer {"connection_id":89439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:46:27] local.INFO: IMEI packet received {"connection_id":89439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":89439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:46:28] local.INFO: TCP Data received {"connection_id":89439,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c7728012d1435c006d889f80011014f2b..."} 
[2026-06-02 07:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c7728012d1435c006d889f80011014f2b..."} 
[2026-06-02 07:46:28] local.INFO: Processing buffer {"connection_id":89439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c7728012d1435c006d889f80011014f2b..."} 
[2026-06-02 07:46:28] local.INFO: Packet analysis {"connection_id":89439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:46:28] local.INFO: Extracted packet for processing {"connection_id":89439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756299200,"raw_latitude":114854392,"longitude_deg":75.62992,"latitude_deg":11.4854392,"altitude":17,"angle":335,"satellites":43,"speed":57,"hex_longitude":"2d1435c0","hex_latitude":"06d889f8","is_valid_coordinates":true} 
[2026-06-02 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773815552001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305226850232172544,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1460292208575522816,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:28] 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-06-02 07:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780366473000,"timestamp_ms":1780366473000,"timestamp_seconds":1780366473,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c7728"} 
[2026-06-02 07:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:46: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-06-02 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 07:46: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-06-02 07:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:46:28] 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-06-02 07:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773815552001,"66":27821,"184":206,"81":20480,"24":57,"16":305226850232172544,"45":1460292208575522816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-06-02 07:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773815552001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:46:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 07:46:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305226850232172544,"km_value":305226850232172.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1460292208575522816,"description":"Unknown IO ID 45"} 
[2026-06-02 07:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773815552001,"power":27821,"unknown_184":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1460292208575522816}} 
[2026-06-02 07:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":89439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:46:28] local.INFO: GPS data processed {"connection_id":89439,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:46:28] local.INFO: Acknowledgment sent {"connection_id":89439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:46:49] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861d8c80012d7befc005e1d9100000011625..."} 
[2026-06-02 07:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861d8c80012d7befc005e1d9100000011625..."} 
[2026-06-02 07:46:49] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861d8c80012d7befc005e1d9100000011625..."} 
[2026-06-02 07:46:49] local.INFO: Packet analysis {"connection_id":89438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:46:49] local.INFO: Extracted packet for processing {"connection_id":89438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:46:49] local.INFO: GPS Element Parsed {"raw_longitude":763097024,"raw_latitude":98687248,"longitude_deg":76.3097024,"latitude_deg":9.8687248,"altitude":0,"angle":278,"satellites":37,"speed":33,"hex_longitude":"2d7befc0","hex_latitude":"05e1d910","is_valid_coordinates":true} 
[2026-06-02 07:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773834496001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87735392899432448,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933382467362510848,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:49] 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-06-02 07:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780366544000,"timestamp_ms":1780366544000,"timestamp_seconds":1780366544,"priority":1,"record_length":96,"hex_timestamp":"0000019e861d8c80"} 
[2026-06-02 07:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:46:49] 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-06-02 07:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 07:46:49] 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-06-02 07:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773834496001,"66":12982,"43":206,"85":15104,"24":33,"16":87735392899432448,"45":8933382467362510848},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 07:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773834496001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:46:49] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 07:46:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87735392899432448,"km_value":87735392899432.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933382467362510848,"description":"Unknown IO ID 45"} 
[2026-06-02 07:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773834496001,"power":12982,"unknown_43":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8933382467362510848}} 
[2026-06-02 07:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":89438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:46:49] local.INFO: GPS data processed {"connection_id":89438,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:46:49] local.INFO: Acknowledgment sent {"connection_id":89438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:46:59] local.INFO: TCP Data received {"connection_id":89439,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861c9280012d14278006d8a9f00012014f2a..."} 
[2026-06-02 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861c9280012d14278006d8a9f00012014f2a..."} 
[2026-06-02 07:46:59] local.INFO: Processing buffer {"connection_id":89439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861c9280012d14278006d8a9f00012014f2a..."} 
[2026-06-02 07:46:59] local.INFO: Packet analysis {"connection_id":89439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:46:59] local.INFO: Extracted packet for processing {"connection_id":89439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861c"} 
[2026-06-02 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756295552,"raw_latitude":114862576,"longitude_deg":75.6295552,"latitude_deg":11.4862576,"altitude":18,"angle":335,"satellites":42,"speed":35,"hex_longitude":"2d142780","hex_latitude":"06d8a9f0","is_valid_coordinates":true} 
[2026-06-02 07:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773817088001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305227279728902144,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1456281190159480832,"note":"Value kept but may cause issues"} 
[2026-06-02 07:46:59] 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-06-02 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780366480000,"timestamp_ms":1780366480000,"timestamp_seconds":1780366480,"priority":1,"record_length":96,"hex_timestamp":"0000019e861c9280"} 
[2026-06-02 07:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:46: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-06-02 07:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:46: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-06-02 07:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:46:59] 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-06-02 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773817088001,"66":27821,"184":206,"81":20480,"24":35,"16":305227279728902144,"45":1456281190159480832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-06-02 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773817088001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:46:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 07:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305227279728902144,"km_value":305227279728902.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1456281190159480832,"description":"Unknown IO ID 45"} 
[2026-06-02 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773817088001,"power":27821,"unknown_184":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1456281190159480832}} 
[2026-06-02 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":89439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:46:59] local.INFO: GPS data processed {"connection_id":89439,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:46:59] local.INFO: Acknowledgment sent {"connection_id":89439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:47:17] local.INFO: TCP Data received {"connection_id":89194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:47:17] local.INFO: Processing buffer {"connection_id":89194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:47:17] local.INFO: IMEI packet received {"connection_id":89194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":89194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:47:23] local.INFO: TCP Data received {"connection_id":89194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:47:23] local.INFO: Processing buffer {"connection_id":89194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:47:23] local.INFO: IMEI packet received {"connection_id":89194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":89194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:47:23] local.INFO: TCP Data received {"connection_id":89194,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861db778012d7bd30005e1dd800000010423..."} 
[2026-06-02 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861db778012d7bd30005e1dd800000010423..."} 
[2026-06-02 07:47:23] local.INFO: Processing buffer {"connection_id":89194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861db778012d7bd30005e1dd800000010423..."} 
[2026-06-02 07:47:23] local.INFO: Packet analysis {"connection_id":89194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:47:23] local.INFO: Extracted packet for processing {"connection_id":89194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763089664,"raw_latitude":98688384,"longitude_deg":76.3089664,"latitude_deg":9.8688384,"altitude":0,"angle":260,"satellites":35,"speed":18,"hex_longitude":"2d7bd300","hex_latitude":"05e1dd80","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773835264001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87735745086750720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930567717595451392,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:23] 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-06-02 07:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780366555000,"timestamp_ms":1780366555000,"timestamp_seconds":1780366555,"priority":1,"record_length":96,"hex_timestamp":"0000019e861db778"} 
[2026-06-02 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-06-02 07:47: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-06-02 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 07:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 07:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773835264001,"66":13363,"43":206,"85":15104,"24":18,"16":87735745086750720,"45":8930567717595451392},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 07:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773835264001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:47:23] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 07:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87735745086750720,"km_value":87735745086750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930567717595451392,"description":"Unknown IO ID 45"} 
[2026-06-02 07:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773835264001,"power":13363,"unknown_43":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8930567717595451392}} 
[2026-06-02 07:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":89194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:47:24] local.INFO: GPS data processed {"connection_id":89194,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:47:24] local.INFO: Acknowledgment sent {"connection_id":89194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:47:24] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:24] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:24] local.INFO: IMEI packet received {"connection_id":89603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":89603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:47:24] local.INFO: TCP Data received {"connection_id":89194,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861dbb60012d7bd14005e1dce8000000f624..."} 
[2026-06-02 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861dbb60012d7bd14005e1dce8000000f624..."} 
[2026-06-02 07:47:24] local.INFO: Processing buffer {"connection_id":89194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861dbb60012d7bd14005e1dce8000000f624..."} 
[2026-06-02 07:47:24] local.INFO: Packet analysis {"connection_id":89194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:47:24] local.INFO: Extracted packet for processing {"connection_id":89194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861d"} 
[2026-06-02 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763089216,"raw_latitude":98688232,"longitude_deg":76.3089216,"latitude_deg":9.8688232,"altitude":0,"angle":246,"satellites":36,"speed":18,"hex_longitude":"2d7bd140","hex_latitude":"05e1dce8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773838080001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87735770856554496,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922475312015310848,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:24] 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-06-02 07:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780366556000,"timestamp_ms":1780366556000,"timestamp_seconds":1780366556,"priority":1,"record_length":96,"hex_timestamp":"0000019e861dbb60"} 
[2026-06-02 07:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 07:47:24] 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-06-02 07: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-06-02 07:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773838080001,"66":13363,"43":206,"85":15104,"24":18,"16":87735770856554496,"45":8922475312015310848},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 07:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773838080001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:47:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 07:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87735770856554496,"km_value":87735770856554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922475312015310848,"description":"Unknown IO ID 45"} 
[2026-06-02 07:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773838080001,"power":13363,"unknown_43":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8922475312015310848}} 
[2026-06-02 07:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":89194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:47:24] local.INFO: GPS data processed {"connection_id":89194,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:47:24] local.INFO: Acknowledgment sent {"connection_id":89194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:47:24] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:24] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:24] local.INFO: IMEI packet received {"connection_id":89603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":89603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:47:30] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:30] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:47:30] local.INFO: IMEI packet received {"connection_id":89603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":89603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:47:31] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861e20f0012d13ca4006da3e38000e01642b..."} 
[2026-06-02 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861e20f0012d13ca4006da3e38000e01642b..."} 
[2026-06-02 07:47:31] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861e20f0012d13ca4006da3e38000e01642b..."} 
[2026-06-02 07:47:31] local.INFO: Packet analysis {"connection_id":89603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861e"} 
[2026-06-02 07:47:31] local.INFO: Extracted packet for processing {"connection_id":89603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861e"} 
[2026-06-02 07:47:31] local.INFO: GPS Element Parsed {"raw_longitude":756271680,"raw_latitude":114966072,"longitude_deg":75.627168,"latitude_deg":11.4966072,"altitude":14,"angle":356,"satellites":43,"speed":59,"hex_longitude":"2d13ca40","hex_latitude":"06da3e38","is_valid_coordinates":true} 
[2026-06-02 07:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773843200001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305232575423578112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426163367677403136,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:31] 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-06-02 07:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780366582000,"timestamp_ms":1780366582000,"timestamp_seconds":1780366582,"priority":1,"record_length":96,"hex_timestamp":"0000019e861e20f0"} 
[2026-06-02 07:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:47: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-06-02 07:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:47: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-06-02 07:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773843200001,"66":27767,"151":206,"81":20480,"24":59,"16":305232575423578112,"45":1426163367677403136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-06-02 07:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773843200001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:47:31] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-06-02 07:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305232575423578112,"km_value":305232575423578.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426163367677403136,"description":"Unknown IO ID 45"} 
[2026-06-02 07:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773843200001,"power":27767,"unknown_151":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1426163367677403136}} 
[2026-06-02 07:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":89603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:47:31] local.INFO: GPS data processed {"connection_id":89603,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:47:31] local.INFO: Acknowledgment sent {"connection_id":89603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:47:55] local.INFO: TCP Data received {"connection_id":89194,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861f74c8012d7b43c005e1ae08000f00fb21..."} 
[2026-06-02 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861f74c8012d7b43c005e1ae08000f00fb21..."} 
[2026-06-02 07:47:55] local.INFO: Processing buffer {"connection_id":89194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861f74c8012d7b43c005e1ae08000f00fb21..."} 
[2026-06-02 07:47:55] local.INFO: Packet analysis {"connection_id":89194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:47:55] local.INFO: Extracted packet for processing {"connection_id":89194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98676232,"longitude_deg":76.3052992,"latitude_deg":9.8676232,"altitude":15,"angle":251,"satellites":33,"speed":3,"hex_longitude":"2d7b43c0","hex_latitude":"05e1ae08","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773863424001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87737660642164736,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815272736768,"note":"Value kept but may cause issues"} 
[2026-06-02 07:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780366669000,"timestamp_ms":1780366669000,"timestamp_seconds":1780366669,"priority":1,"record_length":96,"hex_timestamp":"0000019e861f74c8"} 
[2026-06-02 07:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 07:47:55] 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-06-02 07: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-06-02 07:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":89194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":89194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":89194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773863424001,"66":13189,"169":206,"85":15104,"24":3,"16":87737660642164736,"45":8883068815272736768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 07:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773863424001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:47:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 07:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87737660642164736,"km_value":87737660642164.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815272736768,"description":"Unknown IO ID 45"} 
[2026-06-02 07:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773863424001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8883068815272736768}} 
[2026-06-02 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":89194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:47:55] local.INFO: GPS data processed {"connection_id":89194,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:47:55] local.INFO: Acknowledgment sent {"connection_id":89194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:48:02] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861e3860012d13c58006da60f0000c01582a..."} 
[2026-06-02 07:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861e3860012d13c58006da60f0000c01582a..."} 
[2026-06-02 07:48:02] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861e3860012d13c58006da60f0000c01582a..."} 
[2026-06-02 07:48:02] local.INFO: Packet analysis {"connection_id":89603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861e"} 
[2026-06-02 07:48:02] local.INFO: Extracted packet for processing {"connection_id":89603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861e"} 
[2026-06-02 07:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756270464,"raw_latitude":114974960,"longitude_deg":75.6270464,"latitude_deg":11.497496,"altitude":12,"angle":344,"satellites":42,"speed":61,"hex_longitude":"2d13c580","hex_latitude":"06da60f0","is_valid_coordinates":true} 
[2026-06-02 07:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773844992001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305233009215275008,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426022630191675392,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:02] 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-06-02 07:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780366588000,"timestamp_ms":1780366588000,"timestamp_seconds":1780366588,"priority":1,"record_length":96,"hex_timestamp":"0000019e861e3860"} 
[2026-06-02 07:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 07:48: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-06-02 07:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:48:02] 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-06-02 07:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773844992001,"66":27658,"151":206,"81":20480,"24":61,"16":305233009215275008,"45":1426022630191675392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-06-02 07:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773844992001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:48:02] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-06-02 07:48:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305233009215275008,"km_value":305233009215275.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426022630191675392,"description":"Unknown IO ID 45"} 
[2026-06-02 07:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773844992001,"power":27658,"unknown_151":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1426022630191675392}} 
[2026-06-02 07:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":89603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:48:02] local.INFO: GPS data processed {"connection_id":89603,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:48:02] local.INFO: Acknowledgment sent {"connection_id":89603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:48:13] local.INFO: TCP Data received {"connection_id":90665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:48:13] local.INFO: Processing buffer {"connection_id":90665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:48:13] local.INFO: IMEI packet received {"connection_id":90665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":90665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:48:18] local.INFO: TCP Data received {"connection_id":90665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:48:18] local.INFO: Processing buffer {"connection_id":90665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:48:18] local.INFO: IMEI packet received {"connection_id":90665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":90665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:48:19] local.INFO: TCP Data received {"connection_id":90665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861f8080012d7b418005e1adb0000f010a21..."} 
[2026-06-02 07:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861f8080012d7b418005e1adb0000f010a21..."} 
[2026-06-02 07:48:19] local.INFO: Processing buffer {"connection_id":90665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861f8080012d7b418005e1adb0000f010a21..."} 
[2026-06-02 07:48:19] local.INFO: Packet analysis {"connection_id":90665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:48:19] local.INFO: Extracted packet for processing {"connection_id":90665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:48:19] local.INFO: GPS Element Parsed {"raw_longitude":763052416,"raw_latitude":98676144,"longitude_deg":76.3052416,"latitude_deg":9.8676144,"altitude":15,"angle":266,"satellites":33,"speed":8,"hex_longitude":"2d7b4180","hex_latitude":"05e1adb0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773867264001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87737686411968512,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021598398464,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780366672000,"timestamp_ms":1780366672000,"timestamp_seconds":1780366672,"priority":1,"record_length":96,"hex_timestamp":"0000019e861f8080"} 
[2026-06-02 07:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 07:48:19] 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-06-02 07: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-06-02 07:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773867264001,"66":11917,"169":206,"85":15104,"24":8,"16":87737686411968512,"45":8882154021598398464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 07:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773867264001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:48:19] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 07:48:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87737686411968512,"km_value":87737686411968.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021598398464,"description":"Unknown IO ID 45"} 
[2026-06-02 07:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773867264001,"power":11917,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8882154021598398464}} 
[2026-06-02 07:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":90665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:48:19] local.INFO: GPS data processed {"connection_id":90665,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:48:19] local.INFO: Acknowledgment sent {"connection_id":90665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:48:19] local.INFO: TCP Data received {"connection_id":89604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:48:19] local.INFO: Processing buffer {"connection_id":89604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:48:19] local.INFO: IMEI packet received {"connection_id":89604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":89604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:48:20] local.INFO: TCP Data received {"connection_id":90665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861f8468012d7b40c005e1add8000f012022..."} 
[2026-06-02 07:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861f8468012d7b40c005e1add8000f012022..."} 
[2026-06-02 07:48:20] local.INFO: Processing buffer {"connection_id":90665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861f8468012d7b40c005e1add8000f012022..."} 
[2026-06-02 07:48:20] local.INFO: Packet analysis {"connection_id":90665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:48:20] local.INFO: Extracted packet for processing {"connection_id":90665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763052224,"raw_latitude":98676184,"longitude_deg":76.3052224,"latitude_deg":9.8676184,"altitude":15,"angle":288,"satellites":34,"speed":7,"hex_longitude":"2d7b40c0","hex_latitude":"05e1add8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773868032001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87737695001903104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881520702900776960,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780366673000,"timestamp_ms":1780366673000,"timestamp_seconds":1780366673,"priority":1,"record_length":96,"hex_timestamp":"0000019e861f8468"} 
[2026-06-02 07:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 07:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773868032001,"66":12798,"169":206,"85":15104,"24":7,"16":87737695001903104,"45":8881520702900776960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 07:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773868032001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:48:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 07:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87737695001903104,"km_value":87737695001903.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881520702900776960,"description":"Unknown IO ID 45"} 
[2026-06-02 07:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773868032001,"power":12798,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8881520702900776960}} 
[2026-06-02 07:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":90665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:48:20] local.INFO: GPS data processed {"connection_id":90665,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:48:20] local.INFO: Acknowledgment sent {"connection_id":90665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:48:24] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:48:25] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:48:25] local.INFO: IMEI packet received {"connection_id":89440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":89440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:48:30] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:48:30] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:48:30] local.INFO: IMEI packet received {"connection_id":89440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":89440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:48:31] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861e3860012d13c58006da60f0000c01582a..."} 
[2026-06-02 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861e3860012d13c58006da60f0000c01582a..."} 
[2026-06-02 07:48:31] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861e3860012d13c58006da60f0000c01582a..."} 
[2026-06-02 07:48:31] local.INFO: Packet analysis {"connection_id":89440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861e"} 
[2026-06-02 07:48:31] local.INFO: Extracted packet for processing {"connection_id":89440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861e"} 
[2026-06-02 07:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756270464,"raw_latitude":114974960,"longitude_deg":75.6270464,"latitude_deg":11.497496,"altitude":12,"angle":344,"satellites":42,"speed":61,"hex_longitude":"2d13c580","hex_latitude":"06da60f0","is_valid_coordinates":true} 
[2026-06-02 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773846528001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305233009215275008,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424685624054575104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:31] 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-06-02 07:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780366588000,"timestamp_ms":1780366588000,"timestamp_seconds":1780366588,"priority":1,"record_length":96,"hex_timestamp":"0000019e861e3860"} 
[2026-06-02 07:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:48: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-06-02 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 07:48:31] 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-06-02 07:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773846528001,"66":27658,"151":206,"81":20480,"24":61,"16":305233009215275008,"45":1424685624054575104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-06-02 07:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773846528001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:48:31] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-06-02 07:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305233009215275008,"km_value":305233009215275.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424685624054575104,"description":"Unknown IO ID 45"} 
[2026-06-02 07:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773846528001,"power":27658,"unknown_151":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1424685624054575104}} 
[2026-06-02 07:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":89440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:48:31] local.INFO: GPS data processed {"connection_id":89440,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:48:31] local.INFO: Acknowledgment sent {"connection_id":89440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:48:51] local.INFO: TCP Data received {"connection_id":90665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861f9408012d7b3ec005e1ae98000e013720..."} 
[2026-06-02 07:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861f9408012d7b3ec005e1ae98000e013720..."} 
[2026-06-02 07:48:51] local.INFO: Processing buffer {"connection_id":90665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861f9408012d7b3ec005e1ae98000e013720..."} 
[2026-06-02 07:48:51] local.INFO: Packet analysis {"connection_id":90665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:48:51] local.INFO: Extracted packet for processing {"connection_id":90665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98676376,"longitude_deg":76.3051712,"latitude_deg":9.8676376,"altitude":14,"angle":311,"satellites":32,"speed":3,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1ae98","is_valid_coordinates":true} 
[2026-06-02 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-06-02 07:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773868288001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87737725066674176,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596668254208,"note":"Value kept but may cause issues"} 
[2026-06-02 07:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780366677000,"timestamp_ms":1780366677000,"timestamp_seconds":1780366677,"priority":1,"record_length":96,"hex_timestamp":"0000019e861f9408"} 
[2026-06-02 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-06-02 07: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-06-02 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 07:48: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-06-02 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-06-02 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-06-02 07:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":90665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":90665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":90665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773868288001,"66":13243,"169":206,"85":15104,"24":3,"16":87737725066674176,"45":8881309596668254208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 07:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773868288001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:48:51] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 07:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87737725066674176,"km_value":87737725066674.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596668254208,"description":"Unknown IO ID 45"} 
[2026-06-02 07:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773868288001,"power":13243,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8881309596668254208}} 
[2026-06-02 07:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":90665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:48:51] local.INFO: GPS data processed {"connection_id":90665,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:48:51] local.INFO: Acknowledgment sent {"connection_id":90665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:49:02] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861fbf00012d13440006dc1f78000a01502b..."} 
[2026-06-02 07:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861fbf00012d13440006dc1f78000a01502b..."} 
[2026-06-02 07:49:02] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861fbf00012d13440006dc1f78000a01502b..."} 
[2026-06-02 07:49:02] local.INFO: Packet analysis {"connection_id":89440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:02] local.INFO: Extracted packet for processing {"connection_id":89440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:02] local.INFO: GPS Element Parsed {"raw_longitude":756237312,"raw_latitude":115089272,"longitude_deg":75.6237312,"latitude_deg":11.5089272,"altitude":10,"angle":336,"satellites":43,"speed":61,"hex_longitude":"2d134400","hex_latitude":"06dc1f78","is_valid_coordinates":true} 
[2026-06-02 07:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773870336001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305238824600993792,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1392808582968913920,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:02] 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-06-02 07:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780366688000,"timestamp_ms":1780366688000,"timestamp_seconds":1780366688,"priority":1,"record_length":96,"hex_timestamp":"0000019e861fbf00"} 
[2026-06-02 07:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 07:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:49:02] 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-06-02 07:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773870336001,"66":27658,"65":206,"81":20480,"24":61,"16":305238824600993792,"45":1392808582968913920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-06-02 07:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773870336001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:49:02] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-02 07:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305238824600993792,"km_value":305238824600993.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1392808582968913920,"description":"Unknown IO ID 45"} 
[2026-06-02 07:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773870336001,"power":27658,"unknown_65":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1392808582968913920}} 
[2026-06-02 07:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":89440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:49:02] local.INFO: GPS data processed {"connection_id":89440,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:49:02] local.INFO: Acknowledgment sent {"connection_id":89440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:49:03] local.INFO: TCP Data received {"connection_id":89605,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:49:03] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:49:03] local.INFO: IMEI packet received {"connection_id":89605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":89605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:49:13] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:49:13] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:49:13] local.INFO: IMEI packet received {"connection_id":89606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":89606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:49:18] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:49:18] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:49:18] local.INFO: IMEI packet received {"connection_id":89606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":89606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:49:19] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861f9bd8012d7b3d8005e1af90000e014421..."} 
[2026-06-02 07:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861f9bd8012d7b3d8005e1af90000e014421..."} 
[2026-06-02 07:49:19] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861f9bd8012d7b3d8005e1af90000e014421..."} 
[2026-06-02 07:49:19] local.INFO: Packet analysis {"connection_id":89606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:19] local.INFO: Extracted packet for processing {"connection_id":89606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763051392,"raw_latitude":98676624,"longitude_deg":76.3051392,"latitude_deg":9.8676624,"altitude":14,"angle":324,"satellites":33,"speed":7,"hex_longitude":"2d7b3d80","hex_latitude":"05e1af90","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773869312001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87737742246543360,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646714882048,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780366679000,"timestamp_ms":1780366679000,"timestamp_seconds":1780366679,"priority":1,"record_length":96,"hex_timestamp":"0000019e861f9bd8"} 
[2026-06-02 07:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 07:49:19] 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-06-02 07: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-06-02 07:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773869312001,"66":12917,"169":206,"85":15104,"24":7,"16":87737742246543360,"45":8880746646714882048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 07:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773869312001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:49:19] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 07:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87737742246543360,"km_value":87737742246543.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646714882048,"description":"Unknown IO ID 45"} 
[2026-06-02 07:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773869312001,"power":12917,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8880746646714882048}} 
[2026-06-02 07:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":89606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:49:19] local.INFO: GPS data processed {"connection_id":89606,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:49:19] local.INFO: Acknowledgment sent {"connection_id":89606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:49:24] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:49:24] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:49:24] local.INFO: IMEI packet received {"connection_id":89607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":89607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:49:30] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:49:30] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:49:30] local.INFO: IMEI packet received {"connection_id":89607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":89607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:49:32] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861fd670012d1337c006dc38e8000b01442e..."} 
[2026-06-02 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861fd670012d1337c006dc38e8000b01442e..."} 
[2026-06-02 07:49:32] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861fd670012d1337c006dc38e8000b01442e..."} 
[2026-06-02 07:49:32] local.INFO: Packet analysis {"connection_id":89607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:32] local.INFO: Extracted packet for processing {"connection_id":89607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756234176,"raw_latitude":115095784,"longitude_deg":75.6234176,"latitude_deg":11.5095784,"altitude":11,"angle":324,"satellites":46,"speed":33,"hex_longitude":"2d1337c0","hex_latitude":"06dc38e8","is_valid_coordinates":true} 
[2026-06-02 07:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773872128001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305239176788312064,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1388234614599809024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:32] 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-06-02 07:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780366694000,"timestamp_ms":1780366694000,"timestamp_seconds":1780366694,"priority":1,"record_length":96,"hex_timestamp":"0000019e861fd670"} 
[2026-06-02 07:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:49: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-06-02 07:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 07:49:32] 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-06-02 07:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:49:32] 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-06-02 07:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773872128001,"66":27821,"65":206,"81":20480,"24":33,"16":305239176788312064,"45":1388234614599809024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-06-02 07:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773872128001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:49:32] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-02 07:49:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305239176788312064,"km_value":305239176788312.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1388234614599809024,"description":"Unknown IO ID 45"} 
[2026-06-02 07:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773872128001,"power":27821,"unknown_65":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1388234614599809024}} 
[2026-06-02 07:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":89607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:49:32] local.INFO: GPS data processed {"connection_id":89607,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:49:32] local.INFO: Acknowledgment sent {"connection_id":89607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:49:50] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e861fa790012d7b3bc005e1b1e8000e015122..."} 
[2026-06-02 07:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861fa790012d7b3bc005e1b1e8000e015122..."} 
[2026-06-02 07:49:50] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861fa790012d7b3bc005e1b1e8000e015122..."} 
[2026-06-02 07:49:50] local.INFO: Packet analysis {"connection_id":89606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:50] local.INFO: Extracted packet for processing {"connection_id":89606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763050944,"raw_latitude":98677224,"longitude_deg":76.3050944,"latitude_deg":9.8677224,"altitude":14,"angle":337,"satellites":34,"speed":6,"hex_longitude":"2d7b3bc0","hex_latitude":"05e1b1e8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773869824001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87737780901249024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880394802994057216,"note":"Value kept but may cause issues"} 
[2026-06-02 07:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780366682000,"timestamp_ms":1780366682000,"timestamp_seconds":1780366682,"priority":1,"record_length":96,"hex_timestamp":"0000019e861fa790"} 
[2026-06-02 07:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:49: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-06-02 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 07:49:50] 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-06-02 07: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-06-02 07:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773869824001,"66":13102,"169":206,"85":15104,"24":6,"16":87737780901249024,"45":8880394802994057216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 07:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773869824001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87737780901249024,"km_value":87737780901249.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880394802994057216,"description":"Unknown IO ID 45"} 
[2026-06-02 07:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773869824001,"power":13102,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8880394802994057216}} 
[2026-06-02 07:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":89606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:49:50] local.INFO: GPS data processed {"connection_id":89606,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:49:50] local.INFO: Acknowledgment sent {"connection_id":89606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:50:03] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e861fede0012d13300006dc42b8000a01512d..."} 
[2026-06-02 07:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e861fede0012d13300006dc42b8000a01512d..."} 
[2026-06-02 07:50:03] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e861fede0012d13300006dc42b8000a01512d..."} 
[2026-06-02 07:50:03] local.INFO: Packet analysis {"connection_id":89607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:50:03] local.INFO: Extracted packet for processing {"connection_id":89607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e861f"} 
[2026-06-02 07:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756232192,"raw_latitude":115098296,"longitude_deg":75.6232192,"latitude_deg":11.5098296,"altitude":10,"angle":337,"satellites":45,"speed":19,"hex_longitude":"2d133000","hex_latitude":"06dc42b8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773873664001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305239331407134720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1384786546136770560,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:03] 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-06-02 07:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780366700000,"timestamp_ms":1780366700000,"timestamp_seconds":1780366700,"priority":1,"record_length":96,"hex_timestamp":"0000019e861fede0"} 
[2026-06-02 07:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:50: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-06-02 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:50:03] 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-06-02 07: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-06-02 07:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:50:03] 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-06-02 07:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773873664001,"66":27832,"65":206,"81":20480,"24":19,"16":305239331407134720,"45":1384786546136770560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-06-02 07:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773873664001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:50:03] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-02 07:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305239331407134720,"km_value":305239331407134.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1384786546136770560,"description":"Unknown IO ID 45"} 
[2026-06-02 07:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773873664001,"power":27832,"unknown_65":206,"unknown_81":20480,"ignition":19,"odometer":null,"unknown_45":1384786546136770560}} 
[2026-06-02 07:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":89607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:50:03] local.INFO: GPS data processed {"connection_id":89607,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:50:03] local.INFO: Acknowledgment sent {"connection_id":89607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:50:13] local.INFO: TCP Data received {"connection_id":89196,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:50:13] local.INFO: Processing buffer {"connection_id":89196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:50:13] local.INFO: IMEI packet received {"connection_id":89196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":89196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:50:18] local.INFO: TCP Data received {"connection_id":89196,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:50:18] local.INFO: Processing buffer {"connection_id":89196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:50:18] local.INFO: IMEI packet received {"connection_id":89196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":89196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:50:19] local.INFO: TCP Data received {"connection_id":89196,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86217868012d7b240005e26378000800001e..."} 
[2026-06-02 07:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86217868012d7b240005e26378000800001e..."} 
[2026-06-02 07:50:19] local.INFO: Processing buffer {"connection_id":89196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86217868012d7b240005e26378000800001e..."} 
[2026-06-02 07:50:19] local.INFO: Packet analysis {"connection_id":89196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:50:19] local.INFO: Extracted packet for processing {"connection_id":89196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:50:19] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":98722680,"longitude_deg":76.3044864,"latitude_deg":9.872268,"altitude":8,"angle":0,"satellites":30,"speed":29,"hex_longitude":"2d7b2400","hex_latitude":"05e26378","is_valid_coordinates":true} 
[2026-06-02 07:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773901056001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87740027169144832,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191099725824,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780366801000,"timestamp_ms":1780366801000,"timestamp_seconds":1780366801,"priority":1,"record_length":96,"hex_timestamp":"0000019e86217868"} 
[2026-06-02 07:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:50: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-06-02 07:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 07:50:19] 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-06-02 07:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773901056001,"66":13124,"96":206,"85":15104,"24":29,"16":87740027169144832,"45":8873217191099725824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 07:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773901056001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:50:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 07:50:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87740027169144832,"km_value":87740027169144.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191099725824,"description":"Unknown IO ID 45"} 
[2026-06-02 07:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773901056001,"power":13124,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8873217191099725824}} 
[2026-06-02 07:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":89196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:50:19] local.INFO: GPS data processed {"connection_id":89196,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:50:19] local.INFO: Acknowledgment sent {"connection_id":89196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:50:30] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:30] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:30] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:50:30] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:30] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:30] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:50:35] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:35] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:50:35] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:50:35] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862020a8012d13200006dc6408000b014b2b..."} 
[2026-06-02 07:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862020a8012d13200006dc6408000b014b2b..."} 
[2026-06-02 07:50:35] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862020a8012d13200006dc6408000b014b2b..."} 
[2026-06-02 07:50:35] local.INFO: Packet analysis {"connection_id":89441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:50:35] local.INFO: Extracted packet for processing {"connection_id":89441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756228096,"raw_latitude":115106824,"longitude_deg":75.6228096,"latitude_deg":11.5106824,"altitude":11,"angle":331,"satellites":43,"speed":35,"hex_longitude":"2d132000","hex_latitude":"06dc6408","is_valid_coordinates":true} 
[2026-06-02 07:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773875200001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305239786673668096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1382605115067906048,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:35] 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-06-02 07:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780366713000,"timestamp_ms":1780366713000,"timestamp_seconds":1780366713,"priority":1,"record_length":96,"hex_timestamp":"0000019e862020a8"} 
[2026-06-02 07:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 07:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773875200001,"66":27821,"65":206,"81":20480,"24":35,"16":305239786673668096,"45":1382605115067906048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-06-02 07:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773875200001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:50:35] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-02 07:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305239786673668096,"km_value":305239786673668.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1382605115067906048,"description":"Unknown IO ID 45"} 
[2026-06-02 07:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773875200001,"power":27821,"unknown_65":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1382605115067906048}} 
[2026-06-02 07:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":89441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:50:35] local.INFO: GPS data processed {"connection_id":89441,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:50:35] local.INFO: Acknowledgment sent {"connection_id":89441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:50:40] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862047b8012d130d0006dc82c0000a01472d..."} 
[2026-06-02 07:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862047b8012d130d0006dc82c0000a01472d..."} 
[2026-06-02 07:50:40] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862047b8012d130d0006dc82c0000a01472d..."} 
[2026-06-02 07:50:40] local.INFO: Packet analysis {"connection_id":89441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:50:40] local.INFO: Extracted packet for processing {"connection_id":89441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756223232,"raw_latitude":115114688,"longitude_deg":75.6223232,"latitude_deg":11.5114688,"altitude":10,"angle":327,"satellites":45,"speed":34,"hex_longitude":"2d130d00","hex_latitude":"06dc82c0","is_valid_coordinates":true} 
[2026-06-02 07:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773878528001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305240233350266880,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1378101515442718720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:40] 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-06-02 07:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780366723000,"timestamp_ms":1780366723000,"timestamp_seconds":1780366723,"priority":1,"record_length":96,"hex_timestamp":"0000019e862047b8"} 
[2026-06-02 07:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773878528001,"66":206,"81":20480,"24":34,"16":305240233350266880,"45":1378101515442718720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773878528001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305240233350266880,"km_value":305240233350266.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1378101515442718720,"description":"Unknown IO ID 45"} 
[2026-06-02 07:50:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773878528001,"power":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1378101515442718720}} 
[2026-06-02 07:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":89441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:50:40] local.INFO: GPS data processed {"connection_id":89441,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:50:40] local.INFO: Acknowledgment sent {"connection_id":89441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:50:53] local.INFO: TCP Data received {"connection_id":89196,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86218bf0012d7b220005e275580009015d1b..."} 
[2026-06-02 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86218bf0012d7b220005e275580009015d1b..."} 
[2026-06-02 07:50:53] local.INFO: Processing buffer {"connection_id":89196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86218bf0012d7b220005e275580009015d1b..."} 
[2026-06-02 07:50:53] local.INFO: Packet analysis {"connection_id":89196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:50:53] local.INFO: Extracted packet for processing {"connection_id":89196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:50:53] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98727256,"longitude_deg":76.3044352,"latitude_deg":9.8727256,"altitude":9,"angle":349,"satellites":27,"speed":40,"hex_longitude":"2d7b2200","hex_latitude":"05e27558","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773901056001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87740250507444224,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191099725824,"note":"Value kept but may cause issues"} 
[2026-06-02 07:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1780366806000,"timestamp_ms":1780366806000,"timestamp_seconds":1780366806,"priority":1,"record_length":96,"hex_timestamp":"0000019e86218bf0"} 
[2026-06-02 07:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 07:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":89196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":89196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":89196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773901056001,"66":13254,"96":206,"85":15104,"24":40,"16":87740250507444224,"45":8873217191099725824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 07:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773901056001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:50:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 07:50:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87740250507444224,"km_value":87740250507444.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191099725824,"description":"Unknown IO ID 45"} 
[2026-06-02 07:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773901056001,"power":13254,"unknown_96":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8873217191099725824}} 
[2026-06-02 07:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":89196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:50:53] local.INFO: GPS data processed {"connection_id":89196,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:50:53] local.INFO: Acknowledgment sent {"connection_id":89196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:51:13] local.INFO: TCP Data received {"connection_id":89442,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:13] local.INFO: Processing buffer {"connection_id":89442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:13] local.INFO: IMEI packet received {"connection_id":89442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":89442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:51:13] local.INFO: TCP Data received {"connection_id":89442,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:13] local.INFO: Processing buffer {"connection_id":89442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:13] local.INFO: IMEI packet received {"connection_id":89442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":89442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:51:18] local.INFO: TCP Data received {"connection_id":89442,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:18] local.INFO: Processing buffer {"connection_id":89442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:51:18] local.INFO: IMEI packet received {"connection_id":89442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":89442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:51:19] local.INFO: TCP Data received {"connection_id":89442,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8621b300012d7b1d0005e299d0000901611a..."} 
[2026-06-02 07:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8621b300012d7b1d0005e299d0000901611a..."} 
[2026-06-02 07:51:19] local.INFO: Processing buffer {"connection_id":89442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8621b300012d7b1d0005e299d0000901611a..."} 
[2026-06-02 07:51:19] local.INFO: Packet analysis {"connection_id":89442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:51:19] local.INFO: Extracted packet for processing {"connection_id":89442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763043072,"raw_latitude":98736592,"longitude_deg":76.3043072,"latitude_deg":9.8736592,"altitude":9,"angle":353,"satellites":26,"speed":37,"hex_longitude":"2d7b1d00","hex_latitude":"05e299d0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773902336001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87740710068944896,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241147475968,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780366816000,"timestamp_ms":1780366816000,"timestamp_seconds":1780366816,"priority":1,"record_length":96,"hex_timestamp":"0000019e8621b300"} 
[2026-06-02 07:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 07:51: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-06-02 07: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-06-02 07:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773902336001,"66":13319,"96":206,"85":15104,"24":37,"16":87740710068944896,"45":8872654241147475968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 07:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773902336001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:51:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 07:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87740710068944896,"km_value":87740710068944.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241147475968,"description":"Unknown IO ID 45"} 
[2026-06-02 07:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773902336001,"power":13319,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8872654241147475968}} 
[2026-06-02 07:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":89442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:51:19] local.INFO: GPS data processed {"connection_id":89442,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:51:19] local.INFO: Acknowledgment sent {"connection_id":89442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:51:25] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:51:25] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:51:25] local.INFO: IMEI packet received {"connection_id":89608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":89608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:51:30] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:51:30] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:51:30] local.INFO: IMEI packet received {"connection_id":89608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":89608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:51:31] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862072b0012d12f94006dca0c0000a014829..."} 
[2026-06-02 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862072b0012d12f94006dca0c0000a014829..."} 
[2026-06-02 07:51:31] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862072b0012d12f94006dca0c0000a014829..."} 
[2026-06-02 07:51:31] local.INFO: Packet analysis {"connection_id":89608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:51:31] local.INFO: Extracted packet for processing {"connection_id":89608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756218176,"raw_latitude":115122368,"longitude_deg":75.6218176,"latitude_deg":11.5122368,"altitude":10,"angle":328,"satellites":41,"speed":35,"hex_longitude":"2d12f940","hex_latitude":"06dca0c0","is_valid_coordinates":true} 
[2026-06-02 07:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773881088001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305240675731898368,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1372753490887229440,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:31] 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-06-02 07:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780366734000,"timestamp_ms":1780366734000,"timestamp_seconds":1780366734,"priority":1,"record_length":96,"hex_timestamp":"0000019e862072b0"} 
[2026-06-02 07:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:51: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-06-02 07:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 07:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773881088001,"66":206,"81":20480,"24":35,"16":305240675731898368,"45":1372753490887229440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-06-02 07:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773881088001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305240675731898368,"km_value":305240675731898.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1372753490887229440,"description":"Unknown IO ID 45"} 
[2026-06-02 07:51:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455773881088001,"power":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1372753490887229440}} 
[2026-06-02 07:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":89608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:51:31] local.INFO: GPS data processed {"connection_id":89608,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:51:31] local.INFO: Acknowledgment sent {"connection_id":89608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:51:50] local.INFO: TCP Data received {"connection_id":89442,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8621da10012d7b180005e2be700007016217..."} 
[2026-06-02 07:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8621da10012d7b180005e2be700007016217..."} 
[2026-06-02 07:51:50] local.INFO: Processing buffer {"connection_id":89442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8621da10012d7b180005e2be700007016217..."} 
[2026-06-02 07:51:50] local.INFO: Packet analysis {"connection_id":89442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:51:50] local.INFO: Extracted packet for processing {"connection_id":89442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:51:50] local.INFO: GPS Element Parsed {"raw_longitude":763041792,"raw_latitude":98745968,"longitude_deg":76.3041792,"latitude_deg":9.8745968,"altitude":7,"angle":354,"satellites":23,"speed":38,"hex_longitude":"2d7b1800","hex_latitude":"05e2be70","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773904896001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87741165335478272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871246866266312704,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780366826000,"timestamp_ms":1780366826000,"timestamp_seconds":1780366826,"priority":1,"record_length":96,"hex_timestamp":"0000019e8621da10"} 
[2026-06-02 07:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:51: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-06-02 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2250283456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3221611037,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":226,"raw_value":243194418554805760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252839,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3058302976,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792304128,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.WARNING: Large IO value detected {"io_id":32,"raw_value":7701156657655447557,"note":"Value kept but may cause issues"} 
[2026-06-02 07:51:50] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,85,24,241,157,16,183,158,139,45,117,9,27,10,66,120,99,8,30,1,240,68,227,134,226,4,113,205,17,231,144,34,239,50,169,2,55,5,7,35,32],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-02 07:51:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648906585617530880,"timestamp_seconds":648906585617530.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773904896001,"66":12950,"96":206,"85":15104,"24":38,"16":87741165335478272,"45":8871246866266312704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 07:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773904896001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:51:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 07:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87741165335478272,"km_value":87741165335478.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871246866266312704,"description":"Unknown IO ID 45"} 
[2026-06-02 07:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773904896001,"power":12950,"unknown_96":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8871246866266312704}} 
[2026-06-02 07:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":89442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:51:50] local.INFO: GPS data processed {"connection_id":89442,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:51:50] local.INFO: Acknowledgment sent {"connection_id":89442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:52:13] local.INFO: TCP Data received {"connection_id":89198,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:13] local.INFO: Processing buffer {"connection_id":89198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:13] local.INFO: IMEI packet received {"connection_id":89198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":89198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:52:14] local.INFO: TCP Data received {"connection_id":89198,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:14] local.INFO: Processing buffer {"connection_id":89198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:14] local.INFO: IMEI packet received {"connection_id":89198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":89198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:52:18] local.INFO: TCP Data received {"connection_id":89198,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:18] local.INFO: Processing buffer {"connection_id":89198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:52:18] local.INFO: IMEI packet received {"connection_id":89198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":89198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:52:18] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862099c0012d12e4c006dcbf30000a01462a..."} 
[2026-06-02 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862099c0012d12e4c006dcbf30000a01462a..."} 
[2026-06-02 07:52:18] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862099c0012d12e4c006dcbf30000a01462a..."} 
[2026-06-02 07:52:18] local.INFO: Packet analysis {"connection_id":89608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:52:18] local.INFO: Extracted packet for processing {"connection_id":89608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8620"} 
[2026-06-02 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756212928,"raw_latitude":115130160,"longitude_deg":75.6212928,"latitude_deg":11.513016,"altitude":10,"angle":326,"satellites":42,"speed":36,"hex_longitude":"2d12e4c0","hex_latitude":"06dcbf30","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773883904001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305241130998431744,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367194360099160064,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:18] 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-06-02 07:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780366744000,"timestamp_ms":1780366744000,"timestamp_seconds":1780366744,"priority":1,"record_length":96,"hex_timestamp":"0000019e862099c0"} 
[2026-06-02 07:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 07:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:52:18] 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-06-02 07:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773883904001,"66":27908,"67":206,"81":20480,"24":36,"16":305241130998431744,"45":1367194360099160064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-06-02 07:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773883904001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:52:18] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-02 07:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305241130998431744,"km_value":305241130998431.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367194360099160064,"description":"Unknown IO ID 45"} 
[2026-06-02 07:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773883904001,"power":27908,"unknown_67":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1367194360099160064}} 
[2026-06-02 07:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":89608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:52:18] local.INFO: GPS data processed {"connection_id":89608,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:52:18] local.INFO: Acknowledgment sent {"connection_id":89608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:52:19] local.INFO: TCP Data received {"connection_id":89198,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8621fd38012d7b13c005e2e1580006016417..."} 
[2026-06-02 07:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8621fd38012d7b13c005e2e1580006016417..."} 
[2026-06-02 07:52:19] local.INFO: Processing buffer {"connection_id":89198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8621fd38012d7b13c005e2e1580006016417..."} 
[2026-06-02 07:52:19] local.INFO: Packet analysis {"connection_id":89198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:52:19] local.INFO: Extracted packet for processing {"connection_id":89198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8621"} 
[2026-06-02 07:52:19] local.INFO: GPS Element Parsed {"raw_longitude":763040704,"raw_latitude":98754904,"longitude_deg":76.3040704,"latitude_deg":9.8754904,"altitude":6,"angle":356,"satellites":23,"speed":45,"hex_longitude":"2d7b13c0","hex_latitude":"05e2e158","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773907456001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87741603422142464,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869839491385159680,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780366835000,"timestamp_ms":1780366835000,"timestamp_seconds":1780366835,"priority":1,"record_length":96,"hex_timestamp":"0000019e8621fd38"} 
[2026-06-02 07:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:52: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-06-02 07: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 07:52:19] 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-06-02 07: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-06-02 07:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773907456001,"66":13298,"96":206,"85":15104,"24":45,"16":87741603422142464,"45":8869839491385159680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 07:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773907456001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87741603422142464,"km_value":87741603422142.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869839491385159680,"description":"Unknown IO ID 45"} 
[2026-06-02 07:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773907456001,"power":13298,"unknown_96":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8869839491385159680}} 
[2026-06-02 07:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":89198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:52:19] local.INFO: GPS data processed {"connection_id":89198,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:52:19] local.INFO: Acknowledgment sent {"connection_id":89198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:52:24] local.INFO: TCP Data received {"connection_id":90666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:24] local.INFO: Processing buffer {"connection_id":90666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:24] local.INFO: IMEI packet received {"connection_id":90666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":90666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:52:25] local.INFO: TCP Data received {"connection_id":90666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:25] local.INFO: Processing buffer {"connection_id":90666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:25] local.INFO: IMEI packet received {"connection_id":90666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":90666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:52:30] local.INFO: TCP Data received {"connection_id":90666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:30] local.INFO: Processing buffer {"connection_id":90666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:52:30] local.INFO: IMEI packet received {"connection_id":90666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":90666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:52:32] local.INFO: TCP Data received {"connection_id":90666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8622c470012d1262c006de09e8000b01612d..."} 
[2026-06-02 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8622c470012d1262c006de09e8000b01612d..."} 
[2026-06-02 07:52:32] local.INFO: Processing buffer {"connection_id":90666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8622c470012d1262c006de09e8000b01612d..."} 
[2026-06-02 07:52:32] local.INFO: Packet analysis {"connection_id":90666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8622"} 
[2026-06-02 07:52:32] local.INFO: Extracted packet for processing {"connection_id":90666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8622"} 
[2026-06-02 07:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756179648,"raw_latitude":115214824,"longitude_deg":75.6179648,"latitude_deg":11.5214824,"altitude":11,"angle":353,"satellites":45,"speed":32,"hex_longitude":"2d1262c0","hex_latitude":"06de09e8","is_valid_coordinates":true} 
[2026-06-02 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773919744001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305245593469452288,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1325676801055576064,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:32] 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-06-02 07:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780366886000,"timestamp_ms":1780366886000,"timestamp_seconds":1780366886,"priority":1,"record_length":96,"hex_timestamp":"0000019e8622c470"} 
[2026-06-02 07:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 07:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:52:32] 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-06-02 07:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773919744001,"66":27995,"201":206,"81":20480,"24":32,"16":305245593469452288,"45":1325676801055576064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-06-02 07:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773919744001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:52:32] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 07:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305245593469452288,"km_value":305245593469452.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1325676801055576064,"description":"Unknown IO ID 45"} 
[2026-06-02 07:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773919744001,"power":27995,"unknown_201":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1325676801055576064}} 
[2026-06-02 07:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":90666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:52:32] local.INFO: GPS data processed {"connection_id":90666,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:52:32] local.INFO: Acknowledgment sent {"connection_id":90666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:52:35] local.INFO: TCP Data received {"connection_id":90666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8622ef68012d125d0006de2f60000c015d2d..."} 
[2026-06-02 07:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8622ef68012d125d0006de2f60000c015d2d..."} 
[2026-06-02 07:52:35] local.INFO: Processing buffer {"connection_id":90666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8622ef68012d125d0006de2f60000c015d2d..."} 
[2026-06-02 07:52:35] local.INFO: Packet analysis {"connection_id":90666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8622"} 
[2026-06-02 07:52:35] local.INFO: Extracted packet for processing {"connection_id":90666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8622"} 
[2026-06-02 07:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756178176,"raw_latitude":115224416,"longitude_deg":75.6178176,"latitude_deg":11.5224416,"altitude":12,"angle":349,"satellites":45,"speed":37,"hex_longitude":"2d125d00","hex_latitude":"06de2f60","is_valid_coordinates":true} 
[2026-06-02 07:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773922816001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305246065915854848,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1324832376127875072,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:35] 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-06-02 07:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780366897000,"timestamp_ms":1780366897000,"timestamp_seconds":1780366897,"priority":1,"record_length":96,"hex_timestamp":"0000019e8622ef68"} 
[2026-06-02 07:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 07:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773922816001,"66":27821,"201":206,"81":20480,"24":37,"16":305246065915854848,"45":1324832376127875072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-06-02 07:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773922816001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:52:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 07:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305246065915854848,"km_value":305246065915854.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1324832376127875072,"description":"Unknown IO ID 45"} 
[2026-06-02 07:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773922816001,"power":27821,"unknown_201":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1324832376127875072}} 
[2026-06-02 07:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":90666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:52:35] local.INFO: GPS data processed {"connection_id":90666,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:52:35] local.INFO: Acknowledgment sent {"connection_id":90666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:52:50] local.INFO: TCP Data received {"connection_id":89198,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86221c78012d7b0ec005e306000005015e12..."} 
[2026-06-02 07:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86221c78012d7b0ec005e306000005015e12..."} 
[2026-06-02 07:52:50] local.INFO: Processing buffer {"connection_id":89198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86221c78012d7b0ec005e306000005015e12..."} 
[2026-06-02 07:52:50] local.INFO: Packet analysis {"connection_id":89198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8622"} 
[2026-06-02 07:52:50] local.INFO: Extracted packet for processing {"connection_id":89198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8622"} 
[2026-06-02 07:52:50] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98764288,"longitude_deg":76.3039424,"latitude_deg":9.8764288,"altitude":5,"angle":350,"satellites":18,"speed":44,"hex_longitude":"2d7b0ec0","hex_latitude":"05e30600","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773909760001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87742062983643136,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868643222736427008,"note":"Value kept but may cause issues"} 
[2026-06-02 07:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780366843000,"timestamp_ms":1780366843000,"timestamp_seconds":1780366843,"priority":1,"record_length":96,"hex_timestamp":"0000019e86221c78"} 
[2026-06-02 07:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:52: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-06-02 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 07:52:50] 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-06-02 07: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-06-02 07:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773909760001,"66":12874,"96":206,"85":15104,"24":44,"16":87742062983643136,"45":8868643222736427008},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 07:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773909760001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:52:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 07:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87742062983643136,"km_value":87742062983643.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868643222736427008,"description":"Unknown IO ID 45"} 
[2026-06-02 07:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773909760001,"power":12874,"unknown_96":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8868643222736427008}} 
[2026-06-02 07:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":89198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:52:50] local.INFO: GPS data processed {"connection_id":89198,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:52:50] local.INFO: Acknowledgment sent {"connection_id":89198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:53:06] local.INFO: TCP Data received {"connection_id":90666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86231678012d12560006de53d8000c015d2d..."} 
[2026-06-02 07:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86231678012d12560006de53d8000c015d2d..."} 
[2026-06-02 07:53:06] local.INFO: Processing buffer {"connection_id":90666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86231678012d12560006de53d8000c015d2d..."} 
[2026-06-02 07:53:06] local.INFO: Packet analysis {"connection_id":90666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:53:06] local.INFO: Extracted packet for processing {"connection_id":90666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756176384,"raw_latitude":115233752,"longitude_deg":75.6176384,"latitude_deg":11.5233752,"altitude":12,"angle":349,"satellites":45,"speed":38,"hex_longitude":"2d125600","hex_latitude":"06de53d8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773925632001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305246525477355520,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1323213895014244352,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780366907000,"timestamp_ms":1780366907000,"timestamp_seconds":1780366907,"priority":1,"record_length":96,"hex_timestamp":"0000019e86231678"} 
[2026-06-02 07:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:53:07] 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-06-02 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773925632001,"66":27713,"232":206,"81":20480,"24":38,"16":305246525477355520,"45":1323213895014244352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-06-02 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773925632001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:53:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-06-02 07:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305246525477355520,"km_value":305246525477355.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1323213895014244352,"description":"Unknown IO ID 45"} 
[2026-06-02 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773925632001,"power":27713,"unknown_232":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1323213895014244352}} 
[2026-06-02 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":90666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:53:07] local.INFO: GPS data processed {"connection_id":90666,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:53:07] local.INFO: Acknowledgment sent {"connection_id":90666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:53:12] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:53:12] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:53:12] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:53:23] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:53:23] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:53:23] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:53:24] local.INFO: TCP Data received {"connection_id":90667,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:24] local.INFO: Processing buffer {"connection_id":90667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:24] local.INFO: IMEI packet received {"connection_id":90667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":90667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:53:25] local.INFO: TCP Data received {"connection_id":90667,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:25] local.INFO: Processing buffer {"connection_id":90667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:25] local.INFO: IMEI packet received {"connection_id":90667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":90667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:53:25] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8623d5e0012d7ab34005e42bb0000b013620..."} 
[2026-06-02 07:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8623d5e0012d7ab34005e42bb0000b013620..."} 
[2026-06-02 07:53:25] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8623d5e0012d7ab34005e42bb0000b013620..."} 
[2026-06-02 07:53:25] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:53:25] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763016000,"raw_latitude":98839472,"longitude_deg":76.3016,"latitude_deg":9.8839472,"altitude":11,"angle":310,"satellites":32,"speed":36,"hex_longitude":"2d7ab340","hex_latitude":"05e42bb0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773938944001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87745945634078720,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847462230759147520,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780366956000,"timestamp_ms":1780366956000,"timestamp_seconds":1780366956,"priority":1,"record_length":96,"hex_timestamp":"0000019e8623d5e0"} 
[2026-06-02 07:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:53: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-06-02 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2250425456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":227,"raw_value":5706060745081167872,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2415996282,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3221611409,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3130130432,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3815899136,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-8232578823984300027,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:25] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,97,85,24,241,157,16,188,158,178,45,14,13,33,10,66,159,128,249,15,187,124,1,240,220,227,134,4,113,205,38,18,238,120,36,239,51,2,55,5,8,22,35,34],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 07:53:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865046416742612992,"timestamp_seconds":865046416742613.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773938944001,"66":13102,"97":206,"85":15104,"24":36,"16":87745945634078720,"45":8847462230759147520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773938944001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:53:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87745945634078720,"km_value":87745945634078.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847462230759147520,"description":"Unknown IO ID 45"} 
[2026-06-02 07:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773938944001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8847462230759147520}} 
[2026-06-02 07:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:53:25] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:53:25] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:53:29] local.INFO: TCP Data received {"connection_id":90667,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:30] local.INFO: Processing buffer {"connection_id":90667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:53:30] local.INFO: IMEI packet received {"connection_id":90667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":90667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:53:30] local.INFO: TCP Data received {"connection_id":90667,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86234170012d124f0006de7750000c01592c..."} 
[2026-06-02 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86234170012d124f0006de7750000c01592c..."} 
[2026-06-02 07:53:30] local.INFO: Processing buffer {"connection_id":90667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86234170012d124f0006de7750000c01592c..."} 
[2026-06-02 07:53:30] local.INFO: Packet analysis {"connection_id":90667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:53:30] local.INFO: Extracted packet for processing {"connection_id":90667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756174592,"raw_latitude":115242832,"longitude_deg":75.6174592,"latitude_deg":11.5242832,"altitude":12,"angle":345,"satellites":44,"speed":23,"hex_longitude":"2d124f00","hex_latitude":"06de7750","is_valid_coordinates":true} 
[2026-06-02 07:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773928192001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305246976448921600,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1321243570179659776,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:30] 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-06-02 07:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780366918000,"timestamp_ms":1780366918000,"timestamp_seconds":1780366918,"priority":1,"record_length":96,"hex_timestamp":"0000019e86234170"} 
[2026-06-02 07:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 07:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:53:30] 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-06-02 07:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773928192001,"66":27843,"231":206,"81":20480,"24":23,"16":305246976448921600,"45":1321243570179659776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-06-02 07:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773928192001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:53:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 07:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305246976448921600,"km_value":305246976448921.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1321243570179659776,"description":"Unknown IO ID 45"} 
[2026-06-02 07:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773928192001,"power":27843,"unknown_231":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":1321243570179659776}} 
[2026-06-02 07:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":90667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:53:31] local.INFO: GPS data processed {"connection_id":90667,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:53:31] local.INFO: Acknowledgment sent {"connection_id":90667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:53:56] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86241c30012d7a964005e442c80008013624..."} 
[2026-06-02 07:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86241c30012d7a964005e442c80008013624..."} 
[2026-06-02 07:53:56] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86241c30012d7a964005e442c80008013624..."} 
[2026-06-02 07:53:56] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8624"} 
[2026-06-02 07:53:56] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8624"} 
[2026-06-02 07:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763008576,"raw_latitude":98845384,"longitude_deg":76.3008576,"latitude_deg":9.8845384,"altitude":8,"angle":310,"satellites":36,"speed":25,"hex_longitude":"2d7a9640","hex_latitude":"05e442c8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773940736001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87746400900612096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841480887505498112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1780366974000,"timestamp_ms":1780366974000,"timestamp_seconds":1780366974,"priority":1,"record_length":96,"hex_timestamp":"0000019e86241c30"} 
[2026-06-02 07:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:53: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-06-02 07: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":46,"data_length":795,"current_offset":136} 
[2026-06-02 07:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773940736001,"66":11852,"97":206,"85":15104,"24":25,"16":87746400900612096,"45":8841480887505498112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773940736001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:53:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87746400900612096,"km_value":87746400900612.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841480887505498112,"description":"Unknown IO ID 45"} 
[2026-06-02 07:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773940736001,"power":11852,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8841480887505498112}} 
[2026-06-02 07:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:53:57] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:53:57] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:54:02] local.INFO: TCP Data received {"connection_id":90667,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86238f90012d1244c006de9ab8000d015529..."} 
[2026-06-02 07:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86238f90012d1244c006de9ab8000d015529..."} 
[2026-06-02 07:54:02] local.INFO: Processing buffer {"connection_id":90667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86238f90012d1244c006de9ab8000d015529..."} 
[2026-06-02 07:54:02] local.INFO: Packet analysis {"connection_id":90667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:54:02] local.INFO: Extracted packet for processing {"connection_id":90667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":756171968,"raw_latitude":115251896,"longitude_deg":75.6171968,"latitude_deg":11.5251896,"altitude":13,"angle":341,"satellites":41,"speed":26,"hex_longitude":"2d1244c0","hex_latitude":"06de9ab8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773931008001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305247436010422272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319273245345009664,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54: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-06-02 07:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780366938000,"timestamp_ms":1780366938000,"timestamp_seconds":1780366938,"priority":1,"record_length":96,"hex_timestamp":"0000019e86238f90"} 
[2026-06-02 07:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:54: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-06-02 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:54:02] 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-06-02 07:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773931008001,"66":27843,"231":206,"81":20480,"24":26,"16":305247436010422272,"45":1319273245345009664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-06-02 07:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773931008001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:54:02] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 07:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305247436010422272,"km_value":305247436010422.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319273245345009664,"description":"Unknown IO ID 45"} 
[2026-06-02 07:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773931008001,"power":27843,"unknown_231":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1319273245345009664}} 
[2026-06-02 07:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":90667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:54:02] local.INFO: GPS data processed {"connection_id":90667,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:54:02] local.INFO: Acknowledgment sent {"connection_id":90667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:54:18] local.INFO: TCP Data received {"connection_id":89445,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:54:18] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:54:18] local.INFO: IMEI packet received {"connection_id":89445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":89445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:54:22] local.INFO: TCP Data received {"connection_id":89445,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:54:22] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:54:22] local.INFO: IMEI packet received {"connection_id":89445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":89445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:54:24] local.INFO: TCP Data received {"connection_id":89445,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86244728012d7a7a4005e458b80008013325..."} 
[2026-06-02 07:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86244728012d7a7a4005e458b80008013325..."} 
[2026-06-02 07:54:24] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86244728012d7a7a4005e458b80008013325..."} 
[2026-06-02 07:54:24] local.INFO: Packet analysis {"connection_id":89445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8624"} 
[2026-06-02 07:54:24] local.INFO: Extracted packet for processing {"connection_id":89445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8624"} 
[2026-06-02 07:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763001408,"raw_latitude":98851000,"longitude_deg":76.3001408,"latitude_deg":9.8851,"altitude":8,"angle":307,"satellites":37,"speed":40,"hex_longitude":"2d7a7a40","hex_latitude":"05e458b8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773945344001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87746838987276288,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833318113182402560,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780366985000,"timestamp_ms":1780366985000,"timestamp_seconds":1780366985,"priority":1,"record_length":96,"hex_timestamp":"0000019e86244728"} 
[2026-06-02 07:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-02 07:54:24] 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-06-02 07: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-06-02 07:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773945344001,"66":13341,"97":206,"85":15104,"24":40,"16":87746838987276288,"45":8833318113182402560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773945344001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87746838987276288,"km_value":87746838987276.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833318113182402560,"description":"Unknown IO ID 45"} 
[2026-06-02 07:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773945344001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8833318113182402560}} 
[2026-06-02 07:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":89445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:54:24] local.INFO: GPS data processed {"connection_id":89445,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:54:24] local.INFO: Acknowledgment sent {"connection_id":89445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:54:24] local.INFO: TCP Data received {"connection_id":89199,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:54:24] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:54:24] local.INFO: IMEI packet received {"connection_id":89199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":89199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:54:29] local.INFO: TCP Data received {"connection_id":89199,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:54:29] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:54:29] local.INFO: IMEI packet received {"connection_id":89199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":89199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:54:30] local.INFO: TCP Data received {"connection_id":89199,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8623ba88012d12384006debe40000c01552a..."} 
[2026-06-02 07:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8623ba88012d12384006debe40000c01552a..."} 
[2026-06-02 07:54:30] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8623ba88012d12384006debe40000c01552a..."} 
[2026-06-02 07:54:30] local.INFO: Packet analysis {"connection_id":89199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:54:30] local.INFO: Extracted packet for processing {"connection_id":89199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756168768,"raw_latitude":115260992,"longitude_deg":75.6168768,"latitude_deg":11.5260992,"altitude":12,"angle":341,"satellites":42,"speed":41,"hex_longitude":"2d123840","hex_latitude":"06debe40","is_valid_coordinates":true} 
[2026-06-02 07:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773936128001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305247899866890240,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1316388126836045824,"note":"Value kept but may cause issues"} 
[2026-06-02 07:54:30] 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-06-02 07:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780366949000,"timestamp_ms":1780366949000,"timestamp_seconds":1780366949,"priority":1,"record_length":96,"hex_timestamp":"0000019e8623ba88"} 
[2026-06-02 07:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:54: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-06-02 07:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:54: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-06-02 07:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:54:30] 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-06-02 07:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773936128001,"66":27821,"231":206,"81":20480,"24":41,"16":305247899866890240,"45":1316388126836045824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-06-02 07:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773936128001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:54:30] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 07:54:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305247899866890240,"km_value":305247899866890.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1316388126836045824,"description":"Unknown IO ID 45"} 
[2026-06-02 07:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773936128001,"power":27821,"unknown_231":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1316388126836045824}} 
[2026-06-02 07:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":89199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:54:30] local.INFO: GPS data processed {"connection_id":89199,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:54:30] local.INFO: Acknowledgment sent {"connection_id":89199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:54:36] local.INFO: TCP Data received {"connection_id":89444,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:54:36] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:54:36] local.INFO: IMEI packet received {"connection_id":89444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":89444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:54:58] local.INFO: TCP Data received {"connection_id":90668,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:54:58] local.INFO: Processing buffer {"connection_id":90668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 07:54:58] local.INFO: IMEI packet received {"connection_id":90668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 07:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":90668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:55:02] local.INFO: TCP Data received {"connection_id":89199,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8623ddb0012d122d8006dee198000c01592a..."} 
[2026-06-02 07:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8623ddb0012d122d8006dee198000c01592a..."} 
[2026-06-02 07:55:02] local.INFO: Processing buffer {"connection_id":89199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8623ddb0012d122d8006dee198000c01592a..."} 
[2026-06-02 07:55:02] local.INFO: Packet analysis {"connection_id":89199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:55:02] local.INFO: Extracted packet for processing {"connection_id":89199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756166016,"raw_latitude":115270040,"longitude_deg":75.6166016,"latitude_deg":11.527004,"altitude":12,"angle":345,"satellites":42,"speed":43,"hex_longitude":"2d122d80","hex_latitude":"06dee198","is_valid_coordinates":true} 
[2026-06-02 07:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773938944001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305248359428390912,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1312869689629491200,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55: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-06-02 07:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780366958000,"timestamp_ms":1780366958000,"timestamp_seconds":1780366958,"priority":1,"record_length":96,"hex_timestamp":"0000019e8623ddb0"} 
[2026-06-02 07:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:55: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-06-02 07:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:55: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-06-02 07:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:55:02] 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-06-02 07:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773938944001,"66":27865,"231":206,"81":20480,"24":43,"16":305248359428390912,"45":1312869689629491200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-06-02 07:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773938944001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:55:02] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 07:55:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305248359428390912,"km_value":305248359428390.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1312869689629491200,"description":"Unknown IO ID 45"} 
[2026-06-02 07:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773938944001,"power":27865,"unknown_231":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1312869689629491200}} 
[2026-06-02 07:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":89199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:55:02] local.INFO: GPS data processed {"connection_id":89199,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:55:02] local.INFO: Acknowledgment sent {"connection_id":89199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:55:04] local.INFO: TCP Data received {"connection_id":89445,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8625ba40012d7a2e4005e45c28000b005424..."} 
[2026-06-02 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8625ba40012d7a2e4005e45c28000b005424..."} 
[2026-06-02 07:55:04] local.INFO: Processing buffer {"connection_id":89445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8625ba40012d7a2e4005e45c28000b005424..."} 
[2026-06-02 07:55:04] local.INFO: Packet analysis {"connection_id":89445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:04] local.INFO: Extracted packet for processing {"connection_id":89445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762981952,"raw_latitude":98851880,"longitude_deg":76.2981952,"latitude_deg":9.885188,"altitude":11,"angle":84,"satellites":36,"speed":5,"hex_longitude":"2d7a2e40","hex_latitude":"05e45c28","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773971968001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87747947088838656,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803763240629417984,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780367080000,"timestamp_ms":1780367080000,"timestamp_seconds":1780367080,"priority":1,"record_length":96,"hex_timestamp":"0000019e8625ba40"} 
[2026-06-02 07:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:55: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-06-02 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 07:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07: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-06-02 07:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773971968001,"66":13037,"97":206,"85":15104,"24":5,"16":87747947088838656,"45":8803763240629417984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773971968001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87747947088838656,"km_value":87747947088838.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803763240629417984,"description":"Unknown IO ID 45"} 
[2026-06-02 07:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773971968001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8803763240629417984}} 
[2026-06-02 07:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":89445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:55:05] local.INFO: GPS data processed {"connection_id":89445,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:55:05] local.INFO: Acknowledgment sent {"connection_id":89445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:55:13] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:55:13] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:55:13] local.INFO: IMEI packet received {"connection_id":89611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":89611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:55:24] local.INFO: TCP Data received {"connection_id":90669,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:55:24] local.INFO: Processing buffer {"connection_id":90669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:55:24] local.INFO: IMEI packet received {"connection_id":90669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":90669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:55:30] local.INFO: TCP Data received {"connection_id":90669,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:55:30] local.INFO: Processing buffer {"connection_id":90669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:55:30] local.INFO: IMEI packet received {"connection_id":90669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":90669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:55:31] local.INFO: TCP Data received {"connection_id":90669,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8623fcf0012d1225c006df0408000c015d2a..."} 
[2026-06-02 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8623fcf0012d1225c006df0408000c015d2a..."} 
[2026-06-02 07:55:31] local.INFO: Processing buffer {"connection_id":90669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8623fcf0012d1225c006df0408000c015d2a..."} 
[2026-06-02 07:55:31] local.INFO: Packet analysis {"connection_id":90669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:55:31] local.INFO: Extracted packet for processing {"connection_id":90669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8623"} 
[2026-06-02 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756164032,"raw_latitude":115278856,"longitude_deg":75.6164032,"latitude_deg":11.5278856,"altitude":12,"angle":349,"satellites":42,"speed":44,"hex_longitude":"2d1225c0","hex_latitude":"06df0408","is_valid_coordinates":true} 
[2026-06-02 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773941248001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305248797515055104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1309843833632167936,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780366966000,"timestamp_ms":1780366966000,"timestamp_seconds":1780366966,"priority":1,"record_length":96,"hex_timestamp":"0000019e8623fcf0"} 
[2026-06-02 07:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:55: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-06-02 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:55: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-06-02 07:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773941248001,"66":27767,"97":206,"81":20480,"24":44,"16":305248797515055104,"45":1309843833632167936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-02 07:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773941248001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305248797515055104,"km_value":305248797515055.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1309843833632167936,"description":"Unknown IO ID 45"} 
[2026-06-02 07:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773941248001,"power":27767,"unknown_97":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1309843833632167936}} 
[2026-06-02 07:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":90669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:55:31] local.INFO: GPS data processed {"connection_id":90669,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:55:31] local.INFO: Acknowledgment sent {"connection_id":90669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:55:32] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 07:55:32] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 07:55:32] local.INFO: IMEI packet received {"connection_id":89611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":89611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:55:35] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8625be28012d7a2f4005e45c40000b005f24..."} 
[2026-06-02 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8625be28012d7a2f4005e45c40000b005f24..."} 
[2026-06-02 07:55:35] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e86..."} 
[2026-06-02 07:55:35] local.INFO: IMEI packet received {"connection_id":89611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":89611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:55:37] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8625c9e0012d7a334005e45cd8000b005024..."} 
[2026-06-02 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8625c9e0012d7a334005e45cd8000b005024..."} 
[2026-06-02 07:55:37] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e8625be28012d7a2f4005e45c40000b005f24..."} 
[2026-06-02 07:55:37] local.INFO: Packet analysis {"connection_id":89611,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:37] local.INFO: Extracted packet for processing {"connection_id":89611,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":762982208,"raw_latitude":98851904,"longitude_deg":76.2982208,"latitude_deg":9.8851904,"altitude":11,"angle":95,"satellites":36,"speed":11,"hex_longitude":"2d7a2f40","hex_latitude":"05e45c40","is_valid_coordinates":true} 
[2026-06-02 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773972480001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87747959973740544,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804044715606157312,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780367081000,"timestamp_ms":1780367081000,"timestamp_seconds":1780367081,"priority":1,"record_length":96,"hex_timestamp":"0000019e8625be28"} 
[2026-06-02 07:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 07:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773972480001,"66":13189,"97":206,"85":15104,"24":11,"16":87747959973740544,"45":8804044715606157312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773972480001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87747959973740544,"km_value":87747959973740.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804044715606157312,"description":"Unknown IO ID 45"} 
[2026-06-02 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773972480001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8804044715606157312}} 
[2026-06-02 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":89611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:55:37] local.INFO: GPS data processed {"connection_id":89611,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:55:37] local.INFO: Acknowledgment sent {"connection_id":89611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:55:37] local.INFO: Packet analysis {"connection_id":89611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:37] local.INFO: Extracted packet for processing {"connection_id":89611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852056,"longitude_deg":76.2983232,"latitude_deg":9.8852056,"altitude":11,"angle":80,"satellites":36,"speed":17,"hex_longitude":"2d7a3340","hex_latitude":"05e45cd8","is_valid_coordinates":true} 
[2026-06-02 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773972736001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87748011513348096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804326190582874112,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780367084000,"timestamp_ms":1780367084000,"timestamp_seconds":1780367084,"priority":1,"record_length":96,"hex_timestamp":"0000019e8625c9e0"} 
[2026-06-02 07:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 07:55:37] 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-06-02 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773972736001,"66":13341,"97":206,"85":15104,"24":17,"16":87748011513348096,"45":8804326190582874112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773972736001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87748011513348096,"km_value":87748011513348.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804326190582874112,"description":"Unknown IO ID 45"} 
[2026-06-02 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773972736001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8804326190582874112}} 
[2026-06-02 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":89611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:55:37] local.INFO: GPS data processed {"connection_id":89611,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:55:37] local.INFO: Acknowledgment sent {"connection_id":89611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:55:38] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8625f0f0012d7a484005e46268000d004424..."} 
[2026-06-02 07:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8625f0f0012d7a484005e46268000d004424..."} 
[2026-06-02 07:55:38] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8625f0f0012d7a484005e46268000d004424..."} 
[2026-06-02 07:55:38] local.INFO: Packet analysis {"connection_id":89611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:38] local.INFO: Extracted packet for processing {"connection_id":89611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":762988608,"raw_latitude":98853480,"longitude_deg":76.2988608,"latitude_deg":9.885348,"altitude":13,"angle":68,"satellites":36,"speed":21,"hex_longitude":"2d7a4840","hex_latitude":"05e46268","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773973504001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87748273506353152,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489755648,"note":"Value kept but may cause issues"} 
[2026-06-02 07:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780367094000,"timestamp_ms":1780367094000,"timestamp_seconds":1780367094,"priority":1,"record_length":96,"hex_timestamp":"0000019e8625f0f0"} 
[2026-06-02 07:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:55: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-06-02 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 07:55:38] 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-06-02 07: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-06-02 07:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773973504001,"66":13178,"97":206,"85":15104,"24":21,"16":87748273506353152,"45":8805452090489755648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773973504001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87748273506353152,"km_value":87748273506353.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489755648,"description":"Unknown IO ID 45"} 
[2026-06-02 07:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773973504001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8805452090489755648}} 
[2026-06-02 07:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":89611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:55:38] local.INFO: GPS data processed {"connection_id":89611,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:55:38] local.INFO: Acknowledgment sent {"connection_id":89611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:56:02] local.INFO: TCP Data received {"connection_id":90669,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8625f0f0012d11cec006e07ad0000f015a2b..."} 
[2026-06-02 07:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8625f0f0012d11cec006e07ad0000f015a2b..."} 
[2026-06-02 07:56:02] local.INFO: Processing buffer {"connection_id":90669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8625f0f0012d11cec006e07ad0000f015a2b..."} 
[2026-06-02 07:56:02] local.INFO: Packet analysis {"connection_id":90669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:56:02] local.INFO: Extracted packet for processing {"connection_id":90669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8625"} 
[2026-06-02 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756141760,"raw_latitude":115374800,"longitude_deg":75.614176,"latitude_deg":11.53748,"altitude":15,"angle":346,"satellites":43,"speed":27,"hex_longitude":"2d11cec0","hex_latitude":"06e07ad0","is_valid_coordinates":true} 
[2026-06-02 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773972736001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305253577813655552,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285918460636284928,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:02] 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-06-02 07:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367094000,"timestamp_ms":1780367094000,"timestamp_seconds":1780367094,"priority":1,"record_length":96,"hex_timestamp":"0000019e8625f0f0"} 
[2026-06-02 07:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:56: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-06-02 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 07:56:02] 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-06-02 07:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:56:02] 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-06-02 07:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773972736001,"66":27865,"98":206,"81":20480,"24":27,"16":305253577813655552,"45":1285918460636284928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-06-02 07:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773972736001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:56:02] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-02 07:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305253577813655552,"km_value":305253577813655.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285918460636284928,"description":"Unknown IO ID 45"} 
[2026-06-02 07:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773972736001,"power":27865,"unknown_98":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":1285918460636284928}} 
[2026-06-02 07:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":90669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:56:02] local.INFO: GPS data processed {"connection_id":90669,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:56:02] local.INFO: Acknowledgment sent {"connection_id":90669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:56:12] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:12] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:12] local.INFO: IMEI packet received {"connection_id":89613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":89613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:56:14] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:14] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:14] local.INFO: IMEI packet received {"connection_id":89613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":89613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:56:17] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:17] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:56:17] local.INFO: IMEI packet received {"connection_id":89613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":89613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:56:18] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86263358012d7a61c005e46b980011006424..."} 
[2026-06-02 07:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86263358012d7a61c005e46b980011006424..."} 
[2026-06-02 07:56:18] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86263358012d7a61c005e46b980011006424..."} 
[2026-06-02 07:56:18] local.INFO: Packet analysis {"connection_id":89613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:56:18] local.INFO: Extracted packet for processing {"connection_id":89613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:56:18] local.INFO: GPS Element Parsed {"raw_longitude":762995136,"raw_latitude":98855832,"longitude_deg":76.2995136,"latitude_deg":9.8855832,"altitude":17,"angle":100,"satellites":36,"speed":11,"hex_longitude":"2d7a61c0","hex_latitude":"05e46b98","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773976064001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87748608513802240,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811363065001043968,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780367111000,"timestamp_ms":1780367111000,"timestamp_seconds":1780367111,"priority":1,"record_length":96,"hex_timestamp":"0000019e86263358"} 
[2026-06-02 07:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:56: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-06-02 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 07:56:18] 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-06-02 07: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-06-02 07:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773976064001,"66":13374,"157":206,"87":12288,"24":11,"16":87748608513802240,"45":8811363065001043968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 07:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773976064001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:56:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 07:56:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 07:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87748608513802240,"km_value":87748608513802.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811363065001043968,"description":"Unknown IO ID 45"} 
[2026-06-02 07:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773976064001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8811363065001043968}} 
[2026-06-02 07:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":89613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:56:18] local.INFO: GPS data processed {"connection_id":89613,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:56:18] local.INFO: Acknowledgment sent {"connection_id":89613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:56:24] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:56:24] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:56:24] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:56:29] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:56:29] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:56:29] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:56:31] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86261fd0012d11c7c006e09ff8000e015f2b..."} 
[2026-06-02 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86261fd0012d11c7c006e09ff8000e015f2b..."} 
[2026-06-02 07:56:31] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86261fd0012d11c7c006e09ff8000e015f2b..."} 
[2026-06-02 07:56:31] local.INFO: Packet analysis {"connection_id":89615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:56:31] local.INFO: Extracted packet for processing {"connection_id":89615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756139968,"raw_latitude":115384312,"longitude_deg":75.6139968,"latitude_deg":11.5384312,"altitude":14,"angle":351,"satellites":43,"speed":39,"hex_longitude":"2d11c7c0","hex_latitude":"06e09ff8","is_valid_coordinates":true} 
[2026-06-02 07:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773976064001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305254045965090816,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283174079615651840,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:31] 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-06-02 07:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367106000,"timestamp_ms":1780367106000,"timestamp_seconds":1780367106,"priority":1,"record_length":96,"hex_timestamp":"0000019e86261fd0"} 
[2026-06-02 07:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:56: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-06-02 07:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:56: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-06-02 07:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773976064001,"66":27865,"156":206,"81":20480,"24":39,"16":305254045965090816,"45":1283174079615651840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,81,24,16,45]} 
[2026-06-02 07:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773976064001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:56:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:56:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305254045965090816,"km_value":305254045965090.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283174079615651840,"description":"Unknown IO ID 45"} 
[2026-06-02 07:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773976064001,"power":27865,"unknown_156":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1283174079615651840}} 
[2026-06-02 07:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":89615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:56:31] local.INFO: GPS data processed {"connection_id":89615,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:56:31] local.INFO: Acknowledgment sent {"connection_id":89615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:56:49] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86263b28012d7a64c005e46a480012007924..."} 
[2026-06-02 07:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86263b28012d7a64c005e46a480012007924..."} 
[2026-06-02 07:56:49] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86263b28012d7a64c005e46a480012007924..."} 
[2026-06-02 07:56:49] local.INFO: Packet analysis {"connection_id":89613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:56:49] local.INFO: Extracted packet for processing {"connection_id":89613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:56:49] local.INFO: GPS Element Parsed {"raw_longitude":762995904,"raw_latitude":98855496,"longitude_deg":76.2995904,"latitude_deg":9.8855496,"altitude":18,"angle":121,"satellites":36,"speed":19,"hex_longitude":"2d7a64c0","hex_latitude":"05e46a48","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773980416001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87748651463475200,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540676907767808,"note":"Value kept but may cause issues"} 
[2026-06-02 07:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780367113000,"timestamp_ms":1780367113000,"timestamp_seconds":1780367113,"priority":1,"record_length":96,"hex_timestamp":"0000019e86263b28"} 
[2026-06-02 07:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 07:56:49] 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-06-02 07: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-06-02 07:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773980416001,"66":12972,"157":206,"87":12288,"24":19,"16":87748651463475200,"45":8818540676907767808},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 07:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773980416001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:56:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 07:56:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 07:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87748651463475200,"km_value":87748651463475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540676907767808,"description":"Unknown IO ID 45"} 
[2026-06-02 07:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773980416001,"power":12972,"unknown_157":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8818540676907767808}} 
[2026-06-02 07:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":89613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:56:50] local.INFO: GPS data processed {"connection_id":89613,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:56:50] local.INFO: Acknowledgment sent {"connection_id":89613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:57:02] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862646e0012d11c3c006e0c558000c01622c..."} 
[2026-06-02 07:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862646e0012d11c3c006e0c558000c01622c..."} 
[2026-06-02 07:57:02] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862646e0012d11c3c006e0c558000c01622c..."} 
[2026-06-02 07:57:02] local.INFO: Packet analysis {"connection_id":89615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:02] local.INFO: Extracted packet for processing {"connection_id":89615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756138944,"raw_latitude":115393880,"longitude_deg":75.6138944,"latitude_deg":11.539388,"altitude":12,"angle":354,"satellites":44,"speed":39,"hex_longitude":"2d11c3c0","hex_latitude":"06e0c558","is_valid_coordinates":true} 
[2026-06-02 07:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773979136001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305254514116526080,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1281203754781112320,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:02] 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-06-02 07:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367116000,"timestamp_ms":1780367116000,"timestamp_seconds":1780367116,"priority":1,"record_length":96,"hex_timestamp":"0000019e862646e0"} 
[2026-06-02 07:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:57: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-06-02 07:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 07:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:57:02] 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-06-02 07:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773979136001,"66":27876,"156":206,"81":20480,"24":39,"16":305254514116526080,"45":1281203754781112320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,81,24,16,45]} 
[2026-06-02 07:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773979136001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:57:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305254514116526080,"km_value":305254514116526.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1281203754781112320,"description":"Unknown IO ID 45"} 
[2026-06-02 07:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773979136001,"power":27876,"unknown_156":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1281203754781112320}} 
[2026-06-02 07:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":89615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:57:02] local.INFO: GPS data processed {"connection_id":89615,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:57:02] local.INFO: Acknowledgment sent {"connection_id":89615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:57:12] local.INFO: TCP Data received {"connection_id":90670,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:12] local.INFO: Processing buffer {"connection_id":90670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:12] local.INFO: IMEI packet received {"connection_id":90670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":90670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:57:14] local.INFO: TCP Data received {"connection_id":90670,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:15] local.INFO: Processing buffer {"connection_id":90670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:15] local.INFO: IMEI packet received {"connection_id":90670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":90670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:57:17] local.INFO: TCP Data received {"connection_id":90670,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:17] local.INFO: Processing buffer {"connection_id":90670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:57:17] local.INFO: IMEI packet received {"connection_id":90670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":90670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:57:19] local.INFO: TCP Data received {"connection_id":90670,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86266238012d7a824005e453100011007f24..."} 
[2026-06-02 07:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86266238012d7a824005e453100011007f24..."} 
[2026-06-02 07:57:19] local.INFO: Processing buffer {"connection_id":90670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86266238012d7a824005e453100011007f24..."} 
[2026-06-02 07:57:19] local.INFO: Packet analysis {"connection_id":90670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:19] local.INFO: Extracted packet for processing {"connection_id":90670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763003456,"raw_latitude":98849552,"longitude_deg":76.3003456,"latitude_deg":9.8849552,"altitude":17,"angle":127,"satellites":36,"speed":43,"hex_longitude":"2d7a8240","hex_latitude":"05e45310","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773980928001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87749111024975872,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819385101837813760,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780367123000,"timestamp_ms":1780367123000,"timestamp_seconds":1780367123,"priority":1,"record_length":96,"hex_timestamp":"0000019e86266238"} 
[2026-06-02 07:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:57: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-06-02 07: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 07:57:19] 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-06-02 07: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-06-02 07:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773980928001,"66":12809,"157":206,"87":12288,"24":43,"16":87749111024975872,"45":8819385101837813760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 07:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773980928001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 07:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87749111024975872,"km_value":87749111024975.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819385101837813760,"description":"Unknown IO ID 45"} 
[2026-06-02 07:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773980928001,"power":12809,"unknown_157":206,"unknown_87":12288,"ignition":43,"odometer":null,"unknown_45":8819385101837813760}} 
[2026-06-02 07:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":90670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:57:19] local.INFO: GPS data processed {"connection_id":90670,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:57:19] local.INFO: Acknowledgment sent {"connection_id":90670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:57:25] local.INFO: TCP Data received {"connection_id":89200,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:25] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:25] local.INFO: IMEI packet received {"connection_id":89200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":89200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:57:29] local.INFO: TCP Data received {"connection_id":89200,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:29] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:29] local.INFO: IMEI packet received {"connection_id":89200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":89200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:57:34] local.INFO: TCP Data received {"connection_id":89200,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:34] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:57:34] local.INFO: IMEI packet received {"connection_id":89200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":89200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:57:36] local.INFO: TCP Data received {"connection_id":89200,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86266a08012d11c00006e0e878000c01602c..."} 
[2026-06-02 07:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86266a08012d11c00006e0e878000c01602c..."} 
[2026-06-02 07:57:36] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86266a08012d11c00006e0e878000c01602c..."} 
[2026-06-02 07:57:36] local.INFO: Packet analysis {"connection_id":89200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:36] local.INFO: Extracted packet for processing {"connection_id":89200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756137984,"raw_latitude":115402872,"longitude_deg":75.6137984,"latitude_deg":11.5402872,"altitude":12,"angle":352,"satellites":44,"speed":40,"hex_longitude":"2d11c000","hex_latitude":"06e0e878","is_valid_coordinates":true} 
[2026-06-02 07:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773981696001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305254952203190272,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1280077854876719104,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:36] 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-06-02 07:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780367125000,"timestamp_ms":1780367125000,"timestamp_seconds":1780367125,"priority":1,"record_length":96,"hex_timestamp":"0000019e86266a08"} 
[2026-06-02 07:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 07:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773981696001,"66":27843,"156":206,"81":20480,"24":40,"16":305254952203190272,"45":1280077854876719104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,81,24,16,45]} 
[2026-06-02 07:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773981696001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:57:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305254952203190272,"km_value":305254952203190.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1280077854876719104,"description":"Unknown IO ID 45"} 
[2026-06-02 07:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773981696001,"power":27843,"unknown_156":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1280077854876719104}} 
[2026-06-02 07:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":89200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:57:36] local.INFO: GPS data processed {"connection_id":89200,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:57:36] local.INFO: Acknowledgment sent {"connection_id":89200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:57:39] local.INFO: TCP Data received {"connection_id":89200,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86268d30012d11b98006e10b00000c01582b..."} 
[2026-06-02 07:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86268d30012d11b98006e10b00000c01582b..."} 
[2026-06-02 07:57:39] local.INFO: Processing buffer {"connection_id":89200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86268d30012d11b98006e10b00000c01582b..."} 
[2026-06-02 07:57:39] local.INFO: Packet analysis {"connection_id":89200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:39] local.INFO: Extracted packet for processing {"connection_id":89200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756136320,"raw_latitude":115411712,"longitude_deg":75.613632,"latitude_deg":11.5411712,"altitude":12,"angle":344,"satellites":43,"speed":40,"hex_longitude":"2d11b980","hex_latitude":"06e10b00","is_valid_coordinates":true} 
[2026-06-02 07:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773984000001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305255390289854464,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1279022323716356096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:39] 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-06-02 07:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780367134000,"timestamp_ms":1780367134000,"timestamp_seconds":1780367134,"priority":1,"record_length":96,"hex_timestamp":"0000019e86268d30"} 
[2026-06-02 07:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:57:39] 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-06-02 07:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773984000001,"66":27843,"156":206,"81":20480,"24":40,"16":305255390289854464,"45":1279022323716356096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,81,24,16,45]} 
[2026-06-02 07:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773984000001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:57:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 07:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305255390289854464,"km_value":305255390289854.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1279022323716356096,"description":"Unknown IO ID 45"} 
[2026-06-02 07:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773984000001,"power":27843,"unknown_156":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1279022323716356096}} 
[2026-06-02 07:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":89200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:57:39] local.INFO: GPS data processed {"connection_id":89200,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:57:39] local.INFO: Acknowledgment sent {"connection_id":89200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:57:50] local.INFO: TCP Data received {"connection_id":90670,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86269118012d7a9f0005e43c78000c008022..."} 
[2026-06-02 07:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86269118012d7a9f0005e43c78000c008022..."} 
[2026-06-02 07:57:50] local.INFO: Processing buffer {"connection_id":90670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86269118012d7a9f0005e43c78000c008022..."} 
[2026-06-02 07:57:50] local.INFO: Packet analysis {"connection_id":90670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:50] local.INFO: Extracted packet for processing {"connection_id":90670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:57:50] local.INFO: GPS Element Parsed {"raw_longitude":763010816,"raw_latitude":98843768,"longitude_deg":76.3010816,"latitude_deg":9.8843768,"altitude":12,"angle":128,"satellites":34,"speed":20,"hex_longitude":"2d7a9f00","hex_latitude":"05e43c78","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773983488001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87749561996541952,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827688613649256448,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780367135000,"timestamp_ms":1780367135000,"timestamp_seconds":1780367135,"priority":1,"record_length":96,"hex_timestamp":"0000019e86269118"} 
[2026-06-02 07:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:57: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-06-02 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2250619456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2716356675618090304,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3192782848,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1991796099857240285,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368868172244922795,"note":"Value kept but may cause issues"} 
[2026-06-02 07:57:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,191,158,59,45,192,106,18,36,10,66,190,51,107,17,240,64,1,122,227,134,228,4,113,205,85,47,239,97,2,55,5,11,50,75],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 07:57:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225118891243143168,"timestamp_seconds":1225118891243143.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 07:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773983488001,"66":12917,"97":206,"85":15104,"24":20,"16":87749561996541952,"45":8827688613649256448},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773983488001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87749561996541952,"km_value":87749561996541.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827688613649256448,"description":"Unknown IO ID 45"} 
[2026-06-02 07:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773983488001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8827688613649256448}} 
[2026-06-02 07:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":90670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:57:50] local.INFO: GPS data processed {"connection_id":90670,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:57:50] local.INFO: Acknowledgment sent {"connection_id":90670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:58:12] local.INFO: TCP Data received {"connection_id":89201,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:58:12] local.INFO: Processing buffer {"connection_id":89201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:58:12] local.INFO: IMEI packet received {"connection_id":89201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":89201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:58:18] local.INFO: TCP Data received {"connection_id":89201,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:58:18] local.INFO: Processing buffer {"connection_id":89201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:58:18] local.INFO: IMEI packet received {"connection_id":89201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":89201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:58:19] local.INFO: TCP Data received {"connection_id":89201,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8628b010012d7b0ec005e349d8000b008523..."} 
[2026-06-02 07:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8628b010012d7b0ec005e349d8000b008523..."} 
[2026-06-02 07:58:19] local.INFO: Processing buffer {"connection_id":89201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8628b010012d7b0ec005e349d8000b008523..."} 
[2026-06-02 07:58:19] local.INFO: Packet analysis {"connection_id":89201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:58:19] local.INFO: Extracted packet for processing {"connection_id":89201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98781656,"longitude_deg":76.3039424,"latitude_deg":9.8781656,"altitude":11,"angle":133,"satellites":35,"speed":7,"hex_longitude":"2d7b0ec0","hex_latitude":"05e349d8","is_valid_coordinates":true} 
[2026-06-02 07:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774020608001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87752967905607680,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316697366528,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780367274000,"timestamp_ms":1780367274000,"timestamp_seconds":1780367274,"priority":1,"record_length":96,"hex_timestamp":"0000019e8628b010"} 
[2026-06-02 07:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:58: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-06-02 07:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 07:58:19] 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-06-02 07:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774020608001,"66":12765,"97":206,"85":15104,"24":7,"16":87752967905607680,"45":8866180316697366528},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774020608001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:58:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87752967905607680,"km_value":87752967905607.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316697366528,"description":"Unknown IO ID 45"} 
[2026-06-02 07:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774020608001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8866180316697366528}} 
[2026-06-02 07:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":89201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:58:19] local.INFO: GPS data processed {"connection_id":89201,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:58:19] local.INFO: Acknowledgment sent {"connection_id":89201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:58:20] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:20] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:20] local.INFO: IMEI packet received {"connection_id":89617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":89617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:58:24] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:24] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:24] local.INFO: IMEI packet received {"connection_id":89617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:58:29] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:29] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:58:29] local.INFO: IMEI packet received {"connection_id":89617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":89617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:58:31] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8626b058012d11ad8006e12e10000c01532c..."} 
[2026-06-02 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8626b058012d11ad8006e12e10000c01532c..."} 
[2026-06-02 07:58:31] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8626b058012d11ad8006e12e10000c01532c..."} 
[2026-06-02 07:58:31] local.INFO: Packet analysis {"connection_id":89617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:58:31] local.INFO: Extracted packet for processing {"connection_id":89617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8626"} 
[2026-06-02 07:58:31] local.INFO: GPS Element Parsed {"raw_longitude":756133248,"raw_latitude":115420688,"longitude_deg":75.6133248,"latitude_deg":11.5420688,"altitude":12,"angle":339,"satellites":44,"speed":41,"hex_longitude":"2d11ad80","hex_latitude":"06e12e10","is_valid_coordinates":true} 
[2026-06-02 07:58: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-06-02 07:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455773986304001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305255849851355136,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1277192736369999872,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367143000,"timestamp_ms":1780367143000,"timestamp_seconds":1780367143,"priority":1,"record_length":96,"hex_timestamp":"0000019e8626b058"} 
[2026-06-02 07:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:58: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-06-02 07:58: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":195,"data_length":795,"current_offset":136} 
[2026-06-02 07:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 07:58: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-06-02 07:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455773986304001,"66":27974,"154":206,"81":20480,"24":41,"16":305255849851355136,"45":1277192736369999872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-06-02 07:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455773986304001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:58:31] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-02 07:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305255849851355136,"km_value":305255849851355.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1277192736369999872,"description":"Unknown IO ID 45"} 
[2026-06-02 07:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455773986304001,"power":27974,"unknown_154":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1277192736369999872}} 
[2026-06-02 07:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":89617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:58:31] local.INFO: GPS data processed {"connection_id":89617,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:58:31] local.INFO: Acknowledgment sent {"connection_id":89617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:58:49] local.INFO: TCP Data received {"connection_id":89201,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8628b3f8012d7b0f4005e348f8000c009222..."} 
[2026-06-02 07:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8628b3f8012d7b0f4005e348f8000c009222..."} 
[2026-06-02 07:58:49] local.INFO: Processing buffer {"connection_id":89201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8628b3f8012d7b0f4005e348f8000c009222..."} 
[2026-06-02 07:58:49] local.INFO: Packet analysis {"connection_id":89201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:58:49] local.INFO: Extracted packet for processing {"connection_id":89201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98781432,"longitude_deg":76.3039552,"latitude_deg":9.8781432,"altitude":12,"angle":146,"satellites":34,"speed":7,"hex_longitude":"2d7b0f40","hex_latitude":"05e348f8","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774022144001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87752980790509568,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847859722240,"note":"Value kept but may cause issues"} 
[2026-06-02 07:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780367275000,"timestamp_ms":1780367275000,"timestamp_seconds":1780367275,"priority":1,"record_length":96,"hex_timestamp":"0000019e8628b3f8"} 
[2026-06-02 07:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 07: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 07:58:49] 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-06-02 07: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-06-02 07:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774022144001,"66":13178,"97":206,"85":15104,"24":7,"16":87752980790509568,"45":8867235847859722240},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774022144001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87752980790509568,"km_value":87752980790509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847859722240,"description":"Unknown IO ID 45"} 
[2026-06-02 07:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774022144001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8867235847859722240}} 
[2026-06-02 07:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":89201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:58:49] local.INFO: GPS data processed {"connection_id":89201,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:58:49] local.INFO: Acknowledgment sent {"connection_id":89201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:59:02] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8628c398012d1189c006e2add8000b01642b..."} 
[2026-06-02 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8628c398012d1189c006e2add8000b01642b..."} 
[2026-06-02 07:59:02] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8628c398012d1189c006e2add8000b01642b..."} 
[2026-06-02 07:59:02] local.INFO: Packet analysis {"connection_id":89617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:02] local.INFO: Extracted packet for processing {"connection_id":89617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756124096,"raw_latitude":115518936,"longitude_deg":75.6124096,"latitude_deg":11.5518936,"altitude":11,"angle":356,"satellites":43,"speed":28,"hex_longitude":"2d1189c0","hex_latitude":"06e2add8","is_valid_coordinates":true} 
[2026-06-02 07:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774022400001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305260724639236096,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263752306258817024,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:02] 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-06-02 07:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367279000,"timestamp_ms":1780367279000,"timestamp_seconds":1780367279,"priority":1,"record_length":96,"hex_timestamp":"0000019e8628c398"} 
[2026-06-02 07:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:59: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-06-02 07:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 07:59: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-06-02 07:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:59:02] 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-06-02 07:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774022400001,"66":27821,"108":206,"81":20480,"24":28,"16":305260724639236096,"45":1263752306258817024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-06-02 07:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774022400001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:59:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 07:59:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305260724639236096,"km_value":305260724639236.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263752306258817024,"description":"Unknown IO ID 45"} 
[2026-06-02 07:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774022400001,"power":27821,"unknown_108":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1263752306258817024}} 
[2026-06-02 07:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":89617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:59:02] local.INFO: GPS data processed {"connection_id":89617,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:59:02] local.INFO: Acknowledgment sent {"connection_id":89617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:59:12] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:59:12] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:59:12] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 07:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:59:18] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:59:18] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 07:59:18] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 07:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:59:19] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8628b7e0012d7b0f8005e34800000c00a722..."} 
[2026-06-02 07:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8628b7e0012d7b0f8005e34800000c00a722..."} 
[2026-06-02 07:59:19] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8628b7e0012d7b0f8005e34800000c00a722..."} 
[2026-06-02 07:59:19] local.INFO: Packet analysis {"connection_id":89447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:19] local.INFO: Extracted packet for processing {"connection_id":89447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:19] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98781184,"longitude_deg":76.3039616,"latitude_deg":9.8781184,"altitude":12,"angle":167,"satellites":34,"speed":8,"hex_longitude":"2d7b0f80","hex_latitude":"05e34800","is_valid_coordinates":true} 
[2026-06-02 07:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774022400001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87752993675411456,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585348020224,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780367276000,"timestamp_ms":1780367276000,"timestamp_seconds":1780367276,"priority":1,"record_length":96,"hex_timestamp":"0000019e8628b7e0"} 
[2026-06-02 07:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:59: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-06-02 07:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 07:59:19] 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-06-02 07:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774022400001,"66":13178,"97":206,"85":15104,"24":8,"16":87752993675411456,"45":8867376585348020224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774022400001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87752993675411456,"km_value":87752993675411.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585348020224,"description":"Unknown IO ID 45"} 
[2026-06-02 07:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774022400001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8867376585348020224}} 
[2026-06-02 07:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":89447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:59:19] local.INFO: GPS data processed {"connection_id":89447,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:59:19] local.INFO: Acknowledgment sent {"connection_id":89447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:59:24] local.INFO: TCP Data received {"connection_id":89203,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:24] local.INFO: Processing buffer {"connection_id":89203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:24] local.INFO: IMEI packet received {"connection_id":89203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 07:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":89203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 07:59:25] local.INFO: TCP Data received {"connection_id":89203,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:25] local.INFO: Processing buffer {"connection_id":89203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:25] local.INFO: IMEI packet received {"connection_id":89203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":89203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:59:29] local.INFO: TCP Data received {"connection_id":89203,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:29] local.INFO: Processing buffer {"connection_id":89203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 07:59:29] local.INFO: IMEI packet received {"connection_id":89203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 07:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":89203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 07:59:30] local.INFO: TCP Data received {"connection_id":89203,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8628eaa8012d11850006e2cdc8000e01592b..."} 
[2026-06-02 07:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8628eaa8012d11850006e2cdc8000e01592b..."} 
[2026-06-02 07:59:30] local.INFO: Processing buffer {"connection_id":89203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8628eaa8012d11850006e2cdc8000e01592b..."} 
[2026-06-02 07:59:30] local.INFO: Packet analysis {"connection_id":89203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:30] local.INFO: Extracted packet for processing {"connection_id":89203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756122880,"raw_latitude":115527112,"longitude_deg":75.612288,"latitude_deg":11.5527112,"altitude":14,"angle":345,"satellites":43,"speed":36,"hex_longitude":"2d118500","hex_latitude":"06e2cdc8","is_valid_coordinates":true} 
[2026-06-02 07:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 07:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774023424001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305261128366161920,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263752306259515392,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:30] 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-06-02 07:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780367289000,"timestamp_ms":1780367289000,"timestamp_seconds":1780367289,"priority":1,"record_length":96,"hex_timestamp":"0000019e8628eaa8"} 
[2026-06-02 07:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:59: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-06-02 07:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 07:59:30] 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-06-02 07:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 07:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 07:59:30] 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-06-02 07:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 07:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 07:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774023424001,"66":27843,"111":206,"81":20480,"24":36,"16":305261128366161920,"45":1263752306259515392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-06-02 07:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 07:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 07:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774023424001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:59:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-02 07:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 07:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305261128366161920,"km_value":305261128366161.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263752306259515392,"description":"Unknown IO ID 45"} 
[2026-06-02 07:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774023424001,"power":27843,"unknown_111":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1263752306259515392}} 
[2026-06-02 07:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":89203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:59:30] local.INFO: GPS data processed {"connection_id":89203,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:59:30] local.INFO: Acknowledgment sent {"connection_id":89203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 07:59:50] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8628bbc8012d7b0f8005e346c0000c00b321..."} 
[2026-06-02 07:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8628bbc8012d7b0f8005e346c0000c00b321..."} 
[2026-06-02 07:59:50] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8628bbc8012d7b0f8005e346c0000c00b321..."} 
[2026-06-02 07:59:50] local.INFO: Packet analysis {"connection_id":89447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:50] local.INFO: Extracted packet for processing {"connection_id":89447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8628"} 
[2026-06-02 07:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98780864,"longitude_deg":76.3039616,"latitude_deg":9.8780864,"altitude":12,"angle":179,"satellites":33,"speed":11,"hex_longitude":"2d7b0f80","hex_latitude":"05e346c0","is_valid_coordinates":true} 
[2026-06-02 07: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-06-02 07:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774022656001,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87753006560313344,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954092134400,"note":"Value kept but may cause issues"} 
[2026-06-02 07:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 07:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780367277000,"timestamp_ms":1780367277000,"timestamp_seconds":1780367277,"priority":1,"record_length":96,"hex_timestamp":"0000019e8628bbc8"} 
[2026-06-02 07:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 07:59: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-06-02 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 07:59:50] 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-06-02 07: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-06-02 07:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 07:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 07:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 07:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 07:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 07:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 07:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 07:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774022656001,"66":13015,"97":206,"85":15104,"24":11,"16":87753006560313344,"45":8867446954092134400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 07:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 07:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 07:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774022656001,"description":"Unknown IO ID 0"} 
[2026-06-02 07:59:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 07:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 07:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87753006560313344,"km_value":87753006560313.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 07:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954092134400,"description":"Unknown IO ID 45"} 
[2026-06-02 07:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774022656001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8867446954092134400}} 
[2026-06-02 07:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":89447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 07:59:50] local.INFO: GPS data processed {"connection_id":89447,"processed":1,"errors":0,"total":1} 
[2026-06-02 07:59:50] local.INFO: Acknowledgment sent {"connection_id":89447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:00:02] local.INFO: TCP Data received {"connection_id":89203,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862911b8012d11798006e2f2b0001001572b..."} 
[2026-06-02 08:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862911b8012d11798006e2f2b0001001572b..."} 
[2026-06-02 08:00:02] local.INFO: Processing buffer {"connection_id":89203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862911b8012d11798006e2f2b0001001572b..."} 
[2026-06-02 08:00:02] local.INFO: Packet analysis {"connection_id":89203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8629"} 
[2026-06-02 08:00:02] local.INFO: Extracted packet for processing {"connection_id":89203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8629"} 
[2026-06-02 08:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756119936,"raw_latitude":115536560,"longitude_deg":75.6119936,"latitude_deg":11.553656,"altitude":16,"angle":343,"satellites":43,"speed":42,"hex_longitude":"2d117980","hex_latitude":"06e2f2b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774025984001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305261605107531776,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262415300122232832,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:02] 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-06-02 08:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367299000,"timestamp_ms":1780367299000,"timestamp_seconds":1780367299,"priority":1,"record_length":96,"hex_timestamp":"0000019e862911b8"} 
[2026-06-02 08:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:00: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-06-02 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 08:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:00:02] 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-06-02 08:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774025984001,"66":27908,"111":206,"81":20480,"24":42,"16":305261605107531776,"45":1262415300122232832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-06-02 08:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774025984001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:00:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-02 08:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 08:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305261605107531776,"km_value":305261605107531.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262415300122232832,"description":"Unknown IO ID 45"} 
[2026-06-02 08:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774025984001,"power":27908,"unknown_111":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1262415300122232832}} 
[2026-06-02 08:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":89203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:00:02] local.INFO: GPS data processed {"connection_id":89203,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:00:02] local.INFO: Acknowledgment sent {"connection_id":89203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:00:17] local.INFO: TCP Data received {"connection_id":90671,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:17] local.INFO: Processing buffer {"connection_id":90671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:17] local.INFO: IMEI packet received {"connection_id":90671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":90671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:00:18] local.INFO: TCP Data received {"connection_id":90671,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:18] local.INFO: Processing buffer {"connection_id":90671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:18] local.INFO: IMEI packet received {"connection_id":90671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":90671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:00:22] local.INFO: TCP Data received {"connection_id":90671,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:22] local.INFO: Processing buffer {"connection_id":90671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:00:22] local.INFO: IMEI packet received {"connection_id":90671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":90671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:00:23] local.INFO: TCP Data received {"connection_id":90671,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a84d0012d7b374005e20a58000600ad1f..."} 
[2026-06-02 08:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a84d0012d7b374005e20a58000600ad1f..."} 
[2026-06-02 08:00:23] local.INFO: Processing buffer {"connection_id":90671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a84d0012d7b374005e20a58000600ad1f..."} 
[2026-06-02 08:00:23] local.INFO: Packet analysis {"connection_id":90671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:23] local.INFO: Extracted packet for processing {"connection_id":90671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763049792,"raw_latitude":98699864,"longitude_deg":76.3049792,"latitude_deg":9.8699864,"altitude":6,"angle":173,"satellites":31,"speed":33,"hex_longitude":"2d7b3740","hex_latitude":"05e20a58","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87756992289964032,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439315746945024,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780367394000,"timestamp_ms":1780367394000,"timestamp_seconds":1780367394,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a84d0"} 
[2026-06-02 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-06-02 08:00: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-06-02 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2250856456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3433994767421088256,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3214934026,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147869411,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288989696,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809087488,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2402671696051978245,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:23] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,96,85,24,241,157,16,198,158,50,45,192,4,30,10,66,197,252,120,7,25,213,1,240,133,227,196,134,226,113,205,127,27,232,28,239,51,97,2,55,5,11,35,237,41],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 08:00:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216363130771996672,"timestamp_seconds":216363130771996.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 08:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":90671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":90671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":90671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774050304001,"66":13048,"96":206,"85":15104,"24":33,"16":87756992289964032,"45":8877439315746945024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 08:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:00:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87756992289964032,"km_value":87756992289964.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439315746945024,"description":"Unknown IO ID 45"} 
[2026-06-02 08:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774050304001,"power":13048,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8877439315746945024}} 
[2026-06-02 08:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":90671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:00:23] local.INFO: GPS data processed {"connection_id":90671,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:00:23] local.INFO: Acknowledgment sent {"connection_id":90671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:00:29] local.INFO: TCP Data received {"connection_id":90671,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862aabe0012d7b3b0005e1e558000700ad1b..."} 
[2026-06-02 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862aabe0012d7b3b0005e1e558000700ad1b..."} 
[2026-06-02 08:00:29] local.INFO: Processing buffer {"connection_id":90671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862aabe0012d7b3b0005e1e558000700ad1b..."} 
[2026-06-02 08:00:29] local.INFO: Packet analysis {"connection_id":90671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:29] local.INFO: Extracted packet for processing {"connection_id":90671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":98690392,"longitude_deg":76.3050752,"latitude_deg":9.8690392,"altitude":7,"angle":173,"satellites":27,"speed":39,"hex_longitude":"2d7b3b00","hex_latitude":"05e1e558","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052864001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87757451851464704,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878635584395565056,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780367404000,"timestamp_ms":1780367404000,"timestamp_seconds":1780367404,"priority":1,"record_length":96,"hex_timestamp":"0000019e862aabe0"} 
[2026-06-02 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-06-02 08:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:00:29] 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-06-02 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-06-02 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-06-02 08:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052864001,"66":13015,"96":206,"85":15104,"24":39,"16":87757451851464704,"45":8878635584395565056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 08:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052864001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:00:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87757451851464704,"km_value":87757451851464.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878635584395565056,"description":"Unknown IO ID 45"} 
[2026-06-02 08:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052864001,"power":13015,"unknown_96":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8878635584395565056}} 
[2026-06-02 08:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":90671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:00:29] local.INFO: GPS data processed {"connection_id":90671,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:00:29] local.INFO: Acknowledgment sent {"connection_id":90671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:00:29] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:29] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:29] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:00:30] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:30] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:30] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:00:32] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:32] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:32] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:00:34] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:34] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:00:34] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:00:35] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a59d8012d11244006e45d68000e01512c..."} 
[2026-06-02 08:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a59d8012d11244006e45d68000e01512c..."} 
[2026-06-02 08:00:35] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a59d8012d11244006e45d68000e01512c..."} 
[2026-06-02 08:00:35] local.INFO: Packet analysis {"connection_id":89448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:35] local.INFO: Extracted packet for processing {"connection_id":89448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756098112,"raw_latitude":115629416,"longitude_deg":75.6098112,"latitude_deg":11.5629416,"altitude":14,"angle":337,"satellites":44,"speed":37,"hex_longitude":"2d112440","hex_latitude":"06e45d68","is_valid_coordinates":true} 
[2026-06-02 08:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774047744001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266286621884416,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1240319514474592256,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780367383000,"timestamp_ms":1780367383000,"timestamp_seconds":1780367383,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a59d8"} 
[2026-06-02 08:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 08:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774047744001,"66":27974,"105":206,"81":20480,"24":37,"16":305266286621884416,"45":1240319514474592256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,81,24,16,45]} 
[2026-06-02 08:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774047744001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:00:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 08:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-06-02 08:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266286621884416,"km_value":305266286621884.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1240319514474592256,"description":"Unknown IO ID 45"} 
[2026-06-02 08:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774047744001,"power":27974,"unknown_105":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1240319514474592256}} 
[2026-06-02 08:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":89448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:00:35] local.INFO: GPS data processed {"connection_id":89448,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:00:35] local.INFO: Acknowledgment sent {"connection_id":89448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:00:39] local.INFO: TCP Data received {"connection_id":89204,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:00:39] local.INFO: Processing buffer {"connection_id":89204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:00:39] local.INFO: IMEI packet received {"connection_id":89204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":89204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:00:40] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a7d00012d11184006e47ea0000e01552c..."} 
[2026-06-02 08:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a7d00012d11184006e47ea0000e01552c..."} 
[2026-06-02 08:00:40] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a7d00012d11184006e47ea0000e01552c..."} 
[2026-06-02 08:00:40] local.INFO: Packet analysis {"connection_id":89448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:40] local.INFO: Extracted packet for processing {"connection_id":89448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756095040,"raw_latitude":115637920,"longitude_deg":75.609504,"latitude_deg":11.563792,"altitude":14,"angle":341,"satellites":44,"speed":42,"hex_longitude":"2d111840","hex_latitude":"06e47ea0","is_valid_coordinates":true} 
[2026-06-02 08:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774050048001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266720413581312,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235182596151666688,"note":"Value kept but may cause issues"} 
[2026-06-02 08:00:40] 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-06-02 08:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780367392000,"timestamp_ms":1780367392000,"timestamp_seconds":1780367392,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a7d00"} 
[2026-06-02 08:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:00: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-06-02 08:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 08:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774050048001,"66":27930,"245":206,"80":6400,"24":42,"16":305266720413581312,"45":1235182596151666688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774050048001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:00:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266720413581312,"km_value":305266720413581.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235182596151666688,"description":"Unknown IO ID 45"} 
[2026-06-02 08:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774050048001,"power":27930,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1235182596151666688}} 
[2026-06-02 08:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":89448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:00:40] local.INFO: GPS data processed {"connection_id":89448,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:00:40] local.INFO: Acknowledgment sent {"connection_id":89448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:00:58] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:00:58] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:00:58] local.INFO: IMEI packet received {"connection_id":89618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":89618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:01:13] local.INFO: TCP Data received {"connection_id":89205,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:01:13] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:01:13] local.INFO: IMEI packet received {"connection_id":89205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":89205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:01:18] local.INFO: TCP Data received {"connection_id":89205,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:01:18] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:01:18] local.INFO: IMEI packet received {"connection_id":89205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":89205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:01:18] local.INFO: TCP Data received {"connection_id":89205,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862adac0012d7b3e4005e1c108000700b01a..."} 
[2026-06-02 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862adac0012d7b3e4005e1c108000700b01a..."} 
[2026-06-02 08:01:18] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862adac0012d7b3e4005e1c108000700b01a..."} 
[2026-06-02 08:01:18] local.INFO: Packet analysis {"connection_id":89205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:01:18] local.INFO: Extracted packet for processing {"connection_id":89205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:01:18] local.INFO: GPS Element Parsed {"raw_longitude":763051584,"raw_latitude":98681096,"longitude_deg":76.3051584,"latitude_deg":9.8681096,"altitude":7,"angle":176,"satellites":26,"speed":22,"hex_longitude":"2d7b3e40","hex_latitude":"05e1c108","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774055424001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87757907117998080,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115555805184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780367416000,"timestamp_ms":1780367416000,"timestamp_seconds":1780367416,"priority":1,"record_length":96,"hex_timestamp":"0000019e862adac0"} 
[2026-06-02 08:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":215,"data_length":795,"current_offset":136} 
[2026-06-02 08:01: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-06-02 08: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-06-02 08:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774055424001,"66":12841,"96":206,"85":15104,"24":22,"16":87757907117998080,"45":8879691115555805184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 08:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774055424001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:01:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87757907117998080,"km_value":87757907117998.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115555805184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774055424001,"power":12841,"unknown_96":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8879691115555805184}} 
[2026-06-02 08:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":89205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:01:18] local.INFO: GPS data processed {"connection_id":89205,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:01:18] local.INFO: Acknowledgment sent {"connection_id":89205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:01:24] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:01:24] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:01:24] local.INFO: IMEI packet received {"connection_id":89449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":89449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:01:30] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:01:30] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:01:30] local.INFO: IMEI packet received {"connection_id":89449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":89449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:01:30] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:01:30] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:01:30] local.INFO: Packet analysis {"connection_id":89449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:01:30] local.INFO: Extracted packet for processing {"connection_id":89449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01: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-06-02 08:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:01: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-06-02 08:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:01: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-06-02 08:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:01:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":89449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:01:30] local.INFO: GPS data processed {"connection_id":89449,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:01:30] local.INFO: Acknowledgment sent {"connection_id":89449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:01:49] local.INFO: TCP Data received {"connection_id":89205,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862b28e0012d7b424005e1a798000b00b11d..."} 
[2026-06-02 08:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862b28e0012d7b424005e1a798000b00b11d..."} 
[2026-06-02 08:01:49] local.INFO: Processing buffer {"connection_id":89205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862b28e0012d7b424005e1a798000b00b11d..."} 
[2026-06-02 08:01:49] local.INFO: Packet analysis {"connection_id":89205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862b"} 
[2026-06-02 08:01:49] local.INFO: Extracted packet for processing {"connection_id":89205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862b"} 
[2026-06-02 08:01:49] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98674584,"longitude_deg":76.3052608,"latitude_deg":9.8674584,"altitude":11,"angle":177,"satellites":29,"speed":5,"hex_longitude":"2d7b4240","hex_latitude":"05e1a798","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774058496001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87758229240545280,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880605909227735040,"note":"Value kept but may cause issues"} 
[2026-06-02 08:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780367436000,"timestamp_ms":1780367436000,"timestamp_seconds":1780367436,"priority":1,"record_length":96,"hex_timestamp":"0000019e862b28e0"} 
[2026-06-02 08:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:01: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-06-02 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 08:01: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-06-02 08: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-06-02 08:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774058496001,"66":12515,"169":206,"85":15104,"24":5,"16":87758229240545280,"45":8880605909227735040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774058496001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:01:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:01:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87758229240545280,"km_value":87758229240545.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880605909227735040,"description":"Unknown IO ID 45"} 
[2026-06-02 08:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774058496001,"power":12515,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8880605909227735040}} 
[2026-06-02 08:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":89205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:01:49] local.INFO: GPS data processed {"connection_id":89205,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:01:49] local.INFO: Acknowledgment sent {"connection_id":89205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:02:02] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:02:02] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:02:02] local.INFO: Packet analysis {"connection_id":89449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:02:02] local.INFO: Extracted packet for processing {"connection_id":89449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:02] 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-06-02 08:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:02: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-06-02 08:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:02: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-06-02 08:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:02:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":89449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:02:02] local.INFO: GPS data processed {"connection_id":89449,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:02:02] local.INFO: Acknowledgment sent {"connection_id":89449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:02:13] local.INFO: TCP Data received {"connection_id":90672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:02:13] local.INFO: Processing buffer {"connection_id":90672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:02:13] local.INFO: IMEI packet received {"connection_id":90672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":90672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:02:17] local.INFO: TCP Data received {"connection_id":90672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:02:17] local.INFO: Processing buffer {"connection_id":90672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:02:17] local.INFO: IMEI packet received {"connection_id":90672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":90672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:02:18] local.INFO: TCP Data received {"connection_id":90672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862b4438012d7b418005e1a1c8000c00c61e..."} 
[2026-06-02 08:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862b4438012d7b418005e1a1c8000c00c61e..."} 
[2026-06-02 08:02:18] local.INFO: Processing buffer {"connection_id":90672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862b4438012d7b418005e1a1c8000c00c61e..."} 
[2026-06-02 08:02:18] local.INFO: Packet analysis {"connection_id":90672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862b"} 
[2026-06-02 08:02:18] local.INFO: Extracted packet for processing {"connection_id":90672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862b"} 
[2026-06-02 08:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763052416,"raw_latitude":98673096,"longitude_deg":76.3052416,"latitude_deg":9.8673096,"altitude":12,"angle":198,"satellites":30,"speed":6,"hex_longitude":"2d7b4180","hex_latitude":"05e1a1c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774063616001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87758302254989312,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809132910592,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780367443000,"timestamp_ms":1780367443000,"timestamp_seconds":1780367443,"priority":1,"record_length":96,"hex_timestamp":"0000019e862b4438"} 
[2026-06-02 08:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 08:02:18] 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-06-02 08: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-06-02 08:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774063616001,"66":12950,"169":206,"85":15104,"24":6,"16":87758302254989312,"45":8881731809132910592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774063616001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:02:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87758302254989312,"km_value":87758302254989.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809132910592,"description":"Unknown IO ID 45"} 
[2026-06-02 08:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774063616001,"power":12950,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8881731809132910592}} 
[2026-06-02 08:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":90672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:02:18] local.INFO: GPS data processed {"connection_id":90672,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:02:18] local.INFO: Acknowledgment sent {"connection_id":90672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:02:24] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:02:24] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:02:24] local.INFO: IMEI packet received {"connection_id":89621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":89621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:02:30] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:02:30] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:02:30] local.INFO: IMEI packet received {"connection_id":89621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":89621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:02:31] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:02:31] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:02:31] local.INFO: Packet analysis {"connection_id":89621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:02:31] local.INFO: Extracted packet for processing {"connection_id":89621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:31] 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-06-02 08:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:02: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-06-02 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:02: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-06-02 08:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:02:31] 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-06-02 08:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"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-06-02 08:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:02:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":89621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:02:31] local.INFO: GPS data processed {"connection_id":89621,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:02:31] local.INFO: Acknowledgment sent {"connection_id":89621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:02:50] local.INFO: TCP Data received {"connection_id":90672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862b7318012d7b414005e19f10000c00b51f..."} 
[2026-06-02 08:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862b7318012d7b414005e19f10000c00b51f..."} 
[2026-06-02 08:02:50] local.INFO: Processing buffer {"connection_id":90672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862b7318012d7b414005e19f10000c00b51f..."} 
[2026-06-02 08:02:50] local.INFO: Packet analysis {"connection_id":90672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862b"} 
[2026-06-02 08:02:50] local.INFO: Extracted packet for processing {"connection_id":90672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862b"} 
[2026-06-02 08:02:50] local.INFO: GPS Element Parsed {"raw_longitude":763052352,"raw_latitude":98672400,"longitude_deg":76.3052352,"latitude_deg":9.86724,"altitude":12,"angle":181,"satellites":31,"speed":7,"hex_longitude":"2d7b4140","hex_latitude":"05e19f10","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774065408001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87758345204662272,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881520702899996672,"note":"Value kept but may cause issues"} 
[2026-06-02 08:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780367455000,"timestamp_ms":1780367455000,"timestamp_seconds":1780367455,"priority":1,"record_length":96,"hex_timestamp":"0000019e862b7318"} 
[2026-06-02 08:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:02: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-06-02 08:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774065408001,"66":12928,"169":206,"85":15104,"24":7,"16":87758345204662272,"45":8881520702899996672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774065408001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:02:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:02:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87758345204662272,"km_value":87758345204662.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881520702899996672,"description":"Unknown IO ID 45"} 
[2026-06-02 08:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774065408001,"power":12928,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8881520702899996672}} 
[2026-06-02 08:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":90672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:02:50] local.INFO: GPS data processed {"connection_id":90672,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:02:50] local.INFO: Acknowledgment sent {"connection_id":90672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:03:02] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:03:02] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:03:02] local.INFO: Packet analysis {"connection_id":89621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:03:02] local.INFO: Extracted packet for processing {"connection_id":89621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:02] 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-06-02 08:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:03: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-06-02 08:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:03: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-06-02 08:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:03: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-06-02 08:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"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-06-02 08:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:03:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":89621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:03:02] local.INFO: GPS data processed {"connection_id":89621,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:03:02] local.INFO: Acknowledgment sent {"connection_id":89621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:03:13] local.INFO: TCP Data received {"connection_id":90673,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:13] local.INFO: Processing buffer {"connection_id":90673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:13] local.INFO: IMEI packet received {"connection_id":90673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":90673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:03:13] local.INFO: TCP Data received {"connection_id":90673,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:13] local.INFO: Processing buffer {"connection_id":90673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:13] local.INFO: IMEI packet received {"connection_id":90673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":90673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:03:17] local.INFO: TCP Data received {"connection_id":90673,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:17] local.INFO: Processing buffer {"connection_id":90673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:03:17] local.INFO: IMEI packet received {"connection_id":90673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":90673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:03:19] local.INFO: TCP Data received {"connection_id":90673,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862d43f0012d7b474005e15be8000d013922..."} 
[2026-06-02 08:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862d43f0012d7b474005e15be8000d013922..."} 
[2026-06-02 08:03:19] local.INFO: Processing buffer {"connection_id":90673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862d43f0012d7b474005e15be8000d013922..."} 
[2026-06-02 08:03:19] local.INFO: Packet analysis {"connection_id":90673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:03:19] local.INFO: Extracted packet for processing {"connection_id":90673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763053888,"raw_latitude":98655208,"longitude_deg":76.3053888,"latitude_deg":9.8655208,"altitude":13,"angle":313,"satellites":34,"speed":3,"hex_longitude":"2d7b4740","hex_latitude":"05e15be8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774098688001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87759238557859840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883209552755650560,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780367574000,"timestamp_ms":1780367574000,"timestamp_seconds":1780367574,"priority":1,"record_length":96,"hex_timestamp":"0000019e862d43f0"} 
[2026-06-02 08:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:03: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-06-02 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 08:03: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-06-02 08: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-06-02 08:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774098688001,"66":13102,"170":206,"85":15104,"24":3,"16":87759238557859840,"45":8883209552755650560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-02 08:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774098688001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:03:19] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 08:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87759238557859840,"km_value":87759238557859.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883209552755650560,"description":"Unknown IO ID 45"} 
[2026-06-02 08:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774098688001,"power":13102,"unknown_170":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8883209552755650560}} 
[2026-06-02 08:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":90673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:03:19] local.INFO: GPS data processed {"connection_id":90673,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:03:19] local.INFO: Acknowledgment sent {"connection_id":90673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:03:29] local.INFO: TCP Data received {"connection_id":89207,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:03:29] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:03:29] local.INFO: IMEI packet received {"connection_id":89207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":89207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:03:34] local.INFO: TCP Data received {"connection_id":89207,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:03:34] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:03:34] local.INFO: IMEI packet received {"connection_id":89207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":89207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:03:36] local.INFO: TCP Data received {"connection_id":89207,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:03:36] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:03:36] local.INFO: Packet analysis {"connection_id":89207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:03:36] local.INFO: Extracted packet for processing {"connection_id":89207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:36] 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-06-02 08:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:03:36] 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-06-02 08:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:03:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":89207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:03:36] local.INFO: GPS data processed {"connection_id":89207,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:03:36] local.INFO: Acknowledgment sent {"connection_id":89207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:03:50] local.INFO: TCP Data received {"connection_id":90673,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862d47d8012d7b46c005e15c88000d014521..."} 
[2026-06-02 08:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862d47d8012d7b46c005e15c88000d014521..."} 
[2026-06-02 08:03:50] local.INFO: Processing buffer {"connection_id":90673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862d47d8012d7b46c005e15c88000d014521..."} 
[2026-06-02 08:03:50] local.INFO: Packet analysis {"connection_id":90673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:03:50] local.INFO: Extracted packet for processing {"connection_id":90673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:03:50] local.INFO: GPS Element Parsed {"raw_longitude":763053760,"raw_latitude":98655368,"longitude_deg":76.305376,"latitude_deg":9.8655368,"altitude":13,"angle":325,"satellites":33,"speed":5,"hex_longitude":"2d7b46c0","hex_latitude":"05e15c88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774098944001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87759247147794432,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883139184011503616,"note":"Value kept but may cause issues"} 
[2026-06-02 08:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780367575000,"timestamp_ms":1780367575000,"timestamp_seconds":1780367575,"priority":1,"record_length":96,"hex_timestamp":"0000019e862d47d8"} 
[2026-06-02 08:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:03: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-06-02 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 08:03:50] 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-06-02 08: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-06-02 08:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774098944001,"66":13048,"170":206,"85":15104,"24":5,"16":87759247147794432,"45":8883139184011503616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-02 08:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774098944001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:03:50] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 08:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87759247147794432,"km_value":87759247147794.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883139184011503616,"description":"Unknown IO ID 45"} 
[2026-06-02 08:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774098944001,"power":13048,"unknown_170":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8883139184011503616}} 
[2026-06-02 08:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":90673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:03:50] local.INFO: GPS data processed {"connection_id":90673,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:03:50] local.INFO: Acknowledgment sent {"connection_id":90673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:04:07] local.INFO: TCP Data received {"connection_id":89207,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:04:07] local.INFO: Processing buffer {"connection_id":89207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:04:07] local.INFO: Packet analysis {"connection_id":89207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:04:07] local.INFO: Extracted packet for processing {"connection_id":89207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:07] 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-06-02 08:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:04:07] 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-06-02 08:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:04:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":89207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:04:07] local.INFO: GPS data processed {"connection_id":89207,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:04:07] local.INFO: Acknowledgment sent {"connection_id":89207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:04:12] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:04:12] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:04:12] local.INFO: IMEI packet received {"connection_id":89623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":89623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:04:17] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:04:17] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:04:17] local.INFO: IMEI packet received {"connection_id":89623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":89623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:04:18] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862d4bc0012d7b468005e15d20000d015a22..."} 
[2026-06-02 08:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862d4bc0012d7b468005e15d20000d015a22..."} 
[2026-06-02 08:04:18] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862d4bc0012d7b468005e15d20000d015a22..."} 
[2026-06-02 08:04:18] local.INFO: Packet analysis {"connection_id":89623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:04:18] local.INFO: Extracted packet for processing {"connection_id":89623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763053696,"raw_latitude":98655520,"longitude_deg":76.3053696,"latitude_deg":9.865552,"altitude":13,"angle":346,"satellites":34,"speed":6,"hex_longitude":"2d7b4680","hex_latitude":"05e15d20","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774099200001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87759255737729024,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882998446523189248,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780367576000,"timestamp_ms":1780367576000,"timestamp_seconds":1780367576,"priority":1,"record_length":96,"hex_timestamp":"0000019e862d4bc0"} 
[2026-06-02 08:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:04:18] 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-06-02 08: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-06-02 08:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774099200001,"66":13048,"170":206,"85":15104,"24":6,"16":87759255737729024,"45":8882998446523189248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-02 08:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774099200001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:04:18] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 08:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87759255737729024,"km_value":87759255737729.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882998446523189248,"description":"Unknown IO ID 45"} 
[2026-06-02 08:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774099200001,"power":13048,"unknown_170":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8882998446523189248}} 
[2026-06-02 08:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":89623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:04:18] local.INFO: GPS data processed {"connection_id":89623,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:04:18] local.INFO: Acknowledgment sent {"connection_id":89623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:04:24] local.INFO: TCP Data received {"connection_id":90674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:04:24] local.INFO: Processing buffer {"connection_id":90674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:04:24] local.INFO: IMEI packet received {"connection_id":90674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":90674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:04:30] local.INFO: TCP Data received {"connection_id":90674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:04:30] local.INFO: Processing buffer {"connection_id":90674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:04:30] local.INFO: IMEI packet received {"connection_id":90674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":90674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:04:32] local.INFO: TCP Data received {"connection_id":90674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:04:32] local.INFO: Processing buffer {"connection_id":90674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:04:32] local.INFO: Packet analysis {"connection_id":90674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:04:32] local.INFO: Extracted packet for processing {"connection_id":90674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:32] 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-06-02 08:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:04:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":90674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:04:32] local.INFO: GPS data processed {"connection_id":90674,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:04:32] local.INFO: Acknowledgment sent {"connection_id":90674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:04:50] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862d8658012d7b3f4005e180c0000d01601e..."} 
[2026-06-02 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862d8658012d7b3f4005e180c0000d01601e..."} 
[2026-06-02 08:04:50] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862d8658012d7b3f4005e180c0000d01601e..."} 
[2026-06-02 08:04:50] local.INFO: Packet analysis {"connection_id":89623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:04:50] local.INFO: Extracted packet for processing {"connection_id":89623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:04:50] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98664640,"longitude_deg":76.305184,"latitude_deg":9.866464,"altitude":13,"angle":352,"satellites":30,"speed":37,"hex_longitude":"2d7b3f40","hex_latitude":"05e180c0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774099456001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87759706709295104,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077779050496,"note":"Value kept but may cause issues"} 
[2026-06-02 08:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780367591000,"timestamp_ms":1780367591000,"timestamp_seconds":1780367591,"priority":1,"record_length":96,"hex_timestamp":"0000019e862d8658"} 
[2026-06-02 08:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:04: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-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:04:50] 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-06-02 08: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-06-02 08:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774099456001,"66":13352,"170":206,"85":15104,"24":37,"16":87759706709295104,"45":8882928077779050496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-02 08:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774099456001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:04:50] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 08:04:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87759706709295104,"km_value":87759706709295.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077779050496,"description":"Unknown IO ID 45"} 
[2026-06-02 08:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774099456001,"power":13352,"unknown_170":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8882928077779050496}} 
[2026-06-02 08:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":89623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:04:50] local.INFO: GPS data processed {"connection_id":89623,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:04:50] local.INFO: Acknowledgment sent {"connection_id":89623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:05:03] local.INFO: TCP Data received {"connection_id":90674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:05:03] local.INFO: Processing buffer {"connection_id":90674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:05:03] local.INFO: Packet analysis {"connection_id":90674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:05:03] local.INFO: Extracted packet for processing {"connection_id":90674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:03] 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-06-02 08:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:05: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-06-02 08:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":90674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:05:03] local.INFO: GPS data processed {"connection_id":90674,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:05:03] local.INFO: Acknowledgment sent {"connection_id":90674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:05:12] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:05:12] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:05:12] local.INFO: IMEI packet received {"connection_id":89450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":89450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:05:17] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:05:17] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:05:17] local.INFO: IMEI packet received {"connection_id":89450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":89450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:05:18] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862db150012d7b3b0005e1a3e0000d01611d..."} 
[2026-06-02 08:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862db150012d7b3b0005e1a3e0000d01611d..."} 
[2026-06-02 08:05:18] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862db150012d7b3b0005e1a3e0000d01611d..."} 
[2026-06-02 08:05:18] local.INFO: Packet analysis {"connection_id":89450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:05:18] local.INFO: Extracted packet for processing {"connection_id":89450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862d"} 
[2026-06-02 08:05:18] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":98673632,"longitude_deg":76.3050752,"latitude_deg":9.8673632,"altitude":13,"angle":353,"satellites":29,"speed":20,"hex_longitude":"2d7b3b00","hex_latitude":"05e1a3e0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774103296001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87760149090926592,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384200232960,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780367602000,"timestamp_ms":1780367602000,"timestamp_seconds":1780367602,"priority":1,"record_length":96,"hex_timestamp":"0000019e862db150"} 
[2026-06-02 08:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:05: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-06-02 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 08:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774103296001,"66":13178,"170":206,"85":15104,"24":20,"16":87760149090926592,"45":8880887384200232960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-02 08:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774103296001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:05:18] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 08:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87760149090926592,"km_value":87760149090926.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384200232960,"description":"Unknown IO ID 45"} 
[2026-06-02 08:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774103296001,"power":13178,"unknown_170":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8880887384200232960}} 
[2026-06-02 08:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":89450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:05:18] local.INFO: GPS data processed {"connection_id":89450,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:05:18] local.INFO: Acknowledgment sent {"connection_id":89450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:05:25] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:05:25] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:05:25] local.INFO: IMEI packet received {"connection_id":89451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":89451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:05:30] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:05:30] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:05:30] local.INFO: IMEI packet received {"connection_id":89451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":89451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:05:31] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:05:31] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862a80e8012d1116c006e48298000f01542b..."} 
[2026-06-02 08:05:31] local.INFO: Packet analysis {"connection_id":89451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:05:31] local.INFO: Extracted packet for processing {"connection_id":89451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862a"} 
[2026-06-02 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115638936,"longitude_deg":75.6094656,"latitude_deg":11.5638936,"altitude":15,"angle":340,"satellites":43,"speed":42,"hex_longitude":"2d1116c0","hex_latitude":"06e48298","is_valid_coordinates":true} 
[2026-06-02 08:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231804896433315840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:31] 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-06-02 08:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367393000,"timestamp_ms":1780367393000,"timestamp_seconds":1780367393,"priority":1,"record_length":96,"hex_timestamp":"0000019e862a80e8"} 
[2026-06-02 08:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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-06-02 08: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-06-02 08: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-06-02 08:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:05:31] 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-06-02 08:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052352001,"66":27919,"245":206,"80":6400,"24":42,"16":305266776248156160,"45":1231804896433315840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:05:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231804896433315840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052352001,"power":27919,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1231804896433315840}} 
[2026-06-02 08:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":89451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:05:31] local.INFO: GPS data processed {"connection_id":89451,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:05:31] local.INFO: Acknowledgment sent {"connection_id":89451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:05:49] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f8610012d7b2b8005e233c80009015d25..."} 
[2026-06-02 08:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f8610012d7b2b8005e233c80009015d25..."} 
[2026-06-02 08:05:49] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f8610012d7b2b8005e233c80009015d25..."} 
[2026-06-02 08:05:49] local.INFO: Packet analysis {"connection_id":89450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:05:49] local.INFO: Extracted packet for processing {"connection_id":89450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763046784,"raw_latitude":98710472,"longitude_deg":76.3046784,"latitude_deg":9.8710472,"altitude":9,"angle":349,"satellites":37,"speed":5,"hex_longitude":"2d7b2b80","hex_latitude":"05e233c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774131712001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87761957272158208,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875609728397682688,"note":"Value kept but may cause issues"} 
[2026-06-02 08:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780367722000,"timestamp_ms":1780367722000,"timestamp_seconds":1780367722,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f8610"} 
[2026-06-02 08:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 08:05:49] 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-06-02 08:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774131712001,"66":13091,"169":206,"85":15104,"24":5,"16":87761957272158208,"45":8875609728397682688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774131712001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:05:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87761957272158208,"km_value":87761957272158.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875609728397682688,"description":"Unknown IO ID 45"} 
[2026-06-02 08:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774131712001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8875609728397682688}} 
[2026-06-02 08:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":89450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:05:49] local.INFO: GPS data processed {"connection_id":89450,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:05:49] local.INFO: Acknowledgment sent {"connection_id":89450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:06:03] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:06:03] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:06:03] local.INFO: Packet analysis {"connection_id":89451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:03] local.INFO: Extracted packet for processing {"connection_id":89451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:03] 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-06-02 08:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:06: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-06-02 08:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:06:03] 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-06-02 08:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":89451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:06:03] local.INFO: GPS data processed {"connection_id":89451,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:06:03] local.INFO: Acknowledgment sent {"connection_id":89451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:06:10] local.INFO: TCP Data received {"connection_id":89452,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:06:10] local.INFO: Processing buffer {"connection_id":89452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:06:10] local.INFO: IMEI packet received {"connection_id":89452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":89452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:06:12] local.INFO: TCP Data received {"connection_id":90675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:06:12] local.INFO: Processing buffer {"connection_id":90675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:06:12] local.INFO: IMEI packet received {"connection_id":90675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":90675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:06:17] local.INFO: TCP Data received {"connection_id":90675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:06:17] local.INFO: Processing buffer {"connection_id":90675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:06:17] local.INFO: IMEI packet received {"connection_id":90675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":90675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:06:18] local.INFO: TCP Data received {"connection_id":90675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862fad20012d7b2ac005e23aa00009000125..."} 
[2026-06-02 08:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862fad20012d7b2ac005e23aa00009000125..."} 
[2026-06-02 08:06:18] local.INFO: Processing buffer {"connection_id":90675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862fad20012d7b2ac005e23aa00009000125..."} 
[2026-06-02 08:06:18] local.INFO: Packet analysis {"connection_id":90675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:18] local.INFO: Extracted packet for processing {"connection_id":90675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763046592,"raw_latitude":98712224,"longitude_deg":76.3046592,"latitude_deg":9.8712224,"altitude":9,"angle":1,"satellites":37,"speed":8,"hex_longitude":"2d7b2ac0","hex_latitude":"05e23aa0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774136832001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87762047466471424,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253421930496,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780367732000,"timestamp_ms":1780367732000,"timestamp_seconds":1780367732,"priority":1,"record_length":96,"hex_timestamp":"0000019e862fad20"} 
[2026-06-02 08:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:06: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-06-02 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 08:06:18] 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-06-02 08: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-06-02 08:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774136832001,"66":13287,"169":206,"85":15104,"24":8,"16":87762047466471424,"45":8875328253421930496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774136832001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:06:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87762047466471424,"km_value":87762047466471.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253421930496,"description":"Unknown IO ID 45"} 
[2026-06-02 08:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774136832001,"power":13287,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8875328253421930496}} 
[2026-06-02 08:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":90675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:06:18] local.INFO: GPS data processed {"connection_id":90675,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:06:18] local.INFO: Acknowledgment sent {"connection_id":90675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:06:24] local.INFO: TCP Data received {"connection_id":89625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:06:24] local.INFO: Processing buffer {"connection_id":89625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:06:24] local.INFO: IMEI packet received {"connection_id":89625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":89625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:06:29] local.INFO: TCP Data received {"connection_id":89625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:06:29] local.INFO: Processing buffer {"connection_id":89625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:06:29] local.INFO: IMEI packet received {"connection_id":89625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":89625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:06:31] local.INFO: TCP Data received {"connection_id":89625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:06:31] local.INFO: Processing buffer {"connection_id":89625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:06:31] local.INFO: Packet analysis {"connection_id":89625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:31] local.INFO: Extracted packet for processing {"connection_id":89625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:31] 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-06-02 08:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:06:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":89625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:06:31] local.INFO: GPS data processed {"connection_id":89625,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:06:31] local.INFO: Acknowledgment sent {"connection_id":89625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:06:49] local.INFO: TCP Data received {"connection_id":90675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e862fcc60012d7b298005e243380009015f25..."} 
[2026-06-02 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862fcc60012d7b298005e243380009015f25..."} 
[2026-06-02 08:06:49] local.INFO: Processing buffer {"connection_id":90675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862fcc60012d7b298005e243380009015f25..."} 
[2026-06-02 08:06:49] local.INFO: Packet analysis {"connection_id":90675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:49] local.INFO: Extracted packet for processing {"connection_id":90675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763046272,"raw_latitude":98714424,"longitude_deg":76.3046272,"latitude_deg":9.8714424,"altitude":9,"angle":351,"satellites":37,"speed":18,"hex_longitude":"2d7b2980","hex_latitude":"05e24338","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774139392001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87762154840653824,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147189846016,"note":"Value kept but may cause issues"} 
[2026-06-02 08:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780367740000,"timestamp_ms":1780367740000,"timestamp_seconds":1780367740,"priority":1,"record_length":96,"hex_timestamp":"0000019e862fcc60"} 
[2026-06-02 08:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-06-02 08:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774139392001,"66":13276,"169":206,"85":15104,"24":18,"16":87762154840653824,"45":8875117147189846016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774139392001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:06:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87762154840653824,"km_value":87762154840653.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147189846016,"description":"Unknown IO ID 45"} 
[2026-06-02 08:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774139392001,"power":13276,"unknown_169":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8875117147189846016}} 
[2026-06-02 08:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":90675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:06:49] local.INFO: GPS data processed {"connection_id":90675,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:06:49] local.INFO: Acknowledgment sent {"connection_id":90675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:07:02] local.INFO: TCP Data received {"connection_id":89625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:02] local.INFO: Processing buffer {"connection_id":89625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:02] local.INFO: Packet analysis {"connection_id":89625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:07:02] local.INFO: Extracted packet for processing {"connection_id":89625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:02] 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-06-02 08:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:07:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":89625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:07:02] local.INFO: GPS data processed {"connection_id":89625,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:07:02] local.INFO: Acknowledgment sent {"connection_id":89625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:07:17] local.INFO: TCP Data received {"connection_id":89208,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:07:17] local.INFO: Processing buffer {"connection_id":89208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:07:17] local.INFO: IMEI packet received {"connection_id":89208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":89208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:07:22] local.INFO: TCP Data received {"connection_id":89208,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:07:22] local.INFO: Processing buffer {"connection_id":89208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:07:22] local.INFO: IMEI packet received {"connection_id":89208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":89208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:07:23] local.INFO: TCP Data received {"connection_id":89208,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86300ae0012d7b238005e267600009016119..."} 
[2026-06-02 08:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86300ae0012d7b238005e267600009016119..."} 
[2026-06-02 08:07:23] local.INFO: Processing buffer {"connection_id":89208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86300ae0012d7b238005e267600009016119..."} 
[2026-06-02 08:07:23] local.INFO: Packet analysis {"connection_id":89208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:07:23] local.INFO: Extracted packet for processing {"connection_id":89208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763044736,"raw_latitude":98723680,"longitude_deg":76.3044736,"latitude_deg":9.872368,"altitude":9,"angle":353,"satellites":25,"speed":26,"hex_longitude":"2d7b2380","hex_latitude":"05e26760","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774141440001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87762610107187200,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874765303469520896,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780367756000,"timestamp_ms":1780367756000,"timestamp_seconds":1780367756,"priority":1,"record_length":96,"hex_timestamp":"0000019e86300ae0"} 
[2026-06-02 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-06-02 08:07: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-06-02 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 08:07: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-06-02 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-06-02 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-06-02 08:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774141440001,"66":13091,"169":206,"85":15104,"24":26,"16":87762610107187200,"45":8874765303469520896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774141440001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:07:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87762610107187200,"km_value":87762610107187.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874765303469520896,"description":"Unknown IO ID 45"} 
[2026-06-02 08:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774141440001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8874765303469520896}} 
[2026-06-02 08:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":89208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:07:23] local.INFO: GPS data processed {"connection_id":89208,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:07:23] local.INFO: Acknowledgment sent {"connection_id":89208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:07:28] local.INFO: TCP Data received {"connection_id":89208,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863035d8012d7b1fc005e28aa80009015d1e..."} 
[2026-06-02 08:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863035d8012d7b1fc005e28aa80009015d1e..."} 
[2026-06-02 08:07:28] local.INFO: Processing buffer {"connection_id":89208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863035d8012d7b1fc005e28aa80009015d1e..."} 
[2026-06-02 08:07:28] local.INFO: Packet analysis {"connection_id":89208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:07:28] local.INFO: Extracted packet for processing {"connection_id":89208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763043776,"raw_latitude":98732712,"longitude_deg":76.3043776,"latitude_deg":9.8732712,"altitude":9,"angle":349,"satellites":30,"speed":31,"hex_longitude":"2d7b1fc0","hex_latitude":"05e28aa8","is_valid_coordinates":true} 
[2026-06-02 08:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774145536001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87763052488818688,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873076453611626496,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780367767000,"timestamp_ms":1780367767000,"timestamp_seconds":1780367767,"priority":1,"record_length":96,"hex_timestamp":"0000019e863035d8"} 
[2026-06-02 08:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 08:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774145536001,"66":13037,"169":206,"85":15104,"24":31,"16":87763052488818688,"45":8873076453611626496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 08:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774145536001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:07:28] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 08:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87763052488818688,"km_value":87763052488818.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873076453611626496,"description":"Unknown IO ID 45"} 
[2026-06-02 08:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774145536001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8873076453611626496}} 
[2026-06-02 08:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":89208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:07:28] local.INFO: GPS data processed {"connection_id":89208,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:07:28] local.INFO: Acknowledgment sent {"connection_id":89208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:07:29] local.INFO: TCP Data received {"connection_id":90676,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:07:29] local.INFO: Processing buffer {"connection_id":90676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:07:29] local.INFO: IMEI packet received {"connection_id":90676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":90676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:07:34] local.INFO: TCP Data received {"connection_id":90676,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:07:34] local.INFO: Processing buffer {"connection_id":90676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:07:34] local.INFO: IMEI packet received {"connection_id":90676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":90676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:07:35] local.INFO: TCP Data received {"connection_id":90676,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:35] local.INFO: Processing buffer {"connection_id":90676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:35] local.INFO: Packet analysis {"connection_id":90676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:07:35] local.INFO: Extracted packet for processing {"connection_id":90676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:35] 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-06-02 08:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":90676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:07:35] local.INFO: GPS data processed {"connection_id":90676,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:07:35] local.INFO: Acknowledgment sent {"connection_id":90676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:07:40] local.INFO: TCP Data received {"connection_id":90676,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:40] local.INFO: Processing buffer {"connection_id":90676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:07:40] local.INFO: Packet analysis {"connection_id":90676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:07:40] local.INFO: Extracted packet for processing {"connection_id":90676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:07:40] 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-06-02 08:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:07:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":90676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:07:40] local.INFO: GPS data processed {"connection_id":90676,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:07:40] local.INFO: Acknowledgment sent {"connection_id":90676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:08:13] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:13] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:13] local.INFO: IMEI packet received {"connection_id":89454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":89454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:08:13] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:13] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:13] local.INFO: IMEI packet received {"connection_id":89454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":89454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:08:17] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:17] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:08:17] local.INFO: IMEI packet received {"connection_id":89454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":89454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:08:18] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863064b8012d7b1a0005e2ad000008015e1b..."} 
[2026-06-02 08:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863064b8012d7b1a0005e2ad000008015e1b..."} 
[2026-06-02 08:08:18] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863064b8012d7b1a0005e2ad000008015e1b..."} 
[2026-06-02 08:08:18] local.INFO: Packet analysis {"connection_id":89454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:08:18] local.INFO: Extracted packet for processing {"connection_id":89454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763042304,"raw_latitude":98741504,"longitude_deg":76.3042304,"latitude_deg":9.8741504,"altitude":8,"angle":350,"satellites":27,"speed":35,"hex_longitude":"2d7b1a00","hex_latitude":"05e2ad00","is_valid_coordinates":true} 
[2026-06-02 08:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774148352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87763481985548288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872020922451273728,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780367779000,"timestamp_ms":1780367779000,"timestamp_seconds":1780367779,"priority":1,"record_length":96,"hex_timestamp":"0000019e863064b8"} 
[2026-06-02 08:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:08: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-06-02 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 08:08:18] 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-06-02 08: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-06-02 08:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774148352001,"66":13059,"96":206,"85":15104,"24":35,"16":87763481985548288,"45":8872020922451273728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 08:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774148352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:08:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87763481985548288,"km_value":87763481985548.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872020922451273728,"description":"Unknown IO ID 45"} 
[2026-06-02 08:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774148352001,"power":13059,"unknown_96":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8872020922451273728}} 
[2026-06-02 08:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":89454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:08:18] local.INFO: GPS data processed {"connection_id":89454,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:08:18] local.INFO: Acknowledgment sent {"connection_id":89454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:08:23] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86308bc8012d7b138005e2d1880008015f18..."} 
[2026-06-02 08:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86308bc8012d7b138005e2d1880008015f18..."} 
[2026-06-02 08:08:23] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86308bc8012d7b138005e2d1880008015f18..."} 
[2026-06-02 08:08:23] local.INFO: Packet analysis {"connection_id":89454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:08:23] local.INFO: Extracted packet for processing {"connection_id":89454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98750856,"longitude_deg":76.304064,"latitude_deg":9.8750856,"altitude":8,"angle":351,"satellites":24,"speed":39,"hex_longitude":"2d7b1380","hex_latitude":"05e2d188","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774151424001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87763945842016256,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870402441337438208,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780367789000,"timestamp_ms":1780367789000,"timestamp_seconds":1780367789,"priority":1,"record_length":96,"hex_timestamp":"0000019e86308bc8"} 
[2026-06-02 08:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:08: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-06-02 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036263,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2251241456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":922746880,"corrected_to":0} 
[2026-06-02 08:08:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2147869235,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":590173,"corrected_to":0} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3406364672,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3794085888,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:23] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,85,24,241,157,16,204,158,53,45,192,138,9,30,10,66,169,128,103,25,203,1,240,220,227,134,226,4,113,205,8,43,200,37,239,51,2,55,5],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":203,"original":922746880,"validated":0},{"io_id":205,"original":2812870862,"validated":0},{"io_id":200,"original":590173,"validated":0}]} 
[2026-06-02 08:08:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576845697339555840,"timestamp_seconds":576845697339555.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774151424001,"66":13102,"96":206,"85":15104,"24":39,"16":87763945842016256,"45":8870402441337438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 08:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774151424001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:08:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87763945842016256,"km_value":87763945842016.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870402441337438208,"description":"Unknown IO ID 45"} 
[2026-06-02 08:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774151424001,"power":13102,"unknown_96":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8870402441337438208}} 
[2026-06-02 08:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":89454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:08:23] local.INFO: GPS data processed {"connection_id":89454,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:08:23] local.INFO: Acknowledgment sent {"connection_id":89454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:08:24] local.INFO: TCP Data received {"connection_id":90678,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:08:24] local.INFO: Processing buffer {"connection_id":90678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:08:24] local.INFO: IMEI packet received {"connection_id":90678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":90678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:08:30] local.INFO: TCP Data received {"connection_id":90678,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:08:30] local.INFO: Processing buffer {"connection_id":90678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:08:30] local.INFO: IMEI packet received {"connection_id":90678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":90678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:08:30] local.INFO: TCP Data received {"connection_id":90678,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:08:30] local.INFO: Processing buffer {"connection_id":90678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:08:30] local.INFO: Packet analysis {"connection_id":90678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:08:30] local.INFO: Extracted packet for processing {"connection_id":90678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08: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-06-02 08:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:08: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-06-02 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:08: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-06-02 08:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"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-06-02 08:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:08:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":90678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:08:30] local.INFO: GPS data processed {"connection_id":90678,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:08:30] local.INFO: Acknowledgment sent {"connection_id":90678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:08:54] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8630b2d8012d7b0dc005e2f4000008016115..."} 
[2026-06-02 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8630b2d8012d7b0dc005e2f4000008016115..."} 
[2026-06-02 08:08:54] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8630b2d8012d7b0dc005e2f4000008016115..."} 
[2026-06-02 08:08:54] local.INFO: Packet analysis {"connection_id":89454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:08:54] local.INFO: Extracted packet for processing {"connection_id":89454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98759680,"longitude_deg":76.3039168,"latitude_deg":9.875968,"altitude":8,"angle":353,"satellites":21,"speed":29,"hex_longitude":"2d7b0dc0","hex_latitude":"05e2f400","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774153984001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87764379633713152,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853991213056,"note":"Value kept but may cause issues"} 
[2026-06-02 08:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780367799000,"timestamp_ms":1780367799000,"timestamp_seconds":1780367799,"priority":1,"record_length":96,"hex_timestamp":"0000019e8630b2d8"} 
[2026-06-02 08:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:08: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-06-02 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 08:08: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-06-02 08: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-06-02 08:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774153984001,"66":12928,"96":206,"85":15104,"24":29,"16":87764379633713152,"45":8868572853991213056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 08:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774153984001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:08:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87764379633713152,"km_value":87764379633713.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853991213056,"description":"Unknown IO ID 45"} 
[2026-06-02 08:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774153984001,"power":12928,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8868572853991213056}} 
[2026-06-02 08:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":89454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:08:54] local.INFO: GPS data processed {"connection_id":89454,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:08:54] local.INFO: Acknowledgment sent {"connection_id":89454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:09:02] local.INFO: TCP Data received {"connection_id":90678,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:09:02] local.INFO: Processing buffer {"connection_id":90678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:09:02] local.INFO: Packet analysis {"connection_id":90678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:09:02] local.INFO: Extracted packet for processing {"connection_id":90678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:02] 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-06-02 08:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:09: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-06-02 08:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"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-06-02 08:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:09:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":90678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:09:02] local.INFO: GPS data processed {"connection_id":90678,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:09:02] local.INFO: Acknowledgment sent {"connection_id":90678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:09:13] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:13] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:13] local.INFO: IMEI packet received {"connection_id":89455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":89455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:09:13] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:13] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:13] local.INFO: IMEI packet received {"connection_id":89455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":89455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:09:18] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:18] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:09:18] local.INFO: IMEI packet received {"connection_id":89455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":89455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:09:19] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8630ed70012d7b078005e317700006015a19..."} 
[2026-06-02 08:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8630ed70012d7b078005e317700006015a19..."} 
[2026-06-02 08:09:19] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8630ed70012d7b078005e317700006015a19..."} 
[2026-06-02 08:09:19] local.INFO: Packet analysis {"connection_id":89455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:09:19] local.INFO: Extracted packet for processing {"connection_id":89455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8630"} 
[2026-06-02 08:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98768752,"longitude_deg":76.3037568,"latitude_deg":9.8768752,"altitude":6,"angle":346,"satellites":25,"speed":19,"hex_longitude":"2d7b0780","hex_latitude":"05e31770","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774156544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87764826310311936,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372877385728,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780367814000,"timestamp_ms":1780367814000,"timestamp_seconds":1780367814,"priority":1,"record_length":96,"hex_timestamp":"0000019e8630ed70"} 
[2026-06-02 08:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:09: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-06-02 08: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 08:09:19] 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-06-02 08: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-06-02 08:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774156544001,"66":13363,"97":206,"85":15104,"24":19,"16":87764826310311936,"45":8866954372877385728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774156544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:09:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87764826310311936,"km_value":87764826310311.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372877385728,"description":"Unknown IO ID 45"} 
[2026-06-02 08:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774156544001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8866954372877385728}} 
[2026-06-02 08:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":89455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:09:19] local.INFO: GPS data processed {"connection_id":89455,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:09:19] local.INFO: Acknowledgment sent {"connection_id":89455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:09:25] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:09:25] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:09:25] local.INFO: IMEI packet received {"connection_id":89456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":89456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:09:30] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:09:30] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:09:30] local.INFO: IMEI packet received {"connection_id":89456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":89456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:09:30] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:09:30] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:09:30] local.INFO: Packet analysis {"connection_id":89456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:09:30] local.INFO: Extracted packet for processing {"connection_id":89456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09: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-06-02 08:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 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-06-02 08:09: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-06-02 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 08:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:09:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":89456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:09:31] local.INFO: GPS data processed {"connection_id":89456,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:09:31] local.INFO: Acknowledgment sent {"connection_id":89456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:09:50] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86311c50012d7b04c005e32e28000501651f..."} 
[2026-06-02 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86311c50012d7b04c005e32e28000501651f..."} 
[2026-06-02 08:09:50] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86311c50012d7b04c005e32e28000501651f..."} 
[2026-06-02 08:09:50] local.INFO: Packet analysis {"connection_id":89455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8631"} 
[2026-06-02 08:09:50] local.INFO: Extracted packet for processing {"connection_id":89455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8631"} 
[2026-06-02 08:09:50] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98774568,"longitude_deg":76.3036864,"latitude_deg":9.8774568,"altitude":5,"angle":357,"satellites":31,"speed":18,"hex_longitude":"2d7b04c0","hex_latitude":"05e32e28","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774160384001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87765109778153472,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154275266560,"note":"Value kept but may cause issues"} 
[2026-06-02 08:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780367826000,"timestamp_ms":1780367826000,"timestamp_seconds":1780367826,"priority":1,"record_length":96,"hex_timestamp":"0000019e86311c50"} 
[2026-06-02 08:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:09: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-06-02 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 08:09: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-06-02 08: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-06-02 08:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774160384001,"66":12809,"97":206,"85":15104,"24":18,"16":87765109778153472,"45":8865195154275266560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774160384001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87765109778153472,"km_value":87765109778153.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154275266560,"description":"Unknown IO ID 45"} 
[2026-06-02 08:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774160384001,"power":12809,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8865195154275266560}} 
[2026-06-02 08:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":89455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:09:50] local.INFO: GPS data processed {"connection_id":89455,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:09:50] local.INFO: Acknowledgment sent {"connection_id":89455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:10:02] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:10:02] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:10:02] local.INFO: Packet analysis {"connection_id":89456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:10:02] local.INFO: Extracted packet for processing {"connection_id":89456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:02] 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-06-02 08:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:10:02] 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-06-02 08:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:10:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":89456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:10:02] local.INFO: GPS data processed {"connection_id":89456,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:10:02] local.INFO: Acknowledgment sent {"connection_id":89456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:10:13] local.INFO: TCP Data received {"connection_id":90679,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:10:13] local.INFO: Processing buffer {"connection_id":90679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:10:13] local.INFO: IMEI packet received {"connection_id":90679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":90679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:10:18] local.INFO: TCP Data received {"connection_id":90679,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:10:18] local.INFO: Processing buffer {"connection_id":90679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:10:18] local.INFO: IMEI packet received {"connection_id":90679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":90679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:10:19] local.INFO: TCP Data received {"connection_id":90679,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86312808012d7b034005e33328000301511e..."} 
[2026-06-02 08:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86312808012d7b034005e33328000301511e..."} 
[2026-06-02 08:10:19] local.INFO: Processing buffer {"connection_id":90679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86312808012d7b034005e33328000301511e..."} 
[2026-06-02 08:10:19] local.INFO: Packet analysis {"connection_id":90679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8631"} 
[2026-06-02 08:10:19] local.INFO: Extracted packet for processing {"connection_id":90679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8631"} 
[2026-06-02 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98775848,"longitude_deg":76.303648,"latitude_deg":9.8775848,"altitude":3,"angle":337,"satellites":30,"speed":14,"hex_longitude":"2d7b0340","hex_latitude":"05e33328","is_valid_coordinates":true} 
[2026-06-02 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774163456001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87765178497630208,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098090801152,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780367829000,"timestamp_ms":1780367829000,"timestamp_seconds":1780367829,"priority":1,"record_length":96,"hex_timestamp":"0000019e86312808"} 
[2026-06-02 08:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:10: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-06-02 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1297036692850476032,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2251295456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3623878656,"corrected_to":0} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3444233373205866880,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2902458376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221611146,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252839,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3423076352,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2142807424895983835,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241911306112597,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:19] local.INFO: IO Element Parsed {"io_data_count":49,"io_data_keys":[0,97,85,24,241,157,16,205,158,237,45,128,23,6,25,10,66,178,192,244,8,21,96,139,1,240,46,227,204,134,226,4,113,35,53,31,168,30,239,50,169,2,55,5,9,26,51,59,161],"length":535,"final_offset":665,"validated_count":49,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0},{"io_id":204,"original":3623878656,"validated":0}]} 
[2026-06-02 08:10:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360680628985921536,"timestamp_seconds":360680628985921.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774163456001,"66":13015,"97":206,"85":15104,"24":14,"16":87765178497630208,"45":8864421098090801152},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774163456001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87765178497630208,"km_value":87765178497630.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098090801152,"description":"Unknown IO ID 45"} 
[2026-06-02 08:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774163456001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8864421098090801152}} 
[2026-06-02 08:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":90679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:10:19] local.INFO: GPS data processed {"connection_id":90679,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:10:19] local.INFO: Acknowledgment sent {"connection_id":90679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:10:24] local.INFO: TCP Data received {"connection_id":89627,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:10:24] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:10:24] local.INFO: IMEI packet received {"connection_id":89627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":89627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:10:29] local.INFO: TCP Data received {"connection_id":89627,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:10:29] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:10:29] local.INFO: IMEI packet received {"connection_id":89627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":89627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:10:31] local.INFO: TCP Data received {"connection_id":89627,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:10:31] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e862f2468012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:10:31] local.INFO: Packet analysis {"connection_id":89627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:10:31] local.INFO: Extracted packet for processing {"connection_id":89627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e862f"} 
[2026-06-02 08:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774052608001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231382683968509952,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:31] 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-06-02 08:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367697000,"timestamp_ms":1780367697000,"timestamp_seconds":1780367697,"priority":1,"record_length":96,"hex_timestamp":"0000019e862f2468"} 
[2026-06-02 08:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774052608001,"66":26376,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1231382683968509952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774052608001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:10:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231382683968509952,"description":"Unknown IO ID 45"} 
[2026-06-02 08:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774052608001,"power":26376,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1231382683968509952}} 
[2026-06-02 08:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":89627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:10:31] local.INFO: GPS data processed {"connection_id":89627,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:10:31] local.INFO: Acknowledgment sent {"connection_id":89627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:10:50] local.INFO: TCP Data received {"connection_id":90679,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86346bf8012d7aed4005e39528000a014326..."} 
[2026-06-02 08:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86346bf8012d7aed4005e39528000a014326..."} 
[2026-06-02 08:10:50] local.INFO: Processing buffer {"connection_id":90679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86346bf8012d7aed4005e39528000a014326..."} 
[2026-06-02 08:10:50] local.INFO: Packet analysis {"connection_id":90679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:10:50] local.INFO: Extracted packet for processing {"connection_id":90679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763030848,"raw_latitude":98800936,"longitude_deg":76.3030848,"latitude_deg":9.8800936,"altitude":10,"angle":323,"satellites":38,"speed":10,"hex_longitude":"2d7aed40","hex_latitude":"05e39528","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774217984001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766462692851712,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858299017353756672,"note":"Value kept but may cause issues"} 
[2026-06-02 08:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780368043000,"timestamp_ms":1780368043000,"timestamp_seconds":1780368043,"priority":1,"record_length":96,"hex_timestamp":"0000019e86346bf8"} 
[2026-06-02 08:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:10: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-06-02 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 08:10:50] 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-06-02 08: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-06-02 08:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774217984001,"66":12982,"97":206,"85":15104,"24":10,"16":87766462692851712,"45":8858299017353756672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774217984001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:10:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766462692851712,"km_value":87766462692851.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858299017353756672,"description":"Unknown IO ID 45"} 
[2026-06-02 08:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774217984001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8858299017353756672}} 
[2026-06-02 08:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":90679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:10:50] local.INFO: GPS data processed {"connection_id":90679,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:10:50] local.INFO: Acknowledgment sent {"connection_id":90679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:11:02] local.INFO: TCP Data received {"connection_id":89627,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:11:02] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:11:02] local.INFO: Packet analysis {"connection_id":89627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:11:02] local.INFO: Extracted packet for processing {"connection_id":89627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:02] 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-06-02 08:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:11: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-06-02 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:11:02] 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-06-02 08:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:11: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-06-02 08:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:11:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":89627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:11:02] local.INFO: GPS data processed {"connection_id":89627,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:11:02] local.INFO: Acknowledgment sent {"connection_id":89627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:11:12] local.INFO: TCP Data received {"connection_id":89210,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:11:12] local.INFO: Processing buffer {"connection_id":89210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:11:12] local.INFO: IMEI packet received {"connection_id":89210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":89210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:11:18] local.INFO: TCP Data received {"connection_id":89210,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:11:18] local.INFO: Processing buffer {"connection_id":89210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:11:18] local.INFO: IMEI packet received {"connection_id":89210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":89210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:11:19] local.INFO: TCP Data received {"connection_id":89210,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86346fe0012d7aecc005e395e00009013626..."} 
[2026-06-02 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86346fe0012d7aecc005e395e00009013626..."} 
[2026-06-02 08:11:19] local.INFO: Processing buffer {"connection_id":89210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86346fe0012d7aecc005e395e00009013626..."} 
[2026-06-02 08:11:19] local.INFO: Packet analysis {"connection_id":89210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:11:19] local.INFO: Extracted packet for processing {"connection_id":89210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763030720,"raw_latitude":98801120,"longitude_deg":76.303072,"latitude_deg":9.880112,"altitude":9,"angle":310,"satellites":38,"speed":8,"hex_longitude":"2d7aecc0","hex_latitude":"05e395e0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774219008001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766471282786304,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806436144850944,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780368044000,"timestamp_ms":1780368044000,"timestamp_seconds":1780368044,"priority":1,"record_length":96,"hex_timestamp":"0000019e86346fe0"} 
[2026-06-02 08:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:11: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-06-02 08: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":182,"data_length":795,"current_offset":136} 
[2026-06-02 08:11:19] 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-06-02 08: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-06-02 08:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774219008001,"66":12982,"97":206,"85":15104,"24":8,"16":87766471282786304,"45":8857806436144850944},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774219008001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766471282786304,"km_value":87766471282786.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806436144850944,"description":"Unknown IO ID 45"} 
[2026-06-02 08:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774219008001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8857806436144850944}} 
[2026-06-02 08:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":89210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:11:19] local.INFO: GPS data processed {"connection_id":89210,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:11:19] local.INFO: Acknowledgment sent {"connection_id":89210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:11:24] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:11:24] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:11:24] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:11:29] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:11:29] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:11:29] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:11:30] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:11:30] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:11:30] local.INFO: Packet analysis {"connection_id":89458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:11:30] local.INFO: Extracted packet for processing {"connection_id":89458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11: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-06-02 08:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:11:30] 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-06-02 08:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:11:30] 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-06-02 08:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:11:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":89458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:11:30] local.INFO: GPS data processed {"connection_id":89458,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:11:30] local.INFO: Acknowledgment sent {"connection_id":89458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:11:50] local.INFO: TCP Data received {"connection_id":89210,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863477b0012d7aebc005e396f0000a014c25..."} 
[2026-06-02 08:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863477b0012d7aebc005e396f0000a014c25..."} 
[2026-06-02 08:11:50] local.INFO: Processing buffer {"connection_id":89210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863477b0012d7aebc005e396f0000a014c25..."} 
[2026-06-02 08:11:50] local.INFO: Packet analysis {"connection_id":89210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:11:50] local.INFO: Extracted packet for processing {"connection_id":89210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:11:50] local.INFO: GPS Element Parsed {"raw_longitude":763030464,"raw_latitude":98801392,"longitude_deg":76.3030464,"latitude_deg":9.8801392,"altitude":10,"angle":332,"satellites":37,"speed":6,"hex_longitude":"2d7aebc0","hex_latitude":"05e396f0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774219264001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766488462655488,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698656542720,"note":"Value kept but may cause issues"} 
[2026-06-02 08:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780368046000,"timestamp_ms":1780368046000,"timestamp_seconds":1780368046,"priority":1,"record_length":96,"hex_timestamp":"0000019e863477b0"} 
[2026-06-02 08:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:11: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-06-02 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 08:11:50] 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-06-02 08: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-06-02 08:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774219264001,"66":13102,"97":206,"85":15104,"24":6,"16":87766488462655488,"45":8857665698656542720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774219264001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766488462655488,"km_value":87766488462655.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698656542720,"description":"Unknown IO ID 45"} 
[2026-06-02 08:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774219264001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8857665698656542720}} 
[2026-06-02 08:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":89210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:11:50] local.INFO: GPS data processed {"connection_id":89210,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:11:50] local.INFO: Acknowledgment sent {"connection_id":89210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:11:58] local.INFO: TCP Data received {"connection_id":89211,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:11:58] local.INFO: Processing buffer {"connection_id":89211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:11:58] local.INFO: IMEI packet received {"connection_id":89211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":89211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:12:02] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:02] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:02] local.INFO: Packet analysis {"connection_id":89458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:12:02] local.INFO: Extracted packet for processing {"connection_id":89458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:02] 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-06-02 08:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:12: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-06-02 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:12:02] 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-06-02 08:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:12: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-06-02 08:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:12:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":89458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:12:02] local.INFO: GPS data processed {"connection_id":89458,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:12:02] local.INFO: Acknowledgment sent {"connection_id":89458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:12:11] local.INFO: TCP Data received {"connection_id":90680,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:11] local.INFO: Processing buffer {"connection_id":90680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:11] local.INFO: IMEI packet received {"connection_id":90680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":90680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:12:12] local.INFO: TCP Data received {"connection_id":90680,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:12] local.INFO: Processing buffer {"connection_id":90680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:12] local.INFO: IMEI packet received {"connection_id":90680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":90680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:12:18] local.INFO: TCP Data received {"connection_id":90680,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:18] local.INFO: Processing buffer {"connection_id":90680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:12:18] local.INFO: IMEI packet received {"connection_id":90680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":90680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:12:19] local.INFO: TCP Data received {"connection_id":90680,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8634c9b8012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8634c9b8012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:12:19] local.INFO: Processing buffer {"connection_id":90680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8634c9b8012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:12:19] local.INFO: Packet analysis {"connection_id":90680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:12:19] local.INFO: Extracted packet for processing {"connection_id":90680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8634"} 
[2026-06-02 08:12:19] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801584,"longitude_deg":76.30304,"latitude_deg":9.8801584,"altitude":9,"angle":332,"satellites":39,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e397b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774219776001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766501347557376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857384223679901696,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780368067000,"timestamp_ms":1780368067000,"timestamp_seconds":1780368067,"priority":1,"record_length":96,"hex_timestamp":"0000019e8634c9b8"} 
[2026-06-02 08:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:12: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-06-02 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 08:12: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-06-02 08:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774219776001,"66":12961,"97":206,"85":15104,"24":0,"16":87766501347557376,"45":8857384223679901696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774219776001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:12:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766501347557376,"km_value":87766501347557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857384223679901696,"description":"Unknown IO ID 45"} 
[2026-06-02 08:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774219776001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857384223679901696}} 
[2026-06-02 08:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":90680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:12:19] local.INFO: GPS data processed {"connection_id":90680,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:12:19] local.INFO: Acknowledgment sent {"connection_id":90680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:12:30] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:12:30] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:12:30] local.INFO: IMEI packet received {"connection_id":89628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":89628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:12:34] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:12:34] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:12:34] local.INFO: IMEI packet received {"connection_id":89628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":89628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:12:35] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:35] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:35] local.INFO: Packet analysis {"connection_id":89628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:12:35] local.INFO: Extracted packet for processing {"connection_id":89628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:35] 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-06-02 08:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:12:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":89628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:12:35] local.INFO: GPS data processed {"connection_id":89628,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:12:35] local.INFO: Acknowledgment sent {"connection_id":89628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:12:40] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:40] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:12:40] local.INFO: Packet analysis {"connection_id":89628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:12:40] local.INFO: Extracted packet for processing {"connection_id":89628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:40] 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-06-02 08:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:12:40] 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-06-02 08:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:12: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-06-02 08:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:12:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":89628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:12:40] local.INFO: GPS data processed {"connection_id":89628,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:12:40] local.INFO: Acknowledgment sent {"connection_id":89628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:12:50] local.INFO: TCP Data received {"connection_id":90680,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86351bc0012d7aeb8005e397b00009014c28..."} 
[2026-06-02 08:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86351bc0012d7aeb8005e397b00009014c28..."} 
[2026-06-02 08:12:50] local.INFO: Processing buffer {"connection_id":90680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86351bc0012d7aeb8005e397b00009014c28..."} 
[2026-06-02 08:12:50] local.INFO: Packet analysis {"connection_id":90680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8635"} 
[2026-06-02 08:12:50] local.INFO: Extracted packet for processing {"connection_id":90680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8635"} 
[2026-06-02 08:12:50] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801584,"longitude_deg":76.30304,"latitude_deg":9.8801584,"altitude":9,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e397b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774225152001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766501347557376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935773184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780368088000,"timestamp_ms":1780368088000,"timestamp_seconds":1780368088,"priority":1,"record_length":96,"hex_timestamp":"0000019e86351bc0"} 
[2026-06-02 08:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:12: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-06-02 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 08:12:50] 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-06-02 08: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-06-02 08:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774225152001,"66":13048,"97":206,"85":15104,"24":0,"16":87766501347557376,"45":8857313854935773184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774225152001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766501347557376,"km_value":87766501347557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935773184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774225152001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857313854935773184}} 
[2026-06-02 08:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":90680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:12:50] local.INFO: GPS data processed {"connection_id":90680,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:12:50] local.INFO: Acknowledgment sent {"connection_id":90680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:13:12] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:12] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:12] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:13:15] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:15] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:15] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:13:17] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:17] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:13:17] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:13:18] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86356dc8012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86356dc8012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:13:18] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86356dc8012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:13:18] local.INFO: Packet analysis {"connection_id":89629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8635"} 
[2026-06-02 08:13:18] local.INFO: Extracted packet for processing {"connection_id":89629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8635"} 
[2026-06-02 08:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801584,"longitude_deg":76.30304,"latitude_deg":9.8801584,"altitude":9,"angle":332,"satellites":39,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e397b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774230528001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766501347557376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935773184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368109000,"timestamp_ms":1780368109000,"timestamp_seconds":1780368109,"priority":1,"record_length":96,"hex_timestamp":"0000019e86356dc8"} 
[2026-06-02 08:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:13: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-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:13:18] 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-06-02 08: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-06-02 08:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774230528001,"66":13048,"97":206,"85":15104,"24":0,"16":87766501347557376,"45":8857313854935773184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774230528001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766501347557376,"km_value":87766501347557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935773184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774230528001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857313854935773184}} 
[2026-06-02 08:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":89629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:13:18] local.INFO: GPS data processed {"connection_id":89629,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:13:18] local.INFO: Acknowledgment sent {"connection_id":89629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:13:24] local.INFO: TCP Data received {"connection_id":90681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:13:24] local.INFO: Processing buffer {"connection_id":90681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:13:24] local.INFO: IMEI packet received {"connection_id":90681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":90681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:13:29] local.INFO: TCP Data received {"connection_id":90681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:13:29] local.INFO: Processing buffer {"connection_id":90681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:13:29] local.INFO: IMEI packet received {"connection_id":90681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":90681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:13:31] local.INFO: TCP Data received {"connection_id":90681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:13:31] local.INFO: Processing buffer {"connection_id":90681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:13:31] local.INFO: Packet analysis {"connection_id":90681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:13:31] local.INFO: Extracted packet for processing {"connection_id":90681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:13: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-06-02 08:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:31] 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-06-02 08:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:13:31] 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-06-02 08:13: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-06-02 08:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:13:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":90681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:13:31] local.INFO: GPS data processed {"connection_id":90681,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:13:31] local.INFO: Acknowledgment sent {"connection_id":90681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:13:50] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8635bfd0012d7aeb8005e397b00009014c26..."} 
[2026-06-02 08:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8635bfd0012d7aeb8005e397b00009014c26..."} 
[2026-06-02 08:13:50] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8635bfd0012d7aeb8005e397b00009014c26..."} 
[2026-06-02 08:13:50] local.INFO: Packet analysis {"connection_id":89629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8635"} 
[2026-06-02 08:13:50] local.INFO: Extracted packet for processing {"connection_id":89629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8635"} 
[2026-06-02 08:13:50] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801584,"longitude_deg":76.30304,"latitude_deg":9.8801584,"altitude":9,"angle":332,"satellites":38,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e397b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774235904001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766501347557376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935773184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780368130000,"timestamp_ms":1780368130000,"timestamp_seconds":1780368130,"priority":1,"record_length":96,"hex_timestamp":"0000019e8635bfd0"} 
[2026-06-02 08:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:13: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-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:13:50] 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-06-02 08: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-06-02 08:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774235904001,"66":13037,"97":206,"85":15104,"24":0,"16":87766501347557376,"45":8857313854935773184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774235904001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766501347557376,"km_value":87766501347557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935773184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774235904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857313854935773184}} 
[2026-06-02 08:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":89629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:13:50] local.INFO: GPS data processed {"connection_id":89629,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:13:50] local.INFO: Acknowledgment sent {"connection_id":89629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:14:03] local.INFO: TCP Data received {"connection_id":90681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:14:03] local.INFO: Processing buffer {"connection_id":90681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:14:03] local.INFO: Packet analysis {"connection_id":90681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:14:03] local.INFO: Extracted packet for processing {"connection_id":90681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:03] 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-06-02 08:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:14:03] 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-06-02 08: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-06-02 08:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":90681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:14:03] local.INFO: GPS data processed {"connection_id":90681,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:14:03] local.INFO: Acknowledgment sent {"connection_id":90681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:14:18] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:14:18] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:14:18] local.INFO: IMEI packet received {"connection_id":89630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":89630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:14:22] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:14:22] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:14:22] local.INFO: IMEI packet received {"connection_id":89630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":89630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:14:23] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863611d8012d7aeb8005e397b00009014c26..."} 
[2026-06-02 08:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863611d8012d7aeb8005e397b00009014c26..."} 
[2026-06-02 08:14:23] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863611d8012d7aeb8005e397b00009014c26..."} 
[2026-06-02 08:14:23] local.INFO: Packet analysis {"connection_id":89630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:14:23] local.INFO: Extracted packet for processing {"connection_id":89630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801584,"longitude_deg":76.30304,"latitude_deg":9.8801584,"altitude":9,"angle":332,"satellites":38,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e397b0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774241280001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766501347557376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935773184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780368151000,"timestamp_ms":1780368151000,"timestamp_seconds":1780368151,"priority":1,"record_length":96,"hex_timestamp":"0000019e863611d8"} 
[2026-06-02 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-06-02 08:14: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-06-02 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 08:14: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-06-02 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-06-02 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-06-02 08:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774241280001,"66":13091,"97":206,"85":15104,"24":0,"16":87766501347557376,"45":8857313854935773184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774241280001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766501347557376,"km_value":87766501347557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935773184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774241280001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857313854935773184}} 
[2026-06-02 08:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":89630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:14:23] local.INFO: GPS data processed {"connection_id":89630,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:14:23] local.INFO: Acknowledgment sent {"connection_id":89630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:14:24] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863663e0012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863663e0012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:14:24] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863663e0012d7aeb8005e397b00009014c27..."} 
[2026-06-02 08:14:24] local.INFO: Packet analysis {"connection_id":89630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:14:24] local.INFO: Extracted packet for processing {"connection_id":89630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801584,"longitude_deg":76.30304,"latitude_deg":9.8801584,"altitude":9,"angle":332,"satellites":39,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e397b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774246656001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766501347557376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935773184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780368172000,"timestamp_ms":1780368172000,"timestamp_seconds":1780368172,"priority":1,"record_length":96,"hex_timestamp":"0000019e863663e0"} 
[2026-06-02 08:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:14: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-06-02 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 08:14:24] 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-06-02 08: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-06-02 08:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774246656001,"66":12961,"97":206,"85":15104,"24":0,"16":87766501347557376,"45":8857313854935773184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774246656001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766501347557376,"km_value":87766501347557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935773184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774246656001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857313854935773184}} 
[2026-06-02 08:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":89630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:14:24] local.INFO: GPS data processed {"connection_id":89630,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:14:24] local.INFO: Acknowledgment sent {"connection_id":89630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:14:24] local.INFO: TCP Data received {"connection_id":89459,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:14:24] local.INFO: Processing buffer {"connection_id":89459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:14:24] local.INFO: IMEI packet received {"connection_id":89459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":89459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:14:29] local.INFO: TCP Data received {"connection_id":89459,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:14:29] local.INFO: Processing buffer {"connection_id":89459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:14:29] local.INFO: IMEI packet received {"connection_id":89459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":89459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:14:31] local.INFO: TCP Data received {"connection_id":89459,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:14:31] local.INFO: Processing buffer {"connection_id":89459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:14:31] local.INFO: Packet analysis {"connection_id":89459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:14:31] local.INFO: Extracted packet for processing {"connection_id":89459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:14: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-06-02 08:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:31] 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-06-02 08:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:14: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:14:31] 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-06-02 08:14: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-06-02 08:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:14:31] 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-06-02 08:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:14:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":89459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:14:31] local.INFO: GPS data processed {"connection_id":89459,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:14:31] local.INFO: Acknowledgment sent {"connection_id":89459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:14:55] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8636b5e8012d7aeb8005e397b00009014c28..."} 
[2026-06-02 08:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8636b5e8012d7aeb8005e397b00009014c28..."} 
[2026-06-02 08:14:55] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8636b5e8012d7aeb8005e397b00009014c28..."} 
[2026-06-02 08:14:55] local.INFO: Packet analysis {"connection_id":89630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:14:55] local.INFO: Extracted packet for processing {"connection_id":89630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801584,"longitude_deg":76.30304,"latitude_deg":9.8801584,"altitude":9,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e397b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774252032001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766501347557376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935773184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780368193000,"timestamp_ms":1780368193000,"timestamp_seconds":1780368193,"priority":1,"record_length":96,"hex_timestamp":"0000019e8636b5e8"} 
[2026-06-02 08:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:14: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-06-02 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 08:14:55] 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-06-02 08: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-06-02 08:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":89630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":89630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":89630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774252032001,"66":13276,"97":206,"85":15104,"24":0,"16":87766501347557376,"45":8857313854935773184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774252032001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:14:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766501347557376,"km_value":87766501347557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935773184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774252032001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857313854935773184}} 
[2026-06-02 08:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":89630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:14:55] local.INFO: GPS data processed {"connection_id":89630,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:14:55] local.INFO: Acknowledgment sent {"connection_id":89630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:15:03] local.INFO: TCP Data received {"connection_id":89459,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:15:03] local.INFO: Processing buffer {"connection_id":89459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:15:03] local.INFO: Packet analysis {"connection_id":89459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:15:03] local.INFO: Extracted packet for processing {"connection_id":89459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:03] 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-06-02 08:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:15:03] 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-06-02 08: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-06-02 08:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:15:03] 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-06-02 08:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":89459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:15:03] local.INFO: GPS data processed {"connection_id":89459,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:15:03] local.INFO: Acknowledgment sent {"connection_id":89459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:15:12] local.INFO: TCP Data received {"connection_id":89215,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:15:12] local.INFO: Processing buffer {"connection_id":89215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:15:12] local.INFO: IMEI packet received {"connection_id":89215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":89215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:15:16] local.INFO: TCP Data received {"connection_id":89215,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:15:16] local.INFO: Processing buffer {"connection_id":89215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:15:16] local.INFO: IMEI packet received {"connection_id":89215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":89215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:15:17] local.INFO: TCP Data received {"connection_id":89215,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8636d140012d7aeb4005e399480007016728..."} 
[2026-06-02 08:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8636d140012d7aeb4005e399480007016728..."} 
[2026-06-02 08:15:17] local.INFO: Processing buffer {"connection_id":89215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8636d140012d7aeb4005e399480007016728..."} 
[2026-06-02 08:15:17] local.INFO: Packet analysis {"connection_id":89215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:15:17] local.INFO: Extracted packet for processing {"connection_id":89215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8636"} 
[2026-06-02 08:15:17] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98801992,"longitude_deg":76.3030336,"latitude_deg":9.8801992,"altitude":7,"angle":359,"satellites":40,"speed":4,"hex_longitude":"2d7aeb40","hex_latitude":"05e39948","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774257408001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87766522822393856,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935773184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780368200000,"timestamp_ms":1780368200000,"timestamp_seconds":1780368200,"priority":1,"record_length":96,"hex_timestamp":"0000019e8636d140"} 
[2026-06-02 08:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:15: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-06-02 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 08:15:17] 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-06-02 08: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-06-02 08:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774257408001,"66":12982,"97":206,"85":15104,"24":4,"16":87766522822393856,"45":8857313854935773184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774257408001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87766522822393856,"km_value":87766522822393.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935773184,"description":"Unknown IO ID 45"} 
[2026-06-02 08:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774257408001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8857313854935773184}} 
[2026-06-02 08:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":89215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:15:17] local.INFO: GPS data processed {"connection_id":89215,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:15:17] local.INFO: Acknowledgment sent {"connection_id":89215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:15:25] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:15:25] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:15:25] local.INFO: IMEI packet received {"connection_id":89631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":89631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:15:30] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:15:30] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:15:30] local.INFO: IMEI packet received {"connection_id":89631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":89631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:15:31] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:15:31] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8633bc30012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:15:31] local.INFO: Packet analysis {"connection_id":89631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:15:31] local.INFO: Extracted packet for processing {"connection_id":89631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8633"} 
[2026-06-02 08:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:31] 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-06-02 08:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780367998000,"timestamp_ms":1780367998000,"timestamp_seconds":1780367998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8633bc30"} 
[2026-06-02 08:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 08:15:31] 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-06-02 08: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-06-02 08:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:15:31] 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-06-02 08:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774130432001,"66":26180,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:15:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774130432001,"power":26180,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":89631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:15:31] local.INFO: GPS data processed {"connection_id":89631,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:15:31] local.INFO: Acknowledgment sent {"connection_id":89631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:15:49] local.INFO: TCP Data received {"connection_id":89215,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8638b988012d7ac9c005e411680008013225..."} 
[2026-06-02 08:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8638b988012d7ac9c005e411680008013225..."} 
[2026-06-02 08:15:49] local.INFO: Processing buffer {"connection_id":89215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8638b988012d7ac9c005e411680008013225..."} 
[2026-06-02 08:15:49] local.INFO: Packet analysis {"connection_id":89215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:15:49] local.INFO: Extracted packet for processing {"connection_id":89215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:15:49] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":98832744,"longitude_deg":76.302176,"latitude_deg":9.8832744,"altitude":8,"angle":306,"satellites":37,"speed":9,"hex_longitude":"2d7ac9c0","hex_latitude":"05e41168","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774290688001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87768086190489600,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688884224,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780368325000,"timestamp_ms":1780368325000,"timestamp_seconds":1780368325,"priority":1,"record_length":96,"hex_timestamp":"0000019e8638b988"} 
[2026-06-02 08:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":424421796243374416,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185911,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8775330463084610856,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3663397705148858574,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3719299078,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3221611482,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397094,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3489005568,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":94618473128263680,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-1008806316530991103,"note":"Value kept but may cause issues"} 
[2026-06-02 08:15:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,208,158,169,45,11,9,37,10,66,146,64,253,7,39,91,128,1,240,40,227,134,4,113,205,68,215,104,239,49,2,55,5,207],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 08:15:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648874751318818816,"timestamp_seconds":648874751318818.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774290688001,"66":12298,"97":206,"85":15104,"24":9,"16":87768086190489600,"45":8848306655688884224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774290688001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87768086190489600,"km_value":87768086190489.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688884224,"description":"Unknown IO ID 45"} 
[2026-06-02 08:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774290688001,"power":12298,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848306655688884224}} 
[2026-06-02 08:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":89215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:15:49] local.INFO: GPS data processed {"connection_id":89215,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:15:49] local.INFO: Acknowledgment sent {"connection_id":89215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:16:02] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:02] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:02] local.INFO: Packet analysis {"connection_id":89631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:02] local.INFO: Extracted packet for processing {"connection_id":89631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:02] 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-06-02 08:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:16: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-06-02 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:16:02] 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-06-02 08:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:16:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":89631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:16:02] local.INFO: GPS data processed {"connection_id":89631,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:16:02] local.INFO: Acknowledgment sent {"connection_id":89631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:16:13] local.INFO: TCP Data received {"connection_id":90683,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:13] local.INFO: Processing buffer {"connection_id":90683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:13] local.INFO: IMEI packet received {"connection_id":90683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":90683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:16:13] local.INFO: TCP Data received {"connection_id":90683,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:13] local.INFO: Processing buffer {"connection_id":90683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:13] local.INFO: IMEI packet received {"connection_id":90683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":90683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:16:17] local.INFO: TCP Data received {"connection_id":90683,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:17] local.INFO: Processing buffer {"connection_id":90683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:16:17] local.INFO: IMEI packet received {"connection_id":90683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":90683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:16:18] local.INFO: TCP Data received {"connection_id":90683,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8638c158012d7ac88005e41120000800f522..."} 
[2026-06-02 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8638c158012d7ac88005e41120000800f522..."} 
[2026-06-02 08:16:18] local.INFO: Processing buffer {"connection_id":90683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8638c158012d7ac88005e41120000800f522..."} 
[2026-06-02 08:16:18] local.INFO: Packet analysis {"connection_id":90683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:18] local.INFO: Extracted packet for processing {"connection_id":90683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763021440,"raw_latitude":98832672,"longitude_deg":76.302144,"latitude_deg":9.8832672,"altitude":8,"angle":245,"satellites":34,"speed":6,"hex_longitude":"2d7ac880","hex_latitude":"05e41120","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774291200001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87768103370358784,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074479765504,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368327000,"timestamp_ms":1780368327000,"timestamp_seconds":1780368327,"priority":1,"record_length":96,"hex_timestamp":"0000019e8638c158"} 
[2026-06-02 08:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":424421796243374416,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436550369792,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185911,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8775240268771394856,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3580925536972636366,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3761766406,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4160826746,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3489595392,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822741504,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2577255289061376,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-720575940379279359,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,208,158,177,45,128,15,9,38,10,66,169,11,37,146,64,1,240,182,227,134,4,113,205,14,83,216,176,40,239,50,2,55,5,6,207,39],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 08:16:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576797361775902720,"timestamp_seconds":576797361775902.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774291200001,"66":12972,"97":206,"85":15104,"24":6,"16":87768103370358784,"45":8847814074479765504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774291200001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:16:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87768103370358784,"km_value":87768103370358.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074479765504,"description":"Unknown IO ID 45"} 
[2026-06-02 08:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774291200001,"power":12972,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8847814074479765504}} 
[2026-06-02 08:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":90683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:16:18] local.INFO: GPS data processed {"connection_id":90683,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:16:18] local.INFO: Acknowledgment sent {"connection_id":90683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:16:30] local.INFO: TCP Data received {"connection_id":89460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:16:30] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:16:30] local.INFO: IMEI packet received {"connection_id":89460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":89460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:16:34] local.INFO: TCP Data received {"connection_id":89460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:16:34] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:16:34] local.INFO: IMEI packet received {"connection_id":89460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":89460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:16:35] local.INFO: TCP Data received {"connection_id":89460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:35] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:35] local.INFO: Packet analysis {"connection_id":89460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:35] local.INFO: Extracted packet for processing {"connection_id":89460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:35] 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-06-02 08:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:16:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":89460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:16:35] local.INFO: GPS data processed {"connection_id":89460,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:16:35] local.INFO: Acknowledgment sent {"connection_id":89460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:16:40] local.INFO: TCP Data received {"connection_id":89460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:40] local.INFO: Processing buffer {"connection_id":89460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:16:40] local.INFO: Packet analysis {"connection_id":89460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:40] local.INFO: Extracted packet for processing {"connection_id":89460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:40] 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-06-02 08:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:16:40] 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-06-02 08:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:16:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":89460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:16:40] local.INFO: GPS data processed {"connection_id":89460,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:16:40] local.INFO: Acknowledgment sent {"connection_id":89460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:16:49] local.INFO: TCP Data received {"connection_id":90683,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8638cd10012d7ac70005e410780007010122..."} 
[2026-06-02 08:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8638cd10012d7ac70005e410780007010122..."} 
[2026-06-02 08:16:49] local.INFO: Processing buffer {"connection_id":90683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8638cd10012d7ac70005e410780007010122..."} 
[2026-06-02 08:16:49] local.INFO: Packet analysis {"connection_id":90683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:49] local.INFO: Extracted packet for processing {"connection_id":90683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763021056,"raw_latitude":98832504,"longitude_deg":76.3021056,"latitude_deg":9.8832504,"altitude":7,"angle":257,"satellites":34,"speed":7,"hex_longitude":"2d7ac700","hex_latitude":"05e41078","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774291712001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87768120550227968,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847462230758858752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780368330000,"timestamp_ms":1780368330000,"timestamp_seconds":1780368330,"priority":1,"record_length":96,"hex_timestamp":"0000019e8638cd10"} 
[2026-06-02 08:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 08:16:49] 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-06-02 08: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-06-02 08:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774291712001,"66":13091,"97":206,"85":15104,"24":7,"16":87768120550227968,"45":8847462230758858752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774291712001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87768120550227968,"km_value":87768120550227.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847462230758858752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774291712001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8847462230758858752}} 
[2026-06-02 08:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":90683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:16:50] local.INFO: GPS data processed {"connection_id":90683,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:16:50] local.INFO: Acknowledgment sent {"connection_id":90683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:17:12] local.INFO: TCP Data received {"connection_id":90685,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:17:12] local.INFO: Processing buffer {"connection_id":90685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:17:12] local.INFO: IMEI packet received {"connection_id":90685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":90685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:17:15] local.INFO: TCP Data received {"connection_id":90685,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:17:15] local.INFO: Processing buffer {"connection_id":90685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:17:15] local.INFO: IMEI packet received {"connection_id":90685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":90685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:17:16] local.INFO: TCP Data received {"connection_id":90685,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86391b30012d7aab0005e40be00006010822..."} 
[2026-06-02 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86391b30012d7aab0005e40be00006010822..."} 
[2026-06-02 08:17:16] local.INFO: Processing buffer {"connection_id":90685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86391b30012d7aab0005e40be00006010822..."} 
[2026-06-02 08:17:16] local.INFO: Packet analysis {"connection_id":90685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8639"} 
[2026-06-02 08:17:16] local.INFO: Extracted packet for processing {"connection_id":90685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8639"} 
[2026-06-02 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763013888,"raw_latitude":98831328,"longitude_deg":76.3013888,"latitude_deg":9.8831328,"altitude":6,"angle":264,"satellites":34,"speed":17,"hex_longitude":"2d7aab00","hex_latitude":"05e40be0","is_valid_coordinates":true} 
[2026-06-02 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774292480001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87768468442578944,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847040018293749760,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780368350000,"timestamp_ms":1780368350000,"timestamp_seconds":1780368350,"priority":1,"record_length":96,"hex_timestamp":"0000019e86391b30"} 
[2026-06-02 08:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 08:17:16] 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-06-02 08:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774292480001,"66":13048,"97":206,"85":15104,"24":17,"16":87768468442578944,"45":8847040018293749760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774292480001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87768468442578944,"km_value":87768468442578.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847040018293749760,"description":"Unknown IO ID 45"} 
[2026-06-02 08:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774292480001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8847040018293749760}} 
[2026-06-02 08:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":90685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:17:16] local.INFO: GPS data processed {"connection_id":90685,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:17:16] local.INFO: Acknowledgment sent {"connection_id":90685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:17:19] local.INFO: TCP Data received {"connection_id":90684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:17:19] local.INFO: Processing buffer {"connection_id":90684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:17:19] local.INFO: IMEI packet received {"connection_id":90684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":90684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:17:24] local.INFO: TCP Data received {"connection_id":90686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:17:24] local.INFO: Processing buffer {"connection_id":90686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:17:24] local.INFO: IMEI packet received {"connection_id":90686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":90686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:17:29] local.INFO: TCP Data received {"connection_id":90686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:17:29] local.INFO: Processing buffer {"connection_id":90686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:17:29] local.INFO: IMEI packet received {"connection_id":90686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":90686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:17:30] local.INFO: TCP Data received {"connection_id":90686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:17:30] local.INFO: Processing buffer {"connection_id":90686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:17:30] local.INFO: Packet analysis {"connection_id":90686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:17:30] local.INFO: Extracted packet for processing {"connection_id":90686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17: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-06-02 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:17:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":90686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:17:30] local.INFO: GPS data processed {"connection_id":90686,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:17:30] local.INFO: Acknowledgment sent {"connection_id":90686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:17:48] local.INFO: TCP Data received {"connection_id":90685,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86396d38012d7a9b4005e40988000b010023..."} 
[2026-06-02 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86396d38012d7a9b4005e40988000b010023..."} 
[2026-06-02 08:17:48] local.INFO: Processing buffer {"connection_id":90685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86396d38012d7a9b4005e40988000b010023..."} 
[2026-06-02 08:17:48] local.INFO: Packet analysis {"connection_id":90685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8639"} 
[2026-06-02 08:17:48] local.INFO: Extracted packet for processing {"connection_id":90685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8639"} 
[2026-06-02 08:17:48] local.INFO: GPS Element Parsed {"raw_longitude":763009856,"raw_latitude":98830728,"longitude_deg":76.3009856,"latitude_deg":9.8830728,"altitude":11,"angle":256,"satellites":35,"speed":0,"hex_longitude":"2d7a9b40","hex_latitude":"05e40988","is_valid_coordinates":true} 
[2026-06-02 08:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774297600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87768666011074560,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839158718945550336,"note":"Value kept but may cause issues"} 
[2026-06-02 08:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780368371000,"timestamp_ms":1780368371000,"timestamp_seconds":1780368371,"priority":1,"record_length":96,"hex_timestamp":"0000019e86396d38"} 
[2026-06-02 08:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:17: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-06-02 08:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:17:48] 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-06-02 08:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":90685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":90685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":90685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774297600001,"66":13102,"97":206,"85":15104,"24":0,"16":87768666011074560,"45":8839158718945550336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774297600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87768666011074560,"km_value":87768666011074.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839158718945550336,"description":"Unknown IO ID 45"} 
[2026-06-02 08:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774297600001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8839158718945550336}} 
[2026-06-02 08:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":90685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:17:48] local.INFO: GPS data processed {"connection_id":90685,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:17:48] local.INFO: Acknowledgment sent {"connection_id":90685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:17:59] local.INFO: TCP Data received {"connection_id":89461,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:17:59] local.INFO: Processing buffer {"connection_id":89461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:17:59] local.INFO: IMEI packet received {"connection_id":89461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":89461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:18:02] local.INFO: TCP Data received {"connection_id":90686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:02] local.INFO: Processing buffer {"connection_id":90686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:02] local.INFO: Packet analysis {"connection_id":90686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:18:02] local.INFO: Extracted packet for processing {"connection_id":90686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:02] 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-06-02 08:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:18: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-06-02 08:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:18:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":90686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:18:02] local.INFO: GPS data processed {"connection_id":90686,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:18:02] local.INFO: Acknowledgment sent {"connection_id":90686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:18:13] local.INFO: TCP Data received {"connection_id":90687,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:18:13] local.INFO: Processing buffer {"connection_id":90687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:18:13] local.INFO: IMEI packet received {"connection_id":90687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":90687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:18:18] local.INFO: TCP Data received {"connection_id":90687,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:18:18] local.INFO: Processing buffer {"connection_id":90687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:18:18] local.INFO: IMEI packet received {"connection_id":90687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":90687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:18:18] local.INFO: TCP Data received {"connection_id":90687,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8639bf40012d7a9b4005e40988000b010021..."} 
[2026-06-02 08:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8639bf40012d7a9b4005e40988000b010021..."} 
[2026-06-02 08:18:18] local.INFO: Processing buffer {"connection_id":90687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8639bf40012d7a9b4005e40988000b010021..."} 
[2026-06-02 08:18:18] local.INFO: Packet analysis {"connection_id":90687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8639"} 
[2026-06-02 08:18:18] local.INFO: Extracted packet for processing {"connection_id":90687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8639"} 
[2026-06-02 08:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763009856,"raw_latitude":98830728,"longitude_deg":76.3009856,"latitude_deg":9.8830728,"altitude":11,"angle":256,"satellites":33,"speed":0,"hex_longitude":"2d7a9b40","hex_latitude":"05e40988","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774302976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87768666011074560,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834725488062203904,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368392000,"timestamp_ms":1780368392000,"timestamp_seconds":1780368392,"priority":1,"record_length":96,"hex_timestamp":"0000019e8639bf40"} 
[2026-06-02 08:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 08:18:18] 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-06-02 08: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-06-02 08:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774302976001,"66":13319,"97":206,"85":15104,"24":0,"16":87768666011074560,"45":8834725488062203904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774302976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87768666011074560,"km_value":87768666011074.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834725488062203904,"description":"Unknown IO ID 45"} 
[2026-06-02 08:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774302976001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834725488062203904}} 
[2026-06-02 08:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":90687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:18:18] local.INFO: GPS data processed {"connection_id":90687,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:18:18] local.INFO: Acknowledgment sent {"connection_id":90687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:18:27] local.INFO: TCP Data received {"connection_id":89462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:18:27] local.INFO: Processing buffer {"connection_id":89462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:18:27] local.INFO: IMEI packet received {"connection_id":89462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":89462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:18:29] local.INFO: TCP Data received {"connection_id":89462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:18:29] local.INFO: Processing buffer {"connection_id":89462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:18:29] local.INFO: IMEI packet received {"connection_id":89462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:18:30] local.INFO: TCP Data received {"connection_id":89462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:30] local.INFO: Processing buffer {"connection_id":89462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:30] local.INFO: Packet analysis {"connection_id":89462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:18:30] local.INFO: Extracted packet for processing {"connection_id":89462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:18: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-06-02 08:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18: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-06-02 08:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:18: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:18: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-06-02 08:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:18:30] 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-06-02 08:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:18:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":89462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:18:30] local.INFO: GPS data processed {"connection_id":89462,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:18:30] local.INFO: Acknowledgment sent {"connection_id":89462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:18:35] local.INFO: TCP Data received {"connection_id":89462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:35] local.INFO: Processing buffer {"connection_id":89462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:18:35] local.INFO: Packet analysis {"connection_id":89462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:18:35] local.INFO: Extracted packet for processing {"connection_id":89462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:35] 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-06-02 08:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:18:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":89462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:18:35] local.INFO: GPS data processed {"connection_id":89462,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:18:35] local.INFO: Acknowledgment sent {"connection_id":89462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:18:49] local.INFO: TCP Data received {"connection_id":90687,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863a1148012d7a9b4005e40988000b01001e..."} 
[2026-06-02 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863a1148012d7a9b4005e40988000b01001e..."} 
[2026-06-02 08:18:49] local.INFO: Processing buffer {"connection_id":90687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863a1148012d7a9b4005e40988000b01001e..."} 
[2026-06-02 08:18:49] local.INFO: Packet analysis {"connection_id":90687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863a"} 
[2026-06-02 08:18:49] local.INFO: Extracted packet for processing {"connection_id":90687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863a"} 
[2026-06-02 08:18:49] local.INFO: GPS Element Parsed {"raw_longitude":763009856,"raw_latitude":98830728,"longitude_deg":76.3009856,"latitude_deg":9.8830728,"altitude":11,"angle":256,"satellites":30,"speed":0,"hex_longitude":"2d7a9b40","hex_latitude":"05e40988","is_valid_coordinates":true} 
[2026-06-02 08:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774308352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87768666011074560,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834725488062203904,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780368413000,"timestamp_ms":1780368413000,"timestamp_seconds":1780368413,"priority":1,"record_length":96,"hex_timestamp":"0000019e863a1148"} 
[2026-06-02 08:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2251862456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":228,"raw_value":826410570299483392,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3221611537,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3499884544,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826221056,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-6203707191857381371,"note":"Value kept but may cause issues"} 
[2026-06-02 08:18:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,209,158,109,45,64,9,11,35,10,66,27,6,34,208,205,1,240,227,134,228,4,113,185,201,104,37,239,48,2,55,5,20,56],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 08:18:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792915151127838720,"timestamp_seconds":792915151127838.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774308352001,"66":13189,"97":206,"85":15104,"24":0,"16":87768666011074560,"45":8834725488062203904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774308352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:18:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87768666011074560,"km_value":87768666011074.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834725488062203904,"description":"Unknown IO ID 45"} 
[2026-06-02 08:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774308352001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8834725488062203904}} 
[2026-06-02 08:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":90687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:18:49] local.INFO: GPS data processed {"connection_id":90687,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:18:49] local.INFO: Acknowledgment sent {"connection_id":90687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:19:06] local.INFO: TCP Data received {"connection_id":89462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:19:06] local.INFO: Processing buffer {"connection_id":89462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:19:06] local.INFO: Packet analysis {"connection_id":89462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:19:06] local.INFO: Extracted packet for processing {"connection_id":89462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:06] 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-06-02 08:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:19:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":89462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:19:06] local.INFO: GPS data processed {"connection_id":89462,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:19:06] local.INFO: Acknowledgment sent {"connection_id":89462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:19:12] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:19:12] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:19:12] local.INFO: IMEI packet received {"connection_id":89632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":89632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:19:17] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:19:17] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:19:17] local.INFO: IMEI packet received {"connection_id":89632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":89632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:19:18] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863c0548012d7accc005e410b8000d008f29..."} 
[2026-06-02 08:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863c0548012d7accc005e410b8000d008f29..."} 
[2026-06-02 08:19:18] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863c0548012d7accc005e410b8000d008f29..."} 
[2026-06-02 08:19:18] local.INFO: Packet analysis {"connection_id":89632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:19:18] local.INFO: Extracted packet for processing {"connection_id":89632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":98832568,"longitude_deg":76.3022528,"latitude_deg":9.8832568,"altitude":13,"angle":143,"satellites":41,"speed":7,"hex_longitude":"2d7accc0","hex_latitude":"05e410b8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774342144001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87769314551136256,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846265962107807744,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368541000,"timestamp_ms":1780368541000,"timestamp_seconds":1780368541,"priority":1,"record_length":96,"hex_timestamp":"0000019e863c0548"} 
[2026-06-02 08:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418470,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399425,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2252023456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3221611530,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825862656,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,97,85,24,241,157,16,209,158,194,45,64,11,36,10,66,116,128,12,40,93,1,240,248,227,134,228,4,113,205,46,156,37,239,52,2,55,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 08:19:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792721649967038464,"timestamp_seconds":792721649967038.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774342144001,"66":13319,"97":206,"85":15104,"24":7,"16":87769314551136256,"45":8846265962107807744},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774342144001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87769314551136256,"km_value":87769314551136.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846265962107807744,"description":"Unknown IO ID 45"} 
[2026-06-02 08:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774342144001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8846265962107807744}} 
[2026-06-02 08:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":89632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:19:18] local.INFO: GPS data processed {"connection_id":89632,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:19:18] local.INFO: Acknowledgment sent {"connection_id":89632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:19:24] local.INFO: TCP Data received {"connection_id":89217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:19:24] local.INFO: Processing buffer {"connection_id":89217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:19:24] local.INFO: IMEI packet received {"connection_id":89217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":89217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:19:29] local.INFO: TCP Data received {"connection_id":89217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:19:29] local.INFO: Processing buffer {"connection_id":89217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:19:29] local.INFO: IMEI packet received {"connection_id":89217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":89217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:19:31] local.INFO: TCP Data received {"connection_id":89217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:19:31] local.INFO: Processing buffer {"connection_id":89217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:19:31] local.INFO: Packet analysis {"connection_id":89217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:19:31] local.INFO: Extracted packet for processing {"connection_id":89217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:31] 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-06-02 08:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:19:31] 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-06-02 08:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:19:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":89217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:19:31] local.INFO: GPS data processed {"connection_id":89217,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:19:31] local.INFO: Acknowledgment sent {"connection_id":89217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:19:49] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863c0d18012d7acdc005e40ef0000d009f29..."} 
[2026-06-02 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863c0d18012d7acdc005e40ef0000d009f29..."} 
[2026-06-02 08:19:49] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863c0d18012d7acdc005e40ef0000d009f29..."} 
[2026-06-02 08:19:49] local.INFO: Packet analysis {"connection_id":89632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:19:49] local.INFO: Extracted packet for processing {"connection_id":89632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98832112,"longitude_deg":76.3022784,"latitude_deg":9.8832112,"altitude":13,"angle":159,"satellites":41,"speed":11,"hex_longitude":"2d7acdc0","hex_latitude":"05e40ef0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774346496001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87769340320940032,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409852416,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780368543000,"timestamp_ms":1780368543000,"timestamp_seconds":1780368543,"priority":1,"record_length":96,"hex_timestamp":"0000019e863c0d18"} 
[2026-06-02 08:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2252025456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":228,"raw_value":722827787442333184,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3509518336,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825864704,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2783225864557199365,"note":"Value kept but may cause issues"} 
[2026-06-02 08:19:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,97,85,24,241,157,16,209,158,194,45,64,11,36,10,66,116,128,1,240,29,227,134,228,4,113,205,2,50,248,37,239,51,55,5,59],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 08:19:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936906128749953024,"timestamp_seconds":936906128749953.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774346496001,"66":13222,"97":206,"85":15104,"24":11,"16":87769340320940032,"45":8848658499409852416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774346496001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87769340320940032,"km_value":87769340320940.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409852416,"description":"Unknown IO ID 45"} 
[2026-06-02 08:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774346496001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848658499409852416}} 
[2026-06-02 08:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":89632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:19:49] local.INFO: GPS data processed {"connection_id":89632,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:19:49] local.INFO: Acknowledgment sent {"connection_id":89632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:20:02] local.INFO: TCP Data received {"connection_id":89217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:20:02] local.INFO: Processing buffer {"connection_id":89217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:20:02] local.INFO: Packet analysis {"connection_id":89217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:20:02] local.INFO: Extracted packet for processing {"connection_id":89217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:02] 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-06-02 08:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:20: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-06-02 08: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:20:02] 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-06-02 08:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:20:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":89217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:20:02] local.INFO: GPS data processed {"connection_id":89217,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:20:02] local.INFO: Acknowledgment sent {"connection_id":89217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:20:12] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:20:12] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:20:12] local.INFO: IMEI packet received {"connection_id":89634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":89634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:20:17] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:20:17] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:20:17] local.INFO: IMEI packet received {"connection_id":89634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":89634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:20:18] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863c14e8012d7ace8005e40c80000c00aa29..."} 
[2026-06-02 08:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863c14e8012d7ace8005e40c80000c00aa29..."} 
[2026-06-02 08:20:18] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863c14e8012d7ace8005e40c80000c00aa29..."} 
[2026-06-02 08:20:18] local.INFO: Packet analysis {"connection_id":89634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:20:18] local.INFO: Extracted packet for processing {"connection_id":89634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763022976,"raw_latitude":98831488,"longitude_deg":76.3022976,"latitude_deg":9.8831488,"altitude":12,"angle":170,"satellites":41,"speed":13,"hex_longitude":"2d7ace80","hex_latitude":"05e40c80","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774347008001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87769374680678400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386446336,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368545000,"timestamp_ms":1780368545000,"timestamp_seconds":1780368545,"priority":1,"record_length":96,"hex_timestamp":"0000019e863c14e8"} 
[2026-06-02 08:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 08:20:18] 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-06-02 08: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-06-02 08:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774347008001,"66":13439,"97":206,"85":15104,"24":13,"16":87769374680678400,"45":8848939974386446336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774347008001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:20:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87769374680678400,"km_value":87769374680678.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386446336,"description":"Unknown IO ID 45"} 
[2026-06-02 08:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774347008001,"power":13439,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8848939974386446336}} 
[2026-06-02 08:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":89634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:20:18] local.INFO: GPS data processed {"connection_id":89634,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:20:18] local.INFO: Acknowledgment sent {"connection_id":89634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:20:24] local.INFO: TCP Data received {"connection_id":89218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:20:24] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:20:24] local.INFO: IMEI packet received {"connection_id":89218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":89218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:20:29] local.INFO: TCP Data received {"connection_id":89218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:20:29] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:20:29] local.INFO: IMEI packet received {"connection_id":89218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":89218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:20:30] local.INFO: TCP Data received {"connection_id":89218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:20:30] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863853f8012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:20:30] local.INFO: Packet analysis {"connection_id":89218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:20:30] local.INFO: Extracted packet for processing {"connection_id":89218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8638"} 
[2026-06-02 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774207488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20: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-06-02 08:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780368299000,"timestamp_ms":1780368299000,"timestamp_seconds":1780368299,"priority":1,"record_length":96,"hex_timestamp":"0000019e863853f8"} 
[2026-06-02 08:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 08:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774207488001,"66":26082,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774207488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:20:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774207488001,"power":26082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":89218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:20:30] local.INFO: GPS data processed {"connection_id":89218,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:20:30] local.INFO: Acknowledgment sent {"connection_id":89218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:20:49] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863c4f80012d7ad74005e3e888000b00a824..."} 
[2026-06-02 08:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863c4f80012d7ad74005e3e888000b00a824..."} 
[2026-06-02 08:20:49] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863c4f80012d7ad74005e3e888000b00a824..."} 
[2026-06-02 08:20:49] local.INFO: Packet analysis {"connection_id":89634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:20:49] local.INFO: Extracted packet for processing {"connection_id":89634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:20:49] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":98822280,"longitude_deg":76.3025216,"latitude_deg":9.882228,"altitude":11,"angle":168,"satellites":36,"speed":27,"hex_longitude":"2d7ad740","hex_latitude":"05e3e888","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774347520001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87769834242179072,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849151080618819584,"note":"Value kept but may cause issues"} 
[2026-06-02 08:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780368560000,"timestamp_ms":1780368560000,"timestamp_seconds":1780368560,"priority":1,"record_length":96,"hex_timestamp":"0000019e863c4f80"} 
[2026-06-02 08:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-06-02 08:20:49] 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-06-02 08: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-06-02 08:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774347520001,"66":13243,"97":206,"85":15104,"24":27,"16":87769834242179072,"45":8849151080618819584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774347520001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:20:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87769834242179072,"km_value":87769834242179.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849151080618819584,"description":"Unknown IO ID 45"} 
[2026-06-02 08:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774347520001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8849151080618819584}} 
[2026-06-02 08:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":89634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:20:50] local.INFO: GPS data processed {"connection_id":89634,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:20:50] local.INFO: Acknowledgment sent {"connection_id":89634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:21:01] local.INFO: TCP Data received {"connection_id":89218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:21:01] local.INFO: Processing buffer {"connection_id":89218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:21:01] local.INFO: Packet analysis {"connection_id":89218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:21:01] local.INFO: Extracted packet for processing {"connection_id":89218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21: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-06-02 08:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:21: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-06-02 08: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":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:21: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-06-02 08: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-06-02 08:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:21:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":89218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:21:01] local.INFO: GPS data processed {"connection_id":89218,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:21:01] local.INFO: Acknowledgment sent {"connection_id":89218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:21:12] local.INFO: TCP Data received {"connection_id":89219,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:21:12] local.INFO: Processing buffer {"connection_id":89219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:21:12] local.INFO: IMEI packet received {"connection_id":89219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":89219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:21:17] local.INFO: TCP Data received {"connection_id":89219,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:21:17] local.INFO: Processing buffer {"connection_id":89219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:21:17] local.INFO: IMEI packet received {"connection_id":89219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":89219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:21:18] local.INFO: TCP Data received {"connection_id":89219,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863d64d8012d7b0c8005e356e8000b001226..."} 
[2026-06-02 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863d64d8012d7b0c8005e356e8000b001226..."} 
[2026-06-02 08:21:18] local.INFO: Processing buffer {"connection_id":89219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863d64d8012d7b0c8005e356e8000b001226..."} 
[2026-06-02 08:21:18] local.INFO: Packet analysis {"connection_id":89219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863d"} 
[2026-06-02 08:21:18] local.INFO: Extracted packet for processing {"connection_id":89219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863d"} 
[2026-06-02 08:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98785000,"longitude_deg":76.3038848,"latitude_deg":9.8785,"altitude":11,"angle":18,"satellites":38,"speed":9,"hex_longitude":"2d7b0c80","hex_latitude":"05e356e8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774369024001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87771839991906304,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422930335744,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368631000,"timestamp_ms":1780368631000,"timestamp_seconds":1780368631,"priority":1,"record_length":96,"hex_timestamp":"0000019e863d64d8"} 
[2026-06-02 08:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:21: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-06-02 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 08:21:18] 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-06-02 08: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-06-02 08:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774369024001,"66":13091,"97":206,"85":15104,"24":9,"16":87771839991906304,"45":8866391422930335744},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774369024001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:21:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87771839991906304,"km_value":87771839991906.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422930335744,"description":"Unknown IO ID 45"} 
[2026-06-02 08:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774369024001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866391422930335744}} 
[2026-06-02 08:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":89219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:21:18] local.INFO: GPS data processed {"connection_id":89219,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:21:18] local.INFO: Acknowledgment sent {"connection_id":89219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:21:24] local.INFO: TCP Data received {"connection_id":89220,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:21:24] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:21:24] local.INFO: IMEI packet received {"connection_id":89220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":89220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:21:29] local.INFO: TCP Data received {"connection_id":89220,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:21:29] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:21:29] local.INFO: IMEI packet received {"connection_id":89220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":89220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:21:30] local.INFO: TCP Data received {"connection_id":89220,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:21:30] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:21:30] local.INFO: Packet analysis {"connection_id":89220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:21:30] local.INFO: Extracted packet for processing {"connection_id":89220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:21: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-06-02 08:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21: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-06-02 08:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:21: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:21:30] 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-06-02 08:21: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-06-02 08:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:21:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":89220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:21:30] local.INFO: GPS data processed {"connection_id":89220,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:21:30] local.INFO: Acknowledgment sent {"connection_id":89220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:21:49] local.INFO: TCP Data received {"connection_id":89219,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863daf10012d7b0ec005e35b38000b002428..."} 
[2026-06-02 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863daf10012d7b0ec005e35b38000b002428..."} 
[2026-06-02 08:21:49] local.INFO: Processing buffer {"connection_id":89219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863daf10012d7b0ec005e35b38000b002428..."} 
[2026-06-02 08:21:49] local.INFO: Packet analysis {"connection_id":89219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863d"} 
[2026-06-02 08:21:49] local.INFO: Extracted packet for processing {"connection_id":89219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863d"} 
[2026-06-02 08:21:49] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98786104,"longitude_deg":76.3039424,"latitude_deg":9.8786104,"altitude":11,"angle":36,"satellites":40,"speed":5,"hex_longitude":"2d7b0ec0","hex_latitude":"05e35b38","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774369536001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87771900121448448,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529162979328,"note":"Value kept but may cause issues"} 
[2026-06-02 08:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780368650000,"timestamp_ms":1780368650000,"timestamp_seconds":1780368650,"priority":1,"record_length":96,"hex_timestamp":"0000019e863daf10"} 
[2026-06-02 08:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 08:21:49] 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-06-02 08: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-06-02 08:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774369536001,"66":12743,"97":206,"85":15104,"24":5,"16":87771900121448448,"45":8866602529162979328},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 08:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774369536001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 08:21:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87771900121448448,"km_value":87771900121448.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529162979328,"description":"Unknown IO ID 45"} 
[2026-06-02 08:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774369536001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866602529162979328}} 
[2026-06-02 08:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":89219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:21:49] local.INFO: GPS data processed {"connection_id":89219,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:21:49] local.INFO: Acknowledgment sent {"connection_id":89219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:22:02] local.INFO: TCP Data received {"connection_id":89220,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:22:02] local.INFO: Processing buffer {"connection_id":89220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:22:02] local.INFO: Packet analysis {"connection_id":89220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:22:02] local.INFO: Extracted packet for processing {"connection_id":89220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:02] 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-06-02 08:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:22: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-06-02 08:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:22:02] 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-06-02 08:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:22:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":89220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:22:02] local.INFO: GPS data processed {"connection_id":89220,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:22:02] local.INFO: Acknowledgment sent {"connection_id":89220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:22:12] local.INFO: TCP Data received {"connection_id":90689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:12] local.INFO: Processing buffer {"connection_id":90689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:12] local.INFO: IMEI packet received {"connection_id":90689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":90689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:22:13] local.INFO: TCP Data received {"connection_id":90689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:13] local.INFO: Processing buffer {"connection_id":90689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:13] local.INFO: IMEI packet received {"connection_id":90689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":90689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:22:17] local.INFO: TCP Data received {"connection_id":90689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:17] local.INFO: Processing buffer {"connection_id":90689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:22:17] local.INFO: IMEI packet received {"connection_id":90689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":90689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:22:18] local.INFO: TCP Data received {"connection_id":90689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863df178012d7b238005e37968000b001b29..."} 
[2026-06-02 08:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863df178012d7b238005e37968000b001b29..."} 
[2026-06-02 08:22:18] local.INFO: Processing buffer {"connection_id":90689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863df178012d7b238005e37968000b001b29..."} 
[2026-06-02 08:22:18] local.INFO: Packet analysis {"connection_id":90689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863d"} 
[2026-06-02 08:22:18] local.INFO: Extracted packet for processing {"connection_id":90689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863d"} 
[2026-06-02 08:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763044736,"raw_latitude":98793832,"longitude_deg":76.3044736,"latitude_deg":9.8793832,"altitude":11,"angle":27,"satellites":41,"speed":28,"hex_longitude":"2d7b2380","hex_latitude":"05e37968","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774374400001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87772355387981824,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847860860928,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368667000,"timestamp_ms":1780368667000,"timestamp_seconds":1780368667,"priority":1,"record_length":96,"hex_timestamp":"0000019e863df178"} 
[2026-06-02 08:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:22: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-06-02 08:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 08:22:18] 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-06-02 08: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-06-02 08:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774374400001,"66":13341,"95":206,"85":15104,"24":28,"16":87772355387981824,"45":8867235847860860928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 08:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774374400001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:22:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 08:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87772355387981824,"km_value":87772355387981.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847860860928,"description":"Unknown IO ID 45"} 
[2026-06-02 08:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774374400001,"power":13341,"unknown_95":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8867235847860860928}} 
[2026-06-02 08:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":90689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:22:18] local.INFO: GPS data processed {"connection_id":90689,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:22:18] local.INFO: Acknowledgment sent {"connection_id":90689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:22:24] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:22:24] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:22:24] local.INFO: IMEI packet received {"connection_id":89464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":89464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:22:29] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:22:29] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:22:29] local.INFO: IMEI packet received {"connection_id":89464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":89464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:22:30] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:22:30] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:22:30] local.INFO: Packet analysis {"connection_id":89464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:22:30] local.INFO: Extracted packet for processing {"connection_id":89464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:22: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-06-02 08:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:22:30] 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-06-02 08:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:22: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-06-02 08:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:22:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":89464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:22:30] local.INFO: GPS data processed {"connection_id":89464,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:22:30] local.INFO: Acknowledgment sent {"connection_id":89464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:23:02] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:23:02] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:23:02] local.INFO: Packet analysis {"connection_id":89464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:23:02] local.INFO: Extracted packet for processing {"connection_id":89464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:02] 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-06-02 08:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:23: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-06-02 08:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:23:02] 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-06-02 08:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08: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-06-02 08:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:23:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":89464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:23:02] local.INFO: GPS data processed {"connection_id":89464,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:23:02] local.INFO: Acknowledgment sent {"connection_id":89464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:23:03] local.INFO: TCP Data received {"connection_id":90689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863e2440012d7b374005e39728000c002029..."} 
[2026-06-02 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863e2440012d7b374005e39728000c002029..."} 
[2026-06-02 08:23:03] local.INFO: Processing buffer {"connection_id":90689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863e2440012d7b374005e39728000c002029..."} 
[2026-06-02 08:23:03] local.INFO: Packet analysis {"connection_id":90689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863e"} 
[2026-06-02 08:23:03] local.INFO: Extracted packet for processing {"connection_id":90689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863e"} 
[2026-06-02 08:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763049792,"raw_latitude":98801448,"longitude_deg":76.3049792,"latitude_deg":9.8801448,"altitude":12,"angle":32,"satellites":41,"speed":32,"hex_longitude":"2d7b3740","hex_latitude":"05e39728","is_valid_coordinates":true} 
[2026-06-02 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774378752001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87772793474646016,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873076453629585408,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780368680000,"timestamp_ms":1780368680000,"timestamp_seconds":1780368680,"priority":1,"record_length":96,"hex_timestamp":"0000019e863e2440"} 
[2026-06-02 08:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 08:23:03] 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-06-02 08:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774378752001,"66":13406,"95":206,"85":15104,"24":32,"16":87772793474646016,"45":8873076453629585408},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 08:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774378752001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:23:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 08:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87772793474646016,"km_value":87772793474646.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873076453629585408,"description":"Unknown IO ID 45"} 
[2026-06-02 08:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774378752001,"power":13406,"unknown_95":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8873076453629585408}} 
[2026-06-02 08:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":90689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:23:03] local.INFO: GPS data processed {"connection_id":90689,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:23:03] local.INFO: Acknowledgment sent {"connection_id":90689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:23:17] local.INFO: TCP Data received {"connection_id":89222,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:17] local.INFO: Processing buffer {"connection_id":89222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:17] local.INFO: IMEI packet received {"connection_id":89222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":89222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:23:17] local.INFO: TCP Data received {"connection_id":89222,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:17] local.INFO: Processing buffer {"connection_id":89222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:17] local.INFO: IMEI packet received {"connection_id":89222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":89222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:23:19] local.INFO: TCP Data received {"connection_id":89635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:23:19] local.INFO: Processing buffer {"connection_id":89635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:23:19] local.INFO: IMEI packet received {"connection_id":89635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":89635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:23:20] local.INFO: TCP Data received {"connection_id":89222,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:20] local.INFO: Processing buffer {"connection_id":89222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:23:20] local.INFO: IMEI packet received {"connection_id":89222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":89222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:23:21] local.INFO: TCP Data received {"connection_id":89222,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863f6c60012d7c00c005e4beb8000e00212a..."} 
[2026-06-02 08:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863f6c60012d7c00c005e4beb8000e00212a..."} 
[2026-06-02 08:23:21] local.INFO: Processing buffer {"connection_id":89222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863f6c60012d7c00c005e4beb8000e00212a..."} 
[2026-06-02 08:23:21] local.INFO: Packet analysis {"connection_id":89222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:23:21] local.INFO: Extracted packet for processing {"connection_id":89222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763101376,"raw_latitude":98877112,"longitude_deg":76.3101376,"latitude_deg":9.8877112,"altitude":14,"angle":33,"satellites":42,"speed":45,"hex_longitude":"2d7c00c0","hex_latitude":"05e4beb8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774401536001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87777221585928192,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923967721472,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780368764000,"timestamp_ms":1780368764000,"timestamp_seconds":1780368764,"priority":1,"record_length":96,"hex_timestamp":"0000019e863f6c60"} 
[2026-06-02 08:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 08:23:21] 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-06-02 08: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-06-02 08:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774401536001,"66":13439,"95":206,"85":15104,"24":45,"16":87777221585928192,"45":8929652923967721472},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 08:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774401536001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:23:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 08:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 08:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87777221585928192,"km_value":87777221585928.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923967721472,"description":"Unknown IO ID 45"} 
[2026-06-02 08:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774401536001,"power":13439,"unknown_95":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8929652923967721472}} 
[2026-06-02 08:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":89222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:23:21] local.INFO: GPS data processed {"connection_id":89222,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:23:21] local.INFO: Acknowledgment sent {"connection_id":89222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:23:22] local.INFO: TCP Data received {"connection_id":89222,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863f8f88012d7c13c005e4dbf0000c001f2b..."} 
[2026-06-02 08:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863f8f88012d7c13c005e4dbf0000c001f2b..."} 
[2026-06-02 08:23:22] local.INFO: Processing buffer {"connection_id":89222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863f8f88012d7c13c005e4dbf0000c001f2b..."} 
[2026-06-02 08:23:22] local.INFO: Packet analysis {"connection_id":89222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:23:22] local.INFO: Extracted packet for processing {"connection_id":89222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763106240,"raw_latitude":98884592,"longitude_deg":76.310624,"latitude_deg":9.8884592,"altitude":12,"angle":31,"satellites":43,"speed":25,"hex_longitude":"2d7c13c0","hex_latitude":"05e4dbf0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774403584001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87777651082657792,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935352792248137728,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780368773000,"timestamp_ms":1780368773000,"timestamp_seconds":1780368773,"priority":1,"record_length":96,"hex_timestamp":"0000019e863f8f88"} 
[2026-06-02 08:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-06-02 08:23:22] 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-06-02 08: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-06-02 08:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":89222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":89222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":89222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774403584001,"66":13048,"173":206,"87":13824,"24":25,"16":87777651082657792,"45":8935352792248137728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-06-02 08:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774403584001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-06-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87777651082657792,"km_value":87777651082657.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935352792248137728,"description":"Unknown IO ID 45"} 
[2026-06-02 08:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774403584001,"power":13048,"unknown_173":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8935352792248137728}} 
[2026-06-02 08:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":89222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:23:22] local.INFO: GPS data processed {"connection_id":89222,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:23:22] local.INFO: Acknowledgment sent {"connection_id":89222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:23:24] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:23:24] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:23:24] local.INFO: IMEI packet received {"connection_id":89465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":89465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:23:29] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:23:29] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:23:29] local.INFO: IMEI packet received {"connection_id":89465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:23:31] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:23:31] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:23:31] local.INFO: Packet analysis {"connection_id":89465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:23:31] local.INFO: Extracted packet for processing {"connection_id":89465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:31] 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-06-02 08:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:23:31] 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-06-02 08:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:23:31] 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-06-02 08:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:23:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":89465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:23:31] local.INFO: GPS data processed {"connection_id":89465,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:23:31] local.INFO: Acknowledgment sent {"connection_id":89465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:23:53] local.INFO: TCP Data received {"connection_id":89222,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863fc250012d7c290005e4fbe0000b001f2b..."} 
[2026-06-02 08:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863fc250012d7c290005e4fbe0000b001f2b..."} 
[2026-06-02 08:23:53] local.INFO: Processing buffer {"connection_id":89222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863fc250012d7c290005e4fbe0000b001f2b..."} 
[2026-06-02 08:23:53] local.INFO: Packet analysis {"connection_id":89222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:23:53] local.INFO: Extracted packet for processing {"connection_id":89222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:23:53] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98892768,"longitude_deg":76.311168,"latitude_deg":9.8892768,"altitude":11,"angle":31,"satellites":43,"speed":41,"hex_longitude":"2d7c2900","hex_latitude":"05e4fbe0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774405888001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87778127824027648,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940700816807555072,"note":"Value kept but may cause issues"} 
[2026-06-02 08:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1780368786000,"timestamp_ms":1780368786000,"timestamp_seconds":1780368786,"priority":1,"record_length":96,"hex_timestamp":"0000019e863fc250"} 
[2026-06-02 08:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:23:53] 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-06-02 08: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-06-02 08:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":89222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":89222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":89222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774405888001,"66":13048,"173":206,"87":13824,"24":41,"16":87778127824027648,"45":8940700816807555072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-06-02 08:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774405888001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:23:53] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-06-02 08:23:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87778127824027648,"km_value":87778127824027.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940700816807555072,"description":"Unknown IO ID 45"} 
[2026-06-02 08:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774405888001,"power":13048,"unknown_173":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8940700816807555072}} 
[2026-06-02 08:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":89222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:23:53] local.INFO: GPS data processed {"connection_id":89222,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:23:53] local.INFO: Acknowledgment sent {"connection_id":89222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:23:58] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:23:58] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:23:58] local.INFO: IMEI packet received {"connection_id":89636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":89636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:24:02] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:24:02] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:24:02] local.INFO: Packet analysis {"connection_id":89465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:24:02] local.INFO: Extracted packet for processing {"connection_id":89465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:02] 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-06-02 08:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:24: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-06-02 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:24:02] 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-06-02 08:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:24:02] 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-06-02 08:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:24:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":89465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:24:02] local.INFO: GPS data processed {"connection_id":89465,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:24:02] local.INFO: Acknowledgment sent {"connection_id":89465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:24:13] local.INFO: TCP Data received {"connection_id":89637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:24:13] local.INFO: Processing buffer {"connection_id":89637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:24:13] local.INFO: IMEI packet received {"connection_id":89637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":89637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:24:18] local.INFO: TCP Data received {"connection_id":89637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:24:18] local.INFO: Processing buffer {"connection_id":89637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:24:18] local.INFO: IMEI packet received {"connection_id":89637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":89637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:24:19] local.INFO: TCP Data received {"connection_id":89637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863fe578012d7c3c0005e51be8000b001f29..."} 
[2026-06-02 08:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863fe578012d7c3c0005e51be8000b001f29..."} 
[2026-06-02 08:24:19] local.INFO: Processing buffer {"connection_id":89637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863fe578012d7c3c0005e51be8000b001f29..."} 
[2026-06-02 08:24:19] local.INFO: Packet analysis {"connection_id":89637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:24:19] local.INFO: Extracted packet for processing {"connection_id":89637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763116544,"raw_latitude":98900968,"longitude_deg":76.3116544,"latitude_deg":9.8900968,"altitude":11,"angle":31,"satellites":41,"speed":29,"hex_longitude":"2d7c3c00","hex_latitude":"05e51be8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774409216001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87778587385528320,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682160064749568,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:19] 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-06-02 08:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780368795000,"timestamp_ms":1780368795000,"timestamp_seconds":1780368795,"priority":1,"record_length":96,"hex_timestamp":"0000019e863fe578"} 
[2026-06-02 08:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:24:19] 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-06-02 08: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-06-02 08:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774409216001,"66":12982,"39":206,"87":13824,"24":29,"16":87778587385528320,"45":8946682160064749568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 08:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774409216001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:24:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 08:24:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87778587385528320,"km_value":87778587385528.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682160064749568,"description":"Unknown IO ID 45"} 
[2026-06-02 08:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774409216001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8946682160064749568}} 
[2026-06-02 08:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":89637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:24:19] local.INFO: GPS data processed {"connection_id":89637,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:24:19] local.INFO: Acknowledgment sent {"connection_id":89637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:24:20] local.INFO: TCP Data received {"connection_id":89637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863ff130012d7c3f0005e521b0000b000e2a..."} 
[2026-06-02 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863ff130012d7c3f0005e521b0000b000e2a..."} 
[2026-06-02 08:24:20] local.INFO: Processing buffer {"connection_id":89637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863ff130012d7c3f0005e521b0000b000e2a..."} 
[2026-06-02 08:24:20] local.INFO: Packet analysis {"connection_id":89637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:24:20] local.INFO: Extracted packet for processing {"connection_id":89637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":98902448,"longitude_deg":76.3117312,"latitude_deg":9.8902448,"altitude":11,"angle":14,"satellites":42,"speed":17,"hex_longitude":"2d7c3f00","hex_latitude":"05e521b0","is_valid_coordinates":true} 
[2026-06-02 08:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774411520001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87778668989906944,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952030184624351232,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:20] 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-06-02 08:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780368798000,"timestamp_ms":1780368798000,"timestamp_seconds":1780368798,"priority":1,"record_length":96,"hex_timestamp":"0000019e863ff130"} 
[2026-06-02 08:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 08:24:20] 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-06-02 08:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774411520001,"66":12645,"39":206,"87":13824,"24":17,"16":87778668989906944,"45":8952030184624351232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 08:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774411520001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87778668989906944,"km_value":87778668989906.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952030184624351232,"description":"Unknown IO ID 45"} 
[2026-06-02 08:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774411520001,"power":12645,"unknown_39":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8952030184624351232}} 
[2026-06-02 08:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":89637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:24:20] local.INFO: GPS data processed {"connection_id":89637,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:24:20] local.INFO: Acknowledgment sent {"connection_id":89637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:24:24] local.INFO: TCP Data received {"connection_id":90690,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:24:24] local.INFO: Processing buffer {"connection_id":90690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:24:24] local.INFO: IMEI packet received {"connection_id":90690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":90690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:24:29] local.INFO: TCP Data received {"connection_id":90690,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:24:29] local.INFO: Processing buffer {"connection_id":90690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:24:29] local.INFO: IMEI packet received {"connection_id":90690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":90690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:24:31] local.INFO: TCP Data received {"connection_id":90690,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:24:31] local.INFO: Processing buffer {"connection_id":90690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:24:31] local.INFO: Packet analysis {"connection_id":90690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:24:31] local.INFO: Extracted packet for processing {"connection_id":90690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:31] 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-06-02 08:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 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-06-02 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:24:31] 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-06-02 08: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-06-02 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-06-02 08:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:24:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":90690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:24:31] local.INFO: GPS data processed {"connection_id":90690,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:24:31] local.INFO: Acknowledgment sent {"connection_id":90690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:24:51] local.INFO: TCP Data received {"connection_id":89637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e863ff518012d7c3f0005e52328000b00022a..."} 
[2026-06-02 08:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863ff518012d7c3f0005e52328000b00022a..."} 
[2026-06-02 08:24:51] local.INFO: Processing buffer {"connection_id":89637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863ff518012d7c3f0005e52328000b00022a..."} 
[2026-06-02 08:24:51] local.INFO: Packet analysis {"connection_id":89637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:24:51] local.INFO: Extracted packet for processing {"connection_id":89637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863f"} 
[2026-06-02 08:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":98902824,"longitude_deg":76.3117312,"latitude_deg":9.8902824,"altitude":11,"angle":2,"satellites":42,"speed":14,"hex_longitude":"2d7c3f00","hex_latitude":"05e52328","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774412288001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87778686169776128,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609554862080,"note":"Value kept but may cause issues"} 
[2026-06-02 08:24:51] 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-06-02 08:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780368799000,"timestamp_ms":1780368799000,"timestamp_seconds":1780368799,"priority":1,"record_length":96,"hex_timestamp":"0000019e863ff518"} 
[2026-06-02 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-06-02 08:24: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-06-02 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 08:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 08:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":89637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":89637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":89637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774412288001,"66":12461,"39":206,"87":13824,"24":14,"16":87778686169776128,"45":8952874609554862080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 08:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774412288001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:24:51] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 08:24:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87778686169776128,"km_value":87778686169776.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609554862080,"description":"Unknown IO ID 45"} 
[2026-06-02 08:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774412288001,"power":12461,"unknown_39":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8952874609554862080}} 
[2026-06-02 08:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":89637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:24:51] local.INFO: GPS data processed {"connection_id":89637,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:24:51] local.INFO: Acknowledgment sent {"connection_id":89637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:25:02] local.INFO: TCP Data received {"connection_id":90690,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:25:02] local.INFO: Processing buffer {"connection_id":90690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:25:02] local.INFO: Packet analysis {"connection_id":90690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:25:02] local.INFO: Extracted packet for processing {"connection_id":90690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:25:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:02] 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-06-02 08:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:25: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-06-02 08:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:25:02] 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-06-02 08: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-06-02 08:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:25:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":90690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:25:02] local.INFO: GPS data processed {"connection_id":90690,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:25:02] local.INFO: Acknowledgment sent {"connection_id":90690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:25:12] local.INFO: TCP Data received {"connection_id":89466,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:25:12] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:25:12] local.INFO: IMEI packet received {"connection_id":89466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":89466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:25:18] local.INFO: TCP Data received {"connection_id":89466,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:25:18] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:25:18] local.INFO: IMEI packet received {"connection_id":89466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":89466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:25:19] local.INFO: TCP Data received {"connection_id":89466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86415c78012d7be8c005e5e5780003013025..."} 
[2026-06-02 08:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86415c78012d7be8c005e5e5780003013025..."} 
[2026-06-02 08:25:19] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86415c78012d7be8c005e5e5780003013025..."} 
[2026-06-02 08:25:19] local.INFO: Packet analysis {"connection_id":89466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:25:19] local.INFO: Extracted packet for processing {"connection_id":89466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98952568,"longitude_deg":76.3095232,"latitude_deg":9.8952568,"altitude":3,"angle":304,"satellites":37,"speed":25,"hex_longitude":"2d7be8c0","hex_latitude":"05e5e578","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774433280001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87781379114270720,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934649104824414208,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:19] 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-06-02 08:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780368891000,"timestamp_ms":1780368891000,"timestamp_seconds":1780368891,"priority":1,"record_length":96,"hex_timestamp":"0000019e86415c78"} 
[2026-06-02 08:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 08:25:19] 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-06-02 08: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-06-02 08:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774433280001,"66":13091,"40":206,"87":13824,"24":25,"16":87781379114270720,"45":8934649104824414208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-02 08:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774433280001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:25:19] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 08:25:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87781379114270720,"km_value":87781379114270.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934649104824414208,"description":"Unknown IO ID 45"} 
[2026-06-02 08:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774433280001,"power":13091,"unknown_40":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8934649104824414208}} 
[2026-06-02 08:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":89466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:25:19] local.INFO: GPS data processed {"connection_id":89466,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:25:19] local.INFO: Acknowledgment sent {"connection_id":89466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:25:24] local.INFO: TCP Data received {"connection_id":89467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:25:24] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:25:24] local.INFO: IMEI packet received {"connection_id":89467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":89467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:25:30] local.INFO: TCP Data received {"connection_id":89467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:25:30] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:25:30] local.INFO: IMEI packet received {"connection_id":89467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":89467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:25:31] local.INFO: TCP Data received {"connection_id":89467,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:25:31] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e863cebc0012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:25:31] local.INFO: Packet analysis {"connection_id":89467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:25:31] local.INFO: Extracted packet for processing {"connection_id":89467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e863c"} 
[2026-06-02 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:25: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-06-02 08:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774284544001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:31] 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-06-02 08:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780368600000,"timestamp_ms":1780368600000,"timestamp_seconds":1780368600,"priority":1,"record_length":96,"hex_timestamp":"0000019e863cebc0"} 
[2026-06-02 08:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:25: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 08:25:31] 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-06-02 08:25: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-06-02 08:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774284544001,"66":26006,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774284544001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:25:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774284544001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":89467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:25:31] local.INFO: GPS data processed {"connection_id":89467,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:25:31] local.INFO: Acknowledgment sent {"connection_id":89467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:25:50] local.INFO: TCP Data received {"connection_id":89466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86416830012d7be2c005e5ea380004013d27..."} 
[2026-06-02 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86416830012d7be2c005e5ea380004013d27..."} 
[2026-06-02 08:25:50] local.INFO: Processing buffer {"connection_id":89466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86416830012d7be2c005e5ea380004013d27..."} 
[2026-06-02 08:25:50] local.INFO: Packet analysis {"connection_id":89466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:25:50] local.INFO: Extracted packet for processing {"connection_id":89466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98953784,"longitude_deg":76.3093696,"latitude_deg":9.8953784,"altitude":4,"angle":317,"satellites":39,"speed":24,"hex_longitude":"2d7be2c0","hex_latitude":"05e5ea38","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774436096001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87781473603551232,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392826398720,"note":"Value kept but may cause issues"} 
[2026-06-02 08:25:50] 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-06-02 08:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780368894000,"timestamp_ms":1780368894000,"timestamp_seconds":1780368894,"priority":1,"record_length":96,"hex_timestamp":"0000019e86416830"} 
[2026-06-02 08:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 08:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774436096001,"66":13102,"40":206,"87":13824,"24":24,"16":87781473603551232,"45":8928597392826398720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-02 08:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774436096001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:25:50] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 08:25:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87781473603551232,"km_value":87781473603551.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392826398720,"description":"Unknown IO ID 45"} 
[2026-06-02 08:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774436096001,"power":13102,"unknown_40":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8928597392826398720}} 
[2026-06-02 08:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":89466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:25:50] local.INFO: GPS data processed {"connection_id":89466,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:25:50] local.INFO: Acknowledgment sent {"connection_id":89466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:26:02] local.INFO: TCP Data received {"connection_id":89467,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:02] local.INFO: Processing buffer {"connection_id":89467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:02] local.INFO: Packet analysis {"connection_id":89467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:02] local.INFO: Extracted packet for processing {"connection_id":89467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:02] 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-06-02 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:26:02] 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-06-02 08:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:26: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-06-02 08:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:26:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":89467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:26:02] local.INFO: GPS data processed {"connection_id":89467,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:26:02] local.INFO: Acknowledgment sent {"connection_id":89467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:26:12] local.INFO: TCP Data received {"connection_id":90692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:12] local.INFO: Processing buffer {"connection_id":90692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:12] local.INFO: IMEI packet received {"connection_id":90692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":90692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:26:12] local.INFO: TCP Data received {"connection_id":90692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:12] local.INFO: Processing buffer {"connection_id":90692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:12] local.INFO: IMEI packet received {"connection_id":90692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":90692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:26:17] local.INFO: TCP Data received {"connection_id":90692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:17] local.INFO: Processing buffer {"connection_id":90692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:26:17] local.INFO: IMEI packet received {"connection_id":90692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":90692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:26:18] local.INFO: TCP Data received {"connection_id":90692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864173e8012d7bde4005e5f0500005014825..."} 
[2026-06-02 08:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864173e8012d7bde4005e5f0500005014825..."} 
[2026-06-02 08:26:18] local.INFO: Processing buffer {"connection_id":90692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864173e8012d7bde4005e5f0500005014825..."} 
[2026-06-02 08:26:18] local.INFO: Packet analysis {"connection_id":90692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:18] local.INFO: Extracted packet for processing {"connection_id":90692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763092544,"raw_latitude":98955344,"longitude_deg":76.3092544,"latitude_deg":9.8955344,"altitude":5,"angle":328,"satellites":37,"speed":26,"hex_longitude":"2d7bde40","hex_latitude":"05e5f050","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774436864001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87781568092831744,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908542966446080,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:18] 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-06-02 08:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780368897000,"timestamp_ms":1780368897000,"timestamp_seconds":1780368897,"priority":1,"record_length":96,"hex_timestamp":"0000019e864173e8"} 
[2026-06-02 08:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:26: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-06-02 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 08:26:18] 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-06-02 08: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-06-02 08:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774436864001,"66":13135,"40":206,"87":13824,"24":26,"16":87781568092831744,"45":8926908542966446080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-02 08:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774436864001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:26:18] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 08:26:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87781568092831744,"km_value":87781568092831.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908542966446080,"description":"Unknown IO ID 45"} 
[2026-06-02 08:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774436864001,"power":13135,"unknown_40":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8926908542966446080}} 
[2026-06-02 08:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":90692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:26:18] local.INFO: GPS data processed {"connection_id":90692,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:26:18] local.INFO: Acknowledgment sent {"connection_id":90692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:26:25] local.INFO: TCP Data received {"connection_id":89225,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:26:25] local.INFO: Processing buffer {"connection_id":89225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:26:25] local.INFO: IMEI packet received {"connection_id":89225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":89225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:26:29] local.INFO: TCP Data received {"connection_id":89225,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:26:29] local.INFO: Processing buffer {"connection_id":89225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:26:29] local.INFO: IMEI packet received {"connection_id":89225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":89225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:26:30] local.INFO: TCP Data received {"connection_id":89225,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:30] local.INFO: Processing buffer {"connection_id":89225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:30] local.INFO: Packet analysis {"connection_id":89225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:30] local.INFO: Extracted packet for processing {"connection_id":89225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26: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-06-02 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:26: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-06-02 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:26:30] 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-06-02 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:26:30] 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-06-02 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:26:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":89225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:26:30] local.INFO: GPS data processed {"connection_id":89225,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:26:30] local.INFO: Acknowledgment sent {"connection_id":89225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:26:35] local.INFO: TCP Data received {"connection_id":89225,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:35] local.INFO: Processing buffer {"connection_id":89225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:26:35] local.INFO: Packet analysis {"connection_id":89225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:35] local.INFO: Extracted packet for processing {"connection_id":89225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:35] 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-06-02 08:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:26:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":89225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:26:35] local.INFO: GPS data processed {"connection_id":89225,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:26:35] local.INFO: Acknowledgment sent {"connection_id":89225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:26:51] local.INFO: TCP Data received {"connection_id":90692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418770012d7bd94005e5fb980004015527..."} 
[2026-06-02 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418770012d7bd94005e5fb980004015527..."} 
[2026-06-02 08:26:51] local.INFO: Processing buffer {"connection_id":90692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418770012d7bd94005e5fb980004015527..."} 
[2026-06-02 08:26:51] local.INFO: Packet analysis {"connection_id":90692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:51] local.INFO: Extracted packet for processing {"connection_id":90692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98958232,"longitude_deg":76.3091264,"latitude_deg":9.8958232,"altitude":4,"angle":341,"satellites":39,"speed":24,"hex_longitude":"2d7bd940","hex_latitude":"05e5fb98","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774437632001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87781722711654400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925641905571647488,"note":"Value kept but may cause issues"} 
[2026-06-02 08:26:51] 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-06-02 08:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780368902000,"timestamp_ms":1780368902000,"timestamp_seconds":1780368902,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418770"} 
[2026-06-02 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-06-02 08:26: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-06-02 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 08:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 08:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":90692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":90692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":90692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774437632001,"66":13243,"40":206,"87":13824,"24":24,"16":87781722711654400,"45":8925641905571647488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-02 08:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774437632001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:26:51] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 08:26:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87781722711654400,"km_value":87781722711654.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925641905571647488,"description":"Unknown IO ID 45"} 
[2026-06-02 08:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774437632001,"power":13243,"unknown_40":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8925641905571647488}} 
[2026-06-02 08:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":90692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:26:51] local.INFO: GPS data processed {"connection_id":90692,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:26:51] local.INFO: Acknowledgment sent {"connection_id":90692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:27:06] local.INFO: TCP Data received {"connection_id":89225,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:27:06] local.INFO: Processing buffer {"connection_id":89225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:27:06] local.INFO: Packet analysis {"connection_id":89225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:27:06] local.INFO: Extracted packet for processing {"connection_id":89225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:06] 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-06-02 08:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:27: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-06-02 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:27:06] 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-06-02 08: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-06-02 08:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:27:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":89225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:27:06] local.INFO: GPS data processed {"connection_id":89225,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:27:06] local.INFO: Acknowledgment sent {"connection_id":89225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:27:13] local.INFO: TCP Data received {"connection_id":90694,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:13] local.INFO: Processing buffer {"connection_id":90694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:13] local.INFO: IMEI packet received {"connection_id":90694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":90694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:27:13] local.INFO: TCP Data received {"connection_id":90694,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:13] local.INFO: Processing buffer {"connection_id":90694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:13] local.INFO: IMEI packet received {"connection_id":90694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":90694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:27:17] local.INFO: TCP Data received {"connection_id":90694,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:17] local.INFO: Processing buffer {"connection_id":90694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:27:17] local.INFO: IMEI packet received {"connection_id":90694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":90694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:27:18] local.INFO: TCP Data received {"connection_id":90694,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86433138012d7b904005e6f038000d014927..."} 
[2026-06-02 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86433138012d7b904005e6f038000d014927..."} 
[2026-06-02 08:27:18] local.INFO: Processing buffer {"connection_id":90694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86433138012d7b904005e6f038000d014927..."} 
[2026-06-02 08:27:18] local.INFO: Packet analysis {"connection_id":90694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:27:18] local.INFO: Extracted packet for processing {"connection_id":90694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763072576,"raw_latitude":99020856,"longitude_deg":76.3072576,"latitude_deg":9.9020856,"altitude":13,"angle":329,"satellites":39,"speed":18,"hex_longitude":"2d7b9040","hex_latitude":"05e6f038","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774465792001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87784948232093696,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904883126055505920,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:18] 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-06-02 08:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780369011000,"timestamp_ms":1780369011000,"timestamp_seconds":1780369011,"priority":1,"record_length":96,"hex_timestamp":"0000019e86433138"} 
[2026-06-02 08:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:27: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-06-02 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 08:27: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-06-02 08: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-06-02 08:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774465792001,"66":13048,"95":206,"87":13824,"24":18,"16":87784948232093696,"45":8904883126055505920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-02 08:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774465792001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:27:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 08:27:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87784948232093696,"km_value":87784948232093.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904883126055505920,"description":"Unknown IO ID 45"} 
[2026-06-02 08:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774465792001,"power":13048,"unknown_95":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8904883126055505920}} 
[2026-06-02 08:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":90694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:27:18] local.INFO: GPS data processed {"connection_id":90694,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:27:18] local.INFO: Acknowledgment sent {"connection_id":90694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:27:24] local.INFO: TCP Data received {"connection_id":90695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:27:24] local.INFO: Processing buffer {"connection_id":90695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:27:24] local.INFO: IMEI packet received {"connection_id":90695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":90695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:27:29] local.INFO: TCP Data received {"connection_id":90695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:27:29] local.INFO: Processing buffer {"connection_id":90695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:27:29] local.INFO: IMEI packet received {"connection_id":90695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":90695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:27:31] local.INFO: TCP Data received {"connection_id":90695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:27:31] local.INFO: Processing buffer {"connection_id":90695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:27:31] local.INFO: Packet analysis {"connection_id":90695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:27:31] local.INFO: Extracted packet for processing {"connection_id":90695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:27: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-06-02 08:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:31] 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-06-02 08:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:27: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:27:31] 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-06-02 08:27: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-06-02 08:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:27:31] 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-06-02 08:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:27:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":90695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:27:31] local.INFO: GPS data processed {"connection_id":90695,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:27:31] local.INFO: Acknowledgment sent {"connection_id":90695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:27:49] local.INFO: TCP Data received {"connection_id":90694,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86433908012d7b8ec005e6f2f8000d015427..."} 
[2026-06-02 08:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86433908012d7b8ec005e6f2f8000d015427..."} 
[2026-06-02 08:27:49] local.INFO: Processing buffer {"connection_id":90694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86433908012d7b8ec005e6f2f8000d015427..."} 
[2026-06-02 08:27:49] local.INFO: Packet analysis {"connection_id":90694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:27:49] local.INFO: Extracted packet for processing {"connection_id":90694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763072192,"raw_latitude":99021560,"longitude_deg":76.3072192,"latitude_deg":9.902156,"altitude":13,"angle":340,"satellites":39,"speed":15,"hex_longitude":"2d7b8ec0","hex_latitude":"05e6f2f8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774466816001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87784986886799360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903686857404987392,"note":"Value kept but may cause issues"} 
[2026-06-02 08:27:49] 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-06-02 08:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780369013000,"timestamp_ms":1780369013000,"timestamp_seconds":1780369013,"priority":1,"record_length":96,"hex_timestamp":"0000019e86433908"} 
[2026-06-02 08:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:27:49] 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-06-02 08: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-06-02 08:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774466816001,"66":12232,"95":206,"87":13824,"24":15,"16":87784986886799360,"45":8903686857404987392},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-02 08:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774466816001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:27:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 08:27:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87784986886799360,"km_value":87784986886799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903686857404987392,"description":"Unknown IO ID 45"} 
[2026-06-02 08:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774466816001,"power":12232,"unknown_95":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8903686857404987392}} 
[2026-06-02 08:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":90694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:27:50] local.INFO: GPS data processed {"connection_id":90694,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:27:50] local.INFO: Acknowledgment sent {"connection_id":90694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:28:02] local.INFO: TCP Data received {"connection_id":90695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:28:02] local.INFO: Processing buffer {"connection_id":90695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:28:02] local.INFO: Packet analysis {"connection_id":90695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:28:02] local.INFO: Extracted packet for processing {"connection_id":90695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:28:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:02] 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-06-02 08:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:28:02] 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-06-02 08:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:28:02] 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-06-02 08:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:28:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":90695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:28:02] local.INFO: GPS data processed {"connection_id":90695,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:28:02] local.INFO: Acknowledgment sent {"connection_id":90695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:28:12] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:28:12] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:28:12] local.INFO: IMEI packet received {"connection_id":89469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":89469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:28:18] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:28:18] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:28:18] local.INFO: IMEI packet received {"connection_id":89469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":89469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:28:19] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864373a0012d7b838005e712b80008014029..."} 
[2026-06-02 08:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864373a0012d7b838005e712b80008014029..."} 
[2026-06-02 08:28:19] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864373a0012d7b838005e712b80008014029..."} 
[2026-06-02 08:28:19] local.INFO: Packet analysis {"connection_id":89469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:28:19] local.INFO: Extracted packet for processing {"connection_id":89469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:28:19] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":99029688,"longitude_deg":76.3069312,"latitude_deg":9.9029688,"altitude":8,"angle":320,"satellites":41,"speed":22,"hex_longitude":"2d7b8380","hex_latitude":"05e712b8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774467328001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87785407793594368,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903264644940101632,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:19] 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-06-02 08:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780369028000,"timestamp_ms":1780369028000,"timestamp_seconds":1780369028,"priority":1,"record_length":96,"hex_timestamp":"0000019e864373a0"} 
[2026-06-02 08:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 08:28:19] 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-06-02 08: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-06-02 08:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774467328001,"66":13135,"96":206,"87":13824,"24":22,"16":87785407793594368,"45":8903264644940101632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774467328001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:28:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:28:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87785407793594368,"km_value":87785407793594.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903264644940101632,"description":"Unknown IO ID 45"} 
[2026-06-02 08:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774467328001,"power":13135,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8903264644940101632}} 
[2026-06-02 08:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":89469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:28:19] local.INFO: GPS data processed {"connection_id":89469,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:28:19] local.INFO: Acknowledgment sent {"connection_id":89469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:28:24] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:28:24] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:28:24] local.INFO: IMEI packet received {"connection_id":89638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:28:29] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:28:29] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:28:29] local.INFO: IMEI packet received {"connection_id":89638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:28:31] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:28:31] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:28:31] local.INFO: Packet analysis {"connection_id":89638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:28:31] local.INFO: Extracted packet for processing {"connection_id":89638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:31] 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-06-02 08:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 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-06-02 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:28:31] 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-06-02 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-06-02 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-06-02 08:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:28:31] 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-06-02 08:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:28:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":89638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:28:31] local.INFO: GPS data processed {"connection_id":89638,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:28:31] local.INFO: Acknowledgment sent {"connection_id":89638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:28:50] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86438340012d7b7d8005e71af80007015127..."} 
[2026-06-02 08:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86438340012d7b7d8005e71af80007015127..."} 
[2026-06-02 08:28:50] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86438340012d7b7d8005e71af80007015127..."} 
[2026-06-02 08:28:50] local.INFO: Packet analysis {"connection_id":89469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:28:50] local.INFO: Extracted packet for processing {"connection_id":89469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763067776,"raw_latitude":99031800,"longitude_deg":76.3067776,"latitude_deg":9.90318,"altitude":7,"angle":337,"satellites":39,"speed":28,"hex_longitude":"2d7b7d80","hex_latitude":"05e71af8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774471168001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87785536642613248,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051454187520,"note":"Value kept but may cause issues"} 
[2026-06-02 08:28:50] 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-06-02 08:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369032000,"timestamp_ms":1780369032000,"timestamp_seconds":1780369032,"priority":1,"record_length":96,"hex_timestamp":"0000019e86438340"} 
[2026-06-02 08:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 08:28:50] 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-06-02 08: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-06-02 08:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":true} 
[2026-06-02 08:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774471168001,"66":13048,"96":206,"87":13824,"24":28,"16":87785536642613248,"45":8900098051454187520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774471168001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:28:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:28:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87785536642613248,"km_value":87785536642613.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051454187520,"description":"Unknown IO ID 45"} 
[2026-06-02 08:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774471168001,"power":13048,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8900098051454187520}} 
[2026-06-02 08:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":89469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:28:50] local.INFO: GPS data processed {"connection_id":89469,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:28:50] local.INFO: Acknowledgment sent {"connection_id":89469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:29:03] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:29:03] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:29:03] local.INFO: Packet analysis {"connection_id":89638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:29:03] local.INFO: Extracted packet for processing {"connection_id":89638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:03] 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-06-02 08:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:29:03] 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-06-02 08: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-06-02 08:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":89638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:29:03] local.INFO: GPS data processed {"connection_id":89638,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:29:03] local.INFO: Acknowledgment sent {"connection_id":89638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:29:09] local.INFO: TCP Data received {"connection_id":90696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:29:09] local.INFO: Processing buffer {"connection_id":90696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:29:09] local.INFO: IMEI packet received {"connection_id":90696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":90696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:29:11] local.INFO: TCP Data received {"connection_id":90697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:11] local.INFO: Processing buffer {"connection_id":90697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:11] local.INFO: IMEI packet received {"connection_id":90697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":90697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:29:12] local.INFO: TCP Data received {"connection_id":90697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:12] local.INFO: Processing buffer {"connection_id":90697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:12] local.INFO: IMEI packet received {"connection_id":90697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":90697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:29:15] local.INFO: TCP Data received {"connection_id":90697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:15] local.INFO: Processing buffer {"connection_id":90697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:15] local.INFO: IMEI packet received {"connection_id":90697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":90697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:29:18] local.INFO: TCP Data received {"connection_id":90697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:18] local.INFO: Processing buffer {"connection_id":90697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:29:18] local.INFO: IMEI packet received {"connection_id":90697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":90697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:29:20] local.INFO: TCP Data received {"connection_id":90697,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8643d160012d7b760005e733700006015928..."} 
[2026-06-02 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8643d160012d7b760005e733700006015928..."} 
[2026-06-02 08:29:20] local.INFO: Processing buffer {"connection_id":90697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8643d160012d7b760005e733700006015928..."} 
[2026-06-02 08:29:20] local.INFO: Packet analysis {"connection_id":90697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:29:20] local.INFO: Extracted packet for processing {"connection_id":90697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8643"} 
[2026-06-02 08:29:20] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038064,"longitude_deg":76.3065856,"latitude_deg":9.9038064,"altitude":6,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d7b7600","hex_latitude":"05e73370","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774472192001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87785854470193152,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898409201594464256,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:20] 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-06-02 08:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780369052000,"timestamp_ms":1780369052000,"timestamp_seconds":1780369052,"priority":1,"record_length":96,"hex_timestamp":"0000019e8643d160"} 
[2026-06-02 08:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:29:20] 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-06-02 08: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-06-02 08:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774472192001,"66":13189,"96":206,"87":13824,"24":0,"16":87785854470193152,"45":8898409201594464256},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774472192001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:29:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:29:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87785854470193152,"km_value":87785854470193.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898409201594464256,"description":"Unknown IO ID 45"} 
[2026-06-02 08:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774472192001,"power":13189,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898409201594464256}} 
[2026-06-02 08:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":90697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:29:20] local.INFO: GPS data processed {"connection_id":90697,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:29:20] local.INFO: Acknowledgment sent {"connection_id":90697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:29:24] local.INFO: TCP Data received {"connection_id":90698,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:29:24] local.INFO: Processing buffer {"connection_id":90698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:29:24] local.INFO: IMEI packet received {"connection_id":90698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":90698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:29:29] local.INFO: TCP Data received {"connection_id":90698,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:29:29] local.INFO: Processing buffer {"connection_id":90698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:29:29] local.INFO: IMEI packet received {"connection_id":90698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":90698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:29:31] local.INFO: TCP Data received {"connection_id":90698,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:29:31] local.INFO: Processing buffer {"connection_id":90698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:29:31] local.INFO: Packet analysis {"connection_id":90698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:29:31] local.INFO: Extracted packet for processing {"connection_id":90698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:31] 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-06-02 08:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:29:31] 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-06-02 08:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:29:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":90698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:29:31] local.INFO: GPS data processed {"connection_id":90698,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:29:31] local.INFO: Acknowledgment sent {"connection_id":90698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:29:51] local.INFO: TCP Data received {"connection_id":90697,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86442368012d7b760005e733700006015924..."} 
[2026-06-02 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86442368012d7b760005e733700006015924..."} 
[2026-06-02 08:29:51] local.INFO: Processing buffer {"connection_id":90697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86442368012d7b760005e733700006015924..."} 
[2026-06-02 08:29:51] local.INFO: Packet analysis {"connection_id":90697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8644"} 
[2026-06-02 08:29:51] local.INFO: Extracted packet for processing {"connection_id":90697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8644"} 
[2026-06-02 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038064,"longitude_deg":76.3065856,"latitude_deg":9.9038064,"altitude":6,"angle":345,"satellites":36,"speed":0,"hex_longitude":"2d7b7600","hex_latitude":"05e73370","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774477312001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87785854470193152,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139270737920,"note":"Value kept but may cause issues"} 
[2026-06-02 08:29:51] 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-06-02 08:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780369073000,"timestamp_ms":1780369073000,"timestamp_seconds":1780369073,"priority":1,"record_length":96,"hex_timestamp":"0000019e86442368"} 
[2026-06-02 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-06-02 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 08:29:51] 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-06-02 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-06-02 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-06-02 08:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":90697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":90697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":90697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774477312001,"66":12917,"96":206,"87":13824,"24":0,"16":87785854470193152,"45":8896298139270737920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774477312001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:29:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:29:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87785854470193152,"km_value":87785854470193.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139270737920,"description":"Unknown IO ID 45"} 
[2026-06-02 08:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774477312001,"power":12917,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896298139270737920}} 
[2026-06-02 08:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":90697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:29:51] local.INFO: GPS data processed {"connection_id":90697,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:29:51] local.INFO: Acknowledgment sent {"connection_id":90697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:30:03] local.INFO: TCP Data received {"connection_id":90698,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:03] local.INFO: Processing buffer {"connection_id":90698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:03] local.INFO: Packet analysis {"connection_id":90698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:30:03] local.INFO: Extracted packet for processing {"connection_id":90698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:03] 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-06-02 08:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:30:03] 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-06-02 08:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":90698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:30:03] local.INFO: GPS data processed {"connection_id":90698,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:30:03] local.INFO: Acknowledgment sent {"connection_id":90698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:30:12] local.INFO: TCP Data received {"connection_id":89226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:12] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:12] local.INFO: IMEI packet received {"connection_id":89226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":89226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:30:13] local.INFO: TCP Data received {"connection_id":89226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:13] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:13] local.INFO: IMEI packet received {"connection_id":89226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":89226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:30:18] local.INFO: TCP Data received {"connection_id":89226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:18] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:30:18] local.INFO: IMEI packet received {"connection_id":89226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":89226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:30:18] local.INFO: TCP Data received {"connection_id":89226,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8645a238012d7b608005e7b0980005015c24..."} 
[2026-06-02 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8645a238012d7b608005e7b0980005015c24..."} 
[2026-06-02 08:30:18] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8645a238012d7b608005e7b0980005015c24..."} 
[2026-06-02 08:30:18] local.INFO: Packet analysis {"connection_id":89226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8645"} 
[2026-06-02 08:30:18] local.INFO: Extracted packet for processing {"connection_id":89226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8645"} 
[2026-06-02 08:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763060352,"raw_latitude":99070104,"longitude_deg":76.3060352,"latitude_deg":9.9070104,"altitude":5,"angle":348,"satellites":36,"speed":5,"hex_longitude":"2d7b6080","hex_latitude":"05e7b098","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774504192001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87787447903059968,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527902255216640,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:18] 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-06-02 08:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780369171000,"timestamp_ms":1780369171000,"timestamp_seconds":1780369171,"priority":1,"record_length":96,"hex_timestamp":"0000019e8645a238"} 
[2026-06-02 08:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:30: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-06-02 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 08:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774504192001,"66":12722,"96":206,"87":13824,"24":5,"16":87787447903059968,"45":8890527902255216640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774504192001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:30:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:30:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87787447903059968,"km_value":87787447903059.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527902255216640,"description":"Unknown IO ID 45"} 
[2026-06-02 08:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774504192001,"power":12722,"unknown_96":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8890527902255216640}} 
[2026-06-02 08:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":89226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:30:19] local.INFO: GPS data processed {"connection_id":89226,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:30:19] local.INFO: Acknowledgment sent {"connection_id":89226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:30:30] local.INFO: TCP Data received {"connection_id":89227,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:30:30] local.INFO: Processing buffer {"connection_id":89227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:30:30] local.INFO: IMEI packet received {"connection_id":89227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":89227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:30:35] local.INFO: TCP Data received {"connection_id":89227,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:30:35] local.INFO: Processing buffer {"connection_id":89227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:30:35] local.INFO: IMEI packet received {"connection_id":89227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":89227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:30:37] local.INFO: TCP Data received {"connection_id":89227,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:37] local.INFO: Processing buffer {"connection_id":89227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:37] local.INFO: Packet analysis {"connection_id":89227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:30:37] local.INFO: Extracted packet for processing {"connection_id":89227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:37] 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-06-02 08:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 08:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:30:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":89227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:30:37] local.INFO: GPS data processed {"connection_id":89227,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:30:37] local.INFO: Acknowledgment sent {"connection_id":89227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:30:40] local.INFO: TCP Data received {"connection_id":89227,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:40] local.INFO: Processing buffer {"connection_id":89227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86418388012d10f4c006e4cd88000c01552e..."} 
[2026-06-02 08:30:40] local.INFO: Packet analysis {"connection_id":89227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:30:40] local.INFO: Extracted packet for processing {"connection_id":89227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8641"} 
[2026-06-02 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774361600001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:40] 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-06-02 08:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780368901000,"timestamp_ms":1780368901000,"timestamp_seconds":1780368901,"priority":1,"record_length":96,"hex_timestamp":"0000019e86418388"} 
[2026-06-02 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-06-02 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 08:30:40] 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-06-02 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-06-02 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-06-02 08:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774361600001,"66":25995,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774361600001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:30:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774361600001,"power":25995,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":89227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:30:40] local.INFO: GPS data processed {"connection_id":89227,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:30:40] local.INFO: Acknowledgment sent {"connection_id":89227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:30:50] local.INFO: TCP Data received {"connection_id":89226,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8645f058012d7b5b4005e7d3c80005015f25..."} 
[2026-06-02 08:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8645f058012d7b5b4005e7d3c80005015f25..."} 
[2026-06-02 08:30:50] local.INFO: Processing buffer {"connection_id":89226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8645f058012d7b5b4005e7d3c80005015f25..."} 
[2026-06-02 08:30:50] local.INFO: Packet analysis {"connection_id":89226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8645"} 
[2026-06-02 08:30:50] local.INFO: Extracted packet for processing {"connection_id":89226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8645"} 
[2026-06-02 08:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":99079112,"longitude_deg":76.3059008,"latitude_deg":9.9079112,"altitude":5,"angle":351,"satellites":37,"speed":31,"hex_longitude":"2d7b5b40","hex_latitude":"05e7d3c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774507776001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87787890284691456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890246427279661056,"note":"Value kept but may cause issues"} 
[2026-06-02 08:30:50] 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-06-02 08:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369191000,"timestamp_ms":1780369191000,"timestamp_seconds":1780369191,"priority":1,"record_length":96,"hex_timestamp":"0000019e8645f058"} 
[2026-06-02 08:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 08:30:50] 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-06-02 08: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-06-02 08:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774507776001,"66":13037,"96":206,"87":13824,"24":31,"16":87787890284691456,"45":8890246427279661056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774507776001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:30:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:30:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87787890284691456,"km_value":87787890284691.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890246427279661056,"description":"Unknown IO ID 45"} 
[2026-06-02 08:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774507776001,"power":13037,"unknown_96":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8890246427279661056}} 
[2026-06-02 08:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":89226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:30:50] local.INFO: GPS data processed {"connection_id":89226,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:30:50] local.INFO: Acknowledgment sent {"connection_id":89226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:31:18] local.INFO: TCP Data received {"connection_id":89470,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:31:18] local.INFO: Processing buffer {"connection_id":89470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:31:18] local.INFO: IMEI packet received {"connection_id":89470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":89470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:31:24] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:31:24] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:31:24] local.INFO: IMEI packet received {"connection_id":89640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":89640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:31:28] local.INFO: TCP Data received {"connection_id":89470,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:31:28] local.INFO: Processing buffer {"connection_id":89470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:31:28] local.INFO: IMEI packet received {"connection_id":89470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":89470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:31:29] local.INFO: TCP Data received {"connection_id":89470,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86460bb0012d7b598005e7e8900006000424..."} 
[2026-06-02 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86460bb0012d7b598005e7e8900006000424..."} 
[2026-06-02 08:31:29] local.INFO: Processing buffer {"connection_id":89470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86460bb0012d7b598005e7e8900006000424..."} 
[2026-06-02 08:31:29] local.INFO: Packet analysis {"connection_id":89470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:31:29] local.INFO: Extracted packet for processing {"connection_id":89470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99084432,"longitude_deg":76.305856,"latitude_deg":9.9084432,"altitude":6,"angle":4,"satellites":36,"speed":24,"hex_longitude":"2d7b5980","hex_latitude":"05e7e890","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774512896001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87788152277696512,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683654236160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:29] 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-06-02 08:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780369198000,"timestamp_ms":1780369198000,"timestamp_seconds":1780369198,"priority":1,"record_length":96,"hex_timestamp":"0000019e86460bb0"} 
[2026-06-02 08:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:31: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-06-02 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 08:31:29] 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-06-02 08: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-06-02 08:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774512896001,"66":12939,"96":206,"87":13824,"24":24,"16":87788152277696512,"45":8888768683654236160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774512896001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:31:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:31:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87788152277696512,"km_value":87788152277696.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683654236160,"description":"Unknown IO ID 45"} 
[2026-06-02 08:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774512896001,"power":12939,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8888768683654236160}} 
[2026-06-02 08:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":89470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:31:29] local.INFO: GPS data processed {"connection_id":89470,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:31:29] local.INFO: Acknowledgment sent {"connection_id":89470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:31:29] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:31:29] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:31:29] local.INFO: IMEI packet received {"connection_id":89640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":89640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:31:30] local.INFO: TCP Data received {"connection_id":89470,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86463e78012d7b5b8005e80a600008016223..."} 
[2026-06-02 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86463e78012d7b5b8005e80a600008016223..."} 
[2026-06-02 08:31:30] local.INFO: Processing buffer {"connection_id":89470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86463e78012d7b5b8005e80a600008016223..."} 
[2026-06-02 08:31:30] local.INFO: Packet analysis {"connection_id":89470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:31:30] local.INFO: Extracted packet for processing {"connection_id":89470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99093088,"longitude_deg":76.3059072,"latitude_deg":9.9093088,"altitude":8,"angle":354,"satellites":35,"speed":26,"hex_longitude":"2d7b5b80","hex_latitude":"05e80a60","is_valid_coordinates":true} 
[2026-06-02 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774514688001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87788573184491520,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102446354432,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:30] 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-06-02 08:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369211000,"timestamp_ms":1780369211000,"timestamp_seconds":1780369211,"priority":1,"record_length":96,"hex_timestamp":"0000019e86463e78"} 
[2026-06-02 08:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 08:31:30] 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-06-02 08:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774514688001,"66":13135,"96":206,"87":13824,"24":26,"16":87788573184491520,"45":8888276102446354432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774514688001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:31:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:31:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87788573184491520,"km_value":87788573184491.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102446354432,"description":"Unknown IO ID 45"} 
[2026-06-02 08:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774514688001,"power":13135,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8888276102446354432}} 
[2026-06-02 08:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":89470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:31:30] local.INFO: GPS data processed {"connection_id":89470,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:31:30] local.INFO: Acknowledgment sent {"connection_id":89470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:31:30] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86461b50012d10f4c006e4cd88000c015530..."} 
[2026-06-02 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86461b50012d10f4c006e4cd88000c015530..."} 
[2026-06-02 08:31:30] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86461b50012d10f4c006e4cd88000c015530..."} 
[2026-06-02 08:31:30] local.INFO: Packet analysis {"connection_id":89640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:31:30] local.INFO: Extracted packet for processing {"connection_id":89640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":48,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774438656001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:31: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-06-02 08:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369202000,"timestamp_ms":1780369202000,"timestamp_seconds":1780369202,"priority":1,"record_length":96,"hex_timestamp":"0000019e86461b50"} 
[2026-06-02 08:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 08:31:30] 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-06-02 08:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774438656001,"66":25908,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774438656001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:31:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774438656001,"power":25908,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":89640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:31:30] local.INFO: GPS data processed {"connection_id":89640,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:31:30] local.INFO: Acknowledgment sent {"connection_id":89640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:32:02] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8646a408012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8646a408012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:32:02] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8646a408012d10f4c006e4cd88000c01552d..."} 
[2026-06-02 08:32:02] local.INFO: Packet analysis {"connection_id":89640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:02] local.INFO: Extracted packet for processing {"connection_id":89640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115658120,"longitude_deg":75.6085952,"latitude_deg":11.565812,"altitude":12,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10f4c0","hex_latitude":"06e4cd88","is_valid_coordinates":true} 
[2026-06-02 08:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774515712001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:02] 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-06-02 08:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780369237000,"timestamp_ms":1780369237000,"timestamp_seconds":1780369237,"priority":1,"record_length":96,"hex_timestamp":"0000019e8646a408"} 
[2026-06-02 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-06-02 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":52,"data_length":795,"current_offset":136} 
[2026-06-02 08:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 08:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774515712001,"66":25952,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774515712001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:32:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774515712001,"power":25952,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":89640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:32:02] local.INFO: GPS data processed {"connection_id":89640,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:32:02] local.INFO: Acknowledgment sent {"connection_id":89640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:32:13] local.INFO: TCP Data received {"connection_id":90700,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:13] local.INFO: Processing buffer {"connection_id":90700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:13] local.INFO: IMEI packet received {"connection_id":90700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":90700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:32:13] local.INFO: TCP Data received {"connection_id":90700,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:13] local.INFO: Processing buffer {"connection_id":90700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:13] local.INFO: IMEI packet received {"connection_id":90700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":90700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:32:22] local.INFO: TCP Data received {"connection_id":90700,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:22] local.INFO: Processing buffer {"connection_id":90700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:32:22] local.INFO: IMEI packet received {"connection_id":90700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":90700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:32:23] local.INFO: TCP Data received {"connection_id":90700,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864655e8012d7b5a4005e813380007015424..."} 
[2026-06-02 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864655e8012d7b5a4005e813380007015424..."} 
[2026-06-02 08:32:23] local.INFO: Processing buffer {"connection_id":90700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864655e8012d7b5a4005e813380007015424..."} 
[2026-06-02 08:32:23] local.INFO: Packet analysis {"connection_id":90700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:23] local.INFO: Extracted packet for processing {"connection_id":90700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":99095352,"longitude_deg":76.3058752,"latitude_deg":9.9095352,"altitude":7,"angle":340,"satellites":36,"speed":6,"hex_longitude":"2d7b5a40","hex_latitude":"05e81338","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774518016001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87788684853641216,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052401991680,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:23] 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-06-02 08:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780369217000,"timestamp_ms":1780369217000,"timestamp_seconds":1780369217,"priority":1,"record_length":96,"hex_timestamp":"0000019e864655e8"} 
[2026-06-02 08:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 08:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":90700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":90700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":90700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774518016001,"66":13048,"96":206,"87":13824,"24":6,"16":87788684853641216,"45":8888839052401991680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774518016001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:32:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:32:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87788684853641216,"km_value":87788684853641.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052401991680,"description":"Unknown IO ID 45"} 
[2026-06-02 08:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774518016001,"power":13048,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8888839052401991680}} 
[2026-06-02 08:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":90700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:32:23] local.INFO: GPS data processed {"connection_id":90700,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:32:23] local.INFO: Acknowledgment sent {"connection_id":90700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:32:24] local.INFO: TCP Data received {"connection_id":90700,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86469080012d7b5a0005e815d00007000d21..."} 
[2026-06-02 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86469080012d7b5a0005e815d00007000d21..."} 
[2026-06-02 08:32:24] local.INFO: Processing buffer {"connection_id":90700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86469080012d7b5a0005e815d00007000d21..."} 
[2026-06-02 08:32:24] local.INFO: Packet analysis {"connection_id":90700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:24] local.INFO: Extracted packet for processing {"connection_id":90700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99096016,"longitude_deg":76.3058688,"latitude_deg":9.9096016,"altitude":7,"angle":13,"satellites":33,"speed":4,"hex_longitude":"2d7b5a00","hex_latitude":"05e815d0","is_valid_coordinates":true} 
[2026-06-02 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774519552001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87788723508346880,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208681682944,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:24] 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-06-02 08:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780369232000,"timestamp_ms":1780369232000,"timestamp_seconds":1780369232,"priority":1,"record_length":96,"hex_timestamp":"0000019e86469080"} 
[2026-06-02 08:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:32:24] 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-06-02 08:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":90700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":90700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":90700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774519552001,"66":12765,"96":206,"87":13824,"24":4,"16":87788723508346880,"45":8888487208681682944},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 08:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774519552001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:32:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 08:32:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87788723508346880,"km_value":87788723508346.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208681682944,"description":"Unknown IO ID 45"} 
[2026-06-02 08:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774519552001,"power":12765,"unknown_96":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8888487208681682944}} 
[2026-06-02 08:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":90700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:32:24] local.INFO: GPS data processed {"connection_id":90700,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:32:24] local.INFO: Acknowledgment sent {"connection_id":90700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:32:29] local.INFO: TCP Data received {"connection_id":89228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:32:29] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:32:29] local.INFO: IMEI packet received {"connection_id":89228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":89228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:32:30] local.INFO: TCP Data received {"connection_id":89228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:32:30] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:32:30] local.INFO: IMEI packet received {"connection_id":89228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":89228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:32:31] local.INFO: TCP Data received {"connection_id":89228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8646b790012d10f0c006e4d7d0000c01462d..."} 
[2026-06-02 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8646b790012d10f0c006e4d7d0000c01462d..."} 
[2026-06-02 08:32:31] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8646b790012d10f0c006e4d7d0000c01462d..."} 
[2026-06-02 08:32:31] local.INFO: Packet analysis {"connection_id":89228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:31] local.INFO: Extracted packet for processing {"connection_id":89228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8646"} 
[2026-06-02 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756084928,"raw_latitude":115660752,"longitude_deg":75.6084928,"latitude_deg":11.5660752,"altitude":12,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d10f0c0","hex_latitude":"06e4d7d0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774524672001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765258752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:31] 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-06-02 08:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780369242000,"timestamp_ms":1780369242000,"timestamp_seconds":1780369242,"priority":1,"record_length":96,"hex_timestamp":"0000019e8646b790"} 
[2026-06-02 08:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:32: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-06-02 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 08:32:31] 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-06-02 08: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-06-02 08:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774524672001,"66":27658,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1221812534765258752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774524672001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:32:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765258752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774524672001,"power":27658,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1221812534765258752}} 
[2026-06-02 08:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":89228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:32:31] local.INFO: GPS data processed {"connection_id":89228,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:32:31] local.INFO: Acknowledgment sent {"connection_id":89228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:32:45] local.INFO: TCP Data received {"connection_id":89228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86470998012d10f0c006e4d7d0000c01462d..."} 
[2026-06-02 08:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86470998012d10f0c006e4d7d0000c01462d..."} 
[2026-06-02 08:32:45] local.INFO: Processing buffer {"connection_id":89228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86470998012d10f0c006e4d7d0000c01462d..."} 
[2026-06-02 08:32:45] local.INFO: Packet analysis {"connection_id":89228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8647"} 
[2026-06-02 08:32:45] local.INFO: Extracted packet for processing {"connection_id":89228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8647"} 
[2026-06-02 08:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756084928,"raw_latitude":115660752,"longitude_deg":75.6084928,"latitude_deg":11.5660752,"altitude":12,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d10f0c0","hex_latitude":"06e4d7d0","is_valid_coordinates":true} 
[2026-06-02 08:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774525952001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305266776248156160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220686634859089920,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:45] 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-06-02 08:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780369263000,"timestamp_ms":1780369263000,"timestamp_seconds":1780369263,"priority":1,"record_length":96,"hex_timestamp":"0000019e86470998"} 
[2026-06-02 08:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:32: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-06-02 08:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 08:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774525952001,"66":27821,"245":206,"80":6400,"24":0,"16":305266776248156160,"45":1220686634859089920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-06-02 08:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774525952001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:32:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305266776248156160,"km_value":305266776248156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220686634859089920,"description":"Unknown IO ID 45"} 
[2026-06-02 08:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774525952001,"power":27821,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1220686634859089920}} 
[2026-06-02 08:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":89228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:32:45] local.INFO: GPS data processed {"connection_id":89228,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:32:45] local.INFO: Acknowledgment sent {"connection_id":89228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:32:55] local.INFO: TCP Data received {"connection_id":90700,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864851b8012d7b488005e93140000000ba22..."} 
[2026-06-02 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864851b8012d7b488005e93140000000ba22..."} 
[2026-06-02 08:32:55] local.INFO: Processing buffer {"connection_id":90700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864851b8012d7b488005e93140000000ba22..."} 
[2026-06-02 08:32:55] local.INFO: Packet analysis {"connection_id":90700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:32:55] local.INFO: Extracted packet for processing {"connection_id":90700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":99168576,"longitude_deg":76.3054208,"latitude_deg":9.9168576,"altitude":0,"angle":186,"satellites":34,"speed":2,"hex_longitude":"2d7b4880","hex_latitude":"05e93140","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774548736001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87792296921137152,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765351751680,"note":"Value kept but may cause issues"} 
[2026-06-02 08:32: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-06-02 08:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780369347000,"timestamp_ms":1780369347000,"timestamp_seconds":1780369347,"priority":1,"record_length":96,"hex_timestamp":"0000019e864851b8"} 
[2026-06-02 08:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 08:32:55] 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-06-02 08: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-06-02 08:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":90700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":90700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":90700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774548736001,"66":13461,"201":206,"87":13824,"24":2,"16":87792296921137152,"45":8883631765351751680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-02 08:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774548736001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:32:55] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 08:32:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87792296921137152,"km_value":87792296921137.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765351751680,"description":"Unknown IO ID 45"} 
[2026-06-02 08:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774548736001,"power":13461,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8883631765351751680}} 
[2026-06-02 08:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":90700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:32:55] local.INFO: GPS data processed {"connection_id":90700,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:32:55] local.INFO: Acknowledgment sent {"connection_id":90700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:33:17] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:33:17] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:33:17] local.INFO: IMEI packet received {"connection_id":89641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":89641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:33:24] local.INFO: TCP Data received {"connection_id":89229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:24] local.INFO: Processing buffer {"connection_id":89229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:24] local.INFO: IMEI packet received {"connection_id":89229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":89229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:33:25] local.INFO: TCP Data received {"connection_id":89229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:25] local.INFO: Processing buffer {"connection_id":89229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:25] local.INFO: IMEI packet received {"connection_id":89229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":89229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:33:26] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 08:33:26] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 08:33:26] local.INFO: IMEI packet received {"connection_id":89641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":89641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:33:28] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864870f8012d7b484005e92f28000000ac22..."} 
[2026-06-02 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864870f8012d7b484005e92f28000000ac22..."} 
[2026-06-02 08:33:28] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e86..."} 
[2026-06-02 08:33:28] local.INFO: IMEI packet received {"connection_id":89641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":89641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:33:29] local.INFO: TCP Data received {"connection_id":89229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:29] local.INFO: Processing buffer {"connection_id":89229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:33:29] local.INFO: IMEI packet received {"connection_id":89229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":89229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:33:30] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8648b748012d7b494005e92f480000003f23..."} 
[2026-06-02 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8648b748012d7b494005e92f480000003f23..."} 
[2026-06-02 08:33:30] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e864870f8012d7b484005e92f28000000ac22..."} 
[2026-06-02 08:33:30] local.INFO: Packet analysis {"connection_id":89641,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:30] local.INFO: Extracted packet for processing {"connection_id":89641,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":99168040,"longitude_deg":76.3054144,"latitude_deg":9.916804,"altitude":0,"angle":172,"satellites":34,"speed":1,"hex_longitude":"2d7b4840","hex_latitude":"05e92f28","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774552832001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87792322690940928,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027863814144,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369355000,"timestamp_ms":1780369355000,"timestamp_seconds":1780369355,"priority":1,"record_length":96,"hex_timestamp":"0000019e864870f8"} 
[2026-06-02 08:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-06-02 08:33:30] 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-06-02 08: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-06-02 08:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774552832001,"66":13167,"23":206,"87":13824,"24":1,"16":87792322690940928,"45":8883491027863814144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774552832001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87792322690940928,"km_value":87792322690940.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027863814144,"description":"Unknown IO ID 45"} 
[2026-06-02 08:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774552832001,"power":13167,"unknown_23":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8883491027863814144}} 
[2026-06-02 08:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:33:30] local.INFO: GPS data processed {"connection_id":89641,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:33:30] local.INFO: Acknowledgment sent {"connection_id":89641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:33:30] local.INFO: Packet analysis {"connection_id":89641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:30] local.INFO: Extracted packet for processing {"connection_id":89641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":99168072,"longitude_deg":76.30544,"latitude_deg":9.9168072,"altitude":0,"angle":63,"satellites":35,"speed":3,"hex_longitude":"2d7b4940","hex_latitude":"05e92f48","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774554880001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87792339870810112,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420659119499264,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369373000,"timestamp_ms":1780369373000,"timestamp_seconds":1780369373,"priority":1,"record_length":96,"hex_timestamp":"0000019e8648b748"} 
[2026-06-02 08:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-02 08:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774554880001,"66":13015,"23":206,"87":13824,"24":3,"16":87792339870810112,"45":8883420659119499264},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774554880001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87792339870810112,"km_value":87792339870810.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420659119499264,"description":"Unknown IO ID 45"} 
[2026-06-02 08:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774554880001,"power":13015,"unknown_23":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8883420659119499264}} 
[2026-06-02 08:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:33:30] local.INFO: GPS data processed {"connection_id":89641,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:33:30] local.INFO: Acknowledgment sent {"connection_id":89641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:33:30] local.INFO: TCP Data received {"connection_id":89229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e864851b8012d10b88006e5b2b80013014e2f..."} 
[2026-06-02 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864851b8012d10b88006e5b2b80013014e2f..."} 
[2026-06-02 08:33:30] local.INFO: Processing buffer {"connection_id":89229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864851b8012d10b88006e5b2b80013014e2f..."} 
[2026-06-02 08:33:30] local.INFO: Packet analysis {"connection_id":89229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:30] local.INFO: Extracted packet for processing {"connection_id":89229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756070528,"raw_latitude":115716792,"longitude_deg":75.6070528,"latitude_deg":11.5716792,"altitude":19,"angle":334,"satellites":47,"speed":55,"hex_longitude":"2d10b880","hex_latitude":"06e5b2b8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774551040001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305269632401408000,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1208794317105213440,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:30] 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-06-02 08:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369347000,"timestamp_ms":1780369347000,"timestamp_seconds":1780369347,"priority":1,"record_length":96,"hex_timestamp":"0000019e864851b8"} 
[2026-06-02 08:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:33: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-06-02 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774551040001,"66":27919,"246":206,"80":6400,"24":55,"16":305269632401408000,"45":1208794317105213440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-06-02 08:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774551040001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305269632401408000,"km_value":305269632401408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1208794317105213440,"description":"Unknown IO ID 45"} 
[2026-06-02 08:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774551040001,"power":27919,"main_input_voltage":206,"unknown_80":6400,"ignition":55,"odometer":null,"unknown_45":1208794317105213440}} 
[2026-06-02 08:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":89229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:33:31] local.INFO: GPS data processed {"connection_id":89229,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:33:31] local.INFO: Acknowledgment sent {"connection_id":89229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:33:31] local.INFO: TCP Data received {"connection_id":89229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86486d10012d10a64006e5d6f80012014e2f..."} 
[2026-06-02 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86486d10012d10a64006e5d6f80012014e2f..."} 
[2026-06-02 08:33:31] local.INFO: Processing buffer {"connection_id":89229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86486d10012d10a64006e5d6f80012014e2f..."} 
[2026-06-02 08:33:31] local.INFO: Packet analysis {"connection_id":89229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:31] local.INFO: Extracted packet for processing {"connection_id":89229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756065856,"raw_latitude":115726072,"longitude_deg":75.6065856,"latitude_deg":11.5726072,"altitude":18,"angle":334,"satellites":47,"speed":61,"hex_longitude":"2d10a640","hex_latitude":"06e5d6f8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774552832001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305270134912581632,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1204853667433461760,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:31] 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-06-02 08:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780369354000,"timestamp_ms":1780369354000,"timestamp_seconds":1780369354,"priority":1,"record_length":96,"hex_timestamp":"0000019e86486d10"} 
[2026-06-02 08:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774552832001,"66":27908,"246":206,"80":6400,"24":61,"16":305270134912581632,"45":1204853667433461760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-06-02 08:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774552832001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:33:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305270134912581632,"km_value":305270134912581.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1204853667433461760,"description":"Unknown IO ID 45"} 
[2026-06-02 08:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774552832001,"power":27908,"main_input_voltage":206,"unknown_80":6400,"ignition":61,"odometer":null,"unknown_45":1204853667433461760}} 
[2026-06-02 08:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":89229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:33:31] local.INFO: GPS data processed {"connection_id":89229,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:33:31] local.INFO: Acknowledgment sent {"connection_id":89229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:33:32] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8648bf18012d7b4a8005e92fa00000004c24..."} 
[2026-06-02 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8648bf18012d7b4a8005e92fa00000004c24..."} 
[2026-06-02 08:33:32] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8648bf18012d7b4a8005e92fa00000004c24..."} 
[2026-06-02 08:33:32] local.INFO: Packet analysis {"connection_id":89641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:32] local.INFO: Extracted packet for processing {"connection_id":89641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":99168160,"longitude_deg":76.305472,"latitude_deg":9.916816,"altitude":0,"angle":76,"satellites":36,"speed":7,"hex_longitude":"2d7b4a80","hex_latitude":"05e92fa0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774559488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87792357050679296,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702134096218112,"note":"Value kept but may cause issues"} 
[2026-06-02 08:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780369375000,"timestamp_ms":1780369375000,"timestamp_seconds":1780369375,"priority":1,"record_length":96,"hex_timestamp":"0000019e8648bf18"} 
[2026-06-02 08:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 08:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774559488001,"66":12515,"23":206,"87":13824,"24":7,"16":87792357050679296,"45":8883702134096218112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 08:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774559488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:33:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 08:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87792357050679296,"km_value":87792357050679.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702134096218112,"description":"Unknown IO ID 45"} 
[2026-06-02 08:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774559488001,"power":12515,"unknown_23":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8883702134096218112}} 
[2026-06-02 08:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":89641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:33:32] local.INFO: GPS data processed {"connection_id":89641,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:33:32] local.INFO: Acknowledgment sent {"connection_id":89641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:34:03] local.INFO: TCP Data received {"connection_id":89229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86488480012d10974006e5f8900010015030..."} 
[2026-06-02 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86488480012d10974006e5f8900010015030..."} 
[2026-06-02 08:34:03] local.INFO: Processing buffer {"connection_id":89229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86488480012d10974006e5f8900010015030..."} 
[2026-06-02 08:34:03] local.INFO: Packet analysis {"connection_id":89229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:03] local.INFO: Extracted packet for processing {"connection_id":89229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756062016,"raw_latitude":115734672,"longitude_deg":75.6062016,"latitude_deg":11.5734672,"altitude":16,"angle":336,"satellites":48,"speed":62,"hex_longitude":"2d109740","hex_latitude":"06e5f890","is_valid_coordinates":true} 
[2026-06-02 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774554624001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305270590179115008,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1199716749110867968,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:03] 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-06-02 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780369360000,"timestamp_ms":1780369360000,"timestamp_seconds":1780369360,"priority":1,"record_length":96,"hex_timestamp":"0000019e86488480"} 
[2026-06-02 08:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 08:34: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-06-02 08:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774554624001,"66":27995,"73":206,"80":6400,"24":62,"16":305270590179115008,"45":1199716749110867968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-06-02 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774554624001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:34:03] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-02 08:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305270590179115008,"km_value":305270590179115.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1199716749110867968,"description":"Unknown IO ID 45"} 
[2026-06-02 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774554624001,"power":27995,"unknown_73":206,"unknown_80":6400,"ignition":62,"odometer":null,"unknown_45":1199716749110867968}} 
[2026-06-02 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":89229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:34:03] local.INFO: GPS data processed {"connection_id":89229,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:34:03] local.INFO: Acknowledgment sent {"connection_id":89229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:34:12] local.INFO: TCP Data received {"connection_id":90701,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:12] local.INFO: Processing buffer {"connection_id":90701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:12] local.INFO: IMEI packet received {"connection_id":90701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":90701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:34:13] local.INFO: TCP Data received {"connection_id":90701,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:13] local.INFO: Processing buffer {"connection_id":90701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:13] local.INFO: IMEI packet received {"connection_id":90701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":90701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:34:19] local.INFO: TCP Data received {"connection_id":90701,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:19] local.INFO: Processing buffer {"connection_id":90701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:34:19] local.INFO: IMEI packet received {"connection_id":90701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":90701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:34:20] local.INFO: TCP Data received {"connection_id":90701,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8648c6e8012d7b4c4005e92fc00000005a23..."} 
[2026-06-02 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8648c6e8012d7b4c4005e92fc00000005a23..."} 
[2026-06-02 08:34:20] local.INFO: Processing buffer {"connection_id":90701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8648c6e8012d7b4c4005e92fc00000005a23..."} 
[2026-06-02 08:34:20] local.INFO: Packet analysis {"connection_id":90701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:20] local.INFO: Extracted packet for processing {"connection_id":90701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":99168192,"longitude_deg":76.3055168,"latitude_deg":9.9168192,"altitude":0,"angle":90,"satellites":35,"speed":8,"hex_longitude":"2d7b4c40","hex_latitude":"05e92fc0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774560000001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87792378525515776,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977817128960,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780369377000,"timestamp_ms":1780369377000,"timestamp_seconds":1780369377,"priority":1,"record_length":96,"hex_timestamp":"0000019e8648c6e8"} 
[2026-06-02 08:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 08:34:20] 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-06-02 08: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-06-02 08:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774560000001,"66":13243,"23":206,"87":13824,"24":8,"16":87792378525515776,"45":8884053977817128960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 08:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774560000001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:34:20] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 08:34:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87792378525515776,"km_value":87792378525515.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977817128960,"description":"Unknown IO ID 45"} 
[2026-06-02 08:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774560000001,"power":13243,"unknown_23":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8884053977817128960}} 
[2026-06-02 08:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":90701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:34:20] local.INFO: GPS data processed {"connection_id":90701,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:34:20] local.INFO: Acknowledgment sent {"connection_id":90701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:34:24] local.INFO: TCP Data received {"connection_id":89473,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:34:24] local.INFO: Processing buffer {"connection_id":89473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:34:24] local.INFO: IMEI packet received {"connection_id":89473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":89473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:34:29] local.INFO: TCP Data received {"connection_id":89473,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:34:29] local.INFO: Processing buffer {"connection_id":89473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:34:29] local.INFO: IMEI packet received {"connection_id":89473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":89473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:34:30] local.INFO: TCP Data received {"connection_id":89473,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86489bf0012d10874006e618e0001001492f..."} 
[2026-06-02 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86489bf0012d10874006e618e0001001492f..."} 
[2026-06-02 08:34:30] local.INFO: Processing buffer {"connection_id":89473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86489bf0012d10874006e618e0001001492f..."} 
[2026-06-02 08:34:30] local.INFO: Packet analysis {"connection_id":89473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:30] local.INFO: Extracted packet for processing {"connection_id":89473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756057920,"raw_latitude":115742944,"longitude_deg":75.605792,"latitude_deg":11.5742944,"altitude":16,"angle":329,"satellites":47,"speed":60,"hex_longitude":"2d108740","hex_latitude":"06e618e0","is_valid_coordinates":true} 
[2026-06-02 08:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774556160001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305271036855713792,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1195494624462409728,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:30] 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-06-02 08:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369366000,"timestamp_ms":1780369366000,"timestamp_seconds":1780369366,"priority":1,"record_length":96,"hex_timestamp":"0000019e86489bf0"} 
[2026-06-02 08:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:34: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-06-02 08:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 08:34:30] 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-06-02 08:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774556160001,"66":27919,"73":206,"80":6400,"24":60,"16":305271036855713792,"45":1195494624462409728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-06-02 08:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774556160001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:34:30] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-02 08:34:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305271036855713792,"km_value":305271036855713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1195494624462409728,"description":"Unknown IO ID 45"} 
[2026-06-02 08:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774556160001,"power":27919,"unknown_73":206,"unknown_80":6400,"ignition":60,"odometer":null,"unknown_45":1195494624462409728}} 
[2026-06-02 08:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":89473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:34:30] local.INFO: GPS data processed {"connection_id":89473,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:34:30] local.INFO: Acknowledgment sent {"connection_id":89473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:34:39] local.INFO: TCP Data received {"connection_id":89472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:34:39] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:34:39] local.INFO: IMEI packet received {"connection_id":89472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":89472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:34:58] local.INFO: TCP Data received {"connection_id":90701,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8648fd98012d7b620005e931c80000004a22..."} 
[2026-06-02 08:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8648fd98012d7b620005e931c80000004a22..."} 
[2026-06-02 08:34:58] local.INFO: Processing buffer {"connection_id":90701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8648fd98012d7b620005e931c80000004a22..."} 
[2026-06-02 08:34:58] local.INFO: Packet analysis {"connection_id":90701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:58] local.INFO: Extracted packet for processing {"connection_id":90701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8648"} 
[2026-06-02 08:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763060736,"raw_latitude":99168712,"longitude_deg":76.3060736,"latitude_deg":9.9168712,"altitude":0,"angle":74,"satellites":34,"speed":15,"hex_longitude":"2d7b6200","hex_latitude":"05e931c8","is_valid_coordinates":true} 
[2026-06-02 08:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774560512001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87792644813488128,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546559026380800,"note":"Value kept but may cause issues"} 
[2026-06-02 08:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780369391000,"timestamp_ms":1780369391000,"timestamp_seconds":1780369391,"priority":1,"record_length":96,"hex_timestamp":"0000019e8648fd98"} 
[2026-06-02 08:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 08:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:34: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-06-02 08:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":90701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":90701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":90701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774560512001,"66":13200,"23":206,"87":13824,"24":15,"16":87792644813488128,"45":8884546559026380800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 08:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774560512001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:34:58] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 08:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87792644813488128,"km_value":87792644813488.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546559026380800,"description":"Unknown IO ID 45"} 
[2026-06-02 08:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774560512001,"power":13200,"unknown_23":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8884546559026380800}} 
[2026-06-02 08:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":90701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:34:58] local.INFO: GPS data processed {"connection_id":90701,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:34:58] local.INFO: Acknowledgment sent {"connection_id":90701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:35:01] local.INFO: TCP Data received {"connection_id":89473,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8649e028012d0f648006e6d0f8000a012f2a..."} 
[2026-06-02 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8649e028012d0f648006e6d0f8000a012f2a..."} 
[2026-06-02 08:35:01] local.INFO: Processing buffer {"connection_id":89473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8649e028012d0f648006e6d0f8000a012f2a..."} 
[2026-06-02 08:35:01] local.INFO: Packet analysis {"connection_id":89473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8649"} 
[2026-06-02 08:35:01] local.INFO: Extracted packet for processing {"connection_id":89473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8649"} 
[2026-06-02 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755983488,"raw_latitude":115790072,"longitude_deg":75.5983488,"latitude_deg":11.5790072,"altitude":10,"angle":303,"satellites":42,"speed":33,"hex_longitude":"2d0f6480","hex_latitude":"06e6d0f8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774575872001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305275306053206016,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1118581587089233920,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:01] 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-06-02 08:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780369449000,"timestamp_ms":1780369449000,"timestamp_seconds":1780369449,"priority":1,"record_length":96,"hex_timestamp":"0000019e8649e028"} 
[2026-06-02 08:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 08:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774575872001,"66":27908,"166":206,"80":6400,"24":33,"16":305275306053206016,"45":1118581587089233920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-06-02 08:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774575872001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:35:01] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-02 08:35:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305275306053206016,"km_value":305275306053206.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1118581587089233920,"description":"Unknown IO ID 45"} 
[2026-06-02 08:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774575872001,"power":27908,"unknown_166":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":1118581587089233920}} 
[2026-06-02 08:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":89473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:35:01] local.INFO: GPS data processed {"connection_id":89473,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:35:01] local.INFO: Acknowledgment sent {"connection_id":89473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:35:11] local.INFO: TCP Data received {"connection_id":89230,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:35:11] local.INFO: Processing buffer {"connection_id":89230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:35:11] local.INFO: IMEI packet received {"connection_id":89230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":89230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:35:12] local.INFO: TCP Data received {"connection_id":90702,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:12] local.INFO: Processing buffer {"connection_id":90702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:12] local.INFO: IMEI packet received {"connection_id":90702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":90702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:35:13] local.INFO: TCP Data received {"connection_id":90702,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:13] local.INFO: Processing buffer {"connection_id":90702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:13] local.INFO: IMEI packet received {"connection_id":90702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":90702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:35:18] local.INFO: TCP Data received {"connection_id":90702,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:18] local.INFO: Processing buffer {"connection_id":90702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:35:18] local.INFO: IMEI packet received {"connection_id":90702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":90702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:35:18] local.INFO: TCP Data received {"connection_id":90702,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864a2e48012d7b8d4005e93d800006004924..."} 
[2026-06-02 08:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864a2e48012d7b8d4005e93d800006004924..."} 
[2026-06-02 08:35:18] local.INFO: Processing buffer {"connection_id":90702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864a2e48012d7b8d4005e93d800006004924..."} 
[2026-06-02 08:35:18] local.INFO: Packet analysis {"connection_id":90702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:35:18] local.INFO: Extracted packet for processing {"connection_id":90702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763071808,"raw_latitude":99171712,"longitude_deg":76.3071808,"latitude_deg":9.9171712,"altitude":6,"angle":73,"satellites":36,"speed":15,"hex_longitude":"2d7b8d40","hex_latitude":"05e93d80","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774581248001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87793203159236608,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420234629120,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:18] 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-06-02 08:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780369469000,"timestamp_ms":1780369469000,"timestamp_seconds":1780369469,"priority":1,"record_length":96,"hex_timestamp":"0000019e864a2e48"} 
[2026-06-02 08:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:35: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-06-02 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 08:35:18] 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-06-02 08:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774581248001,"66":13059,"201":206,"87":13824,"24":15,"16":87793203159236608,"45":8900168420234629120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-02 08:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774581248001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87793203159236608,"km_value":87793203159236.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420234629120,"description":"Unknown IO ID 45"} 
[2026-06-02 08:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774581248001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8900168420234629120}} 
[2026-06-02 08:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":90702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:35:19] local.INFO: GPS data processed {"connection_id":90702,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:35:19] local.INFO: Acknowledgment sent {"connection_id":90702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:35:25] local.INFO: TCP Data received {"connection_id":89474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:35:25] local.INFO: Processing buffer {"connection_id":89474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:35:25] local.INFO: IMEI packet received {"connection_id":89474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":89474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:35:34] local.INFO: TCP Data received {"connection_id":89474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:35:34] local.INFO: Processing buffer {"connection_id":89474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:35:34] local.INFO: IMEI packet received {"connection_id":89474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":89474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:35:34] local.INFO: TCP Data received {"connection_id":89474,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 08:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89474,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 08:35:34] local.INFO: Processing buffer {"connection_id":89474,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 08:35:34] local.INFO: IMEI packet received {"connection_id":89474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":89474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:35:50] local.INFO: TCP Data received {"connection_id":90702,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864a7c68012d7bac4005e948300008004922..."} 
[2026-06-02 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864a7c68012d7bac4005e948300008004922..."} 
[2026-06-02 08:35:50] local.INFO: Processing buffer {"connection_id":90702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864a7c68012d7bac4005e948300008004922..."} 
[2026-06-02 08:35:50] local.INFO: Packet analysis {"connection_id":90702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:35:50] local.INFO: Extracted packet for processing {"connection_id":90702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763079744,"raw_latitude":99174448,"longitude_deg":76.3079744,"latitude_deg":9.9174448,"altitude":8,"angle":73,"satellites":34,"speed":11,"hex_longitude":"2d7bac40","hex_latitude":"05e94830","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774584064001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87793602591195136,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902842432513474560,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] 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-06-02 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369489000,"timestamp_ms":1780369489000,"timestamp_seconds":1780369489,"priority":1,"record_length":96,"hex_timestamp":"0000019e864a7c68"} 
[2026-06-02 08:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899309,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818500,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2252982456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912974336,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-06-02 08:35:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3880648704,"note":"Value kept but may cause issues"} 
[2026-06-02 08:35:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,201,87,24,241,157,16,231,158,3,45,192,60,5,37,10,66,128,59,4,36,224,1,240,215,227,134,233,113,205,2,212,239,50,55],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-06-02 08:35:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432425983196200960,"timestamp_seconds":432425983196200.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774584064001,"66":13363,"201":206,"87":13824,"24":11,"16":87793602591195136,"45":8902842432513474560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-02 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774584064001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:35:50] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 08:35:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87793602591195136,"km_value":87793602591195.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902842432513474560,"description":"Unknown IO ID 45"} 
[2026-06-02 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774584064001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8902842432513474560}} 
[2026-06-02 08:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":90702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:35:50] local.INFO: GPS data processed {"connection_id":90702,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:35:50] local.INFO: Acknowledgment sent {"connection_id":90702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:36:18] local.INFO: TCP Data received {"connection_id":89231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:18] local.INFO: Processing buffer {"connection_id":89231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:18] local.INFO: IMEI packet received {"connection_id":89231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":89231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:36:18] local.INFO: TCP Data received {"connection_id":89231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:18] local.INFO: Processing buffer {"connection_id":89231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:18] local.INFO: IMEI packet received {"connection_id":89231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":89231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:36:23] local.INFO: TCP Data received {"connection_id":89231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:23] local.INFO: Processing buffer {"connection_id":89231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:36:23] local.INFO: IMEI packet received {"connection_id":89231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":89231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:36:23] local.INFO: TCP Data received {"connection_id":89231,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864aaf30012d7bba4005e94d90000c003d25..."} 
[2026-06-02 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864aaf30012d7bba4005e94d90000c003d25..."} 
[2026-06-02 08:36:23] local.INFO: Processing buffer {"connection_id":89231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864aaf30012d7bba4005e94d90000c003d25..."} 
[2026-06-02 08:36:23] local.INFO: Packet analysis {"connection_id":89231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:36:23] local.INFO: Extracted packet for processing {"connection_id":89231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763083328,"raw_latitude":99175824,"longitude_deg":76.3083328,"latitude_deg":9.9175824,"altitude":12,"angle":61,"satellites":37,"speed":11,"hex_longitude":"2d7bba40","hex_latitude":"05e94d90","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774589184001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87793791569756160,"note":"Value kept but may cause issues"} 
[2026-06-02 08:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911568156792205312,"note":"Value kept but may cause issues"} 
[2026-06-02 08:36:23] 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-06-02 08:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780369502000,"timestamp_ms":1780369502000,"timestamp_seconds":1780369502,"priority":1,"record_length":96,"hex_timestamp":"0000019e864aaf30"} 
[2026-06-02 08:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 08:36: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-06-02 08: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-06-02 08:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774589184001,"66":13243,"201":206,"87":13824,"24":11,"16":87793791569756160,"45":8911568156792205312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-02 08:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774589184001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:36:23] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 08:36:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87793791569756160,"km_value":87793791569756.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911568156792205312,"description":"Unknown IO ID 45"} 
[2026-06-02 08:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774589184001,"power":13243,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8911568156792205312}} 
[2026-06-02 08:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":89231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:36:24] local.INFO: GPS data processed {"connection_id":89231,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:36:24] local.INFO: Acknowledgment sent {"connection_id":89231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:36:28] local.INFO: TCP Data received {"connection_id":89231,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864ad640012d7bc44005e95478000a003225..."} 
[2026-06-02 08:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864ad640012d7bc44005e95478000a003225..."} 
[2026-06-02 08:36:28] local.INFO: Processing buffer {"connection_id":89231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864ad640012d7bc44005e95478000a003225..."} 
[2026-06-02 08:36:28] local.INFO: Packet analysis {"connection_id":89231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:36:28] local.INFO: Extracted packet for processing {"connection_id":89231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864a"} 
[2026-06-02 08:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":99177592,"longitude_deg":76.3085888,"latitude_deg":9.9177592,"altitude":10,"angle":50,"satellites":37,"speed":15,"hex_longitude":"2d7bc440","hex_latitude":"05e95478","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774592512001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87793937598644224,"note":"Value kept but may cause issues"} 
[2026-06-02 08:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915508806466506752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780369512000,"timestamp_ms":1780369512000,"timestamp_seconds":1780369512,"priority":1,"record_length":96,"hex_timestamp":"0000019e864ad640"} 
[2026-06-02 08:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 08:36:28] 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-06-02 08: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-06-02 08:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774592512001,"66":13319,"156":206,"87":13824,"24":15,"16":87793937598644224,"45":8915508806466506752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 08:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774592512001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:36:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 08:36:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87793937598644224,"km_value":87793937598644.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915508806466506752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774592512001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8915508806466506752}} 
[2026-06-02 08:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":89231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:36:28] local.INFO: GPS data processed {"connection_id":89231,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:36:28] local.INFO: Acknowledgment sent {"connection_id":89231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:37:10] local.INFO: TCP Data received {"connection_id":89475,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:10] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:10] local.INFO: IMEI packet received {"connection_id":89475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":89475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:37:12] local.INFO: TCP Data received {"connection_id":89475,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:12] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:12] local.INFO: IMEI packet received {"connection_id":89475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":89475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:37:18] local.INFO: TCP Data received {"connection_id":89475,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:18] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:37:18] local.INFO: IMEI packet received {"connection_id":89475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":89475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:37:19] local.INFO: TCP Data received {"connection_id":89475,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864c83f0012d7c770005e992b8000b003824..."} 
[2026-06-02 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864c83f0012d7c770005e992b8000b003824..."} 
[2026-06-02 08:37:19] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864c83f0012d7c770005e992b8000b003824..."} 
[2026-06-02 08:37:19] local.INFO: Packet analysis {"connection_id":89475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:37:19] local.INFO: Extracted packet for processing {"connection_id":89475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:37:19] local.INFO: GPS Element Parsed {"raw_longitude":763131648,"raw_latitude":99193528,"longitude_deg":76.3131648,"latitude_deg":9.9193528,"altitude":11,"angle":56,"satellites":36,"speed":9,"hex_longitude":"2d7c7700","hex_latitude":"05e992b8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774622720001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87796274060853248,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968144627115874304,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780369622000,"timestamp_ms":1780369622000,"timestamp_seconds":1780369622,"priority":1,"record_length":96,"hex_timestamp":"0000019e864c83f0"} 
[2026-06-02 08:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:37: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-06-02 08: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":3,"data_length":795,"current_offset":136} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547479,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818516,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2253079456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422295,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3912237056,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3915681792,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,87,24,241,157,16,234,158,77,45,128,145,11,36,10,66,22,64,138,12,33,233,204,1,240,119,227,134,4,113,205,6,122,30,208,41,239,51,2,55,5,20],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-06-02 08:37:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792718351431892992,"timestamp_seconds":792718351431893.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774622720001,"66":13059,"156":206,"87":13824,"24":9,"16":87796274060853248,"45":8968144627115874304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 08:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774622720001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:37:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 08:37:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87796274060853248,"km_value":87796274060853.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968144627115874304,"description":"Unknown IO ID 45"} 
[2026-06-02 08:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774622720001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8968144627115874304}} 
[2026-06-02 08:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":89475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:37:19] local.INFO: GPS data processed {"connection_id":89475,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:37:19] local.INFO: Acknowledgment sent {"connection_id":89475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:37:51] local.INFO: TCP Data received {"connection_id":89475,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864c8bc0012d7c790005e99440000b002c23..."} 
[2026-06-02 08:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864c8bc0012d7c790005e99440000b002c23..."} 
[2026-06-02 08:37:51] local.INFO: Processing buffer {"connection_id":89475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864c8bc0012d7c790005e99440000b002c23..."} 
[2026-06-02 08:37:51] local.INFO: Packet analysis {"connection_id":89475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:37:51] local.INFO: Extracted packet for processing {"connection_id":89475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763132160,"raw_latitude":99193920,"longitude_deg":76.313216,"latitude_deg":9.919392,"altitude":11,"angle":44,"satellites":35,"speed":13,"hex_longitude":"2d7c7900","hex_latitude":"05e99440","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774623232001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87796308420591616,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968637208325175296,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] 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-06-02 08:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780369624000,"timestamp_ms":1780369624000,"timestamp_seconds":1780369624,"priority":1,"record_length":96,"hex_timestamp":"0000019e864c8bc0"} 
[2026-06-02 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-06-02 08:37: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-06-02 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899351,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818524,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2253093456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505879,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3917348864,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3916550144,"note":"Value kept but may cause issues"} 
[2026-06-02 08:37:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,156,87,24,241,157,16,234,158,124,45,64,145,11,36,10,66,77,128,22,1,240,7,227,233,134,4,113,205,14,180,56,176,40,239,50,2,55,5,13,28],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-06-02 08:37:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792695261687775232,"timestamp_seconds":792695261687775.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 08:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":89475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":89475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":89475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774623232001,"66":12461,"156":206,"87":13824,"24":13,"16":87796308420591616,"45":8968637208325175296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 08:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774623232001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:37:51] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 08:37:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87796308420591616,"km_value":87796308420591.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968637208325175296,"description":"Unknown IO ID 45"} 
[2026-06-02 08:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774623232001,"power":12461,"unknown_156":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8968637208325175296}} 
[2026-06-02 08:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":89475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:37:51] local.INFO: GPS data processed {"connection_id":89475,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:37:51] local.INFO: Acknowledgment sent {"connection_id":89475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:38:13] local.INFO: TCP Data received {"connection_id":90705,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:38:13] local.INFO: Processing buffer {"connection_id":90705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:38:13] local.INFO: IMEI packet received {"connection_id":90705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":90705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:38:18] local.INFO: TCP Data received {"connection_id":90705,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:38:18] local.INFO: Processing buffer {"connection_id":90705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:38:18] local.INFO: IMEI packet received {"connection_id":90705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":90705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:38:18] local.INFO: TCP Data received {"connection_id":90705,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864c9390012d7c7b8005e99610000b003f23..."} 
[2026-06-02 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864c9390012d7c7b8005e99610000b003f23..."} 
[2026-06-02 08:38:18] local.INFO: Processing buffer {"connection_id":90705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864c9390012d7c7b8005e99610000b003f23..."} 
[2026-06-02 08:38:18] local.INFO: Packet analysis {"connection_id":90705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:38:18] local.INFO: Extracted packet for processing {"connection_id":90705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":99194384,"longitude_deg":76.31328,"latitude_deg":9.9194384,"altitude":11,"angle":63,"satellites":35,"speed":16,"hex_longitude":"2d7c7b80","hex_latitude":"05e99610","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774623744001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87796342780329984,"note":"Value kept but may cause issues"} 
[2026-06-02 08:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969200158278696960,"note":"Value kept but may cause issues"} 
[2026-06-02 08:38:18] 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-06-02 08:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780369626000,"timestamp_ms":1780369626000,"timestamp_seconds":1780369626,"priority":1,"record_length":96,"hex_timestamp":"0000019e864c9390"} 
[2026-06-02 08:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:38: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-06-02 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 08:38: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-06-02 08: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-06-02 08:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774623744001,"66":12461,"156":206,"87":13824,"24":16,"16":87796342780329984,"45":8969200158278696960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 08:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774623744001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:38:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 08:38:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87796342780329984,"km_value":87796342780329.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969200158278696960,"description":"Unknown IO ID 45"} 
[2026-06-02 08:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774623744001,"power":12461,"unknown_156":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8969200158278696960}} 
[2026-06-02 08:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":90705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:38:18] local.INFO: GPS data processed {"connection_id":90705,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:38:18] local.INFO: Acknowledgment sent {"connection_id":90705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:38:50] local.INFO: TCP Data received {"connection_id":90705,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864c9b60012d7c7e8005e99700000c004d24..."} 
[2026-06-02 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864c9b60012d7c7e8005e99700000c004d24..."} 
[2026-06-02 08:38:50] local.INFO: Processing buffer {"connection_id":90705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864c9b60012d7c7e8005e99700000c004d24..."} 
[2026-06-02 08:38:50] local.INFO: Packet analysis {"connection_id":90705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:38:50] local.INFO: Extracted packet for processing {"connection_id":90705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":99194624,"longitude_deg":76.3133568,"latitude_deg":9.9194624,"altitude":12,"angle":77,"satellites":36,"speed":14,"hex_longitude":"2d7c7e80","hex_latitude":"05e99700","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774624256001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87796381435035648,"note":"Value kept but may cause issues"} 
[2026-06-02 08:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969903845720592384,"note":"Value kept but may cause issues"} 
[2026-06-02 08:38:50] 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-06-02 08:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369628000,"timestamp_ms":1780369628000,"timestamp_seconds":1780369628,"priority":1,"record_length":96,"hex_timestamp":"0000019e864c9b60"} 
[2026-06-02 08:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:38: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-06-02 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 08:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774624256001,"66":12906,"156":206,"87":13824,"24":14,"16":87796381435035648,"45":8969903845720592384},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 08:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774624256001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:38:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 08:38:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87796381435035648,"km_value":87796381435035.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969903845720592384,"description":"Unknown IO ID 45"} 
[2026-06-02 08:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774624256001,"power":12906,"unknown_156":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8969903845720592384}} 
[2026-06-02 08:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":90705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:38:50] local.INFO: GPS data processed {"connection_id":90705,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:38:50] local.INFO: Acknowledgment sent {"connection_id":90705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:39:13] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:39:13] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:39:13] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:39:18] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:39:18] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:39:18] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:39:19] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864cbaa0012d7c84c005e99868000b005a23..."} 
[2026-06-02 08:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864cbaa0012d7c84c005e99868000b005a23..."} 
[2026-06-02 08:39:19] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864cbaa0012d7c84c005e99868000b005a23..."} 
[2026-06-02 08:39:19] local.INFO: Packet analysis {"connection_id":89644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:39:19] local.INFO: Extracted packet for processing {"connection_id":89644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864c"} 
[2026-06-02 08:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763135168,"raw_latitude":99194984,"longitude_deg":76.3135168,"latitude_deg":9.9194984,"altitude":11,"angle":90,"satellites":35,"speed":6,"hex_longitude":"2d7c84c0","hex_latitude":"05e99868","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774624768001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87796458744446976,"note":"Value kept but may cause issues"} 
[2026-06-02 08:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270650785792,"note":"Value kept but may cause issues"} 
[2026-06-02 08:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780369636000,"timestamp_ms":1780369636000,"timestamp_seconds":1780369636,"priority":1,"record_length":96,"hex_timestamp":"0000019e864cbaa0"} 
[2026-06-02 08:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:39: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-06-02 08: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":106,"data_length":795,"current_offset":136} 
[2026-06-02 08:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774624768001,"66":13048,"156":206,"87":13824,"24":6,"16":87796458744446976,"45":8970748270650785792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 08:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774624768001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:39:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 08:39:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87796458744446976,"km_value":87796458744446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270650785792,"description":"Unknown IO ID 45"} 
[2026-06-02 08:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774624768001,"power":13048,"unknown_156":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8970748270650785792}} 
[2026-06-02 08:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":89644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:39:19] local.INFO: GPS data processed {"connection_id":89644,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:39:19] local.INFO: Acknowledgment sent {"connection_id":89644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:39:50] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864ec9f8012d7c6e0005ea18d80008003524..."} 
[2026-06-02 08:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864ec9f8012d7c6e0005ea18d80008003524..."} 
[2026-06-02 08:39:50] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864ec9f8012d7c6e0005ea18d80008003524..."} 
[2026-06-02 08:39:50] local.INFO: Packet analysis {"connection_id":89644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:39:50] local.INFO: Extracted packet for processing {"connection_id":89644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763129344,"raw_latitude":99227864,"longitude_deg":76.3129344,"latitude_deg":9.9227864,"altitude":8,"angle":53,"satellites":36,"speed":6,"hex_longitude":"2d7c6e00","hex_latitude":"05ea18d8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774661120001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87798236860907520,"note":"Value kept but may cause issues"} 
[2026-06-02 08:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965963196055183360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:39:50] 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-06-02 08:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369771000,"timestamp_ms":1780369771000,"timestamp_seconds":1780369771,"priority":1,"record_length":96,"hex_timestamp":"0000019e864ec9f8"} 
[2026-06-02 08:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:39: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-06-02 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 08:39:50] 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-06-02 08: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-06-02 08:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774661120001,"66":12048,"9":206,"87":13824,"24":6,"16":87798236860907520,"45":8965963196055183360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 08:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774661120001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:39:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 08:39:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87798236860907520,"km_value":87798236860907.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965963196055183360,"description":"Unknown IO ID 45"} 
[2026-06-02 08:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774661120001,"power":12048,"unknown_9":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8965963196055183360}} 
[2026-06-02 08:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":89644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:39:50] local.INFO: GPS data processed {"connection_id":89644,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:39:50] local.INFO: Acknowledgment sent {"connection_id":89644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:40:12] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:12] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:12] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:40:14] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:14] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:14] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:40:18] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:18] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:40:18] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:40:19] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864ecde0012d7c6e8005ea19280008004424..."} 
[2026-06-02 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864ecde0012d7c6e8005ea19280008004424..."} 
[2026-06-02 08:40:19] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864ecde0012d7c6e8005ea19280008004424..."} 
[2026-06-02 08:40:19] local.INFO: Packet analysis {"connection_id":89477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:40:19] local.INFO: Extracted packet for processing {"connection_id":89477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763129472,"raw_latitude":99227944,"longitude_deg":76.3129472,"latitude_deg":9.9227944,"altitude":8,"angle":68,"satellites":36,"speed":6,"hex_longitude":"2d7c6e80","hex_latitude":"05ea1928","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774661376001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87798241155874816,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966103933543569408,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] 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-06-02 08:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780369772000,"timestamp_ms":1780369772000,"timestamp_seconds":1780369772,"priority":1,"record_length":96,"hex_timestamp":"0000019e864ecde0"} 
[2026-06-02 08:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578332004892014592,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2253239456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84860891547691443,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4029268112124674048,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504939308056576,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633062792124316,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5623026495975194648,"corrected_to":0} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3952672768,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1598223713721822429,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195075584,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2253277869639680,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,9,87,24,241,157,16,236,158,198,45,128,8,36,10,66,194,23,37,166,1,240,178,227,235,134,234,4,113,205,6,118,176,34,239,51,2,55,5,69,232],"length":583,"final_offset":713,"validated_count":41,"validation_warnings":[{"io_id":205,"original":5623026495975194648,"validated":0}]} 
[2026-06-02 08:40:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576519181038911488,"timestamp_seconds":576519181038911.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774661376001,"66":12048,"9":206,"87":13824,"24":6,"16":87798241155874816,"45":8966103933543569408},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 08:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774661376001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:40:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 08:40:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87798241155874816,"km_value":87798241155874.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966103933543569408,"description":"Unknown IO ID 45"} 
[2026-06-02 08:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774661376001,"power":12048,"unknown_9":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8966103933543569408}} 
[2026-06-02 08:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":89477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:40:19] local.INFO: GPS data processed {"connection_id":89477,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:40:19] local.INFO: Acknowledgment sent {"connection_id":89477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:40:34] local.INFO: TCP Data received {"connection_id":89646,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:40:34] local.INFO: Processing buffer {"connection_id":89646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:40:34] local.INFO: IMEI packet received {"connection_id":89646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":89646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:40:36] local.INFO: TCP Data received {"connection_id":89646,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e864e83a8012d0ed80006e97978000f00012c..."} 
[2026-06-02 08:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864e83a8012d0ed80006e97978000f00012c..."} 
[2026-06-02 08:40:36] local.INFO: Processing buffer {"connection_id":89646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864e83a8012d0ed80006e97978000f00012c..."} 
[2026-06-02 08:40:36] local.INFO: Packet analysis {"connection_id":89646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:40:36] local.INFO: Extracted packet for processing {"connection_id":89646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:40:36] local.INFO: GPS Element Parsed {"raw_longitude":755947520,"raw_latitude":115964280,"longitude_deg":75.594752,"latitude_deg":11.596428,"altitude":15,"angle":1,"satellites":44,"speed":22,"hex_longitude":"2d0ed800","hex_latitude":"06e97978","is_valid_coordinates":true} 
[2026-06-02 08:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774656256001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305285180183019520,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069604941187039232,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:36] 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-06-02 08:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780369753000,"timestamp_ms":1780369753000,"timestamp_seconds":1780369753,"priority":1,"record_length":96,"hex_timestamp":"0000019e864e83a8"} 
[2026-06-02 08:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 08:40: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-06-02 08:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:40:36] 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-06-02 08:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774656256001,"66":27995,"102":206,"80":6400,"24":22,"16":305285180183019520,"45":1069604941187039232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-06-02 08:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774656256001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 08:40:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305285180183019520,"km_value":305285180183019.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069604941187039232,"description":"Unknown IO ID 45"} 
[2026-06-02 08:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774656256001,"power":27995,"unknown_102":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":1069604941187039232}} 
[2026-06-02 08:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":89646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:40:36] local.INFO: GPS data processed {"connection_id":89646,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:40:36] local.INFO: Acknowledgment sent {"connection_id":89646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:40:50] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e864ed5b0012d7c700005ea19800008005024..."} 
[2026-06-02 08:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864ed5b0012d7c700005ea19800008005024..."} 
[2026-06-02 08:40:50] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864ed5b0012d7c700005ea19800008005024..."} 
[2026-06-02 08:40:50] local.INFO: Packet analysis {"connection_id":89477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:40:50] local.INFO: Extracted packet for processing {"connection_id":89477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763129856,"raw_latitude":99228032,"longitude_deg":76.3129856,"latitude_deg":9.9228032,"altitude":8,"angle":80,"satellites":36,"speed":7,"hex_longitude":"2d7c7000","hex_latitude":"05ea1980","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774661632001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87798262630711296,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966244671031945216,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] 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-06-02 08:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369774000,"timestamp_ms":1780369774000,"timestamp_seconds":1780369774,"priority":1,"record_length":96,"hex_timestamp":"0000019e864ed5b0"} 
[2026-06-02 08:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:40: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-06-02 08: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578332004892011776,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2253260456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4029368167682801664,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504939314872320,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633389209636361,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5623026495975194648,"corrected_to":0} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3355520380,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2147871246,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3957784576,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1588451254390924766,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195125504,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84860851819243985,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2253256394806016,"note":"Value kept but may cause issues"} 
[2026-06-02 08:40:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,9,87,24,241,157,16,236,158,201,45,8,36,10,66,198,128,194,1,240,117,227,134,234,4,113,205,84,111,176,37,239,50,2,55,5,69,160,248],"length":583,"final_offset":713,"validated_count":39,"validation_warnings":[{"io_id":205,"original":5623026495975194648,"validated":0}]} 
[2026-06-02 08:40:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576535673713328128,"timestamp_seconds":576535673713328.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774661632001,"66":12917,"9":206,"87":13824,"24":7,"16":87798262630711296,"45":8966244671031945216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 08:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774661632001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:40:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 08:40:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87798262630711296,"km_value":87798262630711.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966244671031945216,"description":"Unknown IO ID 45"} 
[2026-06-02 08:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774661632001,"power":12917,"unknown_9":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8966244671031945216}} 
[2026-06-02 08:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":89477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:40:50] local.INFO: GPS data processed {"connection_id":89477,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:40:50] local.INFO: Acknowledgment sent {"connection_id":89477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:41:03] local.INFO: TCP Data received {"connection_id":90707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:41:03] local.INFO: Processing buffer {"connection_id":90707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:41:03] local.INFO: IMEI packet received {"connection_id":90707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":90707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:41:08] local.INFO: TCP Data received {"connection_id":89646,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e864e8f60012d0ed70006e97f88000e015f2a..."} 
[2026-06-02 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864e8f60012d0ed70006e97f88000e015f2a..."} 
[2026-06-02 08:41:08] local.INFO: Processing buffer {"connection_id":89646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864e8f60012d0ed70006e97f88000e015f2a..."} 
[2026-06-02 08:41:08] local.INFO: Packet analysis {"connection_id":89646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:41:08] local.INFO: Extracted packet for processing {"connection_id":89646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755947264,"raw_latitude":115965832,"longitude_deg":75.5947264,"latitude_deg":11.5965832,"altitude":14,"angle":351,"satellites":42,"speed":21,"hex_longitude":"2d0ed700","hex_latitude":"06e97f88","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774656768001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305285257492430848,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069604941187348480,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:08] 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-06-02 08:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780369756000,"timestamp_ms":1780369756000,"timestamp_seconds":1780369756,"priority":1,"record_length":96,"hex_timestamp":"0000019e864e8f60"} 
[2026-06-02 08:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 08:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774656768001,"66":28050,"102":206,"80":6400,"24":21,"16":305285257492430848,"45":1069604941187348480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-06-02 08:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774656768001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:41:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 08:41:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305285257492430848,"km_value":305285257492430.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069604941187348480,"description":"Unknown IO ID 45"} 
[2026-06-02 08:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774656768001,"power":28050,"unknown_102":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1069604941187348480}} 
[2026-06-02 08:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":89646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:41:08] local.INFO: GPS data processed {"connection_id":89646,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:41:08] local.INFO: Acknowledgment sent {"connection_id":89646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:41:11] local.INFO: TCP Data received {"connection_id":89478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:11] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:11] local.INFO: IMEI packet received {"connection_id":89478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":89478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:41:12] local.INFO: TCP Data received {"connection_id":89478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:12] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:12] local.INFO: IMEI packet received {"connection_id":89478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":89478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:41:13] local.INFO: TCP Data received {"connection_id":89478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:13] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:13] local.INFO: IMEI packet received {"connection_id":89478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":89478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:41:18] local.INFO: TCP Data received {"connection_id":89478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:18] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:41:18] local.INFO: IMEI packet received {"connection_id":89478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":89478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:41:19] local.INFO: TCP Data received {"connection_id":89478,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86501600012d7cb98005ea1fc8000a008723..."} 
[2026-06-02 08:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86501600012d7cb98005ea1fc8000a008723..."} 
[2026-06-02 08:41:19] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86501600012d7cb98005ea1fc8000a008723..."} 
[2026-06-02 08:41:19] local.INFO: Packet analysis {"connection_id":89478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:41:19] local.INFO: Extracted packet for processing {"connection_id":89478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:41:19] local.INFO: GPS Element Parsed {"raw_longitude":763148672,"raw_latitude":99229640,"longitude_deg":76.3148672,"latitude_deg":9.922964,"altitude":10,"angle":135,"satellites":35,"speed":11,"hex_longitude":"2d7cb980","hex_latitude":"05ea1fc8","is_valid_coordinates":true} 
[2026-06-02 08:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774682880001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87799177458745344,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987073819309017088,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780369856000,"timestamp_ms":1780369856000,"timestamp_seconds":1780369856,"priority":1,"record_length":96,"hex_timestamp":"0000019e86501600"} 
[2026-06-02 08:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:41: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-06-02 08:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 08:41:19] 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-06-02 08:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774682880001,"66":13406,"126":206,"87":13824,"24":11,"16":87799177458745344,"45":8987073819309017088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774682880001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:41:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:41:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87799177458745344,"km_value":87799177458745.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987073819309017088,"description":"Unknown IO ID 45"} 
[2026-06-02 08:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774682880001,"power":13406,"unknown_126":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8987073819309017088}} 
[2026-06-02 08:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":89478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:41:19] local.INFO: GPS data processed {"connection_id":89478,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:41:19] local.INFO: Acknowledgment sent {"connection_id":89478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:41:28] local.INFO: TCP Data received {"connection_id":89234,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:41:28] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:41:28] local.INFO: IMEI packet received {"connection_id":89234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:41:29] local.INFO: TCP Data received {"connection_id":89234,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:41:29] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:41:29] local.INFO: IMEI packet received {"connection_id":89234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":89234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:41:30] local.INFO: TCP Data received {"connection_id":89234,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e864eba58012d0ed08006e99610000d015329..."} 
[2026-06-02 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864eba58012d0ed08006e99610000d015329..."} 
[2026-06-02 08:41:30] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864eba58012d0ed08006e99610000d015329..."} 
[2026-06-02 08:41:30] local.INFO: Packet analysis {"connection_id":89234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:41:30] local.INFO: Extracted packet for processing {"connection_id":89234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":755945600,"raw_latitude":115971600,"longitude_deg":75.59456,"latitude_deg":11.59716,"altitude":13,"angle":339,"satellites":41,"speed":21,"hex_longitude":"2d0ed080","hex_latitude":"06e99610","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774657536001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305285549550206976,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069323466211035136,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369767000,"timestamp_ms":1780369767000,"timestamp_seconds":1780369767,"priority":1,"record_length":96,"hex_timestamp":"0000019e864eba58"} 
[2026-06-02 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-06-02 08:41: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-06-02 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 08:41:30] 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-06-02 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-06-02 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-06-02 08:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774657536001,"66":27974,"1":206,"80":6400,"24":21,"16":305285549550206976,"45":1069323466211035136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-06-02 08:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774657536001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:41:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305285549550206976,"km_value":305285549550207.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069323466211035136,"description":"Unknown IO ID 45"} 
[2026-06-02 08:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774657536001,"power":27974,"imei":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1069323466211035136}} 
[2026-06-02 08:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":89234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:41:30] local.INFO: GPS data processed {"connection_id":89234,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:41:30] local.INFO: Acknowledgment sent {"connection_id":89234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:41:50] local.INFO: TCP Data received {"connection_id":89478,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8650b628012d7cf7c005ea16b00008006622..."} 
[2026-06-02 08:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8650b628012d7cf7c005ea16b00008006622..."} 
[2026-06-02 08:41:50] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8650b628012d7cf7c005ea16b00008006622..."} 
[2026-06-02 08:41:50] local.INFO: Packet analysis {"connection_id":89478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:41:50] local.INFO: Extracted packet for processing {"connection_id":89478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763164608,"raw_latitude":99227312,"longitude_deg":76.3164608,"latitude_deg":9.9227312,"altitude":8,"angle":102,"satellites":34,"speed":16,"hex_longitude":"2d7cf7c0","hex_latitude":"05ea16b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774692864001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87800006387433472,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003469736701904896,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369897000,"timestamp_ms":1780369897000,"timestamp_seconds":1780369897,"priority":1,"record_length":96,"hex_timestamp":"0000019e8650b628"} 
[2026-06-02 08:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:41: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-06-02 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 08:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774692864001,"66":13352,"126":206,"87":13824,"24":16,"16":87800006387433472,"45":9003469736701904896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774692864001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:41:50] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:41:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87800006387433472,"km_value":87800006387433.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003469736701904896,"description":"Unknown IO ID 45"} 
[2026-06-02 08:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774692864001,"power":13352,"unknown_126":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9003469736701904896}} 
[2026-06-02 08:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":89478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:41:50] local.INFO: GPS data processed {"connection_id":89478,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:41:50] local.INFO: Acknowledgment sent {"connection_id":89478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:41:57] local.INFO: TCP Data received {"connection_id":89234,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e864ef8d8012d0ec10006e9b6080015014929..."} 
[2026-06-02 08:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e864ef8d8012d0ec10006e9b6080015014929..."} 
[2026-06-02 08:41:57] local.INFO: Processing buffer {"connection_id":89234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e864ef8d8012d0ec10006e9b6080015014929..."} 
[2026-06-02 08:41:57] local.INFO: Packet analysis {"connection_id":89234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:41:57] local.INFO: Extracted packet for processing {"connection_id":89234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e864e"} 
[2026-06-02 08:41:57] local.INFO: GPS Element Parsed {"raw_longitude":755941632,"raw_latitude":115979784,"longitude_deg":75.5941632,"latitude_deg":11.5979784,"altitude":21,"angle":329,"satellites":41,"speed":22,"hex_longitude":"2d0ec100","hex_latitude":"06e9b608","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774660352001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305285991931838464,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067493878863892480,"note":"Value kept but may cause issues"} 
[2026-06-02 08:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1780369783000,"timestamp_ms":1780369783000,"timestamp_seconds":1780369783,"priority":1,"record_length":96,"hex_timestamp":"0000019e864ef8d8"} 
[2026-06-02 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-06-02 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-06-02 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":70,"data_length":795,"current_offset":136} 
[2026-06-02 08:41:57] 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-06-02 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-06-02 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-06-02 08:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":89234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":89234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:41:57] 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-06-02 08:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774660352001,"66":27995,"1":206,"80":6400,"24":22,"16":305285991931838464,"45":1067493878863892480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-06-02 08:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774660352001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:41:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305285991931838464,"km_value":305285991931838.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067493878863892480,"description":"Unknown IO ID 45"} 
[2026-06-02 08:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774660352001,"power":27995,"imei":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":1067493878863892480}} 
[2026-06-02 08:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":89234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:41:57] local.INFO: GPS data processed {"connection_id":89234,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:41:57] local.INFO: Acknowledgment sent {"connection_id":89234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:42:12] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:42:12] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:42:12] local.INFO: IMEI packet received {"connection_id":89648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":89648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:42:18] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:42:18] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:42:18] local.INFO: IMEI packet received {"connection_id":89648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":89648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:42:19] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8650ba10012d7cf9c005ea16a00008005a22..."} 
[2026-06-02 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8650ba10012d7cf9c005ea16a00008005a22..."} 
[2026-06-02 08:42:19] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8650ba10012d7cf9c005ea16a00008005a22..."} 
[2026-06-02 08:42:19] local.INFO: Packet analysis {"connection_id":89648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:42:19] local.INFO: Extracted packet for processing {"connection_id":89648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763165120,"raw_latitude":99227296,"longitude_deg":76.316512,"latitude_deg":9.9227296,"altitude":8,"angle":90,"satellites":34,"speed":17,"hex_longitude":"2d7cf9c0","hex_latitude":"05ea16a0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774693632001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87800032157237248,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004877111585320960,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780369898000,"timestamp_ms":1780369898000,"timestamp_seconds":1780369898,"priority":1,"record_length":96,"hex_timestamp":"0000019e8650ba10"} 
[2026-06-02 08:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:42: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-06-02 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 08:42:19] 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-06-02 08: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-06-02 08:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774693632001,"66":13135,"126":206,"87":13824,"24":17,"16":87800032157237248,"45":9004877111585320960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774693632001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:42:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:42:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87800032157237248,"km_value":87800032157237.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004877111585320960,"description":"Unknown IO ID 45"} 
[2026-06-02 08:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774693632001,"power":13135,"unknown_126":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9004877111585320960}} 
[2026-06-02 08:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":89648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:42:19] local.INFO: GPS data processed {"connection_id":89648,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:42:19] local.INFO: Acknowledgment sent {"connection_id":89648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:42:24] local.INFO: TCP Data received {"connection_id":89235,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:42:24] local.INFO: Processing buffer {"connection_id":89235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:42:24] local.INFO: IMEI packet received {"connection_id":89235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":89235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:42:29] local.INFO: TCP Data received {"connection_id":89235,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:42:29] local.INFO: Processing buffer {"connection_id":89235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:42:29] local.INFO: IMEI packet received {"connection_id":89235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":89235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:42:30] local.INFO: TCP Data received {"connection_id":89235,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e86505868012d0e670006ea3c60001601482e..."} 
[2026-06-02 08:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86505868012d0e670006ea3c60001601482e..."} 
[2026-06-02 08:42:30] local.INFO: Processing buffer {"connection_id":89235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86505868012d0e670006ea3c60001601482e..."} 
[2026-06-02 08:42:30] local.INFO: Packet analysis {"connection_id":89235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:42:30] local.INFO: Extracted packet for processing {"connection_id":89235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":755918592,"raw_latitude":116014176,"longitude_deg":75.5918592,"latitude_deg":11.6014176,"altitude":22,"angle":328,"satellites":46,"speed":8,"hex_longitude":"2d0e6700","hex_latitude":"06ea3c60","is_valid_coordinates":true} 
[2026-06-02 08:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774686464001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305288014861434880,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1038642693761748992,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369873000,"timestamp_ms":1780369873000,"timestamp_seconds":1780369873,"priority":1,"record_length":96,"hex_timestamp":"0000019e86505868"} 
[2026-06-02 08:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:42: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-06-02 08:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 08:42:30] 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-06-02 08:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774686464001,"66":27865,"35":206,"80":6400,"24":8,"16":305288014861434880,"45":1038642693761748992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-06-02 08:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774686464001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:42:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 08:42:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305288014861434880,"km_value":305288014861434.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1038642693761748992,"description":"Unknown IO ID 45"} 
[2026-06-02 08:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774686464001,"power":27865,"unknown_35":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1038642693761748992}} 
[2026-06-02 08:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":89235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:42:30] local.INFO: GPS data processed {"connection_id":89235,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:42:30] local.INFO: Acknowledgment sent {"connection_id":89235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:42:50] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8650bdf8012d7cfc0005ea17080008004d21..."} 
[2026-06-02 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8650bdf8012d7cfc0005ea17080008004d21..."} 
[2026-06-02 08:42:50] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8650bdf8012d7cfc0005ea17080008004d21..."} 
[2026-06-02 08:42:50] local.INFO: Packet analysis {"connection_id":89648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:42:50] local.INFO: Extracted packet for processing {"connection_id":89648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763165696,"raw_latitude":99227400,"longitude_deg":76.3165696,"latitude_deg":9.92274,"altitude":8,"angle":77,"satellites":33,"speed":18,"hex_longitude":"2d7cfc00","hex_latitude":"05ea1708","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774693888001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87800057927041024,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005440061538738176,"note":"Value kept but may cause issues"} 
[2026-06-02 08:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780369899000,"timestamp_ms":1780369899000,"timestamp_seconds":1780369899,"priority":1,"record_length":96,"hex_timestamp":"0000019e8650bdf8"} 
[2026-06-02 08:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:42: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-06-02 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 08:42:50] 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-06-02 08: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-06-02 08:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774693888001,"66":13135,"126":206,"87":13824,"24":18,"16":87800057927041024,"45":9005440061538738176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774693888001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:42:50] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:42:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87800057927041024,"km_value":87800057927041.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005440061538738176,"description":"Unknown IO ID 45"} 
[2026-06-02 08:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774693888001,"power":13135,"unknown_126":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9005440061538738176}} 
[2026-06-02 08:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":89648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:42:50] local.INFO: GPS data processed {"connection_id":89648,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:42:50] local.INFO: Acknowledgment sent {"connection_id":89648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:43:02] local.INFO: TCP Data received {"connection_id":89235,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e86508f18012d0e64c006ea3e68001701362d..."} 
[2026-06-02 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86508f18012d0e64c006ea3e68001701362d..."} 
[2026-06-02 08:43:02] local.INFO: Processing buffer {"connection_id":89235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86508f18012d0e64c006ea3e68001701362d..."} 
[2026-06-02 08:43:02] local.INFO: Packet analysis {"connection_id":89235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:43:02] local.INFO: Extracted packet for processing {"connection_id":89235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8650"} 
[2026-06-02 08:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755918016,"raw_latitude":116014696,"longitude_deg":75.5918016,"latitude_deg":11.6014696,"altitude":23,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2d0e64c0","hex_latitude":"06ea3e68","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774687488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305288057811107840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037798268831817728,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:02] 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-06-02 08:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780369887000,"timestamp_ms":1780369887000,"timestamp_seconds":1780369887,"priority":1,"record_length":96,"hex_timestamp":"0000019e86508f18"} 
[2026-06-02 08:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:43: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-06-02 08: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":217,"data_length":795,"current_offset":136} 
[2026-06-02 08:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:43:02] 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-06-02 08:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774687488001,"66":27865,"34":206,"80":6400,"24":0,"16":305288057811107840,"45":1037798268831817728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-06-02 08:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774687488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:43:02] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 08:43:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305288057811107840,"km_value":305288057811107.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037798268831817728,"description":"Unknown IO ID 45"} 
[2026-06-02 08:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774687488001,"power":27865,"unknown_34":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1037798268831817728}} 
[2026-06-02 08:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":89235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:43:02] local.INFO: GPS data processed {"connection_id":89235,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:43:02] local.INFO: Acknowledgment sent {"connection_id":89235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:43:18] local.INFO: TCP Data received {"connection_id":89479,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:18] local.INFO: Processing buffer {"connection_id":89479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:18] local.INFO: IMEI packet received {"connection_id":89479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":89479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:43:18] local.INFO: TCP Data received {"connection_id":89479,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:18] local.INFO: Processing buffer {"connection_id":89479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:18] local.INFO: IMEI packet received {"connection_id":89479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":89479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:43:25] local.INFO: TCP Data received {"connection_id":89479,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:25] local.INFO: Processing buffer {"connection_id":89479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:43:25] local.INFO: IMEI packet received {"connection_id":89479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":89479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:43:29] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:43:29] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:43:29] local.INFO: IMEI packet received {"connection_id":89480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":89480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:43:34] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:43:34] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:43:34] local.INFO: IMEI packet received {"connection_id":89480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":89480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:43:36] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8651bbe0012d0dd40006ead6600023014425..."} 
[2026-06-02 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8651bbe0012d0dd40006ead6600023014425..."} 
[2026-06-02 08:43:36] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8651bbe0012d0dd40006ead6600023014425..."} 
[2026-06-02 08:43:36] local.INFO: Packet analysis {"connection_id":89480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:36] local.INFO: Extracted packet for processing {"connection_id":89480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":755880960,"raw_latitude":116053600,"longitude_deg":75.588096,"latitude_deg":11.60536,"altitude":35,"angle":324,"satellites":37,"speed":21,"hex_longitude":"2d0dd400","hex_latitude":"06ead660","is_valid_coordinates":true} 
[2026-06-02 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774710272001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305290694921027584,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996914028474431488,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:36] 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-06-02 08:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780369964000,"timestamp_ms":1780369964000,"timestamp_seconds":1780369964,"priority":1,"record_length":96,"hex_timestamp":"0000019e8651bbe0"} 
[2026-06-02 08:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 08:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:43:36] 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-06-02 08:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774710272001,"66":27821,"2":206,"80":6400,"24":21,"16":305290694921027584,"45":996914028474431488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-06-02 08:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774710272001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:43:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305290694921027584,"km_value":305290694921027.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":996914028474431488,"description":"Unknown IO ID 45"} 
[2026-06-02 08:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774710272001,"power":27821,"power_alt":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":996914028474431488}} 
[2026-06-02 08:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":89480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:43:36] local.INFO: GPS data processed {"connection_id":89480,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:43:36] local.INFO: Acknowledgment sent {"connection_id":89480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:43:39] local.INFO: TCP Data received {"connection_id":89479,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86510060012d7d160005ea1f00000c003121..."} 
[2026-06-02 08:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86510060012d7d160005ea1f00000c003121..."} 
[2026-06-02 08:43:39] local.INFO: Processing buffer {"connection_id":89479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86510060012d7d160005ea1f00000c003121..."} 
[2026-06-02 08:43:39] local.INFO: Packet analysis {"connection_id":89479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:39] local.INFO: Extracted packet for processing {"connection_id":89479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763172352,"raw_latitude":99229440,"longitude_deg":76.3172352,"latitude_deg":9.922944,"altitude":12,"angle":49,"satellites":33,"speed":6,"hex_longitude":"2d7d1600","hex_latitude":"05ea1f00","is_valid_coordinates":true} 
[2026-06-02 08:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774694144001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87800392934490112,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006073380236363776,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780369916000,"timestamp_ms":1780369916000,"timestamp_seconds":1780369916,"priority":1,"record_length":96,"hex_timestamp":"0000019e86510060"} 
[2026-06-02 08:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:43: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-06-02 08:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 08:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774694144001,"66":12776,"126":206,"87":13824,"24":6,"16":87800392934490112,"45":9006073380236363776},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774694144001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:43:39] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:43:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87800392934490112,"km_value":87800392934490.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006073380236363776,"description":"Unknown IO ID 45"} 
[2026-06-02 08:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774694144001,"power":12776,"unknown_126":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9006073380236363776}} 
[2026-06-02 08:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":89479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:43:39] local.INFO: GPS data processed {"connection_id":89479,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:43:39] local.INFO: Acknowledgment sent {"connection_id":89479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:43:40] local.INFO: TCP Data received {"connection_id":89479,"ip":"42.106.6.43","data_length":1340,"data_hex":"000000000000030f8e0a0000019e86510448012d7d16c005ea1f90000c001a22..."} 
[2026-06-02 08:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89479,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019e86510448012d7d16c005ea1f90000c001a22..."} 
[2026-06-02 08:43:40] local.INFO: Processing buffer {"connection_id":89479,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019e86510448012d7d16c005ea1f90000c001a22..."} 
[2026-06-02 08:43:40] local.INFO: Packet analysis {"connection_id":89479,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:40] local.INFO: Extracted packet for processing {"connection_id":89479,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99229584,"longitude_deg":76.3172544,"latitude_deg":9.9229584,"altitude":12,"angle":26,"satellites":34,"speed":7,"hex_longitude":"2d7d16c0","hex_latitude":"05ea1f90","is_valid_coordinates":true} 
[2026-06-02 08:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774698496001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87800405819392000,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729631363072,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780369917000,"timestamp_ms":1780369917000,"timestamp_seconds":1780369917,"priority":1,"record_length":96,"hex_timestamp":"0000019e86510448"} 
[2026-06-02 08:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:43: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-06-02 08:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 08:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774698496001,"66":13178,"126":206,"87":13824,"24":7,"16":87800405819392000,"45":9013391729631363072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774698496001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:43:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:43:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87800405819392000,"km_value":87800405819392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729631363072,"description":"Unknown IO ID 45"} 
[2026-06-02 08:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774698496001,"power":13178,"unknown_126":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9013391729631363072}} 
[2026-06-02 08:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":89479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:43:41] local.INFO: GPS data processed {"connection_id":89479,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:43:41] local.INFO: Acknowledgment sent {"connection_id":89479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:43:41] local.INFO: Packet analysis {"connection_id":89479,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:41] local.INFO: Incomplete packet, waiting for more data {"connection_id":89479,"needed":795,"available":545} 
[2026-06-02 08:43:41] local.INFO: TCP Data received {"connection_id":89479,"ip":"42.106.6.43","data_length":250,"data_hex":"e300100137ed94000000000000019e86509eb8012d7ced8005ea1aa8000b006a..."} 
[2026-06-02 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89479,"packet_length":250,"packet_hex":"e300100137ed94000000000000019e86509eb8012d7ced8005ea1aa8000b006a..."} 
[2026-06-02 08:43:41] local.INFO: Processing buffer {"connection_id":89479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86510830012d7d170005ea2078000c000422..."} 
[2026-06-02 08:43:41] local.INFO: Packet analysis {"connection_id":89479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:41] local.INFO: Extracted packet for processing {"connection_id":89479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763172608,"raw_latitude":99229816,"longitude_deg":76.3172608,"latitude_deg":9.9229816,"altitude":12,"angle":4,"satellites":34,"speed":9,"hex_longitude":"2d7d1700","hex_latitude":"05ea2078","is_valid_coordinates":true} 
[2026-06-02 08:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774698752001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87800414409326592,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835863932928,"note":"Value kept but may cause issues"} 
[2026-06-02 08:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780369918000,"timestamp_ms":1780369918000,"timestamp_seconds":1780369918,"priority":1,"record_length":96,"hex_timestamp":"0000019e86510830"} 
[2026-06-02 08:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:43: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-06-02 08:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 08:43:41] 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-06-02 08:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774698752001,"66":13178,"126":206,"87":13824,"24":9,"16":87800414409326592,"45":9013602835863932928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774698752001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:43:41] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87800414409326592,"km_value":87800414409326.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835863932928,"description":"Unknown IO ID 45"} 
[2026-06-02 08:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774698752001,"power":13178,"unknown_126":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9013602835863932928}} 
[2026-06-02 08:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":89479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:43:41] local.INFO: GPS data processed {"connection_id":89479,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:43:41] local.INFO: Acknowledgment sent {"connection_id":89479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:44:07] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8651bfc8012d0dd28006ead7e80024013727..."} 
[2026-06-02 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8651bfc8012d0dd28006ead7e80024013727..."} 
[2026-06-02 08:44:07] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8651bfc8012d0dd28006ead7e80024013727..."} 
[2026-06-02 08:44:07] local.INFO: Packet analysis {"connection_id":89480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:44:07] local.INFO: Extracted packet for processing {"connection_id":89480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":755880576,"raw_latitude":116053992,"longitude_deg":75.5880576,"latitude_deg":11.6053992,"altitude":36,"angle":311,"satellites":39,"speed":21,"hex_longitude":"2d0dd280","hex_latitude":"06ead7e8","is_valid_coordinates":true} 
[2026-06-02 08:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774710784001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305290720690831360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996421447265443840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:07] 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-06-02 08:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780369965000,"timestamp_ms":1780369965000,"timestamp_seconds":1780369965,"priority":1,"record_length":96,"hex_timestamp":"0000019e8651bfc8"} 
[2026-06-02 08:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 08:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:44:07] 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-06-02 08:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774710784001,"66":27745,"2":206,"80":6400,"24":21,"16":305290720690831360,"45":996421447265443840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-06-02 08:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774710784001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:44:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305290720690831360,"km_value":305290720690831.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":996421447265443840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774710784001,"power":27745,"power_alt":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":996421447265443840}} 
[2026-06-02 08:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":89480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:44:07] local.INFO: GPS data processed {"connection_id":89480,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:44:07] local.INFO: Acknowledgment sent {"connection_id":89480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:44:13] local.INFO: TCP Data received {"connection_id":90709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:44:13] local.INFO: Processing buffer {"connection_id":90709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:44:13] local.INFO: IMEI packet received {"connection_id":90709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":90709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:44:18] local.INFO: TCP Data received {"connection_id":90709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:44:18] local.INFO: Processing buffer {"connection_id":90709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:44:18] local.INFO: IMEI packet received {"connection_id":90709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":90709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:44:18] local.INFO: TCP Data received {"connection_id":90709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86515650012d7d174005ea35b0000c016325..."} 
[2026-06-02 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86515650012d7d174005ea35b0000c016325..."} 
[2026-06-02 08:44:18] local.INFO: Processing buffer {"connection_id":90709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86515650012d7d174005ea35b0000c016325..."} 
[2026-06-02 08:44:18] local.INFO: Packet analysis {"connection_id":90709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:44:18] local.INFO: Extracted packet for processing {"connection_id":90709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:44:18] local.INFO: GPS Element Parsed {"raw_longitude":763172672,"raw_latitude":99235248,"longitude_deg":76.3172672,"latitude_deg":9.9235248,"altitude":12,"angle":355,"satellites":37,"speed":0,"hex_longitude":"2d7d1740","hex_latitude":"05ea35b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87800684992266240,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013673204608169984,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780369938000,"timestamp_ms":1780369938000,"timestamp_seconds":1780369938,"priority":1,"record_length":96,"hex_timestamp":"0000019e86515650"} 
[2026-06-02 08:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:44: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-06-02 08: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":122,"data_length":795,"current_offset":136} 
[2026-06-02 08:44:18] 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-06-02 08: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-06-02 08:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774699008001,"66":12906,"126":206,"87":13824,"24":0,"16":87800684992266240,"45":9013673204608169984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 08:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:44:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 08:44:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87800684992266240,"km_value":87800684992266.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013673204608169984,"description":"Unknown IO ID 45"} 
[2026-06-02 08:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774699008001,"power":12906,"unknown_126":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9013673204608169984}} 
[2026-06-02 08:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":90709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:44:19] local.INFO: GPS data processed {"connection_id":90709,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:44:19] local.INFO: Acknowledgment sent {"connection_id":90709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:44:24] local.INFO: TCP Data received {"connection_id":89481,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:44:24] local.INFO: Processing buffer {"connection_id":89481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:44:24] local.INFO: IMEI packet received {"connection_id":89481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":89481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:44:29] local.INFO: TCP Data received {"connection_id":89481,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:44:29] local.INFO: Processing buffer {"connection_id":89481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:44:29] local.INFO: IMEI packet received {"connection_id":89481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":89481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:44:30] local.INFO: TCP Data received {"connection_id":89481,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8651c3b0012d0dd0c006ead9100024012b29..."} 
[2026-06-02 08:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8651c3b0012d0dd0c006ead9100024012b29..."} 
[2026-06-02 08:44:30] local.INFO: Processing buffer {"connection_id":89481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8651c3b0012d0dd0c006ead9100024012b29..."} 
[2026-06-02 08:44:30] local.INFO: Packet analysis {"connection_id":89481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:44:30] local.INFO: Extracted packet for processing {"connection_id":89481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:44:30] local.INFO: GPS Element Parsed {"raw_longitude":755880128,"raw_latitude":116054288,"longitude_deg":75.5880128,"latitude_deg":11.6054288,"altitude":36,"angle":299,"satellites":41,"speed":21,"hex_longitude":"2d0dd0c0","hex_latitude":"06ead910","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774711040001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305290746460635136,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995999234800478208,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:30] 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-06-02 08:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780369966000,"timestamp_ms":1780369966000,"timestamp_seconds":1780369966,"priority":1,"record_length":96,"hex_timestamp":"0000019e8651c3b0"} 
[2026-06-02 08:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:44: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-06-02 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 08:44: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-06-02 08: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-06-02 08:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774711040001,"66":27745,"2":206,"80":6400,"24":21,"16":305290746460635136,"45":995999234800478208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-06-02 08:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774711040001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:44:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305290746460635136,"km_value":305290746460635.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":995999234800478208,"description":"Unknown IO ID 45"} 
[2026-06-02 08:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774711040001,"power":27745,"power_alt":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":995999234800478208}} 
[2026-06-02 08:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":89481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:44:30] local.INFO: GPS data processed {"connection_id":89481,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:44:30] local.INFO: Acknowledgment sent {"connection_id":89481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:44:50] local.INFO: TCP Data received {"connection_id":90709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86535dd8012d7d1c0005ea91680009016523..."} 
[2026-06-02 08:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86535dd8012d7d1c0005ea91680009016523..."} 
[2026-06-02 08:44:50] local.INFO: Processing buffer {"connection_id":90709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86535dd8012d7d1c0005ea91680009016523..."} 
[2026-06-02 08:44:50] local.INFO: Packet analysis {"connection_id":90709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:44:50] local.INFO: Extracted packet for processing {"connection_id":90709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99258728,"longitude_deg":76.3173888,"latitude_deg":9.9258728,"altitude":9,"angle":357,"satellites":35,"speed":4,"hex_longitude":"2d7d1c00","hex_latitude":"05ea9168","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774735360001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87801836043501568,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210754836480,"note":"Value kept but may cause issues"} 
[2026-06-02 08:44:50] 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-06-02 08:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780370071000,"timestamp_ms":1780370071000,"timestamp_seconds":1780370071,"priority":1,"record_length":96,"hex_timestamp":"0000019e86535dd8"} 
[2026-06-02 08:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:44: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-06-02 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 08:44:50] 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-06-02 08: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-06-02 08:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774735360001,"66":12906,"158":206,"87":13824,"24":4,"16":87801836043501568,"45":9015010210754836480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774735360001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:44:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:44:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87801836043501568,"km_value":87801836043501.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210754836480,"description":"Unknown IO ID 45"} 
[2026-06-02 08:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774735360001,"power":12906,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9015010210754836480}} 
[2026-06-02 08:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":90709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:44:50] local.INFO: GPS data processed {"connection_id":90709,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:44:50] local.INFO: Acknowledgment sent {"connection_id":90709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:45:01] local.INFO: TCP Data received {"connection_id":89481,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8651f678012d0db08006eaea000023012929..."} 
[2026-06-02 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8651f678012d0db08006eaea000023012929..."} 
[2026-06-02 08:45:01] local.INFO: Processing buffer {"connection_id":89481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8651f678012d0db08006eaea000023012929..."} 
[2026-06-02 08:45:01] local.INFO: Packet analysis {"connection_id":89481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:45:01] local.INFO: Extracted packet for processing {"connection_id":89481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8651"} 
[2026-06-02 08:45:01] local.INFO: GPS Element Parsed {"raw_longitude":755871872,"raw_latitude":116058624,"longitude_deg":75.5871872,"latitude_deg":11.6058624,"altitude":35,"angle":297,"satellites":41,"speed":36,"hex_longitude":"2d0db080","hex_latitude":"06eaea00","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774711296001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305291188842266624,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995506653591310336,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:01] 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-06-02 08:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780369979000,"timestamp_ms":1780369979000,"timestamp_seconds":1780369979,"priority":1,"record_length":96,"hex_timestamp":"0000019e8651f678"} 
[2026-06-02 08:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:45: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-06-02 08: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":97,"data_length":795,"current_offset":136} 
[2026-06-02 08:45: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-06-02 08: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-06-02 08:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:45:01] 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-06-02 08:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774711296001,"66":27908,"84":206,"80":6400,"24":36,"16":305291188842266624,"45":995506653591310336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-06-02 08:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774711296001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:45:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 08:45:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305291188842266624,"km_value":305291188842266.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":995506653591310336,"description":"Unknown IO ID 45"} 
[2026-06-02 08:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774711296001,"power":27908,"unknown_84":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":995506653591310336}} 
[2026-06-02 08:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":89481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:45:01] local.INFO: GPS data processed {"connection_id":89481,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:45:01] local.INFO: Acknowledgment sent {"connection_id":89481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:45:12] local.INFO: TCP Data received {"connection_id":90710,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:45:12] local.INFO: Processing buffer {"connection_id":90710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:45:12] local.INFO: IMEI packet received {"connection_id":90710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":90710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:45:18] local.INFO: TCP Data received {"connection_id":90710,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:45:18] local.INFO: Processing buffer {"connection_id":90710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:45:18] local.INFO: IMEI packet received {"connection_id":90710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":90710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:45:18] local.INFO: TCP Data received {"connection_id":90710,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865365a8012d7d1c4005ea92f80009000e23..."} 
[2026-06-02 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865365a8012d7d1c4005ea92f80009000e23..."} 
[2026-06-02 08:45:18] local.INFO: Processing buffer {"connection_id":90710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865365a8012d7d1c4005ea92f80009000e23..."} 
[2026-06-02 08:45:18] local.INFO: Packet analysis {"connection_id":90710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:45:18] local.INFO: Extracted packet for processing {"connection_id":90710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:45:18] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99259128,"longitude_deg":76.3173952,"latitude_deg":9.9259128,"altitude":9,"angle":14,"satellites":35,"speed":9,"hex_longitude":"2d7d1c40","hex_latitude":"05ea92f8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774738176001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87801853223370752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579499124736,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:18] 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-06-02 08:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780370073000,"timestamp_ms":1780370073000,"timestamp_seconds":1780370073,"priority":1,"record_length":96,"hex_timestamp":"0000019e865365a8"} 
[2026-06-02 08:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:45: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-06-02 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 08:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774738176001,"66":12982,"158":206,"87":13824,"24":9,"16":87801853223370752,"45":9015080579499124736},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774738176001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:45:18] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:45:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87801853223370752,"km_value":87801853223370.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579499124736,"description":"Unknown IO ID 45"} 
[2026-06-02 08:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774738176001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015080579499124736}} 
[2026-06-02 08:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":90710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:45:18] local.INFO: GPS data processed {"connection_id":90710,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:45:18] local.INFO: Acknowledgment sent {"connection_id":90710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:45:24] local.INFO: TCP Data received {"connection_id":89236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:24] local.INFO: Processing buffer {"connection_id":89236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:24] local.INFO: IMEI packet received {"connection_id":89236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:45:24] local.INFO: TCP Data received {"connection_id":89236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:24] local.INFO: Processing buffer {"connection_id":89236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:24] local.INFO: IMEI packet received {"connection_id":89236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:45:25] local.INFO: TCP Data received {"connection_id":89236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:25] local.INFO: Processing buffer {"connection_id":89236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:25] local.INFO: IMEI packet received {"connection_id":89236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":89236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:45:26] local.INFO: TCP Data received {"connection_id":89236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:26] local.INFO: Processing buffer {"connection_id":89236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:45:26] local.INFO: IMEI packet received {"connection_id":89236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":89236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:45:50] local.INFO: TCP Data received {"connection_id":90710,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865390a0012d7d1e4005eaa6b00009000324..."} 
[2026-06-02 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865390a0012d7d1e4005eaa6b00009000324..."} 
[2026-06-02 08:45:50] local.INFO: Processing buffer {"connection_id":90710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865390a0012d7d1e4005eaa6b00009000324..."} 
[2026-06-02 08:45:50] local.INFO: Packet analysis {"connection_id":90710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:45:50] local.INFO: Extracted packet for processing {"connection_id":90710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99264176,"longitude_deg":76.3174464,"latitude_deg":9.9264176,"altitude":9,"angle":3,"satellites":36,"speed":19,"hex_longitude":"2d7d1e40","hex_latitude":"05eaa6b0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774738688001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87802102331473920,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948243404800,"note":"Value kept but may cause issues"} 
[2026-06-02 08:45:50] 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-06-02 08:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780370084000,"timestamp_ms":1780370084000,"timestamp_seconds":1780370084,"priority":1,"record_length":96,"hex_timestamp":"0000019e865390a0"} 
[2026-06-02 08:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:45: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-06-02 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 08:45:50] 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-06-02 08: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-06-02 08:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774738688001,"66":13341,"158":206,"87":13824,"24":19,"16":87802102331473920,"45":9015150948243404800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774738688001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:45:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:45:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87802102331473920,"km_value":87802102331473.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948243404800,"description":"Unknown IO ID 45"} 
[2026-06-02 08:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774738688001,"power":13341,"unknown_158":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9015150948243404800}} 
[2026-06-02 08:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":90710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:45:50] local.INFO: GPS data processed {"connection_id":90710,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:45:50] local.INFO: Acknowledgment sent {"connection_id":90710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:46:11] local.INFO: TCP Data received {"connection_id":89482,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:11] local.INFO: Processing buffer {"connection_id":89482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:11] local.INFO: IMEI packet received {"connection_id":89482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":89482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:46:12] local.INFO: TCP Data received {"connection_id":89482,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:12] local.INFO: Processing buffer {"connection_id":89482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:12] local.INFO: IMEI packet received {"connection_id":89482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":89482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:46:18] local.INFO: TCP Data received {"connection_id":89482,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:18] local.INFO: Processing buffer {"connection_id":89482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:46:18] local.INFO: IMEI packet received {"connection_id":89482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":89482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:46:18] local.INFO: TCP Data received {"connection_id":89482,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8653d6f0012d7d200005eaca000008000223..."} 
[2026-06-02 08:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8653d6f0012d7d200005eaca000008000223..."} 
[2026-06-02 08:46:18] local.INFO: Processing buffer {"connection_id":89482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8653d6f0012d7d200005eaca000008000223..."} 
[2026-06-02 08:46:18] local.INFO: Packet analysis {"connection_id":89482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:46:18] local.INFO: Extracted packet for processing {"connection_id":89482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8653"} 
[2026-06-02 08:46:18] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99273216,"longitude_deg":76.3174912,"latitude_deg":9.9273216,"altitude":8,"angle":2,"satellites":35,"speed":12,"hex_longitude":"2d7d2000","hex_latitude":"05eaca00","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774741504001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87802540418138112,"note":"Value kept but may cause issues"} 
[2026-06-02 08:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898198118400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:46:18] 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-06-02 08:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780370102000,"timestamp_ms":1780370102000,"timestamp_seconds":1780370102,"priority":1,"record_length":96,"hex_timestamp":"0000019e8653d6f0"} 
[2026-06-02 08:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:46: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-06-02 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 08:46:18] 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-06-02 08: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-06-02 08:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774741504001,"66":12961,"158":206,"87":13824,"24":12,"16":87802540418138112,"45":9015713898198118400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774741504001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:46:18] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:46:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87802540418138112,"km_value":87802540418138.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898198118400,"description":"Unknown IO ID 45"} 
[2026-06-02 08:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774741504001,"power":12961,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015713898198118400}} 
[2026-06-02 08:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":89482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:46:18] local.INFO: GPS data processed {"connection_id":89482,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:46:18] local.INFO: Acknowledgment sent {"connection_id":89482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:46:30] local.INFO: TCP Data received {"connection_id":89237,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:46:30] local.INFO: Processing buffer {"connection_id":89237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:46:30] local.INFO: IMEI packet received {"connection_id":89237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":89237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:46:50] local.INFO: TCP Data received {"connection_id":89482,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865428f8012d7d208005eade200008000023..."} 
[2026-06-02 08:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865428f8012d7d208005eade200008000023..."} 
[2026-06-02 08:46:50] local.INFO: Processing buffer {"connection_id":89482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865428f8012d7d208005eade200008000023..."} 
[2026-06-02 08:46:50] local.INFO: Packet analysis {"connection_id":89482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:46:50] local.INFO: Extracted packet for processing {"connection_id":89482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:46:50] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99278368,"longitude_deg":76.317504,"latitude_deg":9.9278368,"altitude":8,"angle":0,"satellites":35,"speed":21,"hex_longitude":"2d7d2080","hex_latitude":"05eade20","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774746112001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87802798116175872,"note":"Value kept but may cause issues"} 
[2026-06-02 08:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479409676288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:46:50] 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-06-02 08:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780370123000,"timestamp_ms":1780370123000,"timestamp_seconds":1780370123,"priority":1,"record_length":96,"hex_timestamp":"0000019e865428f8"} 
[2026-06-02 08:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 08:46:50] 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-06-02 08: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-06-02 08:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774746112001,"66":12906,"158":206,"87":13824,"24":21,"16":87802798116175872,"45":9016206479409676288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774746112001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:46:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:46:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87802798116175872,"km_value":87802798116175.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479409676288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774746112001,"power":12906,"unknown_158":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9016206479409676288}} 
[2026-06-02 08:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":89482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:46:50] local.INFO: GPS data processed {"connection_id":89482,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:46:50] local.INFO: Acknowledgment sent {"connection_id":89482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:46:57] local.INFO: TCP Data received {"connection_id":89239,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:46:57] local.INFO: Processing buffer {"connection_id":89239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:46:57] local.INFO: IMEI packet received {"connection_id":89239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":89239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:47:13] local.INFO: TCP Data received {"connection_id":89651,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:47:13] local.INFO: Processing buffer {"connection_id":89651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:47:13] local.INFO: IMEI packet received {"connection_id":89651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":89651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:47:18] local.INFO: TCP Data received {"connection_id":89651,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:47:18] local.INFO: Processing buffer {"connection_id":89651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:47:18] local.INFO: IMEI packet received {"connection_id":89651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":89651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:47:19] local.INFO: TCP Data received {"connection_id":89651,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86547b00012d7d208005eafe48000b016722..."} 
[2026-06-02 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86547b00012d7d208005eafe48000b016722..."} 
[2026-06-02 08:47:19] local.INFO: Processing buffer {"connection_id":89651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86547b00012d7d208005eafe48000b016722..."} 
[2026-06-02 08:47:19] local.INFO: Packet analysis {"connection_id":89651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:47:19] local.INFO: Extracted packet for processing {"connection_id":89651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99286600,"longitude_deg":76.317504,"latitude_deg":9.92866,"altitude":11,"angle":359,"satellites":34,"speed":0,"hex_longitude":"2d7d2080","hex_latitude":"05eafe48","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774751488001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87803206138068992,"note":"Value kept but may cause issues"} 
[2026-06-02 08:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216899350528,"note":"Value kept but may cause issues"} 
[2026-06-02 08:47:19] 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-06-02 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780370144000,"timestamp_ms":1780370144000,"timestamp_seconds":1780370144,"priority":1,"record_length":96,"hex_timestamp":"0000019e86547b00"} 
[2026-06-02 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:47: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-06-02 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 08:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774751488001,"66":12624,"158":206,"87":13824,"24":0,"16":87803206138068992,"45":9016347216899350528},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774751488001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87803206138068992,"km_value":87803206138068.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216899350528,"description":"Unknown IO ID 45"} 
[2026-06-02 08:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774751488001,"power":12624,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9016347216899350528}} 
[2026-06-02 08:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":89651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:47:19] local.INFO: GPS data processed {"connection_id":89651,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:47:19] local.INFO: Acknowledgment sent {"connection_id":89651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:47:50] local.INFO: TCP Data received {"connection_id":89651,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86548aa0012d7d1f0005eafe38000b00fd20..."} 
[2026-06-02 08:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86548aa0012d7d1f0005eafe38000b00fd20..."} 
[2026-06-02 08:47:50] local.INFO: Processing buffer {"connection_id":89651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86548aa0012d7d1f0005eafe38000b00fd20..."} 
[2026-06-02 08:47:50] local.INFO: Packet analysis {"connection_id":89651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:47:50] local.INFO: Extracted packet for processing {"connection_id":89651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:47:50] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99286584,"longitude_deg":76.3174656,"latitude_deg":9.9286584,"altitude":11,"angle":253,"satellites":32,"speed":6,"hex_longitude":"2d7d1f00","hex_latitude":"05eafe38","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774756864001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87803223317938176,"note":"Value kept but may cause issues"} 
[2026-06-02 08:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216901457920,"note":"Value kept but may cause issues"} 
[2026-06-02 08:47:50] 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-06-02 08:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780370148000,"timestamp_ms":1780370148000,"timestamp_seconds":1780370148,"priority":1,"record_length":96,"hex_timestamp":"0000019e86548aa0"} 
[2026-06-02 08:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:47: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-06-02 08: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 08:47:50] 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-06-02 08: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-06-02 08:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774756864001,"66":12982,"158":206,"87":13824,"24":6,"16":87803223317938176,"45":9016347216901457920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774756864001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:47:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:47:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87803223317938176,"km_value":87803223317938.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216901457920,"description":"Unknown IO ID 45"} 
[2026-06-02 08:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774756864001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9016347216901457920}} 
[2026-06-02 08:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":89651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:47:50] local.INFO: GPS data processed {"connection_id":89651,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:47:50] local.INFO: Acknowledgment sent {"connection_id":89651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:48:12] local.INFO: TCP Data received {"connection_id":90711,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:12] local.INFO: Processing buffer {"connection_id":90711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:12] local.INFO: IMEI packet received {"connection_id":90711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":90711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:48:14] local.INFO: TCP Data received {"connection_id":90711,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:14] local.INFO: Processing buffer {"connection_id":90711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:14] local.INFO: IMEI packet received {"connection_id":90711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":90711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:48:18] local.INFO: TCP Data received {"connection_id":90711,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:18] local.INFO: Processing buffer {"connection_id":90711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:48:18] local.INFO: IMEI packet received {"connection_id":90711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":90711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:48:19] local.INFO: TCP Data received {"connection_id":90711,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86548e88012d7d1e8005eafdf0000b00f020..."} 
[2026-06-02 08:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86548e88012d7d1e8005eafdf0000b00f020..."} 
[2026-06-02 08:48:19] local.INFO: Processing buffer {"connection_id":90711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86548e88012d7d1e8005eafdf0000b00f020..."} 
[2026-06-02 08:48:19] local.INFO: Packet analysis {"connection_id":90711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:48:19] local.INFO: Extracted packet for processing {"connection_id":90711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8654"} 
[2026-06-02 08:48:19] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":99286512,"longitude_deg":76.3174528,"latitude_deg":9.9286512,"altitude":11,"angle":240,"satellites":32,"speed":6,"hex_longitude":"2d7d1e80","hex_latitude":"05eafdf0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774757888001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87803231907872768,"note":"Value kept but may cause issues"} 
[2026-06-02 08:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004436387840,"note":"Value kept but may cause issues"} 
[2026-06-02 08:48:19] 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-06-02 08:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780370149000,"timestamp_ms":1780370149000,"timestamp_seconds":1780370149,"priority":1,"record_length":96,"hex_timestamp":"0000019e86548e88"} 
[2026-06-02 08:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:48: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-06-02 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 08:48:19] 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-06-02 08: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-06-02 08:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774757888001,"66":12982,"158":206,"87":13824,"24":6,"16":87803231907872768,"45":9015925004436387840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 08:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774757888001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:48:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 08:48:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87803231907872768,"km_value":87803231907872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004436387840,"description":"Unknown IO ID 45"} 
[2026-06-02 08:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774757888001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015925004436387840}} 
[2026-06-02 08:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":90711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:48:19] local.INFO: GPS data processed {"connection_id":90711,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:48:19] local.INFO: Acknowledgment sent {"connection_id":90711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:48:50] local.INFO: TCP Data received {"connection_id":90711,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86571310012d7c7c4005ead1280004010124..."} 
[2026-06-02 08:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86571310012d7c7c4005ead1280004010124..."} 
[2026-06-02 08:48:50] local.INFO: Processing buffer {"connection_id":90711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86571310012d7c7c4005ead1280004010124..."} 
[2026-06-02 08:48:50] local.INFO: Packet analysis {"connection_id":90711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8657"} 
[2026-06-02 08:48:50] local.INFO: Extracted packet for processing {"connection_id":90711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8657"} 
[2026-06-02 08:48:50] local.INFO: GPS Element Parsed {"raw_longitude":763132992,"raw_latitude":99275048,"longitude_deg":76.3132992,"latitude_deg":9.9275048,"altitude":4,"angle":257,"satellites":36,"speed":5,"hex_longitude":"2d7c7c40","hex_latitude":"05ead128","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774799872001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87805332146880512,"note":"Value kept but may cause issues"} 
[2026-06-02 08:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795694682112,"note":"Value kept but may cause issues"} 
[2026-06-02 08:48:50] 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-06-02 08:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780370314000,"timestamp_ms":1780370314000,"timestamp_seconds":1780370314,"priority":1,"record_length":96,"hex_timestamp":"0000019e86571310"} 
[2026-06-02 08:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 08:48:50] 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-06-02 08: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-06-02 08:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774799872001,"66":12972,"8":206,"87":13824,"24":5,"16":87805332146880512,"45":8970466795694682112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774799872001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:48:50] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:48:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87805332146880512,"km_value":87805332146880.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795694682112,"description":"Unknown IO ID 45"} 
[2026-06-02 08:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774799872001,"power":12972,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8970466795694682112}} 
[2026-06-02 08:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":90711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:48:50] local.INFO: GPS data processed {"connection_id":90711,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:48:50] local.INFO: Acknowledgment sent {"connection_id":90711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:49:13] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:13] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:13] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:49:13] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:13] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:13] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:49:18] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:18] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:49:18] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:49:18] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86571ae0012d7c7a4005ead078000400f324..."} 
[2026-06-02 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86571ae0012d7c7a4005ead078000400f324..."} 
[2026-06-02 08:49:18] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86571ae0012d7c7a4005ead078000400f324..."} 
[2026-06-02 08:49:18] local.INFO: Packet analysis {"connection_id":89484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8657"} 
[2026-06-02 08:49:18] local.INFO: Extracted packet for processing {"connection_id":89484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8657"} 
[2026-06-02 08:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763132480,"raw_latitude":99274872,"longitude_deg":76.313248,"latitude_deg":9.9274872,"altitude":4,"angle":243,"satellites":36,"speed":10,"hex_longitude":"2d7c7a40","hex_latitude":"05ead078","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774800384001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87805357916684288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970114951973775360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:49:18] 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-06-02 08:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780370316000,"timestamp_ms":1780370316000,"timestamp_seconds":1780370316,"priority":1,"record_length":96,"hex_timestamp":"0000019e86571ae0"} 
[2026-06-02 08:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:49: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-06-02 08: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 08:49: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-06-02 08: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-06-02 08:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774800384001,"66":12428,"8":206,"87":13824,"24":10,"16":87805357916684288,"45":8970114951973775360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774800384001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:49:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:49:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87805357916684288,"km_value":87805357916684.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970114951973775360,"description":"Unknown IO ID 45"} 
[2026-06-02 08:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774800384001,"power":12428,"unknown_8":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8970114951973775360}} 
[2026-06-02 08:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":89484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:49:18] local.INFO: GPS data processed {"connection_id":89484,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:49:18] local.INFO: Acknowledgment sent {"connection_id":89484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:49:49] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86572698012d7c784005eacf680004010223..."} 
[2026-06-02 08:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86572698012d7c784005eacf680004010223..."} 
[2026-06-02 08:49:49] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86572698012d7c784005eacf680004010223..."} 
[2026-06-02 08:49:49] local.INFO: Packet analysis {"connection_id":89484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8657"} 
[2026-06-02 08:49:49] local.INFO: Extracted packet for processing {"connection_id":89484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8657"} 
[2026-06-02 08:49:49] local.INFO: GPS Element Parsed {"raw_longitude":763131968,"raw_latitude":99274600,"longitude_deg":76.3131968,"latitude_deg":9.92746,"altitude":4,"angle":258,"satellites":35,"speed":4,"hex_longitude":"2d7c7840","hex_latitude":"05eacf68","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774800896001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87805387981455360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969552002020308992,"note":"Value kept but may cause issues"} 
[2026-06-02 08:49:49] 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-06-02 08:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780370319000,"timestamp_ms":1780370319000,"timestamp_seconds":1780370319,"priority":1,"record_length":96,"hex_timestamp":"0000019e86572698"} 
[2026-06-02 08:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 08:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774800896001,"66":12809,"8":206,"87":13824,"24":4,"16":87805387981455360,"45":8969552002020308992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774800896001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:49:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:49:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87805387981455360,"km_value":87805387981455.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969552002020308992,"description":"Unknown IO ID 45"} 
[2026-06-02 08:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774800896001,"power":12809,"unknown_8":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8969552002020308992}} 
[2026-06-02 08:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":89484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:49:50] local.INFO: GPS data processed {"connection_id":89484,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:49:50] local.INFO: Acknowledgment sent {"connection_id":89484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:50:12] local.INFO: TCP Data received {"connection_id":89243,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:12] local.INFO: Processing buffer {"connection_id":89243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:12] local.INFO: IMEI packet received {"connection_id":89243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":89243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:50:13] local.INFO: TCP Data received {"connection_id":89243,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:13] local.INFO: Processing buffer {"connection_id":89243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:13] local.INFO: IMEI packet received {"connection_id":89243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":89243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:50:17] local.INFO: TCP Data received {"connection_id":89243,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:17] local.INFO: Processing buffer {"connection_id":89243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:50:17] local.INFO: IMEI packet received {"connection_id":89243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":89243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:50:18] local.INFO: TCP Data received {"connection_id":89243,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86586ad0012d7c3a4005eb09d0000b014a22..."} 
[2026-06-02 08:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86586ad0012d7c3a4005eb09d0000b014a22..."} 
[2026-06-02 08:50:18] local.INFO: Processing buffer {"connection_id":89243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86586ad0012d7c3a4005eb09d0000b014a22..."} 
[2026-06-02 08:50:18] local.INFO: Packet analysis {"connection_id":89243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:50:18] local.INFO: Extracted packet for processing {"connection_id":89243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763116096,"raw_latitude":99289552,"longitude_deg":76.3116096,"latitude_deg":9.9289552,"altitude":11,"angle":330,"satellites":34,"speed":21,"hex_longitude":"2d7c3a40","hex_latitude":"05eb09d0","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774822656001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87806955644518400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951748709746995200,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:18] 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-06-02 08:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780370402000,"timestamp_ms":1780370402000,"timestamp_seconds":1780370402,"priority":1,"record_length":96,"hex_timestamp":"0000019e86586ad0"} 
[2026-06-02 08:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 08:50:18] 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-06-02 08: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-06-02 08:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774822656001,"66":13341,"8":206,"87":13824,"24":21,"16":87806955644518400,"45":8951748709746995200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774822656001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:50:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:50:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87806955644518400,"km_value":87806955644518.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951748709746995200,"description":"Unknown IO ID 45"} 
[2026-06-02 08:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774822656001,"power":13341,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8951748709746995200}} 
[2026-06-02 08:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":89243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:50:18] local.INFO: GPS data processed {"connection_id":89243,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:50:18] local.INFO: Acknowledgment sent {"connection_id":89243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:50:29] local.INFO: TCP Data received {"connection_id":89486,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:50:29] local.INFO: Processing buffer {"connection_id":89486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:50:29] local.INFO: IMEI packet received {"connection_id":89486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":89486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:50:31] local.INFO: TCP Data received {"connection_id":89486,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e865559a8012d0d56c006ea8768001300a92e..."} 
[2026-06-02 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865559a8012d0d56c006ea8768001300a92e..."} 
[2026-06-02 08:50:31] local.INFO: Processing buffer {"connection_id":89486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865559a8012d0d56c006ea8768001300a92e..."} 
[2026-06-02 08:50:31] local.INFO: Packet analysis {"connection_id":89486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:50:31] local.INFO: Extracted packet for processing {"connection_id":89486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:50:31] local.INFO: GPS Element Parsed {"raw_longitude":755848896,"raw_latitude":116033384,"longitude_deg":75.5848896,"latitude_deg":11.6033384,"altitude":19,"angle":169,"satellites":46,"speed":35,"hex_longitude":"2d0d56c0","hex_latitude":"06ea8768","is_valid_coordinates":true} 
[2026-06-02 08:50: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-06-02 08:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774770432001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305299018567647232,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":959759331544580096,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:31] 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-06-02 08:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780370201000,"timestamp_ms":1780370201000,"timestamp_seconds":1780370201,"priority":1,"record_length":96,"hex_timestamp":"0000019e865559a8"} 
[2026-06-02 08:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:50: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-06-02 08:50: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":195,"data_length":795,"current_offset":136} 
[2026-06-02 08:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:50: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-06-02 08:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:50: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-06-02 08:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774770432001,"66":27800,"83":206,"80":6400,"24":35,"16":305299018567647232,"45":959759331544580096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774770432001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:50:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:50:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305299018567647232,"km_value":305299018567647.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":959759331544580096,"description":"Unknown IO ID 45"} 
[2026-06-02 08:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774770432001,"power":27800,"unknown_83":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":959759331544580096}} 
[2026-06-02 08:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":89486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:50:31] local.INFO: GPS data processed {"connection_id":89486,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:50:31] local.INFO: Acknowledgment sent {"connection_id":89486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:50:49] local.INFO: TCP Data received {"connection_id":89243,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86586eb8012d7c38c005eb0b78000b013d23..."} 
[2026-06-02 08:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86586eb8012d7c38c005eb0b78000b013d23..."} 
[2026-06-02 08:50:49] local.INFO: Processing buffer {"connection_id":89243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86586eb8012d7c38c005eb0b78000b013d23..."} 
[2026-06-02 08:50:49] local.INFO: Packet analysis {"connection_id":89243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:50:49] local.INFO: Extracted packet for processing {"connection_id":89243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:50:49] local.INFO: GPS Element Parsed {"raw_longitude":763115712,"raw_latitude":99289976,"longitude_deg":76.3115712,"latitude_deg":9.9289976,"altitude":11,"angle":317,"satellites":35,"speed":21,"hex_longitude":"2d7c38c0","hex_latitude":"05eb0b78","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774822912001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87806985709289472,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951537603514585088,"note":"Value kept but may cause issues"} 
[2026-06-02 08:50:49] 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-06-02 08:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780370403000,"timestamp_ms":1780370403000,"timestamp_seconds":1780370403,"priority":1,"record_length":96,"hex_timestamp":"0000019e86586eb8"} 
[2026-06-02 08:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 08:50:49] 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-06-02 08: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-06-02 08:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774822912001,"66":13254,"8":206,"87":13824,"24":21,"16":87806985709289472,"45":8951537603514585088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774822912001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:50:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:50:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87806985709289472,"km_value":87806985709289.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951537603514585088,"description":"Unknown IO ID 45"} 
[2026-06-02 08:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774822912001,"power":13254,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8951537603514585088}} 
[2026-06-02 08:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":89243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:50:49] local.INFO: GPS data processed {"connection_id":89243,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:50:49] local.INFO: Acknowledgment sent {"connection_id":89243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:51:02] local.INFO: TCP Data received {"connection_id":89486,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86557cd0012d0d594006ea6278000f00ac2e..."} 
[2026-06-02 08:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86557cd0012d0d594006ea6278000f00ac2e..."} 
[2026-06-02 08:51:02] local.INFO: Processing buffer {"connection_id":89486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86557cd0012d0d594006ea6278000f00ac2e..."} 
[2026-06-02 08:51:02] local.INFO: Packet analysis {"connection_id":89486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:51:02] local.INFO: Extracted packet for processing {"connection_id":89486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:51:02] local.INFO: GPS Element Parsed {"raw_longitude":755849536,"raw_latitude":116023928,"longitude_deg":75.5849536,"latitude_deg":11.6023928,"altitude":15,"angle":172,"satellites":46,"speed":41,"hex_longitude":"2d0d5940","hex_latitude":"06ea6278","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774771456001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305299478129147904,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961166706427258880,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:02] 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-06-02 08:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780370210000,"timestamp_ms":1780370210000,"timestamp_seconds":1780370210,"priority":1,"record_length":96,"hex_timestamp":"0000019e86557cd0"} 
[2026-06-02 08:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:51: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-06-02 08: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 08:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774771456001,"66":27908,"83":206,"80":6400,"24":41,"16":305299478129147904,"45":961166706427258880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774771456001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:51:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305299478129147904,"km_value":305299478129147.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":961166706427258880,"description":"Unknown IO ID 45"} 
[2026-06-02 08:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774771456001,"power":27908,"unknown_83":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":961166706427258880}} 
[2026-06-02 08:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":89486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:51:02] local.INFO: GPS data processed {"connection_id":89486,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:51:02] local.INFO: Acknowledgment sent {"connection_id":89486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:51:21] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:51:21] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:51:21] local.INFO: IMEI packet received {"connection_id":89653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":89653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:51:22] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:51:22] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:51:22] local.INFO: IMEI packet received {"connection_id":89653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":89653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:51:24] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86588628012d7c30c005eb1478000a014f22..."} 
[2026-06-02 08:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86588628012d7c30c005eb1478000a014f22..."} 
[2026-06-02 08:51:24] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86588628012d7c30c005eb1478000a014f22..."} 
[2026-06-02 08:51:24] local.INFO: Packet analysis {"connection_id":89653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:51:24] local.INFO: Extracted packet for processing {"connection_id":89653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":99292280,"longitude_deg":76.3113664,"latitude_deg":9.929228,"altitude":10,"angle":335,"satellites":34,"speed":21,"hex_longitude":"2d7c30c0","hex_latitude":"05eb1478","is_valid_coordinates":true} 
[2026-06-02 08:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774823168001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87807131738177536,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951115391049627648,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:24] 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-06-02 08:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780370409000,"timestamp_ms":1780370409000,"timestamp_seconds":1780370409,"priority":1,"record_length":96,"hex_timestamp":"0000019e86588628"} 
[2026-06-02 08:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:51: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-06-02 08:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 08:51:24] 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-06-02 08:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774823168001,"66":13091,"8":206,"87":13824,"24":21,"16":87807131738177536,"45":8951115391049627648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774823168001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:51:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:51:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87807131738177536,"km_value":87807131738177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951115391049627648,"description":"Unknown IO ID 45"} 
[2026-06-02 08:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774823168001,"power":13091,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8951115391049627648}} 
[2026-06-02 08:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":89653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:51:24] local.INFO: GPS data processed {"connection_id":89653,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:51:24] local.INFO: Acknowledgment sent {"connection_id":89653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:51:24] local.INFO: TCP Data received {"connection_id":90713,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:51:24] local.INFO: Processing buffer {"connection_id":90713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:51:24] local.INFO: IMEI packet received {"connection_id":90713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":90713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:51:26] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86588df8012d7c2f8005eb1890000b015d24..."} 
[2026-06-02 08:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86588df8012d7c2f8005eb1890000b015d24..."} 
[2026-06-02 08:51:26] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86588df8012d7c2f8005eb1890000b015d24..."} 
[2026-06-02 08:51:26] local.INFO: Packet analysis {"connection_id":89653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:51:26] local.INFO: Extracted packet for processing {"connection_id":89653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763113344,"raw_latitude":99293328,"longitude_deg":76.3113344,"latitude_deg":9.9293328,"altitude":11,"angle":349,"satellites":36,"speed":21,"hex_longitude":"2d7c2f80","hex_latitude":"05eb1890","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774824704001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87807187572752384,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863591236532224,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:26] 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-06-02 08:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780370411000,"timestamp_ms":1780370411000,"timestamp_seconds":1780370411,"priority":1,"record_length":96,"hex_timestamp":"0000019e86588df8"} 
[2026-06-02 08:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:51: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-06-02 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 08:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774824704001,"66":12863,"8":206,"87":13824,"24":21,"16":87807187572752384,"45":8948863591236532224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774824704001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:51:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:51:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87807187572752384,"km_value":87807187572752.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863591236532224,"description":"Unknown IO ID 45"} 
[2026-06-02 08:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774824704001,"power":12863,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8948863591236532224}} 
[2026-06-02 08:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":89653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:51:26] local.INFO: GPS data processed {"connection_id":89653,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:51:26] local.INFO: Acknowledgment sent {"connection_id":89653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:51:29] local.INFO: TCP Data received {"connection_id":90713,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:51:29] local.INFO: Processing buffer {"connection_id":90713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:51:29] local.INFO: IMEI packet received {"connection_id":90713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":90713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:51:30] local.INFO: TCP Data received {"connection_id":90713,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8655a7c8012d0d5e8006ea3fc0000d00ab2c..."} 
[2026-06-02 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8655a7c8012d0d5e8006ea3fc0000d00ab2c..."} 
[2026-06-02 08:51:30] local.INFO: Processing buffer {"connection_id":90713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8655a7c8012d0d5e8006ea3fc0000d00ab2c..."} 
[2026-06-02 08:51:30] local.INFO: Packet analysis {"connection_id":90713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:51:30] local.INFO: Extracted packet for processing {"connection_id":90713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":755850880,"raw_latitude":116015040,"longitude_deg":75.585088,"latitude_deg":11.601504,"altitude":13,"angle":171,"satellites":44,"speed":16,"hex_longitude":"2d0d5e80","hex_latitude":"06ea3fc0","is_valid_coordinates":true} 
[2026-06-02 08:51: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-06-02 08:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774773760001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305299916215812096,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961870393866614784,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:30] 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-06-02 08:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370221000,"timestamp_ms":1780370221000,"timestamp_seconds":1780370221,"priority":1,"record_length":96,"hex_timestamp":"0000019e8655a7c8"} 
[2026-06-02 08:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:51: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-06-02 08:51: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 08:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:51: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-06-02 08:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774773760001,"66":28093,"83":206,"80":6400,"24":16,"16":305299916215812096,"45":961870393866614784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774773760001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:51:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305299916215812096,"km_value":305299916215812.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":961870393866614784,"description":"Unknown IO ID 45"} 
[2026-06-02 08:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774773760001,"power":28093,"unknown_83":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":961870393866614784}} 
[2026-06-02 08:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":90713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:51:30] local.INFO: GPS data processed {"connection_id":90713,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:51:30] local.INFO: Acknowledgment sent {"connection_id":90713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:51:58] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86589d98012d7c2d4005eb20e8000b014b21..."} 
[2026-06-02 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86589d98012d7c2d4005eb20e8000b014b21..."} 
[2026-06-02 08:51:58] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86589d98012d7c2d4005eb20e8000b014b21..."} 
[2026-06-02 08:51:58] local.INFO: Packet analysis {"connection_id":89653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:51:58] local.INFO: Extracted packet for processing {"connection_id":89653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763112768,"raw_latitude":99295464,"longitude_deg":76.3112768,"latitude_deg":9.9295464,"altitude":11,"angle":331,"satellites":33,"speed":19,"hex_longitude":"2d7c2d40","hex_latitude":"05eb20e8","is_valid_coordinates":true} 
[2026-06-02 08:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774825216001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87807294946934784,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948511747515912192,"note":"Value kept but may cause issues"} 
[2026-06-02 08:51:58] 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-06-02 08:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780370415000,"timestamp_ms":1780370415000,"timestamp_seconds":1780370415,"priority":1,"record_length":96,"hex_timestamp":"0000019e86589d98"} 
[2026-06-02 08:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:51: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-06-02 08:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 08:51:58] 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-06-02 08:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774825216001,"66":12961,"8":206,"87":13824,"24":19,"16":87807294946934784,"45":8948511747515912192},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774825216001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:51:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87807294946934784,"km_value":87807294946934.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948511747515912192,"description":"Unknown IO ID 45"} 
[2026-06-02 08:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774825216001,"power":12961,"unknown_8":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8948511747515912192}} 
[2026-06-02 08:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":89653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:51:58] local.INFO: GPS data processed {"connection_id":89653,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:51:58] local.INFO: Acknowledgment sent {"connection_id":89653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:52:02] local.INFO: TCP Data received {"connection_id":90713,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8655f9d0012d0d618006ea20b0000f00b22c..."} 
[2026-06-02 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8655f9d0012d0d618006ea20b0000f00b22c..."} 
[2026-06-02 08:52:02] local.INFO: Processing buffer {"connection_id":90713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8655f9d0012d0d618006ea20b0000f00b22c..."} 
[2026-06-02 08:52:02] local.INFO: Packet analysis {"connection_id":90713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:52:02] local.INFO: Extracted packet for processing {"connection_id":90713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8655"} 
[2026-06-02 08:52:02] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":116007088,"longitude_deg":75.5851648,"latitude_deg":11.6007088,"altitude":15,"angle":178,"satellites":44,"speed":17,"hex_longitude":"2d0d6180","hex_latitude":"06ea20b0","is_valid_coordinates":true} 
[2026-06-02 08:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774776576001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300307057836032,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963348137492070400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:02] 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-06-02 08:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780370242000,"timestamp_ms":1780370242000,"timestamp_seconds":1780370242,"priority":1,"record_length":96,"hex_timestamp":"0000019e8655f9d0"} 
[2026-06-02 08:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:52: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-06-02 08:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-02 08:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774776576001,"66":27930,"83":206,"80":6400,"24":17,"16":305300307057836032,"45":963348137492070400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774776576001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:52:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300307057836032,"km_value":305300307057836.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":963348137492070400,"description":"Unknown IO ID 45"} 
[2026-06-02 08:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774776576001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":963348137492070400}} 
[2026-06-02 08:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":90713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:52:02] local.INFO: GPS data processed {"connection_id":90713,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:52:02] local.INFO: Acknowledgment sent {"connection_id":90713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:52:13] local.INFO: TCP Data received {"connection_id":89488,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:52:13] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:52:13] local.INFO: IMEI packet received {"connection_id":89488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":89488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:52:18] local.INFO: TCP Data received {"connection_id":89488,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:52:18] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:52:18] local.INFO: IMEI packet received {"connection_id":89488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":89488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:52:19] local.INFO: TCP Data received {"connection_id":89244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:52:19] local.INFO: Processing buffer {"connection_id":89244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:52:19] local.INFO: IMEI packet received {"connection_id":89244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":89244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:52:20] local.INFO: TCP Data received {"connection_id":89488,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8658a180012d7c2c4005eb2278000b013e21..."} 
[2026-06-02 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8658a180012d7c2c4005eb2278000b013e21..."} 
[2026-06-02 08:52:20] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8658a180012d7c2c4005eb2278000b013e21..."} 
[2026-06-02 08:52:20] local.INFO: Packet analysis {"connection_id":89488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:52:20] local.INFO: Extracted packet for processing {"connection_id":89488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8658"} 
[2026-06-02 08:52:20] local.INFO: GPS Element Parsed {"raw_longitude":763112512,"raw_latitude":99295864,"longitude_deg":76.3112512,"latitude_deg":9.9295864,"altitude":11,"angle":318,"satellites":33,"speed":21,"hex_longitude":"2d7c2c40","hex_latitude":"05eb2278","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774826240001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87807316421771264,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947878428818860032,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:20] 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-06-02 08:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780370416000,"timestamp_ms":1780370416000,"timestamp_seconds":1780370416,"priority":1,"record_length":96,"hex_timestamp":"0000019e8658a180"} 
[2026-06-02 08:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 08:52:20] 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-06-02 08: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-06-02 08:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774826240001,"66":12961,"8":206,"87":13824,"24":21,"16":87807316421771264,"45":8947878428818860032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 08:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774826240001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:52:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 08:52:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87807316421771264,"km_value":87807316421771.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947878428818860032,"description":"Unknown IO ID 45"} 
[2026-06-02 08:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774826240001,"power":12961,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8947878428818860032}} 
[2026-06-02 08:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":89488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:52:20] local.INFO: GPS data processed {"connection_id":89488,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:52:20] local.INFO: Acknowledgment sent {"connection_id":89488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:52:24] local.INFO: TCP Data received {"connection_id":89245,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:52:24] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:52:24] local.INFO: IMEI packet received {"connection_id":89245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":89245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:52:29] local.INFO: TCP Data received {"connection_id":89245,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:52:29] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:52:29] local.INFO: IMEI packet received {"connection_id":89245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":89245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:52:30] local.INFO: TCP Data received {"connection_id":89245,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e86560970012d0d620006ea1a60001000af2b..."} 
[2026-06-02 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86560970012d0d620006ea1a60001000af2b..."} 
[2026-06-02 08:52:30] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86560970012d0d620006ea1a60001000af2b..."} 
[2026-06-02 08:52:30] local.INFO: Packet analysis {"connection_id":89245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8656"} 
[2026-06-02 08:52:30] local.INFO: Extracted packet for processing {"connection_id":89245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8656"} 
[2026-06-02 08:52:30] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116005472,"longitude_deg":75.5851776,"latitude_deg":11.6005472,"altitude":16,"angle":175,"satellites":43,"speed":15,"hex_longitude":"2d0d6200","hex_latitude":"06ea1a60","is_valid_coordinates":true} 
[2026-06-02 08:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774781952001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964192562420166656,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:30] 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-06-02 08:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370246000,"timestamp_ms":1780370246000,"timestamp_seconds":1780370246,"priority":1,"record_length":96,"hex_timestamp":"0000019e86560970"} 
[2026-06-02 08:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:52: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-06-02 08:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:52: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-06-02 08:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:52:30] 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-06-02 08:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774781952001,"66":27876,"83":206,"80":6400,"24":15,"16":305300384367247360,"45":964192562420166656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774781952001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:52:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964192562420166656,"description":"Unknown IO ID 45"} 
[2026-06-02 08:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774781952001,"power":27876,"unknown_83":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":964192562420166656}} 
[2026-06-02 08:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":89245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:52:30] local.INFO: GPS data processed {"connection_id":89245,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:52:30] local.INFO: Acknowledgment sent {"connection_id":89245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:52:52] local.INFO: TCP Data received {"connection_id":89488,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865a9580012d7c080005ebb3200000014522..."} 
[2026-06-02 08:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865a9580012d7c080005ebb3200000014522..."} 
[2026-06-02 08:52:52] local.INFO: Processing buffer {"connection_id":89488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865a9580012d7c080005ebb3200000014522..."} 
[2026-06-02 08:52:52] local.INFO: Packet analysis {"connection_id":89488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:52:52] local.INFO: Extracted packet for processing {"connection_id":89488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":99332896,"longitude_deg":76.3103232,"latitude_deg":9.9332896,"altitude":0,"angle":325,"satellites":34,"speed":14,"hex_longitude":"2d7c0800","hex_latitude":"05ebb320","is_valid_coordinates":true} 
[2026-06-02 08:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774858240001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87809214797316096,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097173387466752,"note":"Value kept but may cause issues"} 
[2026-06-02 08:52:52] 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-06-02 08:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780370544000,"timestamp_ms":1780370544000,"timestamp_seconds":1780370544,"priority":1,"record_length":96,"hex_timestamp":"0000019e865a9580"} 
[2026-06-02 08:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 08:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":89488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":89488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":89488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774858240001,"66":13015,"198":206,"87":13824,"24":14,"16":87809214797316096,"45":8938097173387466752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774858240001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:52:52] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:52:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87809214797316096,"km_value":87809214797316.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097173387466752,"description":"Unknown IO ID 45"} 
[2026-06-02 08:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774858240001,"power":13015,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8938097173387466752}} 
[2026-06-02 08:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":89488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:52:52] local.INFO: GPS data processed {"connection_id":89488,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:52:52] local.INFO: Acknowledgment sent {"connection_id":89488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:52:59] local.INFO: TCP Data received {"connection_id":90714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:52:59] local.INFO: Processing buffer {"connection_id":90714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:52:59] local.INFO: IMEI packet received {"connection_id":90714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":90714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:53:02] local.INFO: TCP Data received {"connection_id":89245,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e86560970012d0d620006ea1a60001000af2b..."} 
[2026-06-02 08:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86560970012d0d620006ea1a60001000af2b..."} 
[2026-06-02 08:53:02] local.INFO: Processing buffer {"connection_id":89245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86560970012d0d620006ea1a60001000af2b..."} 
[2026-06-02 08:53:02] local.INFO: Packet analysis {"connection_id":89245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8656"} 
[2026-06-02 08:53:02] local.INFO: Extracted packet for processing {"connection_id":89245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8656"} 
[2026-06-02 08:53:02] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116005472,"longitude_deg":75.5851776,"latitude_deg":11.6005472,"altitude":16,"angle":175,"satellites":43,"speed":15,"hex_longitude":"2d0d6200","hex_latitude":"06ea1a60","is_valid_coordinates":true} 
[2026-06-02 08:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774781952001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964192562420166656,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:02] 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-06-02 08:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780370246000,"timestamp_ms":1780370246000,"timestamp_seconds":1780370246,"priority":1,"record_length":96,"hex_timestamp":"0000019e86560970"} 
[2026-06-02 08:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:53: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-06-02 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 08:53: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-06-02 08: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-06-02 08:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:53:02] 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-06-02 08:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774781952001,"66":27876,"83":206,"80":6400,"24":15,"16":305300384367247360,"45":964192562420166656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774781952001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:53:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":964192562420166656,"description":"Unknown IO ID 45"} 
[2026-06-02 08:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774781952001,"power":27876,"unknown_83":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":964192562420166656}} 
[2026-06-02 08:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":89245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:53:02] local.INFO: GPS data processed {"connection_id":89245,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:53:02] local.INFO: Acknowledgment sent {"connection_id":89245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:53:13] local.INFO: TCP Data received {"connection_id":90715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:13] local.INFO: Processing buffer {"connection_id":90715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:13] local.INFO: IMEI packet received {"connection_id":90715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":90715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:53:13] local.INFO: TCP Data received {"connection_id":90715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:13] local.INFO: Processing buffer {"connection_id":90715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:13] local.INFO: IMEI packet received {"connection_id":90715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":90715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:53:18] local.INFO: TCP Data received {"connection_id":90715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:18] local.INFO: Processing buffer {"connection_id":90715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:53:18] local.INFO: IMEI packet received {"connection_id":90715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":90715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:53:19] local.INFO: TCP Data received {"connection_id":90715,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865aa138012d7c060005ebb7880000015121..."} 
[2026-06-02 08:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865aa138012d7c060005ebb7880000015121..."} 
[2026-06-02 08:53:19] local.INFO: Processing buffer {"connection_id":90715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865aa138012d7c060005ebb7880000015121..."} 
[2026-06-02 08:53:19] local.INFO: Packet analysis {"connection_id":90715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:53:19] local.INFO: Extracted packet for processing {"connection_id":90715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":99334024,"longitude_deg":76.310272,"latitude_deg":9.9334024,"altitude":0,"angle":337,"satellites":33,"speed":17,"hex_longitude":"2d7c0600","hex_latitude":"05ebb788","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774859264001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87809274926858240,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485945970688,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:19] 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-06-02 08:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780370547000,"timestamp_ms":1780370547000,"timestamp_seconds":1780370547,"priority":1,"record_length":96,"hex_timestamp":"0000019e865aa138"} 
[2026-06-02 08:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:53: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-06-02 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 08:53:19] 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-06-02 08: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-06-02 08:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774859264001,"66":12961,"198":206,"87":13824,"24":17,"16":87809274926858240,"45":8937393485945970688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774859264001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:53:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:53:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87809274926858240,"km_value":87809274926858.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485945970688,"description":"Unknown IO ID 45"} 
[2026-06-02 08:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774859264001,"power":12961,"unknown_198":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8937393485945970688}} 
[2026-06-02 08:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":90715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:53:19] local.INFO: GPS data processed {"connection_id":90715,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:53:19] local.INFO: Acknowledgment sent {"connection_id":90715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:53:24] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:53:24] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:53:24] local.INFO: IMEI packet received {"connection_id":89489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":89489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:53:29] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:53:29] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:53:29] local.INFO: IMEI packet received {"connection_id":89489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":89489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:53:30] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:53:30] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:53:30] local.INFO: Packet analysis {"connection_id":89489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:53:30] local.INFO: Extracted packet for processing {"connection_id":89489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:30] 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-06-02 08:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:53:30] 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-06-02 08:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:53:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":89489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:53:30] local.INFO: GPS data processed {"connection_id":89489,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:53:30] local.INFO: Acknowledgment sent {"connection_id":89489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:53:50] local.INFO: TCP Data received {"connection_id":90715,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ad400012d7bfb0005ebd8f80000015820..."} 
[2026-06-02 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ad400012d7bfb0005ebd8f80000015820..."} 
[2026-06-02 08:53:50] local.INFO: Processing buffer {"connection_id":90715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ad400012d7bfb0005ebd8f80000015820..."} 
[2026-06-02 08:53:50] local.INFO: Packet analysis {"connection_id":90715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:53:50] local.INFO: Extracted packet for processing {"connection_id":90715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:53:50] local.INFO: GPS Element Parsed {"raw_longitude":763099904,"raw_latitude":99342584,"longitude_deg":76.3099904,"latitude_deg":9.9342584,"altitude":0,"angle":344,"satellites":32,"speed":30,"hex_longitude":"2d7bfb00","hex_latitude":"05ebd8f8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774860032001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87809713013522432,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936830535992838144,"note":"Value kept but may cause issues"} 
[2026-06-02 08:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780370560000,"timestamp_ms":1780370560000,"timestamp_seconds":1780370560,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ad400"} 
[2026-06-02 08:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 08:53:50] 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-06-02 08: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-06-02 08:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774860032001,"66":13341,"198":206,"87":13824,"24":30,"16":87809713013522432,"45":8936830535992838144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774860032001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:53:50] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:53:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87809713013522432,"km_value":87809713013522.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936830535992838144,"description":"Unknown IO ID 45"} 
[2026-06-02 08:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774860032001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8936830535992838144}} 
[2026-06-02 08:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":90715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:53:50] local.INFO: GPS data processed {"connection_id":90715,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:53:50] local.INFO: Acknowledgment sent {"connection_id":90715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:54:01] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:01] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:01] local.INFO: Packet analysis {"connection_id":89489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:54:01] local.INFO: Extracted packet for processing {"connection_id":89489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54: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-06-02 08:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:54: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-06-02 08: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:54:01] 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-06-02 08: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-06-02 08:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:54:01] 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-06-02 08:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:54:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":89489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:54:01] local.INFO: GPS data processed {"connection_id":89489,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:54:01] local.INFO: Acknowledgment sent {"connection_id":89489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:54:12] local.INFO: TCP Data received {"connection_id":89247,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:12] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:12] local.INFO: IMEI packet received {"connection_id":89247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":89247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:54:12] local.INFO: TCP Data received {"connection_id":89247,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:12] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:12] local.INFO: IMEI packet received {"connection_id":89247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":89247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:54:18] local.INFO: TCP Data received {"connection_id":89247,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:18] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:54:18] local.INFO: IMEI packet received {"connection_id":89247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":89247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:54:19] local.INFO: TCP Data received {"connection_id":89247,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865bd9b8012d7c0d4005ec38700006005823..."} 
[2026-06-02 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865bd9b8012d7c0d4005ec38700006005823..."} 
[2026-06-02 08:54:19] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865bd9b8012d7c0d4005ec38700006005823..."} 
[2026-06-02 08:54:19] local.INFO: Packet analysis {"connection_id":89247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865b"} 
[2026-06-02 08:54:19] local.INFO: Extracted packet for processing {"connection_id":89247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865b"} 
[2026-06-02 08:54:19] local.INFO: GPS Element Parsed {"raw_longitude":763104576,"raw_latitude":99367024,"longitude_deg":76.3104576,"latitude_deg":9.9367024,"altitude":6,"angle":88,"satellites":35,"speed":34,"hex_longitude":"2d7c0d40","hex_latitude":"05ec3870","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774876160001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87811413820571648,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928527024188203008,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:19] 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-06-02 08:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780370627000,"timestamp_ms":1780370627000,"timestamp_seconds":1780370627,"priority":1,"record_length":96,"hex_timestamp":"0000019e865bd9b8"} 
[2026-06-02 08:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 08:54:19] 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-06-02 08: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-06-02 08:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774876160001,"66":13059,"198":206,"87":13824,"24":34,"16":87811413820571648,"45":8928527024188203008},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774876160001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:54:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:54:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87811413820571648,"km_value":87811413820571.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928527024188203008,"description":"Unknown IO ID 45"} 
[2026-06-02 08:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774876160001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8928527024188203008}} 
[2026-06-02 08:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":89247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:54:19] local.INFO: GPS data processed {"connection_id":89247,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:54:19] local.INFO: Acknowledgment sent {"connection_id":89247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:54:24] local.INFO: TCP Data received {"connection_id":90716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:54:25] local.INFO: Processing buffer {"connection_id":90716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:54:25] local.INFO: IMEI packet received {"connection_id":90716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":90716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:54:29] local.INFO: TCP Data received {"connection_id":90716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:54:29] local.INFO: Processing buffer {"connection_id":90716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:54:29] local.INFO: IMEI packet received {"connection_id":90716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":90716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:54:30] local.INFO: TCP Data received {"connection_id":90716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:30] local.INFO: Processing buffer {"connection_id":90716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:30] local.INFO: Packet analysis {"connection_id":90716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:54:30] local.INFO: Extracted packet for processing {"connection_id":90716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:54:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:30] 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-06-02 08:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:54:30] 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-06-02 08:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:54:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":90716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:54:30] local.INFO: GPS data processed {"connection_id":90716,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:54:30] local.INFO: Acknowledgment sent {"connection_id":90716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:54:35] local.INFO: TCP Data received {"connection_id":90716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:35] local.INFO: Processing buffer {"connection_id":90716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:54:35] local.INFO: Packet analysis {"connection_id":90716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:54:35] local.INFO: Extracted packet for processing {"connection_id":90716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:54:35] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:35] 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-06-02 08:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:54:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":90716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:54:35] local.INFO: GPS data processed {"connection_id":90716,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:54:35] local.INFO: Acknowledgment sent {"connection_id":90716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:54:49] local.INFO: TCP Data received {"connection_id":89247,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865c04b0012d7c318005ec39b8000b005921..."} 
[2026-06-02 08:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865c04b0012d7c318005ec39b8000b005921..."} 
[2026-06-02 08:54:49] local.INFO: Processing buffer {"connection_id":89247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865c04b0012d7c318005ec39b8000b005921..."} 
[2026-06-02 08:54:49] local.INFO: Packet analysis {"connection_id":89247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:54:49] local.INFO: Extracted packet for processing {"connection_id":89247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:54:49] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":99367352,"longitude_deg":76.3113856,"latitude_deg":9.9367352,"altitude":11,"angle":89,"satellites":33,"speed":27,"hex_longitude":"2d7c3180","hex_latitude":"05ec39b8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774880512001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87811860497170432,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938871229582438400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780370638000,"timestamp_ms":1780370638000,"timestamp_seconds":1780370638,"priority":1,"record_length":96,"hex_timestamp":"0000019e865c04b0"} 
[2026-06-02 08:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:54: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-06-02 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161905565013,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818505,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2254142456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2399141888,"corrected_to":0} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3221613620,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4153016320,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962726400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:54:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,198,87,24,241,157,16,248,158,151,45,128,54,36,10,66,247,143,139,64,1,240,106,227,134,236,4,113,205,9,131,32,239,50,2,55,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":247,"original":2399141888,"validated":0},{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-06-02 08:54:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432442471576895488,"timestamp_seconds":432442471576895.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774880512001,"66":12689,"198":206,"87":13824,"24":27,"16":87811860497170432,"45":8938871229582438400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774880512001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:54:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:54:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87811860497170432,"km_value":87811860497170.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938871229582438400,"description":"Unknown IO ID 45"} 
[2026-06-02 08:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774880512001,"power":12689,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8938871229582438400}} 
[2026-06-02 08:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":89247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:54:50] local.INFO: GPS data processed {"connection_id":89247,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:54:50] local.INFO: Acknowledgment sent {"connection_id":89247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:55:06] local.INFO: TCP Data received {"connection_id":90716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:55:06] local.INFO: Processing buffer {"connection_id":90716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:55:06] local.INFO: Packet analysis {"connection_id":90716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:55:06] local.INFO: Extracted packet for processing {"connection_id":90716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:55:06] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:06] 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-06-02 08:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:55:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":90716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:55:06] local.INFO: GPS data processed {"connection_id":90716,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:55:06] local.INFO: Acknowledgment sent {"connection_id":90716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:55:12] local.INFO: TCP Data received {"connection_id":89248,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:13] local.INFO: Processing buffer {"connection_id":89248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:13] local.INFO: IMEI packet received {"connection_id":89248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":89248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:55:16] local.INFO: TCP Data received {"connection_id":89248,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:16] local.INFO: Processing buffer {"connection_id":89248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:16] local.INFO: IMEI packet received {"connection_id":89248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":89248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:55:18] local.INFO: TCP Data received {"connection_id":89248,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:18] local.INFO: Processing buffer {"connection_id":89248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:55:18] local.INFO: IMEI packet received {"connection_id":89248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":89248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:55:19] local.INFO: TCP Data received {"connection_id":89248,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865c3390012d7c56c005ec3af00010005723..."} 
[2026-06-02 08:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865c3390012d7c56c005ec3af00010005723..."} 
[2026-06-02 08:55:19] local.INFO: Processing buffer {"connection_id":89248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865c3390012d7c56c005ec3af00010005723..."} 
[2026-06-02 08:55:19] local.INFO: Packet analysis {"connection_id":89248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:55:19] local.INFO: Extracted packet for processing {"connection_id":89248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:55:19] local.INFO: GPS Element Parsed {"raw_longitude":763123392,"raw_latitude":99367664,"longitude_deg":76.3123392,"latitude_deg":9.9367664,"altitude":16,"angle":87,"satellites":35,"speed":34,"hex_longitude":"2d7c56c0","hex_latitude":"05ec3af0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774883328001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87812315763703808,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697488283648,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:19] 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-06-02 08:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780370650000,"timestamp_ms":1780370650000,"timestamp_seconds":1780370650,"priority":1,"record_length":96,"hex_timestamp":"0000019e865c3390"} 
[2026-06-02 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-06-02 08:55: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-06-02 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 08:55: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-06-02 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-06-02 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-06-02 08:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774883328001,"66":13189,"198":206,"87":13824,"24":34,"16":87812315763703808,"45":8949074697488283648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774883328001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:55:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:55:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87812315763703808,"km_value":87812315763703.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697488283648,"description":"Unknown IO ID 45"} 
[2026-06-02 08:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774883328001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8949074697488283648}} 
[2026-06-02 08:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":89248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:55:19] local.INFO: GPS data processed {"connection_id":89248,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:55:19] local.INFO: Acknowledgment sent {"connection_id":89248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:55:20] local.INFO: TCP Data received {"connection_id":89248,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865c5e88012d7c7b8005ec3c48000e005826..."} 
[2026-06-02 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865c5e88012d7c7b8005ec3c48000e005826..."} 
[2026-06-02 08:55:20] local.INFO: Processing buffer {"connection_id":89248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865c5e88012d7c7b8005ec3c48000e005826..."} 
[2026-06-02 08:55:20] local.INFO: Packet analysis {"connection_id":89248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:55:20] local.INFO: Extracted packet for processing {"connection_id":89248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":99368008,"longitude_deg":76.31328,"latitude_deg":9.9368008,"altitude":14,"angle":88,"satellites":38,"speed":33,"hex_longitude":"2d7c7b80","hex_latitude":"05ec3c48","is_valid_coordinates":true} 
[2026-06-02 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774886400001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87812762440302592,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959559640370835456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:20] 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-06-02 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780370661000,"timestamp_ms":1780370661000,"timestamp_seconds":1780370661,"priority":1,"record_length":96,"hex_timestamp":"0000019e865c5e88"} 
[2026-06-02 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 08:55:20] 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-06-02 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774886400001,"66":13059,"198":206,"87":13824,"24":33,"16":87812762440302592,"45":8959559640370835456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774886400001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87812762440302592,"km_value":87812762440302.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959559640370835456,"description":"Unknown IO ID 45"} 
[2026-06-02 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774886400001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8959559640370835456}} 
[2026-06-02 08:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":89248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:55:21] local.INFO: GPS data processed {"connection_id":89248,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:55:21] local.INFO: Acknowledgment sent {"connection_id":89248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:55:24] local.INFO: TCP Data received {"connection_id":90717,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:55:24] local.INFO: Processing buffer {"connection_id":90717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:55:24] local.INFO: IMEI packet received {"connection_id":90717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":90717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:55:29] local.INFO: TCP Data received {"connection_id":90717,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:55:29] local.INFO: Processing buffer {"connection_id":90717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:55:29] local.INFO: IMEI packet received {"connection_id":90717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":90717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:55:30] local.INFO: TCP Data received {"connection_id":90717,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:55:30] local.INFO: Processing buffer {"connection_id":90717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:55:30] local.INFO: Packet analysis {"connection_id":90717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:55:30] local.INFO: Extracted packet for processing {"connection_id":90717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:30] 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-06-02 08:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:55:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":90717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:55:30] local.INFO: GPS data processed {"connection_id":90717,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:55:30] local.INFO: Acknowledgment sent {"connection_id":90717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:55:52] local.INFO: TCP Data received {"connection_id":89248,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865c9920012d7ca08005ec3d28000a005625..."} 
[2026-06-02 08:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865c9920012d7ca08005ec3d28000a005625..."} 
[2026-06-02 08:55:52] local.INFO: Processing buffer {"connection_id":89248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865c9920012d7ca08005ec3d28000a005625..."} 
[2026-06-02 08:55:52] local.INFO: Packet analysis {"connection_id":89248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:55:52] local.INFO: Extracted packet for processing {"connection_id":89248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763142272,"raw_latitude":99368232,"longitude_deg":76.3142272,"latitude_deg":9.9368232,"altitude":10,"angle":86,"satellites":37,"speed":33,"hex_longitude":"2d7ca080","hex_latitude":"05ec3d28","is_valid_coordinates":true} 
[2026-06-02 08:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774889216001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87813213411868672,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969903845765040128,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] 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-06-02 08:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780370676000,"timestamp_ms":1780370676000,"timestamp_seconds":1780370676,"priority":1,"record_length":96,"hex_timestamp":"0000019e865c9920"} 
[2026-06-02 08:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:55: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-06-02 08:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947221,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818506,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2254146456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2147871798,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4153606144,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962941440,"note":"Value kept but may cause issues"} 
[2026-06-02 08:55:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,249,158,51,45,192,58,35,10,66,248,4,128,57,11,33,217,64,1,240,3,227,134,236,113,205,15,143,229,48,36,239,50,2,55,5],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-06-02 08:55:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008903236765155328,"timestamp_seconds":1008903236765155.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 08:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":89248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":89248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":89248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774889216001,"66":13374,"198":206,"87":13824,"24":33,"16":87813213411868672,"45":8969903845765040128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774889216001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:55:52] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:55:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87813213411868672,"km_value":87813213411868.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969903845765040128,"description":"Unknown IO ID 45"} 
[2026-06-02 08:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774889216001,"power":13374,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8969903845765040128}} 
[2026-06-02 08:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":89248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:55:52] local.INFO: GPS data processed {"connection_id":89248,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:55:52] local.INFO: Acknowledgment sent {"connection_id":89248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:56:01] local.INFO: TCP Data received {"connection_id":90717,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:56:01] local.INFO: Processing buffer {"connection_id":90717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:56:01] local.INFO: Packet analysis {"connection_id":90717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:56:01] local.INFO: Extracted packet for processing {"connection_id":90717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:56:01] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56: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-06-02 08:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:56: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-06-02 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:56:01] 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-06-02 08: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-06-02 08:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:56:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":90717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:56:01] local.INFO: GPS data processed {"connection_id":90717,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:56:01] local.INFO: Acknowledgment sent {"connection_id":90717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:56:12] local.INFO: TCP Data received {"connection_id":89250,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:12] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:12] local.INFO: IMEI packet received {"connection_id":89250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":89250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:56:13] local.INFO: TCP Data received {"connection_id":89250,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:13] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:13] local.INFO: IMEI packet received {"connection_id":89250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":89250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:56:18] local.INFO: TCP Data received {"connection_id":89250,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:18] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:56:18] local.INFO: IMEI packet received {"connection_id":89250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":89250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:56:19] local.INFO: TCP Data received {"connection_id":89250,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865cc800012d7cc5c005ec40b80009005123..."} 
[2026-06-02 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865cc800012d7cc5c005ec40b80009005123..."} 
[2026-06-02 08:56:19] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865cc800012d7cc5c005ec40b80009005123..."} 
[2026-06-02 08:56:19] local.INFO: Packet analysis {"connection_id":89250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:56:19] local.INFO: Extracted packet for processing {"connection_id":89250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865c"} 
[2026-06-02 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":763151808,"raw_latitude":99369144,"longitude_deg":76.3151808,"latitude_deg":9.9369144,"altitude":9,"angle":81,"satellites":35,"speed":30,"hex_longitude":"2d7cc5c0","hex_latitude":"05ec40b8","is_valid_coordinates":true} 
[2026-06-02 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774893056001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87813672973369344,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980318419903391744,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:19] 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-06-02 08:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780370688000,"timestamp_ms":1780370688000,"timestamp_seconds":1780370688,"priority":1,"record_length":96,"hex_timestamp":"0000019e865cc800"} 
[2026-06-02 08:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:56: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-06-02 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 08:56: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-06-02 08:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774893056001,"66":13472,"198":206,"87":13824,"24":30,"16":87813672973369344,"45":8980318419903391744},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774893056001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:56:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:56:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87813672973369344,"km_value":87813672973369.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980318419903391744,"description":"Unknown IO ID 45"} 
[2026-06-02 08:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774893056001,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8980318419903391744}} 
[2026-06-02 08:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":89250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:56:19] local.INFO: GPS data processed {"connection_id":89250,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:56:19] local.INFO: Acknowledgment sent {"connection_id":89250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:56:24] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:56:24] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:56:24] local.INFO: IMEI packet received {"connection_id":89654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:56:29] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:56:29] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:56:29] local.INFO: IMEI packet received {"connection_id":89654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":89654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:56:30] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:56:30] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:56:30] local.INFO: Packet analysis {"connection_id":89654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:56:30] local.INFO: Extracted packet for processing {"connection_id":89654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:56:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:56: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-06-02 08:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:30] 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-06-02 08:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08:56: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-06-02 08:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:56:30] 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-06-02 08:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:56:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":89654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:56:30] local.INFO: GPS data processed {"connection_id":89654,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:56:30] local.INFO: Acknowledgment sent {"connection_id":89654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:56:53] local.INFO: TCP Data received {"connection_id":89250,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865e3b18012d7cac8005ec37280010010b25..."} 
[2026-06-02 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865e3b18012d7cac8005ec37280010010b25..."} 
[2026-06-02 08:56:53] local.INFO: Processing buffer {"connection_id":89250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865e3b18012d7cac8005ec37280010010b25..."} 
[2026-06-02 08:56:53] local.INFO: Packet analysis {"connection_id":89250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:56:53] local.INFO: Extracted packet for processing {"connection_id":89250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":763145344,"raw_latitude":99366696,"longitude_deg":76.3145344,"latitude_deg":9.9366696,"altitude":16,"angle":267,"satellites":37,"speed":33,"hex_longitude":"2d7cac80","hex_latitude":"05ec3728","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774917376001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87816202709106688,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993969956273547264,"note":"Value kept but may cause issues"} 
[2026-06-02 08:56:53] 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-06-02 08:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1780370783000,"timestamp_ms":1780370783000,"timestamp_seconds":1780370783,"priority":1,"record_length":96,"hex_timestamp":"0000019e865e3b18"} 
[2026-06-02 08:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 08:56:53] 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-06-02 08: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-06-02 08:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":89250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":89250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":89250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774917376001,"66":13189,"198":206,"87":13824,"24":33,"16":87816202709106688,"45":8993969956273547264},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774917376001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:56:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:56:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87816202709106688,"km_value":87816202709106.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993969956273547264,"description":"Unknown IO ID 45"} 
[2026-06-02 08:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774917376001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8993969956273547264}} 
[2026-06-02 08:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":89250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:56:53] local.INFO: GPS data processed {"connection_id":89250,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:56:53] local.INFO: Acknowledgment sent {"connection_id":89250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:57:02] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:57:02] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:57:02] local.INFO: Packet analysis {"connection_id":89654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:57:02] local.INFO: Extracted packet for processing {"connection_id":89654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:57:02] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:02] 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-06-02 08:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:57: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-06-02 08:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:57: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-06-02 08:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:57:02] 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-06-02 08:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:57:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":89654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:57:02] local.INFO: GPS data processed {"connection_id":89654,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:57:02] local.INFO: Acknowledgment sent {"connection_id":89654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:57:19] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:57:19] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:57:19] local.INFO: IMEI packet received {"connection_id":89491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":89491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:57:21] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:57:21] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:57:21] local.INFO: IMEI packet received {"connection_id":89491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":89491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:57:24] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865e6610012d7c888005ec3630000f010c25..."} 
[2026-06-02 08:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865e6610012d7c888005ec3630000f010c25..."} 
[2026-06-02 08:57:24] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865e6610012d7c888005ec3630000f010c25..."} 
[2026-06-02 08:57:24] local.INFO: Packet analysis {"connection_id":89491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:57:24] local.INFO: Extracted packet for processing {"connection_id":89491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":99366448,"longitude_deg":76.3136128,"latitude_deg":9.9366448,"altitude":15,"angle":268,"satellites":37,"speed":32,"hex_longitude":"2d7c8880","hex_latitude":"05ec3630","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774920448001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87816645090738176,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983696119623526400,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:24] 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-06-02 08:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780370794000,"timestamp_ms":1780370794000,"timestamp_seconds":1780370794,"priority":1,"record_length":96,"hex_timestamp":"0000019e865e6610"} 
[2026-06-02 08:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:57: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-06-02 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 08:57:24] 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-06-02 08: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-06-02 08:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774920448001,"66":13319,"198":206,"87":13824,"24":32,"16":87816645090738176,"45":8983696119623526400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774920448001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:57:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:57:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87816645090738176,"km_value":87816645090738.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983696119623526400,"description":"Unknown IO ID 45"} 
[2026-06-02 08:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774920448001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8983696119623526400}} 
[2026-06-02 08:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":89491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:57:24] local.INFO: GPS data processed {"connection_id":89491,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:57:24] local.INFO: Acknowledgment sent {"connection_id":89491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:57:24] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:57:24] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:57:24] local.INFO: IMEI packet received {"connection_id":89492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":89492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:57:25] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865e9108012d7c650005ec35580010010d26..."} 
[2026-06-02 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865e9108012d7c650005ec35580010010d26..."} 
[2026-06-02 08:57:25] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865e9108012d7c650005ec35580010010d26..."} 
[2026-06-02 08:57:25] local.INFO: Packet analysis {"connection_id":89491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:57:25] local.INFO: Extracted packet for processing {"connection_id":89491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763127040,"raw_latitude":99366232,"longitude_deg":76.312704,"latitude_deg":9.9366232,"altitude":16,"angle":269,"satellites":38,"speed":31,"hex_longitude":"2d7c6500","hex_latitude":"05ec3558","is_valid_coordinates":true} 
[2026-06-02 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-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87817078882435072,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563020461879296,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57: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-06-02 08:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780370805000,"timestamp_ms":1780370805000,"timestamp_seconds":1780370805,"priority":1,"record_length":96,"hex_timestamp":"0000019e865e9108"} 
[2026-06-02 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-06-02 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-06-02 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2254259456,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4212916224,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4674736469055710208,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2147871806,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.WARNING: Large IO value detected {"io_id":93,"raw_value":4690500306790694917,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:25] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,252,158,59,45,128,55,37,10,66,12,56,38,110,251,217,192,1,240,215,227,134,236,4,113,205,8,127,29,144,239,52,2,5,13,7,93],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-06-02 08:57:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081158738601050112,"timestamp_seconds":1081158738601050.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 08:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774923264001,"66":13254,"198":206,"87":13824,"24":31,"16":87817078882435072,"45":8973563020461879296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:57:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:57:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87817078882435072,"km_value":87817078882435.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563020461879296,"description":"Unknown IO ID 45"} 
[2026-06-02 08:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774923264001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8973563020461879296}} 
[2026-06-02 08:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":89491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:57:25] local.INFO: GPS data processed {"connection_id":89491,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:57:25] local.INFO: Acknowledgment sent {"connection_id":89491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:57:29] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:57:29] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:57:29] local.INFO: IMEI packet received {"connection_id":89492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":89492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:57:30] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:57:30] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:57:30] local.INFO: Packet analysis {"connection_id":89492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:57:30] local.INFO: Extracted packet for processing {"connection_id":89492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:57:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:57:30] 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-06-02 08:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 08:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:57:30] 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-06-02 08:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:57:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":89492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:57:30] local.INFO: GPS data processed {"connection_id":89492,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:57:30] local.INFO: Acknowledgment sent {"connection_id":89492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:58:00] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ebc00012d7c414005ec34880012010c26..."} 
[2026-06-02 08:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ebc00012d7c414005ec34880012010c26..."} 
[2026-06-02 08:58:00] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ebc00012d7c414005ec34880012010c26..."} 
[2026-06-02 08:58:00] local.INFO: Packet analysis {"connection_id":89491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:58:00] local.INFO: Extracted packet for processing {"connection_id":89491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763117888,"raw_latitude":99366024,"longitude_deg":76.3117888,"latitude_deg":9.9366024,"altitude":18,"angle":268,"satellites":38,"speed":33,"hex_longitude":"2d7c4140","hex_latitude":"05ec3488","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774926080001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87817516969099264,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963570658788595712,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:00] 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-06-02 08:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780370816000,"timestamp_ms":1780370816000,"timestamp_seconds":1780370816,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ebc00"} 
[2026-06-02 08:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:58: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-06-02 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 08:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774926080001,"66":13189,"198":206,"87":13824,"24":33,"16":87817516969099264,"45":8963570658788595712},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774926080001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:58:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:58:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87817516969099264,"km_value":87817516969099.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963570658788595712,"description":"Unknown IO ID 45"} 
[2026-06-02 08:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774926080001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8963570658788595712}} 
[2026-06-02 08:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":89491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:58:00] local.INFO: GPS data processed {"connection_id":89491,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:58:00] local.INFO: Acknowledgment sent {"connection_id":89491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:58:02] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:58:02] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ab4c0012d0d614006ea08c8001400b72a..."} 
[2026-06-02 08:58:02] local.INFO: Packet analysis {"connection_id":89492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:58:02] local.INFO: Extracted packet for processing {"connection_id":89492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865a"} 
[2026-06-02 08:58:02] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774782976001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908108288,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:02] 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-06-02 08:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780370552000,"timestamp_ms":1780370552000,"timestamp_seconds":1780370552,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ab4c0"} 
[2026-06-02 08:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:58: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-06-02 08: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-06-02 08: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-06-02 08: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-06-02 08:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:58:02] 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-06-02 08:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774782976001,"66":26430,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299908108288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774782976001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:58:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908108288,"description":"Unknown IO ID 45"} 
[2026-06-02 08:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774782976001,"power":26430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908108288}} 
[2026-06-02 08:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":89492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:58:02] local.INFO: GPS data processed {"connection_id":89492,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:58:02] local.INFO: Acknowledgment sent {"connection_id":89492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:58:14] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:58:14] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:58:14] local.INFO: IMEI packet received {"connection_id":89655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":89655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:58:17] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:17] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:17] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:58:18] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:18] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:18] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:58:23] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:23] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:58:23] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:58:24] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865ee6f8012d7c1c0005ec33500011010b26..."} 
[2026-06-02 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865ee6f8012d7c1c0005ec33500011010b26..."} 
[2026-06-02 08:58:24] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865ee6f8012d7c1c0005ec33500011010b26..."} 
[2026-06-02 08:58:24] local.INFO: Packet analysis {"connection_id":89656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:58:24] local.INFO: Extracted packet for processing {"connection_id":89656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865e"} 
[2026-06-02 08:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763108352,"raw_latitude":99365712,"longitude_deg":76.3108352,"latitude_deg":9.9365712,"altitude":17,"angle":267,"satellites":38,"speed":34,"hex_longitude":"2d7c1c00","hex_latitude":"05ec3350","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774928896001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87817972235632640,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953507928371136512,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:24] 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-06-02 08:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780370827000,"timestamp_ms":1780370827000,"timestamp_seconds":1780370827,"priority":1,"record_length":96,"hex_timestamp":"0000019e865ee6f8"} 
[2026-06-02 08:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08: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-06-02 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 08:58:24] 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-06-02 08: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-06-02 08:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774928896001,"66":13341,"198":206,"87":13824,"24":34,"16":87817972235632640,"45":8953507928371136512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774928896001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:58:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:58:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87817972235632640,"km_value":87817972235632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953507928371136512,"description":"Unknown IO ID 45"} 
[2026-06-02 08:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774928896001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8953507928371136512}} 
[2026-06-02 08:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":89656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:58:24] local.INFO: GPS data processed {"connection_id":89656,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:58:24] local.INFO: Acknowledgment sent {"connection_id":89656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:58:24] local.INFO: TCP Data received {"connection_id":89493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:58:24] local.INFO: Processing buffer {"connection_id":89493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:58:24] local.INFO: IMEI packet received {"connection_id":89493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:58:29] local.INFO: TCP Data received {"connection_id":89493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:58:29] local.INFO: Processing buffer {"connection_id":89493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:58:29] local.INFO: IMEI packet received {"connection_id":89493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":89493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:58:30] local.INFO: TCP Data received {"connection_id":89493,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:58:30] local.INFO: Processing buffer {"connection_id":89493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:58:30] local.INFO: Packet analysis {"connection_id":89493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:58:30] local.INFO: Extracted packet for processing {"connection_id":89493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:30] 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-06-02 08:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 08:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 08:58:30] 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-06-02 08: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-06-02 08:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:58:30] 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-06-02 08:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:58:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 08:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 08:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":89493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:58:30] local.INFO: GPS data processed {"connection_id":89493,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:58:30] local.INFO: Acknowledgment sent {"connection_id":89493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:58:54] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f15d8012d7bf70005ec31100011010725..."} 
[2026-06-02 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f15d8012d7bf70005ec31100011010725..."} 
[2026-06-02 08:58:54] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f15d8012d7bf70005ec31100011010725..."} 
[2026-06-02 08:58:54] local.INFO: Packet analysis {"connection_id":89656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:58:54] local.INFO: Extracted packet for processing {"connection_id":89656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763098880,"raw_latitude":99365136,"longitude_deg":76.309888,"latitude_deg":9.9365136,"altitude":17,"angle":263,"satellites":37,"speed":27,"hex_longitude":"2d7bf700","hex_latitude":"05ec3110","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774931712001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87818423207198720,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943022985488584704,"note":"Value kept but may cause issues"} 
[2026-06-02 08:58: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-06-02 08:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780370839000,"timestamp_ms":1780370839000,"timestamp_seconds":1780370839,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f15d8"} 
[2026-06-02 08:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:58: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-06-02 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 08:58: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-06-02 08: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-06-02 08:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774931712001,"66":12906,"198":206,"87":13824,"24":27,"16":87818423207198720,"45":8943022985488584704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774931712001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:58:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:58:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87818423207198720,"km_value":87818423207198.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943022985488584704,"description":"Unknown IO ID 45"} 
[2026-06-02 08:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774931712001,"power":12906,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8943022985488584704}} 
[2026-06-02 08:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":89656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:58:54] local.INFO: GPS data processed {"connection_id":89656,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:58:54] local.INFO: Acknowledgment sent {"connection_id":89656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:58:59] local.INFO: TCP Data received {"connection_id":89494,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:58:59] local.INFO: Processing buffer {"connection_id":89494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 08:58:59] local.INFO: IMEI packet received {"connection_id":89494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 08:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":89494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:59:01] local.INFO: TCP Data received {"connection_id":89493,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:01] local.INFO: Processing buffer {"connection_id":89493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:01] local.INFO: Packet analysis {"connection_id":89493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:01] local.INFO: Extracted packet for processing {"connection_id":89493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:01] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59: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-06-02 08:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 08:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:59: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-06-02 08: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":62,"data_length":795,"current_offset":136} 
[2026-06-02 08:59:01] 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-06-02 08: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-06-02 08:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:59:01] 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-06-02 08:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:59:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 08:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 08:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":89493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:59:01] local.INFO: GPS data processed {"connection_id":89493,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:59:01] local.INFO: Acknowledgment sent {"connection_id":89493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:59:24] local.INFO: TCP Data received {"connection_id":89251,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:59:24] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:59:24] local.INFO: IMEI packet received {"connection_id":89251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 08:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":89251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:59:26] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:26] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:26] local.INFO: IMEI packet received {"connection_id":89657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 08:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":89657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 08:59:27] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:27] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:27] local.INFO: IMEI packet received {"connection_id":89657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":89657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:59:29] local.INFO: TCP Data received {"connection_id":89251,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:59:29] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 08:59:29] local.INFO: IMEI packet received {"connection_id":89251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 08:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":89251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:59:30] local.INFO: TCP Data received {"connection_id":89251,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:30] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:30] local.INFO: Packet analysis {"connection_id":89251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:30] local.INFO: Extracted packet for processing {"connection_id":89251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:30] 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-06-02 08:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 08:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 08:59:30] 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-06-02 08:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:59:30] 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-06-02 08:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:59:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 08:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 08:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":89251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:59:30] local.INFO: GPS data processed {"connection_id":89251,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:59:30] local.INFO: Acknowledgment sent {"connection_id":89251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:59:33] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:33] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 08:59:33] local.INFO: IMEI packet received {"connection_id":89657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 08:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":89657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 08:59:33] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f5070012d7bd34005ec2a48001300ff26..."} 
[2026-06-02 08:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f5070012d7bd34005ec2a48001300ff26..."} 
[2026-06-02 08:59:33] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f5070012d7bd34005ec2a48001300ff26..."} 
[2026-06-02 08:59:33] local.INFO: Packet analysis {"connection_id":89657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:33] local.INFO: Extracted packet for processing {"connection_id":89657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763089728,"raw_latitude":99363400,"longitude_deg":76.3089728,"latitude_deg":9.93634,"altitude":19,"angle":255,"satellites":38,"speed":31,"hex_longitude":"2d7bd340","hex_latitude":"05ec2a48","is_valid_coordinates":true} 
[2026-06-02 08: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-06-02 08:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774934784001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87818869883797504,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932608411350142976,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 08:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780370854000,"timestamp_ms":1780370854000,"timestamp_seconds":1780370854,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f5070"} 
[2026-06-02 08:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:59: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-06-02 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 08:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 08: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-06-02 08:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 08:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 08:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 08:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774934784001,"66":13015,"198":206,"87":13824,"24":31,"16":87818869883797504,"45":8932608411350142976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 08:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 08:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 08:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774934784001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:59:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 08:59:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 08:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87818869883797504,"km_value":87818869883797.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932608411350142976,"description":"Unknown IO ID 45"} 
[2026-06-02 08:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774934784001,"power":13015,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8932608411350142976}} 
[2026-06-02 08:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":89657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:59:33] local.INFO: GPS data processed {"connection_id":89657,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:59:33] local.INFO: Acknowledgment sent {"connection_id":89657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 08:59:35] local.INFO: TCP Data received {"connection_id":89251,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:35] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 08:59:35] local.INFO: Packet analysis {"connection_id":89251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:35] local.INFO: Extracted packet for processing {"connection_id":89251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 08:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 08:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 08:59:35] 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-06-02 08:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 08:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 08:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 08:59:35] 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-06-02 08:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 08:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 08:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 08:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 08:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 08:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 08:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 08:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 08:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 08:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 08:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 08:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 08:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 08:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 08:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 08:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 08:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 08:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":89251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 08:59:35] local.INFO: GPS data processed {"connection_id":89251,"processed":1,"errors":0,"total":1} 
[2026-06-02 08:59:35] local.INFO: Acknowledgment sent {"connection_id":89251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:00:06] local.INFO: TCP Data received {"connection_id":89251,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:00:06] local.INFO: Processing buffer {"connection_id":89251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:00:06] local.INFO: Packet analysis {"connection_id":89251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:00:06] local.INFO: Extracted packet for processing {"connection_id":89251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:06] 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-06-02 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:00:06] 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-06-02 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:00:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":89251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:00:06] local.INFO: GPS data processed {"connection_id":89251,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:00:06] local.INFO: Acknowledgment sent {"connection_id":89251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:00:13] local.INFO: TCP Data received {"connection_id":90719,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:00:13] local.INFO: Processing buffer {"connection_id":90719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:00:13] local.INFO: IMEI packet received {"connection_id":90719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":90719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:00:18] local.INFO: TCP Data received {"connection_id":90719,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:00:18] local.INFO: Processing buffer {"connection_id":90719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:00:18] local.INFO: IMEI packet received {"connection_id":90719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":90719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:00:18] local.INFO: TCP Data received {"connection_id":90719,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f7f50012d7bae0005ec1f78001300fe26..."} 
[2026-06-02 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f7f50012d7bae0005ec1f78001300fe26..."} 
[2026-06-02 09:00:18] local.INFO: Processing buffer {"connection_id":90719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f7f50012d7bae0005ec1f78001300fe26..."} 
[2026-06-02 09:00:18] local.INFO: Packet analysis {"connection_id":90719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:00:18] local.INFO: Extracted packet for processing {"connection_id":90719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763080192,"raw_latitude":99360632,"longitude_deg":76.3080192,"latitude_deg":9.9360632,"altitude":19,"angle":254,"satellites":38,"speed":35,"hex_longitude":"2d7bae00","hex_latitude":"05ec1f78","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774938624001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87819342330200064,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922545680932292608,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:18] 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-06-02 09:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780370866000,"timestamp_ms":1780370866000,"timestamp_seconds":1780370866,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f7f50"} 
[2026-06-02 09:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:00: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-06-02 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 09:00: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-06-02 09: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-06-02 09:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774938624001,"66":13243,"198":206,"87":13824,"24":35,"16":87819342330200064,"45":8922545680932292608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 09:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774938624001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:00:18] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 09:00:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87819342330200064,"km_value":87819342330200.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922545680932292608,"description":"Unknown IO ID 45"} 
[2026-06-02 09:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774938624001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8922545680932292608}} 
[2026-06-02 09:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":90719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:00:18] local.INFO: GPS data processed {"connection_id":90719,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:00:18] local.INFO: Acknowledgment sent {"connection_id":90719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:00:25] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:00:25] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:00:25] local.INFO: IMEI packet received {"connection_id":89497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":89497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:00:29] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:00:29] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:00:29] local.INFO: IMEI packet received {"connection_id":89497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":89497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:00:30] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:00:30] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:00:30] local.INFO: Packet analysis {"connection_id":89497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:00:30] local.INFO: Extracted packet for processing {"connection_id":89497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:30] 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-06-02 09:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 09:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:00:30] 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-06-02 09: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-06-02 09:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:00:30] 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-06-02 09:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:00:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":89497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:00:30] local.INFO: GPS data processed {"connection_id":89497,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:00:30] local.INFO: Acknowledgment sent {"connection_id":89497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:00:49] local.INFO: TCP Data received {"connection_id":90719,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86622ae8012d7a534005eb93500007012c23..."} 
[2026-06-02 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86622ae8012d7a534005eb93500007012c23..."} 
[2026-06-02 09:00:49] local.INFO: Processing buffer {"connection_id":90719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86622ae8012d7a534005eb93500007012c23..."} 
[2026-06-02 09:00:49] local.INFO: Packet analysis {"connection_id":90719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:00:49] local.INFO: Extracted packet for processing {"connection_id":90719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:00:49] local.INFO: GPS Element Parsed {"raw_longitude":762991424,"raw_latitude":99324752,"longitude_deg":76.2991424,"latitude_deg":9.9324752,"altitude":7,"angle":300,"satellites":35,"speed":5,"hex_longitude":"2d7a5340","hex_latitude":"05eb9350","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774985728001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87823955125075968,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814881502330521600,"note":"Value kept but may cause issues"} 
[2026-06-02 09:00:49] 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-06-02 09:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371041000,"timestamp_ms":1780371041000,"timestamp_seconds":1780371041,"priority":1,"record_length":96,"hex_timestamp":"0000019e86622ae8"} 
[2026-06-02 09:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-02 09:00:49] 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-06-02 09: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-06-02 09:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774985728001,"66":13200,"161":206,"87":13824,"24":5,"16":87823955125075968,"45":8814881502330521600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-02 09:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774985728001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:00:49] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 09:00:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87823955125075968,"km_value":87823955125075.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814881502330521600,"description":"Unknown IO ID 45"} 
[2026-06-02 09:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774985728001,"power":13200,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8814881502330521600}} 
[2026-06-02 09:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":90719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:00:49] local.INFO: GPS data processed {"connection_id":90719,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:00:49] local.INFO: Acknowledgment sent {"connection_id":90719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:01:02] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:01:02] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:01:02] local.INFO: Packet analysis {"connection_id":89497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:01:02] local.INFO: Extracted packet for processing {"connection_id":89497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:02] 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-06-02 09:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 09:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:01: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-06-02 09: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:01:02] 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-06-02 09: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-06-02 09:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:01:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":89497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:01:02] local.INFO: GPS data processed {"connection_id":89497,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:01:02] local.INFO: Acknowledgment sent {"connection_id":89497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:01:12] local.INFO: TCP Data received {"connection_id":90720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:01:12] local.INFO: Processing buffer {"connection_id":90720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:01:12] local.INFO: IMEI packet received {"connection_id":90720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":90720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:01:18] local.INFO: TCP Data received {"connection_id":90720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:01:18] local.INFO: Processing buffer {"connection_id":90720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:01:18] local.INFO: IMEI packet received {"connection_id":90720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":90720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:01:18] local.INFO: TCP Data received {"connection_id":90720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86622ed0012d7a528005eb93d80007013e23..."} 
[2026-06-02 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86622ed0012d7a528005eb93d80007013e23..."} 
[2026-06-02 09:01:18] local.INFO: Processing buffer {"connection_id":90720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86622ed0012d7a528005eb93d80007013e23..."} 
[2026-06-02 09:01:18] local.INFO: Packet analysis {"connection_id":90720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:01:18] local.INFO: Extracted packet for processing {"connection_id":90720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:01:18] local.INFO: GPS Element Parsed {"raw_longitude":762991232,"raw_latitude":99324888,"longitude_deg":76.2991232,"latitude_deg":9.9324888,"altitude":7,"angle":318,"satellites":35,"speed":6,"hex_longitude":"2d7a5280","hex_latitude":"05eb93d8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774986496001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87823968009977856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814459289865506816,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:18] 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-06-02 09:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371042000,"timestamp_ms":1780371042000,"timestamp_seconds":1780371042,"priority":1,"record_length":96,"hex_timestamp":"0000019e86622ed0"} 
[2026-06-02 09:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:01: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-06-02 09: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 09:01:18] 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-06-02 09: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-06-02 09:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774986496001,"66":13200,"161":206,"87":13824,"24":6,"16":87823968009977856,"45":8814459289865506816},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-02 09:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774986496001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:01:18] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 09:01:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87823968009977856,"km_value":87823968009977.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814459289865506816,"description":"Unknown IO ID 45"} 
[2026-06-02 09:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774986496001,"power":13200,"unknown_161":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8814459289865506816}} 
[2026-06-02 09:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":90720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:01:18] local.INFO: GPS data processed {"connection_id":90720,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:01:18] local.INFO: Acknowledgment sent {"connection_id":90720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:01:25] local.INFO: TCP Data received {"connection_id":89498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:01:25] local.INFO: Processing buffer {"connection_id":89498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:01:25] local.INFO: IMEI packet received {"connection_id":89498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":89498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:01:29] local.INFO: TCP Data received {"connection_id":89498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:01:29] local.INFO: Processing buffer {"connection_id":89498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:01:29] local.INFO: IMEI packet received {"connection_id":89498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":89498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:01:30] local.INFO: TCP Data received {"connection_id":89498,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:01:30] local.INFO: Processing buffer {"connection_id":89498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:01:30] local.INFO: Packet analysis {"connection_id":89498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:01:30] local.INFO: Extracted packet for processing {"connection_id":89498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:01:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:30] 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-06-02 09:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 09:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:01:30] 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-06-02 09:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:01:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":89498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:01:30] local.INFO: GPS data processed {"connection_id":89498,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:01:30] local.INFO: Acknowledgment sent {"connection_id":89498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:01:49] local.INFO: TCP Data received {"connection_id":90720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866236a0012d7a520005eb94f00008014b23..."} 
[2026-06-02 09:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866236a0012d7a520005eb94f00008014b23..."} 
[2026-06-02 09:01:49] local.INFO: Processing buffer {"connection_id":90720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866236a0012d7a520005eb94f00008014b23..."} 
[2026-06-02 09:01:49] local.INFO: Packet analysis {"connection_id":90720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:01:49] local.INFO: Extracted packet for processing {"connection_id":90720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:01:49] local.INFO: GPS Element Parsed {"raw_longitude":762991104,"raw_latitude":99325168,"longitude_deg":76.2991104,"latitude_deg":9.9325168,"altitude":8,"angle":331,"satellites":35,"speed":6,"hex_longitude":"2d7a5200","hex_latitude":"05eb94f0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774986752001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87823980894879744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814248183633008640,"note":"Value kept but may cause issues"} 
[2026-06-02 09:01:49] 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-06-02 09:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371044000,"timestamp_ms":1780371044000,"timestamp_seconds":1780371044,"priority":1,"record_length":96,"hex_timestamp":"0000019e866236a0"} 
[2026-06-02 09:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:01: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-06-02 09: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 09:01:49] 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-06-02 09: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-06-02 09:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774986752001,"66":12765,"161":206,"87":13824,"24":6,"16":87823980894879744,"45":8814248183633008640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-02 09:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774986752001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:01:49] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 09:01:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87823980894879744,"km_value":87823980894879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814248183633008640,"description":"Unknown IO ID 45"} 
[2026-06-02 09:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774986752001,"power":12765,"unknown_161":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8814248183633008640}} 
[2026-06-02 09:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":90720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:01:49] local.INFO: GPS data processed {"connection_id":90720,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:01:49] local.INFO: Acknowledgment sent {"connection_id":90720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:02:01] local.INFO: TCP Data received {"connection_id":89498,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:02:01] local.INFO: Processing buffer {"connection_id":89498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:02:01] local.INFO: Packet analysis {"connection_id":89498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:02:01] local.INFO: Extracted packet for processing {"connection_id":89498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:02:01] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02: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-06-02 09:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 09:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:02: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-06-02 09:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:02:01] 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-06-02 09:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:02:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":89498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:02:01] local.INFO: GPS data processed {"connection_id":89498,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:02:01] local.INFO: Acknowledgment sent {"connection_id":89498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:02:12] local.INFO: TCP Data received {"connection_id":90722,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:02:12] local.INFO: Processing buffer {"connection_id":90722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:02:12] local.INFO: IMEI packet received {"connection_id":90722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":90722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:02:18] local.INFO: TCP Data received {"connection_id":90722,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:02:18] local.INFO: Processing buffer {"connection_id":90722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:02:18] local.INFO: IMEI packet received {"connection_id":90722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":90722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:02:19] local.INFO: TCP Data received {"connection_id":90722,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866284c0012d7a4d4005eba0200007015025..."} 
[2026-06-02 09:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866284c0012d7a4d4005eba0200007015025..."} 
[2026-06-02 09:02:19] local.INFO: Processing buffer {"connection_id":90722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866284c0012d7a4d4005eba0200007015025..."} 
[2026-06-02 09:02:19] local.INFO: Packet analysis {"connection_id":90722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:02:19] local.INFO: Extracted packet for processing {"connection_id":90722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":762989888,"raw_latitude":99328032,"longitude_deg":76.2989888,"latitude_deg":9.9328032,"altitude":7,"angle":336,"satellites":37,"speed":0,"hex_longitude":"2d7a4d40","hex_latitude":"05eba020","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774987264001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87824139808669696,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814107446144724992,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:19] 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-06-02 09:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780371064000,"timestamp_ms":1780371064000,"timestamp_seconds":1780371064,"priority":1,"record_length":96,"hex_timestamp":"0000019e866284c0"} 
[2026-06-02 09:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:02: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-06-02 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 09:02:19] 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-06-02 09: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-06-02 09:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774987264001,"66":12961,"163":206,"87":13824,"24":0,"16":87824139808669696,"45":8814107446144724992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774987264001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87824139808669696,"km_value":87824139808669.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814107446144724992,"description":"Unknown IO ID 45"} 
[2026-06-02 09:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774987264001,"power":12961,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814107446144724992}} 
[2026-06-02 09:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":90722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:02:19] local.INFO: GPS data processed {"connection_id":90722,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:02:19] local.INFO: Acknowledgment sent {"connection_id":90722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:02:24] local.INFO: TCP Data received {"connection_id":89253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:02:24] local.INFO: Processing buffer {"connection_id":89253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:02:24] local.INFO: IMEI packet received {"connection_id":89253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":89253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:02:29] local.INFO: TCP Data received {"connection_id":89253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:02:29] local.INFO: Processing buffer {"connection_id":89253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:02:29] local.INFO: IMEI packet received {"connection_id":89253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":89253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:02:31] local.INFO: TCP Data received {"connection_id":89253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:02:31] local.INFO: Processing buffer {"connection_id":89253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:02:31] local.INFO: Packet analysis {"connection_id":89253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:02:31] local.INFO: Extracted packet for processing {"connection_id":89253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:31] 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-06-02 09:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 09:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:02:31] 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-06-02 09:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:02:31] 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-06-02 09:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:02:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":89253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:02:31] local.INFO: GPS data processed {"connection_id":89253,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:02:31] local.INFO: Acknowledgment sent {"connection_id":89253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:02:50] local.INFO: TCP Data received {"connection_id":90722,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8662d6c8012d7a4c4005eba1f00006014e22..."} 
[2026-06-02 09:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8662d6c8012d7a4c4005eba1f00006014e22..."} 
[2026-06-02 09:02:50] local.INFO: Processing buffer {"connection_id":90722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8662d6c8012d7a4c4005eba1f00006014e22..."} 
[2026-06-02 09:02:50] local.INFO: Packet analysis {"connection_id":90722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:02:50] local.INFO: Extracted packet for processing {"connection_id":90722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8662"} 
[2026-06-02 09:02:50] local.INFO: GPS Element Parsed {"raw_longitude":762989632,"raw_latitude":99328496,"longitude_deg":76.2989632,"latitude_deg":9.9328496,"altitude":6,"angle":334,"satellites":34,"speed":4,"hex_longitude":"2d7a4c40","hex_latitude":"05eba1f0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774992384001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87824169873440768,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812770440006082560,"note":"Value kept but may cause issues"} 
[2026-06-02 09:02:50] 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-06-02 09:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780371085000,"timestamp_ms":1780371085000,"timestamp_seconds":1780371085,"priority":1,"record_length":96,"hex_timestamp":"0000019e8662d6c8"} 
[2026-06-02 09:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 09:02:50] 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-06-02 09: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-06-02 09:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774992384001,"66":13102,"163":206,"87":13824,"24":4,"16":87824169873440768,"45":8812770440006082560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774992384001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:02:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:02:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87824169873440768,"km_value":87824169873440.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812770440006082560,"description":"Unknown IO ID 45"} 
[2026-06-02 09:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774992384001,"power":13102,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8812770440006082560}} 
[2026-06-02 09:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":90722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:02:50] local.INFO: GPS data processed {"connection_id":90722,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:02:50] local.INFO: Acknowledgment sent {"connection_id":90722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:03:02] local.INFO: TCP Data received {"connection_id":89253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:03:02] local.INFO: Processing buffer {"connection_id":89253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e865f4c88012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:03:02] local.INFO: Packet analysis {"connection_id":89253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:03:02] local.INFO: Extracted packet for processing {"connection_id":89253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e865f"} 
[2026-06-02 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774861312001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:02] 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-06-02 09:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780370853000,"timestamp_ms":1780370853000,"timestamp_seconds":1780370853,"priority":1,"record_length":96,"hex_timestamp":"0000019e865f4c88"} 
[2026-06-02 09:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:03: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-06-02 09:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:03:02] 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-06-02 09:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774861312001,"66":26180,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774861312001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:03:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774861312001,"power":26180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":89253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:03:02] local.INFO: GPS data processed {"connection_id":89253,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:03:02] local.INFO: Acknowledgment sent {"connection_id":89253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:03:18] local.INFO: TCP Data received {"connection_id":89254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:03:18] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:03:18] local.INFO: IMEI packet received {"connection_id":89254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":89254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:03:24] local.INFO: TCP Data received {"connection_id":89254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:03:24] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:03:24] local.INFO: IMEI packet received {"connection_id":89254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":89254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:03:24] local.INFO: TCP Data received {"connection_id":89499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:03:24] local.INFO: Processing buffer {"connection_id":89499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:03:24] local.INFO: IMEI packet received {"connection_id":89499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":89499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:03:25] local.INFO: TCP Data received {"connection_id":89254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866328d0012d7a40c005ebbab00006014922..."} 
[2026-06-02 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866328d0012d7a40c005ebbab00006014922..."} 
[2026-06-02 09:03:25] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866328d0012d7a40c005ebbab00006014922..."} 
[2026-06-02 09:03:25] local.INFO: Packet analysis {"connection_id":89254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:25] local.INFO: Extracted packet for processing {"connection_id":89254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:25] local.INFO: GPS Element Parsed {"raw_longitude":762986688,"raw_latitude":99334832,"longitude_deg":76.2986688,"latitude_deg":9.9334832,"altitude":6,"angle":329,"satellites":34,"speed":13,"hex_longitude":"2d7a40c0","hex_latitude":"05ebbab0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774997760001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87824509175857152,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812488965029490688,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780371106000,"timestamp_ms":1780371106000,"timestamp_seconds":1780371106,"priority":1,"record_length":96,"hex_timestamp":"0000019e866328d0"} 
[2026-06-02 09:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:03: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-06-02 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 09:03: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-06-02 09: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-06-02 09:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774997760001,"66":13091,"163":206,"87":13824,"24":13,"16":87824509175857152,"45":8812488965029490688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774997760001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87824509175857152,"km_value":87824509175857.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812488965029490688,"description":"Unknown IO ID 45"} 
[2026-06-02 09:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774997760001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8812488965029490688}} 
[2026-06-02 09:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":89254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:03:25] local.INFO: GPS data processed {"connection_id":89254,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:03:25] local.INFO: Acknowledgment sent {"connection_id":89254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:03:25] local.INFO: TCP Data received {"connection_id":89254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86637ad8012d7a32c005ebd6980009014f22..."} 
[2026-06-02 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86637ad8012d7a32c005ebd6980009014f22..."} 
[2026-06-02 09:03:25] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86637ad8012d7a32c005ebd6980009014f22..."} 
[2026-06-02 09:03:25] local.INFO: Packet analysis {"connection_id":89254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:25] local.INFO: Extracted packet for processing {"connection_id":89254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:25] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":99341976,"longitude_deg":76.2983104,"latitude_deg":9.9341976,"altitude":9,"angle":335,"satellites":34,"speed":8,"hex_longitude":"2d7a32c0","hex_latitude":"05ebd698","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775003136001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87824895722913792,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809252002798940160,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780371127000,"timestamp_ms":1780371127000,"timestamp_seconds":1780371127,"priority":1,"record_length":96,"hex_timestamp":"0000019e86637ad8"} 
[2026-06-02 09:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:03: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-06-02 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 09:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775003136001,"66":13135,"163":206,"87":13824,"24":8,"16":87824895722913792,"45":8809252002798940160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775003136001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87824895722913792,"km_value":87824895722913.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809252002798940160,"description":"Unknown IO ID 45"} 
[2026-06-02 09:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775003136001,"power":13135,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8809252002798940160}} 
[2026-06-02 09:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":89254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:03:25] local.INFO: GPS data processed {"connection_id":89254,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:03:25] local.INFO: Acknowledgment sent {"connection_id":89254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:03:29] local.INFO: TCP Data received {"connection_id":89499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:03:29] local.INFO: Processing buffer {"connection_id":89499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:03:29] local.INFO: IMEI packet received {"connection_id":89499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":89499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:03:30] local.INFO: TCP Data received {"connection_id":89499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8663e450012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8663e450012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:03:30] local.INFO: Processing buffer {"connection_id":89499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8663e450012d0d614006ea08c8001400b727..."} 
[2026-06-02 09:03:30] local.INFO: Packet analysis {"connection_id":89499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:30] local.INFO: Extracted packet for processing {"connection_id":89499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09:03: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-06-02 09:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455774938368001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:30] 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-06-02 09:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780371154000,"timestamp_ms":1780371154000,"timestamp_seconds":1780371154,"priority":1,"record_length":96,"hex_timestamp":"0000019e8663e450"} 
[2026-06-02 09:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:03: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 09:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:03: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-06-02 09:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455774938368001,"66":26082,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455774938368001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:03:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455774938368001,"power":26082,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":89499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:03:30] local.INFO: GPS data processed {"connection_id":89499,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:03:30] local.INFO: Acknowledgment sent {"connection_id":89499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:03:56] local.INFO: TCP Data received {"connection_id":89254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8663cce0012d7a294005ebe9300009014b24..."} 
[2026-06-02 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8663cce0012d7a294005ebe9300009014b24..."} 
[2026-06-02 09:03:56] local.INFO: Processing buffer {"connection_id":89254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8663cce0012d7a294005ebe9300009014b24..."} 
[2026-06-02 09:03:56] local.INFO: Packet analysis {"connection_id":89254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:56] local.INFO: Extracted packet for processing {"connection_id":89254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8663"} 
[2026-06-02 09:03:56] local.INFO: GPS Element Parsed {"raw_longitude":762980672,"raw_latitude":99346736,"longitude_deg":76.2980672,"latitude_deg":9.9346736,"altitude":9,"angle":331,"satellites":36,"speed":18,"hex_longitude":"2d7a2940","hex_latitude":"05ebe930","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775008512001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87825157715918848,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805311353126819840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:03:56] 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-06-02 09:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1780371148000,"timestamp_ms":1780371148000,"timestamp_seconds":1780371148,"priority":1,"record_length":96,"hex_timestamp":"0000019e8663cce0"} 
[2026-06-02 09:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:03: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-06-02 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 09:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":89254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":89254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":89254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775008512001,"66":13222,"156":206,"87":13824,"24":18,"16":87825157715918848,"45":8805311353126819840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775008512001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:03:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:03:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87825157715918848,"km_value":87825157715918.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805311353126819840,"description":"Unknown IO ID 45"} 
[2026-06-02 09:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775008512001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8805311353126819840}} 
[2026-06-02 09:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":89254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:03:56] local.INFO: GPS data processed {"connection_id":89254,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:03:56] local.INFO: Acknowledgment sent {"connection_id":89254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:04:01] local.INFO: TCP Data received {"connection_id":89499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86645598012d0d614006ea08c8001400b72a..."} 
[2026-06-02 09:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86645598012d0d614006ea08c8001400b72a..."} 
[2026-06-02 09:04:01] local.INFO: Processing buffer {"connection_id":89499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86645598012d0d614006ea08c8001400b72a..."} 
[2026-06-02 09:04:01] local.INFO: Packet analysis {"connection_id":89499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:01] local.INFO: Extracted packet for processing {"connection_id":89499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:01] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000968,"longitude_deg":75.5851584,"latitude_deg":11.6000968,"altitude":20,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea08c8","is_valid_coordinates":true} 
[2026-06-02 09:04: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-06-02 09:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775015424001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04: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-06-02 09:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780371183000,"timestamp_ms":1780371183000,"timestamp_seconds":1780371183,"priority":1,"record_length":96,"hex_timestamp":"0000019e86645598"} 
[2026-06-02 09:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:04: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-06-02 09:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 09:04: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-06-02 09:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775015424001,"66":26082,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775015424001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:04:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775015424001,"power":26082,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":89499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:04:01] local.INFO: GPS data processed {"connection_id":89499,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:04:01] local.INFO: Acknowledgment sent {"connection_id":89499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:04:13] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:13] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:13] local.INFO: IMEI packet received {"connection_id":89658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":89658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:04:13] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:13] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:13] local.INFO: IMEI packet received {"connection_id":89658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":89658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:04:17] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:17] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:04:17] local.INFO: IMEI packet received {"connection_id":89658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":89658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:04:17] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86640390012d7a1a8005ec0b60000901511e..."} 
[2026-06-02 09:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86640390012d7a1a8005ec0b60000901511e..."} 
[2026-06-02 09:04:17] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86640390012d7a1a8005ec0b60000901511e..."} 
[2026-06-02 09:04:17] local.INFO: Packet analysis {"connection_id":89658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:17] local.INFO: Extracted packet for processing {"connection_id":89658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99355488,"longitude_deg":76.2976896,"latitude_deg":9.9355488,"altitude":9,"angle":337,"satellites":30,"speed":27,"hex_longitude":"2d7a1a80","hex_latitude":"05ec0b60","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775013888001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87825617277419520,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802637340849287168,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:17] 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-06-02 09:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780371162000,"timestamp_ms":1780371162000,"timestamp_seconds":1780371162,"priority":1,"record_length":96,"hex_timestamp":"0000019e86640390"} 
[2026-06-02 09:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 09:04:17] 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-06-02 09: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-06-02 09:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775013888001,"66":12743,"156":206,"87":13824,"24":27,"16":87825617277419520,"45":8802637340849287168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775013888001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:04:17] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:04:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87825617277419520,"km_value":87825617277419.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802637340849287168,"description":"Unknown IO ID 45"} 
[2026-06-02 09:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775013888001,"power":12743,"unknown_156":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8802637340849287168}} 
[2026-06-02 09:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":89658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:04:17] local.INFO: GPS data processed {"connection_id":89658,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:04:17] local.INFO: Acknowledgment sent {"connection_id":89658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:04:18] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86644210012d7a0cc005ec2c380008014e1f..."} 
[2026-06-02 09:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86644210012d7a0cc005ec2c380008014e1f..."} 
[2026-06-02 09:04:18] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86644210012d7a0cc005ec2c380008014e1f..."} 
[2026-06-02 09:04:18] local.INFO: Packet analysis {"connection_id":89658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:18] local.INFO: Extracted packet for processing {"connection_id":89658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:18] local.INFO: GPS Element Parsed {"raw_longitude":762973376,"raw_latitude":99363896,"longitude_deg":76.2973376,"latitude_deg":9.9363896,"altitude":8,"angle":334,"satellites":31,"speed":17,"hex_longitude":"2d7a0cc0","hex_latitude":"05ec2c38","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775017472001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87826059659051008,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584945045504,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:18] 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-06-02 09:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371178000,"timestamp_ms":1780371178000,"timestamp_seconds":1780371178,"priority":1,"record_length":96,"hex_timestamp":"0000019e86644210"} 
[2026-06-02 09:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:04: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-06-02 09: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 09:04:18] 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-06-02 09: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-06-02 09:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775017472001,"66":12863,"156":206,"87":13824,"24":17,"16":87826059659051008,"45":8798485584945045504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775017472001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:04:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:04:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87826059659051008,"km_value":87826059659051.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584945045504,"description":"Unknown IO ID 45"} 
[2026-06-02 09:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775017472001,"power":12863,"unknown_156":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8798485584945045504}} 
[2026-06-02 09:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":89658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:04:18] local.INFO: GPS data processed {"connection_id":89658,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:04:18] local.INFO: Acknowledgment sent {"connection_id":89658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:04:22] local.INFO: TCP Data received {"connection_id":90724,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:04:22] local.INFO: Processing buffer {"connection_id":90724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:04:22] local.INFO: IMEI packet received {"connection_id":90724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":90724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:04:24] local.INFO: TCP Data received {"connection_id":89255,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:04:24] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:04:24] local.INFO: IMEI packet received {"connection_id":89255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":89255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:04:27] local.INFO: TCP Data received {"connection_id":89255,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:04:27] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:04:27] local.INFO: IMEI packet received {"connection_id":89255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":89255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:04:28] local.INFO: TCP Data received {"connection_id":89255,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86646538012d0d620006ea0910001400d829..."} 
[2026-06-02 09:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86646538012d0d620006ea0910001400d829..."} 
[2026-06-02 09:04:28] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86646538012d0d620006ea0910001400d829..."} 
[2026-06-02 09:04:28] local.INFO: Packet analysis {"connection_id":89255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:28] local.INFO: Extracted packet for processing {"connection_id":89255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:28] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001040,"longitude_deg":75.5851776,"latitude_deg":11.600104,"altitude":20,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0910","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775022848001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674422272,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:28] 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-06-02 09:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780371187000,"timestamp_ms":1780371187000,"timestamp_seconds":1780371187,"priority":1,"record_length":96,"hex_timestamp":"0000019e86646538"} 
[2026-06-02 09:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:04: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-06-02 09: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 09:04: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-06-02 09: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-06-02 09:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775022848001,"66":25875,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964122193674422272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775022848001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:04:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674422272,"description":"Unknown IO ID 45"} 
[2026-06-02 09:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775022848001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674422272}} 
[2026-06-02 09:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":89255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:04:28] local.INFO: GPS data processed {"connection_id":89255,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:04:28] local.INFO: Acknowledgment sent {"connection_id":89255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:04:49] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866451b0012d7a0b0005ec31a80009015d21..."} 
[2026-06-02 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866451b0012d7a0b0005ec31a80009015d21..."} 
[2026-06-02 09:04:49] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866451b0012d7a0b0005ec31a80009015d21..."} 
[2026-06-02 09:04:49] local.INFO: Packet analysis {"connection_id":89658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:49] local.INFO: Extracted packet for processing {"connection_id":89658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:04:49] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":99365288,"longitude_deg":76.2972928,"latitude_deg":9.9365288,"altitude":9,"angle":349,"satellites":33,"speed":10,"hex_longitude":"2d7a0b00","hex_latitude":"05ec31a8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775021568001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87826132673495040,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794615304017426432,"note":"Value kept but may cause issues"} 
[2026-06-02 09:04:49] 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-06-02 09:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371182000,"timestamp_ms":1780371182000,"timestamp_seconds":1780371182,"priority":1,"record_length":96,"hex_timestamp":"0000019e866451b0"} 
[2026-06-02 09:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 09:04:49] 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-06-02 09: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-06-02 09:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775021568001,"66":12852,"156":206,"87":13824,"24":10,"16":87826132673495040,"45":8794615304017426432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775021568001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:04:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:04:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87826132673495040,"km_value":87826132673495.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794615304017426432,"description":"Unknown IO ID 45"} 
[2026-06-02 09:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775021568001,"power":12852,"unknown_156":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8794615304017426432}} 
[2026-06-02 09:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":89658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:04:49] local.INFO: GPS data processed {"connection_id":89658,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:04:49] local.INFO: Acknowledgment sent {"connection_id":89658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:05:00] local.INFO: TCP Data received {"connection_id":89255,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8664b740012d0d620006ea0910001400d829..."} 
[2026-06-02 09:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8664b740012d0d620006ea0910001400d829..."} 
[2026-06-02 09:05:00] local.INFO: Processing buffer {"connection_id":89255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8664b740012d0d620006ea0910001400d829..."} 
[2026-06-02 09:05:00] local.INFO: Packet analysis {"connection_id":89255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:05:00] local.INFO: Extracted packet for processing {"connection_id":89255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:05:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001040,"longitude_deg":75.5851776,"latitude_deg":11.600104,"altitude":20,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0910","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775023872001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906973696,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:00] 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-06-02 09:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780371208000,"timestamp_ms":1780371208000,"timestamp_seconds":1780371208,"priority":1,"record_length":96,"hex_timestamp":"0000019e8664b740"} 
[2026-06-02 09:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 09:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:05: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-06-02 09:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775023872001,"66":27865,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299906973696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775023872001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:05:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906973696,"description":"Unknown IO ID 45"} 
[2026-06-02 09:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775023872001,"power":27865,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906973696}} 
[2026-06-02 09:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":89255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:05:00] local.INFO: GPS data processed {"connection_id":89255,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:05:00] local.INFO: Acknowledgment sent {"connection_id":89255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:05:03] local.INFO: TCP Data received {"connection_id":89500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:05:03] local.INFO: Processing buffer {"connection_id":89500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:05:03] local.INFO: IMEI packet received {"connection_id":89500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":89500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:05:13] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:05:13] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:05:13] local.INFO: IMEI packet received {"connection_id":89659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":89659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:05:18] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:05:18] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:05:18] local.INFO: IMEI packet received {"connection_id":89659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":89659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:05:18] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86649fd0012d7a090005ec3ca0000e015c22..."} 
[2026-06-02 09:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86649fd0012d7a090005ec3ca0000e015c22..."} 
[2026-06-02 09:05:18] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86649fd0012d7a090005ec3ca0000e015c22..."} 
[2026-06-02 09:05:18] local.INFO: Packet analysis {"connection_id":89659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:05:18] local.INFO: Extracted packet for processing {"connection_id":89659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:05:18] local.INFO: GPS Element Parsed {"raw_longitude":762972416,"raw_latitude":99368096,"longitude_deg":76.2972416,"latitude_deg":9.9368096,"altitude":14,"angle":348,"satellites":34,"speed":13,"hex_longitude":"2d7a0900","hex_latitude":"05ec3ca0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775022592001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87826274407415808,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722808539136,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:18] 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-06-02 09:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371202000,"timestamp_ms":1780371202000,"timestamp_seconds":1780371202,"priority":1,"record_length":96,"hex_timestamp":"0000019e86649fd0"} 
[2026-06-02 09:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:05: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-06-02 09: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-02 09:05: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-06-02 09: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-06-02 09:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775022592001,"66":13059,"156":206,"87":13824,"24":13,"16":87826274407415808,"45":8794122722808539136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775022592001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:05:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:05:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87826274407415808,"km_value":87826274407415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722808539136,"description":"Unknown IO ID 45"} 
[2026-06-02 09:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775022592001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8794122722808539136}} 
[2026-06-02 09:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":89659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:05:18] local.INFO: GPS data processed {"connection_id":89659,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:05:18] local.INFO: Acknowledgment sent {"connection_id":89659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:05:24] local.INFO: TCP Data received {"connection_id":89501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:05:24] local.INFO: Processing buffer {"connection_id":89501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:05:24] local.INFO: IMEI packet received {"connection_id":89501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":89501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:05:29] local.INFO: TCP Data received {"connection_id":89501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:05:29] local.INFO: Processing buffer {"connection_id":89501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:05:29] local.INFO: IMEI packet received {"connection_id":89501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":89501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:05:30] local.INFO: TCP Data received {"connection_id":89501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86650948012d0d620006ea0910001400d82a..."} 
[2026-06-02 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86650948012d0d620006ea0910001400d82a..."} 
[2026-06-02 09:05:30] local.INFO: Processing buffer {"connection_id":89501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86650948012d0d620006ea0910001400d82a..."} 
[2026-06-02 09:05:30] local.INFO: Packet analysis {"connection_id":89501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8665"} 
[2026-06-02 09:05:30] local.INFO: Extracted packet for processing {"connection_id":89501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8665"} 
[2026-06-02 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001040,"longitude_deg":75.5851776,"latitude_deg":11.600104,"altitude":20,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0910","is_valid_coordinates":true} 
[2026-06-02 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775029248001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906973696,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:30] 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-06-02 09:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780371229000,"timestamp_ms":1780371229000,"timestamp_seconds":1780371229,"priority":1,"record_length":96,"hex_timestamp":"0000019e86650948"} 
[2026-06-02 09:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:05: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-06-02 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 09:05: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-06-02 09:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775029248001,"66":27876,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299906973696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775029248001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:05:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906973696,"description":"Unknown IO ID 45"} 
[2026-06-02 09:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775029248001,"power":27876,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906973696}} 
[2026-06-02 09:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":89501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:05:30] local.INFO: GPS data processed {"connection_id":89501,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:05:30] local.INFO: Acknowledgment sent {"connection_id":89501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:05:49] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8664edf0012d7a01c005ec5698000d015020..."} 
[2026-06-02 09:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8664edf0012d7a01c005ec5698000d015020..."} 
[2026-06-02 09:05:49] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8664edf0012d7a01c005ec5698000d015020..."} 
[2026-06-02 09:05:49] local.INFO: Packet analysis {"connection_id":89659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:05:49] local.INFO: Extracted packet for processing {"connection_id":89659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8664"} 
[2026-06-02 09:05:49] local.INFO: GPS Element Parsed {"raw_longitude":762970560,"raw_latitude":99374744,"longitude_deg":76.297056,"latitude_deg":9.9374744,"altitude":13,"angle":336,"satellites":32,"speed":23,"hex_longitude":"2d7a01c0","hex_latitude":"05ec5698","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775027712001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87826609414864896,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793559772855836672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371222000,"timestamp_ms":1780371222000,"timestamp_seconds":1780371222,"priority":1,"record_length":96,"hex_timestamp":"0000019e8664edf0"} 
[2026-06-02 09:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732141,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3954880512,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2254645456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3912237065,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221613526,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.WARNING: Large IO value detected {"io_id":163,"raw_value":58079734643818509,"note":"Value kept but may cause issues"} 
[2026-06-02 09:05:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,87,24,241,157,16,5,158,81,45,49,9,33,10,66,192,44,8,31,3,128,1,240,199,227,4,134,235,113,205,18,122,50,152,34,239,51,163,2,56,6,13],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-06-02 09:05:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009189092607197184,"timestamp_seconds":1009189092607197.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 09:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775027712001,"66":12917,"157":206,"87":13824,"24":23,"16":87826609414864896,"45":8793559772855836672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775027712001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:05:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:05:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87826609414864896,"km_value":87826609414864.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793559772855836672,"description":"Unknown IO ID 45"} 
[2026-06-02 09:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775027712001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8793559772855836672}} 
[2026-06-02 09:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":89659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:05:49] local.INFO: GPS data processed {"connection_id":89659,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:05:49] local.INFO: Acknowledgment sent {"connection_id":89659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:06:01] local.INFO: TCP Data received {"connection_id":89501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86655b50012d0d620006ea0910001400d82b..."} 
[2026-06-02 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86655b50012d0d620006ea0910001400d82b..."} 
[2026-06-02 09:06:01] local.INFO: Processing buffer {"connection_id":89501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86655b50012d0d620006ea0910001400d82b..."} 
[2026-06-02 09:06:01] local.INFO: Packet analysis {"connection_id":89501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8665"} 
[2026-06-02 09:06:01] local.INFO: Extracted packet for processing {"connection_id":89501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8665"} 
[2026-06-02 09:06:01] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001040,"longitude_deg":75.5851776,"latitude_deg":11.600104,"altitude":20,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0910","is_valid_coordinates":true} 
[2026-06-02 09:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775034624001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300384367247360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906973696,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06: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-06-02 09:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780371250000,"timestamp_ms":1780371250000,"timestamp_seconds":1780371250,"priority":1,"record_length":96,"hex_timestamp":"0000019e86655b50"} 
[2026-06-02 09:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:06: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-06-02 09:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:06:01] 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-06-02 09:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775034624001,"66":27821,"83":206,"80":6400,"24":0,"16":305300384367247360,"45":964333299906973696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775034624001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:06:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300384367247360,"km_value":305300384367247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906973696,"description":"Unknown IO ID 45"} 
[2026-06-02 09:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775034624001,"power":27821,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906973696}} 
[2026-06-02 09:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":89501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:06:01] local.INFO: GPS data processed {"connection_id":89501,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:06:01] local.INFO: Acknowledgment sent {"connection_id":89501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:06:11] local.INFO: TCP Data received {"connection_id":89256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:11] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:11] local.INFO: IMEI packet received {"connection_id":89256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":89256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:06:12] local.INFO: TCP Data received {"connection_id":89256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:12] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:12] local.INFO: IMEI packet received {"connection_id":89256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":89256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:06:14] local.INFO: TCP Data received {"connection_id":89256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:14] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:14] local.INFO: IMEI packet received {"connection_id":89256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":89256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:06:15] local.INFO: TCP Data received {"connection_id":89256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:15] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:06:15] local.INFO: IMEI packet received {"connection_id":89256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":89256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:06:16] local.INFO: TCP Data received {"connection_id":89256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86670518012d7a034005ec7b48000a004724..."} 
[2026-06-02 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86670518012d7a034005ec7b48000a004724..."} 
[2026-06-02 09:06:16] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86670518012d7a034005ec7b48000a004724..."} 
[2026-06-02 09:06:16] local.INFO: Packet analysis {"connection_id":89256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:06:16] local.INFO: Extracted packet for processing {"connection_id":89256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":762970944,"raw_latitude":99384136,"longitude_deg":76.2970944,"latitude_deg":9.9384136,"altitude":10,"angle":71,"satellites":36,"speed":0,"hex_longitude":"2d7a0340","hex_latitude":"05ec7b48","is_valid_coordinates":true} 
[2026-06-02 09:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775062528001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827167760613376,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791941291743856640,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780371359000,"timestamp_ms":1780371359000,"timestamp_seconds":1780371359,"priority":1,"record_length":96,"hex_timestamp":"0000019e86670518"} 
[2026-06-02 09:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 09:06:16] 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-06-02 09:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775062528001,"66":13222,"157":206,"87":13824,"24":0,"16":87827167760613376,"45":8791941291743856640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775062528001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827167760613376,"km_value":87827167760613.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791941291743856640,"description":"Unknown IO ID 45"} 
[2026-06-02 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775062528001,"power":13222,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8791941291743856640}} 
[2026-06-02 09:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":89256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:06:16] local.INFO: GPS data processed {"connection_id":89256,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:06:16] local.INFO: Acknowledgment sent {"connection_id":89256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:06:17] local.INFO: TCP Data received {"connection_id":89256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866710d0012d7a05c005ec7bb8000e005a25..."} 
[2026-06-02 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866710d0012d7a05c005ec7bb8000e005a25..."} 
[2026-06-02 09:06:17] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866710d0012d7a05c005ec7bb8000e005a25..."} 
[2026-06-02 09:06:17] local.INFO: Packet analysis {"connection_id":89256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:06:17] local.INFO: Extracted packet for processing {"connection_id":89256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":99384248,"longitude_deg":76.2971584,"latitude_deg":9.9384248,"altitude":14,"angle":90,"satellites":37,"speed":7,"hex_longitude":"2d7a05c0","hex_latitude":"05ec7bb8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775067904001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827197825384448,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791941291743856640,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780371362000,"timestamp_ms":1780371362000,"timestamp_seconds":1780371362,"priority":1,"record_length":96,"hex_timestamp":"0000019e866710d0"} 
[2026-06-02 09:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 09:06:17] 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-06-02 09: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-06-02 09:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775067904001,"66":13276,"157":206,"87":13824,"24":7,"16":87827197825384448,"45":8791941291743856640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775067904001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:06:17] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:06:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827197825384448,"km_value":87827197825384.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791941291743856640,"description":"Unknown IO ID 45"} 
[2026-06-02 09:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775067904001,"power":13276,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8791941291743856640}} 
[2026-06-02 09:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":89256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:06:17] local.INFO: GPS data processed {"connection_id":89256,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:06:17] local.INFO: Acknowledgment sent {"connection_id":89256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:06:24] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:06:24] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:06:24] local.INFO: IMEI packet received {"connection_id":89502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":89502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:06:29] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:06:29] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:06:29] local.INFO: IMEI packet received {"connection_id":89502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":89502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:06:30] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86656320012d0d60c006ea0b300015015529..."} 
[2026-06-02 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86656320012d0d60c006ea0b300015015529..."} 
[2026-06-02 09:06:30] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86656320012d0d60c006ea0b300015015529..."} 
[2026-06-02 09:06:30] local.INFO: Packet analysis {"connection_id":89502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8665"} 
[2026-06-02 09:06:30] local.INFO: Extracted packet for processing {"connection_id":89502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8665"} 
[2026-06-02 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116001584,"longitude_deg":75.5851456,"latitude_deg":11.6001584,"altitude":21,"angle":341,"satellites":41,"speed":5,"hex_longitude":"2d0d60c0","hex_latitude":"06ea0b30","is_valid_coordinates":true} 
[2026-06-02 09:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775040000001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305300414432018432,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906973696,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:30] 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-06-02 09:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780371252000,"timestamp_ms":1780371252000,"timestamp_seconds":1780371252,"priority":1,"record_length":96,"hex_timestamp":"0000019e86656320"} 
[2026-06-02 09:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:06: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-06-02 09:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:06:30] 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-06-02 09:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775040000001,"66":27908,"83":206,"80":6400,"24":5,"16":305300414432018432,"45":964333299906973696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-02 09:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775040000001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 09:06:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305300414432018432,"km_value":305300414432018.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906973696,"description":"Unknown IO ID 45"} 
[2026-06-02 09:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775040000001,"power":27908,"unknown_83":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":964333299906973696}} 
[2026-06-02 09:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":89502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:06:30] local.INFO: GPS data processed {"connection_id":89502,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:06:30] local.INFO: Acknowledgment sent {"connection_id":89502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:06:48] local.INFO: TCP Data received {"connection_id":89256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86671c88012d7a088005ec7c10000e004d25..."} 
[2026-06-02 09:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86671c88012d7a088005ec7c10000e004d25..."} 
[2026-06-02 09:06:48] local.INFO: Processing buffer {"connection_id":89256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86671c88012d7a088005ec7c10000e004d25..."} 
[2026-06-02 09:06:48] local.INFO: Packet analysis {"connection_id":89256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:06:48] local.INFO: Extracted packet for processing {"connection_id":89256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:06:48] local.INFO: GPS Element Parsed {"raw_longitude":762972288,"raw_latitude":99384336,"longitude_deg":76.2972288,"latitude_deg":9.9384336,"altitude":14,"angle":77,"satellites":37,"speed":9,"hex_longitude":"2d7a0880","hex_latitude":"05ec7c10","is_valid_coordinates":true} 
[2026-06-02 09:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775068672001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827232185122816,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644979185661952,"note":"Value kept but may cause issues"} 
[2026-06-02 09:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780371365000,"timestamp_ms":1780371365000,"timestamp_seconds":1780371365,"priority":1,"record_length":96,"hex_timestamp":"0000019e86671c88"} 
[2026-06-02 09:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 09:06: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-06-02 09:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775068672001,"66":13298,"157":206,"87":13824,"24":9,"16":87827232185122816,"45":8792644979185661952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775068672001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:06:48] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:06:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827232185122816,"km_value":87827232185122.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644979185661952,"description":"Unknown IO ID 45"} 
[2026-06-02 09:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775068672001,"power":13298,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8792644979185661952}} 
[2026-06-02 09:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":89256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:06:48] local.INFO: GPS data processed {"connection_id":89256,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:06:48] local.INFO: Acknowledgment sent {"connection_id":89256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:07:13] local.INFO: TCP Data received {"connection_id":89662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:07:13] local.INFO: Processing buffer {"connection_id":89662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:07:13] local.INFO: IMEI packet received {"connection_id":89662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":89662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:07:18] local.INFO: TCP Data received {"connection_id":89662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:07:18] local.INFO: Processing buffer {"connection_id":89662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:07:18] local.INFO: IMEI packet received {"connection_id":89662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":89662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:07:18] local.INFO: TCP Data received {"connection_id":89662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86673010012d7a0dc005ec7e30000e003725..."} 
[2026-06-02 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86673010012d7a0dc005ec7e30000e003725..."} 
[2026-06-02 09:07:18] local.INFO: Processing buffer {"connection_id":89662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86673010012d7a0dc005ec7e30000e003725..."} 
[2026-06-02 09:07:18] local.INFO: Packet analysis {"connection_id":89662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:07:18] local.INFO: Extracted packet for processing {"connection_id":89662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":762973632,"raw_latitude":99384880,"longitude_deg":76.2973632,"latitude_deg":9.938488,"altitude":14,"angle":55,"satellites":37,"speed":10,"hex_longitude":"2d7a0dc0","hex_latitude":"05ec7e30","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775069440001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827300904599552,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793419035371638784,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371370000,"timestamp_ms":1780371370000,"timestamp_seconds":1780371370,"priority":1,"record_length":96,"hex_timestamp":"0000019e86673010"} 
[2026-06-02 09:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 09:07:18] 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-06-02 09: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-06-02 09:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775069440001,"66":13015,"157":206,"87":13824,"24":10,"16":87827300904599552,"45":8793419035371638784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775069440001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:07:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:07:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827300904599552,"km_value":87827300904599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793419035371638784,"description":"Unknown IO ID 45"} 
[2026-06-02 09:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775069440001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8793419035371638784}} 
[2026-06-02 09:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":89662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:07:18] local.INFO: GPS data processed {"connection_id":89662,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:07:18] local.INFO: Acknowledgment sent {"connection_id":89662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:07:20] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86671c88012d0ce04006eb02f80010014226..."} 
[2026-06-02 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86671c88012d0ce04006eb02f80010014226..."} 
[2026-06-02 09:07:20] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86671c88012d0ce04006eb02f80010014226..."} 
[2026-06-02 09:07:20] local.INFO: Packet analysis {"connection_id":89502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:07:20] local.INFO: Extracted packet for processing {"connection_id":89502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:07:20] local.INFO: GPS Element Parsed {"raw_longitude":755818560,"raw_latitude":116065016,"longitude_deg":75.581856,"latitude_deg":11.6065016,"altitude":16,"angle":322,"satellites":38,"speed":50,"hex_longitude":"2d0ce040","hex_latitude":"06eb02f8","is_valid_coordinates":true} 
[2026-06-02 09:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775066880001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305304120988794880,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":934778427366715392,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:20] 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-06-02 09:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780371365000,"timestamp_ms":1780371365000,"timestamp_seconds":1780371365,"priority":1,"record_length":96,"hex_timestamp":"0000019e86671c88"} 
[2026-06-02 09:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 09:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:07: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-06-02 09:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775066880001,"66":27930,"238":206,"80":6400,"24":50,"16":305304120988794880,"45":934778427366715392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-06-02 09:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775066880001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:07:20] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-06-02 09:07:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305304120988794880,"km_value":305304120988794.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":934778427366715392,"description":"Unknown IO ID 45"} 
[2026-06-02 09:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775066880001,"power":27930,"unknown_238":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":934778427366715392}} 
[2026-06-02 09:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":89502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:07:20] local.INFO: GPS data processed {"connection_id":89502,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:07:20] local.INFO: Acknowledgment sent {"connection_id":89502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:07:49] local.INFO: TCP Data received {"connection_id":89662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86673bc8012d7a0fc005ec7f88000e004a24..."} 
[2026-06-02 09:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86673bc8012d7a0fc005ec7f88000e004a24..."} 
[2026-06-02 09:07:49] local.INFO: Processing buffer {"connection_id":89662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86673bc8012d7a0fc005ec7f88000e004a24..."} 
[2026-06-02 09:07:49] local.INFO: Packet analysis {"connection_id":89662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:07:49] local.INFO: Extracted packet for processing {"connection_id":89662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:07:49] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385224,"longitude_deg":76.2974144,"latitude_deg":9.9385224,"altitude":14,"angle":74,"satellites":36,"speed":5,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775070720001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827330969370624,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794896778999508992,"note":"Value kept but may cause issues"} 
[2026-06-02 09:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371373000,"timestamp_ms":1780371373000,"timestamp_seconds":1780371373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86673bc8"} 
[2026-06-02 09:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 09:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775070720001,"66":13124,"157":206,"87":13824,"24":5,"16":87827330969370624,"45":8794896778999508992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775070720001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:07:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:07:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827330969370624,"km_value":87827330969370.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794896778999508992,"description":"Unknown IO ID 45"} 
[2026-06-02 09:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775070720001,"power":13124,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8794896778999508992}} 
[2026-06-02 09:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":89662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:07:49] local.INFO: GPS data processed {"connection_id":89662,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:07:49] local.INFO: Acknowledgment sent {"connection_id":89662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:08:12] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:08:12] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:08:12] local.INFO: IMEI packet received {"connection_id":89503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":89503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:08:18] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:08:18] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:08:18] local.INFO: IMEI packet received {"connection_id":89503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":89503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:08:18] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86673fb0012d7a108005ec7f98000e005a23..."} 
[2026-06-02 09:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86673fb0012d7a108005ec7f98000e005a23..."} 
[2026-06-02 09:08:18] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86673fb0012d7a108005ec7f98000e005a23..."} 
[2026-06-02 09:08:18] local.INFO: Packet analysis {"connection_id":89503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:08:18] local.INFO: Extracted packet for processing {"connection_id":89503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:08:18] local.INFO: GPS Element Parsed {"raw_longitude":762974336,"raw_latitude":99385240,"longitude_deg":76.2974336,"latitude_deg":9.938524,"altitude":14,"angle":90,"satellites":35,"speed":4,"hex_longitude":"2d7a1080","hex_latitude":"05ec7f98","is_valid_coordinates":true} 
[2026-06-02 09:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775071488001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827339559305216,"note":"Value kept but may cause issues"} 
[2026-06-02 09:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953018368,"note":"Value kept but may cause issues"} 
[2026-06-02 09:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371374000,"timestamp_ms":1780371374000,"timestamp_seconds":1780371374,"priority":1,"record_length":96,"hex_timestamp":"0000019e86673fb0"} 
[2026-06-02 09:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 09:08:18] 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-06-02 09: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-06-02 09:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775071488001,"66":13102,"157":206,"87":13824,"24":4,"16":87827339559305216,"45":8795459728953018368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775071488001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:08:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:08:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827339559305216,"km_value":87827339559305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953018368,"description":"Unknown IO ID 45"} 
[2026-06-02 09:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775071488001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8795459728953018368}} 
[2026-06-02 09:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":89503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:08:18] local.INFO: GPS data processed {"connection_id":89503,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:08:18] local.INFO: Acknowledgment sent {"connection_id":89503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:08:49] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86674398012d7a110005ec7f88000e007024..."} 
[2026-06-02 09:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86674398012d7a110005ec7f88000e007024..."} 
[2026-06-02 09:08:49] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86674398012d7a110005ec7f88000e007024..."} 
[2026-06-02 09:08:49] local.INFO: Packet analysis {"connection_id":89503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:08:49] local.INFO: Extracted packet for processing {"connection_id":89503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:08:49] local.INFO: GPS Element Parsed {"raw_longitude":762974464,"raw_latitude":99385224,"longitude_deg":76.2974464,"latitude_deg":9.9385224,"altitude":14,"angle":112,"satellites":36,"speed":5,"hex_longitude":"2d7a1100","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-06-02 09:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775071744001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827348149239808,"note":"Value kept but may cause issues"} 
[2026-06-02 09:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795670835185555456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371375000,"timestamp_ms":1780371375000,"timestamp_seconds":1780371375,"priority":1,"record_length":96,"hex_timestamp":"0000019e86674398"} 
[2026-06-02 09:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:08: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-06-02 09:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 09:08:49] 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-06-02 09:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775071744001,"66":13102,"157":206,"87":13824,"24":5,"16":87827348149239808,"45":8795670835185555456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775071744001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:08:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:08:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827348149239808,"km_value":87827348149239.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795670835185555456,"description":"Unknown IO ID 45"} 
[2026-06-02 09:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775071744001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8795670835185555456}} 
[2026-06-02 09:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":89503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:08:49] local.INFO: GPS data processed {"connection_id":89503,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:08:49] local.INFO: Acknowledgment sent {"connection_id":89503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:08:52] local.INFO: TCP Data received {"connection_id":90726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:08:52] local.INFO: Processing buffer {"connection_id":90726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:08:52] local.INFO: IMEI packet received {"connection_id":90726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":90726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:09:06] local.INFO: TCP Data received {"connection_id":90726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:06] local.INFO: Processing buffer {"connection_id":90726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:06] local.INFO: IMEI packet received {"connection_id":90726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":90726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:09:07] local.INFO: TCP Data received {"connection_id":90726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86687448012d0c5e8006ec2430001601532d..."} 
[2026-06-02 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86687448012d0c5e8006ec2430001601532d..."} 
[2026-06-02 09:09:07] local.INFO: Processing buffer {"connection_id":90726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86687448012d0c5e8006ec2430001601532d..."} 
[2026-06-02 09:09:07] local.INFO: Packet analysis {"connection_id":90726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8668"} 
[2026-06-02 09:09:07] local.INFO: Extracted packet for processing {"connection_id":90726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8668"} 
[2026-06-02 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":755785344,"raw_latitude":116139056,"longitude_deg":75.5785344,"latitude_deg":11.6139056,"altitude":22,"angle":339,"satellites":45,"speed":24,"hex_longitude":"2d0c5e80","hex_latitude":"06ec2430","is_valid_coordinates":true} 
[2026-06-02 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775089408001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305308141078183936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190499576698880,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780371453000,"timestamp_ms":1780371453000,"timestamp_seconds":1780371453,"priority":1,"record_length":96,"hex_timestamp":"0000019e86687448"} 
[2026-06-02 09:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775089408001,"66":27865,"50":206,"80":6400,"24":24,"16":305308141078183936,"45":893190499576698880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-06-02 09:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775089408001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:09:07] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-02 09:09:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305308141078183936,"km_value":305308141078183.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190499576698880,"description":"Unknown IO ID 45"} 
[2026-06-02 09:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775089408001,"power":27865,"unknown_50":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":893190499576698880}} 
[2026-06-02 09:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":90726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:09:07] local.INFO: GPS data processed {"connection_id":90726,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:09:07] local.INFO: Acknowledgment sent {"connection_id":90726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:09:08] local.INFO: TCP Data received {"connection_id":90726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8668aaf8012d0c508006ec44400017014d2d..."} 
[2026-06-02 09:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8668aaf8012d0c508006ec44400017014d2d..."} 
[2026-06-02 09:09:08] local.INFO: Processing buffer {"connection_id":90726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8668aaf8012d0c508006ec44400017014d2d..."} 
[2026-06-02 09:09:08] local.INFO: Packet analysis {"connection_id":90726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8668"} 
[2026-06-02 09:09:08] local.INFO: Extracted packet for processing {"connection_id":90726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8668"} 
[2026-06-02 09:09:08] local.INFO: GPS Element Parsed {"raw_longitude":755781760,"raw_latitude":116147264,"longitude_deg":75.578176,"latitude_deg":11.6147264,"altitude":23,"angle":333,"satellites":45,"speed":27,"hex_longitude":"2d0c5080","hex_latitude":"06ec4440","is_valid_coordinates":true} 
[2026-06-02 09:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775091968001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305308574869880832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891290543485890560,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780371467000,"timestamp_ms":1780371467000,"timestamp_seconds":1780371467,"priority":1,"record_length":96,"hex_timestamp":"0000019e8668aaf8"} 
[2026-06-02 09:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 09:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":90726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":90726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":90726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775091968001,"66":27658,"50":206,"80":6400,"24":27,"16":305308574869880832,"45":891290543485890560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-06-02 09:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775091968001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:09:08] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-02 09:09:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305308574869880832,"km_value":305308574869880.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":891290543485890560,"description":"Unknown IO ID 45"} 
[2026-06-02 09:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775091968001,"power":27658,"unknown_50":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":891290543485890560}} 
[2026-06-02 09:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":90726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:09:08] local.INFO: GPS data processed {"connection_id":90726,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:09:08] local.INFO: Acknowledgment sent {"connection_id":90726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:09:12] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:09:12] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:09:12] local.INFO: IMEI packet received {"connection_id":89664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":89664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:09:18] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:09:18] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:09:18] local.INFO: IMEI packet received {"connection_id":89664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":89664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:09:18] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86674780012d7a114005ec7f48000e008525..."} 
[2026-06-02 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86674780012d7a114005ec7f48000e008525..."} 
[2026-06-02 09:09:18] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86674780012d7a114005ec7f48000e008525..."} 
[2026-06-02 09:09:18] local.INFO: Packet analysis {"connection_id":89664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:09:18] local.INFO: Extracted packet for processing {"connection_id":89664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385160,"longitude_deg":76.2974528,"latitude_deg":9.938516,"altitude":14,"angle":133,"satellites":37,"speed":6,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f48","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775072000001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827352444207104,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795811572673906688,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371376000,"timestamp_ms":1780371376000,"timestamp_seconds":1780371376,"priority":1,"record_length":96,"hex_timestamp":"0000019e86674780"} 
[2026-06-02 09:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 09:09:18] 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-06-02 09: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-06-02 09:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775072000001,"66":13102,"157":206,"87":13824,"24":6,"16":87827352444207104,"45":8795811572673906688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775072000001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:09:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:09:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827352444207104,"km_value":87827352444207.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795811572673906688,"description":"Unknown IO ID 45"} 
[2026-06-02 09:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775072000001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8795811572673906688}} 
[2026-06-02 09:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":89664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:09:18] local.INFO: GPS data processed {"connection_id":89664,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:09:18] local.INFO: Acknowledgment sent {"connection_id":89664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:09:21] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:21] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:21] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:09:24] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:24] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:24] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:09:29] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:29] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:09:29] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:09:31] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8668d5f0012d0c488006ec5780001801592d..."} 
[2026-06-02 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8668d5f0012d0c488006ec5780001801592d..."} 
[2026-06-02 09:09:31] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8668d5f0012d0c488006ec5780001801592d..."} 
[2026-06-02 09:09:31] local.INFO: Packet analysis {"connection_id":89504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8668"} 
[2026-06-02 09:09:31] local.INFO: Extracted packet for processing {"connection_id":89504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8668"} 
[2026-06-02 09:09:31] local.INFO: GPS Element Parsed {"raw_longitude":755779712,"raw_latitude":116152192,"longitude_deg":75.5779712,"latitude_deg":11.6152192,"altitude":24,"angle":345,"satellites":45,"speed":6,"hex_longitude":"2d0c4880","hex_latitude":"06ec5780","is_valid_coordinates":true} 
[2026-06-02 09:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775095552001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305308832567918592,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887349893814042624,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780371478000,"timestamp_ms":1780371478000,"timestamp_seconds":1780371478,"priority":1,"record_length":96,"hex_timestamp":"0000019e8668d5f0"} 
[2026-06-02 09:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:09: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-06-02 09:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 09:09:31] 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-06-02 09:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:09: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-06-02 09:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775095552001,"66":27821,"50":206,"80":6400,"24":6,"16":305308832567918592,"45":887349893814042624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-06-02 09:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775095552001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:09:31] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-02 09:09:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305308832567918592,"km_value":305308832567918.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":887349893814042624,"description":"Unknown IO ID 45"} 
[2026-06-02 09:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775095552001,"power":27821,"unknown_50":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":887349893814042624}} 
[2026-06-02 09:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":89504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:09:31] local.INFO: GPS data processed {"connection_id":89504,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:09:31] local.INFO: Acknowledgment sent {"connection_id":89504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:09:49] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86674b68012d7a120005ec7ec8000e00ad25..."} 
[2026-06-02 09:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86674b68012d7a120005ec7ec8000e00ad25..."} 
[2026-06-02 09:09:49] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86674b68012d7a120005ec7ec8000e00ad25..."} 
[2026-06-02 09:09:49] local.INFO: Packet analysis {"connection_id":89664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:09:49] local.INFO: Extracted packet for processing {"connection_id":89664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8667"} 
[2026-06-02 09:09:49] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385032,"longitude_deg":76.297472,"latitude_deg":9.9385032,"altitude":14,"angle":173,"satellites":37,"speed":6,"hex_longitude":"2d7a1200","hex_latitude":"05ec7ec8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775072256001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827361034141696,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418067968,"note":"Value kept but may cause issues"} 
[2026-06-02 09:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371377000,"timestamp_ms":1780371377000,"timestamp_seconds":1780371377,"priority":1,"record_length":96,"hex_timestamp":"0000019e86674b68"} 
[2026-06-02 09:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:09: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-06-02 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 09:09:49] 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-06-02 09: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-06-02 09:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775072256001,"66":12776,"157":206,"87":13824,"24":6,"16":87827361034141696,"45":8795881941418067968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775072256001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:09:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:09:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827361034141696,"km_value":87827361034141.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418067968,"description":"Unknown IO ID 45"} 
[2026-06-02 09:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775072256001,"power":12776,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8795881941418067968}} 
[2026-06-02 09:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":89664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:09:49] local.INFO: GPS data processed {"connection_id":89664,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:09:49] local.INFO: Acknowledgment sent {"connection_id":89664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:10:05] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86692410012d0c44c006ec67f0001801672c..."} 
[2026-06-02 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86692410012d0c44c006ec67f0001801672c..."} 
[2026-06-02 09:10:05] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86692410012d0c44c006ec67f0001801672c..."} 
[2026-06-02 09:10:05] local.INFO: Packet analysis {"connection_id":89504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:10:05] local.INFO: Extracted packet for processing {"connection_id":89504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:10:05] local.INFO: GPS Element Parsed {"raw_longitude":755778752,"raw_latitude":116156400,"longitude_deg":75.5778752,"latitude_deg":11.61564,"altitude":24,"angle":359,"satellites":44,"speed":25,"hex_longitude":"2d0c44c0","hex_latitude":"06ec67f0","is_valid_coordinates":true} 
[2026-06-02 09:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775098368001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305309043021316096,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885098094001618944,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780371498000,"timestamp_ms":1780371498000,"timestamp_seconds":1780371498,"priority":1,"record_length":96,"hex_timestamp":"0000019e86692410"} 
[2026-06-02 09:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:10: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-06-02 09:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775098368001,"66":27974,"50":206,"80":6400,"24":25,"16":305309043021316096,"45":885098094001618944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-06-02 09:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775098368001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:10:05] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-02 09:10:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305309043021316096,"km_value":305309043021316.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":885098094001618944,"description":"Unknown IO ID 45"} 
[2026-06-02 09:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775098368001,"power":27974,"unknown_50":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":885098094001618944}} 
[2026-06-02 09:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":89504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:10:05] local.INFO: GPS data processed {"connection_id":89504,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:10:05] local.INFO: Acknowledgment sent {"connection_id":89504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:10:12] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:12] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:12] local.INFO: IMEI packet received {"connection_id":89505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":89505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:10:13] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:13] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:13] local.INFO: IMEI packet received {"connection_id":89505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":89505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:10:18] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:18] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:10:18] local.INFO: IMEI packet received {"connection_id":89505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":89505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:10:18] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866a3d50012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866a3d50012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:10:18] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866a3d50012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:10:18] local.INFO: Packet analysis {"connection_id":89505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866a"} 
[2026-06-02 09:10:18] local.INFO: Extracted packet for processing {"connection_id":89505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866a"} 
[2026-06-02 09:10:18] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":99384736,"longitude_deg":76.2974272,"latitude_deg":9.9384736,"altitude":13,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d7a1040","hex_latitude":"05ec7da0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775116544001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827421163683840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441248768,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371570000,"timestamp_ms":1780371570000,"timestamp_seconds":1780371570,"priority":1,"record_length":96,"hex_timestamp":"0000019e866a3d50"} 
[2026-06-02 09:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 09:10: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-06-02 09: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-06-02 09:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775116544001,"66":13254,"157":206,"87":13824,"24":0,"16":87827421163683840,"45":8795600466441248768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775116544001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:10:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:10:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827421163683840,"km_value":87827421163683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441248768,"description":"Unknown IO ID 45"} 
[2026-06-02 09:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775116544001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795600466441248768}} 
[2026-06-02 09:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":89505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:10:18] local.INFO: GPS data processed {"connection_id":89505,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:10:18] local.INFO: Acknowledgment sent {"connection_id":89505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:10:24] local.INFO: TCP Data received {"connection_id":90727,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:10:24] local.INFO: Processing buffer {"connection_id":90727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:10:24] local.INFO: IMEI packet received {"connection_id":90727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":90727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:10:24] local.INFO: TCP Data received {"connection_id":89257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:10:24] local.INFO: Processing buffer {"connection_id":89257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:10:24] local.INFO: IMEI packet received {"connection_id":89257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":89257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:10:30] local.INFO: TCP Data received {"connection_id":89257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:10:30] local.INFO: Processing buffer {"connection_id":89257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:10:30] local.INFO: IMEI packet received {"connection_id":89257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":89257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:10:31] local.INFO: TCP Data received {"connection_id":89257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e866956d8012d0c474006ec8bd0001201652c..."} 
[2026-06-02 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866956d8012d0c474006ec8bd0001201652c..."} 
[2026-06-02 09:10:31] local.INFO: Processing buffer {"connection_id":89257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866956d8012d0c474006ec8bd0001201652c..."} 
[2026-06-02 09:10:31] local.INFO: Packet analysis {"connection_id":89257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:10:31] local.INFO: Extracted packet for processing {"connection_id":89257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":755779392,"raw_latitude":116165584,"longitude_deg":75.5779392,"latitude_deg":11.6165584,"altitude":18,"angle":357,"satellites":44,"speed":32,"hex_longitude":"2d0c4740","hex_latitude":"06ec8bd0","is_valid_coordinates":true} 
[2026-06-02 09:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775103488001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305309489697914880,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884042562840031232,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780371511000,"timestamp_ms":1780371511000,"timestamp_seconds":1780371511,"priority":1,"record_length":96,"hex_timestamp":"0000019e866956d8"} 
[2026-06-02 09:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:10: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-06-02 09:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 09:10:31] 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-06-02 09:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:10: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-06-02 09:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775103488001,"66":27767,"50":206,"80":6400,"24":32,"16":305309489697914880,"45":884042562840031232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-06-02 09:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775103488001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:10:31] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-02 09:10:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305309489697914880,"km_value":305309489697914.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":884042562840031232,"description":"Unknown IO ID 45"} 
[2026-06-02 09:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775103488001,"power":27767,"unknown_50":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":884042562840031232}} 
[2026-06-02 09:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":89257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:10:31] local.INFO: GPS data processed {"connection_id":89257,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:10:31] local.INFO: Acknowledgment sent {"connection_id":89257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:10:49] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866a8f58012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866a8f58012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:10:49] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866a8f58012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:10:49] local.INFO: Packet analysis {"connection_id":89505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866a"} 
[2026-06-02 09:10:49] local.INFO: Extracted packet for processing {"connection_id":89505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866a"} 
[2026-06-02 09:10:49] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":99384736,"longitude_deg":76.2974272,"latitude_deg":9.9384736,"altitude":13,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d7a1040","hex_latitude":"05ec7da0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775121920001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827421163683840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441248768,"note":"Value kept but may cause issues"} 
[2026-06-02 09:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371591000,"timestamp_ms":1780371591000,"timestamp_seconds":1780371591,"priority":1,"record_length":96,"hex_timestamp":"0000019e866a8f58"} 
[2026-06-02 09:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 09:10:49] 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-06-02 09: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-06-02 09:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775121920001,"66":13189,"157":206,"87":13824,"24":0,"16":87827421163683840,"45":8795600466441248768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775121920001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:10:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:10:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827421163683840,"km_value":87827421163683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441248768,"description":"Unknown IO ID 45"} 
[2026-06-02 09:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775121920001,"power":13189,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795600466441248768}} 
[2026-06-02 09:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":89505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:10:49] local.INFO: GPS data processed {"connection_id":89505,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:10:49] local.INFO: Acknowledgment sent {"connection_id":89505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:10:58] local.INFO: TCP Data received {"connection_id":89258,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:10:58] local.INFO: Processing buffer {"connection_id":89258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:10:58] local.INFO: IMEI packet received {"connection_id":89258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":89258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:11:02] local.INFO: TCP Data received {"connection_id":89257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86697de8012d0c440006ecb068001301632c..."} 
[2026-06-02 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86697de8012d0c440006ecb068001301632c..."} 
[2026-06-02 09:11:02] local.INFO: Processing buffer {"connection_id":89257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86697de8012d0c440006ecb068001301632c..."} 
[2026-06-02 09:11:02] local.INFO: Packet analysis {"connection_id":89257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:11:02] local.INFO: Extracted packet for processing {"connection_id":89257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":755778560,"raw_latitude":116174952,"longitude_deg":75.577856,"latitude_deg":11.6174952,"altitude":19,"angle":355,"satellites":44,"speed":39,"hex_longitude":"2d0c4400","hex_latitude":"06ecb068","is_valid_coordinates":true} 
[2026-06-02 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775106816001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305309944964448256,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250284158976,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780371521000,"timestamp_ms":1780371521000,"timestamp_seconds":1780371521,"priority":1,"record_length":96,"hex_timestamp":"0000019e86697de8"} 
[2026-06-02 09:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:11: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-06-02 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 09:11: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-06-02 09:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775106816001,"66":27865,"49":206,"80":6400,"24":39,"16":305309944964448256,"45":884746250284158976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-06-02 09:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775106816001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:11:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 09:11:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305309944964448256,"km_value":305309944964448.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250284158976,"description":"Unknown IO ID 45"} 
[2026-06-02 09:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775106816001,"power":27865,"unknown_49":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":884746250284158976}} 
[2026-06-02 09:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":89257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:11:02] local.INFO: GPS data processed {"connection_id":89257,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:11:02] local.INFO: Acknowledgment sent {"connection_id":89257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:11:16] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:16] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:16] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:11:17] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:17] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:17] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:11:18] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:18] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:18] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:11:18] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:18] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:11:18] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:11:19] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866ae160012d7a104005ec7da0000d00fc29..."} 
[2026-06-02 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866ae160012d7a104005ec7da0000d00fc29..."} 
[2026-06-02 09:11:19] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866ae160012d7a104005ec7da0000d00fc29..."} 
[2026-06-02 09:11:19] local.INFO: Packet analysis {"connection_id":89665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866a"} 
[2026-06-02 09:11:19] local.INFO: Extracted packet for processing {"connection_id":89665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866a"} 
[2026-06-02 09:11:19] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":99384736,"longitude_deg":76.2974272,"latitude_deg":9.9384736,"altitude":13,"angle":252,"satellites":41,"speed":0,"hex_longitude":"2d7a1040","hex_latitude":"05ec7da0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775127296001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827421163683840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441248768,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780371612000,"timestamp_ms":1780371612000,"timestamp_seconds":1780371612,"priority":1,"record_length":96,"hex_timestamp":"0000019e866ae160"} 
[2026-06-02 09:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:11:19] 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-06-02 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 09:11:19] 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-06-02 09: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-06-02 09:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775127296001,"66":12863,"157":206,"87":13824,"24":0,"16":87827421163683840,"45":8795600466441248768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775127296001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:11:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:11:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827421163683840,"km_value":87827421163683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441248768,"description":"Unknown IO ID 45"} 
[2026-06-02 09:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775127296001,"power":12863,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795600466441248768}} 
[2026-06-02 09:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":89665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:11:19] local.INFO: GPS data processed {"connection_id":89665,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:11:19] local.INFO: Acknowledgment sent {"connection_id":89665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:11:20] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866b3368012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866b3368012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:11:20] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866b3368012d7a104005ec7da0000d00fc2a..."} 
[2026-06-02 09:11:20] local.INFO: Packet analysis {"connection_id":89665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:11:20] local.INFO: Extracted packet for processing {"connection_id":89665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":99384736,"longitude_deg":76.2974272,"latitude_deg":9.9384736,"altitude":13,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d7a1040","hex_latitude":"05ec7da0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775132672001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827421163683840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441248768,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780371633000,"timestamp_ms":1780371633000,"timestamp_seconds":1780371633,"priority":1,"record_length":96,"hex_timestamp":"0000019e866b3368"} 
[2026-06-02 09:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 09:11:20] 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-06-02 09: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-06-02 09:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775132672001,"66":13276,"157":206,"87":13824,"24":0,"16":87827421163683840,"45":8795600466441248768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775132672001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:11:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:11:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827421163683840,"km_value":87827421163683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441248768,"description":"Unknown IO ID 45"} 
[2026-06-02 09:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775132672001,"power":13276,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795600466441248768}} 
[2026-06-02 09:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":89665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:11:21] local.INFO: GPS data processed {"connection_id":89665,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:11:21] local.INFO: Acknowledgment sent {"connection_id":89665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:11:24] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:24] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:24] local.INFO: IMEI packet received {"connection_id":89506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:11:27] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:27] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:27] local.INFO: IMEI packet received {"connection_id":89506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":89506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:11:29] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:29] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:11:29] local.INFO: IMEI packet received {"connection_id":89506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:11:30] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e866985b8012d0c448006ecb858001200082d..."} 
[2026-06-02 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866985b8012d0c448006ecb858001200082d..."} 
[2026-06-02 09:11:30] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866985b8012d0c448006ecb858001200082d..."} 
[2026-06-02 09:11:30] local.INFO: Packet analysis {"connection_id":89506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:11:30] local.INFO: Extracted packet for processing {"connection_id":89506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:11:30] local.INFO: GPS Element Parsed {"raw_longitude":755778688,"raw_latitude":116176984,"longitude_deg":75.5778688,"latitude_deg":11.6176984,"altitude":18,"angle":8,"satellites":45,"speed":42,"hex_longitude":"2d0c4480","hex_latitude":"06ecb858","is_valid_coordinates":true} 
[2026-06-02 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775109376001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305310043748696064,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883831456612247552,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780371523000,"timestamp_ms":1780371523000,"timestamp_seconds":1780371523,"priority":1,"record_length":96,"hex_timestamp":"0000019e866985b8"} 
[2026-06-02 09:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:11: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-06-02 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 09:11: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-06-02 09:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775109376001,"66":27821,"49":206,"80":6400,"24":42,"16":305310043748696064,"45":883831456612247552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-06-02 09:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775109376001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:11:30] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 09:11:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305310043748696064,"km_value":305310043748696.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":883831456612247552,"description":"Unknown IO ID 45"} 
[2026-06-02 09:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775109376001,"power":27821,"unknown_49":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":883831456612247552}} 
[2026-06-02 09:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":89506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:11:30] local.INFO: GPS data processed {"connection_id":89506,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:11:30] local.INFO: Acknowledgment sent {"connection_id":89506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:11:51] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866b8570012d7a104005ec7da0000d00fc29..."} 
[2026-06-02 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866b8570012d7a104005ec7da0000d00fc29..."} 
[2026-06-02 09:11:51] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866b8570012d7a104005ec7da0000d00fc29..."} 
[2026-06-02 09:11:51] local.INFO: Packet analysis {"connection_id":89665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:11:51] local.INFO: Extracted packet for processing {"connection_id":89665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":99384736,"longitude_deg":76.2974272,"latitude_deg":9.9384736,"altitude":13,"angle":252,"satellites":41,"speed":0,"hex_longitude":"2d7a1040","hex_latitude":"05ec7da0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775138048001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827421163683840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441248768,"note":"Value kept but may cause issues"} 
[2026-06-02 09:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780371654000,"timestamp_ms":1780371654000,"timestamp_seconds":1780371654,"priority":1,"record_length":96,"hex_timestamp":"0000019e866b8570"} 
[2026-06-02 09:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 09:11:51] 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-06-02 09: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-06-02 09:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":89665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775138048001,"66":12885,"157":206,"87":13824,"24":0,"16":87827421163683840,"45":8795600466441248768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775138048001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:11:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:11:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827421163683840,"km_value":87827421163683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441248768,"description":"Unknown IO ID 45"} 
[2026-06-02 09:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775138048001,"power":12885,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795600466441248768}} 
[2026-06-02 09:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":89665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:11:52] local.INFO: GPS data processed {"connection_id":89665,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:11:52] local.INFO: Acknowledgment sent {"connection_id":89665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:12:01] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8669a4f8012d0c4a0006ecdbd8001000072d..."} 
[2026-06-02 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8669a4f8012d0c4a0006ecdbd8001000072d..."} 
[2026-06-02 09:12:01] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8669a4f8012d0c4a0006ecdbd8001000072d..."} 
[2026-06-02 09:12:01] local.INFO: Packet analysis {"connection_id":89506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:12:01] local.INFO: Extracted packet for processing {"connection_id":89506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:12:01] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":116186072,"longitude_deg":75.5780096,"latitude_deg":11.6186072,"altitude":16,"angle":7,"satellites":45,"speed":39,"hex_longitude":"2d0c4a00","hex_latitude":"06ecdbd8","is_valid_coordinates":true} 
[2026-06-02 09:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775109888001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305310490425294848,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883972194101123072,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780371531000,"timestamp_ms":1780371531000,"timestamp_seconds":1780371531,"priority":1,"record_length":96,"hex_timestamp":"0000019e8669a4f8"} 
[2026-06-02 09:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:12: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-06-02 09:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:12: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-06-02 09:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775109888001,"66":27832,"49":206,"80":6400,"24":39,"16":305310490425294848,"45":883972194101123072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-06-02 09:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775109888001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:12:01] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 09:12:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305310490425294848,"km_value":305310490425294.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":883972194101123072,"description":"Unknown IO ID 45"} 
[2026-06-02 09:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775109888001,"power":27832,"unknown_49":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":883972194101123072}} 
[2026-06-02 09:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":89506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:12:01] local.INFO: GPS data processed {"connection_id":89506,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:12:01] local.INFO: Acknowledgment sent {"connection_id":89506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:12:13] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:13] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:13] local.INFO: IMEI packet received {"connection_id":89666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":89666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:12:13] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:13] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:13] local.INFO: IMEI packet received {"connection_id":89666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":89666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:12:18] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:18] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:12:18] local.INFO: IMEI packet received {"connection_id":89666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":89666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:12:18] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866ba4b0012d7a0ec005ec7d28000901172b..."} 
[2026-06-02 09:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866ba4b0012d7a0ec005ec7d28000901172b..."} 
[2026-06-02 09:12:18] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866ba4b0012d7a0ec005ec7d28000901172b..."} 
[2026-06-02 09:12:18] local.INFO: Packet analysis {"connection_id":89666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:12:18] local.INFO: Extracted packet for processing {"connection_id":89666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:12:18] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99384616,"longitude_deg":76.2973888,"latitude_deg":9.9384616,"altitude":9,"angle":279,"satellites":43,"speed":1,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7d28","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775143424001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827438343553024,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795600466441248768,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371662000,"timestamp_ms":1780371662000,"timestamp_seconds":1780371662,"priority":1,"record_length":96,"hex_timestamp":"0000019e866ba4b0"} 
[2026-06-02 09:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 09:12:18] 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-06-02 09: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-06-02 09:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775143424001,"66":13363,"157":206,"87":13824,"24":1,"16":87827438343553024,"45":8795600466441248768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775143424001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:12:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:12:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827438343553024,"km_value":87827438343553.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795600466441248768,"description":"Unknown IO ID 45"} 
[2026-06-02 09:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775143424001,"power":13363,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8795600466441248768}} 
[2026-06-02 09:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":89666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:12:18] local.INFO: GPS data processed {"connection_id":89666,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:12:18] local.INFO: Acknowledgment sent {"connection_id":89666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:12:28] local.INFO: TCP Data received {"connection_id":89508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:28] local.INFO: Processing buffer {"connection_id":89508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:28] local.INFO: IMEI packet received {"connection_id":89508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":89508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:12:29] local.INFO: TCP Data received {"connection_id":89508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:29] local.INFO: Processing buffer {"connection_id":89508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:29] local.INFO: IMEI packet received {"connection_id":89508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":89508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:12:34] local.INFO: TCP Data received {"connection_id":89508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:34] local.INFO: Processing buffer {"connection_id":89508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:12:34] local.INFO: IMEI packet received {"connection_id":89508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":89508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:12:35] local.INFO: TCP Data received {"connection_id":89508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8669b0b0012d0c4a4006ece5e0000f01602f..."} 
[2026-06-02 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8669b0b0012d0c4a4006ece5e0000f01602f..."} 
[2026-06-02 09:12:35] local.INFO: Processing buffer {"connection_id":89508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8669b0b0012d0c4a4006ece5e0000f01602f..."} 
[2026-06-02 09:12:35] local.INFO: Packet analysis {"connection_id":89508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:12:35] local.INFO: Extracted packet for processing {"connection_id":89508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":116188640,"longitude_deg":75.578016,"latitude_deg":11.618864,"altitude":15,"angle":352,"satellites":47,"speed":30,"hex_longitude":"2d0c4a40","hex_latitude":"06ece5e0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775111936001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305310614979346432,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306475358208,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780371534000,"timestamp_ms":1780371534000,"timestamp_seconds":1780371534,"priority":1,"record_length":96,"hex_timestamp":"0000019e8669b0b0"} 
[2026-06-02 09:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:12: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-06-02 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 09:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775111936001,"66":27767,"49":206,"80":6400,"24":30,"16":305310614979346432,"45":885520306475358208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-06-02 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775111936001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:12:35] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 09:12:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305310614979346432,"km_value":305310614979346.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306475358208,"description":"Unknown IO ID 45"} 
[2026-06-02 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775111936001,"power":27767,"unknown_49":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":885520306475358208}} 
[2026-06-02 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":89508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:12:35] local.INFO: GPS data processed {"connection_id":89508,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:12:35] local.INFO: Acknowledgment sent {"connection_id":89508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:12:36] local.INFO: TCP Data received {"connection_id":89508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8669bc68012d0c4a0006eceec8000f00072d..."} 
[2026-06-02 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8669bc68012d0c4a0006eceec8000f00072d..."} 
[2026-06-02 09:12:36] local.INFO: Processing buffer {"connection_id":89508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8669bc68012d0c4a0006eceec8000f00072d..."} 
[2026-06-02 09:12:36] local.INFO: Packet analysis {"connection_id":89508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:12:36] local.INFO: Extracted packet for processing {"connection_id":89508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8669"} 
[2026-06-02 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":116190920,"longitude_deg":75.5780096,"latitude_deg":11.619092,"altitude":15,"angle":7,"satellites":45,"speed":30,"hex_longitude":"2d0c4a00","hex_latitude":"06eceec8","is_valid_coordinates":true} 
[2026-06-02 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775112704001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305310726648496128,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675220193280,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780371537000,"timestamp_ms":1780371537000,"timestamp_seconds":1780371537,"priority":1,"record_length":96,"hex_timestamp":"0000019e8669bc68"} 
[2026-06-02 09:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 09:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:12: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-06-02 09:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775112704001,"66":27995,"49":206,"80":6400,"24":30,"16":305310726648496128,"45":885590675220193280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-06-02 09:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775112704001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:12:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 09:12:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305310726648496128,"km_value":305310726648496.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675220193280,"description":"Unknown IO ID 45"} 
[2026-06-02 09:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775112704001,"power":27995,"unknown_49":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":885590675220193280}} 
[2026-06-02 09:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":89508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:12:36] local.INFO: GPS data processed {"connection_id":89508,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:12:36] local.INFO: Acknowledgment sent {"connection_id":89508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:12:49] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866bd390012d7a0dc005ec7d60000901252a..."} 
[2026-06-02 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866bd390012d7a0dc005ec7d60000901252a..."} 
[2026-06-02 09:12:49] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866bd390012d7a0dc005ec7d60000901252a..."} 
[2026-06-02 09:12:49] local.INFO: Packet analysis {"connection_id":89666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:12:49] local.INFO: Extracted packet for processing {"connection_id":89666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:12:49] local.INFO: GPS Element Parsed {"raw_longitude":762973632,"raw_latitude":99384672,"longitude_deg":76.2973632,"latitude_deg":9.9384672,"altitude":9,"angle":293,"satellites":42,"speed":2,"hex_longitude":"2d7a0dc0","hex_latitude":"05ec7d60","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775145472001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827451228454912,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976152064,"note":"Value kept but may cause issues"} 
[2026-06-02 09:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371674000,"timestamp_ms":1780371674000,"timestamp_seconds":1780371674,"priority":1,"record_length":96,"hex_timestamp":"0000019e866bd390"} 
[2026-06-02 09:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 09:12: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-06-02 09: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-06-02 09:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775145472001,"66":13048,"157":206,"87":13824,"24":2,"16":87827451228454912,"45":8795178253976152064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775145472001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:12:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:12:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827451228454912,"km_value":87827451228454.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976152064,"description":"Unknown IO ID 45"} 
[2026-06-02 09:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775145472001,"power":13048,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8795178253976152064}} 
[2026-06-02 09:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":89666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:12:49] local.INFO: GPS data processed {"connection_id":89666,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:12:49] local.INFO: Acknowledgment sent {"connection_id":89666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:13:07] local.INFO: TCP Data received {"connection_id":89508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e866ca680012d0c404006edf2d80010013b2d..."} 
[2026-06-02 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866ca680012d0c404006edf2d80010013b2d..."} 
[2026-06-02 09:13:07] local.INFO: Processing buffer {"connection_id":89508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866ca680012d0c404006edf2d80010013b2d..."} 
[2026-06-02 09:13:07] local.INFO: Packet analysis {"connection_id":89508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866c"} 
[2026-06-02 09:13:07] local.INFO: Extracted packet for processing {"connection_id":89508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866c"} 
[2026-06-02 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":755777600,"raw_latitude":116257496,"longitude_deg":75.57776,"latitude_deg":11.6257496,"altitude":16,"angle":315,"satellites":45,"speed":14,"hex_longitude":"2d0c4040","hex_latitude":"06edf2d8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 09:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305314050953183232,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883549981656430592,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:07] 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-06-02 09:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780371728000,"timestamp_ms":1780371728000,"timestamp_seconds":1780371728,"priority":1,"record_length":96,"hex_timestamp":"0000019e866ca680"} 
[2026-06-02 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-06-02 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 09:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 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-06-02 09:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775161344001,"66":27843,"156":206,"80":6400,"24":14,"16":305314050953183232,"45":883549981656430592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-06-02 09:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:13:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:13:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305314050953183232,"km_value":305314050953183.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":883549981656430592,"description":"Unknown IO ID 45"} 
[2026-06-02 09:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775161344001,"power":27843,"unknown_156":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":883549981656430592}} 
[2026-06-02 09:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":89508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:13:07] local.INFO: GPS data processed {"connection_id":89508,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:13:07] local.INFO: Acknowledgment sent {"connection_id":89508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:13:13] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:13:13] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:13:13] local.INFO: IMEI packet received {"connection_id":89509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":89509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:13:18] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:13:18] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:13:18] local.INFO: IMEI packet received {"connection_id":89509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":89509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:13:18] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866bdb60012d7a0cc005ec7d900009010e29..."} 
[2026-06-02 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866bdb60012d7a0cc005ec7d900009010e29..."} 
[2026-06-02 09:13:18] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866bdb60012d7a0cc005ec7d900009010e29..."} 
[2026-06-02 09:13:18] local.INFO: Packet analysis {"connection_id":89509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:13:18] local.INFO: Extracted packet for processing {"connection_id":89509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:13:18] local.INFO: GPS Element Parsed {"raw_longitude":762973376,"raw_latitude":99384720,"longitude_deg":76.2973376,"latitude_deg":9.938472,"altitude":9,"angle":270,"satellites":41,"speed":4,"hex_longitude":"2d7a0cc0","hex_latitude":"05ec7d90","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775148544001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827459818389504,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794896778999455744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371676000,"timestamp_ms":1780371676000,"timestamp_seconds":1780371676,"priority":1,"record_length":96,"hex_timestamp":"0000019e866bdb60"} 
[2026-06-02 09:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:13: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-06-02 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 09:13:18] 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-06-02 09: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-06-02 09:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775148544001,"66":13243,"157":206,"87":13824,"24":4,"16":87827459818389504,"45":8794896778999455744},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775148544001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:13:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:13:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827459818389504,"km_value":87827459818389.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794896778999455744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775148544001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8794896778999455744}} 
[2026-06-02 09:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":89509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:13:18] local.INFO: GPS data processed {"connection_id":89509,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:13:18] local.INFO: Acknowledgment sent {"connection_id":89509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:13:24] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:13:24] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:13:24] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:13:28] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:13:28] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:13:28] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:13:29] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e866cb238012d0c3cc006edf638000e01472d..."} 
[2026-06-02 09:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866cb238012d0c3cc006edf638000e01472d..."} 
[2026-06-02 09:13:29] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866cb238012d0c3cc006edf638000e01472d..."} 
[2026-06-02 09:13:29] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866c"} 
[2026-06-02 09:13:29] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866c"} 
[2026-06-02 09:13:29] local.INFO: GPS Element Parsed {"raw_longitude":755776704,"raw_latitude":116258360,"longitude_deg":75.5776704,"latitude_deg":11.625836,"altitude":14,"angle":327,"satellites":45,"speed":18,"hex_longitude":"2d0c3cc0","hex_latitude":"06edf638","is_valid_coordinates":true} 
[2026-06-02 09:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775162368001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305314111082725376,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882775925470713856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:29] 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-06-02 09:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780371731000,"timestamp_ms":1780371731000,"timestamp_seconds":1780371731,"priority":1,"record_length":96,"hex_timestamp":"0000019e866cb238"} 
[2026-06-02 09:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:13: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-06-02 09:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 09:13: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-06-02 09:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775162368001,"66":27919,"156":206,"80":6400,"24":18,"16":305314111082725376,"45":882775925470713856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-06-02 09:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775162368001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:13:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:13:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305314111082725376,"km_value":305314111082725.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":882775925470713856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775162368001,"power":27919,"unknown_156":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":882775925470713856}} 
[2026-06-02 09:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:13:29] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:13:29] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:13:34] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e866cecd0012d0c29c006ee15f00010014a2b..."} 
[2026-06-02 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866cecd0012d0c29c006ee15f00010014a2b..."} 
[2026-06-02 09:13:34] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866cecd0012d0c29c006ee15f00010014a2b..."} 
[2026-06-02 09:13:34] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866c"} 
[2026-06-02 09:13:34] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866c"} 
[2026-06-02 09:13:34] local.INFO: GPS Element Parsed {"raw_longitude":755771840,"raw_latitude":116266480,"longitude_deg":75.577184,"latitude_deg":11.626648,"altitude":16,"angle":330,"satellites":43,"speed":24,"hex_longitude":"2d0c29c0","hex_latitude":"06ee15f0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775163136001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305314566349258752,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881790763052447744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:34] 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-06-02 09:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780371746000,"timestamp_ms":1780371746000,"timestamp_seconds":1780371746,"priority":1,"record_length":96,"hex_timestamp":"0000019e866cecd0"} 
[2026-06-02 09:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:13: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-06-02 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 09:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775163136001,"66":27887,"156":206,"80":6400,"24":24,"16":305314566349258752,"45":881790763052447744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-06-02 09:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775163136001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:13:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305314566349258752,"km_value":305314566349258.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":881790763052447744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775163136001,"power":27887,"unknown_156":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":881790763052447744}} 
[2026-06-02 09:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:13:34] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:13:34] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:13:50] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866bdf48012d7a0c4005ec7d78000900fb2a..."} 
[2026-06-02 09:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866bdf48012d7a0c4005ec7d78000900fb2a..."} 
[2026-06-02 09:13:50] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866bdf48012d7a0c4005ec7d78000900fb2a..."} 
[2026-06-02 09:13:50] local.INFO: Packet analysis {"connection_id":89509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:13:50] local.INFO: Extracted packet for processing {"connection_id":89509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866b"} 
[2026-06-02 09:13:50] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":99384696,"longitude_deg":76.2973248,"latitude_deg":9.9384696,"altitude":9,"angle":251,"satellites":42,"speed":4,"hex_longitude":"2d7a0c40","hex_latitude":"05ec7d78","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775149056001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87827468408324096,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794615304022757376,"note":"Value kept but may cause issues"} 
[2026-06-02 09:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780371677000,"timestamp_ms":1780371677000,"timestamp_seconds":1780371677,"priority":1,"record_length":96,"hex_timestamp":"0000019e866bdf48"} 
[2026-06-02 09:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:13: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-06-02 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 09:13:50] 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-06-02 09: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-06-02 09:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775149056001,"66":13319,"157":206,"87":13824,"24":4,"16":87827468408324096,"45":8794615304022757376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 09:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775149056001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:13:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:13:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87827468408324096,"km_value":87827468408324.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794615304022757376,"description":"Unknown IO ID 45"} 
[2026-06-02 09:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775149056001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8794615304022757376}} 
[2026-06-02 09:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":89509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:13:50] local.INFO: GPS data processed {"connection_id":89509,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:13:50] local.INFO: Acknowledgment sent {"connection_id":89509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:14:06] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e866d1bb0012d0c184006ee3430001401482b..."} 
[2026-06-02 09:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866d1bb0012d0c184006ee3430001401482b..."} 
[2026-06-02 09:14:06] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866d1bb0012d0c184006ee3430001401482b..."} 
[2026-06-02 09:14:06] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866d"} 
[2026-06-02 09:14:06] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866d"} 
[2026-06-02 09:14:06] local.INFO: GPS Element Parsed {"raw_longitude":755767360,"raw_latitude":116274224,"longitude_deg":75.576736,"latitude_deg":11.6274224,"altitude":20,"angle":328,"satellites":43,"speed":32,"hex_longitude":"2d0c1840","hex_latitude":"06ee3430","is_valid_coordinates":true} 
[2026-06-02 09:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775166976001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305315000140955648,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876442738497024000,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780371758000,"timestamp_ms":1780371758000,"timestamp_seconds":1780371758,"priority":1,"record_length":96,"hex_timestamp":"0000019e866d1bb0"} 
[2026-06-02 09:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 09:14:06] 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-06-02 09:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775166976001,"66":27865,"157":206,"80":6400,"24":32,"16":305315000140955648,"45":876442738497024000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-06-02 09:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775166976001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:14:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 09:14:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305315000140955648,"km_value":305315000140955.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":876442738497024000,"description":"Unknown IO ID 45"} 
[2026-06-02 09:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775166976001,"power":27865,"unknown_157":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":876442738497024000}} 
[2026-06-02 09:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:14:06] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:14:06] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:14:14] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:14] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:14] local.INFO: IMEI packet received {"connection_id":89510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":89510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:14:15] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:15] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:15] local.INFO: IMEI packet received {"connection_id":89510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":89510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:14:18] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:18] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:14:18] local.INFO: IMEI packet received {"connection_id":89510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":89510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:14:19] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866dfe40012d7a264005ebf1d80008009921..."} 
[2026-06-02 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866dfe40012d7a264005ebf1d80008009921..."} 
[2026-06-02 09:14:19] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866dfe40012d7a264005ebf1d80008009921..."} 
[2026-06-02 09:14:19] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866d"} 
[2026-06-02 09:14:19] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866d"} 
[2026-06-02 09:14:19] local.INFO: GPS Element Parsed {"raw_longitude":762979904,"raw_latitude":99348952,"longitude_deg":76.2979904,"latitude_deg":9.9348952,"altitude":8,"angle":153,"satellites":33,"speed":32,"hex_longitude":"2d7a2640","hex_latitude":"05ebf1d8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775181056001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87829456978182144,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797922634992205824,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780371816000,"timestamp_ms":1780371816000,"timestamp_seconds":1780371816,"priority":1,"record_length":96,"hex_timestamp":"0000019e866dfe40"} 
[2026-06-02 09:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:14:19] 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-06-02 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684285,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818508,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2255246456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 09:14:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967471616,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,157,87,24,241,16,8,158,117,45,64,53,41,10,66,7,39,128,81,42,221,1,240,69,227,6,134,236,4,113,205,100,224,40,239,50,2,56,5,11,12],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 09:14:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720752038334627840,"timestamp_seconds":720752038334627.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 09:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775181056001,"66":13059,"156":206,"87":13824,"24":32,"16":87829456978182144,"45":8797922634992205824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775181056001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87829456978182144,"km_value":87829456978182.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797922634992205824,"description":"Unknown IO ID 45"} 
[2026-06-02 09:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775181056001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8797922634992205824}} 
[2026-06-02 09:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:14:19] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:14:19] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:14:20] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866e2d20012d7a360005ebd2380008009c29..."} 
[2026-06-02 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866e2d20012d7a360005ebd2380008009c29..."} 
[2026-06-02 09:14:20] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866e2d20012d7a360005ebd2380008009c29..."} 
[2026-06-02 09:14:20] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:14:20] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:14:20] local.INFO: GPS Element Parsed {"raw_longitude":762983936,"raw_latitude":99340856,"longitude_deg":76.2983936,"latitude_deg":9.9340856,"altitude":8,"angle":156,"satellites":41,"speed":25,"hex_longitude":"2d7a3600","hex_latitude":"05ebd238","is_valid_coordinates":true} 
[2026-06-02 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775184896001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87829895064846336,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801792915919722496,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] 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-06-02 09:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780371828000,"timestamp_ms":1780371828000,"timestamp_seconds":1780371828,"priority":1,"record_length":96,"hex_timestamp":"0000019e866e2d20"} 
[2026-06-02 09:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:14: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-06-02 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160093625661,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818511,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2255250456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184317,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967344640,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:20] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,156,87,24,241,157,16,8,158,195,45,128,20,10,41,66,117,64,53,7,39,1,240,178,227,134,236,4,113,205,6,250,160,43,239,50,2,56,5,11,15],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 09:14:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576629119318491136,"timestamp_seconds":576629119318491.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 09:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775184896001,"66":13189,"156":206,"87":13824,"24":25,"16":87829895064846336,"45":8801792915919722496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775184896001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:14:20] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:14:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87829895064846336,"km_value":87829895064846.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801792915919722496,"description":"Unknown IO ID 45"} 
[2026-06-02 09:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775184896001,"power":13189,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8801792915919722496}} 
[2026-06-02 09:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:14:20] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:14:20] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:14:33] local.INFO: TCP Data received {"connection_id":89259,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:14:33] local.INFO: Processing buffer {"connection_id":89259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:14:33] local.INFO: IMEI packet received {"connection_id":89259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":89259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:14:36] local.INFO: TCP Data received {"connection_id":89259,"ip":"42.106.6.17","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89259,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 09:14:36] local.INFO: Processing buffer {"connection_id":89259,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 09:14:36] local.INFO: IMEI packet received {"connection_id":89259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":89259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:14:51] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866e7370012d7a46c005ebb250000c009627..."} 
[2026-06-02 09:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866e7370012d7a46c005ebb250000c009627..."} 
[2026-06-02 09:14:51] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866e7370012d7a46c005ebb250000c009627..."} 
[2026-06-02 09:14:51] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:14:51] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:14:51] local.INFO: GPS Element Parsed {"raw_longitude":762988224,"raw_latitude":99332688,"longitude_deg":76.2988224,"latitude_deg":9.9332688,"altitude":12,"angle":150,"satellites":39,"speed":19,"hex_longitude":"2d7a46c0","hex_latitude":"05ebb250","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775187968001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87830341741445120,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806226146800842752,"note":"Value kept but may cause issues"} 
[2026-06-02 09:14:51] 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-06-02 09:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1780371846000,"timestamp_ms":1780371846000,"timestamp_seconds":1780371846,"priority":1,"record_length":96,"hex_timestamp":"0000019e866e7370"} 
[2026-06-02 09:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:14: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-06-02 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 09:14:51] 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-06-02 09: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-06-02 09:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775187968001,"66":12287,"156":206,"87":13824,"24":19,"16":87830341741445120,"45":8806226146800842752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775187968001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:14:51] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:14:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87830341741445120,"km_value":87830341741445.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806226146800842752,"description":"Unknown IO ID 45"} 
[2026-06-02 09:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775187968001,"power":12287,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8806226146800842752}} 
[2026-06-02 09:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:14:51] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:14:51] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:15:12] local.INFO: TCP Data received {"connection_id":89261,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:15:12] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:15:12] local.INFO: IMEI packet received {"connection_id":89261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":89261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:15:18] local.INFO: TCP Data received {"connection_id":89261,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:15:18] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:15:18] local.INFO: IMEI packet received {"connection_id":89261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":89261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:15:19] local.INFO: TCP Data received {"connection_id":89261,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866e92b0012d7a4a0005eba9a8000f00a626..."} 
[2026-06-02 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866e92b0012d7a4a0005eba9a8000f00a626..."} 
[2026-06-02 09:15:19] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866e92b0012d7a4a0005eba9a8000f00a626..."} 
[2026-06-02 09:15:19] local.INFO: Packet analysis {"connection_id":89261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:15:19] local.INFO: Extracted packet for processing {"connection_id":89261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:15:19] local.INFO: GPS Element Parsed {"raw_longitude":762989056,"raw_latitude":99330472,"longitude_deg":76.2989056,"latitude_deg":9.9330472,"altitude":15,"angle":166,"satellites":38,"speed":8,"hex_longitude":"2d7a4a00","hex_latitude":"05eba9a8","is_valid_coordinates":true} 
[2026-06-02 09:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775192576001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87830457705562112,"note":"Value kept but may cause issues"} 
[2026-06-02 09:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810940852658655232,"note":"Value kept but may cause issues"} 
[2026-06-02 09:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780371854000,"timestamp_ms":1780371854000,"timestamp_seconds":1780371854,"priority":1,"record_length":96,"hex_timestamp":"0000019e866e92b0"} 
[2026-06-02 09:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:15: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-06-02 09:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 09:15: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-06-02 09:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775192576001,"66":13243,"156":206,"87":13824,"24":8,"16":87830457705562112,"45":8810940852658655232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775192576001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87830457705562112,"km_value":87830457705562.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810940852658655232,"description":"Unknown IO ID 45"} 
[2026-06-02 09:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775192576001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8810940852658655232}} 
[2026-06-02 09:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":89261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:15:19] local.INFO: GPS data processed {"connection_id":89261,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:15:19] local.INFO: Acknowledgment sent {"connection_id":89261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:15:50] local.INFO: TCP Data received {"connection_id":89261,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866e9a80012d7a4a4005eba818000e009828..."} 
[2026-06-02 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866e9a80012d7a4a4005eba818000e009828..."} 
[2026-06-02 09:15:50] local.INFO: Processing buffer {"connection_id":89261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866e9a80012d7a4a4005eba818000e009828..."} 
[2026-06-02 09:15:50] local.INFO: Packet analysis {"connection_id":89261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:15:50] local.INFO: Extracted packet for processing {"connection_id":89261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:15:50] local.INFO: GPS Element Parsed {"raw_longitude":762989120,"raw_latitude":99330072,"longitude_deg":76.298912,"latitude_deg":9.9330072,"altitude":14,"angle":152,"satellites":40,"speed":9,"hex_longitude":"2d7a4a40","hex_latitude":"05eba818","is_valid_coordinates":true} 
[2026-06-02 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775194624001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87830479180398592,"note":"Value kept but may cause issues"} 
[2026-06-02 09:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811855646332397568,"note":"Value kept but may cause issues"} 
[2026-06-02 09:15:50] 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-06-02 09:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780371856000,"timestamp_ms":1780371856000,"timestamp_seconds":1780371856,"priority":1,"record_length":96,"hex_timestamp":"0000019e866e9a80"} 
[2026-06-02 09:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:15: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-06-02 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 09:15:50] 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-06-02 09:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775194624001,"66":13254,"156":206,"87":13824,"24":9,"16":87830479180398592,"45":8811855646332397568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775194624001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:15:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:15:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87830479180398592,"km_value":87830479180398.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811855646332397568,"description":"Unknown IO ID 45"} 
[2026-06-02 09:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775194624001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8811855646332397568}} 
[2026-06-02 09:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":89261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:15:50] local.INFO: GPS data processed {"connection_id":89261,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:15:50] local.INFO: Acknowledgment sent {"connection_id":89261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:16:12] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:16:12] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:16:12] local.INFO: IMEI packet received {"connection_id":89511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":89511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:16:18] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:16:18] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:16:18] local.INFO: IMEI packet received {"connection_id":89511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":89511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:16:18] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866ebda8012d7a4f0005eba060000d00a32a..."} 
[2026-06-02 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866ebda8012d7a4f0005eba060000d00a32a..."} 
[2026-06-02 09:16:18] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866ebda8012d7a4f0005eba060000d00a32a..."} 
[2026-06-02 09:16:18] local.INFO: Packet analysis {"connection_id":89511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:16:18] local.INFO: Extracted packet for processing {"connection_id":89511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:16:18] local.INFO: GPS Element Parsed {"raw_longitude":762990336,"raw_latitude":99328096,"longitude_deg":76.2990336,"latitude_deg":9.9328096,"altitude":13,"angle":163,"satellites":42,"speed":5,"hex_longitude":"2d7a4f00","hex_latitude":"05eba060","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775195136001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87830590849548288,"note":"Value kept but may cause issues"} 
[2026-06-02 09:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811926015076472832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:16:18] 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-06-02 09:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780371865000,"timestamp_ms":1780371865000,"timestamp_seconds":1780371865,"priority":1,"record_length":96,"hex_timestamp":"0000019e866ebda8"} 
[2026-06-02 09:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 09:16: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-06-02 09: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-06-02 09:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775195136001,"66":13037,"156":206,"87":13824,"24":5,"16":87830590849548288,"45":8811926015076472832},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 09:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775195136001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87830590849548288,"km_value":87830590849548.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811926015076472832,"description":"Unknown IO ID 45"} 
[2026-06-02 09:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775195136001,"power":13037,"unknown_156":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8811926015076472832}} 
[2026-06-02 09:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":89511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:16:18] local.INFO: GPS data processed {"connection_id":89511,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:16:18] local.INFO: Acknowledgment sent {"connection_id":89511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:16:24] local.INFO: TCP Data received {"connection_id":89670,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:16:24] local.INFO: Processing buffer {"connection_id":89670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:16:24] local.INFO: IMEI packet received {"connection_id":89670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":89670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:16:49] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e866ee4b8012d7a4f0005eb9d10000b00e22c..."} 
[2026-06-02 09:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e866ee4b8012d7a4f0005eb9d10000b00e22c..."} 
[2026-06-02 09:16:49] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e866ee4b8012d7a4f0005eb9d10000b00e22c..."} 
[2026-06-02 09:16:49] local.INFO: Packet analysis {"connection_id":89511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:16:49] local.INFO: Extracted packet for processing {"connection_id":89511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e866e"} 
[2026-06-02 09:16:49] local.INFO: GPS Element Parsed {"raw_longitude":762990336,"raw_latitude":99327248,"longitude_deg":76.2990336,"latitude_deg":9.9327248,"altitude":11,"angle":226,"satellites":44,"speed":8,"hex_longitude":"2d7a4f00","hex_latitude":"05eb9d10","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775197440001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87830638094188544,"note":"Value kept but may cause issues"} 
[2026-06-02 09:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813263021215342592,"note":"Value kept but may cause issues"} 
[2026-06-02 09:16:49] 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-06-02 09:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780371875000,"timestamp_ms":1780371875000,"timestamp_seconds":1780371875,"priority":1,"record_length":96,"hex_timestamp":"0000019e866ee4b8"} 
[2026-06-02 09:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:16: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-06-02 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 09:16:49] 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-06-02 09: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-06-02 09:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775197440001,"66":13091,"163":206,"87":13824,"24":8,"16":87830638094188544,"45":8813263021215342592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775197440001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:16:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:16:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87830638094188544,"km_value":87830638094188.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813263021215342592,"description":"Unknown IO ID 45"} 
[2026-06-02 09:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775197440001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8813263021215342592}} 
[2026-06-02 09:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":89511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:16:49] local.INFO: GPS data processed {"connection_id":89511,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:16:49] local.INFO: Acknowledgment sent {"connection_id":89511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:16:58] local.INFO: TCP Data received {"connection_id":89262,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:16:58] local.INFO: Processing buffer {"connection_id":89262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:16:58] local.INFO: IMEI packet received {"connection_id":89262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":89262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:17:13] local.INFO: TCP Data received {"connection_id":90729,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:13] local.INFO: Processing buffer {"connection_id":90729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:13] local.INFO: IMEI packet received {"connection_id":90729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":90729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:17:18] local.INFO: TCP Data received {"connection_id":90729,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:18] local.INFO: Processing buffer {"connection_id":90729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:18] local.INFO: IMEI packet received {"connection_id":90729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":90729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:17:23] local.INFO: TCP Data received {"connection_id":90729,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:23] local.INFO: Processing buffer {"connection_id":90729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:17:23] local.INFO: IMEI packet received {"connection_id":90729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":90729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:17:23] local.INFO: TCP Data received {"connection_id":90729,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8670a5f0012d7a2fc005eb8c58000c00ef2f..."} 
[2026-06-02 09:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8670a5f0012d7a2fc005eb8c58000c00ef2f..."} 
[2026-06-02 09:17:23] local.INFO: Processing buffer {"connection_id":90729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8670a5f0012d7a2fc005eb8c58000c00ef2f..."} 
[2026-06-02 09:17:23] local.INFO: Packet analysis {"connection_id":90729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8670"} 
[2026-06-02 09:17:23] local.INFO: Extracted packet for processing {"connection_id":90729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8670"} 
[2026-06-02 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":762982336,"raw_latitude":99322968,"longitude_deg":76.2982336,"latitude_deg":9.9322968,"altitude":12,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2d7a2fc0","hex_latitude":"05eb8c58","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775224064001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831076180852736,"note":"Value kept but may cause issues"} 
[2026-06-02 09:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804466928191821824,"note":"Value kept but may cause issues"} 
[2026-06-02 09:17:23] 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-06-02 09:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780371990000,"timestamp_ms":1780371990000,"timestamp_seconds":1780371990,"priority":1,"record_length":96,"hex_timestamp":"0000019e8670a5f0"} 
[2026-06-02 09:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:17: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-06-02 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 09:17:23] 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-06-02 09: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-06-02 09:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":90729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":90729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":90729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775224064001,"66":13102,"163":206,"87":13824,"24":0,"16":87831076180852736,"45":8804466928191821824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775224064001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:17:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:17:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831076180852736,"km_value":87831076180852.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804466928191821824,"description":"Unknown IO ID 45"} 
[2026-06-02 09:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775224064001,"power":13102,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804466928191821824}} 
[2026-06-02 09:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":90729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:17:23] local.INFO: GPS data processed {"connection_id":90729,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:17:23] local.INFO: Acknowledgment sent {"connection_id":90729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:17:28] local.INFO: TCP Data received {"connection_id":90729,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8670f7f8012d7a2fc005eb8c58000c00ef2d..."} 
[2026-06-02 09:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8670f7f8012d7a2fc005eb8c58000c00ef2d..."} 
[2026-06-02 09:17:28] local.INFO: Processing buffer {"connection_id":90729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8670f7f8012d7a2fc005eb8c58000c00ef2d..."} 
[2026-06-02 09:17:28] local.INFO: Packet analysis {"connection_id":90729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8670"} 
[2026-06-02 09:17:28] local.INFO: Extracted packet for processing {"connection_id":90729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8670"} 
[2026-06-02 09:17:28] local.INFO: GPS Element Parsed {"raw_longitude":762982336,"raw_latitude":99322968,"longitude_deg":76.2982336,"latitude_deg":9.9322968,"altitude":12,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2d7a2fc0","hex_latitude":"05eb8c58","is_valid_coordinates":true} 
[2026-06-02 09:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775229440001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831076180852736,"note":"Value kept but may cause issues"} 
[2026-06-02 09:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804466928191821824,"note":"Value kept but may cause issues"} 
[2026-06-02 09:17:28] 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-06-02 09:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780372011000,"timestamp_ms":1780372011000,"timestamp_seconds":1780372011,"priority":1,"record_length":96,"hex_timestamp":"0000019e8670f7f8"} 
[2026-06-02 09:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:17: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-06-02 09:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 09:17:28] 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-06-02 09:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775229440001,"66":13015,"163":206,"87":13824,"24":0,"16":87831076180852736,"45":8804466928191821824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775229440001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:17:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:17:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831076180852736,"km_value":87831076180852.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804466928191821824,"description":"Unknown IO ID 45"} 
[2026-06-02 09:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775229440001,"power":13015,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804466928191821824}} 
[2026-06-02 09:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":90729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:17:28] local.INFO: GPS data processed {"connection_id":90729,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:17:28] local.INFO: Acknowledgment sent {"connection_id":90729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:18:13] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:18:13] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:18:13] local.INFO: IMEI packet received {"connection_id":89672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":89672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:18:17] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:18:17] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:18:17] local.INFO: IMEI packet received {"connection_id":89672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":89672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:18:17] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86714a00012d7a2fc005eb8c58000c00ef2e..."} 
[2026-06-02 09:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86714a00012d7a2fc005eb8c58000c00ef2e..."} 
[2026-06-02 09:18:17] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86714a00012d7a2fc005eb8c58000c00ef2e..."} 
[2026-06-02 09:18:17] local.INFO: Packet analysis {"connection_id":89672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8671"} 
[2026-06-02 09:18:17] local.INFO: Extracted packet for processing {"connection_id":89672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8671"} 
[2026-06-02 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":762982336,"raw_latitude":99322968,"longitude_deg":76.2982336,"latitude_deg":9.9322968,"altitude":12,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2d7a2fc0","hex_latitude":"05eb8c58","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775234816001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831076180852736,"note":"Value kept but may cause issues"} 
[2026-06-02 09:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804466928191821824,"note":"Value kept but may cause issues"} 
[2026-06-02 09:18:17] 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-06-02 09:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780372032000,"timestamp_ms":1780372032000,"timestamp_seconds":1780372032,"priority":1,"record_length":96,"hex_timestamp":"0000019e86714a00"} 
[2026-06-02 09:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:18: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-06-02 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 09:18: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-06-02 09: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-06-02 09:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775234816001,"66":13135,"163":206,"87":13824,"24":0,"16":87831076180852736,"45":8804466928191821824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775234816001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:18:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:18:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831076180852736,"km_value":87831076180852.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804466928191821824,"description":"Unknown IO ID 45"} 
[2026-06-02 09:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775234816001,"power":13135,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804466928191821824}} 
[2026-06-02 09:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":89672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:18:17] local.INFO: GPS data processed {"connection_id":89672,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:18:17] local.INFO: Acknowledgment sent {"connection_id":89672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:18:48] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86719c08012d7a2fc005eb8c58000c00ef2d..."} 
[2026-06-02 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86719c08012d7a2fc005eb8c58000c00ef2d..."} 
[2026-06-02 09:18:48] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86719c08012d7a2fc005eb8c58000c00ef2d..."} 
[2026-06-02 09:18:48] local.INFO: Packet analysis {"connection_id":89672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8671"} 
[2026-06-02 09:18:48] local.INFO: Extracted packet for processing {"connection_id":89672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8671"} 
[2026-06-02 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":762982336,"raw_latitude":99322968,"longitude_deg":76.2982336,"latitude_deg":9.9322968,"altitude":12,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2d7a2fc0","hex_latitude":"05eb8c58","is_valid_coordinates":true} 
[2026-06-02 09:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775240192001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831076180852736,"note":"Value kept but may cause issues"} 
[2026-06-02 09:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804466928191821824,"note":"Value kept but may cause issues"} 
[2026-06-02 09:18:48] 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-06-02 09:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780372053000,"timestamp_ms":1780372053000,"timestamp_seconds":1780372053,"priority":1,"record_length":96,"hex_timestamp":"0000019e86719c08"} 
[2026-06-02 09:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 09:18:48] 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-06-02 09:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775240192001,"66":12602,"163":206,"87":13824,"24":0,"16":87831076180852736,"45":8804466928191821824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775240192001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:18:48] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:18:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831076180852736,"km_value":87831076180852.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804466928191821824,"description":"Unknown IO ID 45"} 
[2026-06-02 09:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775240192001,"power":12602,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804466928191821824}} 
[2026-06-02 09:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":89672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:18:49] local.INFO: GPS data processed {"connection_id":89672,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:18:49] local.INFO: Acknowledgment sent {"connection_id":89672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:19:13] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:13] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:13] local.INFO: IMEI packet received {"connection_id":89673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":89673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:19:13] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:13] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:13] local.INFO: IMEI packet received {"connection_id":89673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":89673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:19:18] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:18] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:19:18] local.INFO: IMEI packet received {"connection_id":89673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":89673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:19:19] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8671ee10012d7a2fc005eb8c58000c00ef2e..."} 
[2026-06-02 09:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8671ee10012d7a2fc005eb8c58000c00ef2e..."} 
[2026-06-02 09:19:19] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8671ee10012d7a2fc005eb8c58000c00ef2e..."} 
[2026-06-02 09:19:19] local.INFO: Packet analysis {"connection_id":89673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8671"} 
[2026-06-02 09:19:19] local.INFO: Extracted packet for processing {"connection_id":89673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8671"} 
[2026-06-02 09:19:19] local.INFO: GPS Element Parsed {"raw_longitude":762982336,"raw_latitude":99322968,"longitude_deg":76.2982336,"latitude_deg":9.9322968,"altitude":12,"angle":239,"satellites":46,"speed":0,"hex_longitude":"2d7a2fc0","hex_latitude":"05eb8c58","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775245568001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831076180852736,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804466928191821824,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:19] 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-06-02 09:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780372074000,"timestamp_ms":1780372074000,"timestamp_seconds":1780372074,"priority":1,"record_length":96,"hex_timestamp":"0000019e8671ee10"} 
[2026-06-02 09:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:19:19] 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-06-02 09: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":58,"data_length":795,"current_offset":136} 
[2026-06-02 09:19: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-06-02 09: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-06-02 09:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775245568001,"66":13102,"163":206,"87":13824,"24":0,"16":87831076180852736,"45":8804466928191821824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775245568001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:19:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:19:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831076180852736,"km_value":87831076180852.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804466928191821824,"description":"Unknown IO ID 45"} 
[2026-06-02 09:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775245568001,"power":13102,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804466928191821824}} 
[2026-06-02 09:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":89673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:19:19] local.INFO: GPS data processed {"connection_id":89673,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:19:19] local.INFO: Acknowledgment sent {"connection_id":89673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:19:34] local.INFO: TCP Data received {"connection_id":90732,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:19:34] local.INFO: Processing buffer {"connection_id":90732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:19:34] local.INFO: IMEI packet received {"connection_id":90732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":90732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:19:36] local.INFO: TCP Data received {"connection_id":90732,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86729220012d09b94006f26828000c015b2c..."} 
[2026-06-02 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86729220012d09b94006f26828000c015b2c..."} 
[2026-06-02 09:19:36] local.INFO: Processing buffer {"connection_id":90732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86729220012d09b94006f26828000c015b2c..."} 
[2026-06-02 09:19:36] local.INFO: Packet analysis {"connection_id":90732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:19:36] local.INFO: Extracted packet for processing {"connection_id":90732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":755611968,"raw_latitude":116549672,"longitude_deg":75.5611968,"latitude_deg":11.6549672,"altitude":12,"angle":347,"satellites":44,"speed":36,"hex_longitude":"2d09b940","hex_latitude":"06f26828","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775259392001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305330912994787328,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703265259145977856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780372116000,"timestamp_ms":1780372116000,"timestamp_seconds":1780372116,"priority":1,"record_length":96,"hex_timestamp":"0000019e86729220"} 
[2026-06-02 09:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 09:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:19: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-06-02 09:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775259392001,"66":27767,"113":206,"80":6400,"24":36,"16":305330912994787328,"45":703265259145977856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-06-02 09:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775259392001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:19:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 09:19:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305330912994787328,"km_value":305330912994787.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":703265259145977856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775259392001,"power":27767,"unknown_113":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":703265259145977856}} 
[2026-06-02 09:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":90732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:19:36] local.INFO: GPS data processed {"connection_id":90732,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:19:36] local.INFO: Acknowledgment sent {"connection_id":90732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:19:50] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86737898012d7a304005eb8da80005006b2e..."} 
[2026-06-02 09:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86737898012d7a304005eb8da80005006b2e..."} 
[2026-06-02 09:19:50] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86737898012d7a304005eb8da80005006b2e..."} 
[2026-06-02 09:19:50] local.INFO: Packet analysis {"connection_id":89673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:19:50] local.INFO: Extracted packet for processing {"connection_id":89673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:19:50] local.INFO: GPS Element Parsed {"raw_longitude":762982464,"raw_latitude":99323304,"longitude_deg":76.2982464,"latitude_deg":9.9323304,"altitude":5,"angle":107,"satellites":46,"speed":2,"hex_longitude":"2d7a3040","hex_latitude":"05eb8da8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775275776001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831174965100544,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804466928191916032,"note":"Value kept but may cause issues"} 
[2026-06-02 09:19:50] 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-06-02 09:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780372175000,"timestamp_ms":1780372175000,"timestamp_seconds":1780372175,"priority":1,"record_length":96,"hex_timestamp":"0000019e86737898"} 
[2026-06-02 09:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:19:50] 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-06-02 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 09:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775275776001,"66":13319,"163":206,"87":13824,"24":2,"16":87831174965100544,"45":8804466928191916032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775275776001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:19:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:19:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831174965100544,"km_value":87831174965100.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804466928191916032,"description":"Unknown IO ID 45"} 
[2026-06-02 09:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775275776001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8804466928191916032}} 
[2026-06-02 09:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":89673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:19:50] local.INFO: GPS data processed {"connection_id":89673,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:19:50] local.INFO: Acknowledgment sent {"connection_id":89673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:20:07] local.INFO: TCP Data received {"connection_id":90732,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8672b930012d09b04006f28ab0000e01572b..."} 
[2026-06-02 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8672b930012d09b04006f28ab0000e01572b..."} 
[2026-06-02 09:20:07] local.INFO: Processing buffer {"connection_id":90732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8672b930012d09b04006f28ab0000e01572b..."} 
[2026-06-02 09:20:07] local.INFO: Packet analysis {"connection_id":90732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:20:07] local.INFO: Extracted packet for processing {"connection_id":90732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:20:07] local.INFO: GPS Element Parsed {"raw_longitude":755609664,"raw_latitude":116558512,"longitude_deg":75.5609664,"latitude_deg":11.6558512,"altitude":14,"angle":343,"satellites":43,"speed":30,"hex_longitude":"2d09b040","hex_latitude":"06f28ab0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775261696001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305331355376418816,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":700661615613716480,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780372126000,"timestamp_ms":1780372126000,"timestamp_seconds":1780372126,"priority":1,"record_length":96,"hex_timestamp":"0000019e8672b930"} 
[2026-06-02 09:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 09:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775261696001,"66":27865,"82":206,"80":6400,"24":30,"16":305331355376418816,"45":700661615613716480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-06-02 09:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775261696001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:20:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 09:20:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305331355376418816,"km_value":305331355376418.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":700661615613716480,"description":"Unknown IO ID 45"} 
[2026-06-02 09:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775261696001,"power":27865,"unknown_82":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":700661615613716480}} 
[2026-06-02 09:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":90732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:20:07] local.INFO: GPS data processed {"connection_id":90732,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:20:07] local.INFO: Acknowledgment sent {"connection_id":90732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:20:13] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:20:13] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:20:13] local.INFO: IMEI packet received {"connection_id":89512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":89512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:20:18] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:20:18] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:20:18] local.INFO: IMEI packet received {"connection_id":89512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":89512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:20:18] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86738c20012d7a314005eb8d500005007c2e..."} 
[2026-06-02 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86738c20012d7a314005eb8d500005007c2e..."} 
[2026-06-02 09:20:18] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86738c20012d7a314005eb8d500005007c2e..."} 
[2026-06-02 09:20:18] local.INFO: Packet analysis {"connection_id":89512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:20:18] local.INFO: Extracted packet for processing {"connection_id":89512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:20:18] local.INFO: GPS Element Parsed {"raw_longitude":762982720,"raw_latitude":99323216,"longitude_deg":76.298272,"latitude_deg":9.9323216,"altitude":5,"angle":124,"satellites":46,"speed":0,"hex_longitude":"2d7a3140","hex_latitude":"05eb8d50","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775276800001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831187850002432,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804607665680263168,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] 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-06-02 09:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372180000,"timestamp_ms":1780372180000,"timestamp_seconds":1780372180,"priority":1,"record_length":96,"hex_timestamp":"0000019e86738c20"} 
[2026-06-02 09:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:20:18] 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-06-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":9,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2255695456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-8376695285431128832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085549,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2215772311501291525,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,163,87,24,241,157,16,9,158,104,45,192,141,5,46,10,66,85,77,64,1,240,248,227,134,235,4,113,205,58,48,152,239,50,2,56,3,115],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-06-02 09:20:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360405815502438400,"timestamp_seconds":360405815502438.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 09:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775276800001,"66":13319,"163":206,"87":13824,"24":0,"16":87831187850002432,"45":8804607665680263168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775276800001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:20:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:20:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831187850002432,"km_value":87831187850002.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804607665680263168,"description":"Unknown IO ID 45"} 
[2026-06-02 09:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775276800001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804607665680263168}} 
[2026-06-02 09:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":89512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:20:18] local.INFO: GPS data processed {"connection_id":89512,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:20:18] local.INFO: Acknowledgment sent {"connection_id":89512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:20:29] local.INFO: TCP Data received {"connection_id":90734,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:20:29] local.INFO: Processing buffer {"connection_id":90734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:20:29] local.INFO: IMEI packet received {"connection_id":90734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":90734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:20:31] local.INFO: TCP Data received {"connection_id":90734,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:20:31] local.INFO: Processing buffer {"connection_id":90734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:20:31] local.INFO: IMEI packet received {"connection_id":90734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":90734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:20:32] local.INFO: TCP Data received {"connection_id":90734,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8672d0a0012d09acc006f29c70000f00002a..."} 
[2026-06-02 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8672d0a0012d09acc006f29c70000f00002a..."} 
[2026-06-02 09:20:32] local.INFO: Processing buffer {"connection_id":90734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8672d0a0012d09acc006f29c70000f00002a..."} 
[2026-06-02 09:20:32] local.INFO: Packet analysis {"connection_id":90734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:20:32] local.INFO: Extracted packet for processing {"connection_id":90734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:20:32] local.INFO: GPS Element Parsed {"raw_longitude":755608768,"raw_latitude":116563056,"longitude_deg":75.5608768,"latitude_deg":11.6563056,"altitude":15,"angle":0,"satellites":42,"speed":29,"hex_longitude":"2d09acc0","hex_latitude":"06f29c70","is_valid_coordinates":true} 
[2026-06-02 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775264256001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305331583009685504,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698128340825583616,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:32] 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-06-02 09:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780372132000,"timestamp_ms":1780372132000,"timestamp_seconds":1780372132,"priority":1,"record_length":96,"hex_timestamp":"0000019e8672d0a0"} 
[2026-06-02 09:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 09:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775264256001,"66":27843,"82":206,"80":6400,"24":29,"16":305331583009685504,"45":698128340825583616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-06-02 09:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775264256001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:20:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 09:20:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305331583009685504,"km_value":305331583009685.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":698128340825583616,"description":"Unknown IO ID 45"} 
[2026-06-02 09:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775264256001,"power":27843,"unknown_82":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":698128340825583616}} 
[2026-06-02 09:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":90734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:20:32] local.INFO: GPS data processed {"connection_id":90734,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:20:32] local.INFO: Acknowledgment sent {"connection_id":90734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:20:35] local.INFO: TCP Data received {"connection_id":90734,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8672d870012d09ad8006f2a1f00010000e2d..."} 
[2026-06-02 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8672d870012d09ad8006f2a1f00010000e2d..."} 
[2026-06-02 09:20:35] local.INFO: Processing buffer {"connection_id":90734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8672d870012d09ad8006f2a1f00010000e2d..."} 
[2026-06-02 09:20:35] local.INFO: Packet analysis {"connection_id":90734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:20:35] local.INFO: Extracted packet for processing {"connection_id":90734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":755608960,"raw_latitude":116564464,"longitude_deg":75.560896,"latitude_deg":11.6564464,"altitude":16,"angle":14,"satellites":45,"speed":27,"hex_longitude":"2d09ad80","hex_latitude":"06f2a1f0","is_valid_coordinates":true} 
[2026-06-02 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775265792001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305331651729162240,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697143178408259584,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:35] 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-06-02 09:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780372134000,"timestamp_ms":1780372134000,"timestamp_seconds":1780372134,"priority":1,"record_length":96,"hex_timestamp":"0000019e8672d870"} 
[2026-06-02 09:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 09:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775265792001,"66":27745,"82":206,"80":6400,"24":27,"16":305331651729162240,"45":697143178408259584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-06-02 09:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775265792001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:20:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 09:20:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305331651729162240,"km_value":305331651729162.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":697143178408259584,"description":"Unknown IO ID 45"} 
[2026-06-02 09:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775265792001,"power":27745,"unknown_82":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":697143178408259584}} 
[2026-06-02 09:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":90734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:20:35] local.INFO: GPS data processed {"connection_id":90734,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:20:35] local.INFO: Acknowledgment sent {"connection_id":90734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:20:49] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e86739008012d7a314005eb8d400005008a2e..."} 
[2026-06-02 09:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86739008012d7a314005eb8d400005008a2e..."} 
[2026-06-02 09:20:49] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86739008012d7a314005eb8d400005008a2e..."} 
[2026-06-02 09:20:49] local.INFO: Packet analysis {"connection_id":89512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:20:49] local.INFO: Extracted packet for processing {"connection_id":89512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":762982720,"raw_latitude":99323200,"longitude_deg":76.298272,"latitude_deg":9.93232,"altitude":5,"angle":138,"satellites":46,"speed":0,"hex_longitude":"2d7a3140","hex_latitude":"05eb8d40","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775278080001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831187850002432,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804889140656951296,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] 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-06-02 09:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372181000,"timestamp_ms":1780372181000,"timestamp_seconds":1780372181,"priority":1,"record_length":96,"hex_timestamp":"0000019e86739008"} 
[2026-06-02 09:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2255698456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":9,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-8304637691394052864,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3341672218343997445,"note":"Value kept but may cause issues"} 
[2026-06-02 09:20:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,163,87,24,241,157,16,10,158,120,45,64,141,5,46,66,9,104,192,85,1,240,35,227,134,235,4,113,205,65,48,216,239,2,56,139,115],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-06-02 09:20:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360424507199979520,"timestamp_seconds":360424507199979.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 09:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775278080001,"66":13243,"163":206,"87":13824,"24":0,"16":87831187850002432,"45":8804889140656951296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775278080001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:20:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:20:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831187850002432,"km_value":87831187850002.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804889140656951296,"description":"Unknown IO ID 45"} 
[2026-06-02 09:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775278080001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804889140656951296}} 
[2026-06-02 09:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":89512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:20:49] local.INFO: GPS data processed {"connection_id":89512,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:20:49] local.INFO: Acknowledgment sent {"connection_id":89512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:21:07] local.INFO: TCP Data received {"connection_id":90734,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8672efe0012d09b04006f2b160001201662d..."} 
[2026-06-02 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8672efe0012d09b04006f2b160001201662d..."} 
[2026-06-02 09:21:07] local.INFO: Processing buffer {"connection_id":90734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8672efe0012d09b04006f2b160001201662d..."} 
[2026-06-02 09:21:07] local.INFO: Packet analysis {"connection_id":90734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:21:07] local.INFO: Extracted packet for processing {"connection_id":90734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8672"} 
[2026-06-02 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":755609664,"raw_latitude":116568416,"longitude_deg":75.5609664,"latitude_deg":11.6568416,"altitude":18,"angle":358,"satellites":45,"speed":27,"hex_longitude":"2d09b040","hex_latitude":"06f2b160","is_valid_coordinates":true} 
[2026-06-02 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775266304001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305331845002690560,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697354284641153024,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780372140000,"timestamp_ms":1780372140000,"timestamp_seconds":1780372140,"priority":1,"record_length":96,"hex_timestamp":"0000019e8672efe0"} 
[2026-06-02 09:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 09:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775266304001,"66":27908,"82":206,"80":6400,"24":27,"16":305331845002690560,"45":697354284641153024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-06-02 09:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775266304001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:21:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 09:21:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305331845002690560,"km_value":305331845002690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":697354284641153024,"description":"Unknown IO ID 45"} 
[2026-06-02 09:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775266304001,"power":27908,"unknown_82":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":697354284641153024}} 
[2026-06-02 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":90734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:21:07] local.INFO: GPS data processed {"connection_id":90734,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:21:07] local.INFO: Acknowledgment sent {"connection_id":90734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:21:12] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:21:12] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:21:12] local.INFO: IMEI packet received {"connection_id":89674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":89674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:21:18] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:21:18] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:21:18] local.INFO: IMEI packet received {"connection_id":89674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":89674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:21:18] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8673de28012d7a318005eb8c98000500932d..."} 
[2026-06-02 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8673de28012d7a318005eb8c98000500932d..."} 
[2026-06-02 09:21:18] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8673de28012d7a318005eb8c98000500932d..."} 
[2026-06-02 09:21:18] local.INFO: Packet analysis {"connection_id":89674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:21:18] local.INFO: Extracted packet for processing {"connection_id":89674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:21:18] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":45,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775278336001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804889140656947200,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:18] 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-06-02 09:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372201000,"timestamp_ms":1780372201000,"timestamp_seconds":1780372201,"priority":1,"record_length":96,"hex_timestamp":"0000019e8673de28"} 
[2026-06-02 09:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:21:18] 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-06-02 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 09:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775278336001,"66":13243,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804889140656947200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775278336001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:21:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:21:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804889140656947200,"description":"Unknown IO ID 45"} 
[2026-06-02 09:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775278336001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804889140656947200}} 
[2026-06-02 09:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":89674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:21:18] local.INFO: GPS data processed {"connection_id":89674,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:21:18] local.INFO: Acknowledgment sent {"connection_id":89674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:21:25] local.INFO: TCP Data received {"connection_id":89266,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:21:25] local.INFO: Processing buffer {"connection_id":89266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:21:25] local.INFO: IMEI packet received {"connection_id":89266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":89266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:21:26] local.INFO: TCP Data received {"connection_id":89266,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:21:26] local.INFO: Processing buffer {"connection_id":89266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:21:26] local.INFO: IMEI packet received {"connection_id":89266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":89266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:21:27] local.INFO: TCP Data received {"connection_id":89266,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86731ec0012d09acc006f2d428001601622d..."} 
[2026-06-02 09:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86731ec0012d09acc006f2d428001601622d..."} 
[2026-06-02 09:21:27] local.INFO: Processing buffer {"connection_id":89266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86731ec0012d09acc006f2d428001601622d..."} 
[2026-06-02 09:21:27] local.INFO: Packet analysis {"connection_id":89266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:21:27] local.INFO: Extracted packet for processing {"connection_id":89266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:21:27] local.INFO: GPS Element Parsed {"raw_longitude":755608768,"raw_latitude":116577320,"longitude_deg":75.5608768,"latitude_deg":11.657732,"altitude":22,"angle":354,"satellites":45,"speed":33,"hex_longitude":"2d09acc0","hex_latitude":"06f2d428","is_valid_coordinates":true} 
[2026-06-02 09:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775267840001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305332278794387456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698128340828119040,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:27] 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-06-02 09:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780372152000,"timestamp_ms":1780372152000,"timestamp_seconds":1780372152,"priority":1,"record_length":96,"hex_timestamp":"0000019e86731ec0"} 
[2026-06-02 09:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:21: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-06-02 09:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 09:21: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-06-02 09:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:21: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-06-02 09:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775267840001,"66":27865,"82":206,"80":6400,"24":33,"16":305332278794387456,"45":698128340828119040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-06-02 09:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775267840001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:21:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 09:21:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305332278794387456,"km_value":305332278794387.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":698128340828119040,"description":"Unknown IO ID 45"} 
[2026-06-02 09:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775267840001,"power":27865,"unknown_82":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":698128340828119040}} 
[2026-06-02 09:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":89266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:21:27] local.INFO: GPS data processed {"connection_id":89266,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:21:27] local.INFO: Acknowledgment sent {"connection_id":89266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:21:30] local.INFO: TCP Data received {"connection_id":89266,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e867345d0012d09a98006f2f8a0001801632e..."} 
[2026-06-02 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867345d0012d09a98006f2f8a0001801632e..."} 
[2026-06-02 09:21:30] local.INFO: Processing buffer {"connection_id":89266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867345d0012d09a98006f2f8a0001801632e..."} 
[2026-06-02 09:21:30] local.INFO: Packet analysis {"connection_id":89266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:21:30] local.INFO: Extracted packet for processing {"connection_id":89266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8673"} 
[2026-06-02 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":755607936,"raw_latitude":116586656,"longitude_deg":75.5607936,"latitude_deg":11.6586656,"altitude":24,"angle":355,"satellites":46,"speed":38,"hex_longitude":"2d09a980","hex_latitude":"06f2f8a0","is_valid_coordinates":true} 
[2026-06-02 09:21: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-06-02 09:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775270912001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305332734060920832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697143178411911168,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:30] 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-06-02 09:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780372162000,"timestamp_ms":1780372162000,"timestamp_seconds":1780372162,"priority":1,"record_length":96,"hex_timestamp":"0000019e867345d0"} 
[2026-06-02 09:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:21: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-06-02 09:21: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-06-02 09:21: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-06-02 09:21: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-06-02 09:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775270912001,"66":27865,"82":206,"80":6400,"24":38,"16":305332734060920832,"45":697143178411911168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-06-02 09:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775270912001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:21:30] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-02 09:21:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305332734060920832,"km_value":305332734060920.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":697143178411911168,"description":"Unknown IO ID 45"} 
[2026-06-02 09:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775270912001,"power":27865,"unknown_82":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":697143178411911168}} 
[2026-06-02 09:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":89266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:21:30] local.INFO: GPS data processed {"connection_id":89266,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:21:30] local.INFO: Acknowledgment sent {"connection_id":89266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:21:50] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86743030012d7a318005eb8c98000500932b..."} 
[2026-06-02 09:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86743030012d7a318005eb8c98000500932b..."} 
[2026-06-02 09:21:50] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86743030012d7a318005eb8c98000500932b..."} 
[2026-06-02 09:21:50] local.INFO: Packet analysis {"connection_id":89674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:21:50] local.INFO: Extracted packet for processing {"connection_id":89674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:21:50] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":43,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775283456001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:21:50] 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-06-02 09:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780372222000,"timestamp_ms":1780372222000,"timestamp_seconds":1780372222,"priority":1,"record_length":96,"hex_timestamp":"0000019e86743030"} 
[2026-06-02 09:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:21:50] 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-06-02 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 09:21:50] 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-06-02 09: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-06-02 09:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775283456001,"66":13091,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775283456001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:21:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:21:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775283456001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":89674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:21:50] local.INFO: GPS data processed {"connection_id":89674,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:21:50] local.INFO: Acknowledgment sent {"connection_id":89674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:22:18] local.INFO: TCP Data received {"connection_id":90735,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:22:18] local.INFO: Processing buffer {"connection_id":90735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:22:18] local.INFO: IMEI packet received {"connection_id":90735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":90735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:22:19] local.INFO: TCP Data received {"connection_id":89267,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:22:19] local.INFO: Processing buffer {"connection_id":89267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:22:19] local.INFO: IMEI packet received {"connection_id":89267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":89267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:22:22] local.INFO: TCP Data received {"connection_id":90735,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:22:22] local.INFO: Processing buffer {"connection_id":90735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:22:22] local.INFO: IMEI packet received {"connection_id":90735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":90735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:22:23] local.INFO: TCP Data received {"connection_id":90735,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e86745f10012d7a318005eb8c980005009329..."} 
[2026-06-02 09:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86745f10012d7a318005eb8c980005009329..."} 
[2026-06-02 09:22:23] local.INFO: Processing buffer {"connection_id":90735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86745f10012d7a318005eb8c980005009329..."} 
[2026-06-02 09:22:23] local.INFO: Packet analysis {"connection_id":90735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:22:23] local.INFO: Extracted packet for processing {"connection_id":90735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:22:23] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":41,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09:22: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-06-02 09:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:23] 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-06-02 09:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780372234000,"timestamp_ms":1780372234000,"timestamp_seconds":1780372234,"priority":1,"record_length":96,"hex_timestamp":"0000019e86745f10"} 
[2026-06-02 09:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:22:23] 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-06-02 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 09:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":90735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":90735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":90735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:22:23] 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-06-02 09:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775288832001,"66":13091,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:22:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:22:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775288832001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":90735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:22:23] local.INFO: GPS data processed {"connection_id":90735,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:22:23] local.INFO: Acknowledgment sent {"connection_id":90735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:22:28] local.INFO: TCP Data received {"connection_id":90735,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e86745f10012d7a318005eb8c980005009329..."} 
[2026-06-02 09:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86745f10012d7a318005eb8c980005009329..."} 
[2026-06-02 09:22:28] local.INFO: Processing buffer {"connection_id":90735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86745f10012d7a318005eb8c980005009329..."} 
[2026-06-02 09:22:28] local.INFO: Packet analysis {"connection_id":90735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:22:28] local.INFO: Extracted packet for processing {"connection_id":90735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:22:28] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":41,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09:22:28] 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-06-02 09:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775291904001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:28] 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-06-02 09:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780372234000,"timestamp_ms":1780372234000,"timestamp_seconds":1780372234,"priority":1,"record_length":96,"hex_timestamp":"0000019e86745f10"} 
[2026-06-02 09:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 09:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:22:28] 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-06-02 09:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775291904001,"66":13091,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775291904001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:22:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:22:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775291904001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":90735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:22:28] local.INFO: GPS data processed {"connection_id":90735,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:22:28] local.INFO: Acknowledgment sent {"connection_id":90735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:22:39] local.INFO: TCP Data received {"connection_id":89268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:39] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:39] local.INFO: IMEI packet received {"connection_id":89268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":89268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:22:42] local.INFO: TCP Data received {"connection_id":89268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:42] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:42] local.INFO: IMEI packet received {"connection_id":89268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":89268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:22:45] local.INFO: TCP Data received {"connection_id":89268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:45] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:22:45] local.INFO: IMEI packet received {"connection_id":89268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":89268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:22:46] local.INFO: TCP Data received {"connection_id":89268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86757c38012d08f5c006f4fa08000c01202f..."} 
[2026-06-02 09:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86757c38012d08f5c006f4fa08000c01202f..."} 
[2026-06-02 09:22:46] local.INFO: Processing buffer {"connection_id":89268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86757c38012d08f5c006f4fa08000c01202f..."} 
[2026-06-02 09:22:46] local.INFO: Packet analysis {"connection_id":89268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:22:46] local.INFO: Extracted packet for processing {"connection_id":89268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:22:46] local.INFO: GPS Element Parsed {"raw_longitude":755561920,"raw_latitude":116718088,"longitude_deg":75.556192,"latitude_deg":11.6718088,"altitude":12,"angle":288,"satellites":47,"speed":15,"hex_longitude":"2d08f5c0","hex_latitude":"06f4fa08","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775310080001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305339627483430912,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646477682639943680,"note":"Value kept but may cause issues"} 
[2026-06-02 09:22:46] 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-06-02 09:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780372307000,"timestamp_ms":1780372307000,"timestamp_seconds":1780372307,"priority":1,"record_length":96,"hex_timestamp":"0000019e86757c38"} 
[2026-06-02 09:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:22: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-06-02 09: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 09:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775310080001,"66":27919,"42":206,"80":6400,"24":15,"16":305339627483430912,"45":646477682639943680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775310080001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:22:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:22:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305339627483430912,"km_value":305339627483430.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":646477682639943680,"description":"Unknown IO ID 45"} 
[2026-06-02 09:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775310080001,"power":27919,"unknown_42":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":646477682639943680}} 
[2026-06-02 09:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":89268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:22:46] local.INFO: GPS data processed {"connection_id":89268,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:22:46] local.INFO: Acknowledgment sent {"connection_id":89268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:23:04] local.INFO: TCP Data received {"connection_id":90736,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:23:04] local.INFO: Processing buffer {"connection_id":90736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:23:04] local.INFO: IMEI packet received {"connection_id":90736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":90736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:23:13] local.INFO: TCP Data received {"connection_id":89514,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:23:13] local.INFO: Processing buffer {"connection_id":89514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:23:13] local.INFO: IMEI packet received {"connection_id":89514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":89514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:23:18] local.INFO: TCP Data received {"connection_id":89514,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:23:18] local.INFO: Processing buffer {"connection_id":89514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:23:18] local.INFO: IMEI packet received {"connection_id":89514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":89514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:23:18] local.INFO: TCP Data received {"connection_id":89514,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:23:18] local.INFO: Processing buffer {"connection_id":89514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:23:18] local.INFO: Packet analysis {"connection_id":89514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:23:18] local.INFO: Extracted packet for processing {"connection_id":89514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:23:18] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":42,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09:23: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-06-02 09:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775291904001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:18] 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-06-02 09:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372236000,"timestamp_ms":1780372236000,"timestamp_seconds":1780372236,"priority":1,"record_length":96,"hex_timestamp":"0000019e867466e0"} 
[2026-06-02 09:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 09:23:18] 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-06-02 09: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-06-02 09:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:23:18] 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-06-02 09:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775291904001,"66":12461,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775291904001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:23:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:23:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775291904001,"power":12461,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":89514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:23:18] local.INFO: GPS data processed {"connection_id":89514,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:23:18] local.INFO: Acknowledgment sent {"connection_id":89514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:23:27] local.INFO: TCP Data received {"connection_id":89269,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:27] local.INFO: Processing buffer {"connection_id":89269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:27] local.INFO: IMEI packet received {"connection_id":89269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":89269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:23:29] local.INFO: TCP Data received {"connection_id":89269,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:29] local.INFO: Processing buffer {"connection_id":89269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:29] local.INFO: IMEI packet received {"connection_id":89269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:23:33] local.INFO: TCP Data received {"connection_id":89269,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:33] local.INFO: Processing buffer {"connection_id":89269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:23:33] local.INFO: IMEI packet received {"connection_id":89269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":89269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:23:34] local.INFO: TCP Data received {"connection_id":89269,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86758bd8012d08ee4006f4fd18000c012d2d..."} 
[2026-06-02 09:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86758bd8012d08ee4006f4fd18000c012d2d..."} 
[2026-06-02 09:23:34] local.INFO: Processing buffer {"connection_id":89269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86758bd8012d08ee4006f4fd18000c012d2d..."} 
[2026-06-02 09:23:34] local.INFO: Packet analysis {"connection_id":89269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:23:34] local.INFO: Extracted packet for processing {"connection_id":89269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:23:34] local.INFO: GPS Element Parsed {"raw_longitude":755560000,"raw_latitude":116718872,"longitude_deg":75.556,"latitude_deg":11.6718872,"altitude":12,"angle":301,"satellites":45,"speed":25,"hex_longitude":"2d08ee40","hex_latitude":"06f4fd18","is_valid_coordinates":true} 
[2026-06-02 09:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775310592001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305339726267678720,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":645633257709897728,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:34] 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-06-02 09:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780372311000,"timestamp_ms":1780372311000,"timestamp_seconds":1780372311,"priority":1,"record_length":96,"hex_timestamp":"0000019e86758bd8"} 
[2026-06-02 09:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:23: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-06-02 09:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 09:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:23:34] 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-06-02 09:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775310592001,"66":27995,"42":206,"80":6400,"24":25,"16":305339726267678720,"45":645633257709897728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775310592001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:23:34] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:23:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305339726267678720,"km_value":305339726267678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":645633257709897728,"description":"Unknown IO ID 45"} 
[2026-06-02 09:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775310592001,"power":27995,"unknown_42":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":645633257709897728}} 
[2026-06-02 09:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":89269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:23:34] local.INFO: GPS data processed {"connection_id":89269,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:23:34] local.INFO: Acknowledgment sent {"connection_id":89269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:23:35] local.INFO: TCP Data received {"connection_id":89269,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86759790012d08e7c006f50228000c013a30..."} 
[2026-06-02 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86759790012d08e7c006f50228000c013a30..."} 
[2026-06-02 09:23:35] local.INFO: Processing buffer {"connection_id":89269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86759790012d08e7c006f50228000c013a30..."} 
[2026-06-02 09:23:35] local.INFO: Packet analysis {"connection_id":89269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:23:35] local.INFO: Extracted packet for processing {"connection_id":89269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:23:35] local.INFO: GPS Element Parsed {"raw_longitude":755558336,"raw_latitude":116720168,"longitude_deg":75.5558336,"latitude_deg":11.6720168,"altitude":12,"angle":314,"satellites":48,"speed":29,"hex_longitude":"2d08e7c0","hex_latitude":"06f50228","is_valid_coordinates":true} 
[2026-06-02 09:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775311616001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305339829346893824,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":643522195384768512,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:35] 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-06-02 09:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780372314000,"timestamp_ms":1780372314000,"timestamp_seconds":1780372314,"priority":1,"record_length":96,"hex_timestamp":"0000019e86759790"} 
[2026-06-02 09:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:23: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-06-02 09:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 09:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775311616001,"66":27876,"42":206,"80":6400,"24":29,"16":305339829346893824,"45":643522195384768512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775311616001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:23:35] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:23:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305339829346893824,"km_value":305339829346893.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":643522195384768512,"description":"Unknown IO ID 45"} 
[2026-06-02 09:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775311616001,"power":27876,"unknown_42":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":643522195384768512}} 
[2026-06-02 09:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":89269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:23:35] local.INFO: GPS data processed {"connection_id":89269,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:23:35] local.INFO: Acknowledgment sent {"connection_id":89269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:23:49] local.INFO: TCP Data received {"connection_id":89514,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:23:49] local.INFO: Processing buffer {"connection_id":89514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:23:49] local.INFO: Packet analysis {"connection_id":89514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:23:49] local.INFO: Extracted packet for processing {"connection_id":89514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:23:49] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":42,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09:23: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-06-02 09:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:23:49] 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-06-02 09:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372236000,"timestamp_ms":1780372236000,"timestamp_seconds":1780372236,"priority":1,"record_length":96,"hex_timestamp":"0000019e867466e0"} 
[2026-06-02 09:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:23:49] 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-06-02 09:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":12461,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:23:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:23:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":12461,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":89514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:23:49] local.INFO: GPS data processed {"connection_id":89514,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:23:49] local.INFO: Acknowledgment sent {"connection_id":89514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:24:06] local.INFO: TCP Data received {"connection_id":89269,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8675bea0012d08d04006f51bf0000b01432f..."} 
[2026-06-02 09:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8675bea0012d08d04006f51bf0000b01432f..."} 
[2026-06-02 09:24:06] local.INFO: Processing buffer {"connection_id":89269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8675bea0012d08d04006f51bf0000b01432f..."} 
[2026-06-02 09:24:06] local.INFO: Packet analysis {"connection_id":89269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:24:06] local.INFO: Extracted packet for processing {"connection_id":89269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8675"} 
[2026-06-02 09:24:06] local.INFO: GPS Element Parsed {"raw_longitude":755552320,"raw_latitude":116726768,"longitude_deg":75.555232,"latitude_deg":11.6726768,"altitude":11,"angle":323,"satellites":47,"speed":38,"hex_longitude":"2d08d040","hex_latitude":"06f51bf0","is_valid_coordinates":true} 
[2026-06-02 09:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775312384001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305340258843623424,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":641692608036481024,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:06] 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-06-02 09:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780372324000,"timestamp_ms":1780372324000,"timestamp_seconds":1780372324,"priority":1,"record_length":96,"hex_timestamp":"0000019e8675bea0"} 
[2026-06-02 09:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775312384001,"66":27321,"42":206,"80":6400,"24":38,"16":305340258843623424,"45":641692608036481024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775312384001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:24:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:24:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305340258843623424,"km_value":305340258843623.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":641692608036481024,"description":"Unknown IO ID 45"} 
[2026-06-02 09:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775312384001,"power":27321,"unknown_42":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":641692608036481024}} 
[2026-06-02 09:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":89269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:24:06] local.INFO: GPS data processed {"connection_id":89269,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:24:06] local.INFO: Acknowledgment sent {"connection_id":89269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:24:13] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:24:13] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:24:13] local.INFO: IMEI packet received {"connection_id":89675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":89675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:24:18] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:24:18] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:24:18] local.INFO: IMEI packet received {"connection_id":89675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":89675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:24:18] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:24:18] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:24:18] local.INFO: Packet analysis {"connection_id":89675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:24:18] local.INFO: Extracted packet for processing {"connection_id":89675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:24:18] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":42,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09:24: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-06-02 09:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:18] 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-06-02 09:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372236000,"timestamp_ms":1780372236000,"timestamp_seconds":1780372236,"priority":1,"record_length":96,"hex_timestamp":"0000019e867466e0"} 
[2026-06-02 09:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:24: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-06-02 09: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-06-02 09:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":12461,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:24:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:24:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":12461,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":89675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:24:18] local.INFO: GPS data processed {"connection_id":89675,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:24:18] local.INFO: Acknowledgment sent {"connection_id":89675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:24:24] local.INFO: TCP Data received {"connection_id":89516,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:24:24] local.INFO: Processing buffer {"connection_id":89516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:24:24] local.INFO: IMEI packet received {"connection_id":89516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":89516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:24:28] local.INFO: TCP Data received {"connection_id":89516,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:24:28] local.INFO: Processing buffer {"connection_id":89516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:24:28] local.INFO: IMEI packet received {"connection_id":89516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":89516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:24:29] local.INFO: TCP Data received {"connection_id":89516,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867702d8012d07d70006f652f8000d01342e..."} 
[2026-06-02 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867702d8012d07d70006f652f8000d01342e..."} 
[2026-06-02 09:24:29] local.INFO: Processing buffer {"connection_id":89516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867702d8012d07d70006f652f8000d01342e..."} 
[2026-06-02 09:24:29] local.INFO: Packet analysis {"connection_id":89516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:24:29] local.INFO: Extracted packet for processing {"connection_id":89516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":755488512,"raw_latitude":116806392,"longitude_deg":75.5488512,"latitude_deg":11.6806392,"altitude":13,"angle":308,"satellites":46,"speed":28,"hex_longitude":"2d07d700","hex_latitude":"06f652f8","is_valid_coordinates":true} 
[2026-06-02 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775334144001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305345176581177344,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571816445088405504,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:29] 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-06-02 09:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780372407000,"timestamp_ms":1780372407000,"timestamp_seconds":1780372407,"priority":1,"record_length":96,"hex_timestamp":"0000019e867702d8"} 
[2026-06-02 09:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:24: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-06-02 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 09:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:24:29] 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-06-02 09:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775334144001,"66":27767,"42":206,"80":6400,"24":28,"16":305345176581177344,"45":571816445088405504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775334144001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:24:29] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:24:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305345176581177344,"km_value":305345176581177.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":571816445088405504,"description":"Unknown IO ID 45"} 
[2026-06-02 09:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775334144001,"power":27767,"unknown_42":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":571816445088405504}} 
[2026-06-02 09:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":89516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:24:29] local.INFO: GPS data processed {"connection_id":89516,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:24:29] local.INFO: Acknowledgment sent {"connection_id":89516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:24:30] local.INFO: TCP Data received {"connection_id":89516,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86770e90012d07d10006f658b8000d01412e..."} 
[2026-06-02 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86770e90012d07d10006f658b8000d01412e..."} 
[2026-06-02 09:24:30] local.INFO: Processing buffer {"connection_id":89516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86770e90012d07d10006f658b8000d01412e..."} 
[2026-06-02 09:24:30] local.INFO: Packet analysis {"connection_id":89516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:24:30] local.INFO: Extracted packet for processing {"connection_id":89516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:24:30] local.INFO: GPS Element Parsed {"raw_longitude":755486976,"raw_latitude":116807864,"longitude_deg":75.5486976,"latitude_deg":11.6807864,"altitude":13,"angle":321,"satellites":46,"speed":28,"hex_longitude":"2d07d100","hex_latitude":"06f658b8","is_valid_coordinates":true} 
[2026-06-02 09:24: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-06-02 09:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775336192001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305345279660392448,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564920308160722944,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:30] 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-06-02 09:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780372410000,"timestamp_ms":1780372410000,"timestamp_seconds":1780372410,"priority":1,"record_length":96,"hex_timestamp":"0000019e86770e90"} 
[2026-06-02 09:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:24: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-06-02 09:24: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 09:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:24: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-06-02 09:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:24:30] 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-06-02 09:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775336192001,"66":27800,"42":206,"80":6400,"24":28,"16":305345279660392448,"45":564920308160722944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775336192001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:24:30] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:24:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305345279660392448,"km_value":305345279660392.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":564920308160722944,"description":"Unknown IO ID 45"} 
[2026-06-02 09:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775336192001,"power":27800,"unknown_42":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":564920308160722944}} 
[2026-06-02 09:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":89516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:24:30] local.INFO: GPS data processed {"connection_id":89516,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:24:30] local.INFO: Acknowledgment sent {"connection_id":89516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:24:49] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:24:49] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:24:49] local.INFO: Packet analysis {"connection_id":89675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:24:49] local.INFO: Extracted packet for processing {"connection_id":89675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:24:49] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":42,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09:24: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-06-02 09:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:24:49] 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-06-02 09:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372236000,"timestamp_ms":1780372236000,"timestamp_seconds":1780372236,"priority":1,"record_length":96,"hex_timestamp":"0000019e867466e0"} 
[2026-06-02 09:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":12461,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:24:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:24:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":12461,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":89675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:24:49] local.INFO: GPS data processed {"connection_id":89675,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:24:49] local.INFO: Acknowledgment sent {"connection_id":89675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:25:01] local.INFO: TCP Data received {"connection_id":89516,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86773988012d07bac006f67400000d01412d..."} 
[2026-06-02 09:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86773988012d07bac006f67400000d01412d..."} 
[2026-06-02 09:25:01] local.INFO: Processing buffer {"connection_id":89516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86773988012d07bac006f67400000d01412d..."} 
[2026-06-02 09:25:01] local.INFO: Packet analysis {"connection_id":89516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:25:01] local.INFO: Extracted packet for processing {"connection_id":89516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:25:01] local.INFO: GPS Element Parsed {"raw_longitude":755481280,"raw_latitude":116814848,"longitude_deg":75.548128,"latitude_deg":11.6814848,"altitude":13,"angle":321,"satellites":45,"speed":35,"hex_longitude":"2d07bac0","hex_latitude":"06f67400","is_valid_coordinates":true} 
[2026-06-02 09:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775336960001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305345713452089344,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":563231458300835840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:01] 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-06-02 09:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780372421000,"timestamp_ms":1780372421000,"timestamp_seconds":1780372421,"priority":1,"record_length":96,"hex_timestamp":"0000019e86773988"} 
[2026-06-02 09:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:25: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-06-02 09:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:25: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-06-02 09:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775336960001,"66":28017,"42":206,"80":6400,"24":35,"16":305345713452089344,"45":563231458300835840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775336960001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:25:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:25:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305345713452089344,"km_value":305345713452089.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":563231458300835840,"description":"Unknown IO ID 45"} 
[2026-06-02 09:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775336960001,"power":28017,"unknown_42":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":563231458300835840}} 
[2026-06-02 09:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":89516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:25:01] local.INFO: GPS data processed {"connection_id":89516,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:25:01] local.INFO: Acknowledgment sent {"connection_id":89516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:25:13] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:25:13] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:25:13] local.INFO: IMEI packet received {"connection_id":89676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":89676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:25:18] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:25:18] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:25:18] local.INFO: IMEI packet received {"connection_id":89676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":89676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:25:18] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:25:18] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867466e0012d7a318005eb8c98000500932a..."} 
[2026-06-02 09:25:18] local.INFO: Packet analysis {"connection_id":89676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:25:18] local.INFO: Extracted packet for processing {"connection_id":89676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8674"} 
[2026-06-02 09:25:18] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":99323032,"longitude_deg":76.2982784,"latitude_deg":9.9323032,"altitude":5,"angle":147,"satellites":42,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05eb8c98","is_valid_coordinates":true} 
[2026-06-02 09:25: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-06-02 09:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:18] 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-06-02 09:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372236000,"timestamp_ms":1780372236000,"timestamp_seconds":1780372236,"priority":1,"record_length":96,"hex_timestamp":"0000019e867466e0"} 
[2026-06-02 09:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:25: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-06-02 09: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-06-02 09:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":12461,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:25:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:25:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":12461,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":89676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:25:18] local.INFO: GPS data processed {"connection_id":89676,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:25:18] local.INFO: Acknowledgment sent {"connection_id":89676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:25:21] local.INFO: TCP Data received {"connection_id":90738,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:21] local.INFO: Processing buffer {"connection_id":90738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:21] local.INFO: IMEI packet received {"connection_id":90738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":90738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:25:25] local.INFO: TCP Data received {"connection_id":90738,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:25] local.INFO: Processing buffer {"connection_id":90738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:25] local.INFO: IMEI packet received {"connection_id":90738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":90738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:25:29] local.INFO: TCP Data received {"connection_id":90738,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:29] local.INFO: Processing buffer {"connection_id":90738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:25:29] local.INFO: IMEI packet received {"connection_id":90738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":90738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:25:30] local.INFO: TCP Data received {"connection_id":90738,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86775cb0012d07a44006f68f18000d01412e..."} 
[2026-06-02 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86775cb0012d07a44006f68f18000d01412e..."} 
[2026-06-02 09:25:30] local.INFO: Processing buffer {"connection_id":90738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86775cb0012d07a44006f68f18000d01412e..."} 
[2026-06-02 09:25:30] local.INFO: Packet analysis {"connection_id":90738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:25:30] local.INFO: Extracted packet for processing {"connection_id":90738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:25:30] local.INFO: GPS Element Parsed {"raw_longitude":755475520,"raw_latitude":116821784,"longitude_deg":75.547552,"latitude_deg":11.6821784,"altitude":13,"angle":321,"satellites":46,"speed":41,"hex_longitude":"2d07a440","hex_latitude":"06f68f18","is_valid_coordinates":true} 
[2026-06-02 09:25: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-06-02 09:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775339776001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305346147243786240,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":556968640070811648,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:30] 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-06-02 09:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780372430000,"timestamp_ms":1780372430000,"timestamp_seconds":1780372430,"priority":1,"record_length":96,"hex_timestamp":"0000019e86775cb0"} 
[2026-06-02 09:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:25: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-06-02 09:25: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":113,"data_length":795,"current_offset":136} 
[2026-06-02 09:25:30] 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-06-02 09:25: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-06-02 09:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:25:30] 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-06-02 09:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775339776001,"66":27995,"42":206,"80":6400,"24":41,"16":305346147243786240,"45":556968640070811648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775339776001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:25:30] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:25:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305346147243786240,"km_value":305346147243786.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":556968640070811648,"description":"Unknown IO ID 45"} 
[2026-06-02 09:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775339776001,"power":27995,"unknown_42":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":556968640070811648}} 
[2026-06-02 09:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":90738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:25:30] local.INFO: GPS data processed {"connection_id":90738,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:25:30] local.INFO: Acknowledgment sent {"connection_id":90738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:25:49] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:25:49] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:25:49] local.INFO: Packet analysis {"connection_id":89676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:25:49] local.INFO: Extracted packet for processing {"connection_id":89676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:25:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:25:49] 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-06-02 09:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:25:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:25:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":89676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:25:50] local.INFO: GPS data processed {"connection_id":89676,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:25:50] local.INFO: Acknowledgment sent {"connection_id":89676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:26:01] local.INFO: TCP Data received {"connection_id":90738,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86777bf0012d078e0006f6aa00000e01402e..."} 
[2026-06-02 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86777bf0012d078e0006f6aa00000e01402e..."} 
[2026-06-02 09:26:01] local.INFO: Processing buffer {"connection_id":90738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86777bf0012d078e0006f6aa00000e01402e..."} 
[2026-06-02 09:26:01] local.INFO: Packet analysis {"connection_id":90738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:26:01] local.INFO: Extracted packet for processing {"connection_id":90738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:26:01] local.INFO: GPS Element Parsed {"raw_longitude":755469824,"raw_latitude":116828672,"longitude_deg":75.5469824,"latitude_deg":11.6828672,"altitude":14,"angle":320,"satellites":46,"speed":46,"hex_longitude":"2d078e00","hex_latitude":"06f6aa00","is_valid_coordinates":true} 
[2026-06-02 09:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775342080001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305346576740515840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":550635453096597504,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:01] 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-06-02 09:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780372438000,"timestamp_ms":1780372438000,"timestamp_seconds":1780372438,"priority":1,"record_length":96,"hex_timestamp":"0000019e86777bf0"} 
[2026-06-02 09:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:26: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-06-02 09:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 09:26:01] 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-06-02 09:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:26: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-06-02 09:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775342080001,"66":27919,"42":206,"80":6400,"24":46,"16":305346576740515840,"45":550635453096597504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775342080001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:26:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:26:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305346576740515840,"km_value":305346576740515.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":550635453096597504,"description":"Unknown IO ID 45"} 
[2026-06-02 09:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775342080001,"power":27919,"unknown_42":206,"unknown_80":6400,"ignition":46,"odometer":null,"unknown_45":550635453096597504}} 
[2026-06-02 09:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":90738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:26:01] local.INFO: GPS data processed {"connection_id":90738,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:26:01] local.INFO: Acknowledgment sent {"connection_id":90738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:26:12] local.INFO: TCP Data received {"connection_id":90739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:26:12] local.INFO: Processing buffer {"connection_id":90739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:26:12] local.INFO: IMEI packet received {"connection_id":90739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":90739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:26:18] local.INFO: TCP Data received {"connection_id":90739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:26:18] local.INFO: Processing buffer {"connection_id":90739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:26:18] local.INFO: IMEI packet received {"connection_id":90739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":90739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:26:18] local.INFO: TCP Data received {"connection_id":90739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:26:18] local.INFO: Processing buffer {"connection_id":90739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:26:18] local.INFO: Packet analysis {"connection_id":90739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:26:18] local.INFO: Extracted packet for processing {"connection_id":90739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:26:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:18] 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-06-02 09:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:26: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-06-02 09: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-06-02 09:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:26:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:26:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":90739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:26:18] local.INFO: GPS data processed {"connection_id":90739,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:26:18] local.INFO: Acknowledgment sent {"connection_id":90739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:26:26] local.INFO: TCP Data received {"connection_id":90740,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:26:26] local.INFO: Processing buffer {"connection_id":90740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:26:26] local.INFO: IMEI packet received {"connection_id":90740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":90740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:26:27] local.INFO: TCP Data received {"connection_id":90740,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:26:27] local.INFO: Processing buffer {"connection_id":90740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:26:27] local.INFO: IMEI packet received {"connection_id":90740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":90740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:26:29] local.INFO: TCP Data received {"connection_id":90740,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86779b30012d07754006f6c698000d013f2a..."} 
[2026-06-02 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86779b30012d07754006f6c698000d013f2a..."} 
[2026-06-02 09:26:29] local.INFO: Processing buffer {"connection_id":90740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86779b30012d07754006f6c698000d013f2a..."} 
[2026-06-02 09:26:29] local.INFO: Packet analysis {"connection_id":90740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:26:29] local.INFO: Extracted packet for processing {"connection_id":90740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:26:29] local.INFO: GPS Element Parsed {"raw_longitude":755463488,"raw_latitude":116835992,"longitude_deg":75.5463488,"latitude_deg":11.6835992,"altitude":13,"angle":319,"satellites":42,"speed":45,"hex_longitude":"2d077540","hex_latitude":"06f6c698","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775344128001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305347040596983808,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":544372634866548736,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:29] 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-06-02 09:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780372446000,"timestamp_ms":1780372446000,"timestamp_seconds":1780372446,"priority":1,"record_length":96,"hex_timestamp":"0000019e86779b30"} 
[2026-06-02 09:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:26: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-06-02 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 09:26: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-06-02 09: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-06-02 09:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:26:29] 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-06-02 09:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775344128001,"66":27876,"42":206,"80":6400,"24":45,"16":305347040596983808,"45":544372634866548736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775344128001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305347040596983808,"km_value":305347040596983.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":544372634866548736,"description":"Unknown IO ID 45"} 
[2026-06-02 09:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775344128001,"power":27876,"unknown_42":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":544372634866548736}} 
[2026-06-02 09:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":90740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:26:29] local.INFO: GPS data processed {"connection_id":90740,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:26:29] local.INFO: Acknowledgment sent {"connection_id":90740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:26:31] local.INFO: TCP Data received {"connection_id":90740,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8677e568012d075f4006f6e1f00010014329..."} 
[2026-06-02 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8677e568012d075f4006f6e1f00010014329..."} 
[2026-06-02 09:26:31] local.INFO: Processing buffer {"connection_id":90740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8677e568012d075f4006f6e1f00010014329..."} 
[2026-06-02 09:26:31] local.INFO: Packet analysis {"connection_id":90740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:26:31] local.INFO: Extracted packet for processing {"connection_id":90740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8677"} 
[2026-06-02 09:26:31] local.INFO: GPS Element Parsed {"raw_longitude":755457856,"raw_latitude":116842992,"longitude_deg":75.5457856,"latitude_deg":11.6842992,"altitude":16,"angle":323,"satellites":41,"speed":0,"hex_longitude":"2d075f40","hex_latitude":"06f6e1f0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775346176001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305347474388680704,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":537406129194833920,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:31] 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-06-02 09:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780372465000,"timestamp_ms":1780372465000,"timestamp_seconds":1780372465,"priority":1,"record_length":96,"hex_timestamp":"0000019e8677e568"} 
[2026-06-02 09:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:26: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-06-02 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:26:31] 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-06-02 09: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-06-02 09:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:26:31] 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-06-02 09:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775346176001,"66":27876,"42":206,"80":6400,"24":0,"16":305347474388680704,"45":537406129194833920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-06-02 09:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775346176001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:26:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 09:26:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305347474388680704,"km_value":305347474388680.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":537406129194833920,"description":"Unknown IO ID 45"} 
[2026-06-02 09:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775346176001,"power":27876,"unknown_42":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":537406129194833920}} 
[2026-06-02 09:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":90740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:26:31] local.INFO: GPS data processed {"connection_id":90740,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:26:31] local.INFO: Acknowledgment sent {"connection_id":90740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:26:49] local.INFO: TCP Data received {"connection_id":90739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:26:49] local.INFO: Processing buffer {"connection_id":90739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:26:49] local.INFO: Packet analysis {"connection_id":90739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:26:49] local.INFO: Extracted packet for processing {"connection_id":90739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:26:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:26:49] 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-06-02 09:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:26:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:26:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":90739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:26:49] local.INFO: GPS data processed {"connection_id":90739,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:26:49] local.INFO: Acknowledgment sent {"connection_id":90739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:27:04] local.INFO: TCP Data received {"connection_id":90740,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86796438012d06544006f81c980009013d2d..."} 
[2026-06-02 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86796438012d06544006f81c980009013d2d..."} 
[2026-06-02 09:27:04] local.INFO: Processing buffer {"connection_id":90740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86796438012d06544006f81c980009013d2d..."} 
[2026-06-02 09:27:04] local.INFO: Packet analysis {"connection_id":90740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:27:04] local.INFO: Extracted packet for processing {"connection_id":90740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":755389504,"raw_latitude":116923544,"longitude_deg":75.5389504,"latitude_deg":11.6923544,"altitude":9,"angle":317,"satellites":45,"speed":59,"hex_longitude":"2d065440","hex_latitude":"06f81c98","is_valid_coordinates":true} 
[2026-06-02 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775374336001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305352559629959168,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":463589316572897280,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780372563000,"timestamp_ms":1780372563000,"timestamp_seconds":1780372563,"priority":1,"record_length":96,"hex_timestamp":"0000019e86796438"} 
[2026-06-02 09:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:27:04] 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-06-02 09:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775374336001,"66":27843,"14":206,"80":6400,"24":59,"16":305352559629959168,"45":463589316572897280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,80,24,16,45]} 
[2026-06-02 09:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775374336001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:27:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-02 09:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305352559629959168,"km_value":305352559629959.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":463589316572897280,"description":"Unknown IO ID 45"} 
[2026-06-02 09:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775374336001,"power":27843,"unknown_14":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":463589316572897280}} 
[2026-06-02 09:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":90740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:27:04] local.INFO: GPS data processed {"connection_id":90740,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:27:04] local.INFO: Acknowledgment sent {"connection_id":90740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:27:18] local.INFO: TCP Data received {"connection_id":89519,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:27:18] local.INFO: Processing buffer {"connection_id":89519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:27:18] local.INFO: IMEI packet received {"connection_id":89519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":89519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:27:23] local.INFO: TCP Data received {"connection_id":89519,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:27:23] local.INFO: Processing buffer {"connection_id":89519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:27:23] local.INFO: IMEI packet received {"connection_id":89519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":89519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:27:23] local.INFO: TCP Data received {"connection_id":89519,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:27:23] local.INFO: Processing buffer {"connection_id":89519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:27:23] local.INFO: Packet analysis {"connection_id":89519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:27:23] local.INFO: Extracted packet for processing {"connection_id":89519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:27:23] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:23] 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-06-02 09:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:27:23] 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-06-02 09:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:27:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:27:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":89519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:27:23] local.INFO: GPS data processed {"connection_id":89519,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:27:23] local.INFO: Acknowledgment sent {"connection_id":89519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:27:28] local.INFO: TCP Data received {"connection_id":89519,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:27:28] local.INFO: Processing buffer {"connection_id":89519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:27:28] local.INFO: Packet analysis {"connection_id":89519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:27:28] local.INFO: Extracted packet for processing {"connection_id":89519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:27:28] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:28] 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-06-02 09:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:27:28] 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-06-02 09:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:27:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:27:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":89519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:27:28] local.INFO: GPS data processed {"connection_id":89519,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:27:28] local.INFO: Acknowledgment sent {"connection_id":89519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:27:37] local.INFO: TCP Data received {"connection_id":90741,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:27:37] local.INFO: Processing buffer {"connection_id":90741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:27:37] local.INFO: IMEI packet received {"connection_id":90741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":90741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:27:39] local.INFO: TCP Data received {"connection_id":90741,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:27:39] local.INFO: Processing buffer {"connection_id":90741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:27:39] local.INFO: IMEI packet received {"connection_id":90741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":90741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:27:40] local.INFO: TCP Data received {"connection_id":90741,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86797f90012d0639c006f839600008013e2c..."} 
[2026-06-02 09:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86797f90012d0639c006f839600008013e2c..."} 
[2026-06-02 09:27:40] local.INFO: Processing buffer {"connection_id":90741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86797f90012d0639c006f839600008013e2c..."} 
[2026-06-02 09:27:40] local.INFO: Packet analysis {"connection_id":90741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:27:40] local.INFO: Extracted packet for processing {"connection_id":90741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:27:40] local.INFO: GPS Element Parsed {"raw_longitude":755382720,"raw_latitude":116930912,"longitude_deg":75.538272,"latitude_deg":11.6930912,"altitude":8,"angle":318,"satellites":44,"speed":51,"hex_longitude":"2d0639c0","hex_latitude":"06f83960","is_valid_coordinates":true} 
[2026-06-02 09:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775376128001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305353040666296320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":456059860947867648,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780372570000,"timestamp_ms":1780372570000,"timestamp_seconds":1780372570,"priority":1,"record_length":96,"hex_timestamp":"0000019e86797f90"} 
[2026-06-02 09:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:27: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-06-02 09:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 09:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775376128001,"66":27800,"14":206,"80":6400,"24":51,"16":305353040666296320,"45":456059860947867648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,80,24,16,45]} 
[2026-06-02 09:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775376128001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:27:40] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-02 09:27:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305353040666296320,"km_value":305353040666296.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":456059860947867648,"description":"Unknown IO ID 45"} 
[2026-06-02 09:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775376128001,"power":27800,"unknown_14":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":456059860947867648}} 
[2026-06-02 09:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":90741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:27:40] local.INFO: GPS data processed {"connection_id":90741,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:27:40] local.INFO: Acknowledgment sent {"connection_id":90741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:27:41] local.INFO: TCP Data received {"connection_id":90741,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8679a2b8012d06214006f853780008013c2e..."} 
[2026-06-02 09:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8679a2b8012d06214006f853780008013c2e..."} 
[2026-06-02 09:27:41] local.INFO: Processing buffer {"connection_id":90741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8679a2b8012d06214006f853780008013c2e..."} 
[2026-06-02 09:27:41] local.INFO: Packet analysis {"connection_id":90741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:27:41] local.INFO: Extracted packet for processing {"connection_id":90741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":755376448,"raw_latitude":116937592,"longitude_deg":75.5376448,"latitude_deg":11.6937592,"altitude":8,"angle":316,"satellites":46,"speed":26,"hex_longitude":"2d062140","hex_latitude":"06f85378","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775377920001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305353478752960512,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":448600774066921472,"note":"Value kept but may cause issues"} 
[2026-06-02 09:27:41] 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-06-02 09:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780372579000,"timestamp_ms":1780372579000,"timestamp_seconds":1780372579,"priority":1,"record_length":96,"hex_timestamp":"0000019e8679a2b8"} 
[2026-06-02 09:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775377920001,"66":27745,"15":206,"80":6400,"24":26,"16":305353478752960512,"45":448600774066921472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-06-02 09:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775377920001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:27:41] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-02 09:27:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305353478752960512,"km_value":305353478752960.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":448600774066921472,"description":"Unknown IO ID 45"} 
[2026-06-02 09:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775377920001,"power":27745,"unknown_15":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":448600774066921472}} 
[2026-06-02 09:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":90741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:27:41] local.INFO: GPS data processed {"connection_id":90741,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:27:41] local.INFO: Acknowledgment sent {"connection_id":90741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:28:13] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:28:13] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:28:13] local.INFO: IMEI packet received {"connection_id":89520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":89520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:28:18] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:28:18] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:28:18] local.INFO: IMEI packet received {"connection_id":89520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":89520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:28:18] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:28:18] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:28:18] local.INFO: Packet analysis {"connection_id":89520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:28:18] local.INFO: Extracted packet for processing {"connection_id":89520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:28:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:18] 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-06-02 09:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:28: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-06-02 09: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-06-02 09:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:28:18] 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-06-02 09:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:28:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:28:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":89520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:28:18] local.INFO: GPS data processed {"connection_id":89520,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:28:18] local.INFO: Acknowledgment sent {"connection_id":89520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:28:29] local.INFO: TCP Data received {"connection_id":89521,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:28:29] local.INFO: Processing buffer {"connection_id":89521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:28:29] local.INFO: IMEI packet received {"connection_id":89521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:28:34] local.INFO: TCP Data received {"connection_id":89677,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:28:34] local.INFO: Processing buffer {"connection_id":89677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:28:34] local.INFO: IMEI packet received {"connection_id":89677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":89677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:28:34] local.INFO: TCP Data received {"connection_id":89521,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:28:34] local.INFO: Processing buffer {"connection_id":89521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:28:34] local.INFO: IMEI packet received {"connection_id":89521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":89521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:28:35] local.INFO: TCP Data received {"connection_id":89521,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8679c5e0012d0610c006f86188000901302e..."} 
[2026-06-02 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8679c5e0012d0610c006f86188000901302e..."} 
[2026-06-02 09:28:35] local.INFO: Processing buffer {"connection_id":89521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8679c5e0012d0610c006f86188000901302e..."} 
[2026-06-02 09:28:35] local.INFO: Packet analysis {"connection_id":89521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:28:35] local.INFO: Extracted packet for processing {"connection_id":89521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":755372224,"raw_latitude":116941192,"longitude_deg":75.5372224,"latitude_deg":11.6941192,"altitude":9,"angle":304,"satellites":46,"speed":14,"hex_longitude":"2d0610c0","hex_latitude":"06f86188","is_valid_coordinates":true} 
[2026-06-02 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775380224001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305353745040932864,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":441704637139220480,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:35] 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-06-02 09:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780372588000,"timestamp_ms":1780372588000,"timestamp_seconds":1780372588,"priority":1,"record_length":96,"hex_timestamp":"0000019e8679c5e0"} 
[2026-06-02 09:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 09:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775380224001,"66":27843,"15":206,"80":6400,"24":14,"16":305353745040932864,"45":441704637139220480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775380224001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305353745040932864,"km_value":305353745040932.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":441704637139220480,"description":"Unknown IO ID 45"} 
[2026-06-02 09:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775380224001,"power":27843,"unknown_15":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":441704637139220480}} 
[2026-06-02 09:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":89521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:28:35] local.INFO: GPS data processed {"connection_id":89521,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:28:35] local.INFO: Acknowledgment sent {"connection_id":89521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:28:35] local.INFO: TCP Data received {"connection_id":89521,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8679d968012d060b8006f865d00009013b2e..."} 
[2026-06-02 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8679d968012d060b8006f865d00009013b2e..."} 
[2026-06-02 09:28:35] local.INFO: Processing buffer {"connection_id":89521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8679d968012d060b8006f865d00009013b2e..."} 
[2026-06-02 09:28:35] local.INFO: Packet analysis {"connection_id":89521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:28:35] local.INFO: Extracted packet for processing {"connection_id":89521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8679"} 
[2026-06-02 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":755370880,"raw_latitude":116942288,"longitude_deg":75.537088,"latitude_deg":11.6942288,"altitude":9,"angle":315,"satellites":46,"speed":17,"hex_longitude":"2d060b80","hex_latitude":"06f865d0","is_valid_coordinates":true} 
[2026-06-02 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775382528001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305353830940278784,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":437060300024416256,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:35] 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-06-02 09:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780372593000,"timestamp_ms":1780372593000,"timestamp_seconds":1780372593,"priority":1,"record_length":96,"hex_timestamp":"0000019e8679d968"} 
[2026-06-02 09:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 09:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775382528001,"66":27908,"15":206,"80":6400,"24":17,"16":305353830940278784,"45":437060300024416256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-06-02 09:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775382528001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305353830940278784,"km_value":305353830940278.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":437060300024416256,"description":"Unknown IO ID 45"} 
[2026-06-02 09:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775382528001,"power":27908,"unknown_15":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":437060300024416256}} 
[2026-06-02 09:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":89521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:28:35] local.INFO: GPS data processed {"connection_id":89521,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:28:35] local.INFO: Acknowledgment sent {"connection_id":89521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:28:49] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:28:49] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:28:49] local.INFO: Packet analysis {"connection_id":89520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:28:49] local.INFO: Extracted packet for processing {"connection_id":89520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:28:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:28:49] 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-06-02 09:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:28:49] 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-06-02 09:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:28:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:28:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":89520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:28:49] local.INFO: GPS data processed {"connection_id":89520,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:28:49] local.INFO: Acknowledgment sent {"connection_id":89520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:29:04] local.INFO: TCP Data received {"connection_id":89270,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:29:04] local.INFO: Processing buffer {"connection_id":89270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:29:04] local.INFO: IMEI packet received {"connection_id":89270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":89270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:29:08] local.INFO: TCP Data received {"connection_id":89521,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867a0c30012d05f20006f87e200008013c2c..."} 
[2026-06-02 09:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867a0c30012d05f20006f87e200008013c2c..."} 
[2026-06-02 09:29:08] local.INFO: Processing buffer {"connection_id":89521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867a0c30012d05f20006f87e200008013c2c..."} 
[2026-06-02 09:29:08] local.INFO: Packet analysis {"connection_id":89521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867a"} 
[2026-06-02 09:29:08] local.INFO: Extracted packet for processing {"connection_id":89521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867a"} 
[2026-06-02 09:29:08] local.INFO: GPS Element Parsed {"raw_longitude":755364352,"raw_latitude":116948512,"longitude_deg":75.5364352,"latitude_deg":11.6948512,"altitude":8,"angle":316,"satellites":44,"speed":35,"hex_longitude":"2d05f200","hex_latitude":"06f87e20","is_valid_coordinates":true} 
[2026-06-02 09:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775383808001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305354260437008384,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":435582556396965888,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:08] 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-06-02 09:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780372606000,"timestamp_ms":1780372606000,"timestamp_seconds":1780372606,"priority":1,"record_length":96,"hex_timestamp":"0000019e867a0c30"} 
[2026-06-02 09:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:29: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-06-02 09:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 09:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775383808001,"66":27974,"15":206,"80":6400,"24":35,"16":305354260437008384,"45":435582556396965888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-06-02 09:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775383808001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:29:08] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-02 09:29:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305354260437008384,"km_value":305354260437008.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":435582556396965888,"description":"Unknown IO ID 45"} 
[2026-06-02 09:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775383808001,"power":27974,"unknown_15":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":435582556396965888}} 
[2026-06-02 09:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":89521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:29:08] local.INFO: GPS data processed {"connection_id":89521,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:29:08] local.INFO: Acknowledgment sent {"connection_id":89521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:29:13] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:29:13] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:29:13] local.INFO: IMEI packet received {"connection_id":89522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":89522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:29:18] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:29:18] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:29:18] local.INFO: IMEI packet received {"connection_id":89522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":89522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:29:18] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:29:18] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:29:18] local.INFO: Packet analysis {"connection_id":89522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:29:18] local.INFO: Extracted packet for processing {"connection_id":89522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:29:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:18] 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-06-02 09:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:29: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-06-02 09: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-06-02 09:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:29:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:29:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":89522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:29:18] local.INFO: GPS data processed {"connection_id":89522,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:29:18] local.INFO: Acknowledgment sent {"connection_id":89522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:29:23] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:23] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:23] local.INFO: IMEI packet received {"connection_id":89523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:29:24] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:24] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:24] local.INFO: IMEI packet received {"connection_id":89523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":89523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:29:29] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:29] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:29:29] local.INFO: IMEI packet received {"connection_id":89523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":89523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:29:30] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867a2b70012d05ddc006f893700008014a29..."} 
[2026-06-02 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867a2b70012d05ddc006f893700008014a29..."} 
[2026-06-02 09:29:30] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867a2b70012d05ddc006f893700008014a29..."} 
[2026-06-02 09:29:30] local.INFO: Packet analysis {"connection_id":89523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867a"} 
[2026-06-02 09:29:30] local.INFO: Extracted packet for processing {"connection_id":89523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867a"} 
[2026-06-02 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":755359168,"raw_latitude":116953968,"longitude_deg":75.5359168,"latitude_deg":11.6953968,"altitude":8,"angle":330,"satellites":41,"speed":35,"hex_longitude":"2d05ddc0","hex_latitude":"06f89370","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775387136001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305354625509228544,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":428404944492437504,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:30] 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-06-02 09:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780372614000,"timestamp_ms":1780372614000,"timestamp_seconds":1780372614,"priority":1,"record_length":96,"hex_timestamp":"0000019e867a2b70"} 
[2026-06-02 09:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:29: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-06-02 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 09:29:30] 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-06-02 09: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-06-02 09:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:29:30] 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-06-02 09:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775387136001,"66":27908,"15":206,"80":6400,"24":35,"16":305354625509228544,"45":428404944492437504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-06-02 09:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775387136001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:29:30] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-02 09:29:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-06-02 09:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305354625509228544,"km_value":305354625509228.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":428404944492437504,"description":"Unknown IO ID 45"} 
[2026-06-02 09:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775387136001,"power":27908,"unknown_15":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":428404944492437504}} 
[2026-06-02 09:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":89523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:29:30] local.INFO: GPS data processed {"connection_id":89523,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:29:30] local.INFO: Acknowledgment sent {"connection_id":89523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:29:49] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:29:49] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:29:49] local.INFO: Packet analysis {"connection_id":89522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:29:49] local.INFO: Extracted packet for processing {"connection_id":89522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:29:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:29:49] 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-06-02 09:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:29:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:29:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":89522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:29:49] local.INFO: GPS data processed {"connection_id":89522,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:29:49] local.INFO: Acknowledgment sent {"connection_id":89522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:30:01] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867a4e98012d05d30006f8aca80008015628..."} 
[2026-06-02 09:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867a4e98012d05d30006f8aca80008015628..."} 
[2026-06-02 09:30:01] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867a4e98012d05d30006f8aca80008015628..."} 
[2026-06-02 09:30:01] local.INFO: Packet analysis {"connection_id":89523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867a"} 
[2026-06-02 09:30:01] local.INFO: Extracted packet for processing {"connection_id":89523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867a"} 
[2026-06-02 09:30:01] local.INFO: GPS Element Parsed {"raw_longitude":755356416,"raw_latitude":116960424,"longitude_deg":75.5356416,"latitude_deg":11.6960424,"altitude":8,"angle":342,"satellites":40,"speed":28,"hex_longitude":"2d05d300","hex_latitude":"06f8aca8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775389184001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305354964811644928,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":422705076215443456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:01] 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-06-02 09:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780372623000,"timestamp_ms":1780372623000,"timestamp_seconds":1780372623,"priority":1,"record_length":96,"hex_timestamp":"0000019e867a4e98"} 
[2026-06-02 09:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:30: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-06-02 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 09:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09: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-06-02 09:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775389184001,"66":27800,"5":206,"94":11008,"24":28,"16":305354964811644928,"45":422705076215443456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-06-02 09:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775389184001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:30:01] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-02 09:30:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305354964811644928,"km_value":305354964811644.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":422705076215443456,"description":"Unknown IO ID 45"} 
[2026-06-02 09:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775389184001,"power":27800,"unknown_5":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":422705076215443456}} 
[2026-06-02 09:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":89523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:30:01] local.INFO: GPS data processed {"connection_id":89523,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:30:01] local.INFO: Acknowledgment sent {"connection_id":89523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:30:13] local.INFO: TCP Data received {"connection_id":90743,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:30:13] local.INFO: Processing buffer {"connection_id":90743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:30:13] local.INFO: IMEI packet received {"connection_id":90743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":90743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:30:18] local.INFO: TCP Data received {"connection_id":90743,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:30:18] local.INFO: Processing buffer {"connection_id":90743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:30:18] local.INFO: IMEI packet received {"connection_id":90743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":90743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:30:18] local.INFO: TCP Data received {"connection_id":90743,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:30:18] local.INFO: Processing buffer {"connection_id":90743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8678fac0012d7a334005eb8cc00005009330..."} 
[2026-06-02 09:30:18] local.INFO: Packet analysis {"connection_id":90743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:30:18] local.INFO: Extracted packet for processing {"connection_id":90743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8678"} 
[2026-06-02 09:30:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775292416001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509401081856,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:18] 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-06-02 09:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372536000,"timestamp_ms":1780372536000,"timestamp_seconds":1780372536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8678fac0"} 
[2026-06-02 09:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 09:30: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-06-02 09: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-06-02 09:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":90743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":90743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":90743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775292416001,"66":2242,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8804959509401081856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775292416001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:30:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:30:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509401081856,"description":"Unknown IO ID 45"} 
[2026-06-02 09:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775292416001,"power":2242,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509401081856}} 
[2026-06-02 09:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":90743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:30:18] local.INFO: GPS data processed {"connection_id":90743,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:30:18] local.INFO: Acknowledgment sent {"connection_id":90743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:30:24] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:30:24] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:30:24] local.INFO: IMEI packet received {"connection_id":89678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":89678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:30:26] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:30:26] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:30:26] local.INFO: IMEI packet received {"connection_id":89678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":89678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:30:27] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867c9c70012d05a58006f9c2680013015b2b..."} 
[2026-06-02 09:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867c9c70012d05a58006f9c2680013015b2b..."} 
[2026-06-02 09:30:27] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867c9c70012d05a58006f9c2680013015b2b..."} 
[2026-06-02 09:30:27] local.INFO: Packet analysis {"connection_id":89678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867c"} 
[2026-06-02 09:30:27] local.INFO: Extracted packet for processing {"connection_id":89678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867c"} 
[2026-06-02 09:30:27] local.INFO: GPS Element Parsed {"raw_longitude":755344768,"raw_latitude":117031528,"longitude_deg":75.5344768,"latitude_deg":11.7031528,"altitude":19,"angle":347,"satellites":43,"speed":27,"hex_longitude":"2d05a580","hex_latitude":"06f9c268","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775429120001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305358529634500608,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":406942477538711552,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:27] 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-06-02 09:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780372774000,"timestamp_ms":1780372774000,"timestamp_seconds":1780372774,"priority":1,"record_length":96,"hex_timestamp":"0000019e867c9c70"} 
[2026-06-02 09:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:30: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-06-02 09: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-06-02 09:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775429120001,"66":27908,"5":206,"94":11008,"24":27,"16":305358529634500608,"45":406942477538711552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-06-02 09:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775429120001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:30:27] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-02 09:30:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305358529634500608,"km_value":305358529634500.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":406942477538711552,"description":"Unknown IO ID 45"} 
[2026-06-02 09:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775429120001,"power":27908,"unknown_5":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":406942477538711552}} 
[2026-06-02 09:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":89678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:30:27] local.INFO: GPS data processed {"connection_id":89678,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:30:27] local.INFO: Acknowledgment sent {"connection_id":89678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:30:49] local.INFO: TCP Data received {"connection_id":90743,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:30:49] local.INFO: Processing buffer {"connection_id":90743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:30:49] local.INFO: Packet analysis {"connection_id":90743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:30:49] local.INFO: Extracted packet for processing {"connection_id":90743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:30:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:49] 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-06-02 09:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:30:49] 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-06-02 09: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-06-02 09:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:30:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:30:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":90743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:30:49] local.INFO: GPS data processed {"connection_id":90743,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:30:49] local.INFO: Acknowledgment sent {"connection_id":90743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:30:58] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d4468012d05a04006fa1f580006001c2b..."} 
[2026-06-02 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d4468012d05a04006fa1f580006001c2b..."} 
[2026-06-02 09:30:58] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d4468012d05a04006fa1f580006001c2b..."} 
[2026-06-02 09:30:58] local.INFO: Packet analysis {"connection_id":89678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:30:58] local.INFO: Extracted packet for processing {"connection_id":89678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":755343424,"raw_latitude":117055320,"longitude_deg":75.5343424,"latitude_deg":11.705532,"altitude":6,"angle":28,"satellites":43,"speed":26,"hex_longitude":"2d05a040","hex_latitude":"06fa1f58","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775439872001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305360393650307072,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":402509246661550080,"note":"Value kept but may cause issues"} 
[2026-06-02 09:30:58] 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-06-02 09:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780372817000,"timestamp_ms":1780372817000,"timestamp_seconds":1780372817,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d4468"} 
[2026-06-02 09:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:30: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-06-02 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 09:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:30:58] 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-06-02 09:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775439872001,"66":27876,"138":206,"94":11008,"24":26,"16":305360393650307072,"45":402509246661550080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-06-02 09:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775439872001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:30:58] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-02 09:30:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305360393650307072,"km_value":305360393650307.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":402509246661550080,"description":"Unknown IO ID 45"} 
[2026-06-02 09:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775439872001,"power":27876,"unknown_138":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":402509246661550080}} 
[2026-06-02 09:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":89678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:30:58] local.INFO: GPS data processed {"connection_id":89678,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:30:58] local.INFO: Acknowledgment sent {"connection_id":89678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:31:18] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:31:18] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:31:18] local.INFO: IMEI packet received {"connection_id":89524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":89524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:31:23] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:31:23] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:31:23] local.INFO: IMEI packet received {"connection_id":89524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":89524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:31:23] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:23] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:23] local.INFO: Packet analysis {"connection_id":89524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:23] local.INFO: Extracted packet for processing {"connection_id":89524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:23] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:23] 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-06-02 09:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:31:23] 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-06-02 09:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:31:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:31:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":89524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:31:23] local.INFO: GPS data processed {"connection_id":89524,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:31:23] local.INFO: Acknowledgment sent {"connection_id":89524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:31:24] local.INFO: TCP Data received {"connection_id":90745,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:31:24] local.INFO: Processing buffer {"connection_id":90745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:31:24] local.INFO: IMEI packet received {"connection_id":90745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":90745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:31:28] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:28] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:28] local.INFO: Packet analysis {"connection_id":89524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:28] local.INFO: Extracted packet for processing {"connection_id":89524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:28] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:28] 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-06-02 09:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:31:28] 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-06-02 09:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:31:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:31:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":89524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:31:28] local.INFO: GPS data processed {"connection_id":89524,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:31:28] local.INFO: Acknowledgment sent {"connection_id":89524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:31:29] local.INFO: TCP Data received {"connection_id":90745,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:31:29] local.INFO: Processing buffer {"connection_id":90745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:31:29] local.INFO: IMEI packet received {"connection_id":90745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":90745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:31:31] local.INFO: TCP Data received {"connection_id":90745,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d4850012d05a10006fa21c8000600052d..."} 
[2026-06-02 09:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d4850012d05a10006fa21c8000600052d..."} 
[2026-06-02 09:31:31] local.INFO: Processing buffer {"connection_id":90745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d4850012d05a10006fa21c8000600052d..."} 
[2026-06-02 09:31:31] local.INFO: Packet analysis {"connection_id":90745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:31] local.INFO: Extracted packet for processing {"connection_id":90745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:31] local.INFO: GPS Element Parsed {"raw_longitude":755343616,"raw_latitude":117055944,"longitude_deg":75.5343616,"latitude_deg":11.7055944,"altitude":6,"angle":5,"satellites":45,"speed":25,"hex_longitude":"2d05a100","hex_latitude":"06fa21c8","is_valid_coordinates":true} 
[2026-06-02 09:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775441152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305360428010045440,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405394365173684224,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:31] 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-06-02 09:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780372818000,"timestamp_ms":1780372818000,"timestamp_seconds":1780372818,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d4850"} 
[2026-06-02 09:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:31: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-06-02 09:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:31:31] 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-06-02 09:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:31:31] 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-06-02 09:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775441152001,"66":27876,"138":206,"94":11008,"24":25,"16":305360428010045440,"45":405394365173684224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-06-02 09:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775441152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:31:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-02 09:31:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305360428010045440,"km_value":305360428010045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":405394365173684224,"description":"Unknown IO ID 45"} 
[2026-06-02 09:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775441152001,"power":27876,"unknown_138":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":405394365173684224}} 
[2026-06-02 09:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":90745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:31:31] local.INFO: GPS data processed {"connection_id":90745,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:31:31] local.INFO: Acknowledgment sent {"connection_id":90745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:31:33] local.INFO: TCP Data received {"connection_id":89524,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:33] local.INFO: Processing buffer {"connection_id":89524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:31:33] local.INFO: Packet analysis {"connection_id":89524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:33] local.INFO: Extracted packet for processing {"connection_id":89524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:31:33] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:31: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-06-02 09:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:31:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:31:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":89524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:31:33] local.INFO: GPS data processed {"connection_id":89524,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:31:33] local.INFO: Acknowledgment sent {"connection_id":89524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:32:07] local.INFO: TCP Data received {"connection_id":90745,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d4c38012d05a0c006fa24580006015e26..."} 
[2026-06-02 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d4c38012d05a0c006fa24580006015e26..."} 
[2026-06-02 09:32:07] local.INFO: Processing buffer {"connection_id":90745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d4c38012d05a0c006fa24580006015e26..."} 
[2026-06-02 09:32:07] local.INFO: Packet analysis {"connection_id":90745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:32:07] local.INFO: Extracted packet for processing {"connection_id":90745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":755343552,"raw_latitude":117056600,"longitude_deg":75.5343552,"latitude_deg":11.70566,"altitude":6,"angle":350,"satellites":38,"speed":25,"hex_longitude":"2d05a0c0","hex_latitude":"06fa2458","is_valid_coordinates":true} 
[2026-06-02 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775441408001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305360458074816512,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405605471406376960,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:07] 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-06-02 09:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780372819000,"timestamp_ms":1780372819000,"timestamp_seconds":1780372819,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d4c38"} 
[2026-06-02 09:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:07] 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-06-02 09:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775441408001,"66":27843,"138":206,"94":11008,"24":25,"16":305360458074816512,"45":405605471406376960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-06-02 09:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775441408001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:32:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-02 09:32:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305360458074816512,"km_value":305360458074816.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":405605471406376960,"description":"Unknown IO ID 45"} 
[2026-06-02 09:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775441408001,"power":27843,"unknown_138":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":405605471406376960}} 
[2026-06-02 09:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":90745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:32:07] local.INFO: GPS data processed {"connection_id":90745,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:32:07] local.INFO: Acknowledgment sent {"connection_id":90745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:32:13] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:32:13] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:32:13] local.INFO: IMEI packet received {"connection_id":89525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":89525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:32:18] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:32:18] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:32:18] local.INFO: IMEI packet received {"connection_id":89525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":89525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:32:18] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:32:18] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:32:18] local.INFO: Packet analysis {"connection_id":89525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:32:18] local.INFO: Extracted packet for processing {"connection_id":89525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:32:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:18] 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-06-02 09:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:32:18] 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-06-02 09: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-06-02 09:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:32:18] 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-06-02 09:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:32:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:32:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":89525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:32:18] local.INFO: GPS data processed {"connection_id":89525,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:32:18] local.INFO: Acknowledgment sent {"connection_id":89525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:32:27] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:27] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:27] local.INFO: IMEI packet received {"connection_id":89679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":89679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:32:29] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:29] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:29] local.INFO: IMEI packet received {"connection_id":89679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":89679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:32:30] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:30] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:32:30] local.INFO: IMEI packet received {"connection_id":89679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":89679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:32:30] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.24","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e86..."} 
[2026-06-02 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e86..."} 
[2026-06-02 09:32:30] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e86..."} 
[2026-06-02 09:32:30] local.INFO: IMEI packet received {"connection_id":89679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":89679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:32:33] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867e5da8012d050d4006fa7f10001501192d..."} 
[2026-06-02 09:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867e5da8012d050d4006fa7f10001501192d..."} 
[2026-06-02 09:32:33] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e867e55d8012d0513c006fa7cf8001201272e..."} 
[2026-06-02 09:32:33] local.INFO: Packet analysis {"connection_id":89679,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e867e"} 
[2026-06-02 09:32:33] local.INFO: Extracted packet for processing {"connection_id":89679,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867e"} 
[2026-06-02 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":755307456,"raw_latitude":117079288,"longitude_deg":75.5307456,"latitude_deg":11.7079288,"altitude":18,"angle":295,"satellites":46,"speed":34,"hex_longitude":"2d0513c0","hex_latitude":"06fa7cf8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775458560001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305362687162843136,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":367465612067807232,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32: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-06-02 09:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780372887000,"timestamp_ms":1780372887000,"timestamp_seconds":1780372887,"priority":1,"record_length":96,"hex_timestamp":"0000019e867e55d8"} 
[2026-06-02 09:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:32: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-06-02 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 09:32: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-06-02 09: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-06-02 09:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:33] 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-06-02 09:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775458560001,"66":27930,"219":206,"94":11008,"24":34,"16":305362687162843136,"45":367465612067807232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-02 09:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775458560001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305362687162843136,"km_value":305362687162843.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":367465612067807232,"description":"Unknown IO ID 45"} 
[2026-06-02 09:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775458560001,"power":27930,"unknown_219":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":367465612067807232}} 
[2026-06-02 09:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":89679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:32:33] local.INFO: GPS data processed {"connection_id":89679,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:32:33] local.INFO: Acknowledgment sent {"connection_id":89679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:32:33] local.INFO: Packet analysis {"connection_id":89679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867e"} 
[2026-06-02 09:32:33] local.INFO: Extracted packet for processing {"connection_id":89679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867e"} 
[2026-06-02 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":755305792,"raw_latitude":117079824,"longitude_deg":75.5305792,"latitude_deg":11.7079824,"altitude":21,"angle":281,"satellites":45,"speed":33,"hex_longitude":"2d050d40","hex_latitude":"06fa7f10","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775459072001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305362773062189056,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":365847130951972864,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32: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-06-02 09:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780372889000,"timestamp_ms":1780372889000,"timestamp_seconds":1780372889,"priority":1,"record_length":96,"hex_timestamp":"0000019e867e5da8"} 
[2026-06-02 09:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:32: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-06-02 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 09:32:33] 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-06-02 09: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-06-02 09:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:33] 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-06-02 09:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775459072001,"66":27800,"219":206,"94":11008,"24":33,"16":305362773062189056,"45":365847130951972864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-02 09:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775459072001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305362773062189056,"km_value":305362773062189.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":365847130951972864,"description":"Unknown IO ID 45"} 
[2026-06-02 09:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775459072001,"power":27800,"unknown_219":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":365847130951972864}} 
[2026-06-02 09:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":89679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:32:33] local.INFO: GPS data processed {"connection_id":89679,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:32:33] local.INFO: Acknowledgment sent {"connection_id":89679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:32:34] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867e6578012d05064006fa7f900015010d2e..."} 
[2026-06-02 09:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867e6578012d05064006fa7f900015010d2e..."} 
[2026-06-02 09:32:34] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867e6578012d05064006fa7f900015010d2e..."} 
[2026-06-02 09:32:34] local.INFO: Packet analysis {"connection_id":89679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867e"} 
[2026-06-02 09:32:34] local.INFO: Extracted packet for processing {"connection_id":89679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867e"} 
[2026-06-02 09:32:34] local.INFO: GPS Element Parsed {"raw_longitude":755304000,"raw_latitude":117079952,"longitude_deg":75.5304,"latitude_deg":11.7079952,"altitude":21,"angle":269,"satellites":46,"speed":34,"hex_longitude":"2d050640","hex_latitude":"06fa7f90","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775459584001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305362854666567680,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":364017543603490816,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:34] 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-06-02 09:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780372891000,"timestamp_ms":1780372891000,"timestamp_seconds":1780372891,"priority":1,"record_length":96,"hex_timestamp":"0000019e867e6578"} 
[2026-06-02 09:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:32: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-06-02 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:32:34] 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-06-02 09: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-06-02 09:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:32:34] 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-06-02 09:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775459584001,"66":26984,"139":206,"94":11008,"24":34,"16":305362854666567680,"45":364017543603490816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-06-02 09:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775459584001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:32:34] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 09:32:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305362854666567680,"km_value":305362854666567.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":364017543603490816,"description":"Unknown IO ID 45"} 
[2026-06-02 09:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775459584001,"power":26984,"unknown_139":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":364017543603490816}} 
[2026-06-02 09:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":89679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:32:34] local.INFO: GPS data processed {"connection_id":89679,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:32:34] local.INFO: Acknowledgment sent {"connection_id":89679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:32:49] local.INFO: TCP Data received {"connection_id":89525,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:32:49] local.INFO: Processing buffer {"connection_id":89525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:32:49] local.INFO: Packet analysis {"connection_id":89525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:32:49] local.INFO: Extracted packet for processing {"connection_id":89525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:32:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:32:49] 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-06-02 09:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:32:49] 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-06-02 09: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-06-02 09:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:32:49] 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-06-02 09:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:32:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:32:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":89525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:32:49] local.INFO: GPS data processed {"connection_id":89525,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:32:49] local.INFO: Acknowledgment sent {"connection_id":89525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:33:05] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867f28c8012d04798006fb3418001901342c..."} 
[2026-06-02 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867f28c8012d04798006fb3418001901342c..."} 
[2026-06-02 09:33:05] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867f28c8012d04798006fb3418001901342c..."} 
[2026-06-02 09:33:05] local.INFO: Packet analysis {"connection_id":89679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867f"} 
[2026-06-02 09:33:05] local.INFO: Extracted packet for processing {"connection_id":89679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867f"} 
[2026-06-02 09:33:05] local.INFO: GPS Element Parsed {"raw_longitude":755267968,"raw_latitude":117126168,"longitude_deg":75.5267968,"latitude_deg":11.7126168,"altitude":25,"angle":308,"satellites":44,"speed":46,"hex_longitude":"2d047980","hex_latitude":"06fb3418","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775472640001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305365899798380544,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":323344409480456192,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:05] 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-06-02 09:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780372941000,"timestamp_ms":1780372941000,"timestamp_seconds":1780372941,"priority":1,"record_length":96,"hex_timestamp":"0000019e867f28c8"} 
[2026-06-02 09:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 09:33: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-06-02 09: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-06-02 09:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775472640001,"66":27876,"139":206,"94":11008,"24":46,"16":305365899798380544,"45":323344409480456192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-06-02 09:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775472640001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:33:05] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 09:33:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305365899798380544,"km_value":305365899798380.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":323344409480456192,"description":"Unknown IO ID 45"} 
[2026-06-02 09:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775472640001,"power":27876,"unknown_139":206,"unknown_94":11008,"ignition":46,"odometer":null,"unknown_45":323344409480456192}} 
[2026-06-02 09:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":89679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:33:05] local.INFO: GPS data processed {"connection_id":89679,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:33:05] local.INFO: Acknowledgment sent {"connection_id":89679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:33:12] local.INFO: TCP Data received {"connection_id":89273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:33:12] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:33:12] local.INFO: IMEI packet received {"connection_id":89273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":89273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:33:18] local.INFO: TCP Data received {"connection_id":89273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:33:18] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:33:18] local.INFO: IMEI packet received {"connection_id":89273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":89273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:33:18] local.INFO: TCP Data received {"connection_id":89273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:33:18] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:33:18] local.INFO: Packet analysis {"connection_id":89273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:33:18] local.INFO: Extracted packet for processing {"connection_id":89273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:18] 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-06-02 09:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:33:18] 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-06-02 09: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-06-02 09:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:33:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:33:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":89273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:33:18] local.INFO: GPS data processed {"connection_id":89273,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:33:18] local.INFO: Acknowledgment sent {"connection_id":89273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:33:24] local.INFO: TCP Data received {"connection_id":90746,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:24] local.INFO: Processing buffer {"connection_id":90746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:24] local.INFO: IMEI packet received {"connection_id":90746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":90746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:33:26] local.INFO: TCP Data received {"connection_id":90746,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:26] local.INFO: Processing buffer {"connection_id":90746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:26] local.INFO: IMEI packet received {"connection_id":90746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":90746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:33:29] local.INFO: TCP Data received {"connection_id":90746,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:29] local.INFO: Processing buffer {"connection_id":90746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:33:29] local.INFO: IMEI packet received {"connection_id":90746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":90746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:33:30] local.INFO: TCP Data received {"connection_id":90746,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867f3098012d04720006fb3848001b01242b..."} 
[2026-06-02 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867f3098012d04720006fb3848001b01242b..."} 
[2026-06-02 09:33:30] local.INFO: Processing buffer {"connection_id":90746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867f3098012d04720006fb3848001b01242b..."} 
[2026-06-02 09:33:30] local.INFO: Packet analysis {"connection_id":90746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867f"} 
[2026-06-02 09:33:30] local.INFO: Extracted packet for processing {"connection_id":90746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867f"} 
[2026-06-02 09:33:30] local.INFO: GPS Element Parsed {"raw_longitude":755266048,"raw_latitude":117127240,"longitude_deg":75.5266048,"latitude_deg":11.712724,"altitude":27,"angle":292,"satellites":43,"speed":42,"hex_longitude":"2d047200","hex_latitude":"06fb3848","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775472896001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305366007172562944,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":322429615806355456,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:30] 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-06-02 09:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780372943000,"timestamp_ms":1780372943000,"timestamp_seconds":1780372943,"priority":1,"record_length":96,"hex_timestamp":"0000019e867f3098"} 
[2026-06-02 09:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:33: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-06-02 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:33:30] 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-06-02 09:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775472896001,"66":27800,"139":206,"94":11008,"24":42,"16":305366007172562944,"45":322429615806355456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-06-02 09:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775472896001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:33:30] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 09:33:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305366007172562944,"km_value":305366007172562.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":322429615806355456,"description":"Unknown IO ID 45"} 
[2026-06-02 09:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775472896001,"power":27800,"unknown_139":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":322429615806355456}} 
[2026-06-02 09:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":90746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:33:30] local.INFO: GPS data processed {"connection_id":90746,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:33:30] local.INFO: Acknowledgment sent {"connection_id":90746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:33:34] local.INFO: TCP Data received {"connection_id":90746,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867f3480012d046d8006fb38f8001b01172b..."} 
[2026-06-02 09:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867f3480012d046d8006fb38f8001b01172b..."} 
[2026-06-02 09:33:34] local.INFO: Processing buffer {"connection_id":90746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867f3480012d046d8006fb38f8001b01172b..."} 
[2026-06-02 09:33:34] local.INFO: Packet analysis {"connection_id":90746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867f"} 
[2026-06-02 09:33:34] local.INFO: Extracted packet for processing {"connection_id":90746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867f"} 
[2026-06-02 09:33:34] local.INFO: GPS Element Parsed {"raw_longitude":755264896,"raw_latitude":117127416,"longitude_deg":75.5264896,"latitude_deg":11.7127416,"altitude":27,"angle":279,"satellites":43,"speed":43,"hex_longitude":"2d046d80","hex_latitude":"06fb38f8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775473408001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305366063007137792,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":320318553481299968,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:34] 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-06-02 09:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780372944000,"timestamp_ms":1780372944000,"timestamp_seconds":1780372944,"priority":1,"record_length":96,"hex_timestamp":"0000019e867f3480"} 
[2026-06-02 09:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:33: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-06-02 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:33:34] 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-06-02 09: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-06-02 09:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:33:34] 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-06-02 09:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775473408001,"66":27800,"139":206,"94":11008,"24":43,"16":305366063007137792,"45":320318553481299968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-06-02 09:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775473408001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:33:34] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 09:33:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305366063007137792,"km_value":305366063007137.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":320318553481299968,"description":"Unknown IO ID 45"} 
[2026-06-02 09:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775473408001,"power":27800,"unknown_139":206,"unknown_94":11008,"ignition":43,"odometer":null,"unknown_45":320318553481299968}} 
[2026-06-02 09:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":90746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:33:34] local.INFO: GPS data processed {"connection_id":90746,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:33:34] local.INFO: Acknowledgment sent {"connection_id":90746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:33:49] local.INFO: TCP Data received {"connection_id":89273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:33:49] local.INFO: Processing buffer {"connection_id":89273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:33:49] local.INFO: Packet analysis {"connection_id":89273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:33:49] local.INFO: Extracted packet for processing {"connection_id":89273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:33:49] 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-06-02 09:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:33:49] 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-06-02 09: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-06-02 09:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:33:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:33:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":89273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:33:49] local.INFO: GPS data processed {"connection_id":89273,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:33:49] local.INFO: Acknowledgment sent {"connection_id":89273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:34:05] local.INFO: TCP Data received {"connection_id":90746,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86801328012d03768006fbdf60000701482c..."} 
[2026-06-02 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86801328012d03768006fbdf60000701482c..."} 
[2026-06-02 09:34:05] local.INFO: Processing buffer {"connection_id":90746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86801328012d03768006fbdf60000701482c..."} 
[2026-06-02 09:34:05] local.INFO: Packet analysis {"connection_id":90746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8680"} 
[2026-06-02 09:34:05] local.INFO: Extracted packet for processing {"connection_id":90746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8680"} 
[2026-06-02 09:34:05] local.INFO: GPS Element Parsed {"raw_longitude":755201664,"raw_latitude":117170016,"longitude_deg":75.5201664,"latitude_deg":11.7170016,"altitude":7,"angle":328,"satellites":44,"speed":57,"hex_longitude":"2d037680","hex_latitude":"06fbdf60","is_valid_coordinates":true} 
[2026-06-02 09:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775487744001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305369795333718016,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":251427552941688832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:05] 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-06-02 09:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780373001000,"timestamp_ms":1780373001000,"timestamp_seconds":1780373001,"priority":1,"record_length":96,"hex_timestamp":"0000019e86801328"} 
[2026-06-02 09:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:34: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-06-02 09:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775487744001,"66":27876,"130":206,"94":11008,"24":57,"16":305369795333718016,"45":251427552941688832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-06-02 09:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775487744001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:34:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-02 09:34:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305369795333718016,"km_value":305369795333718.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":251427552941688832,"description":"Unknown IO ID 45"} 
[2026-06-02 09:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775487744001,"power":27876,"unknown_130":206,"unknown_94":11008,"ignition":57,"odometer":null,"unknown_45":251427552941688832}} 
[2026-06-02 09:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":90746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:34:05] local.INFO: GPS data processed {"connection_id":90746,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:34:05] local.INFO: Acknowledgment sent {"connection_id":90746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:34:13] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:34:13] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:34:13] local.INFO: IMEI packet received {"connection_id":89680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":89680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:34:17] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:34:17] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:34:17] local.INFO: IMEI packet received {"connection_id":89680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":89680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:34:18] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:34:18] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:34:18] local.INFO: Packet analysis {"connection_id":89680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:34:18] local.INFO: Extracted packet for processing {"connection_id":89680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:34:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:18] 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-06-02 09:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:34:18] 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-06-02 09: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-06-02 09:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:34:18] 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-06-02 09:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:34:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:34:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":89680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:34:18] local.INFO: GPS data processed {"connection_id":89680,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:34:18] local.INFO: Acknowledgment sent {"connection_id":89680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:34:25] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:25] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:25] local.INFO: IMEI packet received {"connection_id":89681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":89681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:34:25] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:25] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:25] local.INFO: IMEI packet received {"connection_id":89681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":89681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:34:29] local.INFO: TCP Data received {"connection_id":90747,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:34:29] local.INFO: Processing buffer {"connection_id":90747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:34:29] local.INFO: IMEI packet received {"connection_id":90747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":90747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:34:30] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:30] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:34:30] local.INFO: IMEI packet received {"connection_id":89681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":89681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:34:30] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86801710012d03744006fbe498000601542b..."} 
[2026-06-02 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86801710012d03744006fbe498000601542b..."} 
[2026-06-02 09:34:30] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86801710012d03744006fbe498000601542b..."} 
[2026-06-02 09:34:30] local.INFO: Packet analysis {"connection_id":89681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8680"} 
[2026-06-02 09:34:30] local.INFO: Extracted packet for processing {"connection_id":89681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8680"} 
[2026-06-02 09:34:30] local.INFO: GPS Element Parsed {"raw_longitude":755201088,"raw_latitude":117171352,"longitude_deg":75.5201088,"latitude_deg":11.7171352,"altitude":6,"angle":340,"satellites":43,"speed":55,"hex_longitude":"2d037440","hex_latitude":"06fbe498","is_valid_coordinates":true} 
[2026-06-02 09:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775488256001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305369864053194752,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":249527596849520640,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:30] 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-06-02 09:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373002000,"timestamp_ms":1780373002000,"timestamp_seconds":1780373002,"priority":1,"record_length":96,"hex_timestamp":"0000019e86801710"} 
[2026-06-02 09:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:34: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-06-02 09:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:34:30] 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-06-02 09:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775488256001,"66":27876,"130":206,"94":11008,"24":55,"16":305369864053194752,"45":249527596849520640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-06-02 09:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775488256001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:34:30] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-02 09:34:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305369864053194752,"km_value":305369864053194.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":249527596849520640,"description":"Unknown IO ID 45"} 
[2026-06-02 09:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775488256001,"power":27876,"unknown_130":206,"unknown_94":11008,"ignition":55,"odometer":null,"unknown_45":249527596849520640}} 
[2026-06-02 09:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":89681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:34:30] local.INFO: GPS data processed {"connection_id":89681,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:34:30] local.INFO: Acknowledgment sent {"connection_id":89681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:34:49] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:34:49] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:34:49] local.INFO: Packet analysis {"connection_id":89680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:34:49] local.INFO: Extracted packet for processing {"connection_id":89680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:34:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 09:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:34:49] 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-06-02 09:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 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-06-02 09:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:34:49] 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-06-02 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-06-02 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-06-02 09:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:34:49] 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-06-02 09:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:34:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:34:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":89680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:34:49] local.INFO: GPS data processed {"connection_id":89680,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:34:49] local.INFO: Acknowledgment sent {"connection_id":89680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:35:01] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86801ee0012d03740006fbf020000600022a..."} 
[2026-06-02 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86801ee0012d03740006fbf020000600022a..."} 
[2026-06-02 09:35:01] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86801ee0012d03740006fbf020000600022a..."} 
[2026-06-02 09:35:01] local.INFO: Packet analysis {"connection_id":89681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8680"} 
[2026-06-02 09:35:01] local.INFO: Extracted packet for processing {"connection_id":89681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8680"} 
[2026-06-02 09:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755201024,"raw_latitude":117174304,"longitude_deg":75.5201024,"latitude_deg":11.7174304,"altitude":6,"angle":2,"satellites":42,"speed":54,"hex_longitude":"2d037400","hex_latitude":"06fbf020","is_valid_coordinates":true} 
[2026-06-02 09:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775488512001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305370010082082816,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":248894278152263680,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:01] 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-06-02 09:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780373004000,"timestamp_ms":1780373004000,"timestamp_seconds":1780373004,"priority":1,"record_length":96,"hex_timestamp":"0000019e86801ee0"} 
[2026-06-02 09:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 09:35:01] 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-06-02 09:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:35: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-06-02 09:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775488512001,"66":27767,"130":206,"94":11008,"24":54,"16":305370010082082816,"45":248894278152263680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-06-02 09:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775488512001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:35:01] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-02 09:35:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305370010082082816,"km_value":305370010082082.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":248894278152263680,"description":"Unknown IO ID 45"} 
[2026-06-02 09:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775488512001,"power":27767,"unknown_130":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":248894278152263680}} 
[2026-06-02 09:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":89681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:35:01] local.INFO: GPS data processed {"connection_id":89681,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:35:01] local.INFO: Acknowledgment sent {"connection_id":89681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:35:04] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:35:04] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:35:04] local.INFO: IMEI packet received {"connection_id":89526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":89526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:35:13] local.INFO: TCP Data received {"connection_id":89527,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:35:13] local.INFO: Processing buffer {"connection_id":89527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:35:13] local.INFO: IMEI packet received {"connection_id":89527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":89527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:35:18] local.INFO: TCP Data received {"connection_id":89527,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:35:18] local.INFO: Processing buffer {"connection_id":89527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:35:18] local.INFO: IMEI packet received {"connection_id":89527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 09:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":89527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:35:18] local.INFO: TCP Data received {"connection_id":89527,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:35:18] local.INFO: Processing buffer {"connection_id":89527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e867d9288012d7a334005eb8cc0000500932e..."} 
[2026-06-02 09:35:18] local.INFO: Packet analysis {"connection_id":89527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:35:18] local.INFO: Extracted packet for processing {"connection_id":89527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e867d"} 
[2026-06-02 09:35:18] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:18] 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-06-02 09:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780372837000,"timestamp_ms":1780372837000,"timestamp_seconds":1780372837,"priority":1,"record_length":96,"hex_timestamp":"0000019e867d9288"} 
[2026-06-02 09:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 09:35:18] 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-06-02 09:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775369216001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:35:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:35:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775369216001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":89527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:35:18] local.INFO: GPS data processed {"connection_id":89527,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:35:18] local.INFO: Acknowledgment sent {"connection_id":89527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:35:24] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:35:24] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:35:24] local.INFO: IMEI packet received {"connection_id":89682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":89682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:35:29] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:35:29] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:35:29] local.INFO: IMEI packet received {"connection_id":89682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":89682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:35:30] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86811cc8012d02948006fcbe200008013f2d..."} 
[2026-06-02 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86811cc8012d02948006fcbe200008013f2d..."} 
[2026-06-02 09:35:30] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86811cc8012d02948006fcbe200008013f2d..."} 
[2026-06-02 09:35:30] local.INFO: Packet analysis {"connection_id":89682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8681"} 
[2026-06-02 09:35:30] local.INFO: Extracted packet for processing {"connection_id":89682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8681"} 
[2026-06-02 09:35:30] local.INFO: GPS Element Parsed {"raw_longitude":755143808,"raw_latitude":117227040,"longitude_deg":75.5143808,"latitude_deg":11.722704,"altitude":8,"angle":319,"satellites":45,"speed":52,"hex_longitude":"2d029480","hex_latitude":"06fcbe20","is_valid_coordinates":true} 
[2026-06-02 09:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775504384001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305374008696635392,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":191684489149001728,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:30] 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-06-02 09:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373069000,"timestamp_ms":1780373069000,"timestamp_seconds":1780373069,"priority":1,"record_length":96,"hex_timestamp":"0000019e86811cc8"} 
[2026-06-02 09:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:35: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-06-02 09:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 09:35: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-06-02 09:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:35:30] 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-06-02 09:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775504384001,"66":27789,"131":206,"94":11008,"24":52,"16":305374008696635392,"45":191684489149001728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-06-02 09:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775504384001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:35:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-02 09:35:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305374008696635392,"km_value":305374008696635.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":191684489149001728,"description":"Unknown IO ID 45"} 
[2026-06-02 09:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775504384001,"power":27789,"unknown_131":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":191684489149001728}} 
[2026-06-02 09:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":89682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:35:30] local.INFO: GPS data processed {"connection_id":89682,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:35:30] local.INFO: Acknowledgment sent {"connection_id":89682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:35:49] local.INFO: TCP Data received {"connection_id":89527,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86822a50012d7a334005eb8cc0000500932f..."} 
[2026-06-02 09:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86822a50012d7a334005eb8cc0000500932f..."} 
[2026-06-02 09:35:49] local.INFO: Processing buffer {"connection_id":89527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86822a50012d7a334005eb8cc0000500932f..."} 
[2026-06-02 09:35:49] local.INFO: Packet analysis {"connection_id":89527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8682"} 
[2026-06-02 09:35:49] local.INFO: Extracted packet for processing {"connection_id":89527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8682"} 
[2026-06-02 09:35:49] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99323072,"longitude_deg":76.2983232,"latitude_deg":9.9323072,"altitude":5,"angle":147,"satellites":47,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05eb8cc0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775446272001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090610335744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:35:49] 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-06-02 09:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780373138000,"timestamp_ms":1780373138000,"timestamp_seconds":1780373138,"priority":1,"record_length":96,"hex_timestamp":"0000019e86822a50"} 
[2026-06-02 09:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:35:49] 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-06-02 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 09:35: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-06-02 09: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-06-02 09:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 09:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 09:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 09:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775446272001,"66":2253,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8805452090610335744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 09:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 09:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775446272001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 09:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090610335744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775446272001,"power":2253,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090610335744}} 
[2026-06-02 09:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":89527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:35:49] local.INFO: GPS data processed {"connection_id":89527,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:35:49] local.INFO: Acknowledgment sent {"connection_id":89527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:36:01] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86812880012d028c0006fccbb80008014b2e..."} 
[2026-06-02 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86812880012d028c0006fccbb80008014b2e..."} 
[2026-06-02 09:36:01] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86812880012d028c0006fccbb80008014b2e..."} 
[2026-06-02 09:36:01] local.INFO: Packet analysis {"connection_id":89682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8681"} 
[2026-06-02 09:36:01] local.INFO: Extracted packet for processing {"connection_id":89682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8681"} 
[2026-06-02 09:36:01] local.INFO: GPS Element Parsed {"raw_longitude":755141632,"raw_latitude":117230520,"longitude_deg":75.5141632,"latitude_deg":11.723052,"altitude":8,"angle":331,"satellites":46,"speed":55,"hex_longitude":"2d028c00","hex_latitude":"06fccbb8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775505664001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305374206265131008,"note":"Value kept but may cause issues"} 
[2026-06-02 09:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":185914252127510528,"note":"Value kept but may cause issues"} 
[2026-06-02 09:36:01] 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-06-02 09:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780373072000,"timestamp_ms":1780373072000,"timestamp_seconds":1780373072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86812880"} 
[2026-06-02 09:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:36: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-06-02 09: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 09:36: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-06-02 09: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-06-02 09:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:36: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-06-02 09:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775505664001,"66":27800,"131":206,"94":11008,"24":55,"16":305374206265131008,"45":185914252127510528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-06-02 09:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775505664001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:36:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-02 09:36:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305374206265131008,"km_value":305374206265131.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":185914252127510528,"description":"Unknown IO ID 45"} 
[2026-06-02 09:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775505664001,"power":27800,"unknown_131":206,"unknown_94":11008,"ignition":55,"odometer":null,"unknown_45":185914252127510528}} 
[2026-06-02 09:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":89682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:36:01] local.INFO: GPS data processed {"connection_id":89682,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:36:01] local.INFO: Acknowledgment sent {"connection_id":89682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:36:24] local.INFO: TCP Data received {"connection_id":89274,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:36:24] local.INFO: Processing buffer {"connection_id":89274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:36:24] local.INFO: IMEI packet received {"connection_id":89274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":89274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:36:29] local.INFO: TCP Data received {"connection_id":89274,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:36:29] local.INFO: Processing buffer {"connection_id":89274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:36:29] local.INFO: IMEI packet received {"connection_id":89274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":89274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:36:30] local.INFO: TCP Data received {"connection_id":89274,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e868143d8012d02764006fced18000701462d..."} 
[2026-06-02 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868143d8012d02764006fced18000701462d..."} 
[2026-06-02 09:36:30] local.INFO: Processing buffer {"connection_id":89274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868143d8012d02764006fced18000701462d..."} 
[2026-06-02 09:36:30] local.INFO: Packet analysis {"connection_id":89274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8681"} 
[2026-06-02 09:36:30] local.INFO: Extracted packet for processing {"connection_id":89274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8681"} 
[2026-06-02 09:36:30] local.INFO: GPS Element Parsed {"raw_longitude":755136064,"raw_latitude":117239064,"longitude_deg":75.5136064,"latitude_deg":11.7239064,"altitude":7,"angle":326,"satellites":45,"speed":59,"hex_longitude":"2d027640","hex_latitude":"06fced18","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775506432001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305374700186370048,"note":"Value kept but may cause issues"} 
[2026-06-02 09:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":183521714826360832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:36:30] 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-06-02 09:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373079000,"timestamp_ms":1780373079000,"timestamp_seconds":1780373079,"priority":1,"record_length":96,"hex_timestamp":"0000019e868143d8"} 
[2026-06-02 09:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:36: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-06-02 09: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:36:30] 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-06-02 09: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-06-02 09:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:36:30] 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-06-02 09:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775506432001,"66":27745,"131":206,"94":11008,"24":59,"16":305374700186370048,"45":183521714826360832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-06-02 09:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775506432001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:36:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-02 09:36:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305374700186370048,"km_value":305374700186370.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":183521714826360832,"description":"Unknown IO ID 45"} 
[2026-06-02 09:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775506432001,"power":27745,"unknown_131":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":183521714826360832}} 
[2026-06-02 09:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":89274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:36:30] local.INFO: GPS data processed {"connection_id":89274,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:36:30] local.INFO: Acknowledgment sent {"connection_id":89274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:37:00] local.INFO: TCP Data received {"connection_id":89274,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8682b308012d019bc006fe3b60000901392d..."} 
[2026-06-02 09:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8682b308012d019bc006fe3b60000901392d..."} 
[2026-06-02 09:37:00] local.INFO: Processing buffer {"connection_id":89274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8682b308012d019bc006fe3b60000901392d..."} 
[2026-06-02 09:37:00] local.INFO: Packet analysis {"connection_id":89274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8682"} 
[2026-06-02 09:37:00] local.INFO: Extracted packet for processing {"connection_id":89274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8682"} 
[2026-06-02 09:37:00] local.INFO: GPS Element Parsed {"raw_longitude":755080128,"raw_latitude":117324640,"longitude_deg":75.5080128,"latitude_deg":11.732464,"altitude":9,"angle":313,"satellites":45,"speed":50,"hex_longitude":"2d019bc0","hex_latitude":"06fe3b60","is_valid_coordinates":true} 
[2026-06-02 09:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775530240001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305379708118237184,"note":"Value kept but may cause issues"} 
[2026-06-02 09:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":123497176065183744,"note":"Value kept but may cause issues"} 
[2026-06-02 09:37:00] 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-06-02 09:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780373173000,"timestamp_ms":1780373173000,"timestamp_seconds":1780373173,"priority":1,"record_length":96,"hex_timestamp":"0000019e8682b308"} 
[2026-06-02 09:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:37: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-06-02 09:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 09:37: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-06-02 09:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:37: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-06-02 09:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775530240001,"66":27930,"131":206,"94":11008,"24":50,"16":305379708118237184,"45":123497176065183744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-06-02 09:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775530240001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:37:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-02 09:37:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305379708118237184,"km_value":305379708118237.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":123497176065183744,"description":"Unknown IO ID 45"} 
[2026-06-02 09:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775530240001,"power":27930,"unknown_131":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":123497176065183744}} 
[2026-06-02 09:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":89274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:37:00] local.INFO: GPS data processed {"connection_id":89274,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:37:00] local.INFO: Acknowledgment sent {"connection_id":89274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:37:34] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:37:34] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:37:34] local.INFO: IMEI packet received {"connection_id":89684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":89684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:37:39] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:37:39] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:37:39] local.INFO: IMEI packet received {"connection_id":89684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":89684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:37:40] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8682ce60012d017fc006fe51f80008012b2e..."} 
[2026-06-02 09:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8682ce60012d017fc006fe51f80008012b2e..."} 
[2026-06-02 09:37:40] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8682ce60012d017fc006fe51f80008012b2e..."} 
[2026-06-02 09:37:40] local.INFO: Packet analysis {"connection_id":89684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8682"} 
[2026-06-02 09:37:40] local.INFO: Extracted packet for processing {"connection_id":89684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8682"} 
[2026-06-02 09:37:40] local.INFO: GPS Element Parsed {"raw_longitude":755072960,"raw_latitude":117330424,"longitude_deg":75.507296,"latitude_deg":11.7330424,"altitude":8,"angle":299,"satellites":46,"speed":49,"hex_longitude":"2d017fc0","hex_latitude":"06fe51f8","is_valid_coordinates":true} 
[2026-06-02 09:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775532288001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305380150499868672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":115897351695720448,"note":"Value kept but may cause issues"} 
[2026-06-02 09:37:40] 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-06-02 09:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780373180000,"timestamp_ms":1780373180000,"timestamp_seconds":1780373180,"priority":1,"record_length":96,"hex_timestamp":"0000019e8682ce60"} 
[2026-06-02 09:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:37: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-06-02 09:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 09:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775532288001,"66":27876,"131":206,"94":11008,"24":49,"16":305380150499868672,"45":115897351695720448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-06-02 09:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775532288001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:37:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-02 09:37:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-02 09:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305380150499868672,"km_value":305380150499868.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":115897351695720448,"description":"Unknown IO ID 45"} 
[2026-06-02 09:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775532288001,"power":27876,"unknown_131":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":115897351695720448}} 
[2026-06-02 09:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":89684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:37:40] local.INFO: GPS data processed {"connection_id":89684,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:37:40] local.INFO: Acknowledgment sent {"connection_id":89684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:38:24] local.INFO: TCP Data received {"connection_id":90749,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:38:24] local.INFO: Processing buffer {"connection_id":90749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:38:24] local.INFO: IMEI packet received {"connection_id":90749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":90749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:38:29] local.INFO: TCP Data received {"connection_id":90749,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:38:29] local.INFO: Processing buffer {"connection_id":90749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:38:29] local.INFO: IMEI packet received {"connection_id":90749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":90749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:38:30] local.INFO: TCP Data received {"connection_id":90749,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8683dfd0012d00824006fec1d8000a01372d..."} 
[2026-06-02 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8683dfd0012d00824006fec1d8000a01372d..."} 
[2026-06-02 09:38:30] local.INFO: Processing buffer {"connection_id":90749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8683dfd0012d00824006fec1d8000a01372d..."} 
[2026-06-02 09:38:30] local.INFO: Packet analysis {"connection_id":90749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8683"} 
[2026-06-02 09:38:30] local.INFO: Extracted packet for processing {"connection_id":90749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8683"} 
[2026-06-02 09:38:30] local.INFO: GPS Element Parsed {"raw_longitude":755008064,"raw_latitude":117359064,"longitude_deg":75.5008064,"latitude_deg":11.7359064,"altitude":10,"angle":311,"satellites":45,"speed":45,"hex_longitude":"2d008240","hex_latitude":"06fec1d8","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775551488001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305383595063640064,"note":"Value kept but may cause issues"} 
[2026-06-02 09:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":38773208085456896,"note":"Value kept but may cause issues"} 
[2026-06-02 09:38: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-06-02 09:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373250000,"timestamp_ms":1780373250000,"timestamp_seconds":1780373250,"priority":1,"record_length":96,"hex_timestamp":"0000019e8683dfd0"} 
[2026-06-02 09:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:38: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-06-02 09:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 09:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:38:30] 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-06-02 09:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775551488001,"66":27800,"27":206,"94":10240,"24":45,"16":305383595063640064,"45":38773208085456896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-06-02 09:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775551488001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-02 09:38:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305383595063640064,"km_value":305383595063640.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":38773208085456896,"description":"Unknown IO ID 45"} 
[2026-06-02 09:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775551488001,"power":27800,"unknown_27":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":38773208085456896}} 
[2026-06-02 09:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":90749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:38:30] local.INFO: GPS data processed {"connection_id":90749,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:38:30] local.INFO: Acknowledgment sent {"connection_id":90749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:39:03] local.INFO: TCP Data received {"connection_id":90749,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8683e7a0012d007cc006fec878000a01472f..."} 
[2026-06-02 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8683e7a0012d007cc006fec878000a01472f..."} 
[2026-06-02 09:39:03] local.INFO: Processing buffer {"connection_id":90749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8683e7a0012d007cc006fec878000a01472f..."} 
[2026-06-02 09:39:03] local.INFO: Packet analysis {"connection_id":90749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8683"} 
[2026-06-02 09:39:03] local.INFO: Extracted packet for processing {"connection_id":90749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8683"} 
[2026-06-02 09:39:03] local.INFO: GPS Element Parsed {"raw_longitude":755006656,"raw_latitude":117360760,"longitude_deg":75.5006656,"latitude_deg":11.736076,"altitude":10,"angle":327,"satellites":47,"speed":42,"hex_longitude":"2d007cc0","hex_latitude":"06fec878","is_valid_coordinates":true} 
[2026-06-02 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775552000001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305383702437822464,"note":"Value kept but may cause issues"} 
[2026-06-02 09:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":36662145760483328,"note":"Value kept but may cause issues"} 
[2026-06-02 09:39:03] 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-06-02 09:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780373252000,"timestamp_ms":1780373252000,"timestamp_seconds":1780373252,"priority":1,"record_length":96,"hex_timestamp":"0000019e8683e7a0"} 
[2026-06-02 09:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:39: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-06-02 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:39: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-06-02 09:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775552000001,"66":27843,"27":206,"94":10240,"24":42,"16":305383702437822464,"45":36662145760483328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-06-02 09:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775552000001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:39:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-02 09:39:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305383702437822464,"km_value":305383702437822.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":36662145760483328,"description":"Unknown IO ID 45"} 
[2026-06-02 09:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775552000001,"power":27843,"unknown_27":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":36662145760483328}} 
[2026-06-02 09:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":90749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:39:03] local.INFO: GPS data processed {"connection_id":90749,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:39:03] local.INFO: Acknowledgment sent {"connection_id":90749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:39:24] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:39:24] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:39:24] local.INFO: IMEI packet received {"connection_id":89529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":89529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:39:28] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:39:28] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:39:28] local.INFO: IMEI packet received {"connection_id":89529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":89529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:39:29] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8683ef70012d0079c006fed078000b01592d..."} 
[2026-06-02 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8683ef70012d0079c006fed078000b01592d..."} 
[2026-06-02 09:39:29] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8683ef70012d0079c006fed078000b01592d..."} 
[2026-06-02 09:39:29] local.INFO: Packet analysis {"connection_id":89529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8683"} 
[2026-06-02 09:39:29] local.INFO: Extracted packet for processing {"connection_id":89529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8683"} 
[2026-06-02 09:39:29] local.INFO: GPS Element Parsed {"raw_longitude":755005888,"raw_latitude":117362808,"longitude_deg":75.5005888,"latitude_deg":11.7362808,"altitude":11,"angle":345,"satellites":45,"speed":42,"hex_longitude":"2d0079c0","hex_latitude":"06fed078","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775552512001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305383805517037568,"note":"Value kept but may cause issues"} 
[2026-06-02 09:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":35114033389008896,"note":"Value kept but may cause issues"} 
[2026-06-02 09:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 09:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780373254000,"timestamp_ms":1780373254000,"timestamp_seconds":1780373254,"priority":1,"record_length":96,"hex_timestamp":"0000019e8683ef70"} 
[2026-06-02 09:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:39: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-06-02 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 09:39: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-06-02 09: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-06-02 09:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:39:29] 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-06-02 09:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775552512001,"66":27887,"26":206,"94":10240,"24":42,"16":305383805517037568,"45":35114033389008896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,94,24,16,45]} 
[2026-06-02 09:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775552512001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:39:29] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-06-02 09:39:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305383805517037568,"km_value":305383805517037.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":35114033389008896,"description":"Unknown IO ID 45"} 
[2026-06-02 09:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775552512001,"power":27887,"unknown_26":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":35114033389008896}} 
[2026-06-02 09:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":89529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:39:29] local.INFO: GPS data processed {"connection_id":89529,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:39:29] local.INFO: Acknowledgment sent {"connection_id":89529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:40:00] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e868552e8012cfff28006ffb568001001322d..."} 
[2026-06-02 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868552e8012cfff28006ffb568001001322d..."} 
[2026-06-02 09:40:00] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868552e8012cfff28006ffb568001001322d..."} 
[2026-06-02 09:40:00] local.INFO: Packet analysis {"connection_id":89529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:40:00] local.INFO: Extracted packet for processing {"connection_id":89529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:40:00] local.INFO: GPS Element Parsed {"raw_longitude":754971264,"raw_latitude":117421416,"longitude_deg":75.4971264,"latitude_deg":11.7421416,"altitude":16,"angle":306,"satellites":45,"speed":16,"hex_longitude":"2cfff280","hex_latitude":"06ffb568","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775575808001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305387353160024064,"note":"Value kept but may cause issues"} 
[2026-06-02 09:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3236932172419072,"note":"Value kept but may cause issues"} 
[2026-06-02 09:40:00] 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-06-02 09:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780373345000,"timestamp_ms":1780373345000,"timestamp_seconds":1780373345,"priority":1,"record_length":96,"hex_timestamp":"0000019e868552e8"} 
[2026-06-02 09:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:40: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-06-02 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 09:40:00] 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-06-02 09: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-06-02 09:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:40: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-06-02 09:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775575808001,"66":27995,"102":206,"94":10240,"24":16,"16":305387353160024064,"44":-3236932172419072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-06-02 09:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775575808001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:40:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 09:40:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305387353160024064,"km_value":305387353160024.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3236932172419072,"description":"Unknown IO ID 44"} 
[2026-06-02 09:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775575808001,"power":27995,"unknown_102":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_44":-3236932172419072}} 
[2026-06-02 09:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":89529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:40:00] local.INFO: GPS data processed {"connection_id":89529,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:40:00] local.INFO: Acknowledgment sent {"connection_id":89529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:40:24] local.INFO: TCP Data received {"connection_id":89685,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:40:24] local.INFO: Processing buffer {"connection_id":89685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:40:24] local.INFO: IMEI packet received {"connection_id":89685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":89685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:40:24] local.INFO: TCP Data received {"connection_id":89276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:40:24] local.INFO: Processing buffer {"connection_id":89276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:40:24] local.INFO: IMEI packet received {"connection_id":89276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":89276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:40:29] local.INFO: TCP Data received {"connection_id":89276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:40:29] local.INFO: Processing buffer {"connection_id":89276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:40:29] local.INFO: IMEI packet received {"connection_id":89276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":89276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:40:30] local.INFO: TCP Data received {"connection_id":89276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86855ab8012cffef0006ffb728000f01272e..."} 
[2026-06-02 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86855ab8012cffef0006ffb728000f01272e..."} 
[2026-06-02 09:40:31] local.INFO: Processing buffer {"connection_id":89276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86855ab8012cffef0006ffb728000f01272e..."} 
[2026-06-02 09:40:31] local.INFO: Packet analysis {"connection_id":89276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:40:31] local.INFO: Extracted packet for processing {"connection_id":89276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":754970368,"raw_latitude":117421864,"longitude_deg":75.4970368,"latitude_deg":11.7421864,"altitude":15,"angle":295,"satellites":46,"speed":21,"hex_longitude":"2cffef00","hex_latitude":"06ffb728","is_valid_coordinates":true} 
[2026-06-02 09:40: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-06-02 09:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775576320001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305387400404664320,"note":"Value kept but may cause issues"} 
[2026-06-02 09:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3799882125711360,"note":"Value kept but may cause issues"} 
[2026-06-02 09:40:31] 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-06-02 09:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780373347000,"timestamp_ms":1780373347000,"timestamp_seconds":1780373347,"priority":1,"record_length":96,"hex_timestamp":"0000019e86855ab8"} 
[2026-06-02 09:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:40: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-06-02 09:40: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 09:40:31] 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-06-02 09:40: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-06-02 09:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:40:31] 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-06-02 09:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775576320001,"66":27908,"102":206,"94":10240,"24":21,"16":305387400404664320,"44":-3799882125711360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-06-02 09:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775576320001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305387400404664320,"km_value":305387400404664.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3799882125711360,"description":"Unknown IO ID 44"} 
[2026-06-02 09:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775576320001,"power":27908,"unknown_102":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_44":-3799882125711360}} 
[2026-06-02 09:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":89276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:40:31] local.INFO: GPS data processed {"connection_id":89276,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:40:31] local.INFO: Acknowledgment sent {"connection_id":89276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:40:58] local.INFO: TCP Data received {"connection_id":89530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:40:58] local.INFO: Processing buffer {"connection_id":89530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:40:58] local.INFO: IMEI packet received {"connection_id":89530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":89530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:41:02] local.INFO: TCP Data received {"connection_id":89276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86858998012cffcdc006ffc308000e011f2c..."} 
[2026-06-02 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86858998012cffcdc006ffc308000e011f2c..."} 
[2026-06-02 09:41:02] local.INFO: Processing buffer {"connection_id":89276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86858998012cffcdc006ffc308000e011f2c..."} 
[2026-06-02 09:41:02] local.INFO: Packet analysis {"connection_id":89276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:41:02] local.INFO: Extracted packet for processing {"connection_id":89276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:41:02] local.INFO: GPS Element Parsed {"raw_longitude":754961856,"raw_latitude":117424904,"longitude_deg":75.4961856,"latitude_deg":11.7424904,"altitude":14,"angle":287,"satellites":44,"speed":37,"hex_longitude":"2cffcdc0","hex_latitude":"06ffc308","is_valid_coordinates":true} 
[2026-06-02 09:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775576832001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305387829901393920,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4785044544083968,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:02] 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-06-02 09:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780373359000,"timestamp_ms":1780373359000,"timestamp_seconds":1780373359,"priority":1,"record_length":96,"hex_timestamp":"0000019e86858998"} 
[2026-06-02 09:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:41: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-06-02 09:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 09:41: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-06-02 09:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:41:02] 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-06-02 09:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775576832001,"66":27604,"102":206,"94":10240,"24":37,"16":305387829901393920,"44":-4785044544083968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-06-02 09:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775576832001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:41:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 09:41:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305387829901393920,"km_value":305387829901393.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4785044544083968,"description":"Unknown IO ID 44"} 
[2026-06-02 09:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775576832001,"power":27604,"unknown_102":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_44":-4785044544083968}} 
[2026-06-02 09:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":89276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:41:02] local.INFO: GPS data processed {"connection_id":89276,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:41:02] local.INFO: Acknowledgment sent {"connection_id":89276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:41:29] local.INFO: TCP Data received {"connection_id":89277,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:41:29] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:41:29] local.INFO: IMEI packet received {"connection_id":89277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":89277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:41:34] local.INFO: TCP Data received {"connection_id":89277,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:41:34] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:41:34] local.INFO: IMEI packet received {"connection_id":89277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":89277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:41:35] local.INFO: TCP Data received {"connection_id":89277,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8685acc0012cffaac006ffd0c8000d01252d..."} 
[2026-06-02 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8685acc0012cffaac006ffd0c8000d01252d..."} 
[2026-06-02 09:41:35] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8685acc0012cffaac006ffd0c8000d01252d..."} 
[2026-06-02 09:41:35] local.INFO: Packet analysis {"connection_id":89277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:41:35] local.INFO: Extracted packet for processing {"connection_id":89277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:41:35] local.INFO: GPS Element Parsed {"raw_longitude":754952896,"raw_latitude":117428424,"longitude_deg":75.4952896,"latitude_deg":11.7428424,"altitude":13,"angle":293,"satellites":45,"speed":44,"hex_longitude":"2cffaac0","hex_latitude":"06ffd0c8","is_valid_coordinates":true} 
[2026-06-02 09:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775579904001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305388289462894592,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-14144087518935040,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:35] 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-06-02 09:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780373368000,"timestamp_ms":1780373368000,"timestamp_seconds":1780373368,"priority":1,"record_length":96,"hex_timestamp":"0000019e8685acc0"} 
[2026-06-02 09:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-02 09:41:35] 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-06-02 09:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775579904001,"66":27843,"102":206,"94":10240,"24":44,"16":305388289462894592,"44":-14144087518935040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-06-02 09:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775579904001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 09:41:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305388289462894592,"km_value":305388289462894.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-14144087518935040,"description":"Unknown IO ID 44"} 
[2026-06-02 09:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775579904001,"power":27843,"unknown_102":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-14144087518935040}} 
[2026-06-02 09:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":89277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:41:35] local.INFO: GPS data processed {"connection_id":89277,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:41:35] local.INFO: Acknowledgment sent {"connection_id":89277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:41:39] local.INFO: TCP Data received {"connection_id":89277,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8685d3d0012cff890006ffdf80000e01272c..."} 
[2026-06-02 09:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8685d3d0012cff890006ffdf80000e01272c..."} 
[2026-06-02 09:41:39] local.INFO: Processing buffer {"connection_id":89277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8685d3d0012cff890006ffdf80000e01272c..."} 
[2026-06-02 09:41:39] local.INFO: Packet analysis {"connection_id":89277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:41:39] local.INFO: Extracted packet for processing {"connection_id":89277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:41:39] local.INFO: GPS Element Parsed {"raw_longitude":754944256,"raw_latitude":117432192,"longitude_deg":75.4944256,"latitude_deg":11.7432192,"altitude":14,"angle":295,"satellites":44,"speed":23,"hex_longitude":"2cff8900","hex_latitude":"06ffdf80","is_valid_coordinates":true} 
[2026-06-02 09:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775582208001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305388740434460672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-23995711702906880,"note":"Value kept but may cause issues"} 
[2026-06-02 09:41:39] 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-06-02 09:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780373378000,"timestamp_ms":1780373378000,"timestamp_seconds":1780373378,"priority":1,"record_length":96,"hex_timestamp":"0000019e8685d3d0"} 
[2026-06-02 09:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 09:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 09:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:41:39] 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-06-02 09:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775582208001,"66":27800,"102":206,"94":10240,"24":23,"16":305388740434460672,"44":-23995711702906880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-06-02 09:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775582208001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:41:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 09:41:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305388740434460672,"km_value":305388740434460.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:41:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-23995711702906880,"description":"Unknown IO ID 44"} 
[2026-06-02 09:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775582208001,"power":27800,"unknown_102":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_44":-23995711702906880}} 
[2026-06-02 09:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":89277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:41:39] local.INFO: GPS data processed {"connection_id":89277,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:41:39] local.INFO: Acknowledgment sent {"connection_id":89277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:42:24] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:24] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:24] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:42:24] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:24] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:24] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:42:25] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:25] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:42:25] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:42:26] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8685ef28012cff7d8006ffe3c8000d011b2c..."} 
[2026-06-02 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8685ef28012cff7d8006ffe3c8000d011b2c..."} 
[2026-06-02 09:42:26] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8685ef28012cff7d8006ffe3c8000d011b2c..."} 
[2026-06-02 09:42:26] local.INFO: Packet analysis {"connection_id":89687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:42:26] local.INFO: Extracted packet for processing {"connection_id":89687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8685"} 
[2026-06-02 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":754941312,"raw_latitude":117433288,"longitude_deg":75.4941312,"latitude_deg":11.7433288,"altitude":13,"angle":283,"satellites":44,"speed":12,"hex_longitude":"2cff7d80","hex_latitude":"06ffe3c8","is_valid_coordinates":true} 
[2026-06-02 09:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775584768001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305388886463348736,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-33495492165926912,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42: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-06-02 09:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780373385000,"timestamp_ms":1780373385000,"timestamp_seconds":1780373385,"priority":1,"record_length":96,"hex_timestamp":"0000019e8685ef28"} 
[2026-06-02 09:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:42: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-06-02 09:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775584768001,"66":27745,"141":206,"94":10240,"24":12,"16":305388886463348736,"44":-33495492165926912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775584768001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:42:26] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:42:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305388886463348736,"km_value":305388886463348.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-33495492165926912,"description":"Unknown IO ID 44"} 
[2026-06-02 09:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775584768001,"power":27745,"unknown_141":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_44":-33495492165926912}} 
[2026-06-02 09:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":89687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:42:26] local.INFO: GPS data processed {"connection_id":89687,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:42:26] local.INFO: Acknowledgment sent {"connection_id":89687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:42:27] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e868625d8012cff6c4006ffe858000901282c..."} 
[2026-06-02 09:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868625d8012cff6c4006ffe858000901282c..."} 
[2026-06-02 09:42:27] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868625d8012cff6c4006ffe858000901282c..."} 
[2026-06-02 09:42:27] local.INFO: Packet analysis {"connection_id":89687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:42:27] local.INFO: Extracted packet for processing {"connection_id":89687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:42:27] local.INFO: GPS Element Parsed {"raw_longitude":754936896,"raw_latitude":117434456,"longitude_deg":75.4936896,"latitude_deg":11.7434456,"altitude":9,"angle":296,"satellites":44,"speed":16,"hex_longitude":"2cff6c40","hex_latitude":"06ffe858","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775586560001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305389105506680832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-36732454397818880,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:27] 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-06-02 09:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780373399000,"timestamp_ms":1780373399000,"timestamp_seconds":1780373399,"priority":1,"record_length":96,"hex_timestamp":"0000019e868625d8"} 
[2026-06-02 09:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:42: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-06-02 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 09:42: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-06-02 09: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-06-02 09:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775586560001,"66":27713,"141":206,"94":10240,"24":16,"16":305389105506680832,"44":-36732454397818880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775586560001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:42:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:42:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305389105506680832,"km_value":305389105506680.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:42:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-36732454397818880,"description":"Unknown IO ID 44"} 
[2026-06-02 09:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775586560001,"power":27713,"unknown_141":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_44":-36732454397818880}} 
[2026-06-02 09:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":89687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:42:27] local.INFO: GPS data processed {"connection_id":89687,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:42:27] local.INFO: Acknowledgment sent {"connection_id":89687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:42:58] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86863190012cff674006ffebb0000901342e..."} 
[2026-06-02 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86863190012cff674006ffebb0000901342e..."} 
[2026-06-02 09:42:58] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86863190012cff674006ffebb0000901342e..."} 
[2026-06-02 09:42:58] local.INFO: Packet analysis {"connection_id":89687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:42:58] local.INFO: Extracted packet for processing {"connection_id":89687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:42:58] local.INFO: GPS Element Parsed {"raw_longitude":754935616,"raw_latitude":117435312,"longitude_deg":75.4935616,"latitude_deg":11.7435312,"altitude":9,"angle":308,"satellites":46,"speed":23,"hex_longitude":"2cff6740","hex_latitude":"06ffebb0","is_valid_coordinates":true} 
[2026-06-02 09:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775590144001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305389178521124864,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41587897745778688,"note":"Value kept but may cause issues"} 
[2026-06-02 09:42:58] 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-06-02 09:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780373402000,"timestamp_ms":1780373402000,"timestamp_seconds":1780373402,"priority":1,"record_length":96,"hex_timestamp":"0000019e86863190"} 
[2026-06-02 09:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:42: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-06-02 09:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 09:42:58] 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-06-02 09:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:42:58] 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-06-02 09:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775590144001,"66":27691,"141":206,"94":10240,"24":23,"16":305389178521124864,"44":-41587897745778688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775590144001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:42:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:42:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305389178521124864,"km_value":305389178521124.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41587897745778688,"description":"Unknown IO ID 44"} 
[2026-06-02 09:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775590144001,"power":27691,"unknown_141":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_44":-41587897745778688}} 
[2026-06-02 09:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":89687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:42:58] local.INFO: GPS data processed {"connection_id":89687,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:42:58] local.INFO: Acknowledgment sent {"connection_id":89687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:43:24] local.INFO: TCP Data received {"connection_id":90750,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:43:24] local.INFO: Processing buffer {"connection_id":90750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:43:24] local.INFO: IMEI packet received {"connection_id":90750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":90750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:43:29] local.INFO: TCP Data received {"connection_id":90750,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:43:29] local.INFO: Processing buffer {"connection_id":90750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:43:29] local.INFO: IMEI packet received {"connection_id":90750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":90750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:43:30] local.INFO: TCP Data received {"connection_id":90750,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86868398012cff4e0006ffff78000a01372e..."} 
[2026-06-02 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86868398012cff4e0006ffff78000a01372e..."} 
[2026-06-02 09:43:30] local.INFO: Processing buffer {"connection_id":90750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86868398012cff4e0006ffff78000a01372e..."} 
[2026-06-02 09:43:30] local.INFO: Packet analysis {"connection_id":90750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:43:30] local.INFO: Extracted packet for processing {"connection_id":90750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":754929152,"raw_latitude":117440376,"longitude_deg":75.4929152,"latitude_deg":11.7440376,"altitude":10,"angle":311,"satellites":46,"speed":18,"hex_longitude":"2cff4e00","hex_latitude":"06ffff78","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775590912001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305389573658116096,"note":"Value kept but may cause issues"} 
[2026-06-02 09:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-42995272629112832,"note":"Value kept but may cause issues"} 
[2026-06-02 09:43:30] 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-06-02 09:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373423000,"timestamp_ms":1780373423000,"timestamp_seconds":1780373423,"priority":1,"record_length":96,"hex_timestamp":"0000019e86868398"} 
[2026-06-02 09:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:43: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-06-02 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-02 09:43:30] 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-06-02 09: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-06-02 09:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:43: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-06-02 09:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775590912001,"66":27974,"141":206,"94":10240,"24":18,"16":305389573658116096,"44":-42995272629112832},"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-06-02 09:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775590912001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:43:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:43:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305389573658116096,"km_value":305389573658116.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-42995272629112832,"description":"Unknown IO ID 44"} 
[2026-06-02 09:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775590912001,"power":27974,"unknown_141":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_44":-42995272629112832}} 
[2026-06-02 09:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":90750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:43:30] local.INFO: GPS data processed {"connection_id":90750,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:43:30] local.INFO: Acknowledgment sent {"connection_id":90750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:44:02] local.INFO: TCP Data received {"connection_id":90750,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8686c218012cff3480070019d0000a013f2a..."} 
[2026-06-02 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8686c218012cff3480070019d0000a013f2a..."} 
[2026-06-02 09:44:02] local.INFO: Processing buffer {"connection_id":90750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8686c218012cff3480070019d0000a013f2a..."} 
[2026-06-02 09:44:02] local.INFO: Packet analysis {"connection_id":90750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:44:02] local.INFO: Extracted packet for processing {"connection_id":90750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8686"} 
[2026-06-02 09:44:02] local.INFO: GPS Element Parsed {"raw_longitude":754922624,"raw_latitude":117447120,"longitude_deg":75.4922624,"latitude_deg":11.744712,"altitude":10,"angle":319,"satellites":42,"speed":25,"hex_longitude":"2cff3480","hex_latitude":"070019d0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775596288001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305390024629682176,"note":"Value kept but may cause issues"} 
[2026-06-02 09:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-50102515789760512,"note":"Value kept but may cause issues"} 
[2026-06-02 09:44:02] 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-06-02 09:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780373439000,"timestamp_ms":1780373439000,"timestamp_seconds":1780373439,"priority":1,"record_length":96,"hex_timestamp":"0000019e8686c218"} 
[2026-06-02 09:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09: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-06-02 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 09:44:02] 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-06-02 09: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-06-02 09:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:44: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-06-02 09:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775596288001,"66":27832,"141":206,"94":10240,"24":25,"16":305390024629682176,"44":-50102515789760512},"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-06-02 09:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775596288001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:44:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:44:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305390024629682176,"km_value":305390024629682.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-50102515789760512,"description":"Unknown IO ID 44"} 
[2026-06-02 09:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775596288001,"power":27832,"unknown_141":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_44":-50102515789760512}} 
[2026-06-02 09:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":90750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:44:02] local.INFO: GPS data processed {"connection_id":90750,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:44:02] local.INFO: Acknowledgment sent {"connection_id":90750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:44:24] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:44:24] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:44:24] local.INFO: IMEI packet received {"connection_id":89688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":89688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:44:29] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:44:29] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:44:29] local.INFO: IMEI packet received {"connection_id":89688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":89688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:44:30] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86871420012cff2c40070024a0000b013e2d..."} 
[2026-06-02 09:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86871420012cff2c40070024a0000b013e2d..."} 
[2026-06-02 09:44:30] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86871420012cff2c40070024a0000b013e2d..."} 
[2026-06-02 09:44:30] local.INFO: Packet analysis {"connection_id":89688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:44:30] local.INFO: Extracted packet for processing {"connection_id":89688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:44:30] local.INFO: GPS Element Parsed {"raw_longitude":754920512,"raw_latitude":117449888,"longitude_deg":75.4920512,"latitude_deg":11.7449888,"altitude":11,"angle":318,"satellites":45,"speed":0,"hex_longitude":"2cff2c40","hex_latitude":"070024a0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775600384001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305390196428374016,"note":"Value kept but may cause issues"} 
[2026-06-02 09:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-57280127694155776,"note":"Value kept but may cause issues"} 
[2026-06-02 09:44:30] 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-06-02 09:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373460000,"timestamp_ms":1780373460000,"timestamp_seconds":1780373460,"priority":1,"record_length":96,"hex_timestamp":"0000019e86871420"} 
[2026-06-02 09:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:44: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-06-02 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 09:44:30] 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-06-02 09: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-06-02 09:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775600384001,"66":27626,"141":206,"94":10240,"24":0,"16":305390196428374016,"44":-57280127694155776},"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-06-02 09:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775600384001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:44:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:44:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305390196428374016,"km_value":305390196428374.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-57280127694155776,"description":"Unknown IO ID 44"} 
[2026-06-02 09:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775600384001,"power":27626,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-57280127694155776}} 
[2026-06-02 09:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":89688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:44:30] local.INFO: GPS data processed {"connection_id":89688,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:44:30] local.INFO: Acknowledgment sent {"connection_id":89688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:45:01] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86876628012cff1b00070037c0000b013f2a..."} 
[2026-06-02 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86876628012cff1b00070037c0000b013f2a..."} 
[2026-06-02 09:45:01] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86876628012cff1b00070037c0000b013f2a..."} 
[2026-06-02 09:45:01] local.INFO: Packet analysis {"connection_id":89688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:45:01] local.INFO: Extracted packet for processing {"connection_id":89688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:45:01] local.INFO: GPS Element Parsed {"raw_longitude":754916096,"raw_latitude":117454784,"longitude_deg":75.4916096,"latitude_deg":11.7454784,"altitude":11,"angle":319,"satellites":42,"speed":26,"hex_longitude":"2cff1b00","hex_latitude":"070037c0","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775605760001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305390514255953920,"note":"Value kept but may cause issues"} 
[2026-06-02 09:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-59602296251310080,"note":"Value kept but may cause issues"} 
[2026-06-02 09:45: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-06-02 09:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780373481000,"timestamp_ms":1780373481000,"timestamp_seconds":1780373481,"priority":1,"record_length":96,"hex_timestamp":"0000019e86876628"} 
[2026-06-02 09:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:45: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-06-02 09: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 09:45:01] 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-06-02 09: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-06-02 09:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775605760001,"66":27800,"141":206,"94":10240,"24":26,"16":305390514255953920,"44":-59602296251310080},"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-06-02 09:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775605760001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:45:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:45:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305390514255953920,"km_value":305390514255953.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-59602296251310080,"description":"Unknown IO ID 44"} 
[2026-06-02 09:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775605760001,"power":27800,"unknown_141":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_44":-59602296251310080}} 
[2026-06-02 09:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":89688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:45:01] local.INFO: GPS data processed {"connection_id":89688,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:45:01] local.INFO: Acknowledgment sent {"connection_id":89688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:45:24] local.INFO: TCP Data received {"connection_id":89278,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:45:24] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:45:24] local.INFO: IMEI packet received {"connection_id":89278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:45:29] local.INFO: TCP Data received {"connection_id":89278,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:45:29] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:45:29] local.INFO: IMEI packet received {"connection_id":89278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":89278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:45:30] local.INFO: TCP Data received {"connection_id":89278,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8687b060012cff03c0070052e8000b01412b..."} 
[2026-06-02 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8687b060012cff03c0070052e8000b01412b..."} 
[2026-06-02 09:45:30] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8687b060012cff03c0070052e8000b01412b..."} 
[2026-06-02 09:45:30] local.INFO: Packet analysis {"connection_id":89278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:45:30] local.INFO: Extracted packet for processing {"connection_id":89278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:45:30] local.INFO: GPS Element Parsed {"raw_longitude":754910144,"raw_latitude":117461736,"longitude_deg":75.4910144,"latitude_deg":11.7461736,"altitude":11,"angle":321,"satellites":43,"speed":24,"hex_longitude":"2cff03c0","hex_latitude":"070052e8","is_valid_coordinates":true} 
[2026-06-02 09:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775611136001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305390956637585408,"note":"Value kept but may cause issues"} 
[2026-06-02 09:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-64457739598315520,"note":"Value kept but may cause issues"} 
[2026-06-02 09:45:30] 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-06-02 09:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373500000,"timestamp_ms":1780373500000,"timestamp_seconds":1780373500,"priority":1,"record_length":96,"hex_timestamp":"0000019e8687b060"} 
[2026-06-02 09:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:45: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-06-02 09:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 09:45:30] 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-06-02 09:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:45:30] 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-06-02 09:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775611136001,"66":27919,"141":206,"94":10240,"24":24,"16":305390956637585408,"44":-64457739598315520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775611136001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:45:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:45:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305390956637585408,"km_value":305390956637585.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-64457739598315520,"description":"Unknown IO ID 44"} 
[2026-06-02 09:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775611136001,"power":27919,"unknown_141":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_44":-64457739598315520}} 
[2026-06-02 09:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":89278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:45:30] local.INFO: GPS data processed {"connection_id":89278,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:45:30] local.INFO: Acknowledgment sent {"connection_id":89278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:46:02] local.INFO: TCP Data received {"connection_id":89278,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8687c3e8012cfefe00070059a8000c012c2c..."} 
[2026-06-02 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8687c3e8012cfefe00070059a8000c012c2c..."} 
[2026-06-02 09:46:02] local.INFO: Processing buffer {"connection_id":89278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8687c3e8012cfefe00070059a8000c012c2c..."} 
[2026-06-02 09:46:02] local.INFO: Packet analysis {"connection_id":89278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:46:02] local.INFO: Extracted packet for processing {"connection_id":89278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:46:02] local.INFO: GPS Element Parsed {"raw_longitude":754908672,"raw_latitude":117463464,"longitude_deg":75.4908672,"latitude_deg":11.7463464,"altitude":12,"angle":300,"satellites":44,"speed":10,"hex_longitude":"2cfefe00","hex_latitude":"070059a8","is_valid_coordinates":true} 
[2026-06-02 09:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775616000001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391064011767808,"note":"Value kept but may cause issues"} 
[2026-06-02 09:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71002032805058560,"note":"Value kept but may cause issues"} 
[2026-06-02 09:46:02] 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-06-02 09:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780373505000,"timestamp_ms":1780373505000,"timestamp_seconds":1780373505,"priority":1,"record_length":96,"hex_timestamp":"0000019e8687c3e8"} 
[2026-06-02 09:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:46: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-06-02 09:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 09:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:46:02] 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-06-02 09:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775616000001,"66":27843,"141":206,"94":10240,"24":10,"16":305391064011767808,"44":-71002032805058560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775616000001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:46:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:46:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391064011767808,"km_value":305391064011767.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71002032805058560,"description":"Unknown IO ID 44"} 
[2026-06-02 09:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775616000001,"power":27843,"unknown_141":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_44":-71002032805058560}} 
[2026-06-02 09:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":89278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:46:02] local.INFO: GPS data processed {"connection_id":89278,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:46:02] local.INFO: Acknowledgment sent {"connection_id":89278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:46:24] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:46:24] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:46:24] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:46:29] local.INFO: TCP Data received {"connection_id":89535,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:46:29] local.INFO: Processing buffer {"connection_id":89535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:46:29] local.INFO: IMEI packet received {"connection_id":89535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":89535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:46:29] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:46:29] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:46:29] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:46:31] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8687cbb8012cfefc8007005a78000d00ff2e..."} 
[2026-06-02 09:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8687cbb8012cfefc8007005a78000d00ff2e..."} 
[2026-06-02 09:46:31] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8687cbb8012cfefc8007005a78000d00ff2e..."} 
[2026-06-02 09:46:31] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:46:31] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:46:31] local.INFO: GPS Element Parsed {"raw_longitude":754908288,"raw_latitude":117463672,"longitude_deg":75.4908288,"latitude_deg":11.7463672,"altitude":13,"angle":255,"satellites":46,"speed":6,"hex_longitude":"2cfefc80","hex_latitude":"07005a78","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775617280001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391085486604288,"note":"Value kept but may cause issues"} 
[2026-06-02 09:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72620513920702464,"note":"Value kept but may cause issues"} 
[2026-06-02 09:46:31] 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-06-02 09:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780373507000,"timestamp_ms":1780373507000,"timestamp_seconds":1780373507,"priority":1,"record_length":96,"hex_timestamp":"0000019e8687cbb8"} 
[2026-06-02 09:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:46: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-06-02 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 09:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:46:31] 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-06-02 09:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775617280001,"66":27887,"141":206,"94":10240,"24":6,"16":305391085486604288,"44":-72620513920702464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775617280001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:46:31] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:46:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391085486604288,"km_value":305391085486604.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72620513920702464,"description":"Unknown IO ID 44"} 
[2026-06-02 09:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775617280001,"power":27887,"unknown_141":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_44":-72620513920702464}} 
[2026-06-02 09:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:46:31] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:46:31] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:46:58] local.INFO: TCP Data received {"connection_id":89279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:46:58] local.INFO: Processing buffer {"connection_id":89279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:46:58] local.INFO: IMEI packet received {"connection_id":89279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":89279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:47:02] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8687cfa0012cfefc0007005a48000e00db2e..."} 
[2026-06-02 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8687cfa0012cfefc0007005a48000e00db2e..."} 
[2026-06-02 09:47:02] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8687cfa0012cfefc0007005a48000e00db2e..."} 
[2026-06-02 09:47:02] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:47:02] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":754908160,"raw_latitude":117463624,"longitude_deg":75.490816,"latitude_deg":11.7463624,"altitude":14,"angle":219,"satellites":46,"speed":5,"hex_longitude":"2cfefc00","hex_latitude":"07005a48","is_valid_coordinates":true} 
[2026-06-02 09:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775617792001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391094076538880,"note":"Value kept but may cause issues"} 
[2026-06-02 09:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73042726385715200,"note":"Value kept but may cause issues"} 
[2026-06-02 09:47:02] 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-06-02 09:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780373508000,"timestamp_ms":1780373508000,"timestamp_seconds":1780373508,"priority":1,"record_length":96,"hex_timestamp":"0000019e8687cfa0"} 
[2026-06-02 09:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:47: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-06-02 09:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 09:47:02] 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-06-02 09:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:47:02] 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-06-02 09:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775617792001,"66":27887,"141":206,"94":10240,"24":5,"16":305391094076538880,"44":-73042726385715200},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775617792001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:47:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:47:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391094076538880,"km_value":305391094076538.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73042726385715200,"description":"Unknown IO ID 44"} 
[2026-06-02 09:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775617792001,"power":27887,"unknown_141":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-73042726385715200}} 
[2026-06-02 09:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:47:02] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:47:02] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:47:24] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:47:24] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:47:24] local.INFO: IMEI packet received {"connection_id":89689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":89689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:47:29] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:47:29] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:47:29] local.INFO: IMEI packet received {"connection_id":89689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":89689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:47:30] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8687df40012cfef980070057d8000e00e02d..."} 
[2026-06-02 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8687df40012cfef980070057d8000e00e02d..."} 
[2026-06-02 09:47:30] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8687df40012cfef980070057d8000e00e02d..."} 
[2026-06-02 09:47:30] local.INFO: Packet analysis {"connection_id":89689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:47:30] local.INFO: Extracted packet for processing {"connection_id":89689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":754907520,"raw_latitude":117463000,"longitude_deg":75.490752,"latitude_deg":11.7463,"altitude":14,"angle":224,"satellites":45,"speed":10,"hex_longitude":"2cfef980","hex_latitude":"070057d8","is_valid_coordinates":true} 
[2026-06-02 09:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775618048001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73183463874082816,"note":"Value kept but may cause issues"} 
[2026-06-02 09:47:30] 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-06-02 09:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373512000,"timestamp_ms":1780373512000,"timestamp_seconds":1780373512,"priority":1,"record_length":96,"hex_timestamp":"0000019e8687df40"} 
[2026-06-02 09:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:47: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-06-02 09:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 09:47: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-06-02 09:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:47:30] 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-06-02 09:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775618048001,"66":27767,"141":206,"94":10240,"24":10,"16":305391137026211840,"44":-73183463874082816},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775618048001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:47:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:47:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73183463874082816,"description":"Unknown IO ID 44"} 
[2026-06-02 09:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775618048001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_44":-73183463874082816}} 
[2026-06-02 09:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":89689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:47:30] local.INFO: GPS data processed {"connection_id":89689,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:47:30] local.INFO: Acknowledgment sent {"connection_id":89689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:48:01] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8687e328012cfef84007005718000e00ec2e..."} 
[2026-06-02 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8687e328012cfef84007005718000e00ec2e..."} 
[2026-06-02 09:48:01] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8687e328012cfef84007005718000e00ec2e..."} 
[2026-06-02 09:48:01] local.INFO: Packet analysis {"connection_id":89689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:48:01] local.INFO: Extracted packet for processing {"connection_id":89689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8687"} 
[2026-06-02 09:48:01] local.INFO: GPS Element Parsed {"raw_longitude":754907200,"raw_latitude":117462808,"longitude_deg":75.49072,"latitude_deg":11.7462808,"altitude":14,"angle":236,"satellites":46,"speed":13,"hex_longitude":"2cfef840","hex_latitude":"07005718","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619072001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73887151316019200,"note":"Value kept but may cause issues"} 
[2026-06-02 09:48: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-06-02 09:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780373513000,"timestamp_ms":1780373513000,"timestamp_seconds":1780373513,"priority":1,"record_length":96,"hex_timestamp":"0000019e8687e328"} 
[2026-06-02 09:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:48: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-06-02 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 09:48: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-06-02 09: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-06-02 09:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:48:01] 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-06-02 09:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619072001,"66":27952,"141":206,"94":10240,"24":13,"16":305391137026211840,"44":-73887151316019200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619072001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:48:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:48:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73887151316019200,"description":"Unknown IO ID 44"} 
[2026-06-02 09:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619072001,"power":27952,"unknown_141":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_44":-73887151316019200}} 
[2026-06-02 09:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":89689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:48:01] local.INFO: GPS data processed {"connection_id":89689,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:48:01] local.INFO: Acknowledgment sent {"connection_id":89689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:48:24] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:48:24] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:48:24] local.INFO: IMEI packet received {"connection_id":89690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":89690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:48:29] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:48:29] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:48:29] local.INFO: IMEI packet received {"connection_id":89690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":89690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:48:30] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:48:30] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:48:30] local.INFO: Packet analysis {"connection_id":89690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:48:30] local.INFO: Extracted packet for processing {"connection_id":89690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:48:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:48:30] 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-06-02 09:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:48:30] 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-06-02 09:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:48:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:48:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":89690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:48:30] local.INFO: GPS data processed {"connection_id":89690,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:48:30] local.INFO: Acknowledgment sent {"connection_id":89690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:49:01] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:49:01] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:49:01] local.INFO: Packet analysis {"connection_id":89690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:49:01] local.INFO: Extracted packet for processing {"connection_id":89690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:49: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-06-02 09:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:49: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-06-02 09: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:49: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-06-02 09:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:49:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:49:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":89690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:49:01] local.INFO: GPS data processed {"connection_id":89690,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:49:01] local.INFO: Acknowledgment sent {"connection_id":89690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:49:24] local.INFO: TCP Data received {"connection_id":89691,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:49:24] local.INFO: Processing buffer {"connection_id":89691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:49:24] local.INFO: IMEI packet received {"connection_id":89691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":89691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:49:29] local.INFO: TCP Data received {"connection_id":89691,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:49:29] local.INFO: Processing buffer {"connection_id":89691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:49:29] local.INFO: IMEI packet received {"connection_id":89691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":89691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:49:30] local.INFO: TCP Data received {"connection_id":89691,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:49:30] local.INFO: Processing buffer {"connection_id":89691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:49:30] local.INFO: Packet analysis {"connection_id":89691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:49:30] local.INFO: Extracted packet for processing {"connection_id":89691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:49:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:49:30] 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-06-02 09:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:49:30] 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-06-02 09:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:49:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:49:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":89691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:49:30] local.INFO: GPS data processed {"connection_id":89691,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:49:30] local.INFO: Acknowledgment sent {"connection_id":89691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:50:02] local.INFO: TCP Data received {"connection_id":89691,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:50:02] local.INFO: Processing buffer {"connection_id":89691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:50:02] local.INFO: Packet analysis {"connection_id":89691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:50:02] local.INFO: Extracted packet for processing {"connection_id":89691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:50:02] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:50:02] 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-06-02 09:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:50: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-06-02 09:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:50:02] 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-06-02 09:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:50:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:50:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":89691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:50:02] local.INFO: GPS data processed {"connection_id":89691,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:50:02] local.INFO: Acknowledgment sent {"connection_id":89691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:50:24] local.INFO: TCP Data received {"connection_id":90752,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:50:24] local.INFO: Processing buffer {"connection_id":90752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:50:24] local.INFO: IMEI packet received {"connection_id":90752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":90752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:50:29] local.INFO: TCP Data received {"connection_id":90752,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:50:29] local.INFO: Processing buffer {"connection_id":90752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:50:29] local.INFO: IMEI packet received {"connection_id":90752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":90752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:50:30] local.INFO: TCP Data received {"connection_id":90752,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:50:30] local.INFO: Processing buffer {"connection_id":90752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:50:30] local.INFO: Packet analysis {"connection_id":90752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:50:30] local.INFO: Extracted packet for processing {"connection_id":90752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:50:30] 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-06-02 09:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:50:30] 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-06-02 09:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:50:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:50:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":90752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:50:30] local.INFO: GPS data processed {"connection_id":90752,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:50:30] local.INFO: Acknowledgment sent {"connection_id":90752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:50:38] local.INFO: TCP Data received {"connection_id":89537,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:50:38] local.INFO: Processing buffer {"connection_id":89537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 09:50:38] local.INFO: IMEI packet received {"connection_id":89537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 09:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":89537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:51:01] local.INFO: TCP Data received {"connection_id":90752,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:51:01] local.INFO: Processing buffer {"connection_id":90752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:51:01] local.INFO: Packet analysis {"connection_id":90752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:51:01] local.INFO: Extracted packet for processing {"connection_id":90752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:51:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:51: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-06-02 09:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:51: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-06-02 09:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:51:01] 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-06-02 09:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:51:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:51:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":90752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:51:01] local.INFO: GPS data processed {"connection_id":90752,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:51:01] local.INFO: Acknowledgment sent {"connection_id":90752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:51:24] local.INFO: TCP Data received {"connection_id":90753,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:51:24] local.INFO: Processing buffer {"connection_id":90753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:51:24] local.INFO: IMEI packet received {"connection_id":90753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":90753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:51:29] local.INFO: TCP Data received {"connection_id":90753,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:51:29] local.INFO: Processing buffer {"connection_id":90753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:51:29] local.INFO: IMEI packet received {"connection_id":90753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":90753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:51:35] local.INFO: TCP Data received {"connection_id":90753,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:51:35] local.INFO: Processing buffer {"connection_id":90753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:51:35] local.INFO: Packet analysis {"connection_id":90753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:51:35] local.INFO: Extracted packet for processing {"connection_id":90753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:51:35] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:51:35] 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-06-02 09:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"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-06-02 09:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:51:35] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:51:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":90753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:51:35] local.INFO: GPS data processed {"connection_id":90753,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:51:35] local.INFO: Acknowledgment sent {"connection_id":90753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:52:06] local.INFO: TCP Data received {"connection_id":90753,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:52:06] local.INFO: Processing buffer {"connection_id":90753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:52:06] local.INFO: Packet analysis {"connection_id":90753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:52:06] local.INFO: Extracted packet for processing {"connection_id":90753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:52: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-06-02 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:52: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-06-02 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"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-06-02 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:52:06] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:52:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":90753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:52:06] local.INFO: GPS data processed {"connection_id":90753,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:52:06] local.INFO: Acknowledgment sent {"connection_id":90753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:52:24] local.INFO: TCP Data received {"connection_id":89282,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:52:24] local.INFO: Processing buffer {"connection_id":89282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:52:24] local.INFO: IMEI packet received {"connection_id":89282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":89282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:52:29] local.INFO: TCP Data received {"connection_id":90754,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:52:29] local.INFO: Processing buffer {"connection_id":90754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:52:29] local.INFO: IMEI packet received {"connection_id":90754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":90754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:52:29] local.INFO: TCP Data received {"connection_id":89282,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:52:29] local.INFO: Processing buffer {"connection_id":89282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:52:29] local.INFO: IMEI packet received {"connection_id":89282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":89282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:52:30] local.INFO: TCP Data received {"connection_id":89282,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:52:30] local.INFO: Processing buffer {"connection_id":89282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e868c86a8012cfefc4007004108000c00e627..."} 
[2026-06-02 09:52:30] local.INFO: Packet analysis {"connection_id":89282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:52:30] local.INFO: Extracted packet for processing {"connection_id":89282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e868c"} 
[2026-06-02 09:52:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775619328001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74238995036956672,"note":"Value kept but may cause issues"} 
[2026-06-02 09:52:30] 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-06-02 09:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780373817000,"timestamp_ms":1780373817000,"timestamp_seconds":1780373817,"priority":1,"record_length":96,"hex_timestamp":"0000019e868c86a8"} 
[2026-06-02 09:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-02 09:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:52:30] 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-06-02 09:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775619328001,"66":26430,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-74238995036956672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775619328001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:52:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:52:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74238995036956672,"description":"Unknown IO ID 44"} 
[2026-06-02 09:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775619328001,"power":26430,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-74238995036956672}} 
[2026-06-02 09:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":89282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:52:30] local.INFO: GPS data processed {"connection_id":89282,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:52:30] local.INFO: Acknowledgment sent {"connection_id":89282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:53:01] local.INFO: TCP Data received {"connection_id":89282,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:53:01] local.INFO: Processing buffer {"connection_id":89282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:53:01] local.INFO: Packet analysis {"connection_id":89282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:53:01] local.INFO: Extracted packet for processing {"connection_id":89282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:53: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-06-02 09:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:53: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-06-02 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:53:01] 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-06-02 09:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:53:01] 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-06-02 09:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:53:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:53:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":89282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:53:01] local.INFO: GPS data processed {"connection_id":89282,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:53:01] local.INFO: Acknowledgment sent {"connection_id":89282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:53:04] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:53:04] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:53:04] local.INFO: IMEI packet received {"connection_id":89692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":89692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:53:24] local.INFO: TCP Data received {"connection_id":89283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:53:24] local.INFO: Processing buffer {"connection_id":89283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:53:24] local.INFO: IMEI packet received {"connection_id":89283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":89283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:53:29] local.INFO: TCP Data received {"connection_id":89283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:53:29] local.INFO: Processing buffer {"connection_id":89283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:53:29] local.INFO: IMEI packet received {"connection_id":89283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":89283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:53:30] local.INFO: TCP Data received {"connection_id":89283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:53:30] local.INFO: Processing buffer {"connection_id":89283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:53:30] local.INFO: Packet analysis {"connection_id":89283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:53:30] local.INFO: Extracted packet for processing {"connection_id":89283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:53:30] 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-06-02 09:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:53:30] 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-06-02 09:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:53:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:53:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":89283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:53:30] local.INFO: GPS data processed {"connection_id":89283,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:53:30] local.INFO: Acknowledgment sent {"connection_id":89283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:54:01] local.INFO: TCP Data received {"connection_id":89283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:54:01] local.INFO: Processing buffer {"connection_id":89283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:54:01] local.INFO: Packet analysis {"connection_id":89283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:54:01] local.INFO: Extracted packet for processing {"connection_id":89283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:54:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 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-06-02 09:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 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-06-02 09:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 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-06-02 09:54: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-06-02 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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:54:01] 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-06-02 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-06-02 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-06-02 09:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:54:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:54:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":89283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:54:01] local.INFO: GPS data processed {"connection_id":89283,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:54:01] local.INFO: Acknowledgment sent {"connection_id":89283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:54:24] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:54:24] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:54:24] local.INFO: IMEI packet received {"connection_id":89540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":89540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:54:29] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:54:29] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:54:29] local.INFO: IMEI packet received {"connection_id":89540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":89540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:54:30] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:54:30] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:54:30] local.INFO: Packet analysis {"connection_id":89540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:54:30] local.INFO: Extracted packet for processing {"connection_id":89540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:54:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:54:30] 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-06-02 09:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:54:30] 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-06-02 09:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:54: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-06-02 09:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 09:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:54:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:54:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":89540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:54:30] local.INFO: GPS data processed {"connection_id":89540,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:54:30] local.INFO: Acknowledgment sent {"connection_id":89540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:55:01] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:55:01] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:55:01] local.INFO: Packet analysis {"connection_id":89540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:55:01] local.INFO: Extracted packet for processing {"connection_id":89540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:55:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:55: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-06-02 09:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:55: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-06-02 09:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:55:01] 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-06-02 09:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:55: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-06-02 09:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 09:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:55:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:55:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":89540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:55:01] local.INFO: GPS data processed {"connection_id":89540,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:55:01] local.INFO: Acknowledgment sent {"connection_id":89540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:55:24] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:55:24] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:55:24] local.INFO: IMEI packet received {"connection_id":89541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":89541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:55:29] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:55:29] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:55:29] local.INFO: IMEI packet received {"connection_id":89541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":89541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:55:30] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:55:30] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:55:30] local.INFO: Packet analysis {"connection_id":89541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:55:30] local.INFO: Extracted packet for processing {"connection_id":89541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:55:30] 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-06-02 09:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:55:30] 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-06-02 09:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:55:30] 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-06-02 09:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:55:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:55:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":89541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:55:30] local.INFO: GPS data processed {"connection_id":89541,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:55:30] local.INFO: Acknowledgment sent {"connection_id":89541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:56:02] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:56:02] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:56:02] local.INFO: Packet analysis {"connection_id":89541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:56:02] local.INFO: Extracted packet for processing {"connection_id":89541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:56:02] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:56:02] 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-06-02 09:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:56: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-06-02 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:56:02] 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-06-02 09:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:56:02] 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-06-02 09:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:56:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:56:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":89541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:56:02] local.INFO: GPS data processed {"connection_id":89541,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:56:02] local.INFO: Acknowledgment sent {"connection_id":89541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:56:24] local.INFO: TCP Data received {"connection_id":89284,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:56:24] local.INFO: Processing buffer {"connection_id":89284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:56:24] local.INFO: IMEI packet received {"connection_id":89284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:56:29] local.INFO: TCP Data received {"connection_id":89284,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:56:29] local.INFO: Processing buffer {"connection_id":89284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:56:29] local.INFO: IMEI packet received {"connection_id":89284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":89284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:56:30] local.INFO: TCP Data received {"connection_id":89284,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:56:30] local.INFO: Processing buffer {"connection_id":89284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:56:30] local.INFO: Packet analysis {"connection_id":89284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:56:30] local.INFO: Extracted packet for processing {"connection_id":89284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:56: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-06-02 09:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:56:30] 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-06-02 09:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:56: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:56:30] 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-06-02 09:56: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-06-02 09:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:56:30] 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-06-02 09:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:56:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:56:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":89284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:56:30] local.INFO: GPS data processed {"connection_id":89284,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:56:30] local.INFO: Acknowledgment sent {"connection_id":89284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:57:02] local.INFO: TCP Data received {"connection_id":89284,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:57:02] local.INFO: Processing buffer {"connection_id":89284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:57:02] local.INFO: Packet analysis {"connection_id":89284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:57:02] local.INFO: Extracted packet for processing {"connection_id":89284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:57:02] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:57:02] 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-06-02 09:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:57: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-06-02 09:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:57:02] 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-06-02 09:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:57:02] 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-06-02 09:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:57:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:57:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":89284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:57:02] local.INFO: GPS data processed {"connection_id":89284,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:57:02] local.INFO: Acknowledgment sent {"connection_id":89284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:57:24] local.INFO: TCP Data received {"connection_id":90757,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:57:24] local.INFO: Processing buffer {"connection_id":90757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:57:24] local.INFO: IMEI packet received {"connection_id":90757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":90757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:57:29] local.INFO: TCP Data received {"connection_id":90757,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:57:29] local.INFO: Processing buffer {"connection_id":90757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:57:29] local.INFO: IMEI packet received {"connection_id":90757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":90757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:57:30] local.INFO: TCP Data received {"connection_id":90757,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:57:30] local.INFO: Processing buffer {"connection_id":90757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86911e70012cfefc4007004108000c00e628..."} 
[2026-06-02 09:57:30] local.INFO: Packet analysis {"connection_id":90757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:57:30] local.INFO: Extracted packet for processing {"connection_id":90757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8691"} 
[2026-06-02 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775697152001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:57:30] 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-06-02 09:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374118000,"timestamp_ms":1780374118000,"timestamp_seconds":1780374118,"priority":1,"record_length":96,"hex_timestamp":"0000019e86911e70"} 
[2026-06-02 09:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 09:57:30] 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-06-02 09: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-06-02 09:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:57: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-06-02 09:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775697152001,"66":26180,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775697152001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:57:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:57:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775697152001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":90757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:57:30] local.INFO: GPS data processed {"connection_id":90757,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:57:30] local.INFO: Acknowledgment sent {"connection_id":90757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:58:01] local.INFO: TCP Data received {"connection_id":90757,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:58:01] local.INFO: Processing buffer {"connection_id":90757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:58:01] local.INFO: Packet analysis {"connection_id":90757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:58:01] local.INFO: Extracted packet for processing {"connection_id":90757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:58:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09: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-06-02 09:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:58: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-06-02 09:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 09:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:58: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-06-02 09: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 09:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09: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-06-02 09:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:58: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-06-02 09:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:58:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:58:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":90757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:58:01] local.INFO: GPS data processed {"connection_id":90757,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:58:01] local.INFO: Acknowledgment sent {"connection_id":90757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:58:24] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:58:24] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:58:24] local.INFO: IMEI packet received {"connection_id":89543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:58:29] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:58:29] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:58:29] local.INFO: IMEI packet received {"connection_id":89543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":89543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:58:30] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:58:31] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:58:31] local.INFO: Packet analysis {"connection_id":89543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:58:31] local.INFO: Extracted packet for processing {"connection_id":89543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:58:31] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:58: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-06-02 09:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:58:31] 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-06-02 09:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 09:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:58: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 09:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:58: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-06-02 09:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:58:31] 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-06-02 09:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:58:31] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:58:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":89543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:58:31] local.INFO: GPS data processed {"connection_id":89543,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:58:31] local.INFO: Acknowledgment sent {"connection_id":89543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:58:38] local.INFO: TCP Data received {"connection_id":89285,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:58:38] local.INFO: Processing buffer {"connection_id":89285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:58:38] local.INFO: IMEI packet received {"connection_id":89285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":89285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:59:02] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:02] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:02] local.INFO: Packet analysis {"connection_id":89543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:59:02] local.INFO: Extracted packet for processing {"connection_id":89543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:59:02] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:02] 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-06-02 09:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 09:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:59: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-06-02 09:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 09:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:59:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:59:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":89543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:59:02] local.INFO: GPS data processed {"connection_id":89543,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:59:02] local.INFO: Acknowledgment sent {"connection_id":89543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:59:04] local.INFO: TCP Data received {"connection_id":90758,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:59:04] local.INFO: Processing buffer {"connection_id":90758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 09:59:04] local.INFO: IMEI packet received {"connection_id":90758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 09:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":90758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:59:26] local.INFO: TCP Data received {"connection_id":89286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:59:26] local.INFO: Processing buffer {"connection_id":89286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:59:26] local.INFO: IMEI packet received {"connection_id":89286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 09:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":89286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 09:59:29] local.INFO: TCP Data received {"connection_id":89286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:59:29] local.INFO: Processing buffer {"connection_id":89286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 09:59:29] local.INFO: IMEI packet received {"connection_id":89286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 09:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":89286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 09:59:30] local.INFO: TCP Data received {"connection_id":89286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:30] local.INFO: Processing buffer {"connection_id":89286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:30] local.INFO: Packet analysis {"connection_id":89286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:59:30] local.INFO: Extracted packet for processing {"connection_id":89286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:59:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:30] 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-06-02 09:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 09:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 09:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:59:30] 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-06-02 09:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:59:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:59:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":89286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:59:30] local.INFO: GPS data processed {"connection_id":89286,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:59:30] local.INFO: Acknowledgment sent {"connection_id":89286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 09:59:35] local.INFO: TCP Data received {"connection_id":89286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:35] local.INFO: Processing buffer {"connection_id":89286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 09:59:35] local.INFO: Packet analysis {"connection_id":89286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:59:35] local.INFO: Extracted packet for processing {"connection_id":89286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 09:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 09:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 09:59:35] 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-06-02 09:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 09:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 09:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 09:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 09:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 09:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 09:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 09:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 09:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 09:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 09:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 09:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 09:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 09:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 09:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 09:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 09:59:35] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 09:59:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 09:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 09:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 09:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 09:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":89286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 09:59:35] local.INFO: GPS data processed {"connection_id":89286,"processed":1,"errors":0,"total":1} 
[2026-06-02 09:59:35] local.INFO: Acknowledgment sent {"connection_id":89286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:00:06] local.INFO: TCP Data received {"connection_id":89286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:00:06] local.INFO: Processing buffer {"connection_id":89286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:00:06] local.INFO: Packet analysis {"connection_id":89286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:00:06] local.INFO: Extracted packet for processing {"connection_id":89286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:00: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-06-02 10:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 10:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 10:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:00:06] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:00:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":89286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:00:06] local.INFO: GPS data processed {"connection_id":89286,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:00:06] local.INFO: Acknowledgment sent {"connection_id":89286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:00:24] local.INFO: TCP Data received {"connection_id":89287,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:00:24] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:00:24] local.INFO: IMEI packet received {"connection_id":89287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":89287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:00:29] local.INFO: TCP Data received {"connection_id":89287,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:00:29] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:00:29] local.INFO: IMEI packet received {"connection_id":89287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":89287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:00:30] local.INFO: TCP Data received {"connection_id":89287,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:00:30] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:00:30] local.INFO: Packet analysis {"connection_id":89287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:00:30] local.INFO: Extracted packet for processing {"connection_id":89287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:00:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:00:30] 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-06-02 10:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 10:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 10:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:00: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-06-02 10:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 10:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:00:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:00:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":89287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:00:30] local.INFO: GPS data processed {"connection_id":89287,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:00:30] local.INFO: Acknowledgment sent {"connection_id":89287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:01:01] local.INFO: TCP Data received {"connection_id":89287,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:01:01] local.INFO: Processing buffer {"connection_id":89287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:01:01] local.INFO: Packet analysis {"connection_id":89287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:01:01] local.INFO: Extracted packet for processing {"connection_id":89287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:01:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:01: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-06-02 10:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 10:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:01: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-06-02 10:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 10:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:01: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-06-02 10:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 10:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:01:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:01:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":89287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:01:02] local.INFO: GPS data processed {"connection_id":89287,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:01:02] local.INFO: Acknowledgment sent {"connection_id":89287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:01:24] local.INFO: TCP Data received {"connection_id":89289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:01:24] local.INFO: Processing buffer {"connection_id":89289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:01:24] local.INFO: IMEI packet received {"connection_id":89289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":89289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:01:29] local.INFO: TCP Data received {"connection_id":89289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:01:29] local.INFO: Processing buffer {"connection_id":89289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:01:29] local.INFO: IMEI packet received {"connection_id":89289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":89289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:01:30] local.INFO: TCP Data received {"connection_id":89289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:01:30] local.INFO: Processing buffer {"connection_id":89289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:01:30] local.INFO: Packet analysis {"connection_id":89289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:01:30] local.INFO: Extracted packet for processing {"connection_id":89289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:01:30] 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-06-02 10:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 10:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 10:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:01:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:01:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":89289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:01:30] local.INFO: GPS data processed {"connection_id":89289,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:01:30] local.INFO: Acknowledgment sent {"connection_id":89289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:02:01] local.INFO: TCP Data received {"connection_id":89289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:02:01] local.INFO: Processing buffer {"connection_id":89289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:02:01] local.INFO: Packet analysis {"connection_id":89289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:02:01] local.INFO: Extracted packet for processing {"connection_id":89289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:02: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-06-02 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 10:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:02: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-06-02 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 10:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:02:01] 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-06-02 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:02:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:02:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":89289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:02:01] local.INFO: GPS data processed {"connection_id":89289,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:02:01] local.INFO: Acknowledgment sent {"connection_id":89289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:02:24] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:02:24] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:02:24] local.INFO: IMEI packet received {"connection_id":89696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":89696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:02:29] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:02:29] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:02:29] local.INFO: IMEI packet received {"connection_id":89696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":89696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:02:30] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:02:30] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8695b638012cfefc4007004108000c00e629..."} 
[2026-06-02 10:02:30] local.INFO: Packet analysis {"connection_id":89696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:02:30] local.INFO: Extracted packet for processing {"connection_id":89696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8695"} 
[2026-06-02 10:02:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:02: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-06-02 10:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775774208001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:02:30] 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-06-02 10:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374419000,"timestamp_ms":1780374419000,"timestamp_seconds":1780374419,"priority":1,"record_length":96,"hex_timestamp":"0000019e8695b638"} 
[2026-06-02 10:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:02: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 10:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:02: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-06-02 10:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:02: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-06-02 10:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775774208001,"66":26115,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775774208001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:02:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:02:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775774208001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":89696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:02:30] local.INFO: GPS data processed {"connection_id":89696,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:02:30] local.INFO: Acknowledgment sent {"connection_id":89696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:03:01] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:03:01] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:03:01] local.INFO: Packet analysis {"connection_id":89696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:03:01] local.INFO: Extracted packet for processing {"connection_id":89696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:03:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:03: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-06-02 10:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:03: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-06-02 10:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:03: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-06-02 10:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:03:01] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:03:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":89696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:03:01] local.INFO: GPS data processed {"connection_id":89696,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:03:01] local.INFO: Acknowledgment sent {"connection_id":89696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:03:24] local.INFO: TCP Data received {"connection_id":90759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:03:24] local.INFO: Processing buffer {"connection_id":90759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:03:24] local.INFO: IMEI packet received {"connection_id":90759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":90759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:03:29] local.INFO: TCP Data received {"connection_id":90759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:03:29] local.INFO: Processing buffer {"connection_id":90759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:03:29] local.INFO: IMEI packet received {"connection_id":90759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":90759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:03:30] local.INFO: TCP Data received {"connection_id":90759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:03:30] local.INFO: Processing buffer {"connection_id":90759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:03:30] local.INFO: Packet analysis {"connection_id":90759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:03:30] local.INFO: Extracted packet for processing {"connection_id":90759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:03: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-06-02 10:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:03: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:03:30] 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-06-02 10:03: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-06-02 10:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:03:30] 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-06-02 10:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:03:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:03:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":90759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:03:30] local.INFO: GPS data processed {"connection_id":90759,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:03:30] local.INFO: Acknowledgment sent {"connection_id":90759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:04:01] local.INFO: TCP Data received {"connection_id":90759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:04:01] local.INFO: Processing buffer {"connection_id":90759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:04:01] local.INFO: Packet analysis {"connection_id":90759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:04:01] local.INFO: Extracted packet for processing {"connection_id":90759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:04:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:04: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-06-02 10:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:04: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-06-02 10:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:04:01] 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-06-02 10:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:04:01] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:04:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":90759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:04:01] local.INFO: GPS data processed {"connection_id":90759,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:04:01] local.INFO: Acknowledgment sent {"connection_id":90759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:04:24] local.INFO: TCP Data received {"connection_id":89291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:04:24] local.INFO: Processing buffer {"connection_id":89291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:04:24] local.INFO: IMEI packet received {"connection_id":89291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":89291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:04:29] local.INFO: TCP Data received {"connection_id":89291,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:04:29] local.INFO: Processing buffer {"connection_id":89291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:04:29] local.INFO: IMEI packet received {"connection_id":89291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":89291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:04:30] local.INFO: TCP Data received {"connection_id":89291,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:04:30] local.INFO: Processing buffer {"connection_id":89291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:04:30] local.INFO: Packet analysis {"connection_id":89291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:04:30] local.INFO: Extracted packet for processing {"connection_id":89291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:04:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:04:30] 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-06-02 10:04: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-06-02 10:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:04:30] 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-06-02 10:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:04:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:04:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":89291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:04:30] local.INFO: GPS data processed {"connection_id":89291,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:04:30] local.INFO: Acknowledgment sent {"connection_id":89291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:04:58] local.INFO: TCP Data received {"connection_id":90760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:04:58] local.INFO: Processing buffer {"connection_id":90760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:04:58] local.INFO: IMEI packet received {"connection_id":90760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":90760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:05:01] local.INFO: TCP Data received {"connection_id":89291,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:05:01] local.INFO: Processing buffer {"connection_id":89291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:05:01] local.INFO: Packet analysis {"connection_id":89291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:05:01] local.INFO: Extracted packet for processing {"connection_id":89291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:05:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:05: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-06-02 10:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:05: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-06-02 10:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:05: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-06-02 10:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:05:01] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:05:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":89291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:05:01] local.INFO: GPS data processed {"connection_id":89291,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:05:01] local.INFO: Acknowledgment sent {"connection_id":89291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:05:24] local.INFO: TCP Data received {"connection_id":90761,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:05:24] local.INFO: Processing buffer {"connection_id":90761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:05:24] local.INFO: IMEI packet received {"connection_id":90761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":90761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:05:29] local.INFO: TCP Data received {"connection_id":90761,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:05:29] local.INFO: Processing buffer {"connection_id":90761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:05:29] local.INFO: IMEI packet received {"connection_id":90761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":90761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:05:30] local.INFO: TCP Data received {"connection_id":90761,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:05:30] local.INFO: Processing buffer {"connection_id":90761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:05:30] local.INFO: Packet analysis {"connection_id":90761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:05:30] local.INFO: Extracted packet for processing {"connection_id":90761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:05:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:05:30] 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-06-02 10: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-06-02 10:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:05:30] 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-06-02 10:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:05:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:05:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":90761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:05:30] local.INFO: GPS data processed {"connection_id":90761,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:05:30] local.INFO: Acknowledgment sent {"connection_id":90761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:06:01] local.INFO: TCP Data received {"connection_id":90761,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:06:01] local.INFO: Processing buffer {"connection_id":90761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:06:01] local.INFO: Packet analysis {"connection_id":90761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:06:01] local.INFO: Extracted packet for processing {"connection_id":90761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:06:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:06: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-06-02 10:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:06: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-06-02 10:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:06:01] 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-06-02 10:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:06:01] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:06:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":90761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:06:01] local.INFO: GPS data processed {"connection_id":90761,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:06:01] local.INFO: Acknowledgment sent {"connection_id":90761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:06:24] local.INFO: TCP Data received {"connection_id":89293,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:06:24] local.INFO: Processing buffer {"connection_id":89293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:06:24] local.INFO: IMEI packet received {"connection_id":89293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":89293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:06:29] local.INFO: TCP Data received {"connection_id":89293,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:06:29] local.INFO: Processing buffer {"connection_id":89293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:06:29] local.INFO: IMEI packet received {"connection_id":89293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":89293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:06:30] local.INFO: TCP Data received {"connection_id":89293,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:06:30] local.INFO: Processing buffer {"connection_id":89293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:06:30] local.INFO: Packet analysis {"connection_id":89293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:06:30] local.INFO: Extracted packet for processing {"connection_id":89293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:06:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:06:30] 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-06-02 10:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:06: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-06-02 10:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:06:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:06:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":89293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:06:30] local.INFO: GPS data processed {"connection_id":89293,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:06:30] local.INFO: Acknowledgment sent {"connection_id":89293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:07:02] local.INFO: TCP Data received {"connection_id":89293,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:07:02] local.INFO: Processing buffer {"connection_id":89293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:07:02] local.INFO: Packet analysis {"connection_id":89293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:07:02] local.INFO: Extracted packet for processing {"connection_id":89293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:07:02] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:07: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-06-02 10:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:07:02] 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-06-02 10:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:07: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-06-02 10:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:07:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:07:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":89293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:07:02] local.INFO: GPS data processed {"connection_id":89293,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:07:02] local.INFO: Acknowledgment sent {"connection_id":89293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:07:24] local.INFO: TCP Data received {"connection_id":89294,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:07:24] local.INFO: Processing buffer {"connection_id":89294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:07:24] local.INFO: IMEI packet received {"connection_id":89294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":89294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:07:29] local.INFO: TCP Data received {"connection_id":89294,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:07:29] local.INFO: Processing buffer {"connection_id":89294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:07:29] local.INFO: IMEI packet received {"connection_id":89294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":89294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:07:30] local.INFO: TCP Data received {"connection_id":89294,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:07:30] local.INFO: Processing buffer {"connection_id":89294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869a4e00012cfefc4007004108000c00e628..."} 
[2026-06-02 10:07:30] local.INFO: Packet analysis {"connection_id":89294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:07:30] local.INFO: Extracted packet for processing {"connection_id":89294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869a"} 
[2026-06-02 10:07:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775851264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780374720000,"timestamp_ms":1780374720000,"timestamp_seconds":1780374720,"priority":1,"record_length":96,"hex_timestamp":"0000019e869a4e00"} 
[2026-06-02 10:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 10:07:30] 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-06-02 10:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:07:30] 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-06-02 10:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775851264001,"66":25941,"142":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775851264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:07:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:07:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775851264001,"power":25941,"unknown_142":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":89294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:07:30] local.INFO: GPS data processed {"connection_id":89294,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:07:30] local.INFO: Acknowledgment sent {"connection_id":89294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:08:01] local.INFO: TCP Data received {"connection_id":89294,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:08:01] local.INFO: Processing buffer {"connection_id":89294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:08:01] local.INFO: Packet analysis {"connection_id":89294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:08:01] local.INFO: Extracted packet for processing {"connection_id":89294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:08:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:08: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-06-02 10:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:08: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-06-02 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:08:01] 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-06-02 10: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-06-02 10:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:08:01] 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-06-02 10:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:08:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:08:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":89294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:08:01] local.INFO: GPS data processed {"connection_id":89294,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:08:01] local.INFO: Acknowledgment sent {"connection_id":89294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:08:24] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:08:24] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:08:24] local.INFO: IMEI packet received {"connection_id":89545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":89545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:08:29] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:08:29] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:08:29] local.INFO: IMEI packet received {"connection_id":89545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":89545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:08:30] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:08:30] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:08:30] local.INFO: Packet analysis {"connection_id":89545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:08:30] local.INFO: Extracted packet for processing {"connection_id":89545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:08:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:08:30] 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-06-02 10:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:08:30] 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-06-02 10: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-06-02 10:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:08: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-06-02 10:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:08:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:08:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":89545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:08:30] local.INFO: GPS data processed {"connection_id":89545,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:08:30] local.INFO: Acknowledgment sent {"connection_id":89545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:09:01] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:09:01] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:09:01] local.INFO: Packet analysis {"connection_id":89545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:09:01] local.INFO: Extracted packet for processing {"connection_id":89545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:09:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:09: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-06-02 10:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:09: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-06-02 10:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:09:01] 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-06-02 10:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:09: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-06-02 10:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:09:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:09:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":89545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:09:01] local.INFO: GPS data processed {"connection_id":89545,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:09:01] local.INFO: Acknowledgment sent {"connection_id":89545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:09:24] local.INFO: TCP Data received {"connection_id":90762,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:09:24] local.INFO: Processing buffer {"connection_id":90762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:09:24] local.INFO: IMEI packet received {"connection_id":90762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":90762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:09:29] local.INFO: TCP Data received {"connection_id":90762,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:09:29] local.INFO: Processing buffer {"connection_id":90762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:09:29] local.INFO: IMEI packet received {"connection_id":90762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":90762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:09:30] local.INFO: TCP Data received {"connection_id":90762,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:09:30] local.INFO: Processing buffer {"connection_id":90762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:09:30] local.INFO: Packet analysis {"connection_id":90762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:09:30] local.INFO: Extracted packet for processing {"connection_id":90762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:09:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:09:30] 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-06-02 10:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:09:30] 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-06-02 10: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-06-02 10:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:09:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:09:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":90762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:09:30] local.INFO: GPS data processed {"connection_id":90762,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:09:30] local.INFO: Acknowledgment sent {"connection_id":90762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:10:02] local.INFO: TCP Data received {"connection_id":90762,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:10:02] local.INFO: Processing buffer {"connection_id":90762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:10:02] local.INFO: Packet analysis {"connection_id":90762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:10:02] local.INFO: Extracted packet for processing {"connection_id":90762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:10:02] 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-06-02 10:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:10: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-06-02 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:10:02] 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-06-02 10:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:10:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:10:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":90762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:10:02] local.INFO: GPS data processed {"connection_id":90762,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:10:02] local.INFO: Acknowledgment sent {"connection_id":90762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:10:24] local.INFO: TCP Data received {"connection_id":89546,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:10:24] local.INFO: Processing buffer {"connection_id":89546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:10:24] local.INFO: IMEI packet received {"connection_id":89546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":89546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:10:24] local.INFO: TCP Data received {"connection_id":90763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:10:24] local.INFO: Processing buffer {"connection_id":90763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:10:24] local.INFO: IMEI packet received {"connection_id":90763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":90763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:10:29] local.INFO: TCP Data received {"connection_id":90763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:10:29] local.INFO: Processing buffer {"connection_id":90763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:10:29] local.INFO: IMEI packet received {"connection_id":90763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":90763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:10:30] local.INFO: TCP Data received {"connection_id":90763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:10:30] local.INFO: Processing buffer {"connection_id":90763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:10:30] local.INFO: Packet analysis {"connection_id":90763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:10:30] local.INFO: Extracted packet for processing {"connection_id":90763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:10:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:10:30] 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-06-02 10:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:10:30] 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-06-02 10: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-06-02 10:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:10:30] 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-06-02 10:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:10:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:10:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":90763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:10:30] local.INFO: GPS data processed {"connection_id":90763,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:10:30] local.INFO: Acknowledgment sent {"connection_id":90763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:10:59] local.INFO: TCP Data received {"connection_id":89297,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:10:59] local.INFO: Processing buffer {"connection_id":89297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:10:59] local.INFO: IMEI packet received {"connection_id":89297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":89297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:11:01] local.INFO: TCP Data received {"connection_id":90763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:11:01] local.INFO: Processing buffer {"connection_id":90763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:11:01] local.INFO: Packet analysis {"connection_id":90763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:11:01] local.INFO: Extracted packet for processing {"connection_id":90763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:11:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:11: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-06-02 10:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:11: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-06-02 10: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:11:01] 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-06-02 10: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-06-02 10:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:11:01] 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-06-02 10:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:11:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:11:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":90763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:11:01] local.INFO: GPS data processed {"connection_id":90763,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:11:01] local.INFO: Acknowledgment sent {"connection_id":90763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:11:24] local.INFO: TCP Data received {"connection_id":90764,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:11:24] local.INFO: Processing buffer {"connection_id":90764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:11:24] local.INFO: IMEI packet received {"connection_id":90764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":90764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:11:29] local.INFO: TCP Data received {"connection_id":90764,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:11:29] local.INFO: Processing buffer {"connection_id":90764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:11:29] local.INFO: IMEI packet received {"connection_id":90764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":90764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:11:30] local.INFO: TCP Data received {"connection_id":90764,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:11:30] local.INFO: Processing buffer {"connection_id":90764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:11:30] local.INFO: Packet analysis {"connection_id":90764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:11:30] local.INFO: Extracted packet for processing {"connection_id":90764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:11:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:11:30] 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-06-02 10:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:11:30] 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-06-02 10:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:11:30] 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-06-02 10:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:11:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:11:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":90764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:11:30] local.INFO: GPS data processed {"connection_id":90764,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:11:30] local.INFO: Acknowledgment sent {"connection_id":90764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:12:01] local.INFO: TCP Data received {"connection_id":90764,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:12:01] local.INFO: Processing buffer {"connection_id":90764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:12:01] local.INFO: Packet analysis {"connection_id":90764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:12:01] local.INFO: Extracted packet for processing {"connection_id":90764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:12:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:12:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:12: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-06-02 10:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:12: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-06-02 10:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:12:01] 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-06-02 10:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:12:01] 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-06-02 10:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:12:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:12:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:12:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":90764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:12:01] local.INFO: GPS data processed {"connection_id":90764,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:12:01] local.INFO: Acknowledgment sent {"connection_id":90764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:12:24] local.INFO: TCP Data received {"connection_id":89298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:12:24] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:12:24] local.INFO: IMEI packet received {"connection_id":89298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":89298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:12:29] local.INFO: TCP Data received {"connection_id":89298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:12:29] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:12:29] local.INFO: IMEI packet received {"connection_id":89298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":89298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:12:30] local.INFO: TCP Data received {"connection_id":89298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:12:30] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e869ee5c8012cfefc4007004108000c00e625..."} 
[2026-06-02 10:12:30] local.INFO: Packet analysis {"connection_id":89298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:12:30] local.INFO: Extracted packet for processing {"connection_id":89298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e869e"} 
[2026-06-02 10:12:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:12: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-06-02 10:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455775928320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:12:30] 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-06-02 10:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375021000,"timestamp_ms":1780375021000,"timestamp_seconds":1780375021,"priority":1,"record_length":96,"hex_timestamp":"0000019e869ee5c8"} 
[2026-06-02 10:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:12: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 10:12:30] 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-06-02 10:12: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-06-02 10:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455775928320001,"66":25973,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455775928320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:12:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:12:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455775928320001,"power":25973,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":89298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:12:30] local.INFO: GPS data processed {"connection_id":89298,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:12:30] local.INFO: Acknowledgment sent {"connection_id":89298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:13:01] local.INFO: TCP Data received {"connection_id":89298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:01] local.INFO: Processing buffer {"connection_id":89298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:01] local.INFO: Packet analysis {"connection_id":89298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:13:01] local.INFO: Extracted packet for processing {"connection_id":89298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:13:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776005376001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13: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-06-02 10:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375322000,"timestamp_ms":1780375322000,"timestamp_seconds":1780375322,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a37d90"} 
[2026-06-02 10:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:13: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-06-02 10: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":117,"data_length":795,"current_offset":136} 
[2026-06-02 10:13:01] 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-06-02 10: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-06-02 10:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:13:01] 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-06-02 10:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776005376001,"66":25919,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776005376001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:13:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:13:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776005376001,"power":25919,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":89298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:13:01] local.INFO: GPS data processed {"connection_id":89298,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:13:01] local.INFO: Acknowledgment sent {"connection_id":89298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:13:29] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:13:29] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:13:29] local.INFO: IMEI packet received {"connection_id":89547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":89547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:13:34] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:13:34] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:13:34] local.INFO: IMEI packet received {"connection_id":89547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":89547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:13:35] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:35] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:35] local.INFO: Packet analysis {"connection_id":89547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:13:35] local.INFO: Extracted packet for processing {"connection_id":89547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:13:35] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776005376001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:35] 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-06-02 10:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780375322000,"timestamp_ms":1780375322000,"timestamp_seconds":1780375322,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a37d90"} 
[2026-06-02 10:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 10:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776005376001,"66":25919,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776005376001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:13:35] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:13:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:13:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776005376001,"power":25919,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":89547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:13:35] local.INFO: GPS data processed {"connection_id":89547,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:13:35] local.INFO: Acknowledgment sent {"connection_id":89547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:13:40] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:40] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:13:40] local.INFO: Packet analysis {"connection_id":89547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:13:40] local.INFO: Extracted packet for processing {"connection_id":89547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:13:40] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776005376001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:13:40] 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-06-02 10:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780375322000,"timestamp_ms":1780375322000,"timestamp_seconds":1780375322,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a37d90"} 
[2026-06-02 10:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 10:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776005376001,"66":25919,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-06-02 10:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776005376001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:13:40] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:13:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776005376001,"power":25919,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":89547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:13:40] local.INFO: GPS data processed {"connection_id":89547,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:13:40] local.INFO: Acknowledgment sent {"connection_id":89547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:14:24] local.INFO: TCP Data received {"connection_id":89299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:14:24] local.INFO: Processing buffer {"connection_id":89299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:14:24] local.INFO: IMEI packet received {"connection_id":89299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":89299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:14:29] local.INFO: TCP Data received {"connection_id":89299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:14:29] local.INFO: Processing buffer {"connection_id":89299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:14:29] local.INFO: IMEI packet received {"connection_id":89299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":89299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:14:30] local.INFO: TCP Data received {"connection_id":89299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:14:30] local.INFO: Processing buffer {"connection_id":89299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:14:30] local.INFO: Packet analysis {"connection_id":89299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:14:30] local.INFO: Extracted packet for processing {"connection_id":89299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:14:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776005376001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:14:30] 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-06-02 10:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375322000,"timestamp_ms":1780375322000,"timestamp_seconds":1780375322,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a37d90"} 
[2026-06-02 10:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 10:14:30] 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-06-02 10:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:14:30] 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-06-02 10:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776005376001,"66":25919,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 10:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776005376001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:14:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:14:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776005376001,"power":25919,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":89299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:14:30] local.INFO: GPS data processed {"connection_id":89299,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:14:30] local.INFO: Acknowledgment sent {"connection_id":89299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:15:01] local.INFO: TCP Data received {"connection_id":89299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:15:01] local.INFO: Processing buffer {"connection_id":89299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a37d90012cfefc4007004108000c00e627..."} 
[2026-06-02 10:15:01] local.INFO: Packet analysis {"connection_id":89299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:15:01] local.INFO: Extracted packet for processing {"connection_id":89299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a3"} 
[2026-06-02 10:15:01] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776005376001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:15: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-06-02 10:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375322000,"timestamp_ms":1780375322000,"timestamp_seconds":1780375322,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a37d90"} 
[2026-06-02 10:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:15: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-06-02 10:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 10:15:01] 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-06-02 10:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:15: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-06-02 10:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776005376001,"66":25919,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 10:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776005376001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:15:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:15:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776005376001,"power":25919,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":89299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:15:01] local.INFO: GPS data processed {"connection_id":89299,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:15:01] local.INFO: Acknowledgment sent {"connection_id":89299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:15:24] local.INFO: TCP Data received {"connection_id":90766,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:15:24] local.INFO: Processing buffer {"connection_id":90766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:15:24] local.INFO: IMEI packet received {"connection_id":90766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":90766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:15:29] local.INFO: TCP Data received {"connection_id":90766,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:15:29] local.INFO: Processing buffer {"connection_id":90766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:15:29] local.INFO: IMEI packet received {"connection_id":90766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":90766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:15:30] local.INFO: TCP Data received {"connection_id":90766,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a5cb68012cfefc4007004108000c00e629..."} 
[2026-06-02 10:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a5cb68012cfefc4007004108000c00e629..."} 
[2026-06-02 10:15:30] local.INFO: Processing buffer {"connection_id":90766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a5cb68012cfefc4007004108000c00e629..."} 
[2026-06-02 10:15:30] local.INFO: Packet analysis {"connection_id":90766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a5"} 
[2026-06-02 10:15:30] local.INFO: Extracted packet for processing {"connection_id":90766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a5"} 
[2026-06-02 10:15:30] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117457160,"longitude_deg":75.4908224,"latitude_deg":11.745716,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-02 10:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776082432001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:15:30] 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-06-02 10:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375473000,"timestamp_ms":1780375473000,"timestamp_seconds":1780375473,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a5cb68"} 
[2026-06-02 10:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 10: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 10:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:15:30] 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-06-02 10:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776082432001,"66":25843,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 10:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776082432001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:15:30] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:15:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776082432001,"power":25843,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":90766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:15:30] local.INFO: GPS data processed {"connection_id":90766,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:15:30] local.INFO: Acknowledgment sent {"connection_id":90766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:16:02] local.INFO: TCP Data received {"connection_id":90766,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a5db08012cfefe0007003dd8000c007f29..."} 
[2026-06-02 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a5db08012cfefe0007003dd8000c007f29..."} 
[2026-06-02 10:16:02] local.INFO: Processing buffer {"connection_id":90766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a5db08012cfefe0007003dd8000c007f29..."} 
[2026-06-02 10:16:02] local.INFO: Packet analysis {"connection_id":90766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a5"} 
[2026-06-02 10:16:02] local.INFO: Extracted packet for processing {"connection_id":90766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a5"} 
[2026-06-02 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":754908672,"raw_latitude":117456344,"longitude_deg":75.4908672,"latitude_deg":11.7456344,"altitude":12,"angle":127,"satellites":41,"speed":0,"hex_longitude":"2cfefe00","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-06-02 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776121088001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131559936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:16:02] 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-06-02 10:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780375477000,"timestamp_ms":1780375477000,"timestamp_seconds":1780375477,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a5db08"} 
[2026-06-02 10:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:16: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-06-02 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 10:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:16:02] 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-06-02 10:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776121088001,"66":27767,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-73113095131559936},"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-06-02 10:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776121088001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:16:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:16:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131559936,"description":"Unknown IO ID 44"} 
[2026-06-02 10:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776121088001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131559936}} 
[2026-06-02 10:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":90766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:16:02] local.INFO: GPS data processed {"connection_id":90766,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:16:02] local.INFO: Acknowledgment sent {"connection_id":90766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:16:19] local.INFO: TCP Data received {"connection_id":89548,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:16:19] local.INFO: Processing buffer {"connection_id":89548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:16:19] local.INFO: IMEI packet received {"connection_id":89548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":89548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:16:24] local.INFO: TCP Data received {"connection_id":89549,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:16:24] local.INFO: Processing buffer {"connection_id":89549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:16:24] local.INFO: IMEI packet received {"connection_id":89549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":89549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:16:28] local.INFO: TCP Data received {"connection_id":89549,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:16:28] local.INFO: Processing buffer {"connection_id":89549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:16:28] local.INFO: IMEI packet received {"connection_id":89549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":89549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:16:29] local.INFO: TCP Data received {"connection_id":89549,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a62d10012cfefe0007003dd8000c007f2a..."} 
[2026-06-02 10:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a62d10012cfefe0007003dd8000c007f2a..."} 
[2026-06-02 10:16:29] local.INFO: Processing buffer {"connection_id":89549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a62d10012cfefe0007003dd8000c007f2a..."} 
[2026-06-02 10:16:29] local.INFO: Packet analysis {"connection_id":89549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a6"} 
[2026-06-02 10:16:29] local.INFO: Extracted packet for processing {"connection_id":89549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a6"} 
[2026-06-02 10:16:29] local.INFO: GPS Element Parsed {"raw_longitude":754908672,"raw_latitude":117456344,"longitude_deg":75.4908672,"latitude_deg":11.7456344,"altitude":12,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2cfefe00","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-06-02 10:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776122112001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72620513922525184,"note":"Value kept but may cause issues"} 
[2026-06-02 10:16: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-06-02 10:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780375498000,"timestamp_ms":1780375498000,"timestamp_seconds":1780375498,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a62d10"} 
[2026-06-02 10:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:16: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-06-02 10:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 10:16: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-06-02 10:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:16:29] 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-06-02 10:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776122112001,"66":27767,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-72620513922525184},"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-06-02 10:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776122112001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:16:29] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:16:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72620513922525184,"description":"Unknown IO ID 44"} 
[2026-06-02 10:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776122112001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72620513922525184}} 
[2026-06-02 10:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":89549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:16:29] local.INFO: GPS data processed {"connection_id":89549,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:16:29] local.INFO: Acknowledgment sent {"connection_id":89549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:16:59] local.INFO: TCP Data received {"connection_id":89550,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:16:59] local.INFO: Processing buffer {"connection_id":89550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:16:59] local.INFO: IMEI packet received {"connection_id":89550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":89550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:17:00] local.INFO: TCP Data received {"connection_id":89549,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a67f18012cfefe0007003dd8000c007f28..."} 
[2026-06-02 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a67f18012cfefe0007003dd8000c007f28..."} 
[2026-06-02 10:17:00] local.INFO: Processing buffer {"connection_id":89549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a67f18012cfefe0007003dd8000c007f28..."} 
[2026-06-02 10:17:00] local.INFO: Packet analysis {"connection_id":89549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a6"} 
[2026-06-02 10:17:00] local.INFO: Extracted packet for processing {"connection_id":89549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a6"} 
[2026-06-02 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":754908672,"raw_latitude":117456344,"longitude_deg":75.4908672,"latitude_deg":11.7456344,"altitude":12,"angle":127,"satellites":40,"speed":0,"hex_longitude":"2cfefe00","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776127488001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391137026211840,"note":"Value kept but may cause issues"} 
[2026-06-02 10:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72620513922525184,"note":"Value kept but may cause issues"} 
[2026-06-02 10:17:00] 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-06-02 10:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780375519000,"timestamp_ms":1780375519000,"timestamp_seconds":1780375519,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a67f18"} 
[2026-06-02 10:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:17: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-06-02 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 10:17: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-06-02 10: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-06-02 10:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:17:00] 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-06-02 10:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776127488001,"66":27821,"141":206,"94":10240,"24":0,"16":305391137026211840,"44":-72620513922525184},"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-06-02 10:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776127488001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:17:00] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:17:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391137026211840,"km_value":305391137026211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72620513922525184,"description":"Unknown IO ID 44"} 
[2026-06-02 10:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776127488001,"power":27821,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72620513922525184}} 
[2026-06-02 10:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":89549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:17:00] local.INFO: GPS data processed {"connection_id":89549,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:17:00] local.INFO: Acknowledgment sent {"connection_id":89549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:17:23] local.INFO: TCP Data received {"connection_id":90767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:23] local.INFO: Processing buffer {"connection_id":90767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:23] local.INFO: IMEI packet received {"connection_id":90767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":90767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:17:24] local.INFO: TCP Data received {"connection_id":90767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:24] local.INFO: Processing buffer {"connection_id":90767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:24] local.INFO: IMEI packet received {"connection_id":90767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":90767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:17:25] local.INFO: TCP Data received {"connection_id":90767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:25] local.INFO: Processing buffer {"connection_id":90767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:25] local.INFO: IMEI packet received {"connection_id":90767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":90767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:17:28] local.INFO: TCP Data received {"connection_id":90767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:28] local.INFO: Processing buffer {"connection_id":90767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:17:28] local.INFO: IMEI packet received {"connection_id":90767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":90767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:17:31] local.INFO: TCP Data received {"connection_id":90767,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a78ca0012cfef68007002618000e00b42b..."} 
[2026-06-02 10:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a78ca0012cfef68007002618000e00b42b..."} 
[2026-06-02 10:17:31] local.INFO: Processing buffer {"connection_id":90767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a78ca0012cfef68007002618000e00b42b..."} 
[2026-06-02 10:17:31] local.INFO: Packet analysis {"connection_id":90767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a7"} 
[2026-06-02 10:17:31] local.INFO: Extracted packet for processing {"connection_id":90767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a7"} 
[2026-06-02 10:17:31] local.INFO: GPS Element Parsed {"raw_longitude":754906752,"raw_latitude":117450264,"longitude_deg":75.4906752,"latitude_deg":11.7450264,"altitude":14,"angle":180,"satellites":43,"speed":1,"hex_longitude":"2cfef680","hex_latitude":"07002618","is_valid_coordinates":true} 
[2026-06-02 10:17: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-06-02 10:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776147712001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391519278301184,"note":"Value kept but may cause issues"} 
[2026-06-02 10:17:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74661207505143808,"note":"Value kept but may cause issues"} 
[2026-06-02 10:17:31] 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-06-02 10:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780375588000,"timestamp_ms":1780375588000,"timestamp_seconds":1780375588,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a78ca0"} 
[2026-06-02 10:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:17: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-06-02 10:17: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:17:31] 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-06-02 10:17: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-06-02 10:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:17:31] 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-06-02 10:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776147712001,"66":28126,"141":206,"94":10240,"24":1,"16":305391519278301184,"44":-74661207505143808},"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-06-02 10:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776147712001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:17:31] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:17:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391519278301184,"km_value":305391519278301.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:17:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74661207505143808,"description":"Unknown IO ID 44"} 
[2026-06-02 10:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776147712001,"power":28126,"unknown_141":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_44":-74661207505143808}} 
[2026-06-02 10:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":90767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:17:31] local.INFO: GPS data processed {"connection_id":90767,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:17:31] local.INFO: Acknowledgment sent {"connection_id":90767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:18:01] local.INFO: TCP Data received {"connection_id":90767,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a84c08012cfef300070022f00008000e2d..."} 
[2026-06-02 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a84c08012cfef300070022f00008000e2d..."} 
[2026-06-02 10:18:01] local.INFO: Processing buffer {"connection_id":90767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a84c08012cfef300070022f00008000e2d..."} 
[2026-06-02 10:18:01] local.INFO: Packet analysis {"connection_id":90767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a8"} 
[2026-06-02 10:18:01] local.INFO: Extracted packet for processing {"connection_id":90767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a8"} 
[2026-06-02 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":754905856,"raw_latitude":117449456,"longitude_deg":75.4905856,"latitude_deg":11.7449456,"altitude":8,"angle":14,"satellites":45,"speed":1,"hex_longitude":"2cfef300","hex_latitude":"070022f0","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776162560001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391785566273536,"note":"Value kept but may cause issues"} 
[2026-06-02 10:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75787107412307968,"note":"Value kept but may cause issues"} 
[2026-06-02 10:18: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-06-02 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375637000,"timestamp_ms":1780375637000,"timestamp_seconds":1780375637,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a84c08"} 
[2026-06-02 10:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:18: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-06-02 10: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:18: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-06-02 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776162560001,"66":27865,"141":206,"94":10240,"24":1,"16":305391785566273536,"44":-75787107412307968},"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-06-02 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776162560001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:18:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:18:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391785566273536,"km_value":305391785566273.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75787107412307968,"description":"Unknown IO ID 44"} 
[2026-06-02 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776162560001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_44":-75787107412307968}} 
[2026-06-02 10:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":90767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:18:02] local.INFO: GPS data processed {"connection_id":90767,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:18:02] local.INFO: Acknowledgment sent {"connection_id":90767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:18:24] local.INFO: TCP Data received {"connection_id":89301,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:18:24] local.INFO: Processing buffer {"connection_id":89301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:18:24] local.INFO: IMEI packet received {"connection_id":89301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":89301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:18:30] local.INFO: TCP Data received {"connection_id":89301,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:18:30] local.INFO: Processing buffer {"connection_id":89301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:18:30] local.INFO: IMEI packet received {"connection_id":89301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":89301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:18:31] local.INFO: TCP Data received {"connection_id":89301,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a857c0012cfef300070023b00008001b2e..."} 
[2026-06-02 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a857c0012cfef300070023b00008001b2e..."} 
[2026-06-02 10:18:31] local.INFO: Processing buffer {"connection_id":89301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a857c0012cfef300070023b00008001b2e..."} 
[2026-06-02 10:18:31] local.INFO: Packet analysis {"connection_id":89301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a8"} 
[2026-06-02 10:18:31] local.INFO: Extracted packet for processing {"connection_id":89301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a8"} 
[2026-06-02 10:18:31] local.INFO: GPS Element Parsed {"raw_longitude":754905856,"raw_latitude":117449648,"longitude_deg":75.4905856,"latitude_deg":11.7449648,"altitude":8,"angle":27,"satellites":46,"speed":3,"hex_longitude":"2cfef300","hex_latitude":"070023b0","is_valid_coordinates":true} 
[2026-06-02 10:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305391794156208128,"note":"Value kept but may cause issues"} 
[2026-06-02 10:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75716738668105728,"note":"Value kept but may cause issues"} 
[2026-06-02 10:18:31] 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-06-02 10:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780375640000,"timestamp_ms":1780375640000,"timestamp_seconds":1780375640,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a857c0"} 
[2026-06-02 10:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:18: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-06-02 10:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:18: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-06-02 10:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:18:31] 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-06-02 10:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776163072001,"66":27974,"141":206,"94":10240,"24":3,"16":305391794156208128,"44":-75716738668105728},"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-06-02 10:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:18:31] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:18:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305391794156208128,"km_value":305391794156208.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75716738668105728,"description":"Unknown IO ID 44"} 
[2026-06-02 10:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776163072001,"power":27974,"unknown_141":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_44":-75716738668105728}} 
[2026-06-02 10:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":89301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:18:31] local.INFO: GPS data processed {"connection_id":89301,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:18:31] local.INFO: Acknowledgment sent {"connection_id":89301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:19:02] local.INFO: TCP Data received {"connection_id":89301,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a92ab0012cfefb00070030280007001e2e..."} 
[2026-06-02 10:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a92ab0012cfefb00070030280007001e2e..."} 
[2026-06-02 10:19:02] local.INFO: Processing buffer {"connection_id":89301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a92ab0012cfefb00070030280007001e2e..."} 
[2026-06-02 10:19:02] local.INFO: Packet analysis {"connection_id":89301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:19:02] local.INFO: Extracted packet for processing {"connection_id":89301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:19:02] local.INFO: GPS Element Parsed {"raw_longitude":754907904,"raw_latitude":117452840,"longitude_deg":75.4907904,"latitude_deg":11.745284,"altitude":7,"angle":30,"satellites":46,"speed":13,"hex_longitude":"2cfefb00","hex_latitude":"07003028","is_valid_coordinates":true} 
[2026-06-02 10:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776177152001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305392004609605632,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73887151318738944,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:02] 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-06-02 10:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780375694000,"timestamp_ms":1780375694000,"timestamp_seconds":1780375694,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a92ab0"} 
[2026-06-02 10:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:19: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-06-02 10:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 10:19: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-06-02 10:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:19:02] 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-06-02 10:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776177152001,"66":27658,"141":206,"94":10240,"24":13,"16":305392004609605632,"44":-73887151318738944},"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-06-02 10:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776177152001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:19:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:19:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305392004609605632,"km_value":305392004609605.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73887151318738944,"description":"Unknown IO ID 44"} 
[2026-06-02 10:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776177152001,"power":27658,"unknown_141":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_44":-73887151318738944}} 
[2026-06-02 10:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":89301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:19:02] local.INFO: GPS data processed {"connection_id":89301,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:19:02] local.INFO: Acknowledgment sent {"connection_id":89301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:19:28] local.INFO: TCP Data received {"connection_id":89302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:28] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:28] local.INFO: IMEI packet received {"connection_id":89302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:19:29] local.INFO: TCP Data received {"connection_id":89302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:29] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:29] local.INFO: IMEI packet received {"connection_id":89302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":89302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:19:34] local.INFO: TCP Data received {"connection_id":89302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:34] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:19:34] local.INFO: IMEI packet received {"connection_id":89302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":89302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:19:35] local.INFO: TCP Data received {"connection_id":89302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a93e38012cfeff80070036500007002d2e..."} 
[2026-06-02 10:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a93e38012cfeff80070036500007002d2e..."} 
[2026-06-02 10:19:35] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a93e38012cfeff80070036500007002d2e..."} 
[2026-06-02 10:19:35] local.INFO: Packet analysis {"connection_id":89302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:19:35] local.INFO: Extracted packet for processing {"connection_id":89302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:19:35] local.INFO: GPS Element Parsed {"raw_longitude":754909056,"raw_latitude":117454416,"longitude_deg":75.4909056,"latitude_deg":11.7454416,"altitude":7,"angle":45,"satellites":46,"speed":13,"hex_longitude":"2cfeff80","hex_latitude":"07003650","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776177664001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305392099098886144,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73464938853554176,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:35] 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-06-02 10:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780375699000,"timestamp_ms":1780375699000,"timestamp_seconds":1780375699,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a93e38"} 
[2026-06-02 10:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:19: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-06-02 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 10:19:35] 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-06-02 10: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-06-02 10:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776177664001,"66":28028,"141":206,"94":10240,"24":13,"16":305392099098886144,"44":-73464938853554176},"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-06-02 10:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776177664001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:19:35] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:19:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305392099098886144,"km_value":305392099098886.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73464938853554176,"description":"Unknown IO ID 44"} 
[2026-06-02 10:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776177664001,"power":28028,"unknown_141":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_44":-73464938853554176}} 
[2026-06-02 10:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":89302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:19:35] local.INFO: GPS data processed {"connection_id":89302,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:19:35] local.INFO: Acknowledgment sent {"connection_id":89302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:19:40] local.INFO: TCP Data received {"connection_id":89302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a94dd8012cff0240070038f00008001c2e..."} 
[2026-06-02 10:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a94dd8012cff0240070038f00008001c2e..."} 
[2026-06-02 10:19:40] local.INFO: Processing buffer {"connection_id":89302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a94dd8012cff0240070038f00008001c2e..."} 
[2026-06-02 10:19:40] local.INFO: Packet analysis {"connection_id":89302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:19:40] local.INFO: Extracted packet for processing {"connection_id":89302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:19:40] local.INFO: GPS Element Parsed {"raw_longitude":754909760,"raw_latitude":117455088,"longitude_deg":75.490976,"latitude_deg":11.7455088,"altitude":8,"angle":28,"satellites":46,"speed":5,"hex_longitude":"2cff0240","hex_latitude":"070038f0","is_valid_coordinates":true} 
[2026-06-02 10:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776178944001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305392146343526400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72198301457952768,"note":"Value kept but may cause issues"} 
[2026-06-02 10:19:40] 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-06-02 10:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780375703000,"timestamp_ms":1780375703000,"timestamp_seconds":1780375703,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a94dd8"} 
[2026-06-02 10:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 10:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:19:40] 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-06-02 10:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776178944001,"66":27930,"141":206,"94":10240,"24":5,"16":305392146343526400,"44":-72198301457952768},"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-06-02 10:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776178944001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:19:40] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:19:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305392146343526400,"km_value":305392146343526.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72198301457952768,"description":"Unknown IO ID 44"} 
[2026-06-02 10:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776178944001,"power":27930,"unknown_141":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-72198301457952768}} 
[2026-06-02 10:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":89302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:19:40] local.INFO: GPS data processed {"connection_id":89302,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:19:40] local.INFO: Acknowledgment sent {"connection_id":89302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:20:24] local.INFO: TCP Data received {"connection_id":89552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:20:24] local.INFO: Processing buffer {"connection_id":89552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:20:24] local.INFO: IMEI packet received {"connection_id":89552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":89552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:20:29] local.INFO: TCP Data received {"connection_id":89552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:20:29] local.INFO: Processing buffer {"connection_id":89552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:20:29] local.INFO: IMEI packet received {"connection_id":89552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":89552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:20:31] local.INFO: TCP Data received {"connection_id":89552,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86a955a8012cff0200070039d8000901472d..."} 
[2026-06-02 10:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86a955a8012cff0200070039d8000901472d..."} 
[2026-06-02 10:20:31] local.INFO: Processing buffer {"connection_id":89552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86a955a8012cff0200070039d8000901472d..."} 
[2026-06-02 10:20:31] local.INFO: Packet analysis {"connection_id":89552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:20:31] local.INFO: Extracted packet for processing {"connection_id":89552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86a9"} 
[2026-06-02 10:20:31] local.INFO: GPS Element Parsed {"raw_longitude":754909696,"raw_latitude":117455320,"longitude_deg":75.4909696,"latitude_deg":11.745532,"altitude":9,"angle":327,"satellites":45,"speed":6,"hex_longitude":"2cff0200","hex_latitude":"070039d8","is_valid_coordinates":true} 
[2026-06-02 10:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776179968001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305392159228428288,"note":"Value kept but may cause issues"} 
[2026-06-02 10:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71424245271826432,"note":"Value kept but may cause issues"} 
[2026-06-02 10:20:31] 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-06-02 10:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780375705000,"timestamp_ms":1780375705000,"timestamp_seconds":1780375705,"priority":1,"record_length":96,"hex_timestamp":"0000019e86a955a8"} 
[2026-06-02 10:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:20: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-06-02 10:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 10:20: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-06-02 10:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:20:31] 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-06-02 10:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776179968001,"66":27887,"141":206,"94":10240,"24":6,"16":305392159228428288,"44":-71424245271826432},"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-06-02 10:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776179968001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:20:31] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-02 10:20:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305392159228428288,"km_value":305392159228428.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71424245271826432,"description":"Unknown IO ID 44"} 
[2026-06-02 10:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776179968001,"power":27887,"unknown_141":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_44":-71424245271826432}} 
[2026-06-02 10:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":89552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:20:31] local.INFO: GPS data processed {"connection_id":89552,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:20:31] local.INFO: Acknowledgment sent {"connection_id":89552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:21:02] local.INFO: TCP Data received {"connection_id":89552,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86aaa598012cfec080070083d8000901262b..."} 
[2026-06-02 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86aaa598012cfec080070083d8000901262b..."} 
[2026-06-02 10:21:02] local.INFO: Processing buffer {"connection_id":89552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86aaa598012cfec080070083d8000901262b..."} 
[2026-06-02 10:21:02] local.INFO: Packet analysis {"connection_id":89552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86aa"} 
[2026-06-02 10:21:02] local.INFO: Extracted packet for processing {"connection_id":89552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86aa"} 
[2026-06-02 10:21:02] local.INFO: GPS Element Parsed {"raw_longitude":754892928,"raw_latitude":117474264,"longitude_deg":75.4892928,"latitude_deg":11.7474264,"altitude":9,"angle":294,"satellites":43,"speed":39,"hex_longitude":"2cfec080","hex_latitude":"070083d8","is_valid_coordinates":true} 
[2026-06-02 10:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776199424001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305393636697178112,"note":"Value kept but may cause issues"} 
[2026-06-02 10:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-81205500708882432,"note":"Value kept but may cause issues"} 
[2026-06-02 10:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780375791000,"timestamp_ms":1780375791000,"timestamp_seconds":1780375791,"priority":1,"record_length":96,"hex_timestamp":"0000019e86aaa598"} 
[2026-06-02 10:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:21: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-06-02 10:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 10:21:02] 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-06-02 10:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:21:02] 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-06-02 10:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776199424001,"66":27865,"142":206,"94":10240,"24":39,"16":305393636697178112,"44":-81205500708882432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776199424001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:21:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:21:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305393636697178112,"km_value":305393636697178.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-81205500708882432,"description":"Unknown IO ID 44"} 
[2026-06-02 10:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776199424001,"power":27865,"unknown_142":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-81205500708882432}} 
[2026-06-02 10:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":89552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:21:02] local.INFO: GPS data processed {"connection_id":89552,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:21:02] local.INFO: Acknowledgment sent {"connection_id":89552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:21:23] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:23] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:23] local.INFO: IMEI packet received {"connection_id":89701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":89701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:21:24] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:24] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:24] local.INFO: IMEI packet received {"connection_id":89701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":89701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:21:28] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:28] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:21:28] local.INFO: IMEI packet received {"connection_id":89701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":89701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:21:29] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86aad090012cfe9f0007008ff8000b01222d..."} 
[2026-06-02 10:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86aad090012cfe9f0007008ff8000b01222d..."} 
[2026-06-02 10:21:29] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86aad090012cfe9f0007008ff8000b01222d..."} 
[2026-06-02 10:21:29] local.INFO: Packet analysis {"connection_id":89701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86aa"} 
[2026-06-02 10:21:29] local.INFO: Extracted packet for processing {"connection_id":89701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86aa"} 
[2026-06-02 10:21:29] local.INFO: GPS Element Parsed {"raw_longitude":754884352,"raw_latitude":117477368,"longitude_deg":75.4884352,"latitude_deg":11.7477368,"altitude":11,"angle":290,"satellites":45,"speed":14,"hex_longitude":"2cfe9f00","hex_latitude":"07008ff8","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776202496001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305394070488875008,"note":"Value kept but may cause issues"} 
[2026-06-02 10:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-89931224985643008,"note":"Value kept but may cause issues"} 
[2026-06-02 10:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780375802000,"timestamp_ms":1780375802000,"timestamp_seconds":1780375802,"priority":1,"record_length":96,"hex_timestamp":"0000019e86aad090"} 
[2026-06-02 10:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10: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-06-02 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:21: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-06-02 10: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-06-02 10:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:21:29] 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-06-02 10:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776202496001,"66":27930,"142":206,"94":10240,"24":14,"16":305394070488875008,"44":-89931224985643008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-06-02 10:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776202496001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:21:29] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-02 10:21:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305394070488875008,"km_value":305394070488875.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-89931224985643008,"description":"Unknown IO ID 44"} 
[2026-06-02 10:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776202496001,"power":27930,"unknown_142":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_44":-89931224985643008}} 
[2026-06-02 10:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":89701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:21:29] local.INFO: GPS data processed {"connection_id":89701,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:21:29] local.INFO: Acknowledgment sent {"connection_id":89701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:22:01] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86abde18012cfe56c0070118e8000a01562b..."} 
[2026-06-02 10:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86abde18012cfe56c0070118e8000a01562b..."} 
[2026-06-02 10:22:01] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86abde18012cfe56c0070118e8000a01562b..."} 
[2026-06-02 10:22:01] local.INFO: Packet analysis {"connection_id":89701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ab"} 
[2026-06-02 10:22:01] local.INFO: Extracted packet for processing {"connection_id":89701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ab"} 
[2026-06-02 10:22:01] local.INFO: GPS Element Parsed {"raw_longitude":754865856,"raw_latitude":117512424,"longitude_deg":75.4865856,"latitude_deg":11.7512424,"altitude":10,"angle":342,"satellites":43,"speed":23,"hex_longitude":"2cfe56c0","hex_latitude":"070118e8","is_valid_coordinates":true} 
[2026-06-02 10:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776222720001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305396338231607296,"note":"Value kept but may cause issues"} 
[2026-06-02 10:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119626835018993664,"note":"Value kept but may cause issues"} 
[2026-06-02 10:22:01] 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-06-02 10:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780375871000,"timestamp_ms":1780375871000,"timestamp_seconds":1780375871,"priority":1,"record_length":96,"hex_timestamp":"0000019e86abde18"} 
[2026-06-02 10:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:22: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-06-02 10:22:01] local.INFO: IO Element 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-06-02 10:22:01] 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-06-02 10:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:22: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-06-02 10:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776222720001,"66":27745,"61":206,"94":10240,"24":23,"16":305396338231607296,"44":-119626835018993664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-06-02 10:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776222720001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:22:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 10:22:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305396338231607296,"km_value":305396338231607.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119626835018993664,"description":"Unknown IO ID 44"} 
[2026-06-02 10:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776222720001,"power":27745,"unknown_61":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_44":-119626835018993664}} 
[2026-06-02 10:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":89701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:22:01] local.INFO: GPS data processed {"connection_id":89701,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:22:01] local.INFO: Acknowledgment sent {"connection_id":89701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:22:24] local.INFO: TCP Data received {"connection_id":89702,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:22:24] local.INFO: Processing buffer {"connection_id":89702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:22:24] local.INFO: IMEI packet received {"connection_id":89702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":89702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:22:24] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:24] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:24] local.INFO: IMEI packet received {"connection_id":89553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":89553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:22:24] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:24] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:24] local.INFO: IMEI packet received {"connection_id":89553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":89553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:22:29] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:29] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:22:29] local.INFO: IMEI packet received {"connection_id":89553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":89553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:22:30] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86abe200012cfe560007011b10000a014b2b..."} 
[2026-06-02 10:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86abe200012cfe560007011b10000a014b2b..."} 
[2026-06-02 10:22:30] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86abe200012cfe560007011b10000a014b2b..."} 
[2026-06-02 10:22:30] local.INFO: Packet analysis {"connection_id":89553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ab"} 
[2026-06-02 10:22:30] local.INFO: Extracted packet for processing {"connection_id":89553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ab"} 
[2026-06-02 10:22:30] local.INFO: GPS Element Parsed {"raw_longitude":754865664,"raw_latitude":117512976,"longitude_deg":75.4865664,"latitude_deg":11.7512976,"altitude":10,"angle":331,"satellites":43,"speed":24,"hex_longitude":"2cfe5600","hex_latitude":"07011b10","is_valid_coordinates":true} 
[2026-06-02 10:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776222976001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305396368296378368,"note":"Value kept but may cause issues"} 
[2026-06-02 10:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119697203763025920,"note":"Value kept but may cause issues"} 
[2026-06-02 10:22:30] 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-06-02 10:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375872000,"timestamp_ms":1780375872000,"timestamp_seconds":1780375872,"priority":1,"record_length":96,"hex_timestamp":"0000019e86abe200"} 
[2026-06-02 10:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:22: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-06-02 10:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 10:22: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-06-02 10:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:22:30] 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-06-02 10:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776222976001,"66":27745,"61":206,"94":10240,"24":24,"16":305396368296378368,"44":-119697203763025920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-06-02 10:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776222976001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:22:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 10:22:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305396368296378368,"km_value":305396368296378.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119697203763025920,"description":"Unknown IO ID 44"} 
[2026-06-02 10:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776222976001,"power":27745,"unknown_61":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_44":-119697203763025920}} 
[2026-06-02 10:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":89553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:22:30] local.INFO: GPS data processed {"connection_id":89553,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:22:30] local.INFO: Acknowledgment sent {"connection_id":89553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:22:58] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:22:58] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:22:58] local.INFO: IMEI packet received {"connection_id":89703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":89703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:23:02] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86abedb8012cfe51c0070120a8000c013f2d..."} 
[2026-06-02 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86abedb8012cfe51c0070120a8000c013f2d..."} 
[2026-06-02 10:23:02] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86abedb8012cfe51c0070120a8000c013f2d..."} 
[2026-06-02 10:23:02] local.INFO: Packet analysis {"connection_id":89553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ab"} 
[2026-06-02 10:23:02] local.INFO: Extracted packet for processing {"connection_id":89553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ab"} 
[2026-06-02 10:23:02] local.INFO: GPS Element Parsed {"raw_longitude":754864576,"raw_latitude":117514408,"longitude_deg":75.4864576,"latitude_deg":11.7514408,"altitude":12,"angle":319,"satellites":45,"speed":22,"hex_longitude":"2cfe51c0","hex_latitude":"070120a8","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776223232001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305396454195724288,"note":"Value kept but may cause issues"} 
[2026-06-02 10:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119908309995417600,"note":"Value kept but may cause issues"} 
[2026-06-02 10:23:02] 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-06-02 10:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780375875000,"timestamp_ms":1780375875000,"timestamp_seconds":1780375875,"priority":1,"record_length":96,"hex_timestamp":"0000019e86abedb8"} 
[2026-06-02 10:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:23: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-06-02 10: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":97,"data_length":795,"current_offset":136} 
[2026-06-02 10:23: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-06-02 10: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-06-02 10:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:23:02] 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-06-02 10:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776223232001,"66":28115,"61":206,"94":10240,"24":22,"16":305396454195724288,"44":-119908309995417600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-06-02 10:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776223232001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:23:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 10:23:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305396454195724288,"km_value":305396454195724.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119908309995417600,"description":"Unknown IO ID 44"} 
[2026-06-02 10:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776223232001,"power":28115,"unknown_61":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_44":-119908309995417600}} 
[2026-06-02 10:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":89553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:23:02] local.INFO: GPS data processed {"connection_id":89553,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:23:02] local.INFO: Acknowledgment sent {"connection_id":89553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:23:23] local.INFO: TCP Data received {"connection_id":89304,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:23] local.INFO: Processing buffer {"connection_id":89304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:23] local.INFO: IMEI packet received {"connection_id":89304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":89304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:23:24] local.INFO: TCP Data received {"connection_id":89304,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:24] local.INFO: Processing buffer {"connection_id":89304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:24] local.INFO: IMEI packet received {"connection_id":89304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":89304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:23:29] local.INFO: TCP Data received {"connection_id":89304,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:29] local.INFO: Processing buffer {"connection_id":89304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:23:29] local.INFO: IMEI packet received {"connection_id":89304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:23:30] local.INFO: TCP Data received {"connection_id":89304,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ac3408012cfe38c007013b40000a013d2e..."} 
[2026-06-02 10:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ac3408012cfe38c007013b40000a013d2e..."} 
[2026-06-02 10:23:30] local.INFO: Processing buffer {"connection_id":89304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ac3408012cfe38c007013b40000a013d2e..."} 
[2026-06-02 10:23:30] local.INFO: Packet analysis {"connection_id":89304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ac"} 
[2026-06-02 10:23:30] local.INFO: Extracted packet for processing {"connection_id":89304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ac"} 
[2026-06-02 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":754858176,"raw_latitude":117521216,"longitude_deg":75.4858176,"latitude_deg":11.7521216,"altitude":10,"angle":317,"satellites":46,"speed":20,"hex_longitude":"2cfe38c0","hex_latitude":"07013b40","is_valid_coordinates":true} 
[2026-06-02 10:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776224000001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305396905167290368,"note":"Value kept but may cause issues"} 
[2026-06-02 10:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-121104578646071296,"note":"Value kept but may cause issues"} 
[2026-06-02 10:23:30] 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-06-02 10:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780375893000,"timestamp_ms":1780375893000,"timestamp_seconds":1780375893,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ac3408"} 
[2026-06-02 10:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:23: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-06-02 10:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-02 10:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:23:30] 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-06-02 10:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776224000001,"66":27919,"62":206,"94":10240,"24":20,"16":305396905167290368,"44":-121104578646071296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-06-02 10:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776224000001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:23:30] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-06-02 10:23:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305396905167290368,"km_value":305396905167290.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-121104578646071296,"description":"Unknown IO ID 44"} 
[2026-06-02 10:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776224000001,"power":27919,"unknown_62":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_44":-121104578646071296}} 
[2026-06-02 10:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":89304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:23:30] local.INFO: GPS data processed {"connection_id":89304,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:23:30] local.INFO: Acknowledgment sent {"connection_id":89304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:24:01] local.INFO: TCP Data received {"connection_id":89304,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86add600012cfd3c8007021660000f01672d..."} 
[2026-06-02 10:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86add600012cfd3c8007021660000f01672d..."} 
[2026-06-02 10:24:01] local.INFO: Processing buffer {"connection_id":89304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86add600012cfd3c8007021660000f01672d..."} 
[2026-06-02 10:24:01] local.INFO: Packet analysis {"connection_id":89304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:24:01] local.INFO: Extracted packet for processing {"connection_id":89304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:24:01] local.INFO: GPS Element Parsed {"raw_longitude":754793600,"raw_latitude":117577312,"longitude_deg":75.47936,"latitude_deg":11.7577312,"altitude":15,"angle":359,"satellites":45,"speed":27,"hex_longitude":"2cfd3c80","hex_latitude":"07021660","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776255744001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305401109940273152,"note":"Value kept but may cause issues"} 
[2026-06-02 10:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-199002778434809856,"note":"Value kept but may cause issues"} 
[2026-06-02 10:24:01] 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-06-02 10:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780376000000,"timestamp_ms":1780376000000,"timestamp_seconds":1780376000,"priority":1,"record_length":96,"hex_timestamp":"0000019e86add600"} 
[2026-06-02 10:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:24: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-06-02 10: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 10:24: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-06-02 10: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-06-02 10:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:24: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-06-02 10:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776255744001,"66":27267,"223":206,"94":10240,"24":27,"16":305401109940273152,"44":-199002778434809856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-06-02 10:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776255744001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:24:01] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-02 10:24:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305401109940273152,"km_value":305401109940273.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-199002778434809856,"description":"Unknown IO ID 44"} 
[2026-06-02 10:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776255744001,"power":27267,"unknown_223":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-199002778434809856}} 
[2026-06-02 10:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":89304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:24:01] local.INFO: GPS data processed {"connection_id":89304,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:24:01] local.INFO: Acknowledgment sent {"connection_id":89304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:24:24] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:24:24] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:24:24] local.INFO: IMEI packet received {"connection_id":89554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":89554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:24:29] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:24:29] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:24:29] local.INFO: IMEI packet received {"connection_id":89554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":89554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:24:30] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86add9e8012cfd3d00070219000010000d2d..."} 
[2026-06-02 10:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86add9e8012cfd3d00070219000010000d2d..."} 
[2026-06-02 10:24:30] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86add9e8012cfd3d00070219000010000d2d..."} 
[2026-06-02 10:24:30] local.INFO: Packet analysis {"connection_id":89554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:24:30] local.INFO: Extracted packet for processing {"connection_id":89554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:24:30] local.INFO: GPS Element Parsed {"raw_longitude":754793728,"raw_latitude":117577984,"longitude_deg":75.4793728,"latitude_deg":11.7577984,"altitude":16,"angle":13,"satellites":45,"speed":26,"hex_longitude":"2cfd3d00","hex_latitude":"07021900","is_valid_coordinates":true} 
[2026-06-02 10:24: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-06-02 10:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776256000001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305401140005044224,"note":"Value kept but may cause issues"} 
[2026-06-02 10:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-199143515922997248,"note":"Value kept but may cause issues"} 
[2026-06-02 10:24:30] 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-06-02 10:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780376001000,"timestamp_ms":1780376001000,"timestamp_seconds":1780376001,"priority":1,"record_length":96,"hex_timestamp":"0000019e86add9e8"} 
[2026-06-02 10:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:24: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-06-02 10:24: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":131,"data_length":795,"current_offset":136} 
[2026-06-02 10:24:30] 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-06-02 10:24: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-06-02 10:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:24:30] 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-06-02 10:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776256000001,"66":27995,"223":206,"94":10240,"24":26,"16":305401140005044224,"44":-199143515922997248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-06-02 10:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776256000001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:24:30] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-02 10:24:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305401140005044224,"km_value":305401140005044.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-199143515922997248,"description":"Unknown IO ID 44"} 
[2026-06-02 10:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776256000001,"power":27995,"unknown_223":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_44":-199143515922997248}} 
[2026-06-02 10:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":89554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:24:30] local.INFO: GPS data processed {"connection_id":89554,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:24:30] local.INFO: Acknowledgment sent {"connection_id":89554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:25:03] local.INFO: TCP Data received {"connection_id":89554,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86adddd0012cfd3dc007021b40001000192e..."} 
[2026-06-02 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86adddd0012cfd3dc007021b40001000192e..."} 
[2026-06-02 10:25:03] local.INFO: Processing buffer {"connection_id":89554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86adddd0012cfd3dc007021b40001000192e..."} 
[2026-06-02 10:25:03] local.INFO: Packet analysis {"connection_id":89554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:25:03] local.INFO: Extracted packet for processing {"connection_id":89554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":754793920,"raw_latitude":117578560,"longitude_deg":75.479392,"latitude_deg":11.757856,"altitude":16,"angle":25,"satellites":46,"speed":24,"hex_longitude":"2cfd3dc0","hex_latitude":"07021b40","is_valid_coordinates":true} 
[2026-06-02 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776256256001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305401170069815296,"note":"Value kept but may cause issues"} 
[2026-06-02 10:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-199002778434469888,"note":"Value kept but may cause issues"} 
[2026-06-02 10:25:03] 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-06-02 10:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780376002000,"timestamp_ms":1780376002000,"timestamp_seconds":1780376002,"priority":1,"record_length":96,"hex_timestamp":"0000019e86adddd0"} 
[2026-06-02 10:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:25: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-06-02 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:25:03] 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-06-02 10:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776256256001,"66":27995,"223":206,"94":10240,"24":24,"16":305401170069815296,"44":-199002778434469888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-06-02 10:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776256256001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:25:03] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-02 10:25:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305401170069815296,"km_value":305401170069815.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-199002778434469888,"description":"Unknown IO ID 44"} 
[2026-06-02 10:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776256256001,"power":27995,"unknown_223":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_44":-199002778434469888}} 
[2026-06-02 10:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":89554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:25:03] local.INFO: GPS data processed {"connection_id":89554,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:25:03] local.INFO: Acknowledgment sent {"connection_id":89554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:25:24] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:24] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:24] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:25:28] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:28] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:28] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:25:29] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:29] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:25:29] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:25:29] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ade1b8012cfd3f4007021d28001000272e..."} 
[2026-06-02 10:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ade1b8012cfd3f4007021d28001000272e..."} 
[2026-06-02 10:25:29] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ade1b8012cfd3f4007021d28001000272e..."} 
[2026-06-02 10:25:29] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:25:29] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:25:29] local.INFO: GPS Element Parsed {"raw_longitude":754794304,"raw_latitude":117579048,"longitude_deg":75.4794304,"latitude_deg":11.7579048,"altitude":16,"angle":39,"satellites":46,"speed":24,"hex_longitude":"2cfd3f40","hex_latitude":"07021d28","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776256512001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305401200134586368,"note":"Value kept but may cause issues"} 
[2026-06-02 10:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198791672201789440,"note":"Value kept but may cause issues"} 
[2026-06-02 10:25: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-06-02 10:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780376003000,"timestamp_ms":1780376003000,"timestamp_seconds":1780376003,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ade1b8"} 
[2026-06-02 10:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:25: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-06-02 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:25:29] 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-06-02 10: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-06-02 10:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:25:29] 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-06-02 10:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776256512001,"66":27919,"223":206,"94":10240,"24":24,"16":305401200134586368,"44":-198791672201789440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-06-02 10:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776256512001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:25:29] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-02 10:25:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305401200134586368,"km_value":305401200134586.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198791672201789440,"description":"Unknown IO ID 44"} 
[2026-06-02 10:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776256512001,"power":27919,"unknown_223":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_44":-198791672201789440}} 
[2026-06-02 10:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:25:29] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:25:29] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:26:00] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ade5a0012cfd410007021ea8001000342e..."} 
[2026-06-02 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ade5a0012cfd410007021ea8001000342e..."} 
[2026-06-02 10:26:00] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ade5a0012cfd410007021ea8001000342e..."} 
[2026-06-02 10:26:00] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:26:00] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ad"} 
[2026-06-02 10:26:00] local.INFO: GPS Element Parsed {"raw_longitude":754794752,"raw_latitude":117579432,"longitude_deg":75.4794752,"latitude_deg":11.7579432,"altitude":16,"angle":52,"satellites":46,"speed":24,"hex_longitude":"2cfd4100","hex_latitude":"07021ea8","is_valid_coordinates":true} 
[2026-06-02 10:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776256768001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305401230199357440,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198369459736598528,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:00] 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-06-02 10:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780376004000,"timestamp_ms":1780376004000,"timestamp_seconds":1780376004,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ade5a0"} 
[2026-06-02 10:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:26: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-06-02 10:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 10:26: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-06-02 10:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:26:00] 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-06-02 10:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776256768001,"66":27919,"223":206,"94":10240,"24":24,"16":305401230199357440,"44":-198369459736598528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-06-02 10:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776256768001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:26:00] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-02 10:26:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305401230199357440,"km_value":305401230199357.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198369459736598528,"description":"Unknown IO ID 44"} 
[2026-06-02 10:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776256768001,"power":27919,"unknown_223":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_44":-198369459736598528}} 
[2026-06-02 10:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:26:00] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:26:00] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:26:26] local.INFO: TCP Data received {"connection_id":90770,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:26] local.INFO: Processing buffer {"connection_id":90770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:26] local.INFO: IMEI packet received {"connection_id":90770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":90770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:26:29] local.INFO: TCP Data received {"connection_id":90770,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:29] local.INFO: Processing buffer {"connection_id":90770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:29] local.INFO: IMEI packet received {"connection_id":90770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":90770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:26:34] local.INFO: TCP Data received {"connection_id":90770,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:34] local.INFO: Processing buffer {"connection_id":90770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:26:34] local.INFO: IMEI packet received {"connection_id":90770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":90770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:26:35] local.INFO: TCP Data received {"connection_id":90770,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86afb678012cfd370007034d10000901462f..."} 
[2026-06-02 10:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86afb678012cfd370007034d10000901462f..."} 
[2026-06-02 10:26:35] local.INFO: Processing buffer {"connection_id":90770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86afb678012cfd370007034d10000901462f..."} 
[2026-06-02 10:26:35] local.INFO: Packet analysis {"connection_id":90770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:26:35] local.INFO: Extracted packet for processing {"connection_id":90770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:26:35] local.INFO: GPS Element Parsed {"raw_longitude":754792192,"raw_latitude":117656848,"longitude_deg":75.4792192,"latitude_deg":11.7656848,"altitude":9,"angle":326,"satellites":47,"speed":36,"hex_longitude":"2cfd3700","hex_latitude":"07034d10","is_valid_coordinates":true} 
[2026-06-02 10:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776284160001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305405233108877312,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-195484341207433216,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:35] 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-06-02 10:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780376123000,"timestamp_ms":1780376123000,"timestamp_seconds":1780376123,"priority":1,"record_length":96,"hex_timestamp":"0000019e86afb678"} 
[2026-06-02 10:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:26: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-06-02 10:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 10:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776284160001,"66":27843,"80":206,"94":10240,"24":36,"16":305405233108877312,"44":-195484341207433216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-06-02 10:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776284160001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:26:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-02 10:26:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305405233108877312,"km_value":305405233108877.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-195484341207433216,"description":"Unknown IO ID 44"} 
[2026-06-02 10:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776284160001,"power":27843,"unknown_80":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_44":-195484341207433216}} 
[2026-06-02 10:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":90770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:26:35] local.INFO: GPS data processed {"connection_id":90770,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:26:35] local.INFO: Acknowledgment sent {"connection_id":90770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:26:39] local.INFO: TCP Data received {"connection_id":90770,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86afd5b8012cfd204007036798000601372f..."} 
[2026-06-02 10:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86afd5b8012cfd204007036798000601372f..."} 
[2026-06-02 10:26:39] local.INFO: Processing buffer {"connection_id":90770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86afd5b8012cfd204007036798000601372f..."} 
[2026-06-02 10:26:39] local.INFO: Packet analysis {"connection_id":90770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:26:39] local.INFO: Extracted packet for processing {"connection_id":90770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:26:39] local.INFO: GPS Element Parsed {"raw_longitude":754786368,"raw_latitude":117663640,"longitude_deg":75.4786368,"latitude_deg":11.766364,"altitude":6,"angle":311,"satellites":47,"speed":48,"hex_longitude":"2cfd2040","hex_latitude":"07036798","is_valid_coordinates":true} 
[2026-06-02 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776287488001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305405662605606912,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-200691628274544640,"note":"Value kept but may cause issues"} 
[2026-06-02 10:26:39] 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-06-02 10:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780376131000,"timestamp_ms":1780376131000,"timestamp_seconds":1780376131,"priority":1,"record_length":96,"hex_timestamp":"0000019e86afd5b8"} 
[2026-06-02 10:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:26: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-06-02 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 10:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776287488001,"66":27995,"80":206,"94":10240,"24":48,"16":305405662605606912,"44":-200691628274544640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-06-02 10:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776287488001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:26:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-02 10:26:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305405662605606912,"km_value":305405662605606.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:26:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-200691628274544640,"description":"Unknown IO ID 44"} 
[2026-06-02 10:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776287488001,"power":27995,"unknown_80":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-200691628274544640}} 
[2026-06-02 10:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":90770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:26:39] local.INFO: GPS data processed {"connection_id":90770,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:26:39] local.INFO: Acknowledgment sent {"connection_id":90770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:27:25] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:27:25] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:27:25] local.INFO: IMEI packet received {"connection_id":89706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":89706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:27:29] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:27:29] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:27:29] local.INFO: IMEI packet received {"connection_id":89706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":89706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:27:30] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86afd5b8012cfd204007036798000601372f..."} 
[2026-06-02 10:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86afd5b8012cfd204007036798000601372f..."} 
[2026-06-02 10:27:30] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86afd5b8012cfd204007036798000601372f..."} 
[2026-06-02 10:27:30] local.INFO: Packet analysis {"connection_id":89706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:27:30] local.INFO: Extracted packet for processing {"connection_id":89706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:27:30] local.INFO: GPS Element Parsed {"raw_longitude":754786368,"raw_latitude":117663640,"longitude_deg":75.4786368,"latitude_deg":11.766364,"altitude":6,"angle":311,"satellites":47,"speed":48,"hex_longitude":"2cfd2040","hex_latitude":"07036798","is_valid_coordinates":true} 
[2026-06-02 10:27: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-06-02 10:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776289536001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305405662605606912,"note":"Value kept but may cause issues"} 
[2026-06-02 10:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-207095183992973312,"note":"Value kept but may cause issues"} 
[2026-06-02 10:27:30] 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-06-02 10:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780376131000,"timestamp_ms":1780376131000,"timestamp_seconds":1780376131,"priority":1,"record_length":96,"hex_timestamp":"0000019e86afd5b8"} 
[2026-06-02 10:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:27: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-06-02 10:27: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:27:30] 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-06-02 10:27: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-06-02 10:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:27:30] 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-06-02 10:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776289536001,"66":27995,"80":206,"94":10240,"24":48,"16":305405662605606912,"44":-207095183992973312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-06-02 10:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776289536001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:27:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-02 10:27:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305405662605606912,"km_value":305405662605606.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-207095183992973312,"description":"Unknown IO ID 44"} 
[2026-06-02 10:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776289536001,"power":27995,"unknown_80":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-207095183992973312}} 
[2026-06-02 10:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":89706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:27:30] local.INFO: GPS data processed {"connection_id":89706,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:27:30] local.INFO: Acknowledgment sent {"connection_id":89706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:27:31] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86afe170012cfd13c007037028000501282d..."} 
[2026-06-02 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86afe170012cfd13c007037028000501282d..."} 
[2026-06-02 10:27:31] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86afe170012cfd13c007037028000501282d..."} 
[2026-06-02 10:27:31] local.INFO: Packet analysis {"connection_id":89706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:27:31] local.INFO: Extracted packet for processing {"connection_id":89706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86af"} 
[2026-06-02 10:27:31] local.INFO: GPS Element Parsed {"raw_longitude":754783168,"raw_latitude":117665832,"longitude_deg":75.4783168,"latitude_deg":11.7665832,"altitude":5,"angle":296,"satellites":45,"speed":52,"hex_longitude":"2cfd13c0","hex_latitude":"07037028","is_valid_coordinates":true} 
[2026-06-02 10:27: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-06-02 10:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776289536001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305405847289200640,"note":"Value kept but may cause issues"} 
[2026-06-02 10:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-207095183992973312,"note":"Value kept but may cause issues"} 
[2026-06-02 10:27:31] 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-06-02 10:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780376134000,"timestamp_ms":1780376134000,"timestamp_seconds":1780376134,"priority":1,"record_length":96,"hex_timestamp":"0000019e86afe170"} 
[2026-06-02 10:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:27: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-06-02 10:27: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:27:31] 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-06-02 10:27: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-06-02 10:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:27:31] 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-06-02 10:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776289536001,"66":27832,"80":206,"94":10240,"24":52,"16":305405847289200640,"44":-207095183992973312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-06-02 10:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776289536001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:27:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-02 10:27:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305405847289200640,"km_value":305405847289200.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-207095183992973312,"description":"Unknown IO ID 44"} 
[2026-06-02 10:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776289536001,"power":27832,"unknown_80":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-207095183992973312}} 
[2026-06-02 10:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":89706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:27:31] local.INFO: GPS data processed {"connection_id":89706,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:27:31] local.INFO: Acknowledgment sent {"connection_id":89706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:28:01] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b16810012cfbb9c00703fac0000f012a2e..."} 
[2026-06-02 10:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b16810012cfbb9c00703fac0000f012a2e..."} 
[2026-06-02 10:28:02] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b16810012cfbb9c00703fac0000f012a2e..."} 
[2026-06-02 10:28:02] local.INFO: Packet analysis {"connection_id":89706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:28:02] local.INFO: Extracted packet for processing {"connection_id":89706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:28:02] local.INFO: GPS Element Parsed {"raw_longitude":754694592,"raw_latitude":117701312,"longitude_deg":75.4694592,"latitude_deg":11.7701312,"altitude":15,"angle":298,"satellites":46,"speed":26,"hex_longitude":"2cfbb9c0","hex_latitude":"0703fac0","is_valid_coordinates":true} 
[2026-06-02 10:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776314368001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305410438609240064,"note":"Value kept but may cause issues"} 
[2026-06-02 10:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-304204050948886528,"note":"Value kept but may cause issues"} 
[2026-06-02 10:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780376234000,"timestamp_ms":1780376234000,"timestamp_seconds":1780376234,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b16810"} 
[2026-06-02 10:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:28: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-06-02 10:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 10:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:28:02] 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-06-02 10:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776314368001,"66":27995,"81":206,"94":10240,"24":26,"16":305410438609240064,"44":-304204050948886528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-06-02 10:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776314368001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 10:28:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305410438609240064,"km_value":305410438609240.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-304204050948886528,"description":"Unknown IO ID 44"} 
[2026-06-02 10:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776314368001,"power":27995,"unknown_81":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_44":-304204050948886528}} 
[2026-06-02 10:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":89706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:28:02] local.INFO: GPS data processed {"connection_id":89706,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:28:02] local.INFO: Acknowledgment sent {"connection_id":89706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:28:24] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:28:24] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:28:24] local.INFO: IMEI packet received {"connection_id":89707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:28:29] local.INFO: TCP Data received {"connection_id":89556,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:28:29] local.INFO: Processing buffer {"connection_id":89556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:28:29] local.INFO: IMEI packet received {"connection_id":89556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:28:29] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:28:29] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:28:29] local.INFO: IMEI packet received {"connection_id":89707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:28:30] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b173c8012cfbb3400703ff28001001352e..."} 
[2026-06-02 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b173c8012cfbb3400703ff28001001352e..."} 
[2026-06-02 10:28:30] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b173c8012cfbb3400703ff28001001352e..."} 
[2026-06-02 10:28:30] local.INFO: Packet analysis {"connection_id":89707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:28:30] local.INFO: Extracted packet for processing {"connection_id":89707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:28:30] local.INFO: GPS Element Parsed {"raw_longitude":754692928,"raw_latitude":117702440,"longitude_deg":75.4692928,"latitude_deg":11.770244,"altitude":16,"angle":309,"satellites":46,"speed":28,"hex_longitude":"2cfbb340","hex_latitude":"0703ff28","is_valid_coordinates":true} 
[2026-06-02 10:28: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-06-02 10:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776315904001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305410533098520576,"note":"Value kept but may cause issues"} 
[2026-06-02 10:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-308003963134099456,"note":"Value kept but may cause issues"} 
[2026-06-02 10:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780376237000,"timestamp_ms":1780376237000,"timestamp_seconds":1780376237,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b173c8"} 
[2026-06-02 10:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:28: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-06-02 10:28: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:28:30] 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-06-02 10:28: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-06-02 10:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:28:30] 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-06-02 10:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776315904001,"66":27930,"81":206,"94":10240,"24":28,"16":305410533098520576,"44":-308003963134099456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-06-02 10:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776315904001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:28:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 10:28:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305410533098520576,"km_value":305410533098520.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-308003963134099456,"description":"Unknown IO ID 44"} 
[2026-06-02 10:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776315904001,"power":27930,"unknown_81":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_44":-308003963134099456}} 
[2026-06-02 10:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":89707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:28:30] local.INFO: GPS data processed {"connection_id":89707,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:28:30] local.INFO: Acknowledgment sent {"connection_id":89707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:28:58] local.INFO: TCP Data received {"connection_id":89557,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:28:58] local.INFO: Processing buffer {"connection_id":89557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:28:58] local.INFO: IMEI packet received {"connection_id":89557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":89557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:29:01] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b18368012cfbaa0007040878001101412c..."} 
[2026-06-02 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b18368012cfbaa0007040878001101412c..."} 
[2026-06-02 10:29:01] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b18368012cfbaa0007040878001101412c..."} 
[2026-06-02 10:29:01] local.INFO: Packet analysis {"connection_id":89707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:29:01] local.INFO: Extracted packet for processing {"connection_id":89707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:29:01] local.INFO: GPS Element Parsed {"raw_longitude":754690560,"raw_latitude":117704824,"longitude_deg":75.469056,"latitude_deg":11.7704824,"altitude":17,"angle":321,"satellites":44,"speed":38,"hex_longitude":"2cfbaa00","hex_latitude":"07040878","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776316672001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305410696307277824,"note":"Value kept but may cause issues"} 
[2026-06-02 10:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-309833550482429952,"note":"Value kept but may cause issues"} 
[2026-06-02 10:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780376241000,"timestamp_ms":1780376241000,"timestamp_seconds":1780376241,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b18368"} 
[2026-06-02 10:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:29: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-06-02 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 10:29:01] 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-06-02 10: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-06-02 10:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:29: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-06-02 10:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776316672001,"66":27865,"81":206,"94":10240,"24":38,"16":305410696307277824,"44":-309833550482429952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-06-02 10:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776316672001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:29:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 10:29:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305410696307277824,"km_value":305410696307277.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-309833550482429952,"description":"Unknown IO ID 44"} 
[2026-06-02 10:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776316672001,"power":27865,"unknown_81":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_44":-309833550482429952}} 
[2026-06-02 10:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":89707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:29:01] local.INFO: GPS data processed {"connection_id":89707,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:29:01] local.INFO: Acknowledgment sent {"connection_id":89707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:29:23] local.INFO: TCP Data received {"connection_id":89305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:23] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:23] local.INFO: IMEI packet received {"connection_id":89305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:29:24] local.INFO: TCP Data received {"connection_id":89305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:24] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:24] local.INFO: IMEI packet received {"connection_id":89305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":89305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:29:29] local.INFO: TCP Data received {"connection_id":89305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:29] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:29:29] local.INFO: IMEI packet received {"connection_id":89305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":89305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:29:31] local.INFO: TCP Data received {"connection_id":89305,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b1a690012cfb934007042678000e01442e..."} 
[2026-06-02 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b1a690012cfb934007042678000e01442e..."} 
[2026-06-02 10:29:31] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b1a690012cfb934007042678000e01442e..."} 
[2026-06-02 10:29:31] local.INFO: Packet analysis {"connection_id":89305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:29:31] local.INFO: Extracted packet for processing {"connection_id":89305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b1"} 
[2026-06-02 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":754684736,"raw_latitude":117712504,"longitude_deg":75.4684736,"latitude_deg":11.7712504,"altitude":14,"angle":324,"satellites":46,"speed":44,"hex_longitude":"2cfb9340","hex_latitude":"07042678","is_valid_coordinates":true} 
[2026-06-02 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776317696001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305411160163745792,"note":"Value kept but may cause issues"} 
[2026-06-02 10:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-312437194016393216,"note":"Value kept but may cause issues"} 
[2026-06-02 10:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780376250000,"timestamp_ms":1780376250000,"timestamp_seconds":1780376250,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b1a690"} 
[2026-06-02 10:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:29: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-06-02 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:29: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-06-02 10:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:29:31] 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-06-02 10:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776317696001,"66":27995,"81":206,"94":10240,"24":44,"16":305411160163745792,"44":-312437194016393216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-06-02 10:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776317696001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 10:29:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305411160163745792,"km_value":305411160163745.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-312437194016393216,"description":"Unknown IO ID 44"} 
[2026-06-02 10:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776317696001,"power":27995,"unknown_81":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-312437194016393216}} 
[2026-06-02 10:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":89305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:29:31] local.INFO: GPS data processed {"connection_id":89305,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:29:31] local.INFO: Acknowledgment sent {"connection_id":89305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:30:03] local.INFO: TCP Data received {"connection_id":89305,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b30620012cfab34007052660000901422b..."} 
[2026-06-02 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b30620012cfab34007052660000901422b..."} 
[2026-06-02 10:30:03] local.INFO: Processing buffer {"connection_id":89305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b30620012cfab34007052660000901422b..."} 
[2026-06-02 10:30:03] local.INFO: Packet analysis {"connection_id":89305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:30:03] local.INFO: Extracted packet for processing {"connection_id":89305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":754627392,"raw_latitude":117778016,"longitude_deg":75.4627392,"latitude_deg":11.7778016,"altitude":9,"angle":322,"satellites":43,"speed":27,"hex_longitude":"2cfab340","hex_latitude":"07052660","is_valid_coordinates":true} 
[2026-06-02 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776340992001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305415459426009088,"note":"Value kept but may cause issues"} 
[2026-06-02 10:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-375980169991987200,"note":"Value kept but may cause issues"} 
[2026-06-02 10:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780376340000,"timestamp_ms":1780376340000,"timestamp_seconds":1780376340,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b30620"} 
[2026-06-02 10:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:30: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-06-02 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:30:03] 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-06-02 10:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776340992001,"66":27908,"79":206,"94":10240,"24":27,"16":305415459426009088,"44":-375980169991987200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,44]} 
[2026-06-02 10:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776340992001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:30:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-02 10:30:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 10:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305415459426009088,"km_value":305415459426009.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-375980169991987200,"description":"Unknown IO ID 44"} 
[2026-06-02 10:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776340992001,"power":27908,"unknown_79":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-375980169991987200}} 
[2026-06-02 10:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":89305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:30:03] local.INFO: GPS data processed {"connection_id":89305,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:30:03] local.INFO: Acknowledgment sent {"connection_id":89305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:30:24] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:30:24] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:30:24] local.INFO: IMEI packet received {"connection_id":89709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":89709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:30:29] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:30:29] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:30:29] local.INFO: IMEI packet received {"connection_id":89709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":89709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:30:30] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b338e8012cfa9cc0070541b8000b01392c..."} 
[2026-06-02 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b338e8012cfa9cc0070541b8000b01392c..."} 
[2026-06-02 10:30:30] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b338e8012cfa9cc0070541b8000b01392c..."} 
[2026-06-02 10:30:30] local.INFO: Packet analysis {"connection_id":89709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:30:30] local.INFO: Extracted packet for processing {"connection_id":89709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:30:30] local.INFO: GPS Element Parsed {"raw_longitude":754621632,"raw_latitude":117785016,"longitude_deg":75.4621632,"latitude_deg":11.7785016,"altitude":11,"angle":313,"satellites":44,"speed":29,"hex_longitude":"2cfa9cc0","hex_latitude":"070541b8","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776343040001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305415897512673280,"note":"Value kept but may cause issues"} 
[2026-06-02 10:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-381891144501010432,"note":"Value kept but may cause issues"} 
[2026-06-02 10:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780376353000,"timestamp_ms":1780376353000,"timestamp_seconds":1780376353,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b338e8"} 
[2026-06-02 10:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:30: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-06-02 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:30:30] 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-06-02 10:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776343040001,"66":27876,"196":206,"83":41728,"24":29,"16":305415897512673280,"44":-381891144501010432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-06-02 10:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776343040001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:30:30] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-02 10:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305415897512673280,"km_value":305415897512673.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-381891144501010432,"description":"Unknown IO ID 44"} 
[2026-06-02 10:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776343040001,"power":27876,"unknown_196":206,"unknown_83":41728,"ignition":29,"odometer":null,"unknown_44":-381891144501010432}} 
[2026-06-02 10:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":89709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:30:30] local.INFO: GPS data processed {"connection_id":89709,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:30:30] local.INFO: Acknowledgment sent {"connection_id":89709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:30:54] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:54] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:54] local.INFO: IMEI packet received {"connection_id":89306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":89306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:30:55] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:55] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:55] local.INFO: IMEI packet received {"connection_id":89306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":89306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:30:59] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:59] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:30:59] local.INFO: IMEI packet received {"connection_id":89306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":89306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:31:00] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-02 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-02 10:31:00] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-02 10:31:00] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 10:31:00] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 10:31: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-06-02 10: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-06-02 10:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125099503840657408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 10:31:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 10:31:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 10:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 10:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 10:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 10:31:00] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 10:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 10:31:00] local.ERROR: GPS data processing failed {"connection_id":89306,"error":"No valid data to process"} 
[2026-06-02 10:31:00] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 10:31:01] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b35058012cfa92c0070549f0000b012e2c..."} 
[2026-06-02 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b35058012cfa92c0070549f0000b012e2c..."} 
[2026-06-02 10:31:01] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b35058012cfa92c0070549f0000b012e2c..."} 
[2026-06-02 10:31:01] local.INFO: Packet analysis {"connection_id":89709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:31:01] local.INFO: Extracted packet for processing {"connection_id":89709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:31:01] local.INFO: GPS Element Parsed {"raw_longitude":754619072,"raw_latitude":117787120,"longitude_deg":75.4619072,"latitude_deg":11.778712,"altitude":11,"angle":302,"satellites":44,"speed":18,"hex_longitude":"2cfa92c0","hex_latitude":"070549f0","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776346368001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305416056426463232,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-388224331475208192,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780376359000,"timestamp_ms":1780376359000,"timestamp_seconds":1780376359,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b35058"} 
[2026-06-02 10:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:31: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-06-02 10: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:31:01] 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-06-02 10: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-06-02 10:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:31: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-06-02 10:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776346368001,"66":27887,"196":206,"83":41728,"24":18,"16":305416056426463232,"44":-388224331475208192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-06-02 10:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776346368001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305416056426463232,"km_value":305416056426463.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-388224331475208192,"description":"Unknown IO ID 44"} 
[2026-06-02 10:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776346368001,"power":27887,"unknown_196":206,"unknown_83":41728,"ignition":18,"odometer":null,"unknown_44":-388224331475208192}} 
[2026-06-02 10:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":89709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:31:01] local.INFO: GPS data processed {"connection_id":89709,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:31:01] local.INFO: Acknowledgment sent {"connection_id":89709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:31:24] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:31:24] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:31:24] local.INFO: IMEI packet received {"connection_id":89710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":89710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:31:29] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:31:29] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:31:29] local.INFO: IMEI packet received {"connection_id":89710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":89710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:31:30] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b36f98012cfa8180070552a8000d01222e..."} 
[2026-06-02 10:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b36f98012cfa8180070552a8000d01222e..."} 
[2026-06-02 10:31:30] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b36f98012cfa8180070552a8000d01222e..."} 
[2026-06-02 10:31:30] local.INFO: Packet analysis {"connection_id":89710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:31:30] local.INFO: Extracted packet for processing {"connection_id":89710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:31:30] local.INFO: GPS Element Parsed {"raw_longitude":754614656,"raw_latitude":117789352,"longitude_deg":75.4614656,"latitude_deg":11.7789352,"altitude":13,"angle":290,"satellites":46,"speed":30,"hex_longitude":"2cfa8180","hex_latitude":"070552a8","is_valid_coordinates":true} 
[2026-06-02 10:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776347904001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305416292649664512,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-391039081241776128,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780376367000,"timestamp_ms":1780376367000,"timestamp_seconds":1780376367,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b36f98"} 
[2026-06-02 10:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:31: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-06-02 10:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 10:31: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-06-02 10:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:31:30] 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-06-02 10:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776347904001,"66":27821,"196":206,"83":41728,"24":30,"16":305416292649664512,"44":-391039081241776128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-06-02 10:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776347904001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:31:30] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-02 10:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305416292649664512,"km_value":305416292649664.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-391039081241776128,"description":"Unknown IO ID 44"} 
[2026-06-02 10:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776347904001,"power":27821,"unknown_196":206,"unknown_83":41728,"ignition":30,"odometer":null,"unknown_44":-391039081241776128}} 
[2026-06-02 10:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":89710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:31:30] local.INFO: GPS data processed {"connection_id":89710,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:31:30] local.INFO: Acknowledgment sent {"connection_id":89710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:31:31] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-02 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-02 10:31:31] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-02 10:31:31] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-02 10:31:31] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-02 10:31:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 10:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125099503840657408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:31:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 10:31:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 10:31:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 10:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 10:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 10:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 10:31:31] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 10:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 10:31:31] local.ERROR: GPS data processing failed {"connection_id":89306,"error":"No valid data to process"} 
[2026-06-02 10:31:31] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 10:32:01] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b3a260012cfa5f4007055e50000d011f2d..."} 
[2026-06-02 10:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b3a260012cfa5f4007055e50000d011f2d..."} 
[2026-06-02 10:32:01] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b3a260012cfa5f4007055e50000d011f2d..."} 
[2026-06-02 10:32:01] local.INFO: Packet analysis {"connection_id":89710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:32:01] local.INFO: Extracted packet for processing {"connection_id":89710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b3"} 
[2026-06-02 10:32:01] local.INFO: GPS Element Parsed {"raw_longitude":754605888,"raw_latitude":117792336,"longitude_deg":75.4605888,"latitude_deg":11.7792336,"altitude":13,"angle":287,"satellites":45,"speed":25,"hex_longitude":"2cfa5f40","hex_latitude":"07055e50","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776349952001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305416735031296000,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-395894524589463552,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780376380000,"timestamp_ms":1780376380000,"timestamp_seconds":1780376380,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b3a260"} 
[2026-06-02 10:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:32: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-06-02 10: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 10:32: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-06-02 10: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-06-02 10:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:32: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-06-02 10:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776349952001,"66":27995,"196":206,"83":41728,"24":25,"16":305416735031296000,"44":-395894524589463552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-06-02 10:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776349952001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:32:01] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-02 10:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305416735031296000,"km_value":305416735031296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:32:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-395894524589463552,"description":"Unknown IO ID 44"} 
[2026-06-02 10:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776349952001,"power":27995,"unknown_196":206,"unknown_83":41728,"ignition":25,"odometer":null,"unknown_44":-395894524589463552}} 
[2026-06-02 10:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":89710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:32:01] local.INFO: GPS data processed {"connection_id":89710,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:32:01] local.INFO: Acknowledgment sent {"connection_id":89710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:32:02] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b56b680100000000000000000000000000..."} 
[2026-06-02 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b56b680100000000000000000000000000..."} 
[2026-06-02 10:32:02] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b56b680100000000000000000000000000..."} 
[2026-06-02 10:32:02] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32:02] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125099503840657408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 10:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780376497000,"timestamp_ms":1780376497000,"timestamp_seconds":1780376497,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b56b68"} 
[2026-06-02 10:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:32:02] 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-06-02 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 10:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 10:32:02] local.INFO: GPS data processed {"connection_id":89306,"processed":0,"errors":0,"total":1} 
[2026-06-02 10:32:02] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:32:29] local.INFO: TCP Data received {"connection_id":90773,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:32:29] local.INFO: Processing buffer {"connection_id":90773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:32:29] local.INFO: IMEI packet received {"connection_id":90773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":90773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:32:34] local.INFO: TCP Data received {"connection_id":90773,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:32:34] local.INFO: Processing buffer {"connection_id":90773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:32:34] local.INFO: IMEI packet received {"connection_id":90773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":90773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:32:34] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b5bd700100000000000000000000000000..."} 
[2026-06-02 10:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b5bd700100000000000000000000000000..."} 
[2026-06-02 10:32:34] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b5bd700100000000000000000000000000..."} 
[2026-06-02 10:32:34] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32:34] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32: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-06-02 10:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125099503840657408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 10:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780376518000,"timestamp_ms":1780376518000,"timestamp_seconds":1780376518,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b5bd70"} 
[2026-06-02 10:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:32:34] 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-06-02 10:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 10:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:32:34] 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-06-02 10:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 10:32:34] local.INFO: GPS data processed {"connection_id":89306,"processed":0,"errors":0,"total":1} 
[2026-06-02 10:32:34] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:32:35] local.INFO: TCP Data received {"connection_id":90773,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b530d0012cf9b3c0070657b0000f01662d..."} 
[2026-06-02 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b530d0012cf9b3c0070657b0000f01662d..."} 
[2026-06-02 10:32:35] local.INFO: Processing buffer {"connection_id":90773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b530d0012cf9b3c0070657b0000f01662d..."} 
[2026-06-02 10:32:35] local.INFO: Packet analysis {"connection_id":90773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32:35] local.INFO: Extracted packet for processing {"connection_id":90773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32:35] local.INFO: GPS Element Parsed {"raw_longitude":754561984,"raw_latitude":117856176,"longitude_deg":75.4561984,"latitude_deg":11.7856176,"altitude":15,"angle":358,"satellites":45,"speed":36,"hex_longitude":"2cf9b3c0","hex_latitude":"070657b0","is_valid_coordinates":true} 
[2026-06-02 10:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776376064001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305420716465979392,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454019107265523712,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:35] 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-06-02 10:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780376482000,"timestamp_ms":1780376482000,"timestamp_seconds":1780376482,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b530d0"} 
[2026-06-02 10:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:32: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-06-02 10:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 10:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776376064001,"66":27908,"85":206,"83":41728,"24":36,"16":305420716465979392,"44":-454019107265523712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776376064001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305420716465979392,"km_value":305420716465979.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454019107265523712,"description":"Unknown IO ID 44"} 
[2026-06-02 10:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776376064001,"power":27908,"unknown_85":206,"unknown_83":41728,"ignition":36,"odometer":null,"unknown_44":-454019107265523712}} 
[2026-06-02 10:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":90773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:32:35] local.INFO: GPS data processed {"connection_id":90773,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:32:35] local.INFO: Acknowledgment sent {"connection_id":90773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:32:35] local.INFO: TCP Data received {"connection_id":90773,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b53c88012cf9b200070662b8000e01562c..."} 
[2026-06-02 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b53c88012cf9b200070662b8000e01562c..."} 
[2026-06-02 10:32:35] local.INFO: Processing buffer {"connection_id":90773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b53c88012cf9b200070662b8000e01562c..."} 
[2026-06-02 10:32:35] local.INFO: Packet analysis {"connection_id":90773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32:35] local.INFO: Extracted packet for processing {"connection_id":90773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:32:35] local.INFO: GPS Element Parsed {"raw_longitude":754561536,"raw_latitude":117859000,"longitude_deg":75.4561536,"latitude_deg":11.7859,"altitude":14,"angle":342,"satellites":44,"speed":39,"hex_longitude":"2cf9b200","hex_latitude":"070662b8","is_valid_coordinates":true} 
[2026-06-02 10:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776379392001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305420858199900160,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453808001030574080,"note":"Value kept but may cause issues"} 
[2026-06-02 10:32:35] 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-06-02 10:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780376485000,"timestamp_ms":1780376485000,"timestamp_seconds":1780376485,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b53c88"} 
[2026-06-02 10:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776379392001,"66":27974,"85":206,"83":41728,"24":39,"16":305420858199900160,"44":-453808001030574080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-06-02 10:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776379392001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305420858199900160,"km_value":305420858199900.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453808001030574080,"description":"Unknown IO ID 44"} 
[2026-06-02 10:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776379392001,"power":27974,"unknown_85":206,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-453808001030574080}} 
[2026-06-02 10:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":90773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:32:35] local.INFO: GPS data processed {"connection_id":90773,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:32:35] local.INFO: Acknowledgment sent {"connection_id":90773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:33:05] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b60f780100000000000000000000000000..."} 
[2026-06-02 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b60f780100000000000000000000000000..."} 
[2026-06-02 10:33:05] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b60f780100000000000000000000000000..."} 
[2026-06-02 10:33:05] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b6"} 
[2026-06-02 10:33:05] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b6"} 
[2026-06-02 10:33: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-06-02 10: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-06-02 10:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125099503840657408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 10:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780376539000,"timestamp_ms":1780376539000,"timestamp_seconds":1780376539,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b60f78"} 
[2026-06-02 10:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:33:05] 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-06-02 10: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-02 10:33:05] 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-06-02 10: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-06-02 10:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:33:05] 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-06-02 10:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 10:33:05] local.INFO: GPS data processed {"connection_id":89306,"processed":0,"errors":0,"total":1} 
[2026-06-02 10:33:05] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:33:06] local.INFO: TCP Data received {"connection_id":90773,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b55fb0012cf9a3c0070682e8000b01522c..."} 
[2026-06-02 10:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b55fb0012cf9a3c0070682e8000b01522c..."} 
[2026-06-02 10:33:06] local.INFO: Processing buffer {"connection_id":90773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b55fb0012cf9a3c0070682e8000b01522c..."} 
[2026-06-02 10:33:06] local.INFO: Packet analysis {"connection_id":90773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:33:06] local.INFO: Extracted packet for processing {"connection_id":90773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":754557888,"raw_latitude":117867240,"longitude_deg":75.4557888,"latitude_deg":11.786724,"altitude":11,"angle":338,"satellites":44,"speed":37,"hex_longitude":"2cf9a3c0","hex_latitude":"070682e8","is_valid_coordinates":true} 
[2026-06-02 10:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776380160001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305421291991597056,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454300582239094784,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:06] 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-06-02 10:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780376494000,"timestamp_ms":1780376494000,"timestamp_seconds":1780376494,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b55fb0"} 
[2026-06-02 10:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 10:33:06] 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-06-02 10:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776380160001,"66":27865,"85":206,"83":41728,"24":37,"16":305421291991597056,"44":-454300582239094784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-06-02 10:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776380160001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305421291991597056,"km_value":305421291991597.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454300582239094784,"description":"Unknown IO ID 44"} 
[2026-06-02 10:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776380160001,"power":27865,"unknown_85":206,"unknown_83":41728,"ignition":37,"odometer":null,"unknown_44":-454300582239094784}} 
[2026-06-02 10:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":90773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:33:06] local.INFO: GPS data processed {"connection_id":90773,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:33:06] local.INFO: Acknowledgment sent {"connection_id":90773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:33:24] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:33:24] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:33:24] local.INFO: IMEI packet received {"connection_id":89711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":89711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:33:30] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:33:30] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:33:30] local.INFO: IMEI packet received {"connection_id":89711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":89711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:33:31] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b586c0012cf997800706a628000601552b..."} 
[2026-06-02 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b586c0012cf997800706a628000601552b..."} 
[2026-06-02 10:33:31] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b586c0012cf997800706a628000601552b..."} 
[2026-06-02 10:33:31] local.INFO: Packet analysis {"connection_id":89711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:33:31] local.INFO: Extracted packet for processing {"connection_id":89711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":754554752,"raw_latitude":117876264,"longitude_deg":75.4554752,"latitude_deg":11.7876264,"altitude":6,"angle":341,"satellites":43,"speed":32,"hex_longitude":"2cf99780","hex_latitude":"0706a628","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776382464001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305421755848065024,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458311600655112192,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:31] 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-06-02 10:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780376504000,"timestamp_ms":1780376504000,"timestamp_seconds":1780376504,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b586c0"} 
[2026-06-02 10:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:33: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-06-02 10: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":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:33: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-06-02 10: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-06-02 10:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:33:31] 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-06-02 10:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776382464001,"66":27908,"85":206,"83":41728,"24":32,"16":305421755848065024,"44":-458311600655112192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-06-02 10:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776382464001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-02 10:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305421755848065024,"km_value":305421755848065.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458311600655112192,"description":"Unknown IO ID 44"} 
[2026-06-02 10:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776382464001,"power":27908,"unknown_85":206,"unknown_83":41728,"ignition":32,"odometer":null,"unknown_44":-458311600655112192}} 
[2026-06-02 10:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":89711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:33:31] local.INFO: GPS data processed {"connection_id":89711,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:33:31] local.INFO: Acknowledgment sent {"connection_id":89711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:33:36] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b661800100000000000000000000000000..."} 
[2026-06-02 10:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b661800100000000000000000000000000..."} 
[2026-06-02 10:33:36] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b661800100000000000000000000000000..."} 
[2026-06-02 10:33:36] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b6"} 
[2026-06-02 10:33:36] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b6"} 
[2026-06-02 10:33: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-06-02 10: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-06-02 10:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125099503840657408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:33:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 10:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780376560000,"timestamp_ms":1780376560000,"timestamp_seconds":1780376560,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b66180"} 
[2026-06-02 10:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:33:36] 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-06-02 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-02 10:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:33:36] 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-06-02 10:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 10:33:36] local.INFO: GPS data processed {"connection_id":89306,"processed":0,"errors":0,"total":1} 
[2026-06-02 10:33:36] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:34:02] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b5b5a0012cf98d400706c8f8000601592c..."} 
[2026-06-02 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b5b5a0012cf98d400706c8f8000601592c..."} 
[2026-06-02 10:34:02] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b5b5a0012cf98d400706c8f8000601592c..."} 
[2026-06-02 10:34:02] local.INFO: Packet analysis {"connection_id":89711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:34:02] local.INFO: Extracted packet for processing {"connection_id":89711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b5"} 
[2026-06-02 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":754552128,"raw_latitude":117885176,"longitude_deg":75.4552128,"latitude_deg":11.7885176,"altitude":6,"angle":345,"satellites":44,"speed":31,"hex_longitude":"2cf98d40","hex_latitude":"0706c8f8","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776385024001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305422202524663808,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-461759669117507584,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:02] 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-06-02 10:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780376516000,"timestamp_ms":1780376516000,"timestamp_seconds":1780376516,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b5b5a0"} 
[2026-06-02 10:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:34: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-06-02 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:34: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-06-02 10: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-06-02 10:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:34:02] 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-06-02 10:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776385024001,"66":27821,"85":206,"83":41728,"24":31,"16":305422202524663808,"44":-461759669117507584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-06-02 10:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776385024001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-02 10:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305422202524663808,"km_value":305422202524663.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-461759669117507584,"description":"Unknown IO ID 44"} 
[2026-06-02 10:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776385024001,"power":27821,"unknown_85":206,"unknown_83":41728,"ignition":31,"odometer":null,"unknown_44":-461759669117507584}} 
[2026-06-02 10:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":89711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:34:02] local.INFO: GPS data processed {"connection_id":89711,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:34:02] local.INFO: Acknowledgment sent {"connection_id":89711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:34:07] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b6b3880100000000000000000000000000..."} 
[2026-06-02 10:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b6b3880100000000000000000000000000..."} 
[2026-06-02 10:34:07] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b6b3880100000000000000000000000000..."} 
[2026-06-02 10:34:07] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b6"} 
[2026-06-02 10:34:07] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b6"} 
[2026-06-02 10:34: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-06-02 10:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125099503840657408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 10:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780376581000,"timestamp_ms":1780376581000,"timestamp_seconds":1780376581,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b6b388"} 
[2026-06-02 10:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:34:07] 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-06-02 10:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 10:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 10:34:07] local.INFO: GPS data processed {"connection_id":89306,"processed":0,"errors":0,"total":1} 
[2026-06-02 10:34:07] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:34:22] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:22] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:22] local.INFO: IMEI packet received {"connection_id":89712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":89712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:34:24] local.INFO: TCP Data received {"connection_id":90774,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:34:24] local.INFO: Processing buffer {"connection_id":90774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:34:24] local.INFO: IMEI packet received {"connection_id":90774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":90774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:34:24] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:24] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:24] local.INFO: IMEI packet received {"connection_id":89712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":89712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:34:28] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:28] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:34:28] local.INFO: IMEI packet received {"connection_id":89712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":89712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:34:29] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b74410012cf8e08007081698000b01462c..."} 
[2026-06-02 10:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b74410012cf8e08007081698000b01462c..."} 
[2026-06-02 10:34:29] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b74410012cf8e08007081698000b01462c..."} 
[2026-06-02 10:34:29] local.INFO: Packet analysis {"connection_id":89712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b7"} 
[2026-06-02 10:34:29] local.INFO: Extracted packet for processing {"connection_id":89712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b7"} 
[2026-06-02 10:34:29] local.INFO: GPS Element Parsed {"raw_longitude":754507904,"raw_latitude":117970584,"longitude_deg":75.4507904,"latitude_deg":11.7970584,"altitude":11,"angle":326,"satellites":44,"speed":59,"hex_longitude":"2cf8e080","hex_latitude":"07081698","is_valid_coordinates":true} 
[2026-06-02 10:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776412416001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305426896923918336,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-507006771601672192,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:29] 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-06-02 10:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780376618000,"timestamp_ms":1780376618000,"timestamp_seconds":1780376618,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b74410"} 
[2026-06-02 10:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:34: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-06-02 10:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 10:34: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-06-02 10:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:34:29] 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-06-02 10:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776412416001,"66":28050,"30":206,"83":41728,"24":59,"16":305426896923918336,"44":-507006771601672192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-06-02 10:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776412416001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:34:29] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-02 10:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305426896923918336,"km_value":305426896923918.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-507006771601672192,"description":"Unknown IO ID 44"} 
[2026-06-02 10:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776412416001,"power":28050,"unknown_30":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-507006771601672192}} 
[2026-06-02 10:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":89712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:34:29] local.INFO: GPS data processed {"connection_id":89712,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:34:29] local.INFO: Acknowledgment sent {"connection_id":89712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:34:38] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b80760012d18cf8007211c980033016408..."} 
[2026-06-02 10:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b80760012d18cf8007211c980033016408..."} 
[2026-06-02 10:34:38] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b80760012d18cf8007211c980033016408..."} 
[2026-06-02 10:34:38] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:34:38] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756600704,"raw_latitude":119610520,"longitude_deg":75.6600704,"latitude_deg":11.961052,"altitude":51,"angle":356,"satellites":8,"speed":33,"hex_longitude":"2d18cf80","hex_latitude":"07211c98","is_valid_coordinates":true} 
[2026-06-02 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776425728001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125102372878811136,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401382762496,"note":"Value kept but may cause issues"} 
[2026-06-02 10:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780376668000,"timestamp_ms":1780376668000,"timestamp_seconds":1780376668,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b80760"} 
[2026-06-02 10:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:34:38] 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-06-02 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 10:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:34:38] 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-06-02 10:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776425728001,"66":13319,"103":206,"83":41984,"24":33,"16":125102372878811136,"45":1788562401382762496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 10:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776425728001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:34:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 10:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125102372878811136,"km_value":125102372878811.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401382762496,"description":"Unknown IO ID 45"} 
[2026-06-02 10:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776425728001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788562401382762496}} 
[2026-06-02 10:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:34:38] local.INFO: GPS data processed {"connection_id":89306,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:34:38] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:35:00] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b75b80012cf8cb0007083490000701442c..."} 
[2026-06-02 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b75b80012cf8cb0007083490000701442c..."} 
[2026-06-02 10:35:00] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b75b80012cf8cb0007083490000701442c..."} 
[2026-06-02 10:35:00] local.INFO: Packet analysis {"connection_id":89712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b7"} 
[2026-06-02 10:35:00] local.INFO: Extracted packet for processing {"connection_id":89712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b7"} 
[2026-06-02 10:35:00] local.INFO: GPS Element Parsed {"raw_longitude":754502400,"raw_latitude":117978256,"longitude_deg":75.45024,"latitude_deg":11.7978256,"altitude":7,"angle":324,"satellites":44,"speed":62,"hex_longitude":"2cf8cb00","hex_latitude":"07083490","is_valid_coordinates":true} 
[2026-06-02 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-06-02 10:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776414208001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305427352190451712,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-513269589831411712,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:00] 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-06-02 10:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780376624000,"timestamp_ms":1780376624000,"timestamp_seconds":1780376624,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b75b80"} 
[2026-06-02 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-06-02 10: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-06-02 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 10:35: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-06-02 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-06-02 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-06-02 10:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:35:00] 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-06-02 10:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776414208001,"66":28050,"30":206,"83":41728,"24":62,"16":305427352190451712,"44":-513269589831411712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-06-02 10:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776414208001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:35:00] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-02 10:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305427352190451712,"km_value":305427352190451.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-513269589831411712,"description":"Unknown IO ID 44"} 
[2026-06-02 10:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776414208001,"power":28050,"unknown_30":206,"unknown_83":41728,"ignition":62,"odometer":null,"unknown_44":-513269589831411712}} 
[2026-06-02 10:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":89712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:35:00] local.INFO: GPS data processed {"connection_id":89712,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:35:00] local.INFO: Acknowledgment sent {"connection_id":89712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:35:04] local.INFO: TCP Data received {"connection_id":89308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:35:04] local.INFO: Processing buffer {"connection_id":89308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:35:04] local.INFO: IMEI packet received {"connection_id":89308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":89308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:35:09] local.INFO: TCP Data received {"connection_id":89306,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b81318012d18d040072121380034000f08..."} 
[2026-06-02 10:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b81318012d18d040072121380034000f08..."} 
[2026-06-02 10:35:09] local.INFO: Processing buffer {"connection_id":89306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b81318012d18d040072121380034000f08..."} 
[2026-06-02 10:35:09] local.INFO: Packet analysis {"connection_id":89306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:35:09] local.INFO: Extracted packet for processing {"connection_id":89306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119611704,"longitude_deg":75.6600896,"latitude_deg":11.9611704,"altitude":52,"angle":15,"satellites":8,"speed":9,"hex_longitude":"2d18d040","hex_latitude":"07212138","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776427008001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125102428713385984,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787788345198024704,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780376671000,"timestamp_ms":1780376671000,"timestamp_seconds":1780376671,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b81318"} 
[2026-06-02 10:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:35:09] 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-06-02 10: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":7,"data_length":795,"current_offset":136} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2260181456,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3083651073,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-4427038236117760512,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-8475773205504950265,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:09] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,115,158,243,45,64,10,51,8,66,236,192,2,224,1,240,38,227,134,32,4,113,205,41,189,7,239,56,188,46,37,138,183],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 10:35:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675328756435714048,"timestamp_seconds":3675328756435714.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 10:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:35:09] 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-06-02 10:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776427008001,"66":14461,"103":206,"83":41984,"24":9,"16":125102428713385984,"45":1787788345198024704},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 10:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776427008001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:35:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 10:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125102428713385984,"km_value":125102428713385.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787788345198024704,"description":"Unknown IO ID 45"} 
[2026-06-02 10:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776427008001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1787788345198024704}} 
[2026-06-02 10:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":89306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:35:09] local.INFO: GPS data processed {"connection_id":89306,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:35:09] local.INFO: Acknowledgment sent {"connection_id":89306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:35:29] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:29] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:29] local.INFO: IMEI packet received {"connection_id":89713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":89713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:35:31] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:31] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:31] local.INFO: IMEI packet received {"connection_id":89713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":89713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:35:34] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:34] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:35:34] local.INFO: IMEI packet received {"connection_id":89713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":89713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:35:34] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:34] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:34] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:35:35] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b772f0012cf8b54007085178000701412c..."} 
[2026-06-02 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b772f0012cf8b54007085178000701412c..."} 
[2026-06-02 10:35:35] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b772f0012cf8b54007085178000701412c..."} 
[2026-06-02 10:35:35] local.INFO: Packet analysis {"connection_id":89713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b7"} 
[2026-06-02 10:35:35] local.INFO: Extracted packet for processing {"connection_id":89713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b7"} 
[2026-06-02 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":754496832,"raw_latitude":117985656,"longitude_deg":75.4496832,"latitude_deg":11.7985656,"altitude":7,"angle":321,"satellites":44,"speed":59,"hex_longitude":"2cf8b540","hex_latitude":"07085178","is_valid_coordinates":true} 
[2026-06-02 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776415744001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305427798867050496,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-519321301828726784,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:35] 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-06-02 10:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780376630000,"timestamp_ms":1780376630000,"timestamp_seconds":1780376630,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b772f0"} 
[2026-06-02 10:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 10:35:35] 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-06-02 10:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776415744001,"66":28082,"31":206,"83":41728,"24":59,"16":305427798867050496,"44":-519321301828726784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-06-02 10:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776415744001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:35:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-02 10:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305427798867050496,"km_value":305427798867050.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-519321301828726784,"description":"Unknown IO ID 44"} 
[2026-06-02 10:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776415744001,"power":28082,"unknown_31":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-519321301828726784}} 
[2026-06-02 10:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":89713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:35:35] local.INFO: GPS data processed {"connection_id":89713,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:35:35] local.INFO: Acknowledgment sent {"connection_id":89713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:35:35] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:35] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:35] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:35:39] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:39] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:35:39] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:35:39] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b8de38012d18a74007217658003b01320d..."} 
[2026-06-02 10:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b8de38012d18a74007217658003b01320d..."} 
[2026-06-02 10:35:39] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b8de38012d18a74007217658003b01320d..."} 
[2026-06-02 10:35:39] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:35:39] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119633496,"longitude_deg":75.65904,"latitude_deg":11.9633496,"altitude":59,"angle":306,"satellites":13,"speed":34,"hex_longitude":"2d18a740","hex_latitude":"07217658","is_valid_coordinates":true} 
[2026-06-02 10:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776440320001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125103773038149632,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460365824,"note":"Value kept but may cause issues"} 
[2026-06-02 10:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780376723000,"timestamp_ms":1780376723000,"timestamp_seconds":1780376723,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b8de38"} 
[2026-06-02 10:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:35:39] 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-06-02 10:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 10:35: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-06-02 10:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:35:39] 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-06-02 10:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776440320001,"66":14396,"103":206,"83":41984,"24":34,"16":125103773038149632,"45":1778640408460365824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 10:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776440320001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:35:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 10:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125103773038149632,"km_value":125103773038149.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460365824,"description":"Unknown IO ID 45"} 
[2026-06-02 10:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776440320001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1778640408460365824}} 
[2026-06-02 10:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:35:39] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:35:39] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:36:06] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b8af58012cf7ac000709d2880008013e2d..."} 
[2026-06-02 10:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b8af58012cf7ac000709d2880008013e2d..."} 
[2026-06-02 10:36:06] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b8af58012cf7ac000709d2880008013e2d..."} 
[2026-06-02 10:36:06] local.INFO: Packet analysis {"connection_id":89713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:06] local.INFO: Extracted packet for processing {"connection_id":89713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:06] local.INFO: GPS Element Parsed {"raw_longitude":754428928,"raw_latitude":118084232,"longitude_deg":75.4428928,"latitude_deg":11.8084232,"altitude":8,"angle":318,"satellites":45,"speed":61,"hex_longitude":"2cf7ac00","hex_latitude":"0709d288","is_valid_coordinates":true} 
[2026-06-02 10:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776436480001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305433609957801984,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-593349220678289408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:06] 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-06-02 10:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780376711000,"timestamp_ms":1780376711000,"timestamp_seconds":1780376711,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b8af58"} 
[2026-06-02 10:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:36: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-06-02 10:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776436480001,"66":27995,"12":206,"83":41728,"24":61,"16":305433609957801984,"44":-593349220678289408},"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-06-02 10:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776436480001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:36:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 10:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305433609957801984,"km_value":305433609957802.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-593349220678289408,"description":"Unknown IO ID 44"} 
[2026-06-02 10:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776436480001,"power":27995,"unknown_12":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-593349220678289408}} 
[2026-06-02 10:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":89713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:36:06] local.INFO: GPS data processed {"connection_id":89713,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:36:06] local.INFO: Acknowledgment sent {"connection_id":89713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:36:10] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b8e9f0012d189e0007217a50003b01250d..."} 
[2026-06-02 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b8e9f0012d189e0007217a50003b01250d..."} 
[2026-06-02 10:36:10] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b8e9f0012d189e0007217a50003b01250d..."} 
[2026-06-02 10:36:10] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:10] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756588032,"raw_latitude":119634512,"longitude_deg":75.6588032,"latitude_deg":11.9634512,"altitude":59,"angle":293,"satellites":13,"speed":35,"hex_longitude":"2d189e00","hex_latitude":"07217a50","is_valid_coordinates":true} 
[2026-06-02 10:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776441088001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125103897592201216,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977391302656,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780376726000,"timestamp_ms":1780376726000,"timestamp_seconds":1780376726,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b8e9f0"} 
[2026-06-02 10:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:36:10] 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-06-02 10:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 10:36: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-06-02 10:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:36:10] 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-06-02 10:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776441088001,"66":14363,"103":206,"83":41984,"24":35,"16":125103897592201216,"45":1776458977391302656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 10:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776441088001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:36:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 10:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125103897592201216,"km_value":125103897592201.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977391302656,"description":"Unknown IO ID 45"} 
[2026-06-02 10:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776441088001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1776458977391302656}} 
[2026-06-02 10:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:36:11] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:36:11] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:36:33] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:33] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:33] local.INFO: IMEI packet received {"connection_id":89560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":89560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:36:34] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:34] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:34] local.INFO: IMEI packet received {"connection_id":89560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":89560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:36:39] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:39] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:36:39] local.INFO: IMEI packet received {"connection_id":89560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":89560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:36:41] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b8c6c8012cf794400709ed200008013e2c..."} 
[2026-06-02 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b8c6c8012cf794400709ed200008013e2c..."} 
[2026-06-02 10:36:41] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b8c6c8012cf794400709ed200008013e2c..."} 
[2026-06-02 10:36:41] local.INFO: Packet analysis {"connection_id":89560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:41] local.INFO: Extracted packet for processing {"connection_id":89560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:41] local.INFO: GPS Element Parsed {"raw_longitude":754422848,"raw_latitude":118091040,"longitude_deg":75.4422848,"latitude_deg":11.809104,"altitude":8,"angle":318,"satellites":44,"speed":57,"hex_longitude":"2cf79440","hex_latitude":"0709ed20","is_valid_coordinates":true} 
[2026-06-02 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776438016001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305434048044466176,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-600104620117555200,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:41] 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-06-02 10:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780376717000,"timestamp_ms":1780376717000,"timestamp_seconds":1780376717,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b8c6c8"} 
[2026-06-02 10:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776438016001,"66":27908,"12":206,"83":41728,"24":57,"16":305434048044466176,"44":-600104620117555200},"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-06-02 10:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776438016001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:36:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 10:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305434048044466176,"km_value":305434048044466.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-600104620117555200,"description":"Unknown IO ID 44"} 
[2026-06-02 10:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776438016001,"power":27908,"unknown_12":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-600104620117555200}} 
[2026-06-02 10:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":89560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:36:41] local.INFO: GPS data processed {"connection_id":89560,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:36:41] local.INFO: Acknowledgment sent {"connection_id":89560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:36:42] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b9b8f8012d18764007218080003c01100e..."} 
[2026-06-02 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b9b8f8012d18764007218080003c01100e..."} 
[2026-06-02 10:36:42] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b9b8f8012d18764007218080003c01100e..."} 
[2026-06-02 10:36:42] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:36:42] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636096,"longitude_deg":75.6577856,"latitude_deg":11.9636096,"altitude":60,"angle":272,"satellites":14,"speed":2,"hex_longitude":"2d187640","hex_latitude":"07218080","is_valid_coordinates":true} 
[2026-06-02 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776455168001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125104507477557248,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762737072277329920,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:42] 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-06-02 10:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780376779000,"timestamp_ms":1780376779000,"timestamp_seconds":1780376779,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b9b8f8"} 
[2026-06-02 10:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:36:42] 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-06-02 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-02 10:36:42] 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-06-02 10:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:36:42] 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-06-02 10:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776455168001,"66":14004,"106":206,"83":41984,"24":2,"16":125104507477557248,"45":1762737072277329920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 10:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776455168001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125104507477557248,"km_value":125104507477557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762737072277329920,"description":"Unknown IO ID 45"} 
[2026-06-02 10:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776455168001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1762737072277329920}} 
[2026-06-02 10:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:36:42] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:36:42] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:36:42] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b8e220012cf77900070a0ac8000a013f2e..."} 
[2026-06-02 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b8e220012cf77900070a0ac8000a013f2e..."} 
[2026-06-02 10:36:42] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b8e220012cf77900070a0ac8000a013f2e..."} 
[2026-06-02 10:36:42] local.INFO: Packet analysis {"connection_id":89560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:42] local.INFO: Extracted packet for processing {"connection_id":89560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":754415872,"raw_latitude":118098632,"longitude_deg":75.4415872,"latitude_deg":11.8098632,"altitude":10,"angle":319,"satellites":46,"speed":58,"hex_longitude":"2cf77900","hex_latitude":"070a0ac8","is_valid_coordinates":true} 
[2026-06-02 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776439552001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305434541965705216,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-606789650812690432,"note":"Value kept but may cause issues"} 
[2026-06-02 10:36:42] 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-06-02 10:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780376724000,"timestamp_ms":1780376724000,"timestamp_seconds":1780376724,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b8e220"} 
[2026-06-02 10:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776439552001,"66":27995,"12":206,"83":41728,"24":58,"16":305434541965705216,"44":-606789650812690432},"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-06-02 10:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776439552001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305434541965705216,"km_value":305434541965705.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-606789650812690432,"description":"Unknown IO ID 44"} 
[2026-06-02 10:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776439552001,"power":27995,"unknown_12":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-606789650812690432}} 
[2026-06-02 10:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":89560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:36:42] local.INFO: GPS data processed {"connection_id":89560,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:36:42] local.INFO: Acknowledgment sent {"connection_id":89560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:37:13] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b9e008012d18614007218300003f011d0e..."} 
[2026-06-02 10:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b9e008012d18614007218300003f011d0e..."} 
[2026-06-02 10:37:13] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b9e008012d18614007218300003f011d0e..."} 
[2026-06-02 10:37:13] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:37:13] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756572480,"raw_latitude":119636736,"longitude_deg":75.657248,"latitude_deg":11.9636736,"altitude":63,"angle":285,"satellites":14,"speed":29,"hex_longitude":"2d186140","hex_latitude":"07218300","is_valid_coordinates":true} 
[2026-06-02 10:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776455424001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125104765175595008,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533146112,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780376789000,"timestamp_ms":1780376789000,"timestamp_seconds":1780376789,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b9e008"} 
[2026-06-02 10:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:37:13] 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-06-02 10:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-02 10:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:37:13] 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-06-02 10:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776455424001,"66":14135,"106":206,"83":41984,"24":29,"16":125104765175595008,"45":1762666703533146112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 10:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776455424001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:37:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 10:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125104765175595008,"km_value":125104765175595.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533146112,"description":"Unknown IO ID 45"} 
[2026-06-02 10:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776455424001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1762666703533146112}} 
[2026-06-02 10:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:37:14] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:37:14] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:37:27] local.INFO: TCP Data received {"connection_id":89309,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:37:27] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:37:27] local.INFO: IMEI packet received {"connection_id":89309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":89309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:37:28] local.INFO: TCP Data received {"connection_id":89309,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:37:28] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:37:28] local.INFO: IMEI packet received {"connection_id":89309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":89309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:37:31] local.INFO: TCP Data received {"connection_id":89309,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b8f990012cf76180070a24f0000b013e2d..."} 
[2026-06-02 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b8f990012cf76180070a24f0000b013e2d..."} 
[2026-06-02 10:37:31] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b8f990012cf76180070a24f0000b013e2d..."} 
[2026-06-02 10:37:31] local.INFO: Packet analysis {"connection_id":89309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:37:31] local.INFO: Extracted packet for processing {"connection_id":89309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b8"} 
[2026-06-02 10:37:31] local.INFO: GPS Element Parsed {"raw_longitude":754409856,"raw_latitude":118105328,"longitude_deg":75.4409856,"latitude_deg":11.8105328,"altitude":11,"angle":318,"satellites":45,"speed":61,"hex_longitude":"2cf76180","hex_latitude":"070a24f0","is_valid_coordinates":true} 
[2026-06-02 10:37: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-06-02 10:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776441344001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305434975757402112,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-614459843926112256,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:31] 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-06-02 10:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780376730000,"timestamp_ms":1780376730000,"timestamp_seconds":1780376730,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b8f990"} 
[2026-06-02 10:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:37: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-06-02 10:37: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:37:31] 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-06-02 10:37: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-06-02 10:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:37:31] 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-06-02 10:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776441344001,"66":27865,"12":206,"83":41728,"24":61,"16":305434975757402112,"44":-614459843926112256},"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-06-02 10:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776441344001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:37:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 10:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305434975757402112,"km_value":305434975757402.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-614459843926112256,"description":"Unknown IO ID 44"} 
[2026-06-02 10:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776441344001,"power":27865,"unknown_12":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-614459843926112256}} 
[2026-06-02 10:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":89309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:37:31] local.INFO: GPS data processed {"connection_id":89309,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:37:31] local.INFO: Acknowledgment sent {"connection_id":89309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:37:33] local.INFO: TCP Data received {"connection_id":89309,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b91100012cf74a00070a4058000c01422d..."} 
[2026-06-02 10:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b91100012cf74a00070a4058000c01422d..."} 
[2026-06-02 10:37:33] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b91100012cf74a00070a4058000c01422d..."} 
[2026-06-02 10:37:33] local.INFO: Packet analysis {"connection_id":89309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:37:33] local.INFO: Extracted packet for processing {"connection_id":89309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:37:33] local.INFO: GPS Element Parsed {"raw_longitude":754403840,"raw_latitude":118112344,"longitude_deg":75.440384,"latitude_deg":11.8112344,"altitude":12,"angle":322,"satellites":45,"speed":60,"hex_longitude":"2cf74a00","hex_latitude":"070a4058","is_valid_coordinates":true} 
[2026-06-02 10:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776442880001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305435418139033600,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-621074505877098496,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:33] 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-06-02 10:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780376736000,"timestamp_ms":1780376736000,"timestamp_seconds":1780376736,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b91100"} 
[2026-06-02 10:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:37: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-06-02 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:37:33] 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-06-02 10:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776442880001,"66":27984,"12":206,"83":41728,"24":60,"16":305435418139033600,"44":-621074505877098496},"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-06-02 10:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776442880001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:37:33] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-02 10:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305435418139033600,"km_value":305435418139033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:37:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-621074505877098496,"description":"Unknown IO ID 44"} 
[2026-06-02 10:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776442880001,"power":27984,"unknown_12":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-621074505877098496}} 
[2026-06-02 10:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":89309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:37:33] local.INFO: GPS data processed {"connection_id":89309,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:37:33] local.INFO: Acknowledgment sent {"connection_id":89309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:37:34] local.INFO: TCP Data received {"connection_id":89310,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:34] local.INFO: Processing buffer {"connection_id":89310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:34] local.INFO: IMEI packet received {"connection_id":89310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":89310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:37:39] local.INFO: TCP Data received {"connection_id":89310,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:39] local.INFO: Processing buffer {"connection_id":89310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:39] local.INFO: IMEI packet received {"connection_id":89310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":89310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:37:39] local.INFO: TCP Data received {"connection_id":89310,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:39] local.INFO: Processing buffer {"connection_id":89310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:37:39] local.INFO: IMEI packet received {"connection_id":89310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":89310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:37:40] local.INFO: TCP Data received {"connection_id":89310,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86b9efa8012d1855c0072187e0003f01290e..."} 
[2026-06-02 10:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86b9efa8012d1855c0072187e0003f01290e..."} 
[2026-06-02 10:37:40] local.INFO: Processing buffer {"connection_id":89310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86b9efa8012d1855c0072187e0003f01290e..."} 
[2026-06-02 10:37:40] local.INFO: Packet analysis {"connection_id":89310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:37:40] local.INFO: Extracted packet for processing {"connection_id":89310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86b9"} 
[2026-06-02 10:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756569536,"raw_latitude":119637984,"longitude_deg":75.6569536,"latitude_deg":11.9637984,"altitude":63,"angle":297,"satellites":14,"speed":32,"hex_longitude":"2d1855c0","hex_latitude":"072187e0","is_valid_coordinates":true} 
[2026-06-02 10:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776457984001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125104919794417664,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756755729022386176,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:40] 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-06-02 10:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780376793000,"timestamp_ms":1780376793000,"timestamp_seconds":1780376793,"priority":1,"record_length":96,"hex_timestamp":"0000019e86b9efa8"} 
[2026-06-02 10:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-02 10:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:37:40] 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-06-02 10:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776457984001,"66":14135,"106":206,"83":41984,"24":32,"16":125104919794417664,"45":1756755729022386176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 10:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776457984001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:37:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 10:37:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125104919794417664,"km_value":125104919794417.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756755729022386176,"description":"Unknown IO ID 45"} 
[2026-06-02 10:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776457984001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1756755729022386176}} 
[2026-06-02 10:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":89310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:37:40] local.INFO: GPS data processed {"connection_id":89310,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:37:40] local.INFO: Acknowledgment sent {"connection_id":89310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:37:44] local.INFO: TCP Data received {"connection_id":89310,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ba16b8012d184080072191a0004301120f..."} 
[2026-06-02 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ba16b8012d184080072191a0004301120f..."} 
[2026-06-02 10:37:44] local.INFO: Processing buffer {"connection_id":89310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ba16b8012d184080072191a0004301120f..."} 
[2026-06-02 10:37:44] local.INFO: Packet analysis {"connection_id":89310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:37:44] local.INFO: Extracted packet for processing {"connection_id":89310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756564096,"raw_latitude":119640480,"longitude_deg":75.6564096,"latitude_deg":11.964048,"altitude":67,"angle":274,"satellites":15,"speed":8,"hex_longitude":"2d184080","hex_latitude":"072191a0","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776459008001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125105203262259200,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753518766790533120,"note":"Value kept but may cause issues"} 
[2026-06-02 10:37: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-06-02 10:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780376803000,"timestamp_ms":1780376803000,"timestamp_seconds":1780376803,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ba16b8"} 
[2026-06-02 10:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-02 10:37: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-06-02 10: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-06-02 10:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:37:44] 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-06-02 10:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776459008001,"66":13928,"106":206,"83":41984,"24":8,"16":125105203262259200,"45":1753518766790533120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 10:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776459008001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:37:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 10:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125105203262259200,"km_value":125105203262259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753518766790533120,"description":"Unknown IO ID 45"} 
[2026-06-02 10:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776459008001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1753518766790533120}} 
[2026-06-02 10:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":89310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:37:45] local.INFO: GPS data processed {"connection_id":89310,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:37:45] local.INFO: Acknowledgment sent {"connection_id":89310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:38:04] local.INFO: TCP Data received {"connection_id":89309,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ba5150012cf66800070b4f080004013b2d..."} 
[2026-06-02 10:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ba5150012cf66800070b4f080004013b2d..."} 
[2026-06-02 10:38:04] local.INFO: Processing buffer {"connection_id":89309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ba5150012cf66800070b4f080004013b2d..."} 
[2026-06-02 10:38:04] local.INFO: Packet analysis {"connection_id":89309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:38:04] local.INFO: Extracted packet for processing {"connection_id":89309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:38:04] local.INFO: GPS Element Parsed {"raw_longitude":754345984,"raw_latitude":118181640,"longitude_deg":75.4345984,"latitude_deg":11.818164,"altitude":4,"angle":315,"satellites":45,"speed":38,"hex_longitude":"2cf66800","hex_latitude":"070b4f08","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776463104001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-684195269386536960,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305439768940904448,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:04] 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-06-02 10:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780376818000,"timestamp_ms":1780376818000,"timestamp_seconds":1780376818,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ba5150"} 
[2026-06-02 10:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 10:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776463104001,"66":28050,"44":-684195269386536960,"83":41728,"24":38,"16":305439768940904448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-06-02 10:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776463104001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-684195269386536960,"description":"Unknown IO ID 44"} 
[2026-06-02 10:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305439768940904448,"km_value":305439768940904.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:38:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455776463104001,"power":28050,"unknown_44":-684195269386536960,"unknown_83":41728,"ignition":38,"odometer":null}} 
[2026-06-02 10:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":89309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:38:04] local.INFO: GPS data processed {"connection_id":89309,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:38:04] local.INFO: Acknowledgment sent {"connection_id":89309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:38:15] local.INFO: TCP Data received {"connection_id":89310,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ba5d08012d183ec0072192280045012e10..."} 
[2026-06-02 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ba5d08012d183ec0072192280045012e10..."} 
[2026-06-02 10:38:15] local.INFO: Processing buffer {"connection_id":89310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ba5d08012d183ec0072192280045012e10..."} 
[2026-06-02 10:38:15] local.INFO: Packet analysis {"connection_id":89310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:38:15] local.INFO: Extracted packet for processing {"connection_id":89310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640616,"longitude_deg":75.6563648,"latitude_deg":11.9640616,"altitude":69,"angle":302,"satellites":16,"speed":6,"hex_longitude":"2d183ec0","hex_latitude":"07219228","is_valid_coordinates":true} 
[2026-06-02 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776461568001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125105233327030272,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747537423536070656,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38: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-06-02 10:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780376821000,"timestamp_ms":1780376821000,"timestamp_seconds":1780376821,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ba5d08"} 
[2026-06-02 10:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 10:38: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-06-02 10:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:38:15] 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-06-02 10:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776461568001,"66":14396,"106":206,"83":41984,"24":6,"16":125105233327030272,"45":1747537423536070656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 10:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776461568001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:38:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 10:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125105233327030272,"km_value":125105233327030.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747537423536070656,"description":"Unknown IO ID 45"} 
[2026-06-02 10:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776461568001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1747537423536070656}} 
[2026-06-02 10:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":89310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:38:15] local.INFO: GPS data processed {"connection_id":89310,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:38:15] local.INFO: Acknowledgment sent {"connection_id":89310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:38:22] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:22] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:22] local.INFO: IMEI packet received {"connection_id":89561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":89561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:38:24] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:24] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:24] local.INFO: IMEI packet received {"connection_id":89561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":89561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:38:29] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:29] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:38:29] local.INFO: IMEI packet received {"connection_id":89561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":89561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:38:30] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ba7860012cf64f40070b68f80003013d2d..."} 
[2026-06-02 10:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ba7860012cf64f40070b68f80003013d2d..."} 
[2026-06-02 10:38:30] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ba7860012cf64f40070b68f80003013d2d..."} 
[2026-06-02 10:38:30] local.INFO: Packet analysis {"connection_id":89561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:38:30] local.INFO: Extracted packet for processing {"connection_id":89561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:38:30] local.INFO: GPS Element Parsed {"raw_longitude":754339648,"raw_latitude":118188280,"longitude_deg":75.4339648,"latitude_deg":11.818828,"altitude":3,"angle":317,"satellites":45,"speed":28,"hex_longitude":"2cf64f40","hex_latitude":"070b68f8","is_valid_coordinates":true} 
[2026-06-02 10:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776465408001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-691302512546871296,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305440211322535936,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:30] 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-06-02 10:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780376828000,"timestamp_ms":1780376828000,"timestamp_seconds":1780376828,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ba7860"} 
[2026-06-02 10:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:38: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-06-02 10:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 10:38:30] 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-06-02 10:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:38:30] 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-06-02 10:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776465408001,"66":27984,"44":-691302512546871296,"83":41728,"24":28,"16":305440211322535936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-06-02 10:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776465408001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-691302512546871296,"description":"Unknown IO ID 44"} 
[2026-06-02 10:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305440211322535936,"km_value":305440211322535.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:38:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455776465408001,"power":27984,"unknown_44":-691302512546871296,"unknown_83":41728,"ignition":28,"odometer":null}} 
[2026-06-02 10:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":89561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:38:30] local.INFO: GPS data processed {"connection_id":89561,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:38:30] local.INFO: Acknowledgment sent {"connection_id":89561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:38:38] local.INFO: TCP Data received {"connection_id":89312,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:38] local.INFO: Processing buffer {"connection_id":89312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:38] local.INFO: IMEI packet received {"connection_id":89312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":89312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:38:39] local.INFO: TCP Data received {"connection_id":89312,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:39] local.INFO: Processing buffer {"connection_id":89312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:39] local.INFO: IMEI packet received {"connection_id":89312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":89312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:38:44] local.INFO: TCP Data received {"connection_id":89312,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:44] local.INFO: Processing buffer {"connection_id":89312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:38:44] local.INFO: IMEI packet received {"connection_id":89312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":89312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:38:45] local.INFO: TCP Data received {"connection_id":89312,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bb7a30012d180ec007218620003f00ab12..."} 
[2026-06-02 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bb7a30012d180ec007218620003f00ab12..."} 
[2026-06-02 10:38:45] local.INFO: Processing buffer {"connection_id":89312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bb7a30012d180ec007218620003f00ab12..."} 
[2026-06-02 10:38:45] local.INFO: Packet analysis {"connection_id":89312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bb"} 
[2026-06-02 10:38:45] local.INFO: Extracted packet for processing {"connection_id":89312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bb"} 
[2026-06-02 10:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119637536,"longitude_deg":75.655136,"latitude_deg":11.9637536,"altitude":63,"angle":171,"satellites":18,"speed":14,"hex_longitude":"2d180ec0","hex_latitude":"07218620","is_valid_coordinates":true} 
[2026-06-02 10:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776484608001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125106203989639168,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674699886592,"note":"Value kept but may cause issues"} 
[2026-06-02 10:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780376894000,"timestamp_ms":1780376894000,"timestamp_seconds":1780376894,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bb7a30"} 
[2026-06-02 10:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 10:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:38:45] 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-06-02 10:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776484608001,"66":14461,"105":206,"83":41984,"24":14,"16":125106203989639168,"45":1733463674699886592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 10:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776484608001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:38:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 10:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125106203989639168,"km_value":125106203989639.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674699886592,"description":"Unknown IO ID 45"} 
[2026-06-02 10:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776484608001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1733463674699886592}} 
[2026-06-02 10:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":89312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:38:45] local.INFO: GPS data processed {"connection_id":89312,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:38:45] local.INFO: Acknowledgment sent {"connection_id":89312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:39:01] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bab2f8012cf63780070b83080002013f2c..."} 
[2026-06-02 10:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bab2f8012cf63780070b83080002013f2c..."} 
[2026-06-02 10:39:01] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bab2f8012cf63780070b83080002013f2c..."} 
[2026-06-02 10:39:01] local.INFO: Packet analysis {"connection_id":89561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:39:01] local.INFO: Extracted packet for processing {"connection_id":89561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ba"} 
[2026-06-02 10:39:01] local.INFO: GPS Element Parsed {"raw_longitude":754333568,"raw_latitude":118194952,"longitude_deg":75.4333568,"latitude_deg":11.8194952,"altitude":2,"angle":319,"satellites":44,"speed":7,"hex_longitude":"2cf63780","hex_latitude":"070b8308","is_valid_coordinates":true} 
[2026-06-02 10:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776467968001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-698269018218760192,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305440645114232832,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:01] 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-06-02 10:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780376843000,"timestamp_ms":1780376843000,"timestamp_seconds":1780376843,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bab2f8"} 
[2026-06-02 10:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:39: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-06-02 10:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 10:39:01] 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-06-02 10:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:39: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-06-02 10:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776467968001,"66":27930,"44":-698269018218760192,"83":41728,"24":7,"16":305440645114232832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-06-02 10:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776467968001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-698269018218760192,"description":"Unknown IO ID 44"} 
[2026-06-02 10:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305440645114232832,"km_value":305440645114232.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:39:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455776467968001,"power":27930,"unknown_44":-698269018218760192,"unknown_83":41728,"ignition":7,"odometer":null}} 
[2026-06-02 10:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":89561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:39:01] local.INFO: GPS data processed {"connection_id":89561,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:39:01] local.INFO: Acknowledgment sent {"connection_id":89561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:39:17] local.INFO: TCP Data received {"connection_id":89312,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bc1670012d182a8007215780003f009612..."} 
[2026-06-02 10:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bc1670012d182a8007215780003f009612..."} 
[2026-06-02 10:39:17] local.INFO: Processing buffer {"connection_id":89312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bc1670012d182a8007215780003f009612..."} 
[2026-06-02 10:39:17] local.INFO: Packet analysis {"connection_id":89312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:39:17] local.INFO: Extracted packet for processing {"connection_id":89312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119625600,"longitude_deg":75.6558464,"latitude_deg":11.96256,"altitude":63,"angle":150,"satellites":18,"speed":15,"hex_longitude":"2d182a80","hex_latitude":"07215780","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776494848001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125107024328392704,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867812194304,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780376934000,"timestamp_ms":1780376934000,"timestamp_seconds":1780376934,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bc1670"} 
[2026-06-02 10:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10: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":223,"data_length":795,"current_offset":136} 
[2026-06-02 10:39: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-06-02 10: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-06-02 10:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:39: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-06-02 10:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776494848001,"66":14461,"107":206,"83":41984,"24":15,"16":125107024328392704,"45":1741133867812194304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776494848001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:39:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125107024328392704,"km_value":125107024328392.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867812194304,"description":"Unknown IO ID 45"} 
[2026-06-02 10:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776494848001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1741133867812194304}} 
[2026-06-02 10:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":89312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:39:17] local.INFO: GPS data processed {"connection_id":89312,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:39:17] local.INFO: Acknowledgment sent {"connection_id":89312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:39:24] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:24] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:24] local.INFO: IMEI packet received {"connection_id":89562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":89562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:39:24] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:24] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:24] local.INFO: IMEI packet received {"connection_id":89562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":89562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:39:28] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:28] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:39:28] local.INFO: IMEI packet received {"connection_id":89562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":89562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:39:28] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bb0500012cf63040070b8b50000301402b..."} 
[2026-06-02 10:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bb0500012cf63040070b8b50000301402b..."} 
[2026-06-02 10:39:28] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bb0500012cf63040070b8b50000301402b..."} 
[2026-06-02 10:39:28] local.INFO: Packet analysis {"connection_id":89562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bb"} 
[2026-06-02 10:39:28] local.INFO: Extracted packet for processing {"connection_id":89562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bb"} 
[2026-06-02 10:39:28] local.INFO: GPS Element Parsed {"raw_longitude":754331712,"raw_latitude":118197072,"longitude_deg":75.4331712,"latitude_deg":11.8197072,"altitude":3,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2cf63040","hex_latitude":"070b8b50","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776471808001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-704954048913930240,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305440782553186304,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:28] 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-06-02 10:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780376864000,"timestamp_ms":1780376864000,"timestamp_seconds":1780376864,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bb0500"} 
[2026-06-02 10:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10: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-06-02 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 10:39:28] 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-06-02 10: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-06-02 10:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:39: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-06-02 10:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776471808001,"66":27908,"44":-704954048913930240,"83":41728,"24":0,"16":305440782553186304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-06-02 10:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776471808001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-704954048913930240,"description":"Unknown IO ID 44"} 
[2026-06-02 10:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305440782553186304,"km_value":305440782553186.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:39:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455776471808001,"power":27908,"unknown_44":-704954048913930240,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-06-02 10:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":89562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:39:28] local.INFO: GPS data processed {"connection_id":89562,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:39:28] local.INFO: Acknowledgment sent {"connection_id":89562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:39:32] local.INFO: TCP Data received {"connection_id":89314,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:32] local.INFO: Processing buffer {"connection_id":89314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:32] local.INFO: IMEI packet received {"connection_id":89314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":89314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:39:34] local.INFO: TCP Data received {"connection_id":89314,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:34] local.INFO: Processing buffer {"connection_id":89314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:34] local.INFO: IMEI packet received {"connection_id":89314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":89314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:39:39] local.INFO: TCP Data received {"connection_id":89314,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:39] local.INFO: Processing buffer {"connection_id":89314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:39:39] local.INFO: IMEI packet received {"connection_id":89314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":89314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:39:40] local.INFO: TCP Data received {"connection_id":89314,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bc1a58012d182ac007215598003f00a512..."} 
[2026-06-02 10:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bc1a58012d182ac007215598003f00a512..."} 
[2026-06-02 10:39:40] local.INFO: Processing buffer {"connection_id":89314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bc1a58012d182ac007215598003f00a512..."} 
[2026-06-02 10:39:40] local.INFO: Packet analysis {"connection_id":89314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:39:40] local.INFO: Extracted packet for processing {"connection_id":89314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119625112,"longitude_deg":75.6558528,"latitude_deg":11.9625112,"altitude":63,"angle":165,"satellites":18,"speed":18,"hex_longitude":"2d182ac0","hex_latitude":"07215598","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776495104001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125107045803229184,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974044626944,"note":"Value kept but may cause issues"} 
[2026-06-02 10:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780376935000,"timestamp_ms":1780376935000,"timestamp_seconds":1780376935,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bc1a58"} 
[2026-06-02 10:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 10:39:40] 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-06-02 10: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-06-02 10:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:39:40] 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-06-02 10:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776495104001,"66":14461,"107":206,"83":41984,"24":18,"16":125107045803229184,"45":1741344974044626944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776495104001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:39:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125107045803229184,"km_value":125107045803229.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974044626944,"description":"Unknown IO ID 45"} 
[2026-06-02 10:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776495104001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1741344974044626944}} 
[2026-06-02 10:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":89314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:39:40] local.INFO: GPS data processed {"connection_id":89314,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:39:40] local.INFO: Acknowledgment sent {"connection_id":89314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:40:00] local.INFO: TCP Data received {"connection_id":89562,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bb5708012cf62b40070b91200005013f2d..."} 
[2026-06-02 10:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bb5708012cf62b40070b91200005013f2d..."} 
[2026-06-02 10:40:00] local.INFO: Processing buffer {"connection_id":89562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bb5708012cf62b40070b91200005013f2d..."} 
[2026-06-02 10:40:00] local.INFO: Packet analysis {"connection_id":89562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bb"} 
[2026-06-02 10:40:00] local.INFO: Extracted packet for processing {"connection_id":89562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bb"} 
[2026-06-02 10:40:00] local.INFO: GPS Element Parsed {"raw_longitude":754330432,"raw_latitude":118198560,"longitude_deg":75.4330432,"latitude_deg":11.819856,"altitude":5,"angle":319,"satellites":45,"speed":0,"hex_longitude":"2cf62b40","hex_latitude":"070b9120","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776477184001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305440877042466816,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706994742494539776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:00] 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-06-02 10:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780376885000,"timestamp_ms":1780376885000,"timestamp_seconds":1780376885,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bb5708"} 
[2026-06-02 10:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:40: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-06-02 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:40: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-06-02 10: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-06-02 10:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:40: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-06-02 10:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776477184001,"66":28050,"177":206,"83":41728,"24":0,"16":305440877042466816,"44":-706994742494539776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-06-02 10:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776477184001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:40:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 10:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305440877042466816,"km_value":305440877042466.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706994742494539776,"description":"Unknown IO ID 44"} 
[2026-06-02 10:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776477184001,"power":28050,"unknown_177":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-706994742494539776}} 
[2026-06-02 10:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":89562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:40:00] local.INFO: GPS data processed {"connection_id":89562,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:40:00] local.INFO: Acknowledgment sent {"connection_id":89562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:40:11] local.INFO: TCP Data received {"connection_id":89314,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bc54f0012d182fc0072131f8003700a912..."} 
[2026-06-02 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bc54f0012d182fc0072131f8003700a912..."} 
[2026-06-02 10:40:11] local.INFO: Processing buffer {"connection_id":89314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bc54f0012d182fc0072131f8003700a912..."} 
[2026-06-02 10:40:11] local.INFO: Packet analysis {"connection_id":89314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:40:11] local.INFO: Extracted packet for processing {"connection_id":89314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756559808,"raw_latitude":119615992,"longitude_deg":75.6559808,"latitude_deg":11.9615992,"altitude":55,"angle":169,"satellites":18,"speed":23,"hex_longitude":"2d182fc0","hex_latitude":"072131f8","is_valid_coordinates":true} 
[2026-06-02 10:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776495360001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125107492479827968,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342788679680,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780376950000,"timestamp_ms":1780376950000,"timestamp_seconds":1780376950,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bc54f0"} 
[2026-06-02 10:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 10:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776495360001,"66":13961,"107":206,"83":41984,"24":23,"16":125107492479827968,"45":1741415342788679680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776495360001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:40:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125107492479827968,"km_value":125107492479827.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342788679680,"description":"Unknown IO ID 45"} 
[2026-06-02 10:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776495360001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1741415342788679680}} 
[2026-06-02 10:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":89314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:40:11] local.INFO: GPS data processed {"connection_id":89314,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:40:11] local.INFO: Acknowledgment sent {"connection_id":89314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:40:23] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:40:23] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:40:23] local.INFO: IMEI packet received {"connection_id":89563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":89563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:40:24] local.INFO: TCP Data received {"connection_id":90776,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:40:24] local.INFO: Processing buffer {"connection_id":90776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:40:24] local.INFO: IMEI packet received {"connection_id":90776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":90776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:40:29] local.INFO: TCP Data received {"connection_id":90776,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:40:29] local.INFO: Processing buffer {"connection_id":90776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:40:29] local.INFO: IMEI packet received {"connection_id":90776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":90776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:40:30] local.INFO: TCP Data received {"connection_id":90776,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bc9758012cf60300070bce780007014d2b..."} 
[2026-06-02 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bc9758012cf60300070bce780007014d2b..."} 
[2026-06-02 10:40:30] local.INFO: Processing buffer {"connection_id":90776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bc9758012cf60300070bce780007014d2b..."} 
[2026-06-02 10:40:30] local.INFO: Packet analysis {"connection_id":90776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:40:30] local.INFO: Extracted packet for processing {"connection_id":90776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:40:30] local.INFO: GPS Element Parsed {"raw_longitude":754320128,"raw_latitude":118214264,"longitude_deg":75.4320128,"latitude_deg":11.8214264,"altitude":7,"angle":333,"satellites":43,"speed":42,"hex_longitude":"2cf60300","hex_latitude":"070bce78","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776502272001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305441925014487040,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717761160350464000,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:30] 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-06-02 10:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780376967000,"timestamp_ms":1780376967000,"timestamp_seconds":1780376967,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bc9758"} 
[2026-06-02 10:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10: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-06-02 10: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 10:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:40:30] 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-06-02 10:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776502272001,"66":27865,"177":206,"83":41728,"24":42,"16":305441925014487040,"44":-717761160350464000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-06-02 10:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776502272001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:40:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 10:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305441925014487040,"km_value":305441925014487.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717761160350464000,"description":"Unknown IO ID 44"} 
[2026-06-02 10:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776502272001,"power":27865,"unknown_177":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-717761160350464000}} 
[2026-06-02 10:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":90776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:40:30] local.INFO: GPS data processed {"connection_id":90776,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:40:30] local.INFO: Acknowledgment sent {"connection_id":90776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:40:34] local.INFO: TCP Data received {"connection_id":89315,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:40:34] local.INFO: Processing buffer {"connection_id":89315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:40:34] local.INFO: IMEI packet received {"connection_id":89315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":89315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:40:39] local.INFO: TCP Data received {"connection_id":89315,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:40:39] local.INFO: Processing buffer {"connection_id":89315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:40:39] local.INFO: IMEI packet received {"connection_id":89315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":89315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:40:40] local.INFO: TCP Data received {"connection_id":89315,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bc87b8012d18348007211690003500b512..."} 
[2026-06-02 10:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bc87b8012d18348007211690003500b512..."} 
[2026-06-02 10:40:40] local.INFO: Processing buffer {"connection_id":89315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bc87b8012d18348007211690003500b512..."} 
[2026-06-02 10:40:40] local.INFO: Packet analysis {"connection_id":89315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:40:40] local.INFO: Extracted packet for processing {"connection_id":89315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119608976,"longitude_deg":75.6561024,"latitude_deg":11.9608976,"altitude":53,"angle":181,"satellites":18,"speed":21,"hex_longitude":"2d183480","hex_latitude":"07211690","is_valid_coordinates":true} 
[2026-06-02 10:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776499200001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125107840372178944,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742822717669898240,"note":"Value kept but may cause issues"} 
[2026-06-02 10:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780376963000,"timestamp_ms":1780376963000,"timestamp_seconds":1780376963,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bc87b8"} 
[2026-06-02 10:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:40:40] 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-06-02 10:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 10:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:40:40] 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-06-02 10:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776499200001,"66":13961,"107":206,"83":41984,"24":21,"16":125107840372178944,"45":1742822717669898240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776499200001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:40:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125107840372178944,"km_value":125107840372178.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742822717669898240,"description":"Unknown IO ID 45"} 
[2026-06-02 10:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776499200001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1742822717669898240}} 
[2026-06-02 10:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":89315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:40:40] local.INFO: GPS data processed {"connection_id":89315,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:40:40] local.INFO: Acknowledgment sent {"connection_id":89315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:40:59] local.INFO: TCP Data received {"connection_id":89715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:40:59] local.INFO: Processing buffer {"connection_id":89715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:40:59] local.INFO: IMEI packet received {"connection_id":89715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":89715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:41:02] local.INFO: TCP Data received {"connection_id":90776,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bcb698012cf5f340070bee180007014a2c..."} 
[2026-06-02 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bcb698012cf5f340070bee180007014a2c..."} 
[2026-06-02 10:41:02] local.INFO: Processing buffer {"connection_id":90776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bcb698012cf5f340070bee180007014a2c..."} 
[2026-06-02 10:41:02] local.INFO: Packet analysis {"connection_id":90776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:02] local.INFO: Extracted packet for processing {"connection_id":90776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:02] local.INFO: GPS Element Parsed {"raw_longitude":754316096,"raw_latitude":118222360,"longitude_deg":75.4316096,"latitude_deg":11.822236,"altitude":7,"angle":330,"satellites":44,"speed":48,"hex_longitude":"2cf5f340","hex_latitude":"070bee18","is_valid_coordinates":true} 
[2026-06-02 10:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776503552001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305442363101151232,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-719731485186295808,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:02] 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-06-02 10:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780376975000,"timestamp_ms":1780376975000,"timestamp_seconds":1780376975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bcb698"} 
[2026-06-02 10:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:41: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-06-02 10:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:41:02] 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-06-02 10:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776503552001,"66":27930,"177":206,"83":41728,"24":48,"16":305442363101151232,"44":-719731485186295808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-06-02 10:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776503552001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:41:02] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 10:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305442363101151232,"km_value":305442363101151.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-719731485186295808,"description":"Unknown IO ID 44"} 
[2026-06-02 10:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776503552001,"power":27930,"unknown_177":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-719731485186295808}} 
[2026-06-02 10:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":90776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:41:02] local.INFO: GPS data processed {"connection_id":90776,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:41:02] local.INFO: Acknowledgment sent {"connection_id":90776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:41:11] local.INFO: TCP Data received {"connection_id":89315,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bc8f88012d18340007211230003400c012..."} 
[2026-06-02 10:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bc8f88012d18340007211230003400c012..."} 
[2026-06-02 10:41:11] local.INFO: Processing buffer {"connection_id":89315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bc8f88012d18340007211230003400c012..."} 
[2026-06-02 10:41:11] local.INFO: Packet analysis {"connection_id":89315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:11] local.INFO: Extracted packet for processing {"connection_id":89315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756560896,"raw_latitude":119607856,"longitude_deg":75.6560896,"latitude_deg":11.9607856,"altitude":52,"angle":192,"satellites":18,"speed":22,"hex_longitude":"2d183400","hex_latitude":"07211230","is_valid_coordinates":true} 
[2026-06-02 10:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776502528001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125107896206753792,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723807477760,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780376965000,"timestamp_ms":1780376965000,"timestamp_seconds":1780376965,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bc8f88"} 
[2026-06-02 10:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:41:11] 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-06-02 10:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 10:41:11] 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-06-02 10:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776502528001,"66":13472,"107":206,"83":41984,"24":22,"16":125107896206753792,"45":1744159723807477760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776502528001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:41:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125107896206753792,"km_value":125107896206753.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723807477760,"description":"Unknown IO ID 45"} 
[2026-06-02 10:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776502528001,"power":13472,"unknown_107":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1744159723807477760}} 
[2026-06-02 10:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":89315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:41:12] local.INFO: GPS data processed {"connection_id":89315,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:41:12] local.INFO: Acknowledgment sent {"connection_id":89315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:41:24] local.INFO: TCP Data received {"connection_id":89316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:24] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:24] local.INFO: IMEI packet received {"connection_id":89316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":89316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:41:27] local.INFO: TCP Data received {"connection_id":89316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:27] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:27] local.INFO: IMEI packet received {"connection_id":89316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":89316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:41:29] local.INFO: TCP Data received {"connection_id":89316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:29] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:41:29] local.INFO: IMEI packet received {"connection_id":89316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":89316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:41:29] local.INFO: TCP Data received {"connection_id":89316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bcd1f0012cf5e1c0070c0d58000801492b..."} 
[2026-06-02 10:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bcd1f0012cf5e1c0070c0d58000801492b..."} 
[2026-06-02 10:41:29] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bcd1f0012cf5e1c0070c0d58000801492b..."} 
[2026-06-02 10:41:29] local.INFO: Packet analysis {"connection_id":89316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:29] local.INFO: Extracted packet for processing {"connection_id":89316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:29] local.INFO: GPS Element Parsed {"raw_longitude":754311616,"raw_latitude":118230360,"longitude_deg":75.4311616,"latitude_deg":11.823036,"altitude":8,"angle":329,"satellites":43,"speed":52,"hex_longitude":"2cf5e1c0","hex_latitude":"070c0d58","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776505600001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305442805482782720,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-724164716067416064,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:29] 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-06-02 10:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780376982000,"timestamp_ms":1780376982000,"timestamp_seconds":1780376982,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bcd1f0"} 
[2026-06-02 10:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10: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-06-02 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 10:41: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-06-02 10: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-06-02 10:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:41:29] 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-06-02 10:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776505600001,"66":27930,"177":206,"83":41728,"24":52,"16":305442805482782720,"44":-724164716067416064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-06-02 10:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776505600001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:41:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 10:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305442805482782720,"km_value":305442805482782.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-724164716067416064,"description":"Unknown IO ID 44"} 
[2026-06-02 10:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776505600001,"power":27930,"unknown_177":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-724164716067416064}} 
[2026-06-02 10:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":89316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:41:29] local.INFO: GPS data processed {"connection_id":89316,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:41:29] local.INFO: Acknowledgment sent {"connection_id":89316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:41:34] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:41:34] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:41:34] local.INFO: IMEI packet received {"connection_id":89564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":89564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:41:34] local.INFO: TCP Data received {"connection_id":89316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bced48012cf5ce00070c2ce0000a01462b..."} 
[2026-06-02 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bced48012cf5ce00070c2ce0000a01462b..."} 
[2026-06-02 10:41:34] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bced48012cf5ce00070c2ce0000a01462b..."} 
[2026-06-02 10:41:34] local.INFO: Packet analysis {"connection_id":89316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:34] local.INFO: Extracted packet for processing {"connection_id":89316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":754306560,"raw_latitude":118238432,"longitude_deg":75.430656,"latitude_deg":11.8238432,"altitude":10,"angle":326,"satellites":43,"speed":53,"hex_longitude":"2cf5ce00","hex_latitude":"070c2ce0","is_valid_coordinates":true} 
[2026-06-02 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776507392001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305443265044283392,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-729090528157804544,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:34] 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-06-02 10:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780376989000,"timestamp_ms":1780376989000,"timestamp_seconds":1780376989,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bced48"} 
[2026-06-02 10:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:41: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-06-02 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 10:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:41:34] 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-06-02 10:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776507392001,"66":27843,"177":206,"83":41728,"24":53,"16":305443265044283392,"44":-729090528157804544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-06-02 10:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776507392001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:41:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 10:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305443265044283392,"km_value":305443265044283.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:41:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-729090528157804544,"description":"Unknown IO ID 44"} 
[2026-06-02 10:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776507392001,"power":27843,"unknown_177":206,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-729090528157804544}} 
[2026-06-02 10:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":89316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:41:34] local.INFO: GPS data processed {"connection_id":89316,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:41:34] local.INFO: Acknowledgment sent {"connection_id":89316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:41:39] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:41:39] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:41:39] local.INFO: IMEI packet received {"connection_id":89564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":89564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:41:40] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bc9758012d1833c007210e10003300ae12..."} 
[2026-06-02 10:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bc9758012d1833c007210e10003300ae12..."} 
[2026-06-02 10:41:40] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bc9758012d1833c007210e10003300ae12..."} 
[2026-06-02 10:41:40] local.INFO: Packet analysis {"connection_id":89564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:40] local.INFO: Extracted packet for processing {"connection_id":89564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bc"} 
[2026-06-02 10:41:40] local.INFO: GPS Element Parsed {"raw_longitude":756560832,"raw_latitude":119606800,"longitude_deg":75.6560832,"latitude_deg":11.96068,"altitude":51,"angle":174,"satellites":18,"speed":19,"hex_longitude":"2d1833c0","hex_latitude":"07210e10","is_valid_coordinates":true} 
[2026-06-02 10:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776503040001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125107947746361344,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744018986318835712,"note":"Value kept but may cause issues"} 
[2026-06-02 10:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780376967000,"timestamp_ms":1780376967000,"timestamp_seconds":1780376967,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bc9758"} 
[2026-06-02 10:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:41:40] 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-06-02 10:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-02 10:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:41:40] 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-06-02 10:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776503040001,"66":13906,"107":206,"83":41984,"24":19,"16":125107947746361344,"45":1744018986318835712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776503040001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:41:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125107947746361344,"km_value":125107947746361.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744018986318835712,"description":"Unknown IO ID 45"} 
[2026-06-02 10:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776503040001,"power":13906,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1744018986318835712}} 
[2026-06-02 10:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":89564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:41:40] local.INFO: GPS data processed {"connection_id":89564,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:41:40] local.INFO: Acknowledgment sent {"connection_id":89564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:42:06] local.INFO: TCP Data received {"connection_id":89316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86be0e58012cf53f40070d6330000d01532b..."} 
[2026-06-02 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86be0e58012cf53f40070d6330000d01532b..."} 
[2026-06-02 10:42:06] local.INFO: Processing buffer {"connection_id":89316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86be0e58012cf53f40070d6330000d01532b..."} 
[2026-06-02 10:42:06] local.INFO: Packet analysis {"connection_id":89316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:06] local.INFO: Extracted packet for processing {"connection_id":89316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":754270016,"raw_latitude":118317872,"longitude_deg":75.4270016,"latitude_deg":11.8317872,"altitude":13,"angle":339,"satellites":43,"speed":25,"hex_longitude":"2cf53f40","hex_latitude":"070d6330","is_valid_coordinates":true} 
[2026-06-02 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-06-02 10:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776524544001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305447529946808320,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-772085830830200832,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:06] 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-06-02 10:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780377063000,"timestamp_ms":1780377063000,"timestamp_seconds":1780377063,"priority":1,"record_length":96,"hex_timestamp":"0000019e86be0e58"} 
[2026-06-02 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-06-02 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-06-02 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 10:42:06] 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-06-02 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-06-02 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-06-02 10:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776524544001,"66":27865,"39":206,"83":41728,"24":25,"16":305447529946808320,"44":-772085830830200832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-06-02 10:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776524544001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305447529946808320,"km_value":305447529946808.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-772085830830200832,"description":"Unknown IO ID 44"} 
[2026-06-02 10:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776524544001,"power":27865,"unknown_39":206,"unknown_83":41728,"ignition":25,"odometer":null,"unknown_44":-772085830830200832}} 
[2026-06-02 10:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":89316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:42:06] local.INFO: GPS data processed {"connection_id":89316,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:42:06] local.INFO: Acknowledgment sent {"connection_id":89316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:42:11] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86be6c18012d1824800720c0600034010c17..."} 
[2026-06-02 10:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86be6c18012d1824800720c0600034010c17..."} 
[2026-06-02 10:42:11] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86be6c18012d1824800720c0600034010c17..."} 
[2026-06-02 10:42:11] local.INFO: Packet analysis {"connection_id":89564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:11] local.INFO: Extracted packet for processing {"connection_id":89564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119586912,"longitude_deg":75.6556928,"latitude_deg":11.9586912,"altitude":52,"angle":268,"satellites":23,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0720c060","is_valid_coordinates":true} 
[2026-06-02 10:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776533504001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125108969948577792,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124174458880,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377087000,"timestamp_ms":1780377087000,"timestamp_seconds":1780377087,"priority":1,"record_length":96,"hex_timestamp":"0000019e86be6c18"} 
[2026-06-02 10:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 10:42: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-06-02 10:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776533504001,"66":13080,"107":206,"83":41984,"24":0,"16":125108969948577792,"45":1739656124174458880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776533504001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:42:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125108969948577792,"km_value":125108969948577.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124174458880,"description":"Unknown IO ID 45"} 
[2026-06-02 10:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776533504001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124174458880}} 
[2026-06-02 10:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":89564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:42:11] local.INFO: GPS data processed {"connection_id":89564,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:42:11] local.INFO: Acknowledgment sent {"connection_id":89564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:42:34] local.INFO: TCP Data received {"connection_id":89319,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:34] local.INFO: Processing buffer {"connection_id":89319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:34] local.INFO: IMEI packet received {"connection_id":89319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":89319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:42:34] local.INFO: TCP Data received {"connection_id":89318,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:42:34] local.INFO: Processing buffer {"connection_id":89318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:42:34] local.INFO: IMEI packet received {"connection_id":89318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":89318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:42:35] local.INFO: TCP Data received {"connection_id":89319,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:35] local.INFO: Processing buffer {"connection_id":89319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:35] local.INFO: IMEI packet received {"connection_id":89319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":89319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:42:39] local.INFO: TCP Data received {"connection_id":89319,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:39] local.INFO: Processing buffer {"connection_id":89319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:42:39] local.INFO: IMEI packet received {"connection_id":89319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":89319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:42:39] local.INFO: TCP Data received {"connection_id":89318,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:42:39] local.INFO: Processing buffer {"connection_id":89318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:42:39] local.INFO: IMEI packet received {"connection_id":89318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":89318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:42:40] local.INFO: TCP Data received {"connection_id":89319,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bec208012cf4efc0070df6a80011013b2b..."} 
[2026-06-02 10:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bec208012cf4efc0070df6a80011013b2b..."} 
[2026-06-02 10:42:40] local.INFO: Processing buffer {"connection_id":89319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bec208012cf4efc0070df6a80011013b2b..."} 
[2026-06-02 10:42:40] local.INFO: Packet analysis {"connection_id":89319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:40] local.INFO: Extracted packet for processing {"connection_id":89319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:40] local.INFO: GPS Element Parsed {"raw_longitude":754249664,"raw_latitude":118355624,"longitude_deg":75.4249664,"latitude_deg":11.8355624,"altitude":17,"angle":315,"satellites":43,"speed":39,"hex_longitude":"2cf4efc0","hex_latitude":"070df6a8","is_valid_coordinates":true} 
[2026-06-02 10:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776539648001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305449892178821120,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-796292678815563776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42: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-06-02 10:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377109000,"timestamp_ms":1780377109000,"timestamp_seconds":1780377109,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bec208"} 
[2026-06-02 10:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776539648001,"66":27930,"28":206,"83":41728,"24":39,"16":305449892178821120,"44":-796292678815563776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-06-02 10:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776539648001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305449892178821120,"km_value":305449892178821.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-796292678815563776,"description":"Unknown IO ID 44"} 
[2026-06-02 10:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776539648001,"power":27930,"unknown_28":206,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-796292678815563776}} 
[2026-06-02 10:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":89319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:42:40] local.INFO: GPS data processed {"connection_id":89319,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:42:40] local.INFO: Acknowledgment sent {"connection_id":89319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:42:40] local.INFO: TCP Data received {"connection_id":89318,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bebe20012d1824000720c0580032010c17..."} 
[2026-06-02 10:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bebe20012d1824000720c0580032010c17..."} 
[2026-06-02 10:42:40] local.INFO: Processing buffer {"connection_id":89318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bebe20012d1824000720c0580032010c17..."} 
[2026-06-02 10:42:40] local.INFO: Packet analysis {"connection_id":89318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:40] local.INFO: Extracted packet for processing {"connection_id":89318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86be"} 
[2026-06-02 10:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119586904,"longitude_deg":75.65568,"latitude_deg":11.9586904,"altitude":50,"angle":268,"satellites":23,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0720c058","is_valid_coordinates":true} 
[2026-06-02 10:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776534272001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125108978538512384,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124174458880,"note":"Value kept but may cause issues"} 
[2026-06-02 10:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377108000,"timestamp_ms":1780377108000,"timestamp_seconds":1780377108,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bebe20"} 
[2026-06-02 10:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-02 10:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:42:40] 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-06-02 10:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776534272001,"66":13015,"107":206,"83":41984,"24":0,"16":125108978538512384,"45":1739656124174458880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776534272001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125108978538512384,"km_value":125108978538512.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124174458880,"description":"Unknown IO ID 45"} 
[2026-06-02 10:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776534272001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124174458880}} 
[2026-06-02 10:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":89318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:42:40] local.INFO: GPS data processed {"connection_id":89318,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:42:40] local.INFO: Acknowledgment sent {"connection_id":89318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:43:11] local.INFO: TCP Data received {"connection_id":89318,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bf1028012d1824000720c0580032010c19..."} 
[2026-06-02 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bf1028012d1824000720c0580032010c19..."} 
[2026-06-02 10:43:11] local.INFO: Processing buffer {"connection_id":89318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bf1028012d1824000720c0580032010c19..."} 
[2026-06-02 10:43:11] local.INFO: Packet analysis {"connection_id":89318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:43:11] local.INFO: Extracted packet for processing {"connection_id":89318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119586904,"longitude_deg":75.65568,"latitude_deg":11.9586904,"altitude":50,"angle":268,"satellites":25,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0720c058","is_valid_coordinates":true} 
[2026-06-02 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776539648001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125108978538512384,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386686101504,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377129000,"timestamp_ms":1780377129000,"timestamp_seconds":1780377129,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bf1028"} 
[2026-06-02 10:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:43:11] 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-06-02 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 10:43:11] 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-06-02 10:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776539648001,"66":12993,"107":206,"83":41984,"24":0,"16":125108978538512384,"45":1739515386686101504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776539648001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:43:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125108978538512384,"km_value":125108978538512.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386686101504,"description":"Unknown IO ID 45"} 
[2026-06-02 10:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776539648001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386686101504}} 
[2026-06-02 10:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":89318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:43:11] local.INFO: GPS data processed {"connection_id":89318,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:43:11] local.INFO: Acknowledgment sent {"connection_id":89318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:43:24] local.INFO: TCP Data received {"connection_id":89320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:43:24] local.INFO: Processing buffer {"connection_id":89320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:43:24] local.INFO: IMEI packet received {"connection_id":89320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":89320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:43:29] local.INFO: TCP Data received {"connection_id":89320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:43:29] local.INFO: Processing buffer {"connection_id":89320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:43:29] local.INFO: IMEI packet received {"connection_id":89320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":89320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:43:30] local.INFO: TCP Data received {"connection_id":89320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bf3b20012cf4b0c0070e4b30001e014b2d..."} 
[2026-06-02 10:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bf3b20012cf4b0c0070e4b30001e014b2d..."} 
[2026-06-02 10:43:30] local.INFO: Processing buffer {"connection_id":89320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bf3b20012cf4b0c0070e4b30001e014b2d..."} 
[2026-06-02 10:43:30] local.INFO: Packet analysis {"connection_id":89320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:43:30] local.INFO: Extracted packet for processing {"connection_id":89320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:43:30] local.INFO: GPS Element Parsed {"raw_longitude":754233536,"raw_latitude":118377264,"longitude_deg":75.4233536,"latitude_deg":11.8377264,"altitude":30,"angle":331,"satellites":45,"speed":36,"hex_longitude":"2cf4b0c0","hex_latitude":"070e4b30","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776547584001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305451257978421248,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-814518183552102400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780377140000,"timestamp_ms":1780377140000,"timestamp_seconds":1780377140,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bf3b20"} 
[2026-06-02 10:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:43: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-06-02 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 10:43:30] 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-06-02 10: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-06-02 10:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:43:30] 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-06-02 10:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776547584001,"66":27821,"254":206,"83":41728,"24":36,"16":305451257978421248,"44":-814518183552102400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,83,24,16,44]} 
[2026-06-02 10:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776547584001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:43:30] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-02 10:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-06-02 10:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305451257978421248,"km_value":305451257978421.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-814518183552102400,"description":"Unknown IO ID 44"} 
[2026-06-02 10:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776547584001,"power":27821,"unknown_254":206,"unknown_83":41728,"ignition":36,"odometer":null,"unknown_44":-814518183552102400}} 
[2026-06-02 10:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":89320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:43:30] local.INFO: GPS data processed {"connection_id":89320,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:43:30] local.INFO: Acknowledgment sent {"connection_id":89320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:43:34] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:34] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:34] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:43:35] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:35] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:35] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:43:38] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:38] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:43:38] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:43:39] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bf6230012d1824000720c0580032010c19..."} 
[2026-06-02 10:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bf6230012d1824000720c0580032010c19..."} 
[2026-06-02 10:43:39] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bf6230012d1824000720c0580032010c19..."} 
[2026-06-02 10:43:39] local.INFO: Packet analysis {"connection_id":89716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:43:39] local.INFO: Extracted packet for processing {"connection_id":89716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119586904,"longitude_deg":75.65568,"latitude_deg":11.9586904,"altitude":50,"angle":268,"satellites":25,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0720c058","is_valid_coordinates":true} 
[2026-06-02 10:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776545024001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125108978538512384,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386686101504,"note":"Value kept but may cause issues"} 
[2026-06-02 10:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780377150000,"timestamp_ms":1780377150000,"timestamp_seconds":1780377150,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bf6230"} 
[2026-06-02 10:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:43:39] 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-06-02 10:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-02 10:43:39] 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-06-02 10:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:43:39] 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-06-02 10:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776545024001,"66":12939,"107":206,"83":41984,"24":0,"16":125108978538512384,"45":1739515386686101504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776545024001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:43:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125108978538512384,"km_value":125108978538512.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386686101504,"description":"Unknown IO ID 45"} 
[2026-06-02 10:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776545024001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386686101504}} 
[2026-06-02 10:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":89716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:43:39] local.INFO: GPS data processed {"connection_id":89716,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:43:39] local.INFO: Acknowledgment sent {"connection_id":89716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:44:03] local.INFO: TCP Data received {"connection_id":89320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bf5e48012cf49cc0070e66780023013f2b..."} 
[2026-06-02 10:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bf5e48012cf49cc0070e66780023013f2b..."} 
[2026-06-02 10:44:03] local.INFO: Processing buffer {"connection_id":89320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bf5e48012cf49cc0070e66780023013f2b..."} 
[2026-06-02 10:44:03] local.INFO: Packet analysis {"connection_id":89320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:44:03] local.INFO: Extracted packet for processing {"connection_id":89320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:44:03] local.INFO: GPS Element Parsed {"raw_longitude":754228416,"raw_latitude":118384248,"longitude_deg":75.4228416,"latitude_deg":11.8384248,"altitude":35,"angle":319,"satellites":43,"speed":38,"hex_longitude":"2cf49cc0","hex_latitude":"070e6678","is_valid_coordinates":true} 
[2026-06-02 10:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776547840001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305451674590248960,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-814940396016947200,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780377149000,"timestamp_ms":1780377149000,"timestamp_seconds":1780377149,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bf5e48"} 
[2026-06-02 10:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:44: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-06-02 10:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 10:44:03] 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-06-02 10:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776547840001,"66":27571,"226":206,"83":41472,"24":38,"16":305451674590248960,"44":-814940396016947200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,44]} 
[2026-06-02 10:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776547840001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:44:03] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-06-02 10:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305451674590248960,"km_value":305451674590248.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-814940396016947200,"description":"Unknown IO ID 44"} 
[2026-06-02 10:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776547840001,"power":27571,"unknown_226":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-814940396016947200}} 
[2026-06-02 10:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":89320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:44:03] local.INFO: GPS data processed {"connection_id":89320,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:44:03] local.INFO: Acknowledgment sent {"connection_id":89320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:44:10] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bfb438012d1824000720c0580032010c19..."} 
[2026-06-02 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bfb438012d1824000720c0580032010c19..."} 
[2026-06-02 10:44:10] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bfb438012d1824000720c0580032010c19..."} 
[2026-06-02 10:44:10] local.INFO: Packet analysis {"connection_id":89716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:44:10] local.INFO: Extracted packet for processing {"connection_id":89716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119586904,"longitude_deg":75.65568,"latitude_deg":11.9586904,"altitude":50,"angle":268,"satellites":25,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0720c058","is_valid_coordinates":true} 
[2026-06-02 10:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776550400001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125108978538512384,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386686101504,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780377171000,"timestamp_ms":1780377171000,"timestamp_seconds":1780377171,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bfb438"} 
[2026-06-02 10:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:44:10] 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-06-02 10:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 10:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:44:10] 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-06-02 10:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776550400001,"66":12874,"107":206,"83":41984,"24":0,"16":125108978538512384,"45":1739515386686101504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776550400001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:44:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125108978538512384,"km_value":125108978538512.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386686101504,"description":"Unknown IO ID 45"} 
[2026-06-02 10:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776550400001,"power":12874,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386686101504}} 
[2026-06-02 10:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":89716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:44:10] local.INFO: GPS data processed {"connection_id":89716,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:44:10] local.INFO: Acknowledgment sent {"connection_id":89716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:44:24] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:24] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:24] local.INFO: IMEI packet received {"connection_id":89567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":89567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:44:27] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:27] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:27] local.INFO: IMEI packet received {"connection_id":89567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":89567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:44:30] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:30] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:44:30] local.INFO: IMEI packet received {"connection_id":89567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":89567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:44:31] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bf7d88012cf48b00070e81700026014a2b..."} 
[2026-06-02 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bf7d88012cf48b00070e81700026014a2b..."} 
[2026-06-02 10:44:31] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bf7d88012cf48b00070e81700026014a2b..."} 
[2026-06-02 10:44:31] local.INFO: Packet analysis {"connection_id":89567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:44:31] local.INFO: Extracted packet for processing {"connection_id":89567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":754223872,"raw_latitude":118391152,"longitude_deg":75.4223872,"latitude_deg":11.8391152,"altitude":38,"angle":330,"satellites":43,"speed":42,"hex_longitude":"2cf48b00","hex_latitude":"070e8170","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776550144001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305452074022207488,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-820569895549372416,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780377157000,"timestamp_ms":1780377157000,"timestamp_seconds":1780377157,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bf7d88"} 
[2026-06-02 10:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:44: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-06-02 10: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 10:44:31] 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-06-02 10: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-06-02 10:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:44:31] 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-06-02 10:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776550144001,"66":27865,"226":206,"83":41472,"24":42,"16":305452074022207488,"44":-820569895549372416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,44]} 
[2026-06-02 10:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776550144001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:44:31] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-06-02 10:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305452074022207488,"km_value":305452074022207.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-820569895549372416,"description":"Unknown IO ID 44"} 
[2026-06-02 10:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776550144001,"power":27865,"unknown_226":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-820569895549372416}} 
[2026-06-02 10:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":89567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:44:31] local.INFO: GPS data processed {"connection_id":89567,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:44:31] local.INFO: Acknowledgment sent {"connection_id":89567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:44:33] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:33] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:33] local.INFO: IMEI packet received {"connection_id":89568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":89568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:44:34] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:34] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:34] local.INFO: IMEI packet received {"connection_id":89568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":89568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:44:39] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:39] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:44:39] local.INFO: IMEI packet received {"connection_id":89568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":89568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:44:40] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c00640012d1824000720c0580032010c19..."} 
[2026-06-02 10:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c00640012d1824000720c0580032010c19..."} 
[2026-06-02 10:44:40] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c00640012d1824000720c0580032010c19..."} 
[2026-06-02 10:44:40] local.INFO: Packet analysis {"connection_id":89568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c0"} 
[2026-06-02 10:44:40] local.INFO: Extracted packet for processing {"connection_id":89568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c0"} 
[2026-06-02 10:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119586904,"longitude_deg":75.65568,"latitude_deg":11.9586904,"altitude":50,"angle":268,"satellites":25,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0720c058","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776555776001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125108978538512384,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386686101504,"note":"Value kept but may cause issues"} 
[2026-06-02 10:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377192000,"timestamp_ms":1780377192000,"timestamp_seconds":1780377192,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c00640"} 
[2026-06-02 10:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:44:40] 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-06-02 10:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 10:44:40] 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-06-02 10: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-06-02 10:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:44:40] 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-06-02 10:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776555776001,"66":12819,"107":206,"83":41984,"24":0,"16":125108978538512384,"45":1739515386686101504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776555776001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:44:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125108978538512384,"km_value":125108978538512.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386686101504,"description":"Unknown IO ID 45"} 
[2026-06-02 10:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776555776001,"power":12819,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386686101504}} 
[2026-06-02 10:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":89568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:44:40] local.INFO: GPS data processed {"connection_id":89568,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:44:40] local.INFO: Acknowledgment sent {"connection_id":89568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:45:02] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86bf98e0012cf47a40070e9a100029013f29..."} 
[2026-06-02 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86bf98e0012cf47a40070e9a100029013f29..."} 
[2026-06-02 10:45:02] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86bf98e0012cf47a40070e9a100029013f29..."} 
[2026-06-02 10:45:02] local.INFO: Packet analysis {"connection_id":89567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:45:02] local.INFO: Extracted packet for processing {"connection_id":89567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86bf"} 
[2026-06-02 10:45:02] local.INFO: GPS Element Parsed {"raw_longitude":754219584,"raw_latitude":118397456,"longitude_deg":75.4219584,"latitude_deg":11.8397456,"altitude":41,"angle":319,"satellites":41,"speed":42,"hex_longitude":"2cf47a40","hex_latitude":"070e9a10","is_valid_coordinates":true} 
[2026-06-02 10:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776552192001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305452443389394944,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-825566076384219136,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780377164000,"timestamp_ms":1780377164000,"timestamp_seconds":1780377164,"priority":1,"record_length":96,"hex_timestamp":"0000019e86bf98e0"} 
[2026-06-02 10:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:45: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-06-02 10:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:45:02] 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-06-02 10:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776552192001,"66":27767,"227":206,"83":41472,"24":42,"16":305452443389394944,"44":-825566076384219136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-06-02 10:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776552192001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:45:02] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-06-02 10:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305452443389394944,"km_value":305452443389394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-825566076384219136,"description":"Unknown IO ID 44"} 
[2026-06-02 10:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776552192001,"power":27767,"unknown_227":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-825566076384219136}} 
[2026-06-02 10:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":89567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:45:02] local.INFO: GPS data processed {"connection_id":89567,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:45:02] local.INFO: Acknowledgment sent {"connection_id":89567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:45:11] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c1c778012d181ec0072158f00041010b19..."} 
[2026-06-02 10:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c1c778012d181ec0072158f00041010b19..."} 
[2026-06-02 10:45:11] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c1c778012d181ec0072158f00041010b19..."} 
[2026-06-02 10:45:11] local.INFO: Packet analysis {"connection_id":89568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:45:11] local.INFO: Extracted packet for processing {"connection_id":89568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119625968,"longitude_deg":75.6555456,"latitude_deg":11.9625968,"altitude":65,"angle":267,"satellites":25,"speed":18,"hex_longitude":"2d181ec0","hex_latitude":"072158f0","is_valid_coordinates":true} 
[2026-06-02 10:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776589824001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111100252356608,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124184567808,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377307000,"timestamp_ms":1780377307000,"timestamp_seconds":1780377307,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c1c778"} 
[2026-06-02 10:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:45:11] 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-06-02 10:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 10:45:11] 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-06-02 10:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776589824001,"66":14407,"107":206,"83":41984,"24":18,"16":125111100252356608,"45":1739656124184567808},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776589824001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:45:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111100252356608,"km_value":125111100252356.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124184567808,"description":"Unknown IO ID 45"} 
[2026-06-02 10:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776589824001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1739656124184567808}} 
[2026-06-02 10:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":89568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:45:11] local.INFO: GPS data processed {"connection_id":89568,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:45:11] local.INFO: Acknowledgment sent {"connection_id":89568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:45:29] local.INFO: TCP Data received {"connection_id":89570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:45:29] local.INFO: Processing buffer {"connection_id":89570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:45:29] local.INFO: IMEI packet received {"connection_id":89570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":89570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:45:34] local.INFO: TCP Data received {"connection_id":90777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:34] local.INFO: Processing buffer {"connection_id":90777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:34] local.INFO: IMEI packet received {"connection_id":90777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":90777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:45:34] local.INFO: TCP Data received {"connection_id":89570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:45:34] local.INFO: Processing buffer {"connection_id":89570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:45:34] local.INFO: IMEI packet received {"connection_id":89570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":89570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:45:35] local.INFO: TCP Data received {"connection_id":89570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c10040012cf3ebc0070faff8002a01592c..."} 
[2026-06-02 10:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c10040012cf3ebc0070faff8002a01592c..."} 
[2026-06-02 10:45:35] local.INFO: Processing buffer {"connection_id":89570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c10040012cf3ebc0070faff8002a01592c..."} 
[2026-06-02 10:45:35] local.INFO: Packet analysis {"connection_id":89570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:45:35] local.INFO: Extracted packet for processing {"connection_id":89570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:45:35] local.INFO: GPS Element Parsed {"raw_longitude":754183104,"raw_latitude":118468600,"longitude_deg":75.4183104,"latitude_deg":11.84686,"altitude":42,"angle":345,"satellites":44,"speed":46,"hex_longitude":"2cf3ebc0","hex_latitude":"070faff8","is_valid_coordinates":true} 
[2026-06-02 10:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776575488001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305456420529111040,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-867787322873331712,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780377256000,"timestamp_ms":1780377256000,"timestamp_seconds":1780377256,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c10040"} 
[2026-06-02 10:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776575488001,"66":27908,"216":206,"83":41472,"24":46,"16":305456420529111040,"44":-867787322873331712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-06-02 10:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776575488001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:45:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 10:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305456420529111040,"km_value":305456420529111.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-867787322873331712,"description":"Unknown IO ID 44"} 
[2026-06-02 10:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776575488001,"power":27908,"unknown_216":206,"unknown_83":41472,"ignition":46,"odometer":null,"unknown_44":-867787322873331712}} 
[2026-06-02 10:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":89570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:45:35] local.INFO: GPS data processed {"connection_id":89570,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:45:35] local.INFO: Acknowledgment sent {"connection_id":89570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:45:35] local.INFO: TCP Data received {"connection_id":90777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:35] local.INFO: Processing buffer {"connection_id":90777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:35] local.INFO: IMEI packet received {"connection_id":90777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":90777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:45:37] local.INFO: TCP Data received {"connection_id":89570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c12368012cf3e440070fd4f80029015f2d..."} 
[2026-06-02 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c12368012cf3e440070fd4f80029015f2d..."} 
[2026-06-02 10:45:37] local.INFO: Processing buffer {"connection_id":89570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c12368012cf3e440070fd4f80029015f2d..."} 
[2026-06-02 10:45:37] local.INFO: Packet analysis {"connection_id":89570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:45:37] local.INFO: Extracted packet for processing {"connection_id":89570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":754181184,"raw_latitude":118478072,"longitude_deg":75.4181184,"latitude_deg":11.8478072,"altitude":41,"angle":351,"satellites":45,"speed":39,"hex_longitude":"2cf3e440","hex_latitude":"070fd4f8","is_valid_coordinates":true} 
[2026-06-02 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776577536001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305456888680546304,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-870390966405564416,"note":"Value kept but may cause issues"} 
[2026-06-02 10:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780377265000,"timestamp_ms":1780377265000,"timestamp_seconds":1780377265,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c12368"} 
[2026-06-02 10:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776577536001,"66":27767,"216":206,"83":41472,"24":39,"16":305456888680546304,"44":-870390966405564416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-06-02 10:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776577536001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305456888680546304,"km_value":305456888680546.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-870390966405564416,"description":"Unknown IO ID 44"} 
[2026-06-02 10:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776577536001,"power":27767,"unknown_216":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-870390966405564416}} 
[2026-06-02 10:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":89570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:45:37] local.INFO: GPS data processed {"connection_id":89570,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:45:37] local.INFO: Acknowledgment sent {"connection_id":89570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:45:37] local.INFO: TCP Data received {"connection_id":90777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:37] local.INFO: Processing buffer {"connection_id":90777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:37] local.INFO: IMEI packet received {"connection_id":90777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":90777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:45:38] local.INFO: TCP Data received {"connection_id":90777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:38] local.INFO: Processing buffer {"connection_id":90777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:45:38] local.INFO: IMEI packet received {"connection_id":90777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":90777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:46:08] local.INFO: TCP Data received {"connection_id":89570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c15248012cf3df00070ff8b8002e015e2e..."} 
[2026-06-02 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c15248012cf3df00070ff8b8002e015e2e..."} 
[2026-06-02 10:46:08] local.INFO: Processing buffer {"connection_id":89570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c15248012cf3df00070ff8b8002e015e2e..."} 
[2026-06-02 10:46:08] local.INFO: Packet analysis {"connection_id":89570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:46:08] local.INFO: Extracted packet for processing {"connection_id":89570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":754179840,"raw_latitude":118487224,"longitude_deg":75.417984,"latitude_deg":11.8487224,"altitude":46,"angle":350,"satellites":46,"speed":22,"hex_longitude":"2cf3df00","hex_latitude":"070ff8b8","is_valid_coordinates":true} 
[2026-06-02 10:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776579840001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305457335357145088,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-872502028728469504,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780377277000,"timestamp_ms":1780377277000,"timestamp_seconds":1780377277,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c15248"} 
[2026-06-02 10:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 10:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776579840001,"66":27767,"216":206,"83":41472,"24":22,"16":305457335357145088,"44":-872502028728469504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-06-02 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776579840001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:46:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 10:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305457335357145088,"km_value":305457335357145.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-872502028728469504,"description":"Unknown IO ID 44"} 
[2026-06-02 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776579840001,"power":27767,"unknown_216":206,"unknown_83":41472,"ignition":22,"odometer":null,"unknown_44":-872502028728469504}} 
[2026-06-02 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":89570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:46:08] local.INFO: GPS data processed {"connection_id":89570,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:46:08] local.INFO: Acknowledgment sent {"connection_id":89570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:46:24] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:46:24] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:46:24] local.INFO: IMEI packet received {"connection_id":89571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":89571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:46:27] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:46:27] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:46:27] local.INFO: IMEI packet received {"connection_id":89571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":89571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:46:28] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c17570012cf3d9c007100d08002f01532c..."} 
[2026-06-02 10:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c17570012cf3d9c007100d08002f01532c..."} 
[2026-06-02 10:46:28] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c17570012cf3d9c007100d08002f01532c..."} 
[2026-06-02 10:46:28] local.INFO: Packet analysis {"connection_id":89571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:46:28] local.INFO: Extracted packet for processing {"connection_id":89571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c1"} 
[2026-06-02 10:46:28] local.INFO: GPS Element Parsed {"raw_longitude":754178496,"raw_latitude":118492424,"longitude_deg":75.4178496,"latitude_deg":11.8492424,"altitude":47,"angle":339,"satellites":44,"speed":24,"hex_longitude":"2cf3d9c0","hex_latitude":"07100d08","is_valid_coordinates":true} 
[2026-06-02 10:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776582912001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305457597350150144,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-873979772353857536,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780377286000,"timestamp_ms":1780377286000,"timestamp_seconds":1780377286,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c17570"} 
[2026-06-02 10:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:46: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-06-02 10:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 10:46: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-06-02 10:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:46: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-06-02 10:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776582912001,"66":27876,"216":206,"83":41472,"24":24,"16":305457597350150144,"44":-873979772353857536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-06-02 10:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776582912001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:46:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 10:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305457597350150144,"km_value":305457597350150.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:46:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-873979772353857536,"description":"Unknown IO ID 44"} 
[2026-06-02 10:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776582912001,"power":27876,"unknown_216":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-873979772353857536}} 
[2026-06-02 10:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":89571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:46:28] local.INFO: GPS data processed {"connection_id":89571,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:46:28] local.INFO: Acknowledgment sent {"connection_id":89571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:46:28] local.INFO: TCP Data received {"connection_id":89321,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:46:28] local.INFO: Processing buffer {"connection_id":89321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:46:28] local.INFO: IMEI packet received {"connection_id":89321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:46:58] local.INFO: TCP Data received {"connection_id":90778,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:46:58] local.INFO: Processing buffer {"connection_id":90778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:46:58] local.INFO: IMEI packet received {"connection_id":90778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":90778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:46:58] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c2cd30012cf304800710abb8001200f329..."} 
[2026-06-02 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c2cd30012cf304800710abb8001200f329..."} 
[2026-06-02 10:46:58] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c2cd30012cf304800710abb8001200f329..."} 
[2026-06-02 10:46:58] local.INFO: Packet analysis {"connection_id":89571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c2"} 
[2026-06-02 10:46:58] local.INFO: Extracted packet for processing {"connection_id":89571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c2"} 
[2026-06-02 10:46:58] local.INFO: GPS Element Parsed {"raw_longitude":754123904,"raw_latitude":118533048,"longitude_deg":75.4123904,"latitude_deg":11.8533048,"altitude":18,"angle":243,"satellites":41,"speed":40,"hex_longitude":"2cf30480","hex_latitude":"0710abb8","is_valid_coordinates":true} 
[2026-06-02 10:46: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-06-02 10:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776606720001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305461398396207104,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-932174723776432128,"note":"Value kept but may cause issues"} 
[2026-06-02 10:46:58] 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-06-02 10:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780377374000,"timestamp_ms":1780377374000,"timestamp_seconds":1780377374,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c2cd30"} 
[2026-06-02 10:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:46: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-06-02 10:46: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-06-02 10:46: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-06-02 10:46: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-06-02 10:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:46:58] 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-06-02 10:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776606720001,"66":27876,"217":206,"83":41472,"24":40,"16":305461398396207104,"44":-932174723776432128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-06-02 10:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776606720001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:46:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-02 10:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305461398396207104,"km_value":305461398396207.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:46:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-932174723776432128,"description":"Unknown IO ID 44"} 
[2026-06-02 10:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776606720001,"power":27876,"unknown_217":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-932174723776432128}} 
[2026-06-02 10:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":89571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:46:58] local.INFO: GPS data processed {"connection_id":89571,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:46:58] local.INFO: Acknowledgment sent {"connection_id":89571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:47:24] local.INFO: TCP Data received {"connection_id":89717,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:47:24] local.INFO: Processing buffer {"connection_id":89717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:47:24] local.INFO: IMEI packet received {"connection_id":89717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":89717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:47:28] local.INFO: TCP Data received {"connection_id":89717,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:47:28] local.INFO: Processing buffer {"connection_id":89717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:47:28] local.INFO: IMEI packet received {"connection_id":89717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":89717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:47:29] local.INFO: TCP Data received {"connection_id":89717,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c2d8e8012cf2f9400710a780001000fe29..."} 
[2026-06-02 10:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c2d8e8012cf2f9400710a780001000fe29..."} 
[2026-06-02 10:47:29] local.INFO: Processing buffer {"connection_id":89717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c2d8e8012cf2f9400710a780001000fe29..."} 
[2026-06-02 10:47:29] local.INFO: Packet analysis {"connection_id":89717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c2"} 
[2026-06-02 10:47:29] local.INFO: Extracted packet for processing {"connection_id":89717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c2"} 
[2026-06-02 10:47:29] local.INFO: GPS Element Parsed {"raw_longitude":754121024,"raw_latitude":118531968,"longitude_deg":75.4121024,"latitude_deg":11.8531968,"altitude":16,"angle":254,"satellites":41,"speed":37,"hex_longitude":"2cf2f940","hex_latitude":"0710a780","is_valid_coordinates":true} 
[2026-06-02 10:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776607744001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305461544425095168,"note":"Value kept but may cause issues"} 
[2026-06-02 10:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-935482054753404928,"note":"Value kept but may cause issues"} 
[2026-06-02 10:47:29] 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-06-02 10:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780377377000,"timestamp_ms":1780377377000,"timestamp_seconds":1780377377,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c2d8e8"} 
[2026-06-02 10:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:47:29] 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-06-02 10:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776607744001,"66":27767,"217":206,"83":41472,"24":37,"16":305461544425095168,"44":-935482054753404928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-06-02 10:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776607744001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:47:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-02 10:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305461544425095168,"km_value":305461544425095.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-935482054753404928,"description":"Unknown IO ID 44"} 
[2026-06-02 10:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776607744001,"power":27767,"unknown_217":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-935482054753404928}} 
[2026-06-02 10:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":89717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:47:29] local.INFO: GPS data processed {"connection_id":89717,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:47:29] local.INFO: Acknowledgment sent {"connection_id":89717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:48:00] local.INFO: TCP Data received {"connection_id":89717,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c3bf60012cf220800710bd80001600e92a..."} 
[2026-06-02 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c3bf60012cf220800710bd80001600e92a..."} 
[2026-06-02 10:48:00] local.INFO: Processing buffer {"connection_id":89717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c3bf60012cf220800710bd80001600e92a..."} 
[2026-06-02 10:48:00] local.INFO: Packet analysis {"connection_id":89717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:48:00] local.INFO: Extracted packet for processing {"connection_id":89717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:48:00] local.INFO: GPS Element Parsed {"raw_longitude":754065536,"raw_latitude":118537600,"longitude_deg":75.4065536,"latitude_deg":11.85376,"altitude":22,"angle":233,"satellites":42,"speed":25,"hex_longitude":"2cf22080","hex_latitude":"0710bd80","is_valid_coordinates":true} 
[2026-06-02 10:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776621824001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305464271729328128,"note":"Value kept but may cause issues"} 
[2026-06-02 10:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-994239956140029952,"note":"Value kept but may cause issues"} 
[2026-06-02 10:48:00] 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-06-02 10:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780377436000,"timestamp_ms":1780377436000,"timestamp_seconds":1780377436,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c3bf60"} 
[2026-06-02 10:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:48: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-06-02 10:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 10:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:48: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-06-02 10:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776621824001,"66":27800,"217":206,"83":41472,"24":25,"16":305464271729328128,"44":-994239956140029952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-06-02 10:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776621824001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:48:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-02 10:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305464271729328128,"km_value":305464271729328.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-994239956140029952,"description":"Unknown IO ID 44"} 
[2026-06-02 10:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776621824001,"power":27800,"unknown_217":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-994239956140029952}} 
[2026-06-02 10:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":89717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:48:00] local.INFO: GPS data processed {"connection_id":89717,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:48:00] local.INFO: Acknowledgment sent {"connection_id":89717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:48:22] local.INFO: TCP Data received {"connection_id":90780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:22] local.INFO: Processing buffer {"connection_id":90780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:22] local.INFO: IMEI packet received {"connection_id":90780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":90780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:48:24] local.INFO: TCP Data received {"connection_id":90780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:24] local.INFO: Processing buffer {"connection_id":90780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:24] local.INFO: IMEI packet received {"connection_id":90780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":90780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:48:29] local.INFO: TCP Data received {"connection_id":90780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:29] local.INFO: Processing buffer {"connection_id":90780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:48:29] local.INFO: IMEI packet received {"connection_id":90780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":90780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:48:30] local.INFO: TCP Data received {"connection_id":90780,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c3c348012cf21ec00710bbc8001600dc2a..."} 
[2026-06-02 10:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c3c348012cf21ec00710bbc8001600dc2a..."} 
[2026-06-02 10:48:30] local.INFO: Processing buffer {"connection_id":90780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c3c348012cf21ec00710bbc8001600dc2a..."} 
[2026-06-02 10:48:30] local.INFO: Packet analysis {"connection_id":90780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:48:30] local.INFO: Extracted packet for processing {"connection_id":90780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:48:30] local.INFO: GPS Element Parsed {"raw_longitude":754065088,"raw_latitude":118537160,"longitude_deg":75.4065088,"latitude_deg":11.853716,"altitude":22,"angle":220,"satellites":42,"speed":24,"hex_longitude":"2cf21ec0","hex_latitude":"0710bbc8","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776623616001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305464301794099200,"note":"Value kept but may cause issues"} 
[2026-06-02 10:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-999658349442269184,"note":"Value kept but may cause issues"} 
[2026-06-02 10:48:30] 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-06-02 10:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780377437000,"timestamp_ms":1780377437000,"timestamp_seconds":1780377437,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c3c348"} 
[2026-06-02 10:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:48: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-06-02 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 10:48:30] 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-06-02 10: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-06-02 10:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:48:30] 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-06-02 10:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776623616001,"66":27843,"217":206,"83":41472,"24":24,"16":305464301794099200,"44":-999658349442269184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-06-02 10:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776623616001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:48:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-02 10:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305464301794099200,"km_value":305464301794099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-999658349442269184,"description":"Unknown IO ID 44"} 
[2026-06-02 10:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776623616001,"power":27843,"unknown_217":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-999658349442269184}} 
[2026-06-02 10:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":90780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:48:30] local.INFO: GPS data processed {"connection_id":90780,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:48:30] local.INFO: Acknowledgment sent {"connection_id":90780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:49:01] local.INFO: TCP Data received {"connection_id":90780,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c48698012cf192c00710c150000c011b29..."} 
[2026-06-02 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c48698012cf192c00710c150000c011b29..."} 
[2026-06-02 10:49:01] local.INFO: Processing buffer {"connection_id":90780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c48698012cf192c00710c150000c011b29..."} 
[2026-06-02 10:49:01] local.INFO: Packet analysis {"connection_id":90780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c4"} 
[2026-06-02 10:49:01] local.INFO: Extracted packet for processing {"connection_id":90780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c4"} 
[2026-06-02 10:49:01] local.INFO: GPS Element Parsed {"raw_longitude":754029248,"raw_latitude":118538576,"longitude_deg":75.4029248,"latitude_deg":11.8538576,"altitude":12,"angle":283,"satellites":41,"speed":30,"hex_longitude":"2cf192c0","hex_latitude":"0710c150","is_valid_coordinates":true} 
[2026-06-02 10:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776635648001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305466131450167296,"note":"Value kept but may cause issues"} 
[2026-06-02 10:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1036250096414736384,"note":"Value kept but may cause issues"} 
[2026-06-02 10:49:01] 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-06-02 10:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780377487000,"timestamp_ms":1780377487000,"timestamp_seconds":1780377487,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c48698"} 
[2026-06-02 10:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:49: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-06-02 10:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776635648001,"66":27800,"242":206,"83":41472,"24":30,"16":305466131450167296,"44":-1036250096414736384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,44]} 
[2026-06-02 10:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776635648001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:49:01] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 10:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305466131450167296,"km_value":305466131450167.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1036250096414736384,"description":"Unknown IO ID 44"} 
[2026-06-02 10:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776635648001,"power":27800,"unknown_242":206,"unknown_83":41472,"ignition":30,"odometer":null,"unknown_44":-1036250096414736384}} 
[2026-06-02 10:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":90780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:49:01] local.INFO: GPS data processed {"connection_id":90780,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:49:01] local.INFO: Acknowledgment sent {"connection_id":90780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:49:24] local.INFO: TCP Data received {"connection_id":89323,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:24] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:24] local.INFO: IMEI packet received {"connection_id":89323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":89323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:49:27] local.INFO: TCP Data received {"connection_id":89323,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:27] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:27] local.INFO: IMEI packet received {"connection_id":89323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":89323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:49:28] local.INFO: TCP Data received {"connection_id":89323,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:28] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:28] local.INFO: IMEI packet received {"connection_id":89323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:49:29] local.INFO: TCP Data received {"connection_id":89323,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:29] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:49:29] local.INFO: IMEI packet received {"connection_id":89323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":89323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:49:29] local.INFO: TCP Data received {"connection_id":89323,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c48e68012cf18c800710c258000b010f29..."} 
[2026-06-02 10:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c48e68012cf18c800710c258000b010f29..."} 
[2026-06-02 10:49:29] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c48e68012cf18c800710c258000b010f29..."} 
[2026-06-02 10:49:29] local.INFO: Packet analysis {"connection_id":89323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c4"} 
[2026-06-02 10:49:29] local.INFO: Extracted packet for processing {"connection_id":89323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c4"} 
[2026-06-02 10:49:29] local.INFO: GPS Element Parsed {"raw_longitude":754027648,"raw_latitude":118538840,"longitude_deg":75.4027648,"latitude_deg":11.853884,"altitude":11,"angle":271,"satellites":41,"speed":29,"hex_longitude":"2cf18c80","hex_latitude":"0710c258","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776636672001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305466208759578624,"note":"Value kept but may cause issues"} 
[2026-06-02 10:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1039557427390754816,"note":"Value kept but may cause issues"} 
[2026-06-02 10:49:29] 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-06-02 10:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780377489000,"timestamp_ms":1780377489000,"timestamp_seconds":1780377489,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c48e68"} 
[2026-06-02 10:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:49: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-06-02 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 10:49:29] 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-06-02 10:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:49:29] 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-06-02 10:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776636672001,"66":27745,"242":206,"83":41472,"24":29,"16":305466208759578624,"44":-1039557427390754816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,44]} 
[2026-06-02 10:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776636672001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:49:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 10:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305466208759578624,"km_value":305466208759578.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1039557427390754816,"description":"Unknown IO ID 44"} 
[2026-06-02 10:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776636672001,"power":27745,"unknown_242":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-1039557427390754816}} 
[2026-06-02 10:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":89323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:49:29] local.INFO: GPS data processed {"connection_id":89323,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:49:29] local.INFO: Acknowledgment sent {"connection_id":89323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:50:00] local.INFO: TCP Data received {"connection_id":89323,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c49a20012cf185400710c230000b01012b..."} 
[2026-06-02 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c49a20012cf185400710c230000b01012b..."} 
[2026-06-02 10:50:00] local.INFO: Processing buffer {"connection_id":89323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c49a20012cf185400710c230000b01012b..."} 
[2026-06-02 10:50:00] local.INFO: Packet analysis {"connection_id":89323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c4"} 
[2026-06-02 10:50:00] local.INFO: Extracted packet for processing {"connection_id":89323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c4"} 
[2026-06-02 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":754025792,"raw_latitude":118538800,"longitude_deg":75.4025792,"latitude_deg":11.85388,"altitude":11,"angle":257,"satellites":43,"speed":19,"hex_longitude":"2cf18540","hex_latitude":"0710c230","is_valid_coordinates":true} 
[2026-06-02 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776637184001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305466294658924544,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1041316645995128832,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:00] 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-06-02 10:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780377492000,"timestamp_ms":1780377492000,"timestamp_seconds":1780377492,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c49a20"} 
[2026-06-02 10:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:50: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-06-02 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 10:50: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-06-02 10:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:50: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-06-02 10:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776637184001,"66":27865,"242":206,"83":41472,"24":19,"16":305466294658924544,"44":-1041316645995128832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,44]} 
[2026-06-02 10:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776637184001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:50:00] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-02 10:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305466294658924544,"km_value":305466294658924.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1041316645995128832,"description":"Unknown IO ID 44"} 
[2026-06-02 10:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776637184001,"power":27865,"unknown_242":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1041316645995128832}} 
[2026-06-02 10:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":89323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:50:00] local.INFO: GPS data processed {"connection_id":89323,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:50:00] local.INFO: Acknowledgment sent {"connection_id":89323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:50:29] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:50:29] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:50:29] local.INFO: IMEI packet received {"connection_id":89576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":89576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:50:33] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:50:33] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:50:33] local.INFO: IMEI packet received {"connection_id":89576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":89576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:50:34] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c58098012cf0af400710c990000d01292a..."} 
[2026-06-02 10:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c58098012cf0af400710c990000d01292a..."} 
[2026-06-02 10:50:34] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c58098012cf0af400710c990000d01292a..."} 
[2026-06-02 10:50:34] local.INFO: Packet analysis {"connection_id":89576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c5"} 
[2026-06-02 10:50:34] local.INFO: Extracted packet for processing {"connection_id":89576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c5"} 
[2026-06-02 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":753971008,"raw_latitude":118540688,"longitude_deg":75.3971008,"latitude_deg":11.8540688,"altitude":13,"angle":297,"satellites":42,"speed":28,"hex_longitude":"2cf0af40","hex_latitude":"0710c990","is_valid_coordinates":true} 
[2026-06-02 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776652544001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305468966128582656,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1101974503475939328,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:34] 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-06-02 10:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780377551000,"timestamp_ms":1780377551000,"timestamp_seconds":1780377551,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c58098"} 
[2026-06-02 10:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:50: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-06-02 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 10:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:50:34] 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-06-02 10:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776652544001,"66":27821,"243":206,"83":41472,"24":28,"16":305468966128582656,"44":-1101974503475939328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-06-02 10:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776652544001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:50:34] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-02 10:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305468966128582656,"km_value":305468966128582.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1101974503475939328,"description":"Unknown IO ID 44"} 
[2026-06-02 10:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776652544001,"power":27821,"unknown_243":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-1101974503475939328}} 
[2026-06-02 10:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":89576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:50:34] local.INFO: GPS data processed {"connection_id":89576,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:50:34] local.INFO: Acknowledgment sent {"connection_id":89576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:50:39] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:50:39] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:50:39] local.INFO: IMEI packet received {"connection_id":89718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":89718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:50:40] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c34260012d180d0007219578004701521b..."} 
[2026-06-02 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c34260012d180d0007219578004701521b..."} 
[2026-06-02 10:50:40] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c34260012d180d0007219578004701521b..."} 
[2026-06-02 10:50:40] local.INFO: Packet analysis {"connection_id":89718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:50:40] local.INFO: Extracted packet for processing {"connection_id":89718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":27,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776610048001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235703296,"note":"Value kept but may cause issues"} 
[2026-06-02 10:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377404000,"timestamp_ms":1780377404000,"timestamp_seconds":1780377404,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c34260"} 
[2026-06-02 10:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-06-02 10:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:50:40] 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-06-02 10:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776610048001,"66":13243,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235703296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776610048001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:50:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235703296,"description":"Unknown IO ID 45"} 
[2026-06-02 10:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776610048001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235703296}} 
[2026-06-02 10:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":89718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:50:40] local.INFO: GPS data processed {"connection_id":89718,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:50:40] local.INFO: Acknowledgment sent {"connection_id":89718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:51:05] local.INFO: TCP Data received {"connection_id":89576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c5af78012cf08c800710daa0000b01242b..."} 
[2026-06-02 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c5af78012cf08c800710daa0000b01242b..."} 
[2026-06-02 10:51:05] local.INFO: Processing buffer {"connection_id":89576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c5af78012cf08c800710daa0000b01242b..."} 
[2026-06-02 10:51:05] local.INFO: Packet analysis {"connection_id":89576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c5"} 
[2026-06-02 10:51:05] local.INFO: Extracted packet for processing {"connection_id":89576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c5"} 
[2026-06-02 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":753962112,"raw_latitude":118545056,"longitude_deg":75.3962112,"latitude_deg":11.8545056,"altitude":11,"angle":292,"satellites":43,"speed":40,"hex_longitude":"2cf08c80","hex_latitude":"0710daa0","is_valid_coordinates":true} 
[2026-06-02 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776653056001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305469438574985216,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1103592984591888384,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:05] 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-06-02 10:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780377563000,"timestamp_ms":1780377563000,"timestamp_seconds":1780377563,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c5af78"} 
[2026-06-02 10:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 10:51: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-06-02 10:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776653056001,"66":27832,"243":206,"83":41472,"24":40,"16":305469438574985216,"44":-1103592984591888384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-06-02 10:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776653056001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:51:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-02 10:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305469438574985216,"km_value":305469438574985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1103592984591888384,"description":"Unknown IO ID 44"} 
[2026-06-02 10:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776653056001,"power":27832,"unknown_243":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-1103592984591888384}} 
[2026-06-02 10:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":89576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:51:05] local.INFO: GPS data processed {"connection_id":89576,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:51:05] local.INFO: Acknowledgment sent {"connection_id":89576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:51:11] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c39080012d180d0007219578004701521e..."} 
[2026-06-02 10:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c39080012d180d0007219578004701521e..."} 
[2026-06-02 10:51:11] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c39080012d180d0007219578004701521e..."} 
[2026-06-02 10:51:11] local.INFO: Packet analysis {"connection_id":89718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:51:11] local.INFO: Extracted packet for processing {"connection_id":89718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c3"} 
[2026-06-02 10:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776615424001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377424000,"timestamp_ms":1780377424000,"timestamp_seconds":1780377424,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c39080"} 
[2026-06-02 10:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 10:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776615424001,"66":13222,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776615424001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:51:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776615424001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":89718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:51:11] local.INFO: GPS data processed {"connection_id":89718,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:51:11] local.INFO: Acknowledgment sent {"connection_id":89718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:51:24] local.INFO: TCP Data received {"connection_id":90782,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:51:24] local.INFO: Processing buffer {"connection_id":90782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:51:24] local.INFO: IMEI packet received {"connection_id":90782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":90782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:51:29] local.INFO: TCP Data received {"connection_id":90782,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:51:29] local.INFO: Processing buffer {"connection_id":90782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:51:29] local.INFO: IMEI packet received {"connection_id":90782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":90782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:51:29] local.INFO: TCP Data received {"connection_id":90782,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c5d2a0012cf069c00710e5400009011b2b..."} 
[2026-06-02 10:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c5d2a0012cf069c00710e5400009011b2b..."} 
[2026-06-02 10:51:29] local.INFO: Processing buffer {"connection_id":90782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c5d2a0012cf069c00710e5400009011b2b..."} 
[2026-06-02 10:51:29] local.INFO: Packet analysis {"connection_id":90782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c5"} 
[2026-06-02 10:51:29] local.INFO: Extracted packet for processing {"connection_id":90782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c5"} 
[2026-06-02 10:51:29] local.INFO: GPS Element Parsed {"raw_longitude":753953216,"raw_latitude":118547776,"longitude_deg":75.3953216,"latitude_deg":11.8547776,"altitude":9,"angle":283,"satellites":43,"speed":34,"hex_longitude":"2cf069c0","hex_latitude":"0710e540","is_valid_coordinates":true} 
[2026-06-02 10:51: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-06-02 10:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776656128001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305469880956616704,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1113374240031465472,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:29] 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-06-02 10:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780377572000,"timestamp_ms":1780377572000,"timestamp_seconds":1780377572,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c5d2a0"} 
[2026-06-02 10:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:51: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-06-02 10:51: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":184,"data_length":795,"current_offset":136} 
[2026-06-02 10:51:29] 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-06-02 10:51: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-06-02 10:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:51:29] 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-06-02 10:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776656128001,"66":27843,"243":206,"83":41472,"24":34,"16":305469880956616704,"44":-1113374240031465472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-06-02 10:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776656128001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:51:29] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-02 10:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305469880956616704,"km_value":305469880956616.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1113374240031465472,"description":"Unknown IO ID 44"} 
[2026-06-02 10:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776656128001,"power":27843,"unknown_243":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1113374240031465472}} 
[2026-06-02 10:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":90782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:51:29] local.INFO: GPS data processed {"connection_id":90782,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:51:29] local.INFO: Acknowledgment sent {"connection_id":90782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:51:34] local.INFO: TCP Data received {"connection_id":90783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:51:34] local.INFO: Processing buffer {"connection_id":90783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:51:34] local.INFO: IMEI packet received {"connection_id":90783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":90783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:51:39] local.INFO: TCP Data received {"connection_id":90783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:51:39] local.INFO: Processing buffer {"connection_id":90783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:51:39] local.INFO: IMEI packet received {"connection_id":90783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":90783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:51:40] local.INFO: TCP Data received {"connection_id":90783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c6ff68012d180d00072195780047015220..."} 
[2026-06-02 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c6ff68012d180d00072195780047015220..."} 
[2026-06-02 10:51:40] local.INFO: Processing buffer {"connection_id":90783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c6ff68012d180d00072195780047015220..."} 
[2026-06-02 10:51:40] local.INFO: Packet analysis {"connection_id":90783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c6"} 
[2026-06-02 10:51:40] local.INFO: Extracted packet for processing {"connection_id":90783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c6"} 
[2026-06-02 10:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":32,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776673024001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377649000,"timestamp_ms":1780377649000,"timestamp_seconds":1780377649,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c6ff68"} 
[2026-06-02 10:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:51:40] 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-06-02 10:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 10:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:51:40] 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-06-02 10:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776673024001,"66":12939,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776673024001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:51:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776673024001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":90783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:51:40] local.INFO: GPS data processed {"connection_id":90783,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:51:40] local.INFO: Acknowledgment sent {"connection_id":90783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:52:02] local.INFO: TCP Data received {"connection_id":90782,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c749a0012cef5b4007111130000801012e..."} 
[2026-06-02 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c749a0012cef5b4007111130000801012e..."} 
[2026-06-02 10:52:02] local.INFO: Processing buffer {"connection_id":90782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c749a0012cef5b4007111130000801012e..."} 
[2026-06-02 10:52:02] local.INFO: Packet analysis {"connection_id":90782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:02] local.INFO: Extracted packet for processing {"connection_id":90782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:02] local.INFO: GPS Element Parsed {"raw_longitude":753883968,"raw_latitude":118559024,"longitude_deg":75.3883968,"latitude_deg":11.8559024,"altitude":8,"angle":257,"satellites":46,"speed":23,"hex_longitude":"2cef5b40","hex_latitude":"07111130","is_valid_coordinates":true} 
[2026-06-02 10:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776683008001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305473415714701312,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1199294476668817408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:02] 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-06-02 10:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780377668000,"timestamp_ms":1780377668000,"timestamp_seconds":1780377668,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c749a0"} 
[2026-06-02 10:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:52: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-06-02 10:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:52: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-06-02 10:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:52:02] 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-06-02 10:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776683008001,"66":27908,"203":206,"83":41472,"24":23,"16":305473415714701312,"44":-1199294476668817408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 10:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776683008001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305473415714701312,"km_value":305473415714701.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1199294476668817408,"description":"Unknown IO ID 44"} 
[2026-06-02 10:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776683008001,"power":27908,"mnc":206,"unknown_83":41472,"ignition":23,"odometer":null,"unknown_44":-1199294476668817408}} 
[2026-06-02 10:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":90782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:52:02] local.INFO: GPS data processed {"connection_id":90782,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:52:02] local.INFO: Acknowledgment sent {"connection_id":90782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:52:11] local.INFO: TCP Data received {"connection_id":90783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c74d88012d180d00072195780047015221..."} 
[2026-06-02 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c74d88012d180d00072195780047015221..."} 
[2026-06-02 10:52:11] local.INFO: Processing buffer {"connection_id":90783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c74d88012d180d00072195780047015221..."} 
[2026-06-02 10:52:11] local.INFO: Packet analysis {"connection_id":90783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:11] local.INFO: Extracted packet for processing {"connection_id":90783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":33,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776678144001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377669000,"timestamp_ms":1780377669000,"timestamp_seconds":1780377669,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c74d88"} 
[2026-06-02 10:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 10:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776678144001,"66":12917,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776678144001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:52:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776678144001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":90783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:52:11] local.INFO: GPS data processed {"connection_id":90783,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:52:11] local.INFO: Acknowledgment sent {"connection_id":90783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:52:13] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:52:13] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:52:13] local.INFO: IMEI packet received {"connection_id":89577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":89577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:52:25] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:25] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:25] local.INFO: IMEI packet received {"connection_id":89720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":89720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:52:26] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:26] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:26] local.INFO: IMEI packet received {"connection_id":89720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":89720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:52:30] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:30] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:52:30] local.INFO: IMEI packet received {"connection_id":89720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":89720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:52:31] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c74d88012cef5900071110f80008010e2e..."} 
[2026-06-02 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c74d88012cef5900071110f80008010e2e..."} 
[2026-06-02 10:52:31] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c74d88012cef5900071110f80008010e2e..."} 
[2026-06-02 10:52:31] local.INFO: Packet analysis {"connection_id":89720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:31] local.INFO: Extracted packet for processing {"connection_id":89720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":753883392,"raw_latitude":118558968,"longitude_deg":75.3883392,"latitude_deg":11.8558968,"altitude":8,"angle":270,"satellites":46,"speed":25,"hex_longitude":"2cef5900","hex_latitude":"071110f8","is_valid_coordinates":true} 
[2026-06-02 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776683008001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305473441484505088,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1199294476668817408,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:31] 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-06-02 10:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780377669000,"timestamp_ms":1780377669000,"timestamp_seconds":1780377669,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c74d88"} 
[2026-06-02 10:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:52: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-06-02 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:52:31] 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-06-02 10:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776683008001,"66":27865,"203":206,"83":41472,"24":25,"16":305473441484505088,"44":-1199294476668817408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 10:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776683008001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:52:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305473441484505088,"km_value":305473441484505.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1199294476668817408,"description":"Unknown IO ID 44"} 
[2026-06-02 10:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776683008001,"power":27865,"mnc":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1199294476668817408}} 
[2026-06-02 10:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":89720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:52:31] local.INFO: GPS data processed {"connection_id":89720,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:52:31] local.INFO: Acknowledgment sent {"connection_id":89720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:52:34] local.INFO: TCP Data received {"connection_id":89324,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:52:34] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:52:34] local.INFO: IMEI packet received {"connection_id":89324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":89324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:52:34] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c75170012cef568007111158000801192e..."} 
[2026-06-02 10:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c75170012cef568007111158000801192e..."} 
[2026-06-02 10:52:34] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c75170012cef568007111158000801192e..."} 
[2026-06-02 10:52:34] local.INFO: Packet analysis {"connection_id":89720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:34] local.INFO: Extracted packet for processing {"connection_id":89720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:34] local.INFO: GPS Element Parsed {"raw_longitude":753882752,"raw_latitude":118559064,"longitude_deg":75.3882752,"latitude_deg":11.8559064,"altitude":8,"angle":281,"satellites":46,"speed":23,"hex_longitude":"2cef5680","hex_latitude":"07111158","is_valid_coordinates":true} 
[2026-06-02 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776683264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305473471549276160,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1199927795366430720,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:34] 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-06-02 10:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780377670000,"timestamp_ms":1780377670000,"timestamp_seconds":1780377670,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c75170"} 
[2026-06-02 10:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:52: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-06-02 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:52: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-06-02 10:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:52:34] 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-06-02 10:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776683264001,"66":27865,"203":206,"83":41472,"24":23,"16":305473471549276160,"44":-1199927795366430720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 10:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776683264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305473471549276160,"km_value":305473471549276.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:52:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1199927795366430720,"description":"Unknown IO ID 44"} 
[2026-06-02 10:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776683264001,"power":27865,"mnc":206,"unknown_83":41472,"ignition":23,"odometer":null,"unknown_44":-1199927795366430720}} 
[2026-06-02 10:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":89720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:52:34] local.INFO: GPS data processed {"connection_id":89720,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:52:34] local.INFO: Acknowledgment sent {"connection_id":89720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:52:39] local.INFO: TCP Data received {"connection_id":89324,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:52:39] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:52:39] local.INFO: IMEI packet received {"connection_id":89324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":89324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:52:40] local.INFO: TCP Data received {"connection_id":89324,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c79ba8012d180d00072195780047015222..."} 
[2026-06-02 10:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c79ba8012d180d00072195780047015222..."} 
[2026-06-02 10:52:40] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c79ba8012d180d00072195780047015222..."} 
[2026-06-02 10:52:40] local.INFO: Packet analysis {"connection_id":89324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:40] local.INFO: Extracted packet for processing {"connection_id":89324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":34,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776683264001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377689000,"timestamp_ms":1780377689000,"timestamp_seconds":1780377689,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c79ba8"} 
[2026-06-02 10:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 10:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:52:40] 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-06-02 10:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776683264001,"66":12874,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776683264001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:52:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776683264001,"power":12874,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":89324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:52:40] local.INFO: GPS data processed {"connection_id":89324,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:52:40] local.INFO: Acknowledgment sent {"connection_id":89324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:52:58] local.INFO: TCP Data received {"connection_id":90784,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:52:59] local.INFO: Processing buffer {"connection_id":90784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:52:59] local.INFO: IMEI packet received {"connection_id":90784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":90784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:53:09] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c793d8012cef33c007111d500007012b2c..."} 
[2026-06-02 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c793d8012cef33c007111d500007012b2c..."} 
[2026-06-02 10:53:09] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c793d8012cef33c007111d500007012b2c..."} 
[2026-06-02 10:53:09] local.INFO: Packet analysis {"connection_id":89720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:09] local.INFO: Extracted packet for processing {"connection_id":89720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":753873856,"raw_latitude":118562128,"longitude_deg":75.3873856,"latitude_deg":11.8562128,"altitude":7,"angle":299,"satellites":44,"speed":27,"hex_longitude":"2cef33c0","hex_latitude":"07111d50","is_valid_coordinates":true} 
[2026-06-02 10:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776683520001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305473922520842240,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1200631482808182784,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780377687000,"timestamp_ms":1780377687000,"timestamp_seconds":1780377687,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c793d8"} 
[2026-06-02 10:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:53: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-06-02 10:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776683520001,"66":27865,"113":206,"83":41472,"24":27,"16":305473922520842240,"44":-1200631482808182784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,83,24,16,44]} 
[2026-06-02 10:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776683520001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:53:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 10:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305473922520842240,"km_value":305473922520842.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1200631482808182784,"description":"Unknown IO ID 44"} 
[2026-06-02 10:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776683520001,"power":27865,"unknown_113":206,"unknown_83":41472,"ignition":27,"odometer":null,"unknown_44":-1200631482808182784}} 
[2026-06-02 10:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":89720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:53:09] local.INFO: GPS data processed {"connection_id":89720,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:53:09] local.INFO: Acknowledgment sent {"connection_id":89720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:53:11] local.INFO: TCP Data received {"connection_id":89324,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c7e5e0012d180d00072195780047015221..."} 
[2026-06-02 10:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c7e5e0012d180d00072195780047015221..."} 
[2026-06-02 10:53:11] local.INFO: Processing buffer {"connection_id":89324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c7e5e0012d180d00072195780047015221..."} 
[2026-06-02 10:53:11] local.INFO: Packet analysis {"connection_id":89324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:11] local.INFO: Extracted packet for processing {"connection_id":89324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":33,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776688384001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377708000,"timestamp_ms":1780377708000,"timestamp_seconds":1780377708,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c7e5e0"} 
[2026-06-02 10:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 10:53:11] 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-06-02 10:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776688384001,"66":12852,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776688384001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:53:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776688384001,"power":12852,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":89324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:53:11] local.INFO: GPS data processed {"connection_id":89324,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:53:11] local.INFO: Acknowledgment sent {"connection_id":89324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:53:24] local.INFO: TCP Data received {"connection_id":90786,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:24] local.INFO: Processing buffer {"connection_id":90786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:24] local.INFO: IMEI packet received {"connection_id":90786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":90786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:53:27] local.INFO: TCP Data received {"connection_id":90786,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:27] local.INFO: Processing buffer {"connection_id":90786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:27] local.INFO: IMEI packet received {"connection_id":90786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":90786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:53:28] local.INFO: TCP Data received {"connection_id":90786,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:28] local.INFO: Processing buffer {"connection_id":90786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:28] local.INFO: IMEI packet received {"connection_id":90786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":90786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:53:29] local.INFO: TCP Data received {"connection_id":90786,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:29] local.INFO: Processing buffer {"connection_id":90786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:53:29] local.INFO: IMEI packet received {"connection_id":90786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":90786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:53:29] local.INFO: TCP Data received {"connection_id":90786,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c793d8012cef33c007111d500007012b2c..."} 
[2026-06-02 10:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c793d8012cef33c007111d500007012b2c..."} 
[2026-06-02 10:53:29] local.INFO: Processing buffer {"connection_id":90786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c793d8012cef33c007111d500007012b2c..."} 
[2026-06-02 10:53:29] local.INFO: Packet analysis {"connection_id":90786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:29] local.INFO: Extracted packet for processing {"connection_id":90786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:29] local.INFO: GPS Element Parsed {"raw_longitude":753873856,"raw_latitude":118562128,"longitude_deg":75.3873856,"latitude_deg":11.8562128,"altitude":7,"angle":299,"satellites":44,"speed":27,"hex_longitude":"2cef33c0","hex_latitude":"07111d50","is_valid_coordinates":true} 
[2026-06-02 10:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776687872001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305473922520842240,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1210412738248093696,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780377687000,"timestamp_ms":1780377687000,"timestamp_seconds":1780377687,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c793d8"} 
[2026-06-02 10:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:53: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-06-02 10:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:53: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-06-02 10:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:53:29] 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-06-02 10:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776687872001,"66":27865,"113":206,"83":41472,"24":27,"16":305473922520842240,"44":-1210412738248093696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,83,24,16,44]} 
[2026-06-02 10:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776687872001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:53:29] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 10:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305473922520842240,"km_value":305473922520842.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1210412738248093696,"description":"Unknown IO ID 44"} 
[2026-06-02 10:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776687872001,"power":27865,"unknown_113":206,"unknown_83":41472,"ignition":27,"odometer":null,"unknown_44":-1210412738248093696}} 
[2026-06-02 10:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":90786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:53:29] local.INFO: GPS data processed {"connection_id":90786,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:53:29] local.INFO: Acknowledgment sent {"connection_id":90786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:53:34] local.INFO: TCP Data received {"connection_id":90786,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c797c0012cef318007111ef0000701382c..."} 
[2026-06-02 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c797c0012cef318007111ef0000701382c..."} 
[2026-06-02 10:53:34] local.INFO: Processing buffer {"connection_id":90786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c797c0012cef318007111ef0000701382c..."} 
[2026-06-02 10:53:34] local.INFO: Packet analysis {"connection_id":90786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:34] local.INFO: Extracted packet for processing {"connection_id":90786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c7"} 
[2026-06-02 10:53:34] local.INFO: GPS Element Parsed {"raw_longitude":753873280,"raw_latitude":118562544,"longitude_deg":75.387328,"latitude_deg":11.8562544,"altitude":7,"angle":312,"satellites":44,"speed":28,"hex_longitude":"2cef3180","hex_latitude":"07111ef0","is_valid_coordinates":true} 
[2026-06-02 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776687872001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305473952585613312,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1210412738248093696,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780377688000,"timestamp_ms":1780377688000,"timestamp_seconds":1780377688,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c797c0"} 
[2026-06-02 10:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10: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-06-02 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 10:53: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-06-02 10:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:53:34] 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-06-02 10:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776687872001,"66":27865,"113":206,"83":41472,"24":28,"16":305473952585613312,"44":-1210412738248093696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,83,24,16,44]} 
[2026-06-02 10:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776687872001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:53:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 10:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305473952585613312,"km_value":305473952585613.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:53:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1210412738248093696,"description":"Unknown IO ID 44"} 
[2026-06-02 10:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776687872001,"power":27865,"unknown_113":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-1210412738248093696}} 
[2026-06-02 10:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":90786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:53:34] local.INFO: GPS data processed {"connection_id":90786,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:53:34] local.INFO: Acknowledgment sent {"connection_id":90786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:53:39] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:53:39] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:53:39] local.INFO: IMEI packet received {"connection_id":89722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":89722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:53:44] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:53:44] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:53:44] local.INFO: IMEI packet received {"connection_id":89722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":89722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:53:45] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c83018012d180d00072195780047015223..."} 
[2026-06-02 10:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c83018012d180d00072195780047015223..."} 
[2026-06-02 10:53:45] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c83018012d180d00072195780047015223..."} 
[2026-06-02 10:53:45] local.INFO: Packet analysis {"connection_id":89722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c8"} 
[2026-06-02 10:53:45] local.INFO: Extracted packet for processing {"connection_id":89722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c8"} 
[2026-06-02 10:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776693248001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780377727000,"timestamp_ms":1780377727000,"timestamp_seconds":1780377727,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c83018"} 
[2026-06-02 10:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-02 10:53:45] 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-06-02 10:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:53:45] 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-06-02 10:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776693248001,"66":12841,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776693248001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776693248001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":89722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:53:45] local.INFO: GPS data processed {"connection_id":89722,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:53:45] local.INFO: Acknowledgment sent {"connection_id":89722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:53:46] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c87668012d180d00072195780047015224..."} 
[2026-06-02 10:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c87668012d180d00072195780047015224..."} 
[2026-06-02 10:53:46] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c87668012d180d00072195780047015224..."} 
[2026-06-02 10:53:46] local.INFO: Packet analysis {"connection_id":89722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c8"} 
[2026-06-02 10:53:46] local.INFO: Extracted packet for processing {"connection_id":89722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c8"} 
[2026-06-02 10:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776698112001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780377745000,"timestamp_ms":1780377745000,"timestamp_seconds":1780377745,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c87668"} 
[2026-06-02 10:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:53:46] 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-06-02 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 10:53: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-06-02 10: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-06-02 10:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:53: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-06-02 10:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776698112001,"66":12841,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776698112001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:53:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776698112001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":89722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:53:46] local.INFO: GPS data processed {"connection_id":89722,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:53:46] local.INFO: Acknowledgment sent {"connection_id":89722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:54:05] local.INFO: TCP Data received {"connection_id":90786,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c93da0012cee5c800711a8900007013d29..."} 
[2026-06-02 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c93da0012cee5c800711a8900007013d29..."} 
[2026-06-02 10:54:05] local.INFO: Processing buffer {"connection_id":90786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c93da0012cee5c800711a8900007013d29..."} 
[2026-06-02 10:54:05] local.INFO: Packet analysis {"connection_id":90786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:05] local.INFO: Extracted packet for processing {"connection_id":90786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:05] local.INFO: GPS Element Parsed {"raw_longitude":753818752,"raw_latitude":118597776,"longitude_deg":75.3818752,"latitude_deg":11.8597776,"altitude":7,"angle":317,"satellites":41,"speed":20,"hex_longitude":"2cee5c80","hex_latitude":"0711a890","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776715520001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305477259710431232,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270789120743512064,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780377796000,"timestamp_ms":1780377796000,"timestamp_seconds":1780377796,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c93da0"} 
[2026-06-02 10:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776715520001,"66":27876,"84":206,"83":41472,"24":20,"16":305477259710431232,"44":-1270789120743512064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-06-02 10:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776715520001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305477259710431232,"km_value":305477259710431.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270789120743512064,"description":"Unknown IO ID 44"} 
[2026-06-02 10:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776715520001,"power":27876,"unknown_84":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-1270789120743512064}} 
[2026-06-02 10:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":90786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:54:06] local.INFO: GPS data processed {"connection_id":90786,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:54:06] local.INFO: Acknowledgment sent {"connection_id":90786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:54:18] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c8bcb8012d180d00072195780047015224..."} 
[2026-06-02 10:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c8bcb8012d180d00072195780047015224..."} 
[2026-06-02 10:54:18] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c8bcb8012d180d00072195780047015224..."} 
[2026-06-02 10:54:18] local.INFO: Packet analysis {"connection_id":89722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c8"} 
[2026-06-02 10:54:18] local.INFO: Extracted packet for processing {"connection_id":89722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c8"} 
[2026-06-02 10:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 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-06-02 10:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776702720001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780377763000,"timestamp_ms":1780377763000,"timestamp_seconds":1780377763,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c8bcb8"} 
[2026-06-02 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-06-02 10:54:18] 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-06-02 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 10:54: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-06-02 10: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-06-02 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-06-02 10:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:54:18] 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-06-02 10:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776702720001,"66":12819,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776702720001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:54:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776702720001,"power":12819,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":89722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:54:18] local.INFO: GPS data processed {"connection_id":89722,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:54:18] local.INFO: Acknowledgment sent {"connection_id":89722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:54:28] local.INFO: TCP Data received {"connection_id":90788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:28] local.INFO: Processing buffer {"connection_id":90788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:28] local.INFO: IMEI packet received {"connection_id":90788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":90788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:54:29] local.INFO: TCP Data received {"connection_id":90788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:29] local.INFO: Processing buffer {"connection_id":90788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:29] local.INFO: IMEI packet received {"connection_id":90788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":90788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:54:29] local.INFO: TCP Data received {"connection_id":90788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:29] local.INFO: Processing buffer {"connection_id":90788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:29] local.INFO: IMEI packet received {"connection_id":90788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":90788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:54:34] local.INFO: TCP Data received {"connection_id":90789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:54:34] local.INFO: Processing buffer {"connection_id":90789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:54:34] local.INFO: IMEI packet received {"connection_id":90789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":90789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:54:34] local.INFO: TCP Data received {"connection_id":90788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:34] local.INFO: Processing buffer {"connection_id":90788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:54:34] local.INFO: IMEI packet received {"connection_id":90788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":90788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:54:35] local.INFO: TCP Data received {"connection_id":90788,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c94188012cee5ac00711a9e8000701312b..."} 
[2026-06-02 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c94188012cee5ac00711a9e8000701312b..."} 
[2026-06-02 10:54:35] local.INFO: Processing buffer {"connection_id":90788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c94188012cee5ac00711a9e8000701312b..."} 
[2026-06-02 10:54:35] local.INFO: Packet analysis {"connection_id":90788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:35] local.INFO: Extracted packet for processing {"connection_id":90788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":753818304,"raw_latitude":118598120,"longitude_deg":75.3818304,"latitude_deg":11.859812,"altitude":7,"angle":305,"satellites":43,"speed":21,"hex_longitude":"2cee5ac0","hex_latitude":"0711a9e8","is_valid_coordinates":true} 
[2026-06-02 10:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776715776001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305477285480235008,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271000226975936512,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780377797000,"timestamp_ms":1780377797000,"timestamp_seconds":1780377797,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c94188"} 
[2026-06-02 10:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776715776001,"66":27800,"84":206,"83":41472,"24":21,"16":305477285480235008,"44":-1271000226975936512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-06-02 10:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776715776001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305477285480235008,"km_value":305477285480235.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271000226975936512,"description":"Unknown IO ID 44"} 
[2026-06-02 10:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776715776001,"power":27800,"unknown_84":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-1271000226975936512}} 
[2026-06-02 10:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":90788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:54:35] local.INFO: GPS data processed {"connection_id":90788,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:54:35] local.INFO: Acknowledgment sent {"connection_id":90788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:54:39] local.INFO: TCP Data received {"connection_id":90789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:54:39] local.INFO: Processing buffer {"connection_id":90789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:54:39] local.INFO: IMEI packet received {"connection_id":90789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":90789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:54:39] local.INFO: TCP Data received {"connection_id":90788,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c94d40012cee54c00711acf0000801202d..."} 
[2026-06-02 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c94d40012cee54c00711acf0000801202d..."} 
[2026-06-02 10:54:39] local.INFO: Processing buffer {"connection_id":90788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c94d40012cee54c00711acf0000801202d..."} 
[2026-06-02 10:54:39] local.INFO: Packet analysis {"connection_id":90788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:39] local.INFO: Extracted packet for processing {"connection_id":90788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":753816768,"raw_latitude":118598896,"longitude_deg":75.3816768,"latitude_deg":11.8598896,"altitude":8,"angle":288,"satellites":45,"speed":24,"hex_longitude":"2cee54c0","hex_latitude":"0711acf0","is_valid_coordinates":true} 
[2026-06-02 10:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776716032001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305477367084613632,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271492808185092096,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780377800000,"timestamp_ms":1780377800000,"timestamp_seconds":1780377800,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c94d40"} 
[2026-06-02 10:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 10:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:54:39] 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-06-02 10:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776716032001,"66":27843,"84":206,"83":41472,"24":24,"16":305477367084613632,"44":-1271492808185092096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-06-02 10:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776716032001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:54:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 10:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305477367084613632,"km_value":305477367084613.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:54:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271492808185092096,"description":"Unknown IO ID 44"} 
[2026-06-02 10:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776716032001,"power":27843,"unknown_84":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-1271492808185092096}} 
[2026-06-02 10:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":90788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:54:39] local.INFO: GPS data processed {"connection_id":90788,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:54:39] local.INFO: Acknowledgment sent {"connection_id":90788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:54:40] local.INFO: TCP Data received {"connection_id":90789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c90308012d180d00072195780047015225..."} 
[2026-06-02 10:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c90308012d180d00072195780047015225..."} 
[2026-06-02 10:54:40] local.INFO: Processing buffer {"connection_id":90789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c90308012d180d00072195780047015225..."} 
[2026-06-02 10:54:40] local.INFO: Packet analysis {"connection_id":90789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:40] local.INFO: Extracted packet for processing {"connection_id":90789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776707328001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377781000,"timestamp_ms":1780377781000,"timestamp_seconds":1780377781,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c90308"} 
[2026-06-02 10:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:54:40] 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-06-02 10:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2261188456,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505508684496896,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":134,"raw_value":-4129440213433316096,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2882567648607273216,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7668223676694921240,"corrected_to":0} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":120,"raw_value":19986175565496320,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182010666287360,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645492126125,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2419972317368111648,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84750412104016277,"note":"Value kept but may cause issues"} 
[2026-06-02 10:54:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,124,158,118,45,149,71,36,10,66,48,35,229,1,240,52,227,134,33,4,113,205,77,13,120,239,50,2,188,7,164,172,69,40],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7668223676694921240,"validated":0}]} 
[2026-06-02 10:54:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116460966241894400,"timestamp_seconds":5116460966241894.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 10:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:54:40] 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-06-02 10:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776707328001,"66":12809,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776707328001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:54:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:54:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776707328001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":90789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:54:40] local.INFO: GPS data processed {"connection_id":90789,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:54:40] local.INFO: Acknowledgment sent {"connection_id":90789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:55:11] local.INFO: TCP Data received {"connection_id":90789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c94d40012d180d00072195780047015225..."} 
[2026-06-02 10:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c94d40012d180d00072195780047015225..."} 
[2026-06-02 10:55:11] local.INFO: Processing buffer {"connection_id":90789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c94d40012d180d00072195780047015225..."} 
[2026-06-02 10:55:11] local.INFO: Packet analysis {"connection_id":90789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:55:11] local.INFO: Extracted packet for processing {"connection_id":90789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776711936001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377800000,"timestamp_ms":1780377800000,"timestamp_seconds":1780377800,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c94d40"} 
[2026-06-02 10:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2261208456,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":134,"raw_value":-4107449980877796096,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2507669575,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359383010899,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2419972317368111648,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,124,158,188,45,149,71,36,10,66,118,48,1,240,41,227,134,33,4,113,205,155,13,120,34,239,50,2,7,164,172],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-06-02 10:55:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116460970536861696,"timestamp_seconds":5116460970536862.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 10:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776711936001,"66":12504,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776711936001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:55:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776711936001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":90789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:55:11] local.INFO: GPS data processed {"connection_id":90789,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:55:11] local.INFO: Acknowledgment sent {"connection_id":90789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:55:24] local.INFO: TCP Data received {"connection_id":89325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:55:24] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:55:24] local.INFO: IMEI packet received {"connection_id":89325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":89325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:55:26] local.INFO: TCP Data received {"connection_id":89325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:55:26] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:55:26] local.INFO: IMEI packet received {"connection_id":89325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":89325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:55:27] local.INFO: TCP Data received {"connection_id":89325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c98bc0012cee32800711b7380005011b2b..."} 
[2026-06-02 10:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c98bc0012cee32800711b7380005011b2b..."} 
[2026-06-02 10:55:27] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c98bc0012cee32800711b7380005011b2b..."} 
[2026-06-02 10:55:27] local.INFO: Packet analysis {"connection_id":89325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:55:27] local.INFO: Extracted packet for processing {"connection_id":89325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":753808000,"raw_latitude":118601528,"longitude_deg":75.3808,"latitude_deg":11.8601528,"altitude":5,"angle":283,"satellites":43,"speed":19,"hex_longitude":"2cee3280","hex_latitude":"0711b738","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776716800001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305477805171277824,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1273181658045157376,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780377816000,"timestamp_ms":1780377816000,"timestamp_seconds":1780377816,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c98bc0"} 
[2026-06-02 10:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:55: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-06-02 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 10:55: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-06-02 10: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-06-02 10:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776716800001,"66":27876,"84":206,"83":41472,"24":19,"16":305477805171277824,"44":-1273181658045157376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-06-02 10:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776716800001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:55:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 10:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305477805171277824,"km_value":305477805171277.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:55:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1273181658045157376,"description":"Unknown IO ID 44"} 
[2026-06-02 10:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776716800001,"power":27876,"unknown_84":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1273181658045157376}} 
[2026-06-02 10:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":89325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:55:27] local.INFO: GPS data processed {"connection_id":89325,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:55:27] local.INFO: Acknowledgment sent {"connection_id":89325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:55:34] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:55:34] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:55:34] local.INFO: IMEI packet received {"connection_id":89724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":89724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:55:39] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:55:39] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:55:39] local.INFO: IMEI packet received {"connection_id":89724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":89724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:55:40] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c99390012d180d00072195780047015224..."} 
[2026-06-02 10:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c99390012d180d00072195780047015224..."} 
[2026-06-02 10:55:40] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c99390012d180d00072195780047015224..."} 
[2026-06-02 10:55:40] local.INFO: Packet analysis {"connection_id":89724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:55:40] local.INFO: Extracted packet for processing {"connection_id":89724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776716800001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377818000,"timestamp_ms":1780377818000,"timestamp_seconds":1780377818,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c99390"} 
[2026-06-02 10:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:55:40] 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-06-02 10:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 10:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:55:40] 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-06-02 10:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776716800001,"66":12776,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776716800001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:55:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776716800001,"power":12776,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":89724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:55:40] local.INFO: GPS data processed {"connection_id":89724,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:55:40] local.INFO: Acknowledgment sent {"connection_id":89724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:55:58] local.INFO: TCP Data received {"connection_id":89325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cac440012ced8ec007119340000601182d..."} 
[2026-06-02 10:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cac440012ced8ec007119340000601182d..."} 
[2026-06-02 10:55:58] local.INFO: Processing buffer {"connection_id":89325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cac440012ced8ec007119340000601182d..."} 
[2026-06-02 10:55:58] local.INFO: Packet analysis {"connection_id":89325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:55:58] local.INFO: Extracted packet for processing {"connection_id":89325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:55:58] local.INFO: GPS Element Parsed {"raw_longitude":753766080,"raw_latitude":118592320,"longitude_deg":75.376608,"latitude_deg":11.859232,"altitude":6,"angle":280,"satellites":45,"speed":14,"hex_longitude":"2ced8ec0","hex_latitude":"07119340","is_valid_coordinates":true} 
[2026-06-02 10:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776741120001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305480175993225216,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1328561859714660352,"note":"Value kept but may cause issues"} 
[2026-06-02 10:55:58] 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-06-02 10:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780377896000,"timestamp_ms":1780377896000,"timestamp_seconds":1780377896,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cac440"} 
[2026-06-02 10:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:55: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-06-02 10:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:55: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-06-02 10:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:55:58] 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-06-02 10:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776741120001,"66":27876,"170":206,"83":41472,"24":14,"16":305480175993225216,"44":-1328561859714660352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 10:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776741120001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:55:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 10:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305480175993225216,"km_value":305480175993225.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:55:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1328561859714660352,"description":"Unknown IO ID 44"} 
[2026-06-02 10:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776741120001,"power":27876,"unknown_170":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-1328561859714660352}} 
[2026-06-02 10:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":89325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:55:58] local.INFO: GPS data processed {"connection_id":89325,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:55:58] local.INFO: Acknowledgment sent {"connection_id":89325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:56:11] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86c9d9e0012d180d00072195780047015223..."} 
[2026-06-02 10:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86c9d9e0012d180d00072195780047015223..."} 
[2026-06-02 10:56:11] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86c9d9e0012d180d00072195780047015223..."} 
[2026-06-02 10:56:11] local.INFO: Packet analysis {"connection_id":89724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:56:11] local.INFO: Extracted packet for processing {"connection_id":89724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86c9"} 
[2026-06-02 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":35,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776721408001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377836000,"timestamp_ms":1780377836000,"timestamp_seconds":1780377836,"priority":1,"record_length":96,"hex_timestamp":"0000019e86c9d9e0"} 
[2026-06-02 10:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 10:56:11] 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-06-02 10:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776721408001,"66":12711,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776721408001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776721408001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":89724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:56:11] local.INFO: GPS data processed {"connection_id":89724,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:56:11] local.INFO: Acknowledgment sent {"connection_id":89724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:56:24] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:56:24] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:56:24] local.INFO: IMEI packet received {"connection_id":89725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:56:29] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:56:29] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:56:29] local.INFO: IMEI packet received {"connection_id":89725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":89725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:56:30] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cadf98012ced8040071194400005010d2b..."} 
[2026-06-02 10:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cadf98012ced8040071194400005010d2b..."} 
[2026-06-02 10:56:30] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cadf98012ced8040071194400005010d2b..."} 
[2026-06-02 10:56:30] local.INFO: Packet analysis {"connection_id":89725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:56:30] local.INFO: Extracted packet for processing {"connection_id":89725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:56:30] local.INFO: GPS Element Parsed {"raw_longitude":753762368,"raw_latitude":118592576,"longitude_deg":75.3762368,"latitude_deg":11.8592576,"altitude":5,"angle":269,"satellites":43,"speed":26,"hex_longitude":"2ced8040","hex_latitude":"07119440","is_valid_coordinates":true} 
[2026-06-02 10:56: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-06-02 10:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776741376001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305480352086884352,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1328913703435550720,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:30] 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-06-02 10:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780377903000,"timestamp_ms":1780377903000,"timestamp_seconds":1780377903,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cadf98"} 
[2026-06-02 10:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:56: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-06-02 10:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:56: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-06-02 10:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:56:30] 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-06-02 10:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776741376001,"66":27908,"170":206,"83":41472,"24":26,"16":305480352086884352,"44":-1328913703435550720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 10:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776741376001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:56:30] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 10:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305480352086884352,"km_value":305480352086884.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1328913703435550720,"description":"Unknown IO ID 44"} 
[2026-06-02 10:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776741376001,"power":27908,"unknown_170":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-1328913703435550720}} 
[2026-06-02 10:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":89725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:56:30] local.INFO: GPS data processed {"connection_id":89725,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:56:30] local.INFO: Acknowledgment sent {"connection_id":89725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:56:34] local.INFO: TCP Data received {"connection_id":89726,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:56:34] local.INFO: Processing buffer {"connection_id":89726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:56:34] local.INFO: IMEI packet received {"connection_id":89726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":89726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:56:39] local.INFO: TCP Data received {"connection_id":89726,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:56:39] local.INFO: Processing buffer {"connection_id":89726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:56:39] local.INFO: IMEI packet received {"connection_id":89726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":89726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:56:40] local.INFO: TCP Data received {"connection_id":89726,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ca2418012d180d00072195780047015224..."} 
[2026-06-02 10:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ca2418012d180d00072195780047015224..."} 
[2026-06-02 10:56:40] local.INFO: Processing buffer {"connection_id":89726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ca2418012d180d00072195780047015224..."} 
[2026-06-02 10:56:40] local.INFO: Packet analysis {"connection_id":89726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:56:40] local.INFO: Extracted packet for processing {"connection_id":89726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776726016001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377855000,"timestamp_ms":1780377855000,"timestamp_seconds":1780377855,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ca2418"} 
[2026-06-02 10:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:56:40] 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-06-02 10:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 10:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:56:40] 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-06-02 10:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776726016001,"66":12689,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776726016001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:56:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776726016001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":89726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:56:40] local.INFO: GPS data processed {"connection_id":89726,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:56:40] local.INFO: Acknowledgment sent {"connection_id":89726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:57:01] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cb0a90012ced5d00071195e8000801192c..."} 
[2026-06-02 10:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cb0a90012ced5d00071195e8000801192c..."} 
[2026-06-02 10:57:01] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cb0a90012ced5d00071195e8000801192c..."} 
[2026-06-02 10:57:01] local.INFO: Packet analysis {"connection_id":89725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cb"} 
[2026-06-02 10:57:01] local.INFO: Extracted packet for processing {"connection_id":89725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cb"} 
[2026-06-02 10:57:01] local.INFO: GPS Element Parsed {"raw_longitude":753753344,"raw_latitude":118593000,"longitude_deg":75.3753344,"latitude_deg":11.8593,"altitude":8,"angle":281,"satellites":44,"speed":32,"hex_longitude":"2ced5d00","hex_latitude":"071195e8","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776743168001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305480781583613952,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332995090597789696,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:01] 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-06-02 10:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780377914000,"timestamp_ms":1780377914000,"timestamp_seconds":1780377914,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cb0a90"} 
[2026-06-02 10:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:57: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-06-02 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 10:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:57: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-06-02 10:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776743168001,"66":27919,"45":206,"83":41472,"24":32,"16":305480781583613952,"44":-1332995090597789696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-06-02 10:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776743168001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-06-02 10:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305480781583613952,"km_value":305480781583613.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332995090597789696,"description":"Unknown IO ID 44"} 
[2026-06-02 10:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776743168001,"power":27919,"unknown_45":206,"unknown_83":41472,"ignition":32,"odometer":null,"unknown_44":-1332995090597789696}} 
[2026-06-02 10:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":89725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:57:01] local.INFO: GPS data processed {"connection_id":89725,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:57:01] local.INFO: Acknowledgment sent {"connection_id":89725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:57:11] local.INFO: TCP Data received {"connection_id":89726,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ca6a68012d180d00072195780047015225..."} 
[2026-06-02 10:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ca6a68012d180d00072195780047015225..."} 
[2026-06-02 10:57:11] local.INFO: Processing buffer {"connection_id":89726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ca6a68012d180d00072195780047015225..."} 
[2026-06-02 10:57:11] local.INFO: Packet analysis {"connection_id":89726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:57:11] local.INFO: Extracted packet for processing {"connection_id":89726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ca"} 
[2026-06-02 10:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641464,"longitude_deg":75.6550912,"latitude_deg":11.9641464,"altitude":71,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-06-02 10:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776730880001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125111967835750400,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235723776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780377873000,"timestamp_ms":1780377873000,"timestamp_seconds":1780377873,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ca6a68"} 
[2026-06-02 10:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:57:11] 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-06-02 10:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 10:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776730880001,"66":13722,"107":206,"83":41984,"24":0,"16":125111967835750400,"45":1733041462235723776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 10:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776730880001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:57:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 10:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125111967835750400,"km_value":125111967835750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235723776,"description":"Unknown IO ID 45"} 
[2026-06-02 10:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776730880001,"power":13722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235723776}} 
[2026-06-02 10:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":89726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:57:11] local.INFO: GPS data processed {"connection_id":89726,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:57:11] local.INFO: Acknowledgment sent {"connection_id":89726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:57:23] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:23] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:23] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:57:28] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:28] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:28] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:57:32] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:32] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:32] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:57:34] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:34] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:57:34] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:57:34] local.INFO: TCP Data received {"connection_id":89326,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:57:34] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:57:34] local.INFO: IMEI packet received {"connection_id":89326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":89326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:57:38] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cb2db8012ced488007119b78000801262c..."} 
[2026-06-02 10:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cb2db8012ced488007119b78000801262c..."} 
[2026-06-02 10:57:38] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cb2db8012ced488007119b78000801262c..."} 
[2026-06-02 10:57:38] local.INFO: Packet analysis {"connection_id":89578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cb"} 
[2026-06-02 10:57:38] local.INFO: Extracted packet for processing {"connection_id":89578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cb"} 
[2026-06-02 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":753748096,"raw_latitude":118594424,"longitude_deg":75.3748096,"latitude_deg":11.8594424,"altitude":8,"angle":294,"satellites":44,"speed":7,"hex_longitude":"2ced4880","hex_latitude":"07119b78","is_valid_coordinates":true} 
[2026-06-02 10:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776745984001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305481039281651712,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1342917083526731776,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:38] 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-06-02 10:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780377923000,"timestamp_ms":1780377923000,"timestamp_seconds":1780377923,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cb2db8"} 
[2026-06-02 10:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 10:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776745984001,"66":27800,"45":206,"83":41472,"24":7,"16":305481039281651712,"44":-1342917083526731776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-06-02 10:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776745984001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-06-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305481039281651712,"km_value":305481039281651.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:57:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1342917083526731776,"description":"Unknown IO ID 44"} 
[2026-06-02 10:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776745984001,"power":27800,"unknown_45":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1342917083526731776}} 
[2026-06-02 10:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":89578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:57:38] local.INFO: GPS data processed {"connection_id":89578,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:57:38] local.INFO: Acknowledgment sent {"connection_id":89578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:57:39] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cb77f0012ced26c00711a8400006011a2c..."} 
[2026-06-02 10:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cb77f0012ced26c00711a8400006011a2c..."} 
[2026-06-02 10:57:39] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cb77f0012ced26c00711a8400006011a2c..."} 
[2026-06-02 10:57:39] local.INFO: Packet analysis {"connection_id":89578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cb"} 
[2026-06-02 10:57:39] local.INFO: Extracted packet for processing {"connection_id":89578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cb"} 
[2026-06-02 10:57:39] local.INFO: GPS Element Parsed {"raw_longitude":753739456,"raw_latitude":118597696,"longitude_deg":75.3739456,"latitude_deg":11.8597696,"altitude":6,"angle":282,"satellites":44,"speed":30,"hex_longitude":"2ced26c0","hex_latitude":"0711a840","is_valid_coordinates":true} 
[2026-06-02 10:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776748288001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305481481663283200,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1348687320548935680,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:39] 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-06-02 10:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780377942000,"timestamp_ms":1780377942000,"timestamp_seconds":1780377942,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cb77f0"} 
[2026-06-02 10:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 10:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:57:39] 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-06-02 10:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776748288001,"66":27908,"45":206,"83":41472,"24":30,"16":305481481663283200,"44":-1348687320548935680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-06-02 10:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776748288001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-06-02 10:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305481481663283200,"km_value":305481481663283.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:57:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1348687320548935680,"description":"Unknown IO ID 44"} 
[2026-06-02 10:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776748288001,"power":27908,"unknown_45":206,"unknown_83":41472,"ignition":30,"odometer":null,"unknown_44":-1348687320548935680}} 
[2026-06-02 10:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":89578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:57:39] local.INFO: GPS data processed {"connection_id":89578,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:57:39] local.INFO: Acknowledgment sent {"connection_id":89578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:57:39] local.INFO: TCP Data received {"connection_id":89326,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:57:39] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:57:39] local.INFO: IMEI packet received {"connection_id":89326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":89326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:57:40] local.INFO: TCP Data received {"connection_id":89326,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cc3370012d1830c00721c8f8004d001c26..."} 
[2026-06-02 10:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cc3370012d1830c00721c8f8004d001c26..."} 
[2026-06-02 10:57:40] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cc3370012d1830c00721c8f8004d001c26..."} 
[2026-06-02 10:57:40] local.INFO: Packet analysis {"connection_id":89326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cc"} 
[2026-06-02 10:57:40] local.INFO: Extracted packet for processing {"connection_id":89326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cc"} 
[2026-06-02 10:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756560064,"raw_latitude":119654648,"longitude_deg":75.6560064,"latitude_deg":11.9654648,"altitude":77,"angle":28,"satellites":38,"speed":21,"hex_longitude":"2d1830c0","hex_latitude":"0721c8f8","is_valid_coordinates":true} 
[2026-06-02 10:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776764928001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125112753814765568,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505214517248,"note":"Value kept but may cause issues"} 
[2026-06-02 10:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780377990000,"timestamp_ms":1780377990000,"timestamp_seconds":1780377990,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cc3370"} 
[2026-06-02 10:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 10:57:40] 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-06-02 10:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:57:40] 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-06-02 10:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776764928001,"66":14233,"105":206,"83":41984,"24":21,"16":125112753814765568,"45":1742400505214517248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 10:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776764928001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125112753814765568,"km_value":125112753814765.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505214517248,"description":"Unknown IO ID 45"} 
[2026-06-02 10:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776764928001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1742400505214517248}} 
[2026-06-02 10:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":89326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:57:40] local.INFO: GPS data processed {"connection_id":89326,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:57:40] local.INFO: Acknowledgment sent {"connection_id":89326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:58:00] local.INFO: TCP Data received {"connection_id":90791,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:58:00] local.INFO: Processing buffer {"connection_id":90791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 10:58:00] local.INFO: IMEI packet received {"connection_id":90791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":90791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:58:11] local.INFO: TCP Data received {"connection_id":89326,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cc6250012d1844000721e7380051002027..."} 
[2026-06-02 10:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cc6250012d1844000721e7380051002027..."} 
[2026-06-02 10:58:11] local.INFO: Processing buffer {"connection_id":89326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cc6250012d1844000721e7380051002027..."} 
[2026-06-02 10:58:11] local.INFO: Packet analysis {"connection_id":89326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cc"} 
[2026-06-02 10:58:11] local.INFO: Extracted packet for processing {"connection_id":89326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cc"} 
[2026-06-02 10:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756564992,"raw_latitude":119662392,"longitude_deg":75.6564992,"latitude_deg":11.9662392,"altitude":81,"angle":32,"satellites":39,"speed":36,"hex_longitude":"2d184400","hex_latitude":"0721e738","is_valid_coordinates":true} 
[2026-06-02 10:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776765440001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125113196196397056,"note":"Value kept but may cause issues"} 
[2026-06-02 10:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743104192656504832,"note":"Value kept but may cause issues"} 
[2026-06-02 10:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780378002000,"timestamp_ms":1780378002000,"timestamp_seconds":1780378002,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cc6250"} 
[2026-06-02 10:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 10:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 10:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 10:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 10:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 10:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776765440001,"66":14243,"105":206,"83":41984,"24":36,"16":125113196196397056,"45":1743104192656504832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 10:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 10:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 10:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776765440001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:58:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 10:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 10:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125113196196397056,"km_value":125113196196397.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743104192656504832,"description":"Unknown IO ID 45"} 
[2026-06-02 10:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776765440001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1743104192656504832}} 
[2026-06-02 10:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":89326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:58:11] local.INFO: GPS data processed {"connection_id":89326,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:58:11] local.INFO: Acknowledgment sent {"connection_id":89326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:58:24] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:24] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:24] local.INFO: IMEI packet received {"connection_id":89579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:58:24] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:24] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:24] local.INFO: IMEI packet received {"connection_id":89579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:58:29] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:29] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:58:29] local.INFO: IMEI packet received {"connection_id":89579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":89579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:58:30] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ccfaa8012cec8b4007121270001301332c..."} 
[2026-06-02 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ccfaa8012cec8b4007121270001301332c..."} 
[2026-06-02 10:58:30] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ccfaa8012cec8b4007121270001301332c..."} 
[2026-06-02 10:58:30] local.INFO: Packet analysis {"connection_id":89579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cc"} 
[2026-06-02 10:58:30] local.INFO: Extracted packet for processing {"connection_id":89579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cc"} 
[2026-06-02 10:58:30] local.INFO: GPS Element Parsed {"raw_longitude":753699648,"raw_latitude":118624880,"longitude_deg":75.3699648,"latitude_deg":11.862488,"altitude":19,"angle":307,"satellites":44,"speed":34,"hex_longitude":"2cec8b40","hex_latitude":"07121270","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776774656001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305483822420459520,"note":"Value kept but may cause issues"} 
[2026-06-02 10:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1393793685560442880,"note":"Value kept but may cause issues"} 
[2026-06-02 10:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378041000,"timestamp_ms":1780378041000,"timestamp_seconds":1780378041,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ccfaa8"} 
[2026-06-02 10:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:58: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-06-02 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 10:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:58:30] 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-06-02 10:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776774656001,"66":27919,"120":206,"83":41472,"24":34,"16":305483822420459520,"44":-1393793685560442880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,83,24,16,44]} 
[2026-06-02 10:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776774656001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:58:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-02 10:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305483822420459520,"km_value":305483822420459.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1393793685560442880,"description":"Unknown IO ID 44"} 
[2026-06-02 10:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776774656001,"power":27919,"unknown_120":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1393793685560442880}} 
[2026-06-02 10:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":89579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:58:30] local.INFO: GPS data processed {"connection_id":89579,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:58:30] local.INFO: Acknowledgment sent {"connection_id":89579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:59:01] local.INFO: TCP Data received {"connection_id":89579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cd21b8012cec6dc007122798001201332e..."} 
[2026-06-02 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cd21b8012cec6dc007122798001201332e..."} 
[2026-06-02 10:59:01] local.INFO: Processing buffer {"connection_id":89579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cd21b8012cec6dc007122798001201332e..."} 
[2026-06-02 10:59:01] local.INFO: Packet analysis {"connection_id":89579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 10:59:01] local.INFO: Extracted packet for processing {"connection_id":89579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 10:59:01] local.INFO: GPS Element Parsed {"raw_longitude":753692096,"raw_latitude":118630296,"longitude_deg":75.3692096,"latitude_deg":11.8630296,"altitude":18,"angle":307,"satellites":46,"speed":40,"hex_longitude":"2cec6dc0","hex_latitude":"07122798","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776778496001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305484269097058304,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401956459883630592,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378051000,"timestamp_ms":1780378051000,"timestamp_seconds":1780378051,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cd21b8"} 
[2026-06-02 10:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:59: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-06-02 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 10:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 10: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-06-02 10:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:59: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-06-02 10:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776778496001,"66":27995,"120":206,"83":41472,"24":40,"16":305484269097058304,"44":-1401956459883630592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,83,24,16,44]} 
[2026-06-02 10:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776778496001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:59:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-02 10:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305484269097058304,"km_value":305484269097058.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401956459883630592,"description":"Unknown IO ID 44"} 
[2026-06-02 10:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776778496001,"power":27995,"unknown_120":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-1401956459883630592}} 
[2026-06-02 10:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":89579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:59:01] local.INFO: GPS data processed {"connection_id":89579,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:59:01] local.INFO: Acknowledgment sent {"connection_id":89579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:59:24] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:24] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:24] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 10:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:59:27] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:27] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:27] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:59:28] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:28] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:28] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:59:28] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:28] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 10:59:28] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 10:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:59:29] local.INFO: TCP Data received {"connection_id":89327,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:59:29] local.INFO: Processing buffer {"connection_id":89327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:59:29] local.INFO: IMEI packet received {"connection_id":89327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 10:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":89327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 10:59:33] local.INFO: TCP Data received {"connection_id":89327,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:59:33] local.INFO: Processing buffer {"connection_id":89327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 10:59:33] local.INFO: IMEI packet received {"connection_id":89327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 10:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":89327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 10:59:34] local.INFO: TCP Data received {"connection_id":89327,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cd48c8012cec51c007123dc0000f01372c..."} 
[2026-06-02 10:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cd48c8012cec51c007123dc0000f01372c..."} 
[2026-06-02 10:59:34] local.INFO: Processing buffer {"connection_id":89327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cd48c8012cec51c007123dc0000f01372c..."} 
[2026-06-02 10:59:34] local.INFO: Packet analysis {"connection_id":89327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 10:59:34] local.INFO: Extracted packet for processing {"connection_id":89327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 10:59:34] local.INFO: GPS Element Parsed {"raw_longitude":753684928,"raw_latitude":118635968,"longitude_deg":75.3684928,"latitude_deg":11.8635968,"altitude":15,"angle":311,"satellites":44,"speed":26,"hex_longitude":"2cec51c0","hex_latitude":"07123dc0","is_valid_coordinates":true} 
[2026-06-02 10:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 10:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776781056001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305484707183722496,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410259971695208448,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780378061000,"timestamp_ms":1780378061000,"timestamp_seconds":1780378061,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cd48c8"} 
[2026-06-02 10:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:59: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-06-02 10:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 10:59:34] 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-06-02 10:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 10:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:59:34] 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-06-02 10:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776781056001,"66":27919,"120":206,"83":41472,"24":26,"16":305484707183722496,"44":-1410259971695208448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,83,24,16,44]} 
[2026-06-02 10:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776781056001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:59:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-02 10:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305484707183722496,"km_value":305484707183722.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410259971695208448,"description":"Unknown IO ID 44"} 
[2026-06-02 10:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776781056001,"power":27919,"unknown_120":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-1410259971695208448}} 
[2026-06-02 10:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":89327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:59:34] local.INFO: GPS data processed {"connection_id":89327,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:59:34] local.INFO: Acknowledgment sent {"connection_id":89327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 10:59:36] local.INFO: TCP Data received {"connection_id":89327,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cd5c50012cec4700071247f0000d014328..."} 
[2026-06-02 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cd5c50012cec4700071247f0000d014328..."} 
[2026-06-02 10:59:36] local.INFO: Processing buffer {"connection_id":89327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cd5c50012cec4700071247f0000d014328..."} 
[2026-06-02 10:59:36] local.INFO: Packet analysis {"connection_id":89327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 10:59:36] local.INFO: Extracted packet for processing {"connection_id":89327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":753682176,"raw_latitude":118638576,"longitude_deg":75.3682176,"latitude_deg":11.8638576,"altitude":13,"angle":323,"satellites":40,"speed":30,"hex_longitude":"2cec4700","hex_latitude":"071247f0","is_valid_coordinates":true} 
[2026-06-02 10: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-06-02 10:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776783616001,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305484887572348928,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418141271041654784,"note":"Value kept but may cause issues"} 
[2026-06-02 10:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 10:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780378066000,"timestamp_ms":1780378066000,"timestamp_seconds":1780378066,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cd5c50"} 
[2026-06-02 10:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 10: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 10:59: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-06-02 10: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-06-02 10:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 10:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 10:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 10:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 10:59:36] 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-06-02 10:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 10:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 10:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776783616001,"66":27919,"120":206,"83":41472,"24":30,"16":305484887572348928,"44":-1418141271041654784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,83,24,16,44]} 
[2026-06-02 10:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 10:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 10:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776783616001,"description":"Unknown IO ID 0"} 
[2026-06-02 10:59:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-02 10:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 10:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305484887572348928,"km_value":305484887572348.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 10:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418141271041654784,"description":"Unknown IO ID 44"} 
[2026-06-02 10:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776783616001,"power":27919,"unknown_120":206,"unknown_83":41472,"ignition":30,"odometer":null,"unknown_44":-1418141271041654784}} 
[2026-06-02 10:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":89327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 10:59:36] local.INFO: GPS data processed {"connection_id":89327,"processed":1,"errors":0,"total":1} 
[2026-06-02 10:59:36] local.INFO: Acknowledgment sent {"connection_id":89327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:00:07] local.INFO: TCP Data received {"connection_id":89327,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cd8f18012cec310007126320000b01412c..."} 
[2026-06-02 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cd8f18012cec310007126320000b01412c..."} 
[2026-06-02 11:00:07] local.INFO: Processing buffer {"connection_id":89327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cd8f18012cec310007126320000b01412c..."} 
[2026-06-02 11:00:07] local.INFO: Packet analysis {"connection_id":89327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 11:00:07] local.INFO: Extracted packet for processing {"connection_id":89327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":753676544,"raw_latitude":118645536,"longitude_deg":75.3676544,"latitude_deg":11.8645536,"altitude":11,"angle":321,"satellites":44,"speed":18,"hex_longitude":"2cec3100","hex_latitude":"07126320","is_valid_coordinates":true} 
[2026-06-02 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776784896001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305485317069078528,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421167127040626688,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:07] 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-06-02 11:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780378079000,"timestamp_ms":1780378079000,"timestamp_seconds":1780378079,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cd8f18"} 
[2026-06-02 11:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 11:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:00:07] 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-06-02 11:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776784896001,"66":27887,"203":206,"83":41472,"24":18,"16":305485317069078528,"44":-1421167127040626688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 11:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776784896001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305485317069078528,"km_value":305485317069078.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:00:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421167127040626688,"description":"Unknown IO ID 44"} 
[2026-06-02 11:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776784896001,"power":27887,"mnc":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-1421167127040626688}} 
[2026-06-02 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":89327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:00:07] local.INFO: GPS data processed {"connection_id":89327,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:00:07] local.INFO: Acknowledgment sent {"connection_id":89327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:00:24] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:00:24] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:00:24] local.INFO: IMEI packet received {"connection_id":89730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":89730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:00:25] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:00:25] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:00:25] local.INFO: IMEI packet received {"connection_id":89730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":89730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:00:26] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cde120012cec1e4007127b70000c013c2b..."} 
[2026-06-02 11:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cde120012cec1e4007127b70000c013c2b..."} 
[2026-06-02 11:00:26] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cde120012cec1e4007127b70000c013c2b..."} 
[2026-06-02 11:00:26] local.INFO: Packet analysis {"connection_id":89730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 11:00:26] local.INFO: Extracted packet for processing {"connection_id":89730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cd"} 
[2026-06-02 11:00:26] local.INFO: GPS Element Parsed {"raw_longitude":753671744,"raw_latitude":118651760,"longitude_deg":75.3671744,"latitude_deg":11.865176,"altitude":12,"angle":316,"satellites":43,"speed":15,"hex_longitude":"2cec1e40","hex_latitude":"07127b70","is_valid_coordinates":true} 
[2026-06-02 11:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776788224001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305485699321167872,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1427359576526479360,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:26] 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-06-02 11:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780378100000,"timestamp_ms":1780378100000,"timestamp_seconds":1780378100,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cde120"} 
[2026-06-02 11:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:00: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-06-02 11:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 11:00:26] 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-06-02 11:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776788224001,"66":27908,"203":206,"83":41472,"24":15,"16":305485699321167872,"44":-1427359576526479360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 11:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776788224001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:00:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305485699321167872,"km_value":305485699321167.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:00:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1427359576526479360,"description":"Unknown IO ID 44"} 
[2026-06-02 11:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776788224001,"power":27908,"mnc":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1427359576526479360}} 
[2026-06-02 11:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":89730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:00:26] local.INFO: GPS data processed {"connection_id":89730,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:00:26] local.INFO: Acknowledgment sent {"connection_id":89730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:00:30] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ce3328012cec13c007128998001001472d..."} 
[2026-06-02 11:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ce3328012cec13c007128998001001472d..."} 
[2026-06-02 11:00:30] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ce3328012cec13c007128998001001472d..."} 
[2026-06-02 11:00:30] local.INFO: Packet analysis {"connection_id":89730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ce"} 
[2026-06-02 11:00:30] local.INFO: Extracted packet for processing {"connection_id":89730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ce"} 
[2026-06-02 11:00:30] local.INFO: GPS Element Parsed {"raw_longitude":753669056,"raw_latitude":118655384,"longitude_deg":75.3669056,"latitude_deg":11.8655384,"altitude":16,"angle":327,"satellites":45,"speed":12,"hex_longitude":"2cec13c0","hex_latitude":"07128998","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776793600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305485918364499968,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1432637232338210816,"note":"Value kept but may cause issues"} 
[2026-06-02 11:00:30] 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-06-02 11:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378121000,"timestamp_ms":1780378121000,"timestamp_seconds":1780378121,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ce3328"} 
[2026-06-02 11:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11: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-06-02 11: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 11:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:00:30] 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-06-02 11:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776793600001,"66":27821,"203":206,"83":41472,"24":12,"16":305485918364499968,"44":-1432637232338210816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 11:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776793600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305485918364499968,"km_value":305485918364499.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1432637232338210816,"description":"Unknown IO ID 44"} 
[2026-06-02 11:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776793600001,"power":27821,"mnc":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-1432637232338210816}} 
[2026-06-02 11:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":89730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:00:30] local.INFO: GPS data processed {"connection_id":89730,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:00:30] local.INFO: Acknowledgment sent {"connection_id":89730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:01:01] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ce69d8012cec0d0007129400001601392b..."} 
[2026-06-02 11:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ce69d8012cec0d0007129400001601392b..."} 
[2026-06-02 11:01:01] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ce69d8012cec0d0007129400001601392b..."} 
[2026-06-02 11:01:01] local.INFO: Packet analysis {"connection_id":89730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ce"} 
[2026-06-02 11:01:01] local.INFO: Extracted packet for processing {"connection_id":89730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ce"} 
[2026-06-02 11:01:01] local.INFO: GPS Element Parsed {"raw_longitude":753667328,"raw_latitude":118658048,"longitude_deg":75.3667328,"latitude_deg":11.8658048,"altitude":22,"angle":313,"satellites":43,"speed":6,"hex_longitude":"2cec0d00","hex_latitude":"07129400","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776798976001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305486072983322624,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1435592719592744960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:01] 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-06-02 11:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378135000,"timestamp_ms":1780378135000,"timestamp_seconds":1780378135,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ce69d8"} 
[2026-06-02 11:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:01: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-06-02 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 11:01: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-06-02 11: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-06-02 11:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:01: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-06-02 11:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776798976001,"66":27887,"203":206,"83":41472,"24":6,"16":305486072983322624,"44":-1435592719592744960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 11:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776798976001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305486072983322624,"km_value":305486072983322.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1435592719592744960,"description":"Unknown IO ID 44"} 
[2026-06-02 11:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776798976001,"power":27887,"mnc":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1435592719592744960}} 
[2026-06-02 11:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":89730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:01:01] local.INFO: GPS data processed {"connection_id":89730,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:01:01] local.INFO: Acknowledgment sent {"connection_id":89730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:01:41] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:01:41] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:01:41] local.INFO: IMEI packet received {"connection_id":89732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":89732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:01:43] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:01:43] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:01:43] local.INFO: IMEI packet received {"connection_id":89732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":89732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:01:44] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cfc198012ceb51c007120ac0001200ec2a..."} 
[2026-06-02 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cfc198012ceb51c007120ac0001200ec2a..."} 
[2026-06-02 11:01:44] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cfc198012ceb51c007120ac0001200ec2a..."} 
[2026-06-02 11:01:44] local.INFO: Packet analysis {"connection_id":89732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cf"} 
[2026-06-02 11:01:44] local.INFO: Extracted packet for processing {"connection_id":89732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cf"} 
[2026-06-02 11:01:44] local.INFO: GPS Element Parsed {"raw_longitude":753619392,"raw_latitude":118622912,"longitude_deg":75.3619392,"latitude_deg":11.8622912,"altitude":18,"angle":236,"satellites":42,"speed":39,"hex_longitude":"2ceb51c0","hex_latitude":"07120ac0","is_valid_coordinates":true} 
[2026-06-02 11:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776822016001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305489083755397120,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481754615780048896,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780378223000,"timestamp_ms":1780378223000,"timestamp_seconds":1780378223,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cfc198"} 
[2026-06-02 11:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:01: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-06-02 11:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 11:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:01:44] 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-06-02 11:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776822016001,"66":27821,"27":206,"83":41472,"24":39,"16":305489083755397120,"44":-1481754615780048896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-06-02 11:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776822016001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:01:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-02 11:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305489083755397120,"km_value":305489083755397.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481754615780048896,"description":"Unknown IO ID 44"} 
[2026-06-02 11:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776822016001,"power":27821,"unknown_27":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-1481754615780048896}} 
[2026-06-02 11:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":89732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:01:44] local.INFO: GPS data processed {"connection_id":89732,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:01:44] local.INFO: Acknowledgment sent {"connection_id":89732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:01:45] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86cfe4c0012ceb31800711f648001100ed28..."} 
[2026-06-02 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86cfe4c0012ceb31800711f648001100ed28..."} 
[2026-06-02 11:01:45] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86cfe4c0012ceb31800711f648001100ed28..."} 
[2026-06-02 11:01:45] local.INFO: Packet analysis {"connection_id":89732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86cf"} 
[2026-06-02 11:01:45] local.INFO: Extracted packet for processing {"connection_id":89732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86cf"} 
[2026-06-02 11:01:45] local.INFO: GPS Element Parsed {"raw_longitude":753611136,"raw_latitude":118617672,"longitude_deg":75.3611136,"latitude_deg":11.8617672,"altitude":17,"angle":237,"satellites":40,"speed":44,"hex_longitude":"2ceb3180","hex_latitude":"0711f648","is_valid_coordinates":true} 
[2026-06-02 11:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776825088001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305489551906832384,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1490198865082925056,"note":"Value kept but may cause issues"} 
[2026-06-02 11:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780378232000,"timestamp_ms":1780378232000,"timestamp_seconds":1780378232,"priority":1,"record_length":96,"hex_timestamp":"0000019e86cfe4c0"} 
[2026-06-02 11:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 11:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776825088001,"66":27919,"27":206,"83":41472,"24":44,"16":305489551906832384,"44":-1490198865082925056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-06-02 11:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776825088001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305489551906832384,"km_value":305489551906832.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1490198865082925056,"description":"Unknown IO ID 44"} 
[2026-06-02 11:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776825088001,"power":27919,"unknown_27":206,"unknown_83":41472,"ignition":44,"odometer":null,"unknown_44":-1490198865082925056}} 
[2026-06-02 11:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":89732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:01:45] local.INFO: GPS data processed {"connection_id":89732,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:01:45] local.INFO: Acknowledgment sent {"connection_id":89732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:02:24] local.INFO: TCP Data received {"connection_id":89582,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:02:24] local.INFO: Processing buffer {"connection_id":89582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:02:24] local.INFO: IMEI packet received {"connection_id":89582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":89582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:02:29] local.INFO: TCP Data received {"connection_id":89582,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:02:29] local.INFO: Processing buffer {"connection_id":89582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:02:29] local.INFO: IMEI packet received {"connection_id":89582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":89582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:02:30] local.INFO: TCP Data received {"connection_id":89582,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d007e8012ceb11c00711e3e8001200f12b..."} 
[2026-06-02 11:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d007e8012ceb11c00711e3e8001200f12b..."} 
[2026-06-02 11:02:30] local.INFO: Processing buffer {"connection_id":89582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d007e8012ceb11c00711e3e8001200f12b..."} 
[2026-06-02 11:02:30] local.INFO: Packet analysis {"connection_id":89582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d0"} 
[2026-06-02 11:02:30] local.INFO: Extracted packet for processing {"connection_id":89582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d0"} 
[2026-06-02 11:02:30] local.INFO: GPS Element Parsed {"raw_longitude":753603008,"raw_latitude":118612968,"longitude_deg":75.3603008,"latitude_deg":11.8612968,"altitude":18,"angle":241,"satellites":43,"speed":34,"hex_longitude":"2ceb11c0","hex_latitude":"0711e3e8","is_valid_coordinates":true} 
[2026-06-02 11:02: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-06-02 11:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776827392001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305489998583431168,"note":"Value kept but may cause issues"} 
[2026-06-02 11:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1499276433083185152,"note":"Value kept but may cause issues"} 
[2026-06-02 11:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378241000,"timestamp_ms":1780378241000,"timestamp_seconds":1780378241,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d007e8"} 
[2026-06-02 11:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:02: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-06-02 11:02: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 11:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:02: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-06-02 11:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:02:30] 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-06-02 11:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776827392001,"66":27821,"27":206,"83":41472,"24":34,"16":305489998583431168,"44":-1499276433083185152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-06-02 11:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776827392001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-02 11:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305489998583431168,"km_value":305489998583431.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1499276433083185152,"description":"Unknown IO ID 44"} 
[2026-06-02 11:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776827392001,"power":27821,"unknown_27":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1499276433083185152}} 
[2026-06-02 11:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":89582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:02:30] local.INFO: GPS data processed {"connection_id":89582,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:02:30] local.INFO: Acknowledgment sent {"connection_id":89582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:03:01] local.INFO: TCP Data received {"connection_id":89582,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d13898012ceab40007124da0000c01622d..."} 
[2026-06-02 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d13898012ceab40007124da0000c01622d..."} 
[2026-06-02 11:03:01] local.INFO: Processing buffer {"connection_id":89582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d13898012ceab40007124da0000c01622d..."} 
[2026-06-02 11:03:01] local.INFO: Packet analysis {"connection_id":89582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:03:01] local.INFO: Extracted packet for processing {"connection_id":89582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:03:01] local.INFO: GPS Element Parsed {"raw_longitude":753579008,"raw_latitude":118640032,"longitude_deg":75.3579008,"latitude_deg":11.8640032,"altitude":12,"angle":354,"satellites":45,"speed":8,"hex_longitude":"2ceab400","hex_latitude":"07124da0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776848640001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305492120297275392,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1534531173910646784,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:01] 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-06-02 11:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378319000,"timestamp_ms":1780378319000,"timestamp_seconds":1780378319,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d13898"} 
[2026-06-02 11:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:03: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-06-02 11: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":184,"data_length":795,"current_offset":136} 
[2026-06-02 11:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:03: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-06-02 11:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776848640001,"66":27832,"106":206,"83":41472,"24":8,"16":305492120297275392,"44":-1534531173910646784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-06-02 11:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776848640001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:03:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305492120297275392,"km_value":305492120297275.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1534531173910646784,"description":"Unknown IO ID 44"} 
[2026-06-02 11:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776848640001,"power":27832,"unknown_106":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1534531173910646784}} 
[2026-06-02 11:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":89582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:03:01] local.INFO: GPS data processed {"connection_id":89582,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:03:01] local.INFO: Acknowledgment sent {"connection_id":89582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:03:24] local.INFO: TCP Data received {"connection_id":89329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:24] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:24] local.INFO: IMEI packet received {"connection_id":89329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":89329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:03:35] local.INFO: TCP Data received {"connection_id":89329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:35] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:35] local.INFO: IMEI packet received {"connection_id":89329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":89329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:03:35] local.INFO: TCP Data received {"connection_id":89329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:35] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:03:35] local.INFO: IMEI packet received {"connection_id":89329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":89329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:03:36] local.INFO: TCP Data received {"connection_id":89329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d16f48012ceab000071270c0001101622b..."} 
[2026-06-02 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d16f48012ceab000071270c0001101622b..."} 
[2026-06-02 11:03:36] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d16f48012ceab000071270c0001101622b..."} 
[2026-06-02 11:03:36] local.INFO: Packet analysis {"connection_id":89329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:03:36] local.INFO: Extracted packet for processing {"connection_id":89329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":753577984,"raw_latitude":118649024,"longitude_deg":75.3577984,"latitude_deg":11.8649024,"altitude":17,"angle":354,"satellites":43,"speed":38,"hex_longitude":"2ceab000","hex_latitude":"071270c0","is_valid_coordinates":true} 
[2026-06-02 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776849664001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305492562678906880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1534601542654648320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:36] 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-06-02 11:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780378333000,"timestamp_ms":1780378333000,"timestamp_seconds":1780378333,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d16f48"} 
[2026-06-02 11:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 11:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:03:36] 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-06-02 11:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776849664001,"66":27745,"106":206,"83":41472,"24":38,"16":305492562678906880,"44":-1534601542654648320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-06-02 11:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776849664001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:03:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305492562678906880,"km_value":305492562678906.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1534601542654648320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776849664001,"power":27745,"unknown_106":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-1534601542654648320}} 
[2026-06-02 11:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":89329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:03:36] local.INFO: GPS data processed {"connection_id":89329,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:03:36] local.INFO: Acknowledgment sent {"connection_id":89329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:03:37] local.INFO: TCP Data received {"connection_id":89329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d182d0012ceaaf8007128558001200062b..."} 
[2026-06-02 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d182d0012ceaaf8007128558001200062b..."} 
[2026-06-02 11:03:37] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d182d0012ceaaf8007128558001200062b..."} 
[2026-06-02 11:03:37] local.INFO: Packet analysis {"connection_id":89329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:03:37] local.INFO: Extracted packet for processing {"connection_id":89329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753577856,"raw_latitude":118654296,"longitude_deg":75.3577856,"latitude_deg":11.8654296,"altitude":18,"angle":6,"satellites":43,"speed":43,"hex_longitude":"2ceaaf80","hex_latitude":"07128558","is_valid_coordinates":true} 
[2026-06-02 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776853248001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305492816081977344,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1535727442559188992,"note":"Value kept but may cause issues"} 
[2026-06-02 11:03:37] 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-06-02 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780378338000,"timestamp_ms":1780378338000,"timestamp_seconds":1780378338,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d182d0"} 
[2026-06-02 11:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 11:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776853248001,"66":27865,"106":206,"83":41472,"24":43,"16":305492816081977344,"44":-1535727442559188992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-06-02 11:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776853248001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:03:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305492816081977344,"km_value":305492816081977.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1535727442559188992,"description":"Unknown IO ID 44"} 
[2026-06-02 11:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776853248001,"power":27865,"unknown_106":206,"unknown_83":41472,"ignition":43,"odometer":null,"unknown_44":-1535727442559188992}} 
[2026-06-02 11:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":89329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:03:37] local.INFO: GPS data processed {"connection_id":89329,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:03:37] local.INFO: Acknowledgment sent {"connection_id":89329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:04:03] local.INFO: TCP Data received {"connection_id":89734,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:04:03] local.INFO: Processing buffer {"connection_id":89734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:04:03] local.INFO: IMEI packet received {"connection_id":89734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":89734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:04:14] local.INFO: TCP Data received {"connection_id":89329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d1a210012ceab3800712a8d0000f00062b..."} 
[2026-06-02 11:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d1a210012ceab3800712a8d0000f00062b..."} 
[2026-06-02 11:04:14] local.INFO: Processing buffer {"connection_id":89329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d1a210012ceab3800712a8d0000f00062b..."} 
[2026-06-02 11:04:14] local.INFO: Packet analysis {"connection_id":89329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:04:14] local.INFO: Extracted packet for processing {"connection_id":89329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:04:14] local.INFO: GPS Element Parsed {"raw_longitude":753578880,"raw_latitude":118663376,"longitude_deg":75.357888,"latitude_deg":11.8663376,"altitude":15,"angle":6,"satellites":43,"speed":39,"hex_longitude":"2ceab380","hex_latitude":"0712a8d0","is_valid_coordinates":true} 
[2026-06-02 11:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776854528001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305493258463608832,"note":"Value kept but may cause issues"} 
[2026-06-02 11:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1535868180046194688,"note":"Value kept but may cause issues"} 
[2026-06-02 11:04:14] 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-06-02 11:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780378346000,"timestamp_ms":1780378346000,"timestamp_seconds":1780378346,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d1a210"} 
[2026-06-02 11:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 11:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776854528001,"66":27908,"106":206,"83":41472,"24":39,"16":305493258463608832,"44":-1535868180046194688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-06-02 11:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776854528001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:04:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305493258463608832,"km_value":305493258463608.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1535868180046194688,"description":"Unknown IO ID 44"} 
[2026-06-02 11:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776854528001,"power":27908,"unknown_106":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-1535868180046194688}} 
[2026-06-02 11:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":89329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:04:14] local.INFO: GPS data processed {"connection_id":89329,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:04:14] local.INFO: Acknowledgment sent {"connection_id":89329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:04:33] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:33] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:33] local.INFO: IMEI packet received {"connection_id":89735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":89735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:04:34] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:34] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:34] local.INFO: IMEI packet received {"connection_id":89735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":89735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:04:39] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:39] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:04:39] local.INFO: IMEI packet received {"connection_id":89735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":89735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:04:40] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d11958012d1a630007241fa8003100e828..."} 
[2026-06-02 11:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d11958012d1a630007241fa8003100e828..."} 
[2026-06-02 11:04:40] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d11958012d1a630007241fa8003100e828..."} 
[2026-06-02 11:04:40] local.INFO: Packet analysis {"connection_id":89735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:04:40] local.INFO: Extracted packet for processing {"connection_id":89735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756704000,"raw_latitude":119807912,"longitude_deg":75.6704,"latitude_deg":11.9807912,"altitude":49,"angle":232,"satellites":40,"speed":8,"hex_longitude":"2d1a6300","hex_latitude":"07241fa8","is_valid_coordinates":true} 
[2026-06-02 11:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776846336001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125124367406333952,"note":"Value kept but may cause issues"} 
[2026-06-02 11:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902067185793146880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378311000,"timestamp_ms":1780378311000,"timestamp_seconds":1780378311,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d11958"} 
[2026-06-02 11:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-02 11:04:40] 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-06-02 11:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:04:40] 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-06-02 11:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776846336001,"66":14428,"43":206,"83":42752,"24":8,"16":125124367406333952,"45":1902067185793146880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 11:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776846336001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:04:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 11:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125124367406333952,"km_value":125124367406333.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902067185793146880,"description":"Unknown IO ID 45"} 
[2026-06-02 11:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776846336001,"power":14428,"unknown_43":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1902067185793146880}} 
[2026-06-02 11:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":89735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:04:40] local.INFO: GPS data processed {"connection_id":89735,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:04:40] local.INFO: Acknowledgment sent {"connection_id":89735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:04:59] local.INFO: TCP Data received {"connection_id":90795,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:04:59] local.INFO: Processing buffer {"connection_id":90795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:04:59] local.INFO: IMEI packet received {"connection_id":90795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":90795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:05:01] local.INFO: TCP Data received {"connection_id":90795,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:01] local.INFO: Processing buffer {"connection_id":90795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:01] local.INFO: IMEI packet received {"connection_id":90795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":90795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:05:02] local.INFO: TCP Data received {"connection_id":90795,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:02] local.INFO: Processing buffer {"connection_id":90795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:02] local.INFO: IMEI packet received {"connection_id":90795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":90795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:05:04] local.INFO: TCP Data received {"connection_id":90795,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:04] local.INFO: Processing buffer {"connection_id":90795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:05:04] local.INFO: IMEI packet received {"connection_id":90795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":90795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:05:05] local.INFO: TCP Data received {"connection_id":90795,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d34020012ceaffc0071394a8001100002b..."} 
[2026-06-02 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d34020012ceaffc0071394a8001100002b..."} 
[2026-06-02 11:05:05] local.INFO: Processing buffer {"connection_id":90795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d34020012ceaffc0071394a8001100002b..."} 
[2026-06-02 11:05:05] local.INFO: Packet analysis {"connection_id":90795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d3"} 
[2026-06-02 11:05:05] local.INFO: Extracted packet for processing {"connection_id":90795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d3"} 
[2026-06-02 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":753598400,"raw_latitude":118723752,"longitude_deg":75.35984,"latitude_deg":11.8723752,"altitude":17,"angle":0,"satellites":43,"speed":31,"hex_longitude":"2ceaffc0","hex_latitude":"071394a8","is_valid_coordinates":true} 
[2026-06-02 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776880128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305496398084702208,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1513561288126517248,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:05] 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-06-02 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780378452000,"timestamp_ms":1780378452000,"timestamp_seconds":1780378452,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d34020"} 
[2026-06-02 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776880128001,"66":27908,"122":206,"83":41216,"24":31,"16":305496398084702208,"44":-1513561288126517248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-06-02 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776880128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:05:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 11:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305496398084702208,"km_value":305496398084702.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1513561288126517248,"description":"Unknown IO ID 44"} 
[2026-06-02 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776880128001,"power":27908,"unknown_122":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1513561288126517248}} 
[2026-06-02 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":90795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:05:05] local.INFO: GPS data processed {"connection_id":90795,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:05:05] local.INFO: Acknowledgment sent {"connection_id":90795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:05:11] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d128f8012d1a600007241e18003100f928..."} 
[2026-06-02 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d128f8012d1a600007241e18003100f928..."} 
[2026-06-02 11:05:11] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d128f8012d1a600007241e18003100f928..."} 
[2026-06-02 11:05:11] local.INFO: Packet analysis {"connection_id":89735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:05:11] local.INFO: Extracted packet for processing {"connection_id":89735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756703232,"raw_latitude":119807512,"longitude_deg":75.6703232,"latitude_deg":11.9807512,"altitude":49,"angle":249,"satellites":40,"speed":8,"hex_longitude":"2d1a6000","hex_latitude":"07241e18","is_valid_coordinates":true} 
[2026-06-02 11:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776847616001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125124406061039616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901363498351306752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780378315000,"timestamp_ms":1780378315000,"timestamp_seconds":1780378315,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d128f8"} 
[2026-06-02 11:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:05:11] 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-06-02 11:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 11:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776847616001,"66":13798,"43":206,"83":42752,"24":8,"16":125124406061039616,"45":1901363498351306752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 11:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776847616001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:05:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 11:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125124406061039616,"km_value":125124406061039.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901363498351306752,"description":"Unknown IO ID 45"} 
[2026-06-02 11:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776847616001,"power":13798,"unknown_43":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1901363498351306752}} 
[2026-06-02 11:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":89735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:05:11] local.INFO: GPS data processed {"connection_id":89735,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:05:11] local.INFO: Acknowledgment sent {"connection_id":89735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:05:34] local.INFO: TCP Data received {"connection_id":89330,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:05:34] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:05:34] local.INFO: IMEI packet received {"connection_id":89330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":89330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:05:36] local.INFO: TCP Data received {"connection_id":89330,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:05:37] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:05:37] local.INFO: IMEI packet received {"connection_id":89330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":89330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:05:37] local.INFO: TCP Data received {"connection_id":89330,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d157d8012d1a5dc007241d18003100e428..."} 
[2026-06-02 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d157d8012d1a5dc007241d18003100e428..."} 
[2026-06-02 11:05:37] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d157d8012d1a5dc007241d18003100e428..."} 
[2026-06-02 11:05:37] local.INFO: Packet analysis {"connection_id":89330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:05:37] local.INFO: Extracted packet for processing {"connection_id":89330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d1"} 
[2026-06-02 11:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756702656,"raw_latitude":119807256,"longitude_deg":75.6702656,"latitude_deg":11.9807256,"altitude":49,"angle":228,"satellites":40,"speed":5,"hex_longitude":"2d1a5dc0","hex_latitude":"07241d18","is_valid_coordinates":true} 
[2026-06-02 11:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776848640001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125124440420777984,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900519073421072384,"note":"Value kept but may cause issues"} 
[2026-06-02 11:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780378327000,"timestamp_ms":1780378327000,"timestamp_seconds":1780378327,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d157d8"} 
[2026-06-02 11:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:05:37] 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-06-02 11:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:05:37] 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-06-02 11:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:05:37] 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-06-02 11:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776848640001,"66":13254,"43":206,"83":42752,"24":5,"16":125124440420777984,"45":1900519073421072384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 11:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776848640001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:05:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 11:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125124440420777984,"km_value":125124440420777.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900519073421072384,"description":"Unknown IO ID 45"} 
[2026-06-02 11:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776848640001,"power":13254,"unknown_43":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1900519073421072384}} 
[2026-06-02 11:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":89330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:05:37] local.INFO: GPS data processed {"connection_id":89330,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:05:37] local.INFO: Acknowledgment sent {"connection_id":89330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:06:03] local.INFO: TCP Data received {"connection_id":89583,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:03] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:03] local.INFO: IMEI packet received {"connection_id":89583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":89583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:06:04] local.INFO: TCP Data received {"connection_id":89583,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:04] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:04] local.INFO: IMEI packet received {"connection_id":89583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":89583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:06:08] local.INFO: TCP Data received {"connection_id":89330,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d45190012d1a6500072421300032006326..."} 
[2026-06-02 11:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d45190012d1a6500072421300032006326..."} 
[2026-06-02 11:06:08] local.INFO: Processing buffer {"connection_id":89330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d45190012d1a6500072421300032006326..."} 
[2026-06-02 11:06:08] local.INFO: Packet analysis {"connection_id":89330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:06:08] local.INFO: Extracted packet for processing {"connection_id":89330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756704512,"raw_latitude":119808304,"longitude_deg":75.6704512,"latitude_deg":11.9808304,"altitude":50,"angle":99,"satellites":38,"speed":6,"hex_longitude":"2d1a6500","hex_latitude":"07242130","is_valid_coordinates":true} 
[2026-06-02 11:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776901376001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125124620809404416,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901715342072295424,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780378522000,"timestamp_ms":1780378522000,"timestamp_seconds":1780378522,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d45190"} 
[2026-06-02 11:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 11:06:08] 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-06-02 11:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:06:08] 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-06-02 11:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776901376001,"66":13820,"43":206,"83":42752,"24":6,"16":125124620809404416,"45":1901715342072295424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 11:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776901376001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:06:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 11:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125124620809404416,"km_value":125124620809404.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901715342072295424,"description":"Unknown IO ID 45"} 
[2026-06-02 11:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776901376001,"power":13820,"unknown_43":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1901715342072295424}} 
[2026-06-02 11:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":89330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:06:08] local.INFO: GPS data processed {"connection_id":89330,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:06:08] local.INFO: Acknowledgment sent {"connection_id":89330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:06:34] local.INFO: TCP Data received {"connection_id":90796,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:34] local.INFO: Processing buffer {"connection_id":90796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:34] local.INFO: IMEI packet received {"connection_id":90796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":90796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:06:34] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:06:34] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:06:34] local.INFO: IMEI packet received {"connection_id":89736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":89736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:06:39] local.INFO: TCP Data received {"connection_id":90796,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:39] local.INFO: Processing buffer {"connection_id":90796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:06:39] local.INFO: IMEI packet received {"connection_id":90796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":90796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:06:39] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:06:39] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:06:39] local.INFO: IMEI packet received {"connection_id":89736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":89736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:06:40] local.INFO: TCP Data received {"connection_id":90796,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d3ccc0012ceafa000713ec70000b008a2e..."} 
[2026-06-02 11:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d3ccc0012ceafa000713ec70000b008a2e..."} 
[2026-06-02 11:06:40] local.INFO: Processing buffer {"connection_id":90796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d3ccc0012ceafa000713ec70000b008a2e..."} 
[2026-06-02 11:06:40] local.INFO: Packet analysis {"connection_id":90796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d3"} 
[2026-06-02 11:06:40] local.INFO: Extracted packet for processing {"connection_id":90796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d3"} 
[2026-06-02 11:06:40] local.INFO: GPS Element Parsed {"raw_longitude":753596928,"raw_latitude":118746224,"longitude_deg":75.3596928,"latitude_deg":11.8746224,"altitude":11,"angle":138,"satellites":46,"speed":19,"hex_longitude":"2ceafa00","hex_latitude":"0713ec70","is_valid_coordinates":true} 
[2026-06-02 11:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776892416001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305497673689989120,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1515742719187685376,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:40] 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-06-02 11:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378488000,"timestamp_ms":1780378488000,"timestamp_seconds":1780378488,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d3ccc0"} 
[2026-06-02 11:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:06: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-06-02 11:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 11:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776892416001,"66":27974,"38":206,"83":41472,"24":19,"16":305497673689989120,"44":-1515742719187685376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-06-02 11:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776892416001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305497673689989120,"km_value":305497673689989.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1515742719187685376,"description":"Unknown IO ID 44"} 
[2026-06-02 11:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776892416001,"power":27974,"unknown_38":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1515742719187685376}} 
[2026-06-02 11:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":90796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:06:40] local.INFO: GPS data processed {"connection_id":90796,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:06:40] local.INFO: Acknowledgment sent {"connection_id":90796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:06:40] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d45578012d1a6580072420e80032007526..."} 
[2026-06-02 11:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d45578012d1a6580072420e80032007526..."} 
[2026-06-02 11:06:40] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d45578012d1a6580072420e80032007526..."} 
[2026-06-02 11:06:40] local.INFO: Packet analysis {"connection_id":89736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:06:40] local.INFO: Extracted packet for processing {"connection_id":89736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:06:40] local.INFO: GPS Element Parsed {"raw_longitude":756704640,"raw_latitude":119808232,"longitude_deg":75.670464,"latitude_deg":11.9808232,"altitude":50,"angle":117,"satellites":38,"speed":6,"hex_longitude":"2d1a6580","hex_latitude":"072420e8","is_valid_coordinates":true} 
[2026-06-02 11:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776901632001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125124629399339008,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901926448304828416,"note":"Value kept but may cause issues"} 
[2026-06-02 11:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378523000,"timestamp_ms":1780378523000,"timestamp_seconds":1780378523,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d45578"} 
[2026-06-02 11:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 11:06:40] 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-06-02 11:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:06:40] 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-06-02 11:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776901632001,"66":14341,"43":206,"83":42752,"24":6,"16":125124629399339008,"45":1901926448304828416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 11:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776901632001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125124629399339008,"km_value":125124629399339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901926448304828416,"description":"Unknown IO ID 45"} 
[2026-06-02 11:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776901632001,"power":14341,"unknown_43":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1901926448304828416}} 
[2026-06-02 11:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":89736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:06:40] local.INFO: GPS data processed {"connection_id":89736,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:06:40] local.INFO: Acknowledgment sent {"connection_id":89736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:07:11] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d46130012d1a678007241f480032008727..."} 
[2026-06-02 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d46130012d1a678007241f480032008727..."} 
[2026-06-02 11:07:11] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d46130012d1a678007241f480032008727..."} 
[2026-06-02 11:07:11] local.INFO: Packet analysis {"connection_id":89736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:07:11] local.INFO: Extracted packet for processing {"connection_id":89736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756705152,"raw_latitude":119807816,"longitude_deg":75.6705152,"latitude_deg":11.9807816,"altitude":50,"angle":135,"satellites":39,"speed":11,"hex_longitude":"2d1a6780","hex_latitude":"07241f48","is_valid_coordinates":true} 
[2026-06-02 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776901888001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125124663759077376,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902067185793165312,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780378526000,"timestamp_ms":1780378526000,"timestamp_seconds":1780378526,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d46130"} 
[2026-06-02 11:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6954603507,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262047456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505508876451840,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3561347073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221693472,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2284322816,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84752962240848925,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.WARNING: Large IO value detected {"io_id":96,"raw_value":13793485643579392,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,83,24,241,157,16,136,158,81,45,33,50,38,10,66,77,64,39,73,1,240,82,227,134,36,4,113,205,3,62,98,224,239,56,2,188,7,206,208,96],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-06-02 11:07:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603008507965997056,"timestamp_seconds":3603008507965997.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776901888001,"66":14330,"43":206,"83":42752,"24":11,"16":125124663759077376,"45":1902067185793165312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 11:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776901888001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:07:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 11:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125124663759077376,"km_value":125124663759077.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902067185793165312,"description":"Unknown IO ID 45"} 
[2026-06-02 11:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776901888001,"power":14330,"unknown_43":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1902067185793165312}} 
[2026-06-02 11:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":89736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:07:11] local.INFO: GPS data processed {"connection_id":89736,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:07:11] local.INFO: Acknowledgment sent {"connection_id":89736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:07:24] local.INFO: TCP Data received {"connection_id":89331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:24] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:24] local.INFO: IMEI packet received {"connection_id":89331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":89331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:07:26] local.INFO: TCP Data received {"connection_id":89331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:26] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:26] local.INFO: IMEI packet received {"connection_id":89331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":89331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:07:29] local.INFO: TCP Data received {"connection_id":89331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:29] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:07:29] local.INFO: IMEI packet received {"connection_id":89331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":89331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:07:30] local.INFO: TCP Data received {"connection_id":89331,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d4fd70012ceb61400713bff8000b00542c..."} 
[2026-06-02 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d4fd70012ceb61400713bff8000b00542c..."} 
[2026-06-02 11:07:30] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d4fd70012ceb61400713bff8000b00542c..."} 
[2026-06-02 11:07:30] local.INFO: Packet analysis {"connection_id":89331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:07:30] local.INFO: Extracted packet for processing {"connection_id":89331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d4"} 
[2026-06-02 11:07:30] local.INFO: GPS Element Parsed {"raw_longitude":753623360,"raw_latitude":118734840,"longitude_deg":75.362336,"latitude_deg":11.873484,"altitude":11,"angle":84,"satellites":44,"speed":0,"hex_longitude":"2ceb6140","hex_latitude":"0713bff8","is_valid_coordinates":true} 
[2026-06-02 11:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776907520001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499078144294912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486258215380283392,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:30] 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-06-02 11:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378566000,"timestamp_ms":1780378566000,"timestamp_seconds":1780378566,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d4fd70"} 
[2026-06-02 11:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:07: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-06-02 11:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 11:07:30] 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-06-02 11:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:07:30] 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-06-02 11:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776907520001,"66":27995,"190":206,"83":41472,"24":0,"16":305499078144294912,"44":-1486258215380283392},"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-06-02 11:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776907520001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:07:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499078144294912,"km_value":305499078144294.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486258215380283392,"description":"Unknown IO ID 44"} 
[2026-06-02 11:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776907520001,"power":27995,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1486258215380283392}} 
[2026-06-02 11:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":89331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:07:30] local.INFO: GPS data processed {"connection_id":89331,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:07:30] local.INFO: Acknowledgment sent {"connection_id":89331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:07:34] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:07:34] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:07:34] local.INFO: IMEI packet received {"connection_id":89584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":89584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:07:39] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:07:39] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:07:39] local.INFO: IMEI packet received {"connection_id":89584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":89584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:07:41] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d56ad0012d1a2c400723b858002f00e928..."} 
[2026-06-02 11:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d56ad0012d1a2c400723b858002f00e928..."} 
[2026-06-02 11:07:41] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d56ad0012d1a2c400723b858002f00e928..."} 
[2026-06-02 11:07:41] local.INFO: Packet analysis {"connection_id":89584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:07:41] local.INFO: Extracted packet for processing {"connection_id":89584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756689984,"raw_latitude":119781464,"longitude_deg":75.6689984,"latitude_deg":11.9781464,"altitude":47,"angle":233,"satellites":40,"speed":31,"hex_longitude":"2d1a2c40","hex_latitude":"0723b858","is_valid_coordinates":true} 
[2026-06-02 11:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776919040001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125126343091290112,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888837861881466880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780378594000,"timestamp_ms":1780378594000,"timestamp_seconds":1780378594,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d56ad0"} 
[2026-06-02 11:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-06-02 11:07:41] 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-06-02 11:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:07:41] 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-06-02 11:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776919040001,"66":13656,"42":206,"83":42752,"24":31,"16":125126343091290112,"45":1888837861881466880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776919040001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:07:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125126343091290112,"km_value":125126343091290.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888837861881466880,"description":"Unknown IO ID 45"} 
[2026-06-02 11:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776919040001,"power":13656,"unknown_42":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1888837861881466880}} 
[2026-06-02 11:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":89584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:07:41] local.INFO: GPS data processed {"connection_id":89584,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:07:41] local.INFO: Acknowledgment sent {"connection_id":89584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:08:01] local.INFO: TCP Data received {"connection_id":89331,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d54f78012ceb61400713bff8000b00542d..."} 
[2026-06-02 11:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d54f78012ceb61400713bff8000b00542d..."} 
[2026-06-02 11:08:01] local.INFO: Processing buffer {"connection_id":89331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d54f78012ceb61400713bff8000b00542d..."} 
[2026-06-02 11:08:01] local.INFO: Packet analysis {"connection_id":89331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:01] local.INFO: Extracted packet for processing {"connection_id":89331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:01] local.INFO: GPS Element Parsed {"raw_longitude":753623360,"raw_latitude":118734840,"longitude_deg":75.362336,"latitude_deg":11.873484,"altitude":11,"angle":84,"satellites":45,"speed":0,"hex_longitude":"2ceb6140","hex_latitude":"0713bff8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776912896001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499078144294912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485836002915256320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08: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-06-02 11:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378587000,"timestamp_ms":1780378587000,"timestamp_seconds":1780378587,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d54f78"} 
[2026-06-02 11:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:08: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-06-02 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 11:08:01] 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-06-02 11: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-06-02 11:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:08: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-06-02 11:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776912896001,"66":28028,"190":206,"83":41472,"24":0,"16":305499078144294912,"44":-1485836002915256320},"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-06-02 11:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776912896001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:08:01] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499078144294912,"km_value":305499078144294.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485836002915256320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776912896001,"power":28028,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1485836002915256320}} 
[2026-06-02 11:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":89331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:08:01] local.INFO: GPS data processed {"connection_id":89331,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:08:01] local.INFO: Acknowledgment sent {"connection_id":89331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:08:12] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d58240012d1a1c400723aef8003000f628..."} 
[2026-06-02 11:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d58240012d1a1c400723aef8003000f628..."} 
[2026-06-02 11:08:12] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d58240012d1a1c400723aef8003000f628..."} 
[2026-06-02 11:08:12] local.INFO: Packet analysis {"connection_id":89584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:12] local.INFO: Extracted packet for processing {"connection_id":89584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:12] local.INFO: GPS Element Parsed {"raw_longitude":756685888,"raw_latitude":119779064,"longitude_deg":75.6685888,"latitude_deg":11.9779064,"altitude":48,"angle":246,"satellites":40,"speed":30,"hex_longitude":"2d1a1c40","hex_latitude":"0723aef8","is_valid_coordinates":true} 
[2026-06-02 11:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776920064001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125126575019524096,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885952743369627648,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780378600000,"timestamp_ms":1780378600000,"timestamp_seconds":1780378600,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d58240"} 
[2026-06-02 11:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-02 11:08: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-06-02 11:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:08:12] 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-06-02 11:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776920064001,"66":13820,"42":206,"83":42752,"24":30,"16":125126575019524096,"45":1885952743369627648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776920064001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:08:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125126575019524096,"km_value":125126575019524.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885952743369627648,"description":"Unknown IO ID 45"} 
[2026-06-02 11:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776920064001,"power":13820,"unknown_42":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1885952743369627648}} 
[2026-06-02 11:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":89584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:08:12] local.INFO: GPS data processed {"connection_id":89584,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:08:12] local.INFO: Acknowledgment sent {"connection_id":89584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:08:24] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:24] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:24] local.INFO: IMEI packet received {"connection_id":89737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":89737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:08:25] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:25] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:25] local.INFO: IMEI packet received {"connection_id":89737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":89737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:08:27] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:27] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:27] local.INFO: IMEI packet received {"connection_id":89737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":89737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:08:29] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:29] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:08:29] local.INFO: IMEI packet received {"connection_id":89737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":89737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:08:30] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d5a180012ceb61400713bff8000b00542e..."} 
[2026-06-02 11:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d5a180012ceb61400713bff8000b00542e..."} 
[2026-06-02 11:08:30] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d5a180012ceb61400713bff8000b00542e..."} 
[2026-06-02 11:08:30] local.INFO: Packet analysis {"connection_id":89737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:30] local.INFO: Extracted packet for processing {"connection_id":89737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:30] local.INFO: GPS Element Parsed {"raw_longitude":753623360,"raw_latitude":118734840,"longitude_deg":75.362336,"latitude_deg":11.873484,"altitude":11,"angle":84,"satellites":46,"speed":0,"hex_longitude":"2ceb6140","hex_latitude":"0713bff8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776918272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499078144294912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485836002915256320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:30] 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-06-02 11:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378608000,"timestamp_ms":1780378608000,"timestamp_seconds":1780378608,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d5a180"} 
[2026-06-02 11:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:08: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-06-02 11: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 11:08:30] 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-06-02 11: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-06-02 11:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:08:30] 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-06-02 11:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776918272001,"66":27995,"190":206,"83":41472,"24":0,"16":305499078144294912,"44":-1485836002915256320},"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-06-02 11:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776918272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:08:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499078144294912,"km_value":305499078144294.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485836002915256320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776918272001,"power":27995,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1485836002915256320}} 
[2026-06-02 11:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":89737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:08:30] local.INFO: GPS data processed {"connection_id":89737,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:08:30] local.INFO: Acknowledgment sent {"connection_id":89737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:08:40] local.INFO: TCP Data received {"connection_id":89585,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:08:40] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:08:40] local.INFO: IMEI packet received {"connection_id":89585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":89585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:08:40] local.INFO: TCP Data received {"connection_id":89585,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:08:40] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:08:40] local.INFO: IMEI packet received {"connection_id":89585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":89585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:08:41] local.INFO: TCP Data received {"connection_id":89585,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d5d448012d1a10800723a9c8003200f526..."} 
[2026-06-02 11:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d5d448012d1a10800723a9c8003200f526..."} 
[2026-06-02 11:08:41] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d5d448012d1a10800723a9c8003200f526..."} 
[2026-06-02 11:08:41] local.INFO: Packet analysis {"connection_id":89585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:41] local.INFO: Extracted packet for processing {"connection_id":89585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756682880,"raw_latitude":119777736,"longitude_deg":75.668288,"latitude_deg":11.9777736,"altitude":50,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d1a1080","hex_latitude":"0723a9c8","is_valid_coordinates":true} 
[2026-06-02 11:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776921600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125126733933314048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881449143741642752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780378621000,"timestamp_ms":1780378621000,"timestamp_seconds":1780378621,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d5d448"} 
[2026-06-02 11:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:08:41] 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-06-02 11:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 11:08:41] 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-06-02 11:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:08:41] 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-06-02 11:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776921600001,"66":13852,"42":206,"83":42752,"24":0,"16":125126733933314048,"45":1881449143741642752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776921600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:08:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125126733933314048,"km_value":125126733933314.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881449143741642752,"description":"Unknown IO ID 45"} 
[2026-06-02 11:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776921600001,"power":13852,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1881449143741642752}} 
[2026-06-02 11:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":89585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:08:41] local.INFO: GPS data processed {"connection_id":89585,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:08:41] local.INFO: Acknowledgment sent {"connection_id":89585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:08:43] local.INFO: TCP Data received {"connection_id":89585,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d62650012d1a10800723a9c8003200f529..."} 
[2026-06-02 11:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d62650012d1a10800723a9c8003200f529..."} 
[2026-06-02 11:08:43] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d62650012d1a10800723a9c8003200f529..."} 
[2026-06-02 11:08:43] local.INFO: Packet analysis {"connection_id":89585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:08:43] local.INFO: Extracted packet for processing {"connection_id":89585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756682880,"raw_latitude":119777736,"longitude_deg":75.668288,"latitude_deg":11.9777736,"altitude":50,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d1a1080","hex_latitude":"0723a9c8","is_valid_coordinates":true} 
[2026-06-02 11:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776926976001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125126733933314048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878141812764952576,"note":"Value kept but may cause issues"} 
[2026-06-02 11:08:43] 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-06-02 11:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780378642000,"timestamp_ms":1780378642000,"timestamp_seconds":1780378642,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d62650"} 
[2026-06-02 11:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 11:08: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-06-02 11:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:08:43] 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-06-02 11:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776926976001,"66":14483,"42":206,"83":42752,"24":0,"16":125126733933314048,"45":1878141812764952576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776926976001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:08:43] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:08:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125126733933314048,"km_value":125126733933314.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878141812764952576,"description":"Unknown IO ID 45"} 
[2026-06-02 11:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776926976001,"power":14483,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1878141812764952576}} 
[2026-06-02 11:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":89585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:08:43] local.INFO: GPS data processed {"connection_id":89585,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:08:43] local.INFO: Acknowledgment sent {"connection_id":89585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:01] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d5f388012ceb61400713bff8000b00542e..."} 
[2026-06-02 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d5f388012ceb61400713bff8000b00542e..."} 
[2026-06-02 11:09:01] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d5f388012ceb61400713bff8000b00542e..."} 
[2026-06-02 11:09:01] local.INFO: Packet analysis {"connection_id":89737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:09:01] local.INFO: Extracted packet for processing {"connection_id":89737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d5"} 
[2026-06-02 11:09:01] local.INFO: GPS Element Parsed {"raw_longitude":753623360,"raw_latitude":118734840,"longitude_deg":75.362336,"latitude_deg":11.873484,"altitude":11,"angle":84,"satellites":46,"speed":0,"hex_longitude":"2ceb6140","hex_latitude":"0713bff8","is_valid_coordinates":true} 
[2026-06-02 11:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776923648001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499078144294912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485836002915256320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09: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-06-02 11:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378629000,"timestamp_ms":1780378629000,"timestamp_seconds":1780378629,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d5f388"} 
[2026-06-02 11:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:09: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-06-02 11:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 11:09:01] 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-06-02 11:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09: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-06-02 11:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776923648001,"66":27876,"190":206,"83":41472,"24":0,"16":305499078144294912,"44":-1485836002915256320},"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-06-02 11:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776923648001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:09:01] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499078144294912,"km_value":305499078144294.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485836002915256320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776923648001,"power":27876,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1485836002915256320}} 
[2026-06-02 11:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":89737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:09:01] local.INFO: GPS data processed {"connection_id":89737,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:09:01] local.INFO: Acknowledgment sent {"connection_id":89737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:14] local.INFO: TCP Data received {"connection_id":89585,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d67858012d1a10800723a9c8003200f52a..."} 
[2026-06-02 11:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d67858012d1a10800723a9c8003200f52a..."} 
[2026-06-02 11:09:14] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d67858012d1a10800723a9c8003200f52a..."} 
[2026-06-02 11:09:14] local.INFO: Packet analysis {"connection_id":89585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:14] local.INFO: Extracted packet for processing {"connection_id":89585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756682880,"raw_latitude":119777736,"longitude_deg":75.668288,"latitude_deg":11.9777736,"altitude":50,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d1a1080","hex_latitude":"0723a9c8","is_valid_coordinates":true} 
[2026-06-02 11:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776932352001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125126733933314048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878141812764952576,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:14] 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-06-02 11:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780378663000,"timestamp_ms":1780378663000,"timestamp_seconds":1780378663,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d67858"} 
[2026-06-02 11:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:09:14] 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-06-02 11:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 11:09:14] 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-06-02 11:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:09:14] 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-06-02 11:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776932352001,"66":14265,"42":206,"83":42752,"24":0,"16":125126733933314048,"45":1878141812764952576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776932352001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:09:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125126733933314048,"km_value":125126733933314.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878141812764952576,"description":"Unknown IO ID 45"} 
[2026-06-02 11:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776932352001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1878141812764952576}} 
[2026-06-02 11:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":89585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:09:14] local.INFO: GPS data processed {"connection_id":89585,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:09:14] local.INFO: Acknowledgment sent {"connection_id":89585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:29] local.INFO: TCP Data received {"connection_id":89332,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:09:29] local.INFO: Processing buffer {"connection_id":89332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:09:29] local.INFO: IMEI packet received {"connection_id":89332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":89332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:09:29] local.INFO: TCP Data received {"connection_id":90798,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:09:29] local.INFO: Processing buffer {"connection_id":90798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:09:29] local.INFO: IMEI packet received {"connection_id":90798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":90798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:09:30] local.INFO: TCP Data received {"connection_id":89332,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d67c40012cf43240073987000087003d2b..."} 
[2026-06-02 11:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d67c40012cf43240073987000087003d2b..."} 
[2026-06-02 11:09:30] local.INFO: Processing buffer {"connection_id":89332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d67c40012cf43240073987000087003d2b..."} 
[2026-06-02 11:09:30] local.INFO: Packet analysis {"connection_id":89332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:30] local.INFO: Extracted packet for processing {"connection_id":89332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:30] local.INFO: GPS Element Parsed {"raw_longitude":754201152,"raw_latitude":121210624,"longitude_deg":75.4201152,"latitude_deg":12.1210624,"altitude":135,"angle":61,"satellites":43,"speed":38,"hex_longitude":"2cf43240","hex_latitude":"07398700","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776937472001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119108703067570176,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-852235829706043392,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378664000,"timestamp_ms":1780378664000,"timestamp_seconds":1780378664,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d67c40"} 
[2026-06-02 11:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-02 11:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776937472001,"66":27952,"22":206,"28":26368,"24":38,"16":119108703067570176,"44":-852235829706043392},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,28,24,16,44]} 
[2026-06-02 11:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776937472001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:09:30] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-02 11:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119108703067570176,"km_value":119108703067570.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-852235829706043392,"description":"Unknown IO ID 44"} 
[2026-06-02 11:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776937472001,"power":27952,"unknown_22":206,"unknown_28":26368,"ignition":38,"odometer":null,"unknown_44":-852235829706043392}} 
[2026-06-02 11:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":89332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:09:30] local.INFO: GPS data processed {"connection_id":89332,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:09:30] local.INFO: Acknowledgment sent {"connection_id":89332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:34] local.INFO: TCP Data received {"connection_id":90798,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:09:34] local.INFO: Processing buffer {"connection_id":90798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:09:34] local.INFO: IMEI packet received {"connection_id":90798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":90798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:09:34] local.INFO: TCP Data received {"connection_id":90799,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:09:34] local.INFO: Processing buffer {"connection_id":90799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:09:34] local.INFO: IMEI packet received {"connection_id":90799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":90799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:09:35] local.INFO: TCP Data received {"connection_id":90798,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d64590012ceb61400713bff8000b00542d..."} 
[2026-06-02 11:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d64590012ceb61400713bff8000b00542d..."} 
[2026-06-02 11:09:35] local.INFO: Processing buffer {"connection_id":90798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d64590012ceb61400713bff8000b00542d..."} 
[2026-06-02 11:09:35] local.INFO: Packet analysis {"connection_id":90798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:35] local.INFO: Extracted packet for processing {"connection_id":90798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":753623360,"raw_latitude":118734840,"longitude_deg":75.362336,"latitude_deg":11.873484,"altitude":11,"angle":84,"satellites":45,"speed":0,"hex_longitude":"2ceb6140","hex_latitude":"0713bff8","is_valid_coordinates":true} 
[2026-06-02 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776929024001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499078144294912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485836002915256320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:35] 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-06-02 11:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780378650000,"timestamp_ms":1780378650000,"timestamp_seconds":1780378650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d64590"} 
[2026-06-02 11:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:09: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-06-02 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 11:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776929024001,"66":27919,"190":206,"83":41472,"24":0,"16":305499078144294912,"44":-1485836002915256320},"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-06-02 11:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776929024001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499078144294912,"km_value":305499078144294.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:09:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485836002915256320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776929024001,"power":27919,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1485836002915256320}} 
[2026-06-02 11:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":90798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:09:35] local.INFO: GPS data processed {"connection_id":90798,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:09:35] local.INFO: Acknowledgment sent {"connection_id":90798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:39] local.INFO: TCP Data received {"connection_id":90799,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:09:39] local.INFO: Processing buffer {"connection_id":90799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:09:39] local.INFO: IMEI packet received {"connection_id":90799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":90799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:09:40] local.INFO: TCP Data received {"connection_id":90798,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d67470012ceb63400713bea0000a007b2e..."} 
[2026-06-02 11:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d67470012ceb63400713bea0000a007b2e..."} 
[2026-06-02 11:09:40] local.INFO: Processing buffer {"connection_id":90798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d67470012ceb63400713bea0000a007b2e..."} 
[2026-06-02 11:09:40] local.INFO: Packet analysis {"connection_id":90798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:40] local.INFO: Extracted packet for processing {"connection_id":90798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:40] local.INFO: GPS Element Parsed {"raw_longitude":753623872,"raw_latitude":118734496,"longitude_deg":75.3623872,"latitude_deg":11.8734496,"altitude":10,"angle":123,"satellites":46,"speed":8,"hex_longitude":"2ceb6340","hex_latitude":"0713bea0","is_valid_coordinates":true} 
[2026-06-02 11:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776934400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499108209065984,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485836002915256320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:40] 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-06-02 11:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378662000,"timestamp_ms":1780378662000,"timestamp_seconds":1780378662,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d67470"} 
[2026-06-02 11:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:09: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-06-02 11:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 11:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776934400001,"66":27767,"190":206,"83":41472,"24":8,"16":305499108209065984,"44":-1485836002915256320},"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-06-02 11:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776934400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499108209065984,"km_value":305499108209066.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485836002915256320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776934400001,"power":27767,"unknown_190":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1485836002915256320}} 
[2026-06-02 11:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":90798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:09:40] local.INFO: GPS data processed {"connection_id":90798,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:09:40] local.INFO: Acknowledgment sent {"connection_id":90798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:40] local.INFO: TCP Data received {"connection_id":90799,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d6c290012d1a0f400723a9f8002f011829..."} 
[2026-06-02 11:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d6c290012d1a0f400723a9f8002f011829..."} 
[2026-06-02 11:09:40] local.INFO: Processing buffer {"connection_id":90799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d6c290012d1a0f400723a9f8002f011829..."} 
[2026-06-02 11:09:40] local.INFO: Packet analysis {"connection_id":90799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:40] local.INFO: Extracted packet for processing {"connection_id":90799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756682560,"raw_latitude":119777784,"longitude_deg":75.668256,"latitude_deg":11.9777784,"altitude":47,"angle":280,"satellites":41,"speed":5,"hex_longitude":"2d1a0f40","hex_latitude":"0723a9f8","is_valid_coordinates":true} 
[2026-06-02 11:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776937728001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125126751113183232,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878141812764952576,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09: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-06-02 11:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378682000,"timestamp_ms":1780378682000,"timestamp_seconds":1780378682,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d6c290"} 
[2026-06-02 11:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 11:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:09:40] 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-06-02 11:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776937728001,"66":13798,"42":206,"83":42752,"24":5,"16":125126751113183232,"45":1878141812764952576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776937728001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125126751113183232,"km_value":125126751113183.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878141812764952576,"description":"Unknown IO ID 45"} 
[2026-06-02 11:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776937728001,"power":13798,"unknown_42":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1878141812764952576}} 
[2026-06-02 11:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":90799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:09:40] local.INFO: GPS data processed {"connection_id":90799,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:09:40] local.INFO: Acknowledgment sent {"connection_id":90799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:44] local.INFO: TCP Data received {"connection_id":90798,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d68028012ceb66400713bd28000a006e2d..."} 
[2026-06-02 11:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d68028012ceb66400713bd28000a006e2d..."} 
[2026-06-02 11:09:44] local.INFO: Processing buffer {"connection_id":90798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d68028012ceb66400713bd28000a006e2d..."} 
[2026-06-02 11:09:44] local.INFO: Packet analysis {"connection_id":90798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:44] local.INFO: Extracted packet for processing {"connection_id":90798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:09:44] local.INFO: GPS Element Parsed {"raw_longitude":753624640,"raw_latitude":118734120,"longitude_deg":75.362464,"latitude_deg":11.873412,"altitude":10,"angle":110,"satellites":45,"speed":13,"hex_longitude":"2ceb6640","hex_latitude":"0713bd28","is_valid_coordinates":true} 
[2026-06-02 11:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776937472001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499151158738944,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485273052961923072,"note":"Value kept but may cause issues"} 
[2026-06-02 11:09:44] 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-06-02 11:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780378665000,"timestamp_ms":1780378665000,"timestamp_seconds":1780378665,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d68028"} 
[2026-06-02 11:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 11:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":90798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":90798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":90798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:09:44] 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-06-02 11:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776937472001,"66":28050,"190":206,"83":41472,"24":13,"16":305499151158738944,"44":-1485273052961923072},"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-06-02 11:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776937472001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:09:44] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499151158738944,"km_value":305499151158738.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485273052961923072,"description":"Unknown IO ID 44"} 
[2026-06-02 11:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776937472001,"power":28050,"unknown_190":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-1485273052961923072}} 
[2026-06-02 11:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":90798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:09:44] local.INFO: GPS data processed {"connection_id":90798,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:09:44] local.INFO: Acknowledgment sent {"connection_id":90798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:09:58] local.INFO: TCP Data received {"connection_id":90800,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:09:58] local.INFO: Processing buffer {"connection_id":90800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:09:58] local.INFO: IMEI packet received {"connection_id":90800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":90800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:10:03] local.INFO: TCP Data received {"connection_id":90800,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:10:03] local.INFO: Processing buffer {"connection_id":90800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:10:03] local.INFO: IMEI packet received {"connection_id":90800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":90800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:10:04] local.INFO: TCP Data received {"connection_id":90800,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d76e70012cf4ee40073a2a28006a003128..."} 
[2026-06-02 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d76e70012cf4ee40073a2a28006a003128..."} 
[2026-06-02 11:10:04] local.INFO: Processing buffer {"connection_id":90800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d76e70012cf4ee40073a2a28006a003128..."} 
[2026-06-02 11:10:04] local.INFO: Packet analysis {"connection_id":90800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:10:04] local.INFO: Extracted packet for processing {"connection_id":90800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:10:04] local.INFO: GPS Element Parsed {"raw_longitude":754249280,"raw_latitude":121252392,"longitude_deg":75.424928,"latitude_deg":12.1252392,"altitude":106,"angle":49,"satellites":40,"speed":21,"hex_longitude":"2cf4ee40","hex_latitude":"073a2a28","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776952320001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119111872753434624,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-802274021329551360,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780378726000,"timestamp_ms":1780378726000,"timestamp_seconds":1780378726,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d76e70"} 
[2026-06-02 11:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:10: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-06-02 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 11:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776952320001,"66":28398,"62":206,"28":26368,"24":21,"16":119111872753434624,"44":-802274021329551360},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,44]} 
[2026-06-02 11:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776952320001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:10:04] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-06-02 11:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119111872753434624,"km_value":119111872753434.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-802274021329551360,"description":"Unknown IO ID 44"} 
[2026-06-02 11:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776952320001,"power":28398,"unknown_62":206,"unknown_28":26368,"ignition":21,"odometer":null,"unknown_44":-802274021329551360}} 
[2026-06-02 11:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":90800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:10:04] local.INFO: GPS data processed {"connection_id":90800,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:10:04] local.INFO: Acknowledgment sent {"connection_id":90800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:10:11] local.INFO: TCP Data received {"connection_id":90799,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d6ca60012d1a0e800723aa800030013729..."} 
[2026-06-02 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d6ca60012d1a0e800723aa800030013729..."} 
[2026-06-02 11:10:11] local.INFO: Processing buffer {"connection_id":90799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d6ca60012d1a0e800723aa800030013729..."} 
[2026-06-02 11:10:11] local.INFO: Packet analysis {"connection_id":90799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:10:11] local.INFO: Extracted packet for processing {"connection_id":90799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756682368,"raw_latitude":119777920,"longitude_deg":75.6682368,"latitude_deg":11.977792,"altitude":48,"angle":311,"satellites":41,"speed":5,"hex_longitude":"2d1a0e80","hex_latitude":"0723aa80","is_valid_coordinates":true} 
[2026-06-02 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776942592001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125126763998085120,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877789969044076544,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:11] 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-06-02 11:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780378684000,"timestamp_ms":1780378684000,"timestamp_seconds":1780378684,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d6ca60"} 
[2026-06-02 11:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:10:11] 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-06-02 11:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776942592001,"66":13820,"42":206,"83":42752,"24":5,"16":125126763998085120,"45":1877789969044076544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776942592001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:10:11] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125126763998085120,"km_value":125126763998085.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877789969044076544,"description":"Unknown IO ID 45"} 
[2026-06-02 11:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776942592001,"power":13820,"unknown_42":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1877789969044076544}} 
[2026-06-02 11:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":90799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:10:12] local.INFO: GPS data processed {"connection_id":90799,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:10:12] local.INFO: Acknowledgment sent {"connection_id":90799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:10:24] local.INFO: TCP Data received {"connection_id":89586,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:10:24] local.INFO: Processing buffer {"connection_id":89586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:10:24] local.INFO: IMEI packet received {"connection_id":89586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":89586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:10:29] local.INFO: TCP Data received {"connection_id":89586,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:10:29] local.INFO: Processing buffer {"connection_id":89586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:10:29] local.INFO: IMEI packet received {"connection_id":89586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":89586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:10:30] local.INFO: TCP Data received {"connection_id":89586,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d687f8012ceb69000713bc88000b00612e..."} 
[2026-06-02 11:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d687f8012ceb69000713bc88000b00612e..."} 
[2026-06-02 11:10:30] local.INFO: Processing buffer {"connection_id":89586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d687f8012ceb69000713bc88000b00612e..."} 
[2026-06-02 11:10:30] local.INFO: Packet analysis {"connection_id":89586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:10:30] local.INFO: Extracted packet for processing {"connection_id":89586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:10:30] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":118733960,"longitude_deg":75.3625344,"latitude_deg":11.873396,"altitude":11,"angle":97,"satellites":46,"speed":12,"hex_longitude":"2ceb6900","hex_latitude":"0713bc88","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776938240001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499185518477312,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484428628031887360,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:30] 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-06-02 11:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378667000,"timestamp_ms":1780378667000,"timestamp_seconds":1780378667,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d687f8"} 
[2026-06-02 11:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11: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-06-02 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 11:10:30] 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-06-02 11: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-06-02 11:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:10:30] 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-06-02 11:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776938240001,"66":27995,"190":206,"83":41472,"24":12,"16":305499185518477312,"44":-1484428628031887360},"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-06-02 11:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776938240001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:10:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499185518477312,"km_value":305499185518477.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484428628031887360,"description":"Unknown IO ID 44"} 
[2026-06-02 11:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776938240001,"power":27995,"unknown_190":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-1484428628031887360}} 
[2026-06-02 11:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":89586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:10:30] local.INFO: GPS data processed {"connection_id":89586,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:10:30] local.INFO: Acknowledgment sent {"connection_id":89586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:10:31] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:31] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:31] local.INFO: IMEI packet received {"connection_id":89738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":89738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:10:35] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:35] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:35] local.INFO: IMEI packet received {"connection_id":89738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":89738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:10:38] local.INFO: TCP Data received {"connection_id":90800,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d79d50012cf4ff40073a3c280071002227..."} 
[2026-06-02 11:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d79d50012cf4ff40073a3c280071002227..."} 
[2026-06-02 11:10:38] local.INFO: Processing buffer {"connection_id":90800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d79d50012cf4ff40073a3c280071002227..."} 
[2026-06-02 11:10:38] local.INFO: Packet analysis {"connection_id":90800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:10:38] local.INFO: Extracted packet for processing {"connection_id":90800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:10:38] local.INFO: GPS Element Parsed {"raw_longitude":754253632,"raw_latitude":121257000,"longitude_deg":75.4253632,"latitude_deg":12.1257,"altitude":113,"angle":34,"satellites":39,"speed":19,"hex_longitude":"2cf4ff40","hex_latitude":"073a3c28","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776953856001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112177696112640,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-797629684213209088,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780378738000,"timestamp_ms":1780378738000,"timestamp_seconds":1780378738,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d79d50"} 
[2026-06-02 11:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 11:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776953856001,"66":28452,"62":206,"28":26368,"24":19,"16":119112177696112640,"44":-797629684213209088},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,44]} 
[2026-06-02 11:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776953856001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:10:38] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-06-02 11:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119112177696112640,"km_value":119112177696112.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-797629684213209088,"description":"Unknown IO ID 44"} 
[2026-06-02 11:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776953856001,"power":28452,"unknown_62":206,"unknown_28":26368,"ignition":19,"odometer":null,"unknown_44":-797629684213209088}} 
[2026-06-02 11:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":90800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:10:38] local.INFO: GPS data processed {"connection_id":90800,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:10:38] local.INFO: Acknowledgment sent {"connection_id":90800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:10:39] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:39] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:10:39] local.INFO: IMEI packet received {"connection_id":89738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":89738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:10:40] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d81668012d1a798007241258002c00392a..."} 
[2026-06-02 11:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d81668012d1a798007241258002c00392a..."} 
[2026-06-02 11:10:40] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d81668012d1a798007241258002c00392a..."} 
[2026-06-02 11:10:40] local.INFO: Packet analysis {"connection_id":89738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:10:40] local.INFO: Extracted packet for processing {"connection_id":89738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:10:40] local.INFO: GPS Element Parsed {"raw_longitude":756709760,"raw_latitude":119804504,"longitude_deg":75.670976,"latitude_deg":11.9804504,"altitude":44,"angle":57,"satellites":42,"speed":0,"hex_longitude":"2d1a7980","hex_latitude":"07241258","is_valid_coordinates":true} 
[2026-06-02 11:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776959488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125128658078662656,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904318985605443584,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378769000,"timestamp_ms":1780378769000,"timestamp_seconds":1780378769,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d81668"} 
[2026-06-02 11:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 11:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:10:40] 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-06-02 11:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776959488001,"66":13830,"43":206,"83":42752,"24":0,"16":125128658078662656,"45":1904318985605443584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 11:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776959488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:10:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 11:10:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125128658078662656,"km_value":125128658078662.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904318985605443584,"description":"Unknown IO ID 45"} 
[2026-06-02 11:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776959488001,"power":13830,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1904318985605443584}} 
[2026-06-02 11:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":89738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:10:40] local.INFO: GPS data processed {"connection_id":89738,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:10:40] local.INFO: Acknowledgment sent {"connection_id":89738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:10:44] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d84548012d1a7fc007241538002e004526..."} 
[2026-06-02 11:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d84548012d1a7fc007241538002e004526..."} 
[2026-06-02 11:10:44] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d84548012d1a7fc007241538002e004526..."} 
[2026-06-02 11:10:44] local.INFO: Packet analysis {"connection_id":89738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:10:44] local.INFO: Extracted packet for processing {"connection_id":89738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756711360,"raw_latitude":119805240,"longitude_deg":75.671136,"latitude_deg":11.980524,"altitude":46,"angle":69,"satellites":38,"speed":20,"hex_longitude":"2d1a7fc0","hex_latitude":"07241538","is_valid_coordinates":true} 
[2026-06-02 11:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776964864001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125128739683041280,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907696685326424064,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] 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-06-02 11:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780378781000,"timestamp_ms":1780378781000,"timestamp_seconds":1780378781,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d84548"} 
[2026-06-02 11:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627455708160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262237456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3611011073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3846176814,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3556822367,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2327183360,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":218,"raw_value":331064937547555,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2305894687403737101,"note":"Value kept but may cause issues"} 
[2026-06-02 11:10:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,43,83,24,241,157,16,139,158,196,45,128,11,41,10,66,114,192,6,44,98,64,1,240,82,227,134,35,4,113,205,39,56,136,40,239,2,188,7,48,36,218,173],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-06-02 11:10:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170596990220238848,"timestamp_seconds":3170596990220239.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:10:44] 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-06-02 11:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776964864001,"66":13863,"137":206,"83":42752,"24":20,"16":125128739683041280,"45":1907696685326424064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776964864001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:10:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125128739683041280,"km_value":125128739683041.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907696685326424064,"description":"Unknown IO ID 45"} 
[2026-06-02 11:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776964864001,"power":13863,"unknown_137":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1907696685326424064}} 
[2026-06-02 11:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":89738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:10:45] local.INFO: GPS data processed {"connection_id":89738,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:10:45] local.INFO: Acknowledgment sent {"connection_id":89738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:10:58] local.INFO: TCP Data received {"connection_id":89333,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:10:58] local.INFO: Processing buffer {"connection_id":89333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:10:58] local.INFO: IMEI packet received {"connection_id":89333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":89333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:11:00] local.INFO: TCP Data received {"connection_id":89333,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:00] local.INFO: Processing buffer {"connection_id":89333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:00] local.INFO: IMEI packet received {"connection_id":89333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":89333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:11:01] local.INFO: TCP Data received {"connection_id":89586,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d68fc8012ceb6bc00713bc80000b00542e..."} 
[2026-06-02 11:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d68fc8012ceb6bc00713bc80000b00542e..."} 
[2026-06-02 11:11:01] local.INFO: Processing buffer {"connection_id":89586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d68fc8012ceb6bc00713bc80000b00542e..."} 
[2026-06-02 11:11:01] local.INFO: Packet analysis {"connection_id":89586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:11:01] local.INFO: Extracted packet for processing {"connection_id":89586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:11:01] local.INFO: GPS Element Parsed {"raw_longitude":753626048,"raw_latitude":118733952,"longitude_deg":75.3626048,"latitude_deg":11.8733952,"altitude":11,"angle":84,"satellites":46,"speed":12,"hex_longitude":"2ceb6bc0","hex_latitude":"0713bc80","is_valid_coordinates":true} 
[2026-06-02 11:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776938752001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499215583248384,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483654571845974016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11: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-06-02 11:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378669000,"timestamp_ms":1780378669000,"timestamp_seconds":1780378669,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d68fc8"} 
[2026-06-02 11:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11: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-06-02 11:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 11:11:01] 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-06-02 11:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:11: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-06-02 11:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776938752001,"66":28050,"190":206,"83":41472,"24":12,"16":305499215583248384,"44":-1483654571845974016},"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-06-02 11:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776938752001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:11:01] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499215583248384,"km_value":305499215583248.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483654571845974016,"description":"Unknown IO ID 44"} 
[2026-06-02 11:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776938752001,"power":28050,"unknown_190":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-1483654571845974016}} 
[2026-06-02 11:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":89586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:11:01] local.INFO: GPS data processed {"connection_id":89586,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:11:01] local.INFO: Acknowledgment sent {"connection_id":89586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:11:03] local.INFO: TCP Data received {"connection_id":89333,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:03] local.INFO: Processing buffer {"connection_id":89333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:03] local.INFO: IMEI packet received {"connection_id":89333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":89333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:11:05] local.INFO: TCP Data received {"connection_id":89333,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d7b4c0012cf50780073a43c80074003427..."} 
[2026-06-02 11:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d7b4c0012cf50780073a43c80074003427..."} 
[2026-06-02 11:11:05] local.INFO: Processing buffer {"connection_id":89333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d7b4c0012cf50780073a43c80074003427..."} 
[2026-06-02 11:11:05] local.INFO: Packet analysis {"connection_id":89333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:11:05] local.INFO: Extracted packet for processing {"connection_id":89333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:11:05] local.INFO: GPS Element Parsed {"raw_longitude":754255744,"raw_latitude":121258952,"longitude_deg":75.4255744,"latitude_deg":12.1258952,"altitude":116,"angle":52,"satellites":39,"speed":15,"hex_longitude":"2cf50780","hex_latitude":"073a43c8","is_valid_coordinates":true} 
[2026-06-02 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776956928001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112319430033408,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-792844609607948288,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780378744000,"timestamp_ms":1780378744000,"timestamp_seconds":1780378744,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d7b4c0"} 
[2026-06-02 11:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:11: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-06-02 11:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776956928001,"66":28354,"62":206,"28":26368,"24":15,"16":119112319430033408,"44":-792844609607948288},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,44]} 
[2026-06-02 11:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776956928001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:11:05] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-06-02 11:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119112319430033408,"km_value":119112319430033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-792844609607948288,"description":"Unknown IO ID 44"} 
[2026-06-02 11:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776956928001,"power":28354,"unknown_62":206,"unknown_28":26368,"ignition":15,"odometer":null,"unknown_44":-792844609607948288}} 
[2026-06-02 11:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":89333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:11:05] local.INFO: GPS data processed {"connection_id":89333,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:11:05] local.INFO: Acknowledgment sent {"connection_id":89333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:11:15] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d87428012d1aa380072424e0002b004326..."} 
[2026-06-02 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d87428012d1aa380072424e0002b004326..."} 
[2026-06-02 11:11:15] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d87428012d1aa380072424e0002b004326..."} 
[2026-06-02 11:11:15] local.INFO: Packet analysis {"connection_id":89738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:11:15] local.INFO: Extracted packet for processing {"connection_id":89738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756720512,"raw_latitude":119809248,"longitude_deg":75.6720512,"latitude_deg":11.9809248,"altitude":43,"angle":67,"satellites":38,"speed":37,"hex_longitude":"2d1aa380","hex_latitude":"072424e0","is_valid_coordinates":true} 
[2026-06-02 11:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776967936001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125129216424411136,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909455903931054080,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:15] 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-06-02 11:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780378793000,"timestamp_ms":1780378793000,"timestamp_seconds":1780378793,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d87428"} 
[2026-06-02 11:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-02 11:11:15] 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-06-02 11:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:11:15] 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-06-02 11:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776967936001,"66":13972,"137":206,"83":42752,"24":37,"16":125129216424411136,"45":1909455903931054080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776967936001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:11:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125129216424411136,"km_value":125129216424411.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909455903931054080,"description":"Unknown IO ID 45"} 
[2026-06-02 11:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776967936001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1909455903931054080}} 
[2026-06-02 11:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":89738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:11:15] local.INFO: GPS data processed {"connection_id":89738,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:11:15] local.INFO: Acknowledgment sent {"connection_id":89738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:11:24] local.INFO: TCP Data received {"connection_id":89587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:11:24] local.INFO: Processing buffer {"connection_id":89587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:11:24] local.INFO: IMEI packet received {"connection_id":89587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:11:29] local.INFO: TCP Data received {"connection_id":89587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:11:29] local.INFO: Processing buffer {"connection_id":89587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:11:29] local.INFO: IMEI packet received {"connection_id":89587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:11:29] local.INFO: TCP Data received {"connection_id":89587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d69b80012ceb6f800713bd60000c00492d..."} 
[2026-06-02 11:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d69b80012ceb6f800713bd60000c00492d..."} 
[2026-06-02 11:11:29] local.INFO: Processing buffer {"connection_id":89587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d69b80012ceb6f800713bd60000c00492d..."} 
[2026-06-02 11:11:29] local.INFO: Packet analysis {"connection_id":89587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:11:29] local.INFO: Extracted packet for processing {"connection_id":89587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:11:29] local.INFO: GPS Element Parsed {"raw_longitude":753627008,"raw_latitude":118734176,"longitude_deg":75.3627008,"latitude_deg":11.8734176,"altitude":12,"angle":73,"satellites":45,"speed":11,"hex_longitude":"2ceb6f80","hex_latitude":"0713bd60","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776939264001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499262827888640,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482880515660021760,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:29] 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-06-02 11:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780378672000,"timestamp_ms":1780378672000,"timestamp_seconds":1780378672,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d69b80"} 
[2026-06-02 11:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:11: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-06-02 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 11:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:11:29] 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-06-02 11:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776939264001,"66":27930,"190":206,"83":41472,"24":11,"16":305499262827888640,"44":-1482880515660021760},"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-06-02 11:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776939264001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:11:29] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499262827888640,"km_value":305499262827888.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482880515660021760,"description":"Unknown IO ID 44"} 
[2026-06-02 11:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776939264001,"power":27930,"unknown_190":206,"unknown_83":41472,"ignition":11,"odometer":null,"unknown_44":-1482880515660021760}} 
[2026-06-02 11:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":89587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:11:29] local.INFO: GPS data processed {"connection_id":89587,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:11:29] local.INFO: Acknowledgment sent {"connection_id":89587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:11:34] local.INFO: TCP Data received {"connection_id":89588,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:11:34] local.INFO: Processing buffer {"connection_id":89588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:11:34] local.INFO: IMEI packet received {"connection_id":89588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":89588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:11:37] local.INFO: TCP Data received {"connection_id":89333,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d7c460012cf50c80073a46200074004126..."} 
[2026-06-02 11:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d7c460012cf50c80073a46200074004126..."} 
[2026-06-02 11:11:37] local.INFO: Processing buffer {"connection_id":89333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d7c460012cf50c80073a46200074004126..."} 
[2026-06-02 11:11:37] local.INFO: Packet analysis {"connection_id":89333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:11:37] local.INFO: Extracted packet for processing {"connection_id":89333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:11:37] local.INFO: GPS Element Parsed {"raw_longitude":754257024,"raw_latitude":121259552,"longitude_deg":75.4257024,"latitude_deg":12.1259552,"altitude":116,"angle":65,"satellites":38,"speed":11,"hex_longitude":"2cf50c80","hex_latitude":"073a4620","is_valid_coordinates":true} 
[2026-06-02 11:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776958464001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112388149510144,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-790522441049585664,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780378748000,"timestamp_ms":1780378748000,"timestamp_seconds":1780378748,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d7c460"} 
[2026-06-02 11:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 11:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776958464001,"66":28376,"62":206,"28":26368,"24":11,"16":119112388149510144,"44":-790522441049585664},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,44]} 
[2026-06-02 11:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776958464001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:11:37] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-06-02 11:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119112388149510144,"km_value":119112388149510.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-790522441049585664,"description":"Unknown IO ID 44"} 
[2026-06-02 11:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776958464001,"power":28376,"unknown_62":206,"unknown_28":26368,"ignition":11,"odometer":null,"unknown_44":-790522441049585664}} 
[2026-06-02 11:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":89333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:11:37] local.INFO: GPS data processed {"connection_id":89333,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:11:37] local.INFO: Acknowledgment sent {"connection_id":89333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:11:39] local.INFO: TCP Data received {"connection_id":89588,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:11:39] local.INFO: Processing buffer {"connection_id":89588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:11:39] local.INFO: IMEI packet received {"connection_id":89588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":89588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:11:40] local.INFO: TCP Data received {"connection_id":89588,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d8c630012d1abdc0072430f00028004229..."} 
[2026-06-02 11:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d8c630012d1abdc0072430f00028004229..."} 
[2026-06-02 11:11:40] local.INFO: Processing buffer {"connection_id":89588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d8c630012d1abdc0072430f00028004229..."} 
[2026-06-02 11:11:40] local.INFO: Packet analysis {"connection_id":89588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:11:40] local.INFO: Extracted packet for processing {"connection_id":89588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756727232,"raw_latitude":119812336,"longitude_deg":75.6727232,"latitude_deg":11.9812336,"altitude":40,"angle":66,"satellites":41,"speed":8,"hex_longitude":"2d1abdc0","hex_latitude":"072430f0","is_valid_coordinates":true} 
[2026-06-02 11:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776971008001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125129568611729408,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919518634349486080,"note":"Value kept but may cause issues"} 
[2026-06-02 11:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378814000,"timestamp_ms":1780378814000,"timestamp_seconds":1780378814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d8c630"} 
[2026-06-02 11:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-02 11:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:11:40] 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-06-02 11:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776971008001,"66":13830,"137":206,"83":42752,"24":8,"16":125129568611729408,"45":1919518634349486080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776971008001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:11:40] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125129568611729408,"km_value":125129568611729.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919518634349486080,"description":"Unknown IO ID 45"} 
[2026-06-02 11:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776971008001,"power":13830,"unknown_137":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1919518634349486080}} 
[2026-06-02 11:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":89588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:11:40] local.INFO: GPS data processed {"connection_id":89588,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:11:40] local.INFO: Acknowledgment sent {"connection_id":89588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:11:58] local.INFO: TCP Data received {"connection_id":89739,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:58] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:11:58] local.INFO: IMEI packet received {"connection_id":89739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":89739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:12:01] local.INFO: TCP Data received {"connection_id":89587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d6c678012ceb76800713bf50000b00582b..."} 
[2026-06-02 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d6c678012ceb76800713bf50000b00582b..."} 
[2026-06-02 11:12:01] local.INFO: Processing buffer {"connection_id":89587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d6c678012ceb76800713bf50000b00582b..."} 
[2026-06-02 11:12:01] local.INFO: Packet analysis {"connection_id":89587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:12:01] local.INFO: Extracted packet for processing {"connection_id":89587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d6"} 
[2026-06-02 11:12:01] local.INFO: GPS Element Parsed {"raw_longitude":753628800,"raw_latitude":118734672,"longitude_deg":75.36288,"latitude_deg":11.8734672,"altitude":11,"angle":88,"satellites":43,"speed":5,"hex_longitude":"2ceb7680","hex_latitude":"0713bf50","is_valid_coordinates":true} 
[2026-06-02 11:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776940032001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499353022201856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481824984497299456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12: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-06-02 11:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378683000,"timestamp_ms":1780378683000,"timestamp_seconds":1780378683,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d6c678"} 
[2026-06-02 11:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:12: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-06-02 11:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:01] 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-06-02 11:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:12: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-06-02 11:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776940032001,"66":28050,"190":206,"83":41472,"24":5,"16":305499353022201856,"44":-1481824984497299456},"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-06-02 11:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776940032001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:12:01] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499353022201856,"km_value":305499353022201.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:12:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481824984497299456,"description":"Unknown IO ID 44"} 
[2026-06-02 11:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776940032001,"power":28050,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1481824984497299456}} 
[2026-06-02 11:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":89587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:12:01] local.INFO: GPS data processed {"connection_id":89587,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:12:01] local.INFO: Acknowledgment sent {"connection_id":89587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:12:04] local.INFO: TCP Data received {"connection_id":89739,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:12:04] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:12:04] local.INFO: IMEI packet received {"connection_id":89739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":89739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:12:05] local.INFO: TCP Data received {"connection_id":89739,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d7d400012cf511c0073a46a80077004c26..."} 
[2026-06-02 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d7d400012cf511c0073a46a80077004c26..."} 
[2026-06-02 11:12:05] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d7d400012cf511c0073a46a80077004c26..."} 
[2026-06-02 11:12:05] local.INFO: Packet analysis {"connection_id":89739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:12:05] local.INFO: Extracted packet for processing {"connection_id":89739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":754258368,"raw_latitude":121259688,"longitude_deg":75.4258368,"latitude_deg":12.1259688,"altitude":119,"angle":76,"satellites":38,"speed":12,"hex_longitude":"2cf511c0","hex_latitude":"073a46a8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776959488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112448279052288,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-789115066165878784,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780378752000,"timestamp_ms":1780378752000,"timestamp_seconds":1780378752,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d7d400"} 
[2026-06-02 11:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:12: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-06-02 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776959488001,"66":28354,"62":206,"28":26368,"24":12,"16":119112448279052288,"44":-789115066165878784},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,44]} 
[2026-06-02 11:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776959488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:12:05] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-06-02 11:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119112448279052288,"km_value":119112448279052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-789115066165878784,"description":"Unknown IO ID 44"} 
[2026-06-02 11:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776959488001,"power":28354,"unknown_62":206,"unknown_28":26368,"ignition":12,"odometer":null,"unknown_44":-789115066165878784}} 
[2026-06-02 11:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":89739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:12:05] local.INFO: GPS data processed {"connection_id":89739,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:12:05] local.INFO: Acknowledgment sent {"connection_id":89739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:12:13] local.INFO: TCP Data received {"connection_id":89588,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d91838012d1acd40072438c0002a003f29..."} 
[2026-06-02 11:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d91838012d1acd40072438c0002a003f29..."} 
[2026-06-02 11:12:13] local.INFO: Processing buffer {"connection_id":89588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d91838012d1acd40072438c0002a003f29..."} 
[2026-06-02 11:12:13] local.INFO: Packet analysis {"connection_id":89588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:13] local.INFO: Extracted packet for processing {"connection_id":89588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756731200,"raw_latitude":119814336,"longitude_deg":75.67312,"latitude_deg":11.9814336,"altitude":42,"angle":63,"satellites":41,"speed":9,"hex_longitude":"2d1acd40","hex_latitude":"072438c0","is_valid_coordinates":true} 
[2026-06-02 11:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776976384001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125129783360094208,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926907352488931328,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] 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-06-02 11:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780378835000,"timestamp_ms":1780378835000,"timestamp_seconds":1780378835,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d91838"} 
[2026-06-02 11:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7036883023495168,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627455638272,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262262456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3619971073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221693446,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2342060032,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":59,"raw_value":-6340737209372506333,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.WARNING: Large IO value detected {"io_id":229,"raw_value":4611736596485046311,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:13] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,137,83,24,241,157,16,140,158,116,45,128,36,43,38,10,66,69,192,21,46,139,22,1,240,6,227,134,4,113,205,20,114,102,136,44,239,54,2,188,7,25,59,229],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-06-02 11:12:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882376505378734080,"timestamp_seconds":2882376505378734.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:13] 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-06-02 11:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776976384001,"66":13906,"137":206,"83":42752,"24":9,"16":125129783360094208,"45":1926907352488931328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776976384001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:12:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125129783360094208,"km_value":125129783360094.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926907352488931328,"description":"Unknown IO ID 45"} 
[2026-06-02 11:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776976384001,"power":13906,"unknown_137":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1926907352488931328}} 
[2026-06-02 11:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":89588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:12:13] local.INFO: GPS data processed {"connection_id":89588,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:12:13] local.INFO: Acknowledgment sent {"connection_id":89588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:12:24] local.INFO: TCP Data received {"connection_id":89334,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:12:24] local.INFO: Processing buffer {"connection_id":89334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:12:24] local.INFO: IMEI packet received {"connection_id":89334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":89334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:12:29] local.INFO: TCP Data received {"connection_id":89334,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:12:29] local.INFO: Processing buffer {"connection_id":89334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:12:29] local.INFO: IMEI packet received {"connection_id":89334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":89334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:12:30] local.INFO: TCP Data received {"connection_id":89334,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d71880012ceb79400713c2e8000d00582c..."} 
[2026-06-02 11:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d71880012ceb79400713c2e8000d00582c..."} 
[2026-06-02 11:12:30] local.INFO: Processing buffer {"connection_id":89334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d71880012ceb79400713c2e8000d00582c..."} 
[2026-06-02 11:12:30] local.INFO: Packet analysis {"connection_id":89334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:12:30] local.INFO: Extracted packet for processing {"connection_id":89334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:12:30] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118735592,"longitude_deg":75.3629504,"latitude_deg":11.8735592,"altitude":13,"angle":88,"satellites":44,"speed":4,"hex_longitude":"2ceb7940","hex_latitude":"0713c2e8","is_valid_coordinates":true} 
[2026-06-02 11:12: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-06-02 11:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776942848001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499421741678592,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479854659660197888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:30] 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-06-02 11:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378704000,"timestamp_ms":1780378704000,"timestamp_seconds":1780378704,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d71880"} 
[2026-06-02 11:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:12: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-06-02 11:12: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":146,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:30] 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-06-02 11:12: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-06-02 11:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:12:30] 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-06-02 11:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776942848001,"66":27887,"190":206,"83":41472,"24":4,"16":305499421741678592,"44":-1479854659660197888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-06-02 11:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776942848001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:12:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499421741678592,"km_value":305499421741678.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479854659660197888,"description":"Unknown IO ID 44"} 
[2026-06-02 11:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776942848001,"power":27887,"unknown_190":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-1479854659660197888}} 
[2026-06-02 11:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":89334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:12:30] local.INFO: GPS data processed {"connection_id":89334,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:12:30] local.INFO: Acknowledgment sent {"connection_id":89334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:12:39] local.INFO: TCP Data received {"connection_id":90801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:12:39] local.INFO: Processing buffer {"connection_id":90801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:12:39] local.INFO: IMEI packet received {"connection_id":90801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":90801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:12:41] local.INFO: TCP Data received {"connection_id":89739,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d8ba780100000000000000000000000000..."} 
[2026-06-02 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d8ba780100000000000000000000000000..."} 
[2026-06-02 11:12:41] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d8ba780100000000000000000000000000..."} 
[2026-06-02 11:12:41] local.INFO: Packet analysis {"connection_id":89739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:12:41] local.INFO: Extracted packet for processing {"connection_id":89739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:12: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-06-02 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776960512001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112525588463616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-787637322538113024,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780378811000,"timestamp_ms":1780378811000,"timestamp_seconds":1780378811,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d8ba78"} 
[2026-06-02 11:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":89739,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 11:12:41] local.INFO: GPS data processed {"connection_id":89739,"processed":0,"errors":0,"total":1} 
[2026-06-02 11:12:41] local.INFO: Acknowledgment sent {"connection_id":89739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:12:44] local.INFO: TCP Data received {"connection_id":90801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:12:44] local.INFO: Processing buffer {"connection_id":90801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:12:44] local.INFO: IMEI packet received {"connection_id":90801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":90801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:12:44] local.INFO: TCP Data received {"connection_id":90801,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 11:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90801,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 11:12:44] local.INFO: Processing buffer {"connection_id":90801,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 11:12:44] local.INFO: IMEI packet received {"connection_id":90801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":90801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:12:46] local.INFO: TCP Data received {"connection_id":90801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d92fa8012d1ad4c007243d30002b003328..."} 
[2026-06-02 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d92fa8012d1ad4c007243d30002b003328..."} 
[2026-06-02 11:12:46] local.INFO: Processing buffer {"connection_id":90801,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019e86..."} 
[2026-06-02 11:12:46] local.INFO: IMEI packet received {"connection_id":90801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":90801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:12:48] local.INFO: TCP Data received {"connection_id":90801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d94330012d1ada8007244290002b002429..."} 
[2026-06-02 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d94330012d1ada8007244290002b002429..."} 
[2026-06-02 11:12:48] local.INFO: Processing buffer {"connection_id":90801,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e86d92fa8012d1ad4c007243d30002b003328..."} 
[2026-06-02 11:12:48] local.INFO: Packet analysis {"connection_id":90801,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:48] local.INFO: Extracted packet for processing {"connection_id":90801,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756733120,"raw_latitude":119815472,"longitude_deg":75.673312,"latitude_deg":11.9815472,"altitude":43,"angle":51,"satellites":40,"speed":16,"hex_longitude":"2d1ad4c0","hex_latitude":"07243d30","is_valid_coordinates":true} 
[2026-06-02 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776981760001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125129886439309312,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1931270214628458496,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] 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-06-02 11:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780378841000,"timestamp_ms":1780378841000,"timestamp_seconds":1780378841,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d92fa8"} 
[2026-06-02 11:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:12:48] 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-06-02 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:48] 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-06-02 11:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":90801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":90801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":90801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:48] 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-06-02 11:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776981760001,"66":13830,"137":206,"83":42752,"24":16,"16":125129886439309312,"45":1931270214628458496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776981760001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125129886439309312,"km_value":125129886439309.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1931270214628458496,"description":"Unknown IO ID 45"} 
[2026-06-02 11:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776981760001,"power":13830,"unknown_137":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1931270214628458496}} 
[2026-06-02 11:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":90801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:12:48] local.INFO: GPS data processed {"connection_id":90801,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:12:48] local.INFO: Acknowledgment sent {"connection_id":90801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:12:48] local.INFO: Packet analysis {"connection_id":90801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:48] local.INFO: Extracted packet for processing {"connection_id":90801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756734592,"raw_latitude":119816848,"longitude_deg":75.6734592,"latitude_deg":11.9816848,"altitude":43,"angle":36,"satellites":41,"speed":12,"hex_longitude":"2d1ada80","hex_latitude":"07244290","is_valid_coordinates":true} 
[2026-06-02 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776983296001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125129985223557120,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933381276954079232,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] 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-06-02 11:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780378846000,"timestamp_ms":1780378846000,"timestamp_seconds":1780378846,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d94330"} 
[2026-06-02 11:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:12:48] 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-06-02 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5629508139941888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627455627008,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262287456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3628419073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2147951634,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2346319872,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":114,"raw_value":6341399341730629412,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-8646864004676059130,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,137,83,24,241,157,16,140,158,45,64,56,42,41,10,66,198,192,48,40,116,128,1,240,148,227,134,36,4,113,205,20,22,121,88,239,54,43,2,188,7,114,6],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-06-02 11:12:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098532790523658240,"timestamp_seconds":3098532790523658.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":90801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":90801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":90801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:48] 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-06-02 11:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776983296001,"66":13928,"137":206,"83":42752,"24":12,"16":125129985223557120,"45":1933381276954079232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776983296001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125129985223557120,"km_value":125129985223557.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933381276954079232,"description":"Unknown IO ID 45"} 
[2026-06-02 11:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776983296001,"power":13928,"unknown_137":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1933381276954079232}} 
[2026-06-02 11:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":90801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:12:48] local.INFO: GPS data processed {"connection_id":90801,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:12:48] local.INFO: Acknowledgment sent {"connection_id":90801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:12:50] local.INFO: TCP Data received {"connection_id":90801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d94ee8012d1adbc007244480002b001729..."} 
[2026-06-02 11:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d94ee8012d1adbc007244480002b001729..."} 
[2026-06-02 11:12:50] local.INFO: Processing buffer {"connection_id":90801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d94ee8012d1adbc007244480002b001729..."} 
[2026-06-02 11:12:50] local.INFO: Packet analysis {"connection_id":90801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:50] local.INFO: Extracted packet for processing {"connection_id":90801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d9"} 
[2026-06-02 11:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756734912,"raw_latitude":119817344,"longitude_deg":75.6734912,"latitude_deg":11.9817344,"altitude":43,"angle":23,"satellites":41,"speed":6,"hex_longitude":"2d1adbc0","hex_latitude":"07244480","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776984576001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125130015288328192,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934999758070517760,"note":"Value kept but may cause issues"} 
[2026-06-02 11:12:50] 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-06-02 11:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780378849000,"timestamp_ms":1780378849000,"timestamp_seconds":1780378849,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d94ee8"} 
[2026-06-02 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-06-02 11:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 11:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 11:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:12:50] 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-06-02 11:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776984576001,"66":14396,"137":206,"83":42752,"24":6,"16":125130015288328192,"45":1934999758070517760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776984576001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:12:50] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125130015288328192,"km_value":125130015288328.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934999758070517760,"description":"Unknown IO ID 45"} 
[2026-06-02 11:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776984576001,"power":14396,"unknown_137":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1934999758070517760}} 
[2026-06-02 11:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":90801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:12:50] local.INFO: GPS data processed {"connection_id":90801,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:12:50] local.INFO: Acknowledgment sent {"connection_id":90801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:13:01] local.INFO: TCP Data received {"connection_id":89334,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d76a88012ceb76800713c700001000582c..."} 
[2026-06-02 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d76a88012ceb76800713c700001000582c..."} 
[2026-06-02 11:13:01] local.INFO: Processing buffer {"connection_id":89334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d76a88012ceb76800713c700001000582c..."} 
[2026-06-02 11:13:01] local.INFO: Packet analysis {"connection_id":89334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:13:01] local.INFO: Extracted packet for processing {"connection_id":89334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":753628800,"raw_latitude":118736640,"longitude_deg":75.36288,"latitude_deg":11.873664,"altitude":16,"angle":88,"satellites":44,"speed":0,"hex_longitude":"2ceb7680","hex_latitude":"0713c700","is_valid_coordinates":true} 
[2026-06-02 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776948224001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499499051089920,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603474008064,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13: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-06-02 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780378725000,"timestamp_ms":1780378725000,"timestamp_seconds":1780378725,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d76a88"} 
[2026-06-02 11:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:13: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-06-02 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 11:13:01] 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-06-02 11:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:13: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-06-02 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776948224001,"66":27974,"190":206,"83":41472,"24":0,"16":305499499051089920,"44":-1479080603474008064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-06-02 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776948224001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:13:01] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499499051089920,"km_value":305499499051089.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603474008064,"description":"Unknown IO ID 44"} 
[2026-06-02 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776948224001,"power":27974,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479080603474008064}} 
[2026-06-02 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":89334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:13:01] local.INFO: GPS data processed {"connection_id":89334,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:13:01] local.INFO: Acknowledgment sent {"connection_id":89334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:13:24] local.INFO: TCP Data received {"connection_id":89335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:13:24] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:13:24] local.INFO: IMEI packet received {"connection_id":89335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":89335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:13:29] local.INFO: TCP Data received {"connection_id":89335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:13:29] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:13:29] local.INFO: IMEI packet received {"connection_id":89335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":89335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:13:30] local.INFO: TCP Data received {"connection_id":89335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d7bc90012ceb74000713c5a0001000582a..."} 
[2026-06-02 11:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d7bc90012ceb74000713c5a0001000582a..."} 
[2026-06-02 11:13:30] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d7bc90012ceb74000713c5a0001000582a..."} 
[2026-06-02 11:13:30] local.INFO: Packet analysis {"connection_id":89335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:13:30] local.INFO: Extracted packet for processing {"connection_id":89335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d7"} 
[2026-06-02 11:13:30] local.INFO: GPS Element Parsed {"raw_longitude":753628160,"raw_latitude":118736288,"longitude_deg":75.362816,"latitude_deg":11.8736288,"altitude":16,"angle":88,"satellites":42,"speed":0,"hex_longitude":"2ceb7400","hex_latitude":"0713c5a0","is_valid_coordinates":true} 
[2026-06-02 11:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776953600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499550590697472,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479854659659694080,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:30] 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-06-02 11:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378746000,"timestamp_ms":1780378746000,"timestamp_seconds":1780378746,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d7bc90"} 
[2026-06-02 11:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 11:13:30] 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-06-02 11:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776953600001,"66":27930,"190":206,"83":41472,"24":0,"16":305499550590697472,"44":-1479854659659694080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-06-02 11:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776953600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:13:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:13:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499550590697472,"km_value":305499550590697.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479854659659694080,"description":"Unknown IO ID 44"} 
[2026-06-02 11:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776953600001,"power":27930,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479854659659694080}} 
[2026-06-02 11:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":89335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:13:30] local.INFO: GPS data processed {"connection_id":89335,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:13:30] local.INFO: Acknowledgment sent {"connection_id":89335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:13:30] local.INFO: TCP Data received {"connection_id":90802,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:30] local.INFO: Processing buffer {"connection_id":90802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:30] local.INFO: IMEI packet received {"connection_id":90802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":90802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:13:34] local.INFO: TCP Data received {"connection_id":90802,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:34] local.INFO: Processing buffer {"connection_id":90802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:34] local.INFO: IMEI packet received {"connection_id":90802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":90802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:13:34] local.INFO: TCP Data received {"connection_id":90803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:13:34] local.INFO: Processing buffer {"connection_id":90803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:13:34] local.INFO: IMEI packet received {"connection_id":90803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":90803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:13:35] local.INFO: TCP Data received {"connection_id":90802,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:35] local.INFO: Processing buffer {"connection_id":90802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:35] local.INFO: IMEI packet received {"connection_id":90802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":90802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:13:38] local.INFO: TCP Data received {"connection_id":90803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:13:38] local.INFO: Processing buffer {"connection_id":90803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:13:38] local.INFO: IMEI packet received {"connection_id":90803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":90803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:13:39] local.INFO: TCP Data received {"connection_id":90802,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:39] local.INFO: Processing buffer {"connection_id":90802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:13:39] local.INFO: IMEI packet received {"connection_id":90802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":90802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:13:39] local.INFO: TCP Data received {"connection_id":90803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86daae78012d1b59000724e0b00024016728..."} 
[2026-06-02 11:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86daae78012d1b59000724e0b00024016728..."} 
[2026-06-02 11:13:39] local.INFO: Processing buffer {"connection_id":90803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86daae78012d1b59000724e0b00024016728..."} 
[2026-06-02 11:13:39] local.INFO: Packet analysis {"connection_id":90803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86da"} 
[2026-06-02 11:13:39] local.INFO: Extracted packet for processing {"connection_id":90803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86da"} 
[2026-06-02 11:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756766976,"raw_latitude":119857328,"longitude_deg":75.6766976,"latitude_deg":11.9857328,"altitude":36,"angle":359,"satellites":40,"speed":27,"hex_longitude":"2d1b5900","hex_latitude":"0724e0b0","is_valid_coordinates":true} 
[2026-06-02 11:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777005824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125132583678771200,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130167963648,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780378939000,"timestamp_ms":1780378939000,"timestamp_seconds":1780378939,"priority":1,"record_length":96,"hex_timestamp":"0000019e86daae78"} 
[2026-06-02 11:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 11:13: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-06-02 11:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:13:39] 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-06-02 11:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777005824001,"66":13624,"44":206,"83":41984,"24":27,"16":125132583678771200,"45":1970184130167963648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 11:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777005824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:13:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 11:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 11:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125132583678771200,"km_value":125132583678771.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130167963648,"description":"Unknown IO ID 45"} 
[2026-06-02 11:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777005824001,"power":13624,"unknown_44":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1970184130167963648}} 
[2026-06-02 11:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":90803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:13:39] local.INFO: GPS data processed {"connection_id":90803,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:13:39] local.INFO: Acknowledgment sent {"connection_id":90803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:13:40] local.INFO: TCP Data received {"connection_id":90802,"ip":"117.224.25.7","data_length":1360,"data_hex":"000000000000030f8e0a0000019e86db52880100000000000000000000000000..."} 
[2026-06-02 11:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90802,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019e86db52880100000000000000000000000000..."} 
[2026-06-02 11:13:40] local.INFO: Processing buffer {"connection_id":90802,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019e86db52880100000000000000000000000000..."} 
[2026-06-02 11:13:40] local.INFO: Packet analysis {"connection_id":90802,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019e86db"} 
[2026-06-02 11:13:40] local.INFO: Extracted packet for processing {"connection_id":90802,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e86db"} 
[2026-06-02 11:13: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-06-02 11:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777004032001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112525588463616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-674554750631661568,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780378981000,"timestamp_ms":1780378981000,"timestamp_seconds":1780378981,"priority":1,"record_length":96,"hex_timestamp":"0000019e86db5288"} 
[2026-06-02 11:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":90802,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 11:13:40] local.INFO: GPS data processed {"connection_id":90802,"processed":0,"errors":0,"total":1} 
[2026-06-02 11:13:40] local.INFO: Acknowledgment sent {"connection_id":90802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:13:40] local.INFO: Packet analysis {"connection_id":90802,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e86da"} 
[2026-06-02 11:13:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":90802,"needed":795,"available":565} 
[2026-06-02 11:13:41] local.INFO: TCP Data received {"connection_id":90802,"ip":"117.224.25.7","data_length":230,"data_hex":"2cf5d580073ad6d80090002c2a00000000000a000400ef0100715900f0010045..."} 
[2026-06-02 11:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90802,"packet_length":230,"packet_hex":"2cf5d580073ad6d80090002c2a00000000000a000400ef0100715900f0010045..."} 
[2026-06-02 11:13:41] local.INFO: Processing buffer {"connection_id":90802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dadd58012cf6d540073b001800bb00382a..."} 
[2026-06-02 11:13:41] local.INFO: Packet analysis {"connection_id":90802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86da"} 
[2026-06-02 11:13:41] local.INFO: Extracted packet for processing {"connection_id":90802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86da"} 
[2026-06-02 11:13:41] local.INFO: GPS Element Parsed {"raw_longitude":754373952,"raw_latitude":121307160,"longitude_deg":75.4373952,"latitude_deg":12.130716,"altitude":187,"angle":56,"satellites":42,"speed":16,"hex_longitude":"2cf6d540","hex_latitude":"073b0018","is_valid_coordinates":true} 
[2026-06-02 11:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112525588463616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:13:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780378951000,"timestamp_ms":1780378951000,"timestamp_seconds":1780378951,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dadd58"} 
[2026-06-02 11:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 11:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"22":206,"28":26368,"24":16,"16":119112525588463616},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,28,24,16]} 
[2026-06-02 11:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:13:41] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-02 11:13:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119112525588463616,"km_value":119112525588463.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:13:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_22":206,"unknown_28":26368,"ignition":16,"odometer":null}} 
[2026-06-02 11:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":90802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:13:41] local.INFO: GPS data processed {"connection_id":90802,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:13:41] local.INFO: Acknowledgment sent {"connection_id":90802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:14:01] local.INFO: TCP Data received {"connection_id":89336,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:01] local.INFO: Processing buffer {"connection_id":89336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:01] local.INFO: IMEI packet received {"connection_id":89336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":89336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:14:02] local.INFO: TCP Data received {"connection_id":89336,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:02] local.INFO: Processing buffer {"connection_id":89336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:02] local.INFO: IMEI packet received {"connection_id":89336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":89336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:14:03] local.INFO: TCP Data received {"connection_id":89336,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:03] local.INFO: Processing buffer {"connection_id":89336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:03] local.INFO: IMEI packet received {"connection_id":89336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":89336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:14:05] local.INFO: TCP Data received {"connection_id":89335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d80e98012ceb77000713c5b8000e00582d..."} 
[2026-06-02 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d80e98012ceb77000713c5b8000e00582d..."} 
[2026-06-02 11:14:05] local.INFO: Processing buffer {"connection_id":89335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d80e98012ceb77000713c5b8000e00582d..."} 
[2026-06-02 11:14:05] local.INFO: Packet analysis {"connection_id":89335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:14:05] local.INFO: Extracted packet for processing {"connection_id":89335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":753628928,"raw_latitude":118736312,"longitude_deg":75.3628928,"latitude_deg":11.8736312,"altitude":14,"angle":88,"satellites":45,"speed":0,"hex_longitude":"2ceb7700","hex_latitude":"0713c5b8","is_valid_coordinates":true} 
[2026-06-02 11:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776958976001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499589245403136,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480558347101560832,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:05] 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-06-02 11:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780378767000,"timestamp_ms":1780378767000,"timestamp_seconds":1780378767,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d80e98"} 
[2026-06-02 11:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 11:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776958976001,"66":27767,"190":206,"83":41472,"24":0,"16":305499589245403136,"44":-1480558347101560832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-06-02 11:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776958976001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:14:05] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499589245403136,"km_value":305499589245403.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480558347101560832,"description":"Unknown IO ID 44"} 
[2026-06-02 11:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776958976001,"power":27767,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1480558347101560832}} 
[2026-06-02 11:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":89335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:14:05] local.INFO: GPS data processed {"connection_id":89335,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:14:05] local.INFO: Acknowledgment sent {"connection_id":89335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:14:08] local.INFO: TCP Data received {"connection_id":89336,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:08] local.INFO: Processing buffer {"connection_id":89336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:08] local.INFO: IMEI packet received {"connection_id":89336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":89336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:14:09] local.INFO: TCP Data received {"connection_id":89336,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dbc3d00100000000000000000000000000..."} 
[2026-06-02 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dbc3d00100000000000000000000000000..."} 
[2026-06-02 11:14:09] local.INFO: Processing buffer {"connection_id":89336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dbc3d00100000000000000000000000000..."} 
[2026-06-02 11:14:09] local.INFO: Packet analysis {"connection_id":89336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86db"} 
[2026-06-02 11:14:09] local.INFO: Extracted packet for processing {"connection_id":89336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86db"} 
[2026-06-02 11:14: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-06-02 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777011456001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119112525588463616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-660551370541099008,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780379010000,"timestamp_ms":1780379010000,"timestamp_seconds":1780379010,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dbc3d0"} 
[2026-06-02 11:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 11:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":89336,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 11:14:09] local.INFO: GPS data processed {"connection_id":89336,"processed":0,"errors":0,"total":1} 
[2026-06-02 11:14:09] local.INFO: Acknowledgment sent {"connection_id":89336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:14:11] local.INFO: TCP Data received {"connection_id":90803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dae140012d1b55c0072503480024000328..."} 
[2026-06-02 11:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dae140012d1b55c0072503480024000328..."} 
[2026-06-02 11:14:11] local.INFO: Processing buffer {"connection_id":90803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dae140012d1b55c0072503480024000328..."} 
[2026-06-02 11:14:11] local.INFO: Packet analysis {"connection_id":90803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86da"} 
[2026-06-02 11:14:11] local.INFO: Extracted packet for processing {"connection_id":90803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86da"} 
[2026-06-02 11:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756766144,"raw_latitude":119866184,"longitude_deg":75.6766144,"latitude_deg":11.9866184,"altitude":36,"angle":3,"satellites":40,"speed":27,"hex_longitude":"2d1b55c0","hex_latitude":"07250348","is_valid_coordinates":true} 
[2026-06-02 11:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777008384001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125133013175500800,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970606342634778624,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780378952000,"timestamp_ms":1780378952000,"timestamp_seconds":1780378952,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dae140"} 
[2026-06-02 11:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-02 11:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777008384001,"66":13787,"44":206,"83":41984,"24":27,"16":125133013175500800,"45":1970606342634778624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 11:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777008384001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 11:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 11:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125133013175500800,"km_value":125133013175500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970606342634778624,"description":"Unknown IO ID 45"} 
[2026-06-02 11:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777008384001,"power":13787,"unknown_44":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1970606342634778624}} 
[2026-06-02 11:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":90803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:14:11] local.INFO: GPS data processed {"connection_id":90803,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:14:11] local.INFO: Acknowledgment sent {"connection_id":90803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:14:24] local.INFO: TCP Data received {"connection_id":89337,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:14:24] local.INFO: Processing buffer {"connection_id":89337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:14:24] local.INFO: IMEI packet received {"connection_id":89337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":89337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:14:29] local.INFO: TCP Data received {"connection_id":89337,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:14:29] local.INFO: Processing buffer {"connection_id":89337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:14:29] local.INFO: IMEI packet received {"connection_id":89337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":89337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:14:30] local.INFO: TCP Data received {"connection_id":89337,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d81668012ceb77400713c440000e009a2b..."} 
[2026-06-02 11:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d81668012ceb77400713c440000e009a2b..."} 
[2026-06-02 11:14:30] local.INFO: Processing buffer {"connection_id":89337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d81668012ceb77400713c440000e009a2b..."} 
[2026-06-02 11:14:30] local.INFO: Packet analysis {"connection_id":89337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:14:30] local.INFO: Extracted packet for processing {"connection_id":89337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:14:30] local.INFO: GPS Element Parsed {"raw_longitude":753628992,"raw_latitude":118735936,"longitude_deg":75.3628992,"latitude_deg":11.8735936,"altitude":14,"angle":154,"satellites":43,"speed":7,"hex_longitude":"2ceb7740","hex_latitude":"0713c440","is_valid_coordinates":true} 
[2026-06-02 11:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776964352001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499606425272320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479713922171422720,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:30] 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-06-02 11:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780378769000,"timestamp_ms":1780378769000,"timestamp_seconds":1780378769,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d81668"} 
[2026-06-02 11:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:14: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-06-02 11:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 11:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:14: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-06-02 11:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776964352001,"66":27800,"190":206,"83":41472,"24":7,"16":305499606425272320,"44":-1479713922171422720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-06-02 11:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776964352001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:14:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499606425272320,"km_value":305499606425272.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479713922171422720,"description":"Unknown IO ID 44"} 
[2026-06-02 11:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776964352001,"power":27800,"unknown_190":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1479713922171422720}} 
[2026-06-02 11:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":89337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:14:30] local.INFO: GPS data processed {"connection_id":89337,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:14:30] local.INFO: Acknowledgment sent {"connection_id":89337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:14:34] local.INFO: TCP Data received {"connection_id":89338,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:14:34] local.INFO: Processing buffer {"connection_id":89338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:14:34] local.INFO: IMEI packet received {"connection_id":89338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":89338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:14:39] local.INFO: TCP Data received {"connection_id":89338,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:14:39] local.INFO: Processing buffer {"connection_id":89338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:14:39] local.INFO: IMEI packet received {"connection_id":89338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":89338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:14:40] local.INFO: TCP Data received {"connection_id":89338,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dc19c0012d1b6dc0072571e00024002029..."} 
[2026-06-02 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dc19c0012d1b6dc0072571e00024002029..."} 
[2026-06-02 11:14:40] local.INFO: Processing buffer {"connection_id":89338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dc19c0012d1b6dc0072571e00024002029..."} 
[2026-06-02 11:14:40] local.INFO: Packet analysis {"connection_id":89338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:14:40] local.INFO: Extracted packet for processing {"connection_id":89338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756772288,"raw_latitude":119894496,"longitude_deg":75.6772288,"latitude_deg":11.9894496,"altitude":36,"angle":32,"satellites":41,"speed":18,"hex_longitude":"2d1b6dc0","hex_latitude":"072571e0","is_valid_coordinates":true} 
[2026-06-02 11:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777030912001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125134447694577664,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975813629712803840,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379032000,"timestamp_ms":1780379032000,"timestamp_seconds":1780379032,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dc19c0"} 
[2026-06-02 11:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 11:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:14:40] 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-06-02 11:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777030912001,"66":13906,"216":206,"83":42752,"24":18,"16":125134447694577664,"45":1975813629712803840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777030912001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:14:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125134447694577664,"km_value":125134447694577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975813629712803840,"description":"Unknown IO ID 45"} 
[2026-06-02 11:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777030912001,"power":13906,"unknown_216":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1975813629712803840}} 
[2026-06-02 11:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":89338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:14:40] local.INFO: GPS data processed {"connection_id":89338,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:14:40] local.INFO: Acknowledgment sent {"connection_id":89338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:14:41] local.INFO: TCP Data received {"connection_id":89336,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dbf2b0012cf75880073ba9d800c000142c..."} 
[2026-06-02 11:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dbf2b0012cf75880073ba9d800c000142c..."} 
[2026-06-02 11:14:41] local.INFO: Processing buffer {"connection_id":89336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dbf2b0012cf75880073ba9d800c000142c..."} 
[2026-06-02 11:14:41] local.INFO: Packet analysis {"connection_id":89336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86db"} 
[2026-06-02 11:14:41] local.INFO: Extracted packet for processing {"connection_id":89336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86db"} 
[2026-06-02 11:14:41] local.INFO: GPS Element Parsed {"raw_longitude":754407552,"raw_latitude":121350616,"longitude_deg":75.4407552,"latitude_deg":12.1350616,"altitude":192,"angle":20,"satellites":44,"speed":36,"hex_longitude":"2cf75880","hex_latitude":"073ba9d8","is_valid_coordinates":true} 
[2026-06-02 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777029120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119114617237536768,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-624522573511415808,"note":"Value kept but may cause issues"} 
[2026-06-02 11:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780379022000,"timestamp_ms":1780379022000,"timestamp_seconds":1780379022,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dbf2b0"} 
[2026-06-02 11:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 11:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777029120001,"66":28398,"23":206,"28":26368,"24":36,"16":119114617237536768,"44":-624522573511415808},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,44]} 
[2026-06-02 11:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777029120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:14:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 11:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119114617237536768,"km_value":119114617237536.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-624522573511415808,"description":"Unknown IO ID 44"} 
[2026-06-02 11:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777029120001,"power":28398,"unknown_23":206,"unknown_28":26368,"ignition":36,"odometer":null,"unknown_44":-624522573511415808}} 
[2026-06-02 11:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":89336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:14:41] local.INFO: GPS data processed {"connection_id":89336,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:14:41] local.INFO: Acknowledgment sent {"connection_id":89336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:14:59] local.INFO: TCP Data received {"connection_id":89589,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:59] local.INFO: Processing buffer {"connection_id":89589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:14:59] local.INFO: IMEI packet received {"connection_id":89589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":89589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:15:02] local.INFO: TCP Data received {"connection_id":89337,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86d81a50012ceb77800713c390000e00992c..."} 
[2026-06-02 11:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86d81a50012ceb77800713c390000e00992c..."} 
[2026-06-02 11:15:02] local.INFO: Processing buffer {"connection_id":89337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86d81a50012ceb77800713c390000e00992c..."} 
[2026-06-02 11:15:02] local.INFO: Packet analysis {"connection_id":89337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:15:02] local.INFO: Extracted packet for processing {"connection_id":89337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86d8"} 
[2026-06-02 11:15:02] local.INFO: GPS Element Parsed {"raw_longitude":753629056,"raw_latitude":118735760,"longitude_deg":75.3629056,"latitude_deg":11.873576,"altitude":14,"angle":153,"satellites":44,"speed":7,"hex_longitude":"2ceb7780","hex_latitude":"0713c390","is_valid_coordinates":true} 
[2026-06-02 11:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776964864001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479643553427341312,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:02] 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-06-02 11:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780378770000,"timestamp_ms":1780378770000,"timestamp_seconds":1780378770,"priority":1,"record_length":96,"hex_timestamp":"0000019e86d81a50"} 
[2026-06-02 11:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:15: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-06-02 11:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776964864001,"66":27800,"190":206,"83":41472,"24":7,"16":305499615015206912,"44":-1479643553427341312},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-06-02 11:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776964864001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:15:02] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-02 11:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479643553427341312,"description":"Unknown IO ID 44"} 
[2026-06-02 11:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776964864001,"power":27800,"unknown_190":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1479643553427341312}} 
[2026-06-02 11:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":89337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:15:02] local.INFO: GPS data processed {"connection_id":89337,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:15:02] local.INFO: Acknowledgment sent {"connection_id":89337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:15:03] local.INFO: TCP Data received {"connection_id":89589,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:15:03] local.INFO: Processing buffer {"connection_id":89589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:15:03] local.INFO: IMEI packet received {"connection_id":89589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":89589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:15:04] local.INFO: TCP Data received {"connection_id":89589,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dc15d8012cf762c0073bccb000bc000d2b..."} 
[2026-06-02 11:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dc15d8012cf762c0073bccb000bc000d2b..."} 
[2026-06-02 11:15:04] local.INFO: Processing buffer {"connection_id":89589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dc15d8012cf762c0073bccb000bc000d2b..."} 
[2026-06-02 11:15:04] local.INFO: Packet analysis {"connection_id":89589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:04] local.INFO: Extracted packet for processing {"connection_id":89589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:04] local.INFO: GPS Element Parsed {"raw_longitude":754410176,"raw_latitude":121359536,"longitude_deg":75.4410176,"latitude_deg":12.1359536,"altitude":188,"angle":13,"satellites":43,"speed":44,"hex_longitude":"2cf762c0","hex_latitude":"073bccb0","is_valid_coordinates":true} 
[2026-06-02 11:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777029632001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119115063914135552,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-623607779836700672,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780379031000,"timestamp_ms":1780379031000,"timestamp_seconds":1780379031,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dc15d8"} 
[2026-06-02 11:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:15: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-06-02 11:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 11:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777029632001,"66":28452,"23":206,"28":26368,"24":44,"16":119115063914135552,"44":-623607779836700672},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,44]} 
[2026-06-02 11:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777029632001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:15:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 11:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119115063914135552,"km_value":119115063914135.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-623607779836700672,"description":"Unknown IO ID 44"} 
[2026-06-02 11:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777029632001,"power":28452,"unknown_23":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_44":-623607779836700672}} 
[2026-06-02 11:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":89589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:15:04] local.INFO: GPS data processed {"connection_id":89589,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:15:04] local.INFO: Acknowledgment sent {"connection_id":89589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:15:12] local.INFO: TCP Data received {"connection_id":89338,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dc1da8012d1b6f40072573080024003229..."} 
[2026-06-02 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dc1da8012d1b6f40072573080024003229..."} 
[2026-06-02 11:15:12] local.INFO: Processing buffer {"connection_id":89338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dc1da8012d1b6f40072573080024003229..."} 
[2026-06-02 11:15:12] local.INFO: Packet analysis {"connection_id":89338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:12] local.INFO: Extracted packet for processing {"connection_id":89338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756772672,"raw_latitude":119894792,"longitude_deg":75.6772672,"latitude_deg":11.9894792,"altitude":36,"angle":50,"satellites":41,"speed":17,"hex_longitude":"2d1b6f40","hex_latitude":"07257308","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777032192001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125134469169414144,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976446948411039744,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780379033000,"timestamp_ms":1780379033000,"timestamp_seconds":1780379033,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dc1da8"} 
[2026-06-02 11:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":82,"data_length":795,"current_offset":136} 
[2026-06-02 11:15:12] 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-06-02 11: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-06-02 11:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:15:12] 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-06-02 11:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777032192001,"66":13798,"216":206,"83":42752,"24":17,"16":125134469169414144,"45":1976446948411039744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777032192001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:15:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125134469169414144,"km_value":125134469169414.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976446948411039744,"description":"Unknown IO ID 45"} 
[2026-06-02 11:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777032192001,"power":13798,"unknown_216":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1976446948411039744}} 
[2026-06-02 11:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":89338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:15:12] local.INFO: GPS data processed {"connection_id":89338,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:15:12] local.INFO: Acknowledgment sent {"connection_id":89338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:15:24] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:15:24] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:15:24] local.INFO: IMEI packet received {"connection_id":89740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":89740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:15:29] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:15:29] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:15:29] local.INFO: IMEI packet received {"connection_id":89740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":89740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:15:30] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:15:30] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:15:30] local.INFO: Packet analysis {"connection_id":89740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:30] local.INFO: Extracted packet for processing {"connection_id":89740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:30] 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-06-02 11:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:15:30] 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-06-02 11: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-06-02 11:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:15: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-06-02 11:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:15:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":89740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:15:30] local.INFO: GPS data processed {"connection_id":89740,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:15:30] local.INFO: Acknowledgment sent {"connection_id":89740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:15:36] local.INFO: TCP Data received {"connection_id":89589,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb218012cf78600073c6ab8009f005228..."} 
[2026-06-02 11:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb218012cf78600073c6ab8009f005228..."} 
[2026-06-02 11:15:36] local.INFO: Processing buffer {"connection_id":89589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb218012cf78600073c6ab8009f005228..."} 
[2026-06-02 11:15:36] local.INFO: Packet analysis {"connection_id":89589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:36] local.INFO: Extracted packet for processing {"connection_id":89589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:36] local.INFO: GPS Element Parsed {"raw_longitude":754419200,"raw_latitude":121399992,"longitude_deg":75.44192,"latitude_deg":12.1399992,"altitude":159,"angle":82,"satellites":40,"speed":20,"hex_longitude":"2cf78600","hex_latitude":"073c6ab8","is_valid_coordinates":true} 
[2026-06-02 11:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777041920001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119117138383339520,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-611363618337183744,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379071000,"timestamp_ms":1780379071000,"timestamp_seconds":1780379071,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb218"} 
[2026-06-02 11:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 11:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777041920001,"66":28245,"106":206,"28":26368,"24":20,"16":119117138383339520,"44":-611363618337183744},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,44]} 
[2026-06-02 11:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777041920001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119117138383339520,"km_value":119117138383339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-611363618337183744,"description":"Unknown IO ID 44"} 
[2026-06-02 11:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777041920001,"power":28245,"unknown_106":206,"unknown_28":26368,"ignition":20,"odometer":null,"unknown_44":-611363618337183744}} 
[2026-06-02 11:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":89589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:15:36] local.INFO: GPS data processed {"connection_id":89589,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:15:36] local.INFO: Acknowledgment sent {"connection_id":89589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:15:39] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:15:39] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:15:39] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:15:44] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:15:44] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:15:44] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:15:45] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dc2190012d1b70c0072573b00024004629..."} 
[2026-06-02 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dc2190012d1b70c0072573b00024004629..."} 
[2026-06-02 11:15:45] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dc2190012d1b70c0072573b00024004629..."} 
[2026-06-02 11:15:45] local.INFO: Packet analysis {"connection_id":89741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:45] local.INFO: Extracted packet for processing {"connection_id":89741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756773056,"raw_latitude":119894960,"longitude_deg":75.6773056,"latitude_deg":11.989496,"altitude":36,"angle":70,"satellites":41,"speed":16,"hex_longitude":"2d1b70c0","hex_latitude":"072573b0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777032448001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125134490644250624,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976869160876181504,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780379034000,"timestamp_ms":1780379034000,"timestamp_seconds":1780379034,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dc2190"} 
[2026-06-02 11:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:15:45] 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-06-02 11: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-06-02 11:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:15:45] 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-06-02 11:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777032448001,"66":13798,"216":206,"83":42752,"24":16,"16":125134490644250624,"45":1976869160876181504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777032448001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:15:45] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125134490644250624,"km_value":125134490644250.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976869160876181504,"description":"Unknown IO ID 45"} 
[2026-06-02 11:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777032448001,"power":13798,"unknown_216":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1976869160876181504}} 
[2026-06-02 11:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":89741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:15:45] local.INFO: GPS data processed {"connection_id":89741,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:15:45] local.INFO: Acknowledgment sent {"connection_id":89741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:15:50] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dc2578012d1b7240072573e00024005829..."} 
[2026-06-02 11:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dc2578012d1b7240072573e00024005829..."} 
[2026-06-02 11:15:50] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dc2578012d1b7240072573e00024005829..."} 
[2026-06-02 11:15:50] local.INFO: Packet analysis {"connection_id":89741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:50] local.INFO: Extracted packet for processing {"connection_id":89741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756773440,"raw_latitude":119895008,"longitude_deg":75.677344,"latitude_deg":11.9895008,"altitude":36,"angle":88,"satellites":41,"speed":15,"hex_longitude":"2d1b7240","hex_latitude":"072573e0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777032704001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125134507824119808,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977291373341290496,"note":"Value kept but may cause issues"} 
[2026-06-02 11:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780379035000,"timestamp_ms":1780379035000,"timestamp_seconds":1780379035,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dc2578"} 
[2026-06-02 11:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:15:50] 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-06-02 11: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-06-02 11:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:15:50] 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-06-02 11:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777032704001,"66":13820,"216":206,"83":42752,"24":15,"16":125134507824119808,"45":1977291373341290496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777032704001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:15:50] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125134507824119808,"km_value":125134507824119.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977291373341290496,"description":"Unknown IO ID 45"} 
[2026-06-02 11:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777032704001,"power":13820,"unknown_216":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1977291373341290496}} 
[2026-06-02 11:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":89741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:15:50] local.INFO: GPS data processed {"connection_id":89741,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:15:50] local.INFO: Acknowledgment sent {"connection_id":89741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:16:01] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:16:01] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:16:01] local.INFO: Packet analysis {"connection_id":89740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:16:01] local.INFO: Extracted packet for processing {"connection_id":89740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:16:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16: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-06-02 11:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:16: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-06-02 11: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:16: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-06-02 11: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-06-02 11:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:16: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-06-02 11:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:16:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":89740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:16:01] local.INFO: GPS data processed {"connection_id":89740,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:16:01] local.INFO: Acknowledgment sent {"connection_id":89740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:16:05] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:16:05] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:16:05] local.INFO: IMEI packet received {"connection_id":89339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":89339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:16:13] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:16:13] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:16:13] local.INFO: IMEI packet received {"connection_id":89339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":89339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:16:14] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dd98900100000000000000000000000000..."} 
[2026-06-02 11:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dd98900100000000000000000000000000..."} 
[2026-06-02 11:16:14] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dd98900100000000000000000000000000..."} 
[2026-06-02 11:16:14] local.INFO: Packet analysis {"connection_id":89339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:16:14] local.INFO: Extracted packet for processing {"connection_id":89339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:16:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 11:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042176001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119117138383339520,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-610800668383725568,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780379130000,"timestamp_ms":1780379130000,"timestamp_seconds":1780379130,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dd9890"} 
[2026-06-02 11:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 11:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":89339,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 11:16:14] local.INFO: GPS data processed {"connection_id":89339,"processed":0,"errors":0,"total":1} 
[2026-06-02 11:16:14] local.INFO: Acknowledgment sent {"connection_id":89339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:16:16] local.INFO: TCP Data received {"connection_id":89339,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dd0bf0012cf789c0073c4aa80094002029..."} 
[2026-06-02 11:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dd0bf0012cf789c0073c4aa80094002029..."} 
[2026-06-02 11:16:16] local.INFO: Processing buffer {"connection_id":89339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dd0bf0012cf789c0073c4aa80094002029..."} 
[2026-06-02 11:16:16] local.INFO: Packet analysis {"connection_id":89339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:16:16] local.INFO: Extracted packet for processing {"connection_id":89339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":754420160,"raw_latitude":121391784,"longitude_deg":75.442016,"latitude_deg":12.1391784,"altitude":148,"angle":32,"satellites":41,"speed":28,"hex_longitude":"2cf789c0","hex_latitude":"073c4aa8","is_valid_coordinates":true} 
[2026-06-02 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119117138383339520,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780379094000,"timestamp_ms":1780379094000,"timestamp_seconds":1780379094,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dd0bf0"} 
[2026-06-02 11:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"106":206,"28":26368,"24":28,"16":119117138383339520},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-06-02 11:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:16:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:16:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119117138383339520,"km_value":119117138383339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:16:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_106":206,"unknown_28":26368,"ignition":28,"odometer":null}} 
[2026-06-02 11:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":89339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:16:16] local.INFO: GPS data processed {"connection_id":89339,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:16:16] local.INFO: Acknowledgment sent {"connection_id":89339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:16:24] local.INFO: TCP Data received {"connection_id":90804,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:16:24] local.INFO: Processing buffer {"connection_id":90804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:16:24] local.INFO: IMEI packet received {"connection_id":90804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":90804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:16:29] local.INFO: TCP Data received {"connection_id":90804,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:16:29] local.INFO: Processing buffer {"connection_id":90804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:16:29] local.INFO: IMEI packet received {"connection_id":90804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":90804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:16:30] local.INFO: TCP Data received {"connection_id":90804,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:16:30] local.INFO: Processing buffer {"connection_id":90804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:16:30] local.INFO: Packet analysis {"connection_id":90804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:16:30] local.INFO: Extracted packet for processing {"connection_id":90804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:16:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:30] 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-06-02 11:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:16:30] 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-06-02 11:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:16: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-06-02 11:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:16:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":90804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:16:30] local.INFO: GPS data processed {"connection_id":90804,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:16:30] local.INFO: Acknowledgment sent {"connection_id":90804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:16:33] local.INFO: TCP Data received {"connection_id":90805,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:33] local.INFO: Processing buffer {"connection_id":90805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:33] local.INFO: IMEI packet received {"connection_id":90805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":90805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:16:34] local.INFO: TCP Data received {"connection_id":90805,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:34] local.INFO: Processing buffer {"connection_id":90805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:34] local.INFO: IMEI packet received {"connection_id":90805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":90805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:16:39] local.INFO: TCP Data received {"connection_id":90805,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:39] local.INFO: Processing buffer {"connection_id":90805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:16:39] local.INFO: IMEI packet received {"connection_id":90805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":90805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:16:40] local.INFO: TCP Data received {"connection_id":90805,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dd88f0012d1b7040072570c0003000c528..."} 
[2026-06-02 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dd88f0012d1b7040072570c0003000c528..."} 
[2026-06-02 11:16:40] local.INFO: Processing buffer {"connection_id":90805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dd88f0012d1b7040072570c0003000c528..."} 
[2026-06-02 11:16:40] local.INFO: Packet analysis {"connection_id":90805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:16:40] local.INFO: Extracted packet for processing {"connection_id":90805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119894208,"longitude_deg":75.6772928,"latitude_deg":11.9894208,"altitude":48,"angle":197,"satellites":40,"speed":8,"hex_longitude":"2d1b7040","hex_latitude":"072570c0","is_valid_coordinates":true} 
[2026-06-02 11:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777056000001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125135152069214208,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004596969472,"note":"Value kept but may cause issues"} 
[2026-06-02 11:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379126000,"timestamp_ms":1780379126000,"timestamp_seconds":1780379126,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dd88f0"} 
[2026-06-02 11:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 11:16:40] 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-06-02 11:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:16:40] 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-06-02 11:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777056000001,"66":14483,"216":206,"83":42752,"24":8,"16":125135152069214208,"45":1977221004596969472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777056000001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:16:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:16:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125135152069214208,"km_value":125135152069214.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004596969472,"description":"Unknown IO ID 45"} 
[2026-06-02 11:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777056000001,"power":14483,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1977221004596969472}} 
[2026-06-02 11:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":90805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:16:40] local.INFO: GPS data processed {"connection_id":90805,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:16:40] local.INFO: Acknowledgment sent {"connection_id":90805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:17:01] local.INFO: TCP Data received {"connection_id":90804,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:17:01] local.INFO: Processing buffer {"connection_id":90804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:17:01] local.INFO: Packet analysis {"connection_id":90804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:17:01] local.INFO: Extracted packet for processing {"connection_id":90804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:17:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17: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-06-02 11:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:17: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-06-02 11:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:17: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-06-02 11:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:17: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-06-02 11:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:17:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":90804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:17:01] local.INFO: GPS data processed {"connection_id":90804,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:17:01] local.INFO: Acknowledgment sent {"connection_id":90804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:17:21] local.INFO: TCP Data received {"connection_id":90805,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dd8cd8012d1b704007256fc8003100b82a..."} 
[2026-06-02 11:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dd8cd8012d1b704007256fc8003100b82a..."} 
[2026-06-02 11:17:21] local.INFO: Processing buffer {"connection_id":90805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dd8cd8012d1b704007256fc8003100b82a..."} 
[2026-06-02 11:17:21] local.INFO: Packet analysis {"connection_id":90805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:17:21] local.INFO: Extracted packet for processing {"connection_id":90805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119893960,"longitude_deg":75.6772928,"latitude_deg":11.989396,"altitude":49,"angle":184,"satellites":42,"speed":10,"hex_longitude":"2d1b7040","hex_latitude":"07256fc8","is_valid_coordinates":true} 
[2026-06-02 11:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777056256001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125135160659148800,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635852742656,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780379127000,"timestamp_ms":1780379127000,"timestamp_seconds":1780379127,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dd8cd8"} 
[2026-06-02 11:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:17:21] 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-06-02 11:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 11:17:21] 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-06-02 11:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:17:21] 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-06-02 11:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777056256001,"66":14494,"216":206,"83":42752,"24":10,"16":125135160659148800,"45":1977150635852742656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777056256001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:17:21] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125135160659148800,"km_value":125135160659148.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635852742656,"description":"Unknown IO ID 45"} 
[2026-06-02 11:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777056256001,"power":14494,"unknown_216":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1977150635852742656}} 
[2026-06-02 11:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":90805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:17:21] local.INFO: GPS data processed {"connection_id":90805,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:17:21] local.INFO: Acknowledgment sent {"connection_id":90805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:17:24] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:17:24] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:17:24] local.INFO: IMEI packet received {"connection_id":89742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":89742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:17:29] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:17:29] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:17:29] local.INFO: IMEI packet received {"connection_id":89742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":89742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:17:30] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:17:30] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:17:30] local.INFO: Packet analysis {"connection_id":89742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:17:30] local.INFO: Extracted packet for processing {"connection_id":89742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:17:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:30] 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-06-02 11:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:17:30] 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-06-02 11:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:17: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-06-02 11:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:17:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":89742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:17:30] local.INFO: GPS data processed {"connection_id":89742,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:17:30] local.INFO: Acknowledgment sent {"connection_id":89742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:17:34] local.INFO: TCP Data received {"connection_id":89590,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:17:34] local.INFO: Processing buffer {"connection_id":89590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:17:34] local.INFO: IMEI packet received {"connection_id":89590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":89590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:17:35] local.INFO: TCP Data received {"connection_id":89591,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:17:35] local.INFO: Processing buffer {"connection_id":89591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:17:35] local.INFO: IMEI packet received {"connection_id":89591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":89591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:17:38] local.INFO: TCP Data received {"connection_id":89591,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:17:38] local.INFO: Processing buffer {"connection_id":89591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:17:38] local.INFO: IMEI packet received {"connection_id":89591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":89591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:17:39] local.INFO: TCP Data received {"connection_id":89590,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:17:39] local.INFO: Processing buffer {"connection_id":89590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:17:39] local.INFO: IMEI packet received {"connection_id":89590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":89590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:17:39] local.INFO: TCP Data received {"connection_id":89591,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dd5628012cf79400073c87a8007e014526..."} 
[2026-06-02 11:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dd5628012cf79400073c87a8007e014526..."} 
[2026-06-02 11:17:39] local.INFO: Processing buffer {"connection_id":89591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dd5628012cf79400073c87a8007e014526..."} 
[2026-06-02 11:17:39] local.INFO: Packet analysis {"connection_id":89591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:17:39] local.INFO: Extracted packet for processing {"connection_id":89591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:17:39] local.INFO: GPS Element Parsed {"raw_longitude":754422784,"raw_latitude":121407400,"longitude_deg":75.4422784,"latitude_deg":12.14074,"altitude":126,"angle":325,"satellites":38,"speed":41,"hex_longitude":"2cf79400","hex_latitude":"073c87a8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777048064001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119117138383339520,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-609745137223161856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780379113000,"timestamp_ms":1780379113000,"timestamp_seconds":1780379113,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dd5628"} 
[2026-06-02 11:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777048064001,"66":28354,"106":206,"28":26368,"24":41,"16":119117138383339520,"44":-609745137223161856},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,44]} 
[2026-06-02 11:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777048064001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:17:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119117138383339520,"km_value":119117138383339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-609745137223161856,"description":"Unknown IO ID 44"} 
[2026-06-02 11:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777048064001,"power":28354,"unknown_106":206,"unknown_28":26368,"ignition":41,"odometer":null,"unknown_44":-609745137223161856}} 
[2026-06-02 11:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":89591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:17:39] local.INFO: GPS data processed {"connection_id":89591,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:17:39] local.INFO: Acknowledgment sent {"connection_id":89591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:17:40] local.INFO: TCP Data received {"connection_id":89590,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ddbfa0012d1b6cc0072560e0003400c729..."} 
[2026-06-02 11:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ddbfa0012d1b6cc0072560e0003400c729..."} 
[2026-06-02 11:17:40] local.INFO: Processing buffer {"connection_id":89590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ddbfa0012d1b6cc0072560e0003400c729..."} 
[2026-06-02 11:17:40] local.INFO: Packet analysis {"connection_id":89590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:17:40] local.INFO: Extracted packet for processing {"connection_id":89590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756772032,"raw_latitude":119890144,"longitude_deg":75.6772032,"latitude_deg":11.9890144,"altitude":52,"angle":199,"satellites":41,"speed":13,"hex_longitude":"2d1b6cc0","hex_latitude":"072560e0","is_valid_coordinates":true} 
[2026-06-02 11:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777056512001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125135353932677120,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635852679168,"note":"Value kept but may cause issues"} 
[2026-06-02 11:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379140000,"timestamp_ms":1780379140000,"timestamp_seconds":1780379140,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ddbfa0"} 
[2026-06-02 11:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-02 11:17:40] 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-06-02 11:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:17:40] 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-06-02 11:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777056512001,"66":14515,"216":206,"83":42752,"24":13,"16":125135353932677120,"45":1977150635852679168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777056512001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:17:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125135353932677120,"km_value":125135353932677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635852679168,"description":"Unknown IO ID 45"} 
[2026-06-02 11:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777056512001,"power":14515,"unknown_216":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1977150635852679168}} 
[2026-06-02 11:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":89590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:17:40] local.INFO: GPS data processed {"connection_id":89590,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:17:40] local.INFO: Acknowledgment sent {"connection_id":89590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:18:01] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:18:01] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:18:01] local.INFO: Packet analysis {"connection_id":89742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:18:01] local.INFO: Extracted packet for processing {"connection_id":89742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18: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-06-02 11:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:18: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-06-02 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:18: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-06-02 11:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:18: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-06-02 11:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:18:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":89742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:18:01] local.INFO: GPS data processed {"connection_id":89742,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:18:01] local.INFO: Acknowledgment sent {"connection_id":89742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:18:03] local.INFO: TCP Data received {"connection_id":89743,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:03] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:03] local.INFO: IMEI packet received {"connection_id":89743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":89743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:18:05] local.INFO: TCP Data received {"connection_id":89743,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:05] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:05] local.INFO: IMEI packet received {"connection_id":89743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":89743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:18:06] local.INFO: TCP Data received {"connection_id":89743,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dda830012cf760c0073cc3e0006501401e..."} 
[2026-06-02 11:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dda830012cf760c0073cc3e0006501401e..."} 
[2026-06-02 11:18:06] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dda830012cf760c0073cc3e0006501401e..."} 
[2026-06-02 11:18:06] local.INFO: Packet analysis {"connection_id":89743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:18:06] local.INFO: Extracted packet for processing {"connection_id":89743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:18:06] local.INFO: GPS Element Parsed {"raw_longitude":754409664,"raw_latitude":121422816,"longitude_deg":75.4409664,"latitude_deg":12.1422816,"altitude":101,"angle":320,"satellites":30,"speed":0,"hex_longitude":"2cf760c0","hex_latitude":"073cc3e0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777052928001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119117138383339520,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-606860018707879936,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780379134000,"timestamp_ms":1780379134000,"timestamp_seconds":1780379134,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dda830"} 
[2026-06-02 11:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:18: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-06-02 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 11:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777052928001,"66":28452,"106":206,"28":26368,"24":0,"16":119117138383339520,"44":-606860018707879936},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,44]} 
[2026-06-02 11:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777052928001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:18:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119117138383339520,"km_value":119117138383339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-606860018707879936,"description":"Unknown IO ID 44"} 
[2026-06-02 11:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777052928001,"power":28452,"unknown_106":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-606860018707879936}} 
[2026-06-02 11:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":89743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:18:06] local.INFO: GPS data processed {"connection_id":89743,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:18:06] local.INFO: Acknowledgment sent {"connection_id":89743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:18:11] local.INFO: TCP Data received {"connection_id":89590,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ddf650012d1b648007253eb0002d00c028..."} 
[2026-06-02 11:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ddf650012d1b648007253eb0002d00c028..."} 
[2026-06-02 11:18:11] local.INFO: Processing buffer {"connection_id":89590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ddf650012d1b648007253eb0002d00c028..."} 
[2026-06-02 11:18:11] local.INFO: Packet analysis {"connection_id":89590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:18:11] local.INFO: Extracted packet for processing {"connection_id":89590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756769920,"raw_latitude":119881392,"longitude_deg":75.676992,"latitude_deg":11.9881392,"altitude":45,"angle":192,"satellites":40,"speed":23,"hex_longitude":"2d1b6480","hex_latitude":"07253eb0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777059840001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125135792019341312,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976165473433214976,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379154000,"timestamp_ms":1780379154000,"timestamp_seconds":1780379154,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ddf650"} 
[2026-06-02 11:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11: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-06-02 11: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-06-02 11:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777059840001,"66":13798,"216":206,"83":42752,"24":23,"16":125135792019341312,"45":1976165473433214976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777059840001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:18:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125135792019341312,"km_value":125135792019341.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976165473433214976,"description":"Unknown IO ID 45"} 
[2026-06-02 11:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777059840001,"power":13798,"unknown_216":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1976165473433214976}} 
[2026-06-02 11:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":89590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:18:11] local.INFO: GPS data processed {"connection_id":89590,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:18:11] local.INFO: Acknowledgment sent {"connection_id":89590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:18:24] local.INFO: TCP Data received {"connection_id":90806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:18:24] local.INFO: Processing buffer {"connection_id":90806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:18:24] local.INFO: IMEI packet received {"connection_id":90806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":90806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:18:29] local.INFO: TCP Data received {"connection_id":90806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:18:29] local.INFO: Processing buffer {"connection_id":90806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:18:29] local.INFO: IMEI packet received {"connection_id":90806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":90806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:18:30] local.INFO: TCP Data received {"connection_id":90806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:18:30] local.INFO: Processing buffer {"connection_id":90806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:18:30] local.INFO: Packet analysis {"connection_id":90806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:18:30] local.INFO: Extracted packet for processing {"connection_id":90806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:18: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-06-02 11:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:30] 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-06-02 11:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:18: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:18:30] 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-06-02 11:18: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-06-02 11:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:18:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":90806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:18:30] local.INFO: GPS data processed {"connection_id":90806,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:18:30] local.INFO: Acknowledgment sent {"connection_id":90806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:18:34] local.INFO: TCP Data received {"connection_id":89340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:18:34] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:18:34] local.INFO: IMEI packet received {"connection_id":89340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":89340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:18:38] local.INFO: TCP Data received {"connection_id":89743,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dddaf8012cf730c0073cfcb80059012b1f..."} 
[2026-06-02 11:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dddaf8012cf730c0073cfcb80059012b1f..."} 
[2026-06-02 11:18:38] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dddaf8012cf730c0073cfcb80059012b1f..."} 
[2026-06-02 11:18:38] local.INFO: Packet analysis {"connection_id":89743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:18:38] local.INFO: Extracted packet for processing {"connection_id":89743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dd"} 
[2026-06-02 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":754397376,"raw_latitude":121437368,"longitude_deg":75.4397376,"latitude_deg":12.1437368,"altitude":89,"angle":299,"satellites":31,"speed":44,"hex_longitude":"2cf730c0","hex_latitude":"073cfcb8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777058304001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119117138383339520,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-621285611260354560,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780379147000,"timestamp_ms":1780379147000,"timestamp_seconds":1780379147,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dddaf8"} 
[2026-06-02 11:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777058304001,"66":27984,"106":206,"28":26368,"24":44,"16":119117138383339520,"44":-621285611260354560},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,44]} 
[2026-06-02 11:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777058304001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:18:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 11:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119117138383339520,"km_value":119117138383339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-621285611260354560,"description":"Unknown IO ID 44"} 
[2026-06-02 11:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777058304001,"power":27984,"unknown_106":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_44":-621285611260354560}} 
[2026-06-02 11:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":89743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:18:38] local.INFO: GPS data processed {"connection_id":89743,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:18:38] local.INFO: Acknowledgment sent {"connection_id":89743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:18:39] local.INFO: TCP Data received {"connection_id":89340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:18:39] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:18:39] local.INFO: IMEI packet received {"connection_id":89340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":89340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:18:40] local.INFO: TCP Data received {"connection_id":89340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86de4470012d1b5f80072527f0002700b229..."} 
[2026-06-02 11:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86de4470012d1b5f80072527f0002700b229..."} 
[2026-06-02 11:18:40] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86de4470012d1b5f80072527f0002700b229..."} 
[2026-06-02 11:18:40] local.INFO: Packet analysis {"connection_id":89340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:18:40] local.INFO: Extracted packet for processing {"connection_id":89340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119875568,"longitude_deg":75.676864,"latitude_deg":11.9875568,"altitude":39,"angle":178,"satellites":41,"speed":8,"hex_longitude":"2d1b5f80","hex_latitude":"072527f0","is_valid_coordinates":true} 
[2026-06-02 11:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777063424001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136084077117440,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973843304873111552,"note":"Value kept but may cause issues"} 
[2026-06-02 11:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379174000,"timestamp_ms":1780379174000,"timestamp_seconds":1780379174,"priority":1,"record_length":96,"hex_timestamp":"0000019e86de4470"} 
[2026-06-02 11:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:18: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-06-02 11:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:18:40] 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-06-02 11:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777063424001,"66":14374,"216":206,"83":42752,"24":8,"16":125136084077117440,"45":1973843304873111552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777063424001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:18:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136084077117440,"km_value":125136084077117.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973843304873111552,"description":"Unknown IO ID 45"} 
[2026-06-02 11:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777063424001,"power":14374,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1973843304873111552}} 
[2026-06-02 11:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":89340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:18:40] local.INFO: GPS data processed {"connection_id":89340,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:18:40] local.INFO: Acknowledgment sent {"connection_id":89340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:18:59] local.INFO: TCP Data received {"connection_id":89744,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:59] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:18:59] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:19:01] local.INFO: TCP Data received {"connection_id":90806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:19:01] local.INFO: Processing buffer {"connection_id":90806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:19:01] local.INFO: Packet analysis {"connection_id":90806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:19:01] local.INFO: Extracted packet for processing {"connection_id":90806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:19:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19: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-06-02 11:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:19: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-06-02 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:19: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-06-02 11: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-06-02 11:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:19:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":90806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:19:01] local.INFO: GPS data processed {"connection_id":90806,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:19:01] local.INFO: Acknowledgment sent {"connection_id":90806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:19:04] local.INFO: TCP Data received {"connection_id":89744,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:19:04] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:19:04] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:19:05] local.INFO: TCP Data received {"connection_id":89744,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dfa400012cf7f180073da2980028005624..."} 
[2026-06-02 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dfa400012cf7f180073da2980028005624..."} 
[2026-06-02 11:19:05] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dfa400012cf7f180073da2980028005624..."} 
[2026-06-02 11:19:05] local.INFO: Packet analysis {"connection_id":89744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86df"} 
[2026-06-02 11:19:05] local.INFO: Extracted packet for processing {"connection_id":89744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86df"} 
[2026-06-02 11:19:05] local.INFO: GPS Element Parsed {"raw_longitude":754446720,"raw_latitude":121479832,"longitude_deg":75.444672,"latitude_deg":12.1479832,"altitude":40,"angle":86,"satellites":36,"speed":20,"hex_longitude":"2cf7f180","hex_latitude":"073da298","is_valid_coordinates":true} 
[2026-06-02 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777087744001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119118740406140928,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-588986357668507648,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379264000,"timestamp_ms":1780379264000,"timestamp_seconds":1780379264,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dfa400"} 
[2026-06-02 11:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:19: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-06-02 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777087744001,"66":28376,"20":206,"28":26368,"24":20,"16":119118740406140928,"44":-588986357668507648},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,28,24,16,44]} 
[2026-06-02 11:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777087744001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:19:05] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-02 11:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119118740406140928,"km_value":119118740406140.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-588986357668507648,"description":"Unknown IO ID 44"} 
[2026-06-02 11:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777087744001,"power":28376,"unknown_20":206,"unknown_28":26368,"ignition":20,"odometer":null,"unknown_44":-588986357668507648}} 
[2026-06-02 11:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":89744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:19:05] local.INFO: GPS data processed {"connection_id":89744,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:19:05] local.INFO: Acknowledgment sent {"connection_id":89744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:19:12] local.INFO: TCP Data received {"connection_id":89340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e86de5028012d1b5f4007252590002700c22a..."} 
[2026-06-02 11:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86de5028012d1b5f4007252590002700c22a..."} 
[2026-06-02 11:19:12] local.INFO: Processing buffer {"connection_id":89340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86de5028012d1b5f4007252590002700c22a..."} 
[2026-06-02 11:19:12] local.INFO: Packet analysis {"connection_id":89340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:19:12] local.INFO: Extracted packet for processing {"connection_id":89340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756768576,"raw_latitude":119874960,"longitude_deg":75.6768576,"latitude_deg":11.987496,"altitude":39,"angle":194,"satellites":42,"speed":7,"hex_longitude":"2d1b5f40","hex_latitude":"07252590","is_valid_coordinates":true} 
[2026-06-02 11:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777068544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136114141888512,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988067328,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780379177000,"timestamp_ms":1780379177000,"timestamp_seconds":1780379177,"priority":1,"record_length":96,"hex_timestamp":"0000019e86de5028"} 
[2026-06-02 11:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:19:12] 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-06-02 11:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 11:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:19:12] 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-06-02 11:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777068544001,"66":13820,"216":206,"83":42752,"24":7,"16":125136114141888512,"45":1972435929988067328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777068544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:19:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136114141888512,"km_value":125136114141888.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988067328,"description":"Unknown IO ID 45"} 
[2026-06-02 11:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777068544001,"power":13820,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1972435929988067328}} 
[2026-06-02 11:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":89340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:19:12] local.INFO: GPS data processed {"connection_id":89340,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:19:12] local.INFO: Acknowledgment sent {"connection_id":89340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:19:24] local.INFO: TCP Data received {"connection_id":90807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:19:24] local.INFO: Processing buffer {"connection_id":90807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:19:24] local.INFO: IMEI packet received {"connection_id":90807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":90807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:19:29] local.INFO: TCP Data received {"connection_id":90807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:19:29] local.INFO: Processing buffer {"connection_id":90807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:19:29] local.INFO: IMEI packet received {"connection_id":90807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":90807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:19:31] local.INFO: TCP Data received {"connection_id":90807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:19:31] local.INFO: Processing buffer {"connection_id":90807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:19:31] local.INFO: Packet analysis {"connection_id":90807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:19:31] local.INFO: Extracted packet for processing {"connection_id":90807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:19:31] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:31] 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-06-02 11:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:19:31] 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-06-02 11: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-06-02 11:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:19:31] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":90807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:19:31] local.INFO: GPS data processed {"connection_id":90807,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:19:31] local.INFO: Acknowledgment sent {"connection_id":90807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:19:34] local.INFO: TCP Data received {"connection_id":89341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:19:34] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:19:34] local.INFO: IMEI packet received {"connection_id":89341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":89341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:19:37] local.INFO: TCP Data received {"connection_id":89744,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e08a780100000000000000000000000000..."} 
[2026-06-02 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e08a780100000000000000000000000000..."} 
[2026-06-02 11:19:37] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e08a780100000000000000000000000000..."} 
[2026-06-02 11:19:37] local.INFO: Packet analysis {"connection_id":89744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e0"} 
[2026-06-02 11:19:37] local.INFO: Extracted packet for processing {"connection_id":89744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e0"} 
[2026-06-02 11:19: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-06-02 11:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777091584001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119118787650781184,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-580542108366891008,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780379323000,"timestamp_ms":1780379323000,"timestamp_seconds":1780379323,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e08a78"} 
[2026-06-02 11:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:19: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-06-02 11:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 11:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":89744,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 11:19:37] local.INFO: GPS data processed {"connection_id":89744,"processed":0,"errors":0,"total":1} 
[2026-06-02 11:19:37] local.INFO: Acknowledgment sent {"connection_id":89744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:19:39] local.INFO: TCP Data received {"connection_id":89341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:19:39] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:19:39] local.INFO: IMEI packet received {"connection_id":89341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":89341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:19:40] local.INFO: TCP Data received {"connection_id":89341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86de82f0012d1b5d4007251bb8002900b52b..."} 
[2026-06-02 11:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86de82f0012d1b5d4007251bb8002900b52b..."} 
[2026-06-02 11:19:40] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86de82f0012d1b5d4007251bb8002900b52b..."} 
[2026-06-02 11:19:40] local.INFO: Packet analysis {"connection_id":89341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:19:40] local.INFO: Extracted packet for processing {"connection_id":89341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119872440,"longitude_deg":75.6768064,"latitude_deg":11.987244,"altitude":41,"angle":181,"satellites":43,"speed":7,"hex_longitude":"2d1b5d40","hex_latitude":"07251bb8","is_valid_coordinates":true} 
[2026-06-02 11:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777069312001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136238695940096,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365561243734016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379190000,"timestamp_ms":1780379190000,"timestamp_seconds":1780379190,"priority":1,"record_length":96,"hex_timestamp":"0000019e86de82f0"} 
[2026-06-02 11:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 11:19:40] 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-06-02 11:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:19:40] 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-06-02 11:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777069312001,"66":13852,"216":206,"83":42752,"24":7,"16":125136238695940096,"45":1972365561243734016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-06-02 11:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777069312001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:19:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-02 11:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136238695940096,"km_value":125136238695940.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365561243734016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777069312001,"power":13852,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1972365561243734016}} 
[2026-06-02 11:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":89341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:19:40] local.INFO: GPS data processed {"connection_id":89341,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:19:40] local.INFO: Acknowledgment sent {"connection_id":89341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:19:58] local.INFO: TCP Data received {"connection_id":90808,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:19:58] local.INFO: Processing buffer {"connection_id":90808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:19:58] local.INFO: IMEI packet received {"connection_id":90808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":90808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:20:02] local.INFO: TCP Data received {"connection_id":90807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:20:02] local.INFO: Processing buffer {"connection_id":90807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dcb600012ceb7a800713b9d0000b009f2a..."} 
[2026-06-02 11:20:02] local.INFO: Packet analysis {"connection_id":90807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:20:02] local.INFO: Extracted packet for processing {"connection_id":90807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86dc"} 
[2026-06-02 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455776965120001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479573184683208704,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:02] 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-06-02 11:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780379072000,"timestamp_ms":1780379072000,"timestamp_seconds":1780379072,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dcb600"} 
[2026-06-02 11:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20: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-06-02 11: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 11:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455776965120001,"66":26408,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1479573184683208704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455776965120001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:20:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:20:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479573184683208704,"description":"Unknown IO ID 44"} 
[2026-06-02 11:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455776965120001,"power":26408,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479573184683208704}} 
[2026-06-02 11:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":90807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:20:02] local.INFO: GPS data processed {"connection_id":90807,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:20:02] local.INFO: Acknowledgment sent {"connection_id":90807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:20:03] local.INFO: TCP Data received {"connection_id":90808,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:20:03] local.INFO: Processing buffer {"connection_id":90808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:20:03] local.INFO: IMEI packet received {"connection_id":90808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":90808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:20:05] local.INFO: TCP Data received {"connection_id":90808,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e01160012cf82680073d97580036004f27..."} 
[2026-06-02 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e01160012cf82680073d97580036004f27..."} 
[2026-06-02 11:20:05] local.INFO: Processing buffer {"connection_id":90808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e01160012cf82680073d97580036004f27..."} 
[2026-06-02 11:20:05] local.INFO: Packet analysis {"connection_id":90808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e0"} 
[2026-06-02 11:20:05] local.INFO: Extracted packet for processing {"connection_id":90808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e0"} 
[2026-06-02 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":754460288,"raw_latitude":121476952,"longitude_deg":75.4460288,"latitude_deg":12.1476952,"altitude":54,"angle":79,"satellites":39,"speed":20,"hex_longitude":"2cf82680","hex_latitude":"073d9758","is_valid_coordinates":true} 
[2026-06-02 11:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119118787650781184,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,20,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379292000,"timestamp_ms":1780379292000,"timestamp_seconds":1780379292,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e01160"} 
[2026-06-02 11:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 11:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"20":206,"28":26368,"24":20,"16":119118787650781184},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,28,24,16]} 
[2026-06-02 11:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:20:05] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-02 11:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119118787650781184,"km_value":119118787650781.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:20:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_20":206,"unknown_28":26368,"ignition":20,"odometer":null}} 
[2026-06-02 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":90808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:20:05] local.INFO: GPS data processed {"connection_id":90808,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:20:05] local.INFO: Acknowledgment sent {"connection_id":90808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:20:11] local.INFO: TCP Data received {"connection_id":89341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dea618012d1b5c8007251848002b00c22a..."} 
[2026-06-02 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dea618012d1b5c8007251848002b00c22a..."} 
[2026-06-02 11:20:11] local.INFO: Processing buffer {"connection_id":89341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dea618012d1b5c8007251848002b00c22a..."} 
[2026-06-02 11:20:11] local.INFO: Packet analysis {"connection_id":89341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:20:11] local.INFO: Extracted packet for processing {"connection_id":89341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756767872,"raw_latitude":119871560,"longitude_deg":75.6767872,"latitude_deg":11.987156,"altitude":43,"angle":194,"satellites":42,"speed":5,"hex_longitude":"2d1b5c80","hex_latitude":"07251848","is_valid_coordinates":true} 
[2026-06-02 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777072640001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136285940580352,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611289667584,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379199000,"timestamp_ms":1780379199000,"timestamp_seconds":1780379199,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dea618"} 
[2026-06-02 11:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 11:20:11] 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-06-02 11:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777072640001,"66":14396,"217":206,"83":42752,"24":5,"16":125136285940580352,"45":1971802611289667584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-06-02 11:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777072640001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:20:11] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-02 11:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136285940580352,"km_value":125136285940580.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611289667584,"description":"Unknown IO ID 45"} 
[2026-06-02 11:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777072640001,"power":14396,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1971802611289667584}} 
[2026-06-02 11:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":89341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:20:11] local.INFO: GPS data processed {"connection_id":89341,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:20:11] local.INFO: Acknowledgment sent {"connection_id":89341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:20:29] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:20:29] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:20:29] local.INFO: IMEI packet received {"connection_id":89745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":89745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:20:34] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:20:34] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:20:34] local.INFO: IMEI packet received {"connection_id":89745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":89745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:20:36] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:20:36] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:20:36] local.INFO: Packet analysis {"connection_id":89745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:20:36] local.INFO: Extracted packet for processing {"connection_id":89745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:36] 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-06-02 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:20:36] 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-06-02 11:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:20:36] 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-06-02 11:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:20:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":89745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:20:36] local.INFO: GPS data processed {"connection_id":89745,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:20:36] local.INFO: Acknowledgment sent {"connection_id":89745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:20:37] local.INFO: TCP Data received {"connection_id":90808,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e0f7d80100000000000000000000000000..."} 
[2026-06-02 11:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e0f7d80100000000000000000000000000..."} 
[2026-06-02 11:20:37] local.INFO: Processing buffer {"connection_id":90808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e0f7d80100000000000000000000000000..."} 
[2026-06-02 11:20:37] local.INFO: Packet analysis {"connection_id":90808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e0"} 
[2026-06-02 11:20:37] local.INFO: Extracted packet for processing {"connection_id":90808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e0"} 
[2026-06-02 11:20: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-06-02 11:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777098752001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119118787650781184,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-565623934601963520,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780379351000,"timestamp_ms":1780379351000,"timestamp_seconds":1780379351,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e0f7d8"} 
[2026-06-02 11:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20: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-06-02 11:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 11:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":90808,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 11:20:37] local.INFO: GPS data processed {"connection_id":90808,"processed":0,"errors":0,"total":1} 
[2026-06-02 11:20:37] local.INFO: Acknowledgment sent {"connection_id":90808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:20:39] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:20:39] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:20:39] local.INFO: IMEI packet received {"connection_id":89592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":89592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:20:39] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:20:39] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:20:39] local.INFO: Packet analysis {"connection_id":89745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:20:39] local.INFO: Extracted packet for processing {"connection_id":89745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:20:39] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:39] 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-06-02 11:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:20:39] 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-06-02 11:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:20:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":89745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:20:39] local.INFO: GPS data processed {"connection_id":89745,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:20:39] local.INFO: Acknowledgment sent {"connection_id":89745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:20:44] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:20:44] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:20:44] local.INFO: IMEI packet received {"connection_id":89592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":89592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:20:45] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:20:45] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:20:45] local.INFO: Packet analysis {"connection_id":89592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:20:45] local.INFO: Extracted packet for processing {"connection_id":89592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756767296,"raw_latitude":119869312,"longitude_deg":75.6767296,"latitude_deg":11.9869312,"altitude":43,"angle":190,"satellites":42,"speed":13,"hex_longitude":"2d1b5a40","hex_latitude":"07250f80","is_valid_coordinates":true} 
[2026-06-02 11:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777074944001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971591505056909312,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780379207000,"timestamp_ms":1780379207000,"timestamp_seconds":1780379207,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dec558"} 
[2026-06-02 11:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 11:20: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-06-02 11:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:20: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-06-02 11:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777074944001,"66":13319,"135":206,"83":42752,"24":13,"16":125136397609730048,"45":1971591505056909312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777074944001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:20:45] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971591505056909312,"description":"Unknown IO ID 45"} 
[2026-06-02 11:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777074944001,"power":13319,"unknown_135":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1971591505056909312}} 
[2026-06-02 11:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":89592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:20:45] local.INFO: GPS data processed {"connection_id":89592,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:20:45] local.INFO: Acknowledgment sent {"connection_id":89592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:20:49] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:20:49] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:20:49] local.INFO: Packet analysis {"connection_id":89592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:20:49] local.INFO: Extracted packet for processing {"connection_id":89592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756767296,"raw_latitude":119869312,"longitude_deg":75.6767296,"latitude_deg":11.9869312,"altitude":43,"angle":190,"satellites":42,"speed":13,"hex_longitude":"2d1b5a40","hex_latitude":"07250f80","is_valid_coordinates":true} 
[2026-06-02 11:20: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-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780379207000,"timestamp_ms":1780379207000,"timestamp_seconds":1780379207,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dec558"} 
[2026-06-02 11:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262679456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3729027073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":37,"raw_value":8054688144017598976,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:20:49] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1342254363,"corrected_to":0} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147951934,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812266,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2455175168,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":179,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-8297881020184641529,"note":"Value kept but may cause issues"} 
[2026-06-02 11:20:49] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,135,83,24,241,157,16,146,158,166,45,128,43,42,10,66,217,130,64,27,41,216,80,1,240,252,227,134,37,4,113,205,8,246,100,176,40,239,53,2,188,7,52,13,179,221],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0},{"io_id":246,"original":1342254363,"validated":0}]} 
[2026-06-02 11:20:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657327,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:20:49] 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-06-02 11:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":13319,"135":206,"83":42752,"24":13,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:20:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":13319,"unknown_135":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":89592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:20:49] local.INFO: GPS data processed {"connection_id":89592,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:20:49] local.INFO: Acknowledgment sent {"connection_id":89592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:21:11] local.INFO: TCP Data received {"connection_id":89746,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:11] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:11] local.INFO: IMEI packet received {"connection_id":89746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":89746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:21:13] local.INFO: TCP Data received {"connection_id":89746,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:13] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:13] local.INFO: IMEI packet received {"connection_id":89746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":89746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:21:17] local.INFO: TCP Data received {"connection_id":89746,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:17] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:17] local.INFO: IMEI packet received {"connection_id":89746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":89746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:21:18] local.INFO: TCP Data received {"connection_id":89746,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e218e8012cf94d80073edc08004f016624..."} 
[2026-06-02 11:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e218e8012cf94d80073edc08004f016624..."} 
[2026-06-02 11:21:18] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e218e8012cf94d80073edc08004f016624..."} 
[2026-06-02 11:21:18] local.INFO: Packet analysis {"connection_id":89746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:21:18] local.INFO: Extracted packet for processing {"connection_id":89746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:21:18] local.INFO: GPS Element Parsed {"raw_longitude":754535808,"raw_latitude":121560072,"longitude_deg":75.4535808,"latitude_deg":12.1560072,"altitude":79,"angle":358,"satellites":36,"speed":37,"hex_longitude":"2cf94d80","hex_latitude":"073edc08","is_valid_coordinates":true} 
[2026-06-02 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-06-02 11:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777132288001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119119479140515840,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-482236972730660864,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780379425000,"timestamp_ms":1780379425000,"timestamp_seconds":1780379425,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e218e8"} 
[2026-06-02 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-06-02 11:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 11:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 11:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777132288001,"66":28430,"60":206,"28":26368,"24":37,"16":119119479140515840,"44":-482236972730660864},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,44]} 
[2026-06-02 11:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777132288001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:21:18] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 11:21:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119119479140515840,"km_value":119119479140515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-482236972730660864,"description":"Unknown IO ID 44"} 
[2026-06-02 11:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777132288001,"power":28430,"unknown_60":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_44":-482236972730660864}} 
[2026-06-02 11:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":89746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:21:18] local.INFO: GPS data processed {"connection_id":89746,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:21:18] local.INFO: Acknowledgment sent {"connection_id":89746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:21:24] local.INFO: TCP Data received {"connection_id":89747,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:21:24] local.INFO: Processing buffer {"connection_id":89747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:21:24] local.INFO: IMEI packet received {"connection_id":89747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":89747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:21:29] local.INFO: TCP Data received {"connection_id":89747,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:21:29] local.INFO: Processing buffer {"connection_id":89747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:21:29] local.INFO: IMEI packet received {"connection_id":89747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":89747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:21:30] local.INFO: TCP Data received {"connection_id":89747,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:21:30] local.INFO: Processing buffer {"connection_id":89747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:21:30] local.INFO: Packet analysis {"connection_id":89747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:21:30] local.INFO: Extracted packet for processing {"connection_id":89747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:21: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-06-02 11:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:30] 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-06-02 11:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:21:30] 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-06-02 11:21: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-06-02 11:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:21:30] 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-06-02 11:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:21:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":89747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:21:30] local.INFO: GPS data processed {"connection_id":89747,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:21:30] local.INFO: Acknowledgment sent {"connection_id":89747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:21:34] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:21:34] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:21:34] local.INFO: IMEI packet received {"connection_id":89748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":89748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:21:39] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:21:39] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:21:39] local.INFO: IMEI packet received {"connection_id":89748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":89748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:21:40] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:21:40] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:21:40] local.INFO: Packet analysis {"connection_id":89748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:21:40] local.INFO: Extracted packet for processing {"connection_id":89748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756767296,"raw_latitude":119869312,"longitude_deg":75.6767296,"latitude_deg":11.9869312,"altitude":43,"angle":190,"satellites":42,"speed":13,"hex_longitude":"2d1b5a40","hex_latitude":"07250f80","is_valid_coordinates":true} 
[2026-06-02 11:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379207000,"timestamp_ms":1780379207000,"timestamp_seconds":1780379207,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dec558"} 
[2026-06-02 11:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262693456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3729795073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":37,"raw_value":6980579645775620352,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147951911,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2459631616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-4638706322946342905,"note":"Value kept but may cause issues"} 
[2026-06-02 11:21:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,217,130,1,240,28,227,134,37,4,113,205,7,68,95,41,239,56,216,2,188,23,230,221],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:21:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657119,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:21:40] 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-06-02 11:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":13319,"135":206,"83":42752,"24":13,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:21:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":13319,"unknown_135":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":89748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:21:40] local.INFO: GPS data processed {"connection_id":89748,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:21:40] local.INFO: Acknowledgment sent {"connection_id":89748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:21:59] local.INFO: TCP Data received {"connection_id":89593,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:59] local.INFO: Processing buffer {"connection_id":89593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:21:59] local.INFO: IMEI packet received {"connection_id":89593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":89593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:22:01] local.INFO: TCP Data received {"connection_id":89747,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:22:01] local.INFO: Processing buffer {"connection_id":89747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:22:01] local.INFO: Packet analysis {"connection_id":89747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:22:01] local.INFO: Extracted packet for processing {"connection_id":89747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:22:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22: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-06-02 11:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:22: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-06-02 11:22:01] local.INFO: IO Element 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-06-02 11:22:01] 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-06-02 11:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:22:01] 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-06-02 11:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:22:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":89747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:22:01] local.INFO: GPS data processed {"connection_id":89747,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:22:01] local.INFO: Acknowledgment sent {"connection_id":89747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:22:02] local.INFO: TCP Data received {"connection_id":89593,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:22:02] local.INFO: Processing buffer {"connection_id":89593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:22:02] local.INFO: IMEI packet received {"connection_id":89593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":89593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:22:03] local.INFO: TCP Data received {"connection_id":89593,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e2d080012cf994c0073f8718003e001a29..."} 
[2026-06-02 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e2d080012cf994c0073f8718003e001a29..."} 
[2026-06-02 11:22:03] local.INFO: Processing buffer {"connection_id":89593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e2d080012cf994c0073f8718003e001a29..."} 
[2026-06-02 11:22:03] local.INFO: Packet analysis {"connection_id":89593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:22:03] local.INFO: Extracted packet for processing {"connection_id":89593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:22:03] local.INFO: GPS Element Parsed {"raw_longitude":754554048,"raw_latitude":121603864,"longitude_deg":75.4554048,"latitude_deg":12.1603864,"altitude":62,"angle":26,"satellites":41,"speed":36,"hex_longitude":"2cf994c0","hex_latitude":"073f8718","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777142528001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119121807012790272,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464644786676647936,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780379472000,"timestamp_ms":1780379472000,"timestamp_seconds":1780379472,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e2d080"} 
[2026-06-02 11:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:22: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-06-02 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 11:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777142528001,"66":28452,"40":206,"28":26368,"24":36,"16":119121807012790272,"44":-464644786676647936},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777142528001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:22:03] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119121807012790272,"km_value":119121807012790.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464644786676647936,"description":"Unknown IO ID 44"} 
[2026-06-02 11:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777142528001,"power":28452,"unknown_40":206,"unknown_28":26368,"ignition":36,"odometer":null,"unknown_44":-464644786676647936}} 
[2026-06-02 11:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":89593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:22:03] local.INFO: GPS data processed {"connection_id":89593,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:22:03] local.INFO: Acknowledgment sent {"connection_id":89593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:22:04] local.INFO: TCP Data received {"connection_id":89593,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e2d850012cf99900073f8d080040002928..."} 
[2026-06-02 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e2d850012cf99900073f8d080040002928..."} 
[2026-06-02 11:22:04] local.INFO: Processing buffer {"connection_id":89593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e2d850012cf99900073f8d080040002928..."} 
[2026-06-02 11:22:04] local.INFO: Packet analysis {"connection_id":89593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:22:04] local.INFO: Extracted packet for processing {"connection_id":89593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":754555136,"raw_latitude":121605384,"longitude_deg":75.4555136,"latitude_deg":12.1605384,"altitude":64,"angle":41,"satellites":40,"speed":37,"hex_longitude":"2cf99900","hex_latitude":"073f8d08","is_valid_coordinates":true} 
[2026-06-02 11:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777144832001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119121897207103488,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-462533724349196288,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780379474000,"timestamp_ms":1780379474000,"timestamp_seconds":1780379474,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e2d850"} 
[2026-06-02 11:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777144832001,"66":28148,"40":206,"28":26368,"24":37,"16":119121897207103488,"44":-462533724349196288},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777144832001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119121897207103488,"km_value":119121897207103.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:22:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-462533724349196288,"description":"Unknown IO ID 44"} 
[2026-06-02 11:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777144832001,"power":28148,"unknown_40":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_44":-462533724349196288}} 
[2026-06-02 11:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":89593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:22:04] local.INFO: GPS data processed {"connection_id":89593,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:22:04] local.INFO: Acknowledgment sent {"connection_id":89593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:22:11] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:22:11] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86dec558012d1b5a4007250f80002b00be2a..."} 
[2026-06-02 11:22:11] local.INFO: Packet analysis {"connection_id":89748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:22:11] local.INFO: Extracted packet for processing {"connection_id":89748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86de"} 
[2026-06-02 11:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756767296,"raw_latitude":119869312,"longitude_deg":75.6767296,"latitude_deg":11.9869312,"altitude":43,"angle":190,"satellites":42,"speed":13,"hex_longitude":"2d1b5a40","hex_latitude":"07250f80","is_valid_coordinates":true} 
[2026-06-02 11:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379207000,"timestamp_ms":1780379207000,"timestamp_seconds":1780379207,"priority":1,"record_length":96,"hex_timestamp":"0000019e86dec558"} 
[2026-06-02 11:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262693456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3729795073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":37,"raw_value":6980579645775620352,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147951911,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2459631616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-4638706322946342905,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:11] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,217,130,1,240,28,227,134,37,4,113,205,7,68,95,41,239,56,216,2,188,23,230,221],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:22:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657119,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":13319,"135":206,"83":42752,"24":13,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:22:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":13319,"unknown_135":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":89748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:22:11] local.INFO: GPS data processed {"connection_id":89748,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:22:11] local.INFO: Acknowledgment sent {"connection_id":89748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:22:24] local.INFO: TCP Data received {"connection_id":90809,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:22:24] local.INFO: Processing buffer {"connection_id":90809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:22:24] local.INFO: IMEI packet received {"connection_id":90809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":90809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:22:29] local.INFO: TCP Data received {"connection_id":90809,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:22:29] local.INFO: Processing buffer {"connection_id":90809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:22:29] local.INFO: IMEI packet received {"connection_id":90809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":90809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:22:30] local.INFO: TCP Data received {"connection_id":90809,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:22:30] local.INFO: Processing buffer {"connection_id":90809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:22:30] local.INFO: Packet analysis {"connection_id":90809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:22:30] local.INFO: Extracted packet for processing {"connection_id":90809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:22:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:30] 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-06-02 11:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:22:30] 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-06-02 11:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:22:30] 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-06-02 11:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:22:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":90809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:22:30] local.INFO: GPS data processed {"connection_id":90809,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:22:30] local.INFO: Acknowledgment sent {"connection_id":90809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:22:34] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:22:34] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:22:34] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:22:35] local.INFO: TCP Data received {"connection_id":89593,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e2fb78012cf9b300073fa7b0003e002429..."} 
[2026-06-02 11:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e2fb78012cf9b300073fa7b0003e002429..."} 
[2026-06-02 11:22:35] local.INFO: Processing buffer {"connection_id":89593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e2fb78012cf9b300073fa7b0003e002429..."} 
[2026-06-02 11:22:35] local.INFO: Packet analysis {"connection_id":89593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:22:35] local.INFO: Extracted packet for processing {"connection_id":89593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e2"} 
[2026-06-02 11:22:35] local.INFO: GPS Element Parsed {"raw_longitude":754561792,"raw_latitude":121612208,"longitude_deg":75.4561792,"latitude_deg":12.1612208,"altitude":62,"angle":36,"satellites":41,"speed":47,"hex_longitude":"2cf9b300","hex_latitude":"073fa7b0","is_valid_coordinates":true} 
[2026-06-02 11:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777145344001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119122356768604160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-461337455697786880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780379483000,"timestamp_ms":1780379483000,"timestamp_seconds":1780379483,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e2fb78"} 
[2026-06-02 11:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-02 11:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777145344001,"66":28300,"40":206,"28":26368,"24":47,"16":119122356768604160,"44":-461337455697786880},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777145344001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119122356768604160,"km_value":119122356768604.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-461337455697786880,"description":"Unknown IO ID 44"} 
[2026-06-02 11:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777145344001,"power":28300,"unknown_40":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_44":-461337455697786880}} 
[2026-06-02 11:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":89593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:22:35] local.INFO: GPS data processed {"connection_id":89593,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:22:35] local.INFO: Acknowledgment sent {"connection_id":89593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:22:39] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:22:39] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:22:39] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:22:40] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:22:40] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:22:40] local.INFO: Packet analysis {"connection_id":89749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:22:40] local.INFO: Extracted packet for processing {"connection_id":89749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:22:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:22:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:22:40] 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-06-02 11:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:22:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":89749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:22:40] local.INFO: GPS data processed {"connection_id":89749,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:22:40] local.INFO: Acknowledgment sent {"connection_id":89749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:22:59] local.INFO: TCP Data received {"connection_id":89750,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:22:59] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:22:59] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:23:01] local.INFO: TCP Data received {"connection_id":90809,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:23:01] local.INFO: Processing buffer {"connection_id":90809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:23:01] local.INFO: Packet analysis {"connection_id":90809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:23:01] local.INFO: Extracted packet for processing {"connection_id":90809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:23:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23: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-06-02 11:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:23: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-06-02 11:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:23:01] 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-06-02 11:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:23:01] 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-06-02 11:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:23:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":90809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:23:01] local.INFO: GPS data processed {"connection_id":90809,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:23:01] local.INFO: Acknowledgment sent {"connection_id":90809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:23:03] local.INFO: TCP Data received {"connection_id":89750,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:23:03] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:23:03] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:23:04] local.INFO: TCP Data received {"connection_id":89750,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e312e8012cf9c280073fc118003900192a..."} 
[2026-06-02 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e312e8012cf9c280073fc118003900192a..."} 
[2026-06-02 11:23:04] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e312e8012cf9c280073fc118003900192a..."} 
[2026-06-02 11:23:04] local.INFO: Packet analysis {"connection_id":89750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:04] local.INFO: Extracted packet for processing {"connection_id":89750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":754565760,"raw_latitude":121618712,"longitude_deg":75.456576,"latitude_deg":12.1618712,"altitude":57,"angle":25,"satellites":42,"speed":51,"hex_longitude":"2cf9c280","hex_latitude":"073fc118","is_valid_coordinates":true} 
[2026-06-02 11:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777147648001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119122726135791616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454019106301562880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780379489000,"timestamp_ms":1780379489000,"timestamp_seconds":1780379489,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e312e8"} 
[2026-06-02 11:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:23: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-06-02 11:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 11:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777147648001,"66":28376,"40":206,"28":26368,"24":51,"16":119122726135791616,"44":-454019106301562880},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777147648001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:23:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119122726135791616,"km_value":119122726135791.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454019106301562880,"description":"Unknown IO ID 44"} 
[2026-06-02 11:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777147648001,"power":28376,"unknown_40":206,"unknown_28":26368,"ignition":51,"odometer":null,"unknown_44":-454019106301562880}} 
[2026-06-02 11:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":89750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:23:04] local.INFO: GPS data processed {"connection_id":89750,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:23:04] local.INFO: Acknowledgment sent {"connection_id":89750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:23:12] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:23:12] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:23:12] local.INFO: Packet analysis {"connection_id":89749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:12] local.INFO: Extracted packet for processing {"connection_id":89749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:23:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:23:12] 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-06-02 11:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:23:12] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":89749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:23:12] local.INFO: GPS data processed {"connection_id":89749,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:23:12] local.INFO: Acknowledgment sent {"connection_id":89749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:23:24] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:23:24] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:23:24] local.INFO: IMEI packet received {"connection_id":89751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":89751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:23:29] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:23:29] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:23:29] local.INFO: IMEI packet received {"connection_id":89751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:23:30] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:23:30] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:23:30] local.INFO: Packet analysis {"connection_id":89751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:23:30] local.INFO: Extracted packet for processing {"connection_id":89751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:30] 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-06-02 11:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:23:30] 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-06-02 11:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:23:30] 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-06-02 11:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:23:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":89751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:23:30] local.INFO: GPS data processed {"connection_id":89751,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:23:30] local.INFO: Acknowledgment sent {"connection_id":89751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:23:34] local.INFO: TCP Data received {"connection_id":89342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:23:34] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:23:34] local.INFO: IMEI packet received {"connection_id":89342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":89342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:23:36] local.INFO: TCP Data received {"connection_id":89750,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e33228012cf9d300073fe4800033001129..."} 
[2026-06-02 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e33228012cf9d300073fe4800033001129..."} 
[2026-06-02 11:23:36] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e33228012cf9d300073fe4800033001129..."} 
[2026-06-02 11:23:36] local.INFO: Packet analysis {"connection_id":89750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:36] local.INFO: Extracted packet for processing {"connection_id":89750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":754569984,"raw_latitude":121627776,"longitude_deg":75.4569984,"latitude_deg":12.1627776,"altitude":51,"angle":17,"satellites":41,"speed":47,"hex_longitude":"2cf9d300","hex_latitude":"073fe480","is_valid_coordinates":true} 
[2026-06-02 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777149184001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119123207172128768,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-449656244160882688,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379497000,"timestamp_ms":1780379497000,"timestamp_seconds":1780379497,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e33228"} 
[2026-06-02 11:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 11:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777149184001,"66":28148,"40":206,"28":26368,"24":47,"16":119123207172128768,"44":-449656244160882688},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777149184001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:23:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119123207172128768,"km_value":119123207172128.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-449656244160882688,"description":"Unknown IO ID 44"} 
[2026-06-02 11:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777149184001,"power":28148,"unknown_40":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_44":-449656244160882688}} 
[2026-06-02 11:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":89750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:23:36] local.INFO: GPS data processed {"connection_id":89750,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:23:36] local.INFO: Acknowledgment sent {"connection_id":89750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:23:39] local.INFO: TCP Data received {"connection_id":89342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:23:39] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:23:39] local.INFO: IMEI packet received {"connection_id":89342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":89342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:23:40] local.INFO: TCP Data received {"connection_id":89342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:23:40] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:23:40] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:40] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:23:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:23:40] 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-06-02 11:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:23:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:23:40] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:23:40] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:23:46] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:23:46] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:23:46] local.INFO: IMEI packet received {"connection_id":89594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":89594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:23:51] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:23:51] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:23:51] local.INFO: IMEI packet received {"connection_id":89594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 11:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":89594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:23:51] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-06-02 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-06-02 11:23:51] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-06-02 11:23:51] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 11:23:51] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 11:23: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-06-02 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:23:51] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-06-02 11:23:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:23:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 11:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 11:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 11:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 11:23:51] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 11:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 11:23:51] local.ERROR: GPS data processing failed {"connection_id":89594,"error":"No valid data to process"} 
[2026-06-02 11:23:51] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 11:23:59] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:23:59] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:23:59] local.INFO: IMEI packet received {"connection_id":89343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":89343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:24:01] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:24:01] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:24:01] local.INFO: Packet analysis {"connection_id":89751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:24:01] local.INFO: Extracted packet for processing {"connection_id":89751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:24:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24: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-06-02 11:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24: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-06-02 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:24:01] 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-06-02 11: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-06-02 11:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:24:01] 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-06-02 11:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":89751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:01] local.INFO: GPS data processed {"connection_id":89751,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:01] local.INFO: Acknowledgment sent {"connection_id":89751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:03] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:24:03] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:24:03] local.INFO: IMEI packet received {"connection_id":89343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":89343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:24:04] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e339f8012cf9d500073feda00032000429..."} 
[2026-06-02 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e339f8012cf9d500073feda00032000429..."} 
[2026-06-02 11:24:04] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e339f8012cf9d500073feda00032000429..."} 
[2026-06-02 11:24:04] local.INFO: Packet analysis {"connection_id":89343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:04] local.INFO: Extracted packet for processing {"connection_id":89343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:04] local.INFO: GPS Element Parsed {"raw_longitude":754570496,"raw_latitude":121630112,"longitude_deg":75.4570496,"latitude_deg":12.1630112,"altitude":50,"angle":4,"satellites":41,"speed":46,"hex_longitude":"2cf9d500","hex_latitude":"073feda0","is_valid_coordinates":true} 
[2026-06-02 11:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777151232001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119123323136245760,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-445011907042836480,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780379499000,"timestamp_ms":1780379499000,"timestamp_seconds":1780379499,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e339f8"} 
[2026-06-02 11:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24: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-06-02 11:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-02 11:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777151232001,"66":28430,"40":206,"28":26368,"24":46,"16":119123323136245760,"44":-445011907042836480},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777151232001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119123323136245760,"km_value":119123323136245.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-445011907042836480,"description":"Unknown IO ID 44"} 
[2026-06-02 11:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777151232001,"power":28430,"unknown_40":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_44":-445011907042836480}} 
[2026-06-02 11:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":89343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:04] local.INFO: GPS data processed {"connection_id":89343,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:04] local.INFO: Acknowledgment sent {"connection_id":89343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:11] local.INFO: TCP Data received {"connection_id":89342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:24:11] local.INFO: Processing buffer {"connection_id":89342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:24:11] local.INFO: Packet analysis {"connection_id":89342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:11] local.INFO: Extracted packet for processing {"connection_id":89342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:24:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":89342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:11] local.INFO: GPS data processed {"connection_id":89342,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:11] local.INFO: Acknowledgment sent {"connection_id":89342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:22] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:24:22] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:24:22] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:24:22] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:24:22] 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-06-02 11:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:24: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-06-02 11: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-06-02 11:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:22] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:24:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:22] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:22] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:24] local.INFO: TCP Data received {"connection_id":90810,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:24:24] local.INFO: Processing buffer {"connection_id":90810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:24:24] local.INFO: IMEI packet received {"connection_id":90810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":90810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:24:29] local.INFO: TCP Data received {"connection_id":90810,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:24:29] local.INFO: Processing buffer {"connection_id":90810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:24:29] local.INFO: IMEI packet received {"connection_id":90810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":90810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:24:30] local.INFO: TCP Data received {"connection_id":90810,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:24:30] local.INFO: Processing buffer {"connection_id":90810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:24:30] local.INFO: Packet analysis {"connection_id":90810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:24:30] local.INFO: Extracted packet for processing {"connection_id":90810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:24:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:24: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-06-02 11:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:30] 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-06-02 11:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:24: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:24:30] 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-06-02 11:24: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-06-02 11:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:24:30] 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-06-02 11:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":90810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:30] local.INFO: GPS data processed {"connection_id":90810,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:30] local.INFO: Acknowledgment sent {"connection_id":90810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:34] local.INFO: TCP Data received {"connection_id":90811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:24:34] local.INFO: Processing buffer {"connection_id":90811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:24:34] local.INFO: IMEI packet received {"connection_id":90811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":90811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:24:36] local.INFO: TCP Data received {"connection_id":89343,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e34d80012cf9d84007400630002e000f29..."} 
[2026-06-02 11:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e34d80012cf9d84007400630002e000f29..."} 
[2026-06-02 11:24:36] local.INFO: Processing buffer {"connection_id":89343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e34d80012cf9d84007400630002e000f29..."} 
[2026-06-02 11:24:36] local.INFO: Packet analysis {"connection_id":89343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:36] local.INFO: Extracted packet for processing {"connection_id":89343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":754571328,"raw_latitude":121636400,"longitude_deg":75.4571328,"latitude_deg":12.16364,"altitude":46,"angle":15,"satellites":41,"speed":54,"hex_longitude":"2cf9d840","hex_latitude":"07400630","is_valid_coordinates":true} 
[2026-06-02 11:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777151744001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119123632373891072,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-444448957088817152,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379504000,"timestamp_ms":1780379504000,"timestamp_seconds":1780379504,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e34d80"} 
[2026-06-02 11:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 11:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777151744001,"66":28332,"40":206,"28":26368,"24":54,"16":119123632373891072,"44":-444448957088817152},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777151744001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119123632373891072,"km_value":119123632373891.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-444448957088817152,"description":"Unknown IO ID 44"} 
[2026-06-02 11:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777151744001,"power":28332,"unknown_40":206,"unknown_28":26368,"ignition":54,"odometer":null,"unknown_44":-444448957088817152}} 
[2026-06-02 11:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":89343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:36] local.INFO: GPS data processed {"connection_id":89343,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:36] local.INFO: Acknowledgment sent {"connection_id":89343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:39] local.INFO: TCP Data received {"connection_id":90811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:24:39] local.INFO: Processing buffer {"connection_id":90811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:24:39] local.INFO: IMEI packet received {"connection_id":90811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":90811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:24:40] local.INFO: TCP Data received {"connection_id":90811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:24:40] local.INFO: Processing buffer {"connection_id":90811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:24:40] local.INFO: Packet analysis {"connection_id":90811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:40] local.INFO: Extracted packet for processing {"connection_id":90811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:24:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:24:40] 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-06-02 11:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":90811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:41] local.INFO: GPS data processed {"connection_id":90811,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:41] local.INFO: Acknowledgment sent {"connection_id":90811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:53] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:24:53] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:24:53] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:24:53] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:24:53] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:24:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:24:53] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:24:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:24:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:24:53] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:24:53] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:24:59] local.INFO: TCP Data received {"connection_id":89752,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:24:59] local.INFO: Processing buffer {"connection_id":89752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:24:59] local.INFO: IMEI packet received {"connection_id":89752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":89752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:25:02] local.INFO: TCP Data received {"connection_id":90810,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:25:02] local.INFO: Processing buffer {"connection_id":90810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e14dc8012ceb7a800713b9d0000b009f2c..."} 
[2026-06-02 11:25:02] local.INFO: Packet analysis {"connection_id":90810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:25:02] local.INFO: Extracted packet for processing {"connection_id":90810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e1"} 
[2026-06-02 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":11,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777042432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:02] 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-06-02 11:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780379373000,"timestamp_ms":1780379373000,"timestamp_seconds":1780379373,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e14dc8"} 
[2026-06-02 11:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25: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-06-02 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:25: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-06-02 11:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777042432001,"66":26158,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777042432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777042432001,"power":26158,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":90810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:02] local.INFO: GPS data processed {"connection_id":90810,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:02] local.INFO: Acknowledgment sent {"connection_id":90810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:03] local.INFO: TCP Data received {"connection_id":89752,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:25:03] local.INFO: Processing buffer {"connection_id":89752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:25:03] local.INFO: IMEI packet received {"connection_id":89752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":89752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:25:04] local.INFO: TCP Data received {"connection_id":89752,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e368d8012cf9e340074028180029000c29..."} 
[2026-06-02 11:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e368d8012cf9e340074028180029000c29..."} 
[2026-06-02 11:25:04] local.INFO: Processing buffer {"connection_id":89752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e368d8012cf9e340074028180029000c29..."} 
[2026-06-02 11:25:04] local.INFO: Packet analysis {"connection_id":89752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:04] local.INFO: Extracted packet for processing {"connection_id":89752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":754574144,"raw_latitude":121645080,"longitude_deg":75.4574144,"latitude_deg":12.164508,"altitude":41,"angle":12,"satellites":41,"speed":51,"hex_longitude":"2cf9e340","hex_latitude":"07402818","is_valid_coordinates":true} 
[2026-06-02 11:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777153024001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119124074755522560,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-443534163412897792,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780379511000,"timestamp_ms":1780379511000,"timestamp_seconds":1780379511,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e368d8"} 
[2026-06-02 11:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25: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-06-02 11:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777153024001,"66":28452,"40":206,"28":26368,"24":51,"16":119124074755522560,"44":-443534163412897792},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777153024001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119124074755522560,"km_value":119124074755522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-443534163412897792,"description":"Unknown IO ID 44"} 
[2026-06-02 11:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777153024001,"power":28452,"unknown_40":206,"unknown_28":26368,"ignition":51,"odometer":null,"unknown_44":-443534163412897792}} 
[2026-06-02 11:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":89752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:04] local.INFO: GPS data processed {"connection_id":89752,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:04] local.INFO: Acknowledgment sent {"connection_id":89752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:11] local.INFO: TCP Data received {"connection_id":90811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:25:11] local.INFO: Processing buffer {"connection_id":90811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:25:11] local.INFO: Packet analysis {"connection_id":90811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:11] local.INFO: Extracted packet for processing {"connection_id":90811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:25:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":90811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:11] local.INFO: GPS data processed {"connection_id":90811,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:11] local.INFO: Acknowledgment sent {"connection_id":90811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:24] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:25:24] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:25:24] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:24] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:24] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:24] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:25:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:24] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:24] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:29] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:25:29] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:25:29] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:25:34] local.INFO: TCP Data received {"connection_id":89344,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:25:34] local.INFO: Processing buffer {"connection_id":89344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:25:34] local.INFO: IMEI packet received {"connection_id":89344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":89344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:25:34] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:25:34] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:25:34] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:25:35] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:25:35] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:25:35] local.INFO: Packet analysis {"connection_id":89595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:35] local.INFO: Extracted packet for processing {"connection_id":89595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:35] 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-06-02 11:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:35] 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-06-02 11:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":89595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:35] local.INFO: GPS data processed {"connection_id":89595,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:35] local.INFO: Acknowledgment sent {"connection_id":89595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:36] local.INFO: TCP Data received {"connection_id":89752,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e37490012cf9e7c0074036280027001a27..."} 
[2026-06-02 11:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e37490012cf9e7c0074036280027001a27..."} 
[2026-06-02 11:25:36] local.INFO: Processing buffer {"connection_id":89752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e37490012cf9e7c0074036280027001a27..."} 
[2026-06-02 11:25:36] local.INFO: Packet analysis {"connection_id":89752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:36] local.INFO: Extracted packet for processing {"connection_id":89752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:36] local.INFO: GPS Element Parsed {"raw_longitude":754575296,"raw_latitude":121648680,"longitude_deg":75.4575296,"latitude_deg":12.164868,"altitude":39,"angle":26,"satellites":39,"speed":50,"hex_longitude":"2cf9e7c0","hex_latitude":"07403628","is_valid_coordinates":true} 
[2026-06-02 11:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777154816001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119124255144148992,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-440437938666858496,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379514000,"timestamp_ms":1780379514000,"timestamp_seconds":1780379514,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e37490"} 
[2026-06-02 11:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777154816001,"66":28300,"40":206,"28":26368,"24":50,"16":119124255144148992,"44":-440437938666858496},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777154816001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119124255144148992,"km_value":119124255144148.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-440437938666858496,"description":"Unknown IO ID 44"} 
[2026-06-02 11:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777154816001,"power":28300,"unknown_40":206,"unknown_28":26368,"ignition":50,"odometer":null,"unknown_44":-440437938666858496}} 
[2026-06-02 11:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":89752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:36] local.INFO: GPS data processed {"connection_id":89752,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:36] local.INFO: Acknowledgment sent {"connection_id":89752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:39] local.INFO: TCP Data received {"connection_id":89344,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:25:39] local.INFO: Processing buffer {"connection_id":89344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:25:39] local.INFO: IMEI packet received {"connection_id":89344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":89344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:25:39] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:25:39] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:25:39] local.INFO: Packet analysis {"connection_id":89595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:39] local.INFO: Extracted packet for processing {"connection_id":89595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:39] 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-06-02 11:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:39] 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-06-02 11: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-06-02 11:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:25:39] 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-06-02 11:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":89595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:39] local.INFO: GPS data processed {"connection_id":89595,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:39] local.INFO: Acknowledgment sent {"connection_id":89595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:40] local.INFO: TCP Data received {"connection_id":89344,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:25:40] local.INFO: Processing buffer {"connection_id":89344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:25:40] local.INFO: Packet analysis {"connection_id":89344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:40] local.INFO: Extracted packet for processing {"connection_id":89344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:25:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:25:40] 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-06-02 11:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":89344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:40] local.INFO: GPS data processed {"connection_id":89344,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:40] local.INFO: Acknowledgment sent {"connection_id":89344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:55] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:25:55] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:25:55] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:55] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:25:55] 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-06-02 11:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:25:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:25: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-06-02 11: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-06-02 11:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:25:55] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:25:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:25:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:25:55] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:25:55] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:25:58] local.INFO: TCP Data received {"connection_id":90812,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:25:58] local.INFO: Processing buffer {"connection_id":90812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:25:58] local.INFO: IMEI packet received {"connection_id":90812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":90812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:26:03] local.INFO: TCP Data received {"connection_id":90812,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:26:03] local.INFO: Processing buffer {"connection_id":90812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:26:03] local.INFO: IMEI packet received {"connection_id":90812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":90812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:26:04] local.INFO: TCP Data received {"connection_id":90812,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e37c60012cf9ed0007403de00026002829..."} 
[2026-06-02 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e37c60012cf9ed0007403de00026002829..."} 
[2026-06-02 11:26:04] local.INFO: Processing buffer {"connection_id":90812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e37c60012cf9ed0007403de00026002829..."} 
[2026-06-02 11:26:04] local.INFO: Packet analysis {"connection_id":90812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:04] local.INFO: Extracted packet for processing {"connection_id":90812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":754576640,"raw_latitude":121650656,"longitude_deg":75.457664,"latitude_deg":12.1650656,"altitude":38,"angle":40,"satellites":41,"speed":47,"hex_longitude":"2cf9ed00","hex_latitude":"07403de0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155584001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119124371108265984,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-439171301270738944,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780379516000,"timestamp_ms":1780379516000,"timestamp_seconds":1780379516,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e37c60"} 
[2026-06-02 11:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:26: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-06-02 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 11:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155584001,"66":28452,"40":206,"28":26368,"24":47,"16":119124371108265984,"44":-439171301270738944},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155584001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:26:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119124371108265984,"km_value":119124371108265.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-439171301270738944,"description":"Unknown IO ID 44"} 
[2026-06-02 11:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155584001,"power":28452,"unknown_40":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_44":-439171301270738944}} 
[2026-06-02 11:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":90812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:26:04] local.INFO: GPS data processed {"connection_id":90812,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:26:04] local.INFO: Acknowledgment sent {"connection_id":90812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:26:11] local.INFO: TCP Data received {"connection_id":89344,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:26:11] local.INFO: Processing buffer {"connection_id":89344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:26:11] local.INFO: Packet analysis {"connection_id":89344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:11] local.INFO: Extracted packet for processing {"connection_id":89344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:26:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:26:11] 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-06-02 11:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:26:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":89344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:26:11] local.INFO: GPS data processed {"connection_id":89344,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:26:11] local.INFO: Acknowledgment sent {"connection_id":89344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:26:24] local.INFO: TCP Data received {"connection_id":89345,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:26:24] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:26:24] local.INFO: IMEI packet received {"connection_id":89345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":89345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:26:26] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:26:26] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:26:26] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:26:26] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:26:26] 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-06-02 11:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:26:26] 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-06-02 11: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-06-02 11:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:26:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:26:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:26:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:26:26] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:26:26] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:26:29] local.INFO: TCP Data received {"connection_id":89345,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:26:29] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:26:29] local.INFO: IMEI packet received {"connection_id":89345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":89345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:26:30] local.INFO: TCP Data received {"connection_id":89345,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:26:30] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:26:30] local.INFO: Packet analysis {"connection_id":89345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:26:30] local.INFO: Extracted packet for processing {"connection_id":89345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:26:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:30] 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-06-02 11:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:26:30] 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-06-02 11: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-06-02 11:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:26:30] 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-06-02 11:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:26:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":89345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:26:30] local.INFO: GPS data processed {"connection_id":89345,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:26:30] local.INFO: Acknowledgment sent {"connection_id":89345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:26:34] local.INFO: TCP Data received {"connection_id":90813,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:26:34] local.INFO: Processing buffer {"connection_id":90813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:26:34] local.INFO: IMEI packet received {"connection_id":90813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":90813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:26:36] local.INFO: TCP Data received {"connection_id":90812,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e38430012cf9f3c0074043d80024003627..."} 
[2026-06-02 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e38430012cf9f3c0074043d80024003627..."} 
[2026-06-02 11:26:36] local.INFO: Processing buffer {"connection_id":90812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e38430012cf9f3c0074043d80024003627..."} 
[2026-06-02 11:26:36] local.INFO: Packet analysis {"connection_id":90812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:36] local.INFO: Extracted packet for processing {"connection_id":90812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":754578368,"raw_latitude":121652184,"longitude_deg":75.4578368,"latitude_deg":12.1652184,"altitude":36,"angle":54,"satellites":39,"speed":46,"hex_longitude":"2cf9f3c0","hex_latitude":"074043d8","is_valid_coordinates":true} 
[2026-06-02 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777156096001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119124482777415680,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-437693557642502144,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379518000,"timestamp_ms":1780379518000,"timestamp_seconds":1780379518,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e38430"} 
[2026-06-02 11:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777156096001,"66":28571,"40":206,"28":26368,"24":46,"16":119124482777415680,"44":-437693557642502144},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777156096001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:26:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119124482777415680,"km_value":119124482777415.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-437693557642502144,"description":"Unknown IO ID 44"} 
[2026-06-02 11:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777156096001,"power":28571,"unknown_40":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_44":-437693557642502144}} 
[2026-06-02 11:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":90812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:26:36] local.INFO: GPS data processed {"connection_id":90812,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:26:36] local.INFO: Acknowledgment sent {"connection_id":90812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:26:39] local.INFO: TCP Data received {"connection_id":90813,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:26:39] local.INFO: Processing buffer {"connection_id":90813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:26:39] local.INFO: IMEI packet received {"connection_id":90813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":90813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:26:40] local.INFO: TCP Data received {"connection_id":90813,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:26:40] local.INFO: Processing buffer {"connection_id":90813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:26:40] local.INFO: Packet analysis {"connection_id":90813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:40] local.INFO: Extracted packet for processing {"connection_id":90813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:26:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:26:40] 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-06-02 11:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:26:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":90813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:26:40] local.INFO: GPS data processed {"connection_id":90813,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:26:40] local.INFO: Acknowledgment sent {"connection_id":90813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:26:58] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:26:58] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:26:58] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:26:58] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:26:58] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:26:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:26:58] 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-06-02 11:26: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-06-02 11:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:26:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:26:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:26:58] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:26:58] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:26:58] local.INFO: TCP Data received {"connection_id":90814,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:26:58] local.INFO: Processing buffer {"connection_id":90814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:26:58] local.INFO: IMEI packet received {"connection_id":90814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":90814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:27:02] local.INFO: TCP Data received {"connection_id":89345,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:27:02] local.INFO: Processing buffer {"connection_id":89345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:27:02] local.INFO: Packet analysis {"connection_id":89345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:27:02] local.INFO: Extracted packet for processing {"connection_id":89345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:27:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:02] 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-06-02 11:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27: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-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:27:02] 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-06-02 11: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-06-02 11:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:27:02] 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-06-02 11:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":89345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:02] local.INFO: GPS data processed {"connection_id":89345,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:02] local.INFO: Acknowledgment sent {"connection_id":89345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:27:04] local.INFO: TCP Data received {"connection_id":90814,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:27:04] local.INFO: Processing buffer {"connection_id":90814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:27:04] local.INFO: IMEI packet received {"connection_id":90814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":90814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:27:05] local.INFO: TCP Data received {"connection_id":90814,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e3a370012cfa1280074056b80021004828..."} 
[2026-06-02 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e3a370012cfa1280074056b80021004828..."} 
[2026-06-02 11:27:05] local.INFO: Processing buffer {"connection_id":90814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e3a370012cfa1280074056b80021004828..."} 
[2026-06-02 11:27:05] local.INFO: Packet analysis {"connection_id":90814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:27:05] local.INFO: Extracted packet for processing {"connection_id":90814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":754586240,"raw_latitude":121657016,"longitude_deg":75.458624,"latitude_deg":12.1657016,"altitude":33,"angle":72,"satellites":40,"speed":44,"hex_longitude":"2cfa1280","hex_latitude":"074056b8","is_valid_coordinates":true} 
[2026-06-02 11:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777156608001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119124925159047168,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-435793601549314048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379526000,"timestamp_ms":1780379526000,"timestamp_seconds":1780379526,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e3a370"} 
[2026-06-02 11:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27: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-06-02 11:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-02 11:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777156608001,"66":28452,"40":206,"28":26368,"24":44,"16":119124925159047168,"44":-435793601549314048},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777156608001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119124925159047168,"km_value":119124925159047.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-435793601549314048,"description":"Unknown IO ID 44"} 
[2026-06-02 11:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777156608001,"power":28452,"unknown_40":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_44":-435793601549314048}} 
[2026-06-02 11:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":90814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:05] local.INFO: GPS data processed {"connection_id":90814,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:05] local.INFO: Acknowledgment sent {"connection_id":90814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:27:11] local.INFO: TCP Data received {"connection_id":90813,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:27:11] local.INFO: Processing buffer {"connection_id":90813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e36cc0012d1b5a8007250228002d00b729..."} 
[2026-06-02 11:27:11] local.INFO: Packet analysis {"connection_id":90813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:27:11] local.INFO: Extracted packet for processing {"connection_id":90813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777076992001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186358734848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379512000,"timestamp_ms":1780379512000,"timestamp_seconds":1780379512,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e36cc0"} 
[2026-06-02 11:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2262713456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3733123073,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4517110619538728960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2460090368,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57819846184686503,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-698056648997699577,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,135,83,24,241,157,16,146,158,197,45,64,15,43,42,10,66,166,128,1,240,60,227,134,37,4,113,205,7,80,95,144,239,53,216,2,188,39,8,38,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-06-02 11:27:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098685631229657154,"timestamp_seconds":3098685631229657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 11:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777076992001,"66":2166,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1970958186358734848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777076992001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186358734848,"description":"Unknown IO ID 45"} 
[2026-06-02 11:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777076992001,"power":2166,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970958186358734848}} 
[2026-06-02 11:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":90813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:11] local.INFO: GPS data processed {"connection_id":90813,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:11] local.INFO: Acknowledgment sent {"connection_id":90813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:27:24] local.INFO: TCP Data received {"connection_id":89346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:27:24] local.INFO: Processing buffer {"connection_id":89346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:27:24] local.INFO: IMEI packet received {"connection_id":89346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:27:29] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:27:29] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:27:29] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:27:29] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:27:29] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:27:29] 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-06-02 11:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:27:29] 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-06-02 11: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-06-02 11:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:27:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:29] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:29] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:27:29] local.INFO: TCP Data received {"connection_id":89346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:27:29] local.INFO: Processing buffer {"connection_id":89346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:27:29] local.INFO: IMEI packet received {"connection_id":89346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":89346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:27:30] local.INFO: TCP Data received {"connection_id":89346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:27:30] local.INFO: Processing buffer {"connection_id":89346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:27:30] local.INFO: Packet analysis {"connection_id":89346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:27:30] local.INFO: Extracted packet for processing {"connection_id":89346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:27:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:27: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-06-02 11:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:30] 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-06-02 11:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:27: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:27:30] 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-06-02 11:27: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-06-02 11:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:27:30] 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-06-02 11:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":89346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:30] local.INFO: GPS data processed {"connection_id":89346,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:30] local.INFO: Acknowledgment sent {"connection_id":89346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:27:36] local.INFO: TCP Data received {"connection_id":90814,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e3a370012cfa1280074056b80021004828..."} 
[2026-06-02 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e3a370012cfa1280074056b80021004828..."} 
[2026-06-02 11:27:36] local.INFO: Processing buffer {"connection_id":90814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e3a370012cfa1280074056b80021004828..."} 
[2026-06-02 11:27:36] local.INFO: Packet analysis {"connection_id":90814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:27:36] local.INFO: Extracted packet for processing {"connection_id":90814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":754586240,"raw_latitude":121657016,"longitude_deg":75.458624,"latitude_deg":12.1657016,"altitude":33,"angle":72,"satellites":40,"speed":44,"hex_longitude":"2cfa1280","hex_latitude":"074056b8","is_valid_coordinates":true} 
[2026-06-02 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777158656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119124925159047168,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-427138246014224384,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379526000,"timestamp_ms":1780379526000,"timestamp_seconds":1780379526,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e3a370"} 
[2026-06-02 11:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777158656001,"66":28452,"40":206,"28":26368,"24":44,"16":119124925159047168,"44":-427138246014224384},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777158656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119124925159047168,"km_value":119124925159047.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-427138246014224384,"description":"Unknown IO ID 44"} 
[2026-06-02 11:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777158656001,"power":28452,"unknown_40":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_44":-427138246014224384}} 
[2026-06-02 11:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":90814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:36] local.INFO: GPS data processed {"connection_id":90814,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:36] local.INFO: Acknowledgment sent {"connection_id":90814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:27:39] local.INFO: TCP Data received {"connection_id":90815,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:27:39] local.INFO: Processing buffer {"connection_id":90815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:27:39] local.INFO: IMEI packet received {"connection_id":90815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":90815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:27:44] local.INFO: TCP Data received {"connection_id":90815,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:27:44] local.INFO: Processing buffer {"connection_id":90815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:27:44] local.INFO: IMEI packet received {"connection_id":90815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":90815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:27:45] local.INFO: TCP Data received {"connection_id":90815,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:27:45] local.INFO: Processing buffer {"connection_id":90815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:27:45] local.INFO: Packet analysis {"connection_id":90815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:27:45] local.INFO: Extracted packet for processing {"connection_id":90815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:27: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-06-02 11:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":90815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":90815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":90815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:27:45] 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-06-02 11:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:45] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":90815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:45] local.INFO: GPS data processed {"connection_id":90815,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:45] local.INFO: Acknowledgment sent {"connection_id":90815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:27:49] local.INFO: TCP Data received {"connection_id":90815,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:27:49] local.INFO: Processing buffer {"connection_id":90815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:27:49] local.INFO: Packet analysis {"connection_id":90815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:27:49] local.INFO: Extracted packet for processing {"connection_id":90815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:27:49] 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-06-02 11:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:27:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":90815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:27:50] local.INFO: GPS data processed {"connection_id":90815,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:27:50] local.INFO: Acknowledgment sent {"connection_id":90815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:00] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:28:00] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e587d0012d7a2e0005eb90100018002d09..."} 
[2026-06-02 11:28:00] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:28:00] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:28:00] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99323920,"longitude_deg":76.2981888,"latitude_deg":9.932392,"altitude":24,"angle":45,"satellites":9,"speed":0,"hex_longitude":"2d7a2e00","hex_latitude":"05eb9010","is_valid_coordinates":true} 
[2026-06-02 11:28:00] 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-06-02 11:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780379650000,"timestamp_ms":1780379650000,"timestamp_seconds":1780379650,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e587d0"} 
[2026-06-02 11:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:28:00] 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-06-02 11: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-06-02 11:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12374,"161":206,"87":13824,"24":0,"16":87831200734904320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16]} 
[2026-06-02 11:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:28:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-02 11:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:28:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 11:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:28:00] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:28:00] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:01] local.INFO: TCP Data received {"connection_id":89346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:28:01] local.INFO: Processing buffer {"connection_id":89346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:28:01] local.INFO: Packet analysis {"connection_id":89346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:28:01] local.INFO: Extracted packet for processing {"connection_id":89346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:28:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28: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-06-02 11:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:28: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-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:28:01] 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-06-02 11: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-06-02 11:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:28: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-06-02 11:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:28:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":89346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:28:01] local.INFO: GPS data processed {"connection_id":89346,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:28:01] local.INFO: Acknowledgment sent {"connection_id":89346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:03] local.INFO: TCP Data received {"connection_id":89596,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:03] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:03] local.INFO: IMEI packet received {"connection_id":89596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":89596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:28:08] local.INFO: TCP Data received {"connection_id":89596,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:08] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:08] local.INFO: IMEI packet received {"connection_id":89596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":89596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:28:09] local.INFO: TCP Data received {"connection_id":89596,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e3ab40012cfa1bc007405868002100572a..."} 
[2026-06-02 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e3ab40012cfa1bc007405868002100572a..."} 
[2026-06-02 11:28:09] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e3ab40012cfa1bc007405868002100572a..."} 
[2026-06-02 11:28:09] local.INFO: Packet analysis {"connection_id":89596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:28:09] local.INFO: Extracted packet for processing {"connection_id":89596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:28:09] local.INFO: GPS Element Parsed {"raw_longitude":754588608,"raw_latitude":121657448,"longitude_deg":75.4588608,"latitude_deg":12.1657448,"altitude":33,"angle":87,"satellites":42,"speed":46,"hex_longitude":"2cfa1bc0","hex_latitude":"07405868","is_valid_coordinates":true} 
[2026-06-02 11:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777158656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-427138246014224384,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780379528000,"timestamp_ms":1780379528000,"timestamp_seconds":1780379528,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e3ab40"} 
[2026-06-02 11:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777158656001,"66":28517,"40":206,"28":26368,"24":46,"16":119125041123164160,"44":-427138246014224384},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777158656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:28:09] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-427138246014224384,"description":"Unknown IO ID 44"} 
[2026-06-02 11:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777158656001,"power":28517,"unknown_40":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_44":-427138246014224384}} 
[2026-06-02 11:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":89596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:28:09] local.INFO: GPS data processed {"connection_id":89596,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:28:09] local.INFO: Acknowledgment sent {"connection_id":89596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:14] local.INFO: TCP Data received {"connection_id":89596,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e3fd48012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e3fd48012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:28:14] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e3fd48012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:28:14] local.INFO: Packet analysis {"connection_id":89596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:28:14] local.INFO: Extracted packet for processing {"connection_id":89596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e3"} 
[2026-06-02 11:28:14] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777159168001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-424534602479540224,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780379549000,"timestamp_ms":1780379549000,"timestamp_seconds":1780379549,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e3fd48"} 
[2026-06-02 11:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777159168001,"66":28256,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-424534602479540224},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777159168001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:28:14] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:28:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-424534602479540224,"description":"Unknown IO ID 44"} 
[2026-06-02 11:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777159168001,"power":28256,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-424534602479540224}} 
[2026-06-02 11:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":89596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:28:14] local.INFO: GPS data processed {"connection_id":89596,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:28:14] local.INFO: Acknowledgment sent {"connection_id":89596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:24] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:28:24] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:28:24] local.INFO: IMEI packet received {"connection_id":89753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:28:29] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:28:29] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:28:29] local.INFO: IMEI packet received {"connection_id":89753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:28:30] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:28:30] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:28:30] local.INFO: Packet analysis {"connection_id":89753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:28:30] local.INFO: Extracted packet for processing {"connection_id":89753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:28:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:28: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-06-02 11:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:30] 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-06-02 11:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:28: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:28:30] 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-06-02 11:28: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-06-02 11:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:28: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-06-02 11:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:28:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":89753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:28:30] local.INFO: GPS data processed {"connection_id":89753,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:28:30] local.INFO: Acknowledgment sent {"connection_id":89753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:31] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:28:31] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:28:31] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:28:31] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:28:31] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:31] 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-06-02 11:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:28:31] 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-06-02 11: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-06-02 11:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:28:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:28:31] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:28:31] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:34] local.INFO: TCP Data received {"connection_id":89347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:28:34] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:28:34] local.INFO: IMEI packet received {"connection_id":89347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":89347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:28:39] local.INFO: TCP Data received {"connection_id":89347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:28:39] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:28:39] local.INFO: IMEI packet received {"connection_id":89347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":89347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:28:40] local.INFO: TCP Data received {"connection_id":89347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:28:40] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:28:40] local.INFO: Packet analysis {"connection_id":89347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:28:40] local.INFO: Extracted packet for processing {"connection_id":89347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:28:40] 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-06-02 11:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:28:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":89347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:28:40] local.INFO: GPS data processed {"connection_id":89347,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:28:40] local.INFO: Acknowledgment sent {"connection_id":89347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:28:59] local.INFO: TCP Data received {"connection_id":90816,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:59] local.INFO: Processing buffer {"connection_id":90816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:28:59] local.INFO: IMEI packet received {"connection_id":90816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":90816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:29:01] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:29:01] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:29:01] local.INFO: Packet analysis {"connection_id":89753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:29:01] local.INFO: Extracted packet for processing {"connection_id":89753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:29:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29: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-06-02 11:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29: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-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:29:01] 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-06-02 11: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-06-02 11:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:29: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-06-02 11:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":89753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:01] local.INFO: GPS data processed {"connection_id":89753,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:01] local.INFO: Acknowledgment sent {"connection_id":89753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:02] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:29:02] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:29:02] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:29:02] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:03] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:03] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:04] local.INFO: TCP Data received {"connection_id":90816,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:29:04] local.INFO: Processing buffer {"connection_id":90816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:29:04] local.INFO: IMEI packet received {"connection_id":90816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":90816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:29:05] local.INFO: TCP Data received {"connection_id":90816,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e44f50012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e44f50012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:29:05] local.INFO: Processing buffer {"connection_id":90816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e44f50012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:29:05] local.INFO: Packet analysis {"connection_id":90816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e4"} 
[2026-06-02 11:29:05] local.INFO: Extracted packet for processing {"connection_id":90816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e4"} 
[2026-06-02 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777164544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379570000,"timestamp_ms":1780379570000,"timestamp_seconds":1780379570,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e44f50"} 
[2026-06-02 11:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29: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-06-02 11: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 11:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777164544001,"66":28517,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777164544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777164544001,"power":28517,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":90816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:05] local.INFO: GPS data processed {"connection_id":90816,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:05] local.INFO: Acknowledgment sent {"connection_id":90816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:12] local.INFO: TCP Data received {"connection_id":89347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:29:12] local.INFO: Processing buffer {"connection_id":89347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:29:12] local.INFO: Packet analysis {"connection_id":89347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:29:12] local.INFO: Extracted packet for processing {"connection_id":89347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:29:12] 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-06-02 11:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:12] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":89347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:12] local.INFO: GPS data processed {"connection_id":89347,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:12] local.INFO: Acknowledgment sent {"connection_id":89347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:24] local.INFO: TCP Data received {"connection_id":89348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:29:24] local.INFO: Processing buffer {"connection_id":89348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:29:24] local.INFO: IMEI packet received {"connection_id":89348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":89348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:29:29] local.INFO: TCP Data received {"connection_id":89348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:29:29] local.INFO: Processing buffer {"connection_id":89348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:29:29] local.INFO: IMEI packet received {"connection_id":89348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":89348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:29:30] local.INFO: TCP Data received {"connection_id":89348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:29:30] local.INFO: Processing buffer {"connection_id":89348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:29:30] local.INFO: Packet analysis {"connection_id":89348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:29:30] local.INFO: Extracted packet for processing {"connection_id":89348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:30] 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-06-02 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:29:30] 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-06-02 11:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":89348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:30] local.INFO: GPS data processed {"connection_id":89348,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:30] local.INFO: Acknowledgment sent {"connection_id":89348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:34] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:29:34] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:29:34] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:29:34] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:34] 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-06-02 11:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:29: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-06-02 11: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-06-02 11:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:34] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:34] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:34] local.INFO: TCP Data received {"connection_id":89349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:29:34] local.INFO: Processing buffer {"connection_id":89349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:29:34] local.INFO: IMEI packet received {"connection_id":89349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":89349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:29:36] local.INFO: TCP Data received {"connection_id":90816,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e4a158012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e4a158012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:29:36] local.INFO: Processing buffer {"connection_id":90816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e4a158012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:29:36] local.INFO: Packet analysis {"connection_id":90816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e4"} 
[2026-06-02 11:29:36] local.INFO: Extracted packet for processing {"connection_id":90816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e4"} 
[2026-06-02 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777169920001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379591000,"timestamp_ms":1780379591000,"timestamp_seconds":1780379591,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e4a158"} 
[2026-06-02 11:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777169920001,"66":28495,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777169920001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777169920001,"power":28495,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":90816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:37] local.INFO: GPS data processed {"connection_id":90816,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:37] local.INFO: Acknowledgment sent {"connection_id":90816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:39] local.INFO: TCP Data received {"connection_id":89349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:29:39] local.INFO: Processing buffer {"connection_id":89349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:29:39] local.INFO: IMEI packet received {"connection_id":89349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":89349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:29:40] local.INFO: TCP Data received {"connection_id":89349,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:29:40] local.INFO: Processing buffer {"connection_id":89349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:29:40] local.INFO: Packet analysis {"connection_id":89349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:29:40] local.INFO: Extracted packet for processing {"connection_id":89349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:29:40] 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-06-02 11:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:29:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":89349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:29:40] local.INFO: GPS data processed {"connection_id":89349,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:29:40] local.INFO: Acknowledgment sent {"connection_id":89349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:29:59] local.INFO: TCP Data received {"connection_id":89597,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:29:59] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:29:59] local.INFO: IMEI packet received {"connection_id":89597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":89597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:30:02] local.INFO: TCP Data received {"connection_id":89348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:02] local.INFO: Processing buffer {"connection_id":89348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e5e590012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:02] local.INFO: Packet analysis {"connection_id":89348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:30:02] local.INFO: Extracted packet for processing {"connection_id":89348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e5"} 
[2026-06-02 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777119488001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:02] 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-06-02 11:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780379674000,"timestamp_ms":1780379674000,"timestamp_seconds":1780379674,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e5e590"} 
[2026-06-02 11:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30: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-06-02 11:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:02] 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-06-02 11:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777119488001,"66":26082,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777119488001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777119488001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":89348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:02] local.INFO: GPS data processed {"connection_id":89348,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:02] local.INFO: Acknowledgment sent {"connection_id":89348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:04] local.INFO: TCP Data received {"connection_id":89597,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:30:04] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:30:04] local.INFO: IMEI packet received {"connection_id":89597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":89597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:30:05] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:30:05] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:30:05] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:30:05] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30: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-06-02 11:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:05] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:05] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:05] local.INFO: TCP Data received {"connection_id":89597,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e4dbf0012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e4dbf0012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:30:05] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e4dbf0012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:30:05] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e4"} 
[2026-06-02 11:30:05] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e4"} 
[2026-06-02 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11:30: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-06-02 11:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777175296001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379606000,"timestamp_ms":1780379606000,"timestamp_seconds":1780379606,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e4dbf0"} 
[2026-06-02 11:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30: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-06-02 11: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777175296001,"66":28495,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777175296001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777175296001,"power":28495,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:05] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:05] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:11] local.INFO: TCP Data received {"connection_id":89349,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:30:11] local.INFO: Processing buffer {"connection_id":89349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:30:11] local.INFO: Packet analysis {"connection_id":89349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:30:11] local.INFO: Extracted packet for processing {"connection_id":89349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":89349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:11] local.INFO: GPS data processed {"connection_id":89349,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:11] local.INFO: Acknowledgment sent {"connection_id":89349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:25] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:30:25] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:30:25] local.INFO: IMEI packet received {"connection_id":89755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 11:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":89755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:30:29] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:30:29] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:30:29] local.INFO: IMEI packet received {"connection_id":89754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":89754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:30:30] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:30:30] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:30:30] local.INFO: IMEI packet received {"connection_id":89755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 11:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":89755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:30:31] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:30:31] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:30:31] local.INFO: Packet analysis {"connection_id":89755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:30:31] local.INFO: Extracted packet for processing {"connection_id":89755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:31] 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-06-02 11:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:31] 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-06-02 11:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:30:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":89755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:31] local.INFO: GPS data processed {"connection_id":89755,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:31] local.INFO: Acknowledgment sent {"connection_id":89755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:34] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:30:34] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:30:34] local.INFO: IMEI packet received {"connection_id":89754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":89754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:30:34] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:30:34] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:30:34] local.INFO: IMEI packet received {"connection_id":89598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":89598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:30:35] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:35] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:35] local.INFO: Packet analysis {"connection_id":89754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:30:35] local.INFO: Extracted packet for processing {"connection_id":89754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:30:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:35] 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-06-02 11:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:35] 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-06-02 11:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":89754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:35] local.INFO: GPS data processed {"connection_id":89754,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:35] local.INFO: Acknowledgment sent {"connection_id":89754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:36] local.INFO: TCP Data received {"connection_id":89597,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:30:36] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:30:36] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:30:36] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:30:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:36] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:36] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:39] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:30:39] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:30:39] local.INFO: IMEI packet received {"connection_id":89598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":89598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:30:39] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:39] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:30:39] local.INFO: Packet analysis {"connection_id":89754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:30:39] local.INFO: Extracted packet for processing {"connection_id":89754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:39] 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-06-02 11:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:39] 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-06-02 11: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-06-02 11:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":89754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:39] local.INFO: GPS data processed {"connection_id":89754,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:39] local.INFO: Acknowledgment sent {"connection_id":89754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:40] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:30:40] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:30:40] local.INFO: Packet analysis {"connection_id":89598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:30:40] local.INFO: Extracted packet for processing {"connection_id":89598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:30:40] 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-06-02 11:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:30:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":89598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:30:40] local.INFO: GPS data processed {"connection_id":89598,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:30:40] local.INFO: Acknowledgment sent {"connection_id":89598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:30:58] local.INFO: TCP Data received {"connection_id":89599,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:30:58] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:30:58] local.INFO: IMEI packet received {"connection_id":89599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":89599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:31:02] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:31:02] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:31:02] local.INFO: Packet analysis {"connection_id":89755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:02] local.INFO: Extracted packet for processing {"connection_id":89755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:02] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:31:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":89755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:31:03] local.INFO: GPS data processed {"connection_id":89755,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:31:03] local.INFO: Acknowledgment sent {"connection_id":89755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:31:04] local.INFO: TCP Data received {"connection_id":89599,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:31:04] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:31:04] local.INFO: IMEI packet received {"connection_id":89599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":89599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:31:05] local.INFO: TCP Data received {"connection_id":89599,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:31:05] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:31:05] local.INFO: Packet analysis {"connection_id":89599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:05] local.INFO: Extracted packet for processing {"connection_id":89599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:31:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":89599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:31:05] local.INFO: GPS data processed {"connection_id":89599,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:31:05] local.INFO: Acknowledgment sent {"connection_id":89599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:31:11] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:31:11] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:31:11] local.INFO: Packet analysis {"connection_id":89598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:31:11] local.INFO: Extracted packet for processing {"connection_id":89598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:31:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":89598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:31:11] local.INFO: GPS data processed {"connection_id":89598,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:31:11] local.INFO: Acknowledgment sent {"connection_id":89598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:31:24] local.INFO: TCP Data received {"connection_id":90817,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:31:24] local.INFO: Processing buffer {"connection_id":90817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:31:24] local.INFO: IMEI packet received {"connection_id":90817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":90817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:31:29] local.INFO: TCP Data received {"connection_id":90817,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:31:29] local.INFO: Processing buffer {"connection_id":90817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:31:29] local.INFO: IMEI packet received {"connection_id":90817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":90817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:31:29] local.INFO: TCP Data received {"connection_id":90817,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:31:29] local.INFO: Processing buffer {"connection_id":90817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:31:29] local.INFO: Packet analysis {"connection_id":90817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:31:29] local.INFO: Extracted packet for processing {"connection_id":90817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:29] 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-06-02 11:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:31:29] 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-06-02 11: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-06-02 11:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:31:29] 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-06-02 11:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:31:29] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":90817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:31:29] local.INFO: GPS data processed {"connection_id":90817,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:31:29] local.INFO: Acknowledgment sent {"connection_id":90817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:31:30] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:31:30] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:31:30] local.INFO: IMEI packet received {"connection_id":89756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 11:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":89756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:31:34] local.INFO: TCP Data received {"connection_id":90818,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:31:34] local.INFO: Processing buffer {"connection_id":90818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:31:34] local.INFO: IMEI packet received {"connection_id":90818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":90818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:31:35] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:31:35] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:31:35] local.INFO: IMEI packet received {"connection_id":89756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 11:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":89756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:31:36] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:31:36] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:31:36] local.INFO: Packet analysis {"connection_id":89756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:36] local.INFO: Extracted packet for processing {"connection_id":89756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:36] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":89756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:31:36] local.INFO: GPS data processed {"connection_id":89756,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:31:36] local.INFO: Acknowledgment sent {"connection_id":89756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:31:36] local.INFO: TCP Data received {"connection_id":89599,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:31:36] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:31:36] local.INFO: Packet analysis {"connection_id":89599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:36] local.INFO: Extracted packet for processing {"connection_id":89599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:31:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:31:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":89599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:31:37] local.INFO: GPS data processed {"connection_id":89599,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:31:37] local.INFO: Acknowledgment sent {"connection_id":89599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:31:39] local.INFO: TCP Data received {"connection_id":90818,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:31:39] local.INFO: Processing buffer {"connection_id":90818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:31:39] local.INFO: IMEI packet received {"connection_id":90818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":90818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:31:40] local.INFO: TCP Data received {"connection_id":90818,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:31:40] local.INFO: Processing buffer {"connection_id":90818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:31:40] local.INFO: Packet analysis {"connection_id":90818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:31:40] local.INFO: Extracted packet for processing {"connection_id":90818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:31:40] 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-06-02 11:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:31:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":90818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:31:40] local.INFO: GPS data processed {"connection_id":90818,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:31:40] local.INFO: Acknowledgment sent {"connection_id":90818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:31:58] local.INFO: TCP Data received {"connection_id":90819,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:31:58] local.INFO: Processing buffer {"connection_id":90819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:31:58] local.INFO: IMEI packet received {"connection_id":90819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":90819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:32:01] local.INFO: TCP Data received {"connection_id":90817,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:32:01] local.INFO: Processing buffer {"connection_id":90817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:32:01] local.INFO: Packet analysis {"connection_id":90817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:32:01] local.INFO: Extracted packet for processing {"connection_id":90817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:32:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32: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-06-02 11:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32: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-06-02 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:32: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-06-02 11: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-06-02 11:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:32:01] 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-06-02 11:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-06-02 11:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":90817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:01] local.INFO: GPS data processed {"connection_id":90817,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:01] local.INFO: Acknowledgment sent {"connection_id":90817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:04] local.INFO: TCP Data received {"connection_id":90819,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:32:04] local.INFO: Processing buffer {"connection_id":90819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:32:04] local.INFO: IMEI packet received {"connection_id":90819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":90819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:32:05] local.INFO: TCP Data received {"connection_id":90819,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:32:05] local.INFO: Processing buffer {"connection_id":90819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:32:05] local.INFO: Packet analysis {"connection_id":90819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:05] local.INFO: Extracted packet for processing {"connection_id":90819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":90819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:05] local.INFO: GPS data processed {"connection_id":90819,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:05] local.INFO: Acknowledgment sent {"connection_id":90819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:07] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:32:07] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:32:07] local.INFO: Packet analysis {"connection_id":89756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:07] local.INFO: Extracted packet for processing {"connection_id":89756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:07] 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-06-02 11:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":89756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:07] local.INFO: GPS data processed {"connection_id":89756,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:07] local.INFO: Acknowledgment sent {"connection_id":89756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:11] local.INFO: TCP Data received {"connection_id":90818,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:32:11] local.INFO: Processing buffer {"connection_id":90818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e80488012d1b5a8007250228002d00b72c..."} 
[2026-06-02 11:32:11] local.INFO: Packet analysis {"connection_id":90818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:32:11] local.INFO: Extracted packet for processing {"connection_id":90818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e8"} 
[2026-06-02 11:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":45,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777155072001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780379813000,"timestamp_ms":1780379813000,"timestamp_seconds":1780379813,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e80488"} 
[2026-06-02 11:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777155072001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777155072001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777155072001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":90818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:11] local.INFO: GPS data processed {"connection_id":90818,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:11] local.INFO: Acknowledgment sent {"connection_id":90818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:24] local.INFO: TCP Data received {"connection_id":90820,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:32:24] local.INFO: Processing buffer {"connection_id":90820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:32:24] local.INFO: IMEI packet received {"connection_id":90820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":90820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:32:25] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:32:25] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:32:25] local.INFO: IMEI packet received {"connection_id":89600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 11:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":89600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:32:29] local.INFO: TCP Data received {"connection_id":90820,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:32:29] local.INFO: Processing buffer {"connection_id":90820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:32:29] local.INFO: IMEI packet received {"connection_id":90820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":90820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:32:30] local.INFO: TCP Data received {"connection_id":90820,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:32:30] local.INFO: Processing buffer {"connection_id":90820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:32:30] local.INFO: Packet analysis {"connection_id":90820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:32:30] local.INFO: Extracted packet for processing {"connection_id":90820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:32:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:30] 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-06-02 11:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:30] 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-06-02 11:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":90820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:30] local.INFO: GPS data processed {"connection_id":90820,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:30] local.INFO: Acknowledgment sent {"connection_id":90820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:30] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:32:30] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 11:32:30] local.INFO: IMEI packet received {"connection_id":89600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 11:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":89600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:32:31] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:32:31] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e96800012d7a320005eb8cf80000002d15..."} 
[2026-06-02 11:32:31] local.INFO: Packet analysis {"connection_id":89600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:31] local.INFO: Extracted packet for processing {"connection_id":89600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":99323128,"longitude_deg":76.2982912,"latitude_deg":9.9323128,"altitude":0,"angle":45,"satellites":21,"speed":0,"hex_longitude":"2d7a3200","hex_latitude":"05eb8cf8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777190400001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346982821888,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:31] 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-06-02 11:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780379904000,"timestamp_ms":1780379904000,"timestamp_seconds":1780379904,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e96800"} 
[2026-06-02 11:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:31] 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-06-02 11: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-06-02 11:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 11:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 11:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 11:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777190400001,"66":12287,"163":206,"87":13824,"24":0,"16":87831200734904320,"45":8803974346982821888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 11:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 11:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 11:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777190400001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 11:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 11:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346982821888,"description":"Unknown IO ID 45"} 
[2026-06-02 11:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777190400001,"power":12287,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803974346982821888}} 
[2026-06-02 11:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":89600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:31] local.INFO: GPS data processed {"connection_id":89600,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:31] local.INFO: Acknowledgment sent {"connection_id":89600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:37] local.INFO: TCP Data received {"connection_id":90819,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:32:37] local.INFO: Processing buffer {"connection_id":90819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:32:37] local.INFO: Packet analysis {"connection_id":90819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:37] local.INFO: Extracted packet for processing {"connection_id":90819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":90819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:37] local.INFO: GPS data processed {"connection_id":90819,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:37] local.INFO: Acknowledgment sent {"connection_id":90819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:39] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:32:39] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:32:39] local.INFO: IMEI packet received {"connection_id":89601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":89601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:32:44] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:32:44] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:32:44] local.INFO: IMEI packet received {"connection_id":89601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":89601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:32:45] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:32:45] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:32:45] local.INFO: Packet analysis {"connection_id":89601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:32:45] local.INFO: Extracted packet for processing {"connection_id":89601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":48,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777232128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780380114000,"timestamp_ms":1780380114000,"timestamp_seconds":1780380114,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ec9c50"} 
[2026-06-02 11:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:32:45] 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-06-02 11:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777232128001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777232128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:45] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777232128001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":89601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:45] local.INFO: GPS data processed {"connection_id":89601,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:45] local.INFO: Acknowledgment sent {"connection_id":89601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:32:49] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:32:49] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:32:49] local.INFO: Packet analysis {"connection_id":89601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:32:49] local.INFO: Extracted packet for processing {"connection_id":89601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":48,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777232128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780380114000,"timestamp_ms":1780380114000,"timestamp_seconds":1780380114,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ec9c50"} 
[2026-06-02 11:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:32:49] 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-06-02 11:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777232128001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777232128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:32:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777232128001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":89601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:32:49] local.INFO: GPS data processed {"connection_id":89601,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:32:49] local.INFO: Acknowledgment sent {"connection_id":89601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:33:01] local.INFO: TCP Data received {"connection_id":90820,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:33:01] local.INFO: Processing buffer {"connection_id":90820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:33:01] local.INFO: Packet analysis {"connection_id":90820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:33:01] local.INFO: Extracted packet for processing {"connection_id":90820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:33:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33: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-06-02 11:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:33: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-06-02 11:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:33: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-06-02 11:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:33: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-06-02 11:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:33:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":90820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:33:01] local.INFO: GPS data processed {"connection_id":90820,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:33:01] local.INFO: Acknowledgment sent {"connection_id":90820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:33:04] local.INFO: TCP Data received {"connection_id":89350,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:04] local.INFO: Processing buffer {"connection_id":89350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:04] local.INFO: IMEI packet received {"connection_id":89350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":89350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:33:09] local.INFO: TCP Data received {"connection_id":89350,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:09] local.INFO: Processing buffer {"connection_id":89350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:09] local.INFO: IMEI packet received {"connection_id":89350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":89350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:33:10] local.INFO: TCP Data received {"connection_id":89350,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:33:10] local.INFO: Processing buffer {"connection_id":89350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:33:10] local.INFO: Packet analysis {"connection_id":89350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:33:10] local.INFO: Extracted packet for processing {"connection_id":89350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:33:10] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":89350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:33:10] local.INFO: GPS data processed {"connection_id":89350,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:33:10] local.INFO: Acknowledgment sent {"connection_id":89350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:33:15] local.INFO: TCP Data received {"connection_id":89350,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:33:15] local.INFO: Processing buffer {"connection_id":89350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:33:15] local.INFO: Packet analysis {"connection_id":89350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:33:15] local.INFO: Extracted packet for processing {"connection_id":89350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:33:15] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:33:15] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":89350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:33:15] local.INFO: GPS data processed {"connection_id":89350,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:33:15] local.INFO: Acknowledgment sent {"connection_id":89350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:33:24] local.INFO: TCP Data received {"connection_id":89351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:33:24] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:33:24] local.INFO: IMEI packet received {"connection_id":89351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":89351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:33:29] local.INFO: TCP Data received {"connection_id":89351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:33:29] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:33:29] local.INFO: IMEI packet received {"connection_id":89351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":89351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:33:30] local.INFO: TCP Data received {"connection_id":89351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:33:30] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:33:30] local.INFO: Packet analysis {"connection_id":89351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:33:30] local.INFO: Extracted packet for processing {"connection_id":89351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:33:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:30] 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-06-02 11:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:33:30] 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-06-02 11: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-06-02 11:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:33:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:33:30] local.INFO: GPS data processed {"connection_id":89351,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:33:30] local.INFO: Acknowledgment sent {"connection_id":89351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:33:34] local.INFO: TCP Data received {"connection_id":90821,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:33:34] local.INFO: Processing buffer {"connection_id":90821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:33:34] local.INFO: IMEI packet received {"connection_id":90821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":90821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:33:39] local.INFO: TCP Data received {"connection_id":90821,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:33:39] local.INFO: Processing buffer {"connection_id":90821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:33:39] local.INFO: IMEI packet received {"connection_id":90821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":90821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:33:40] local.INFO: TCP Data received {"connection_id":90821,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:33:40] local.INFO: Processing buffer {"connection_id":90821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:33:40] local.INFO: Packet analysis {"connection_id":90821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:33:40] local.INFO: Extracted packet for processing {"connection_id":90821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:33:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":48,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777232128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780380114000,"timestamp_ms":1780380114000,"timestamp_seconds":1780380114,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ec9c50"} 
[2026-06-02 11:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:33:40] 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-06-02 11:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777232128001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777232128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:33:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777232128001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":90821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:33:40] local.INFO: GPS data processed {"connection_id":90821,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:33:40] local.INFO: Acknowledgment sent {"connection_id":90821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:33:58] local.INFO: TCP Data received {"connection_id":89757,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:58] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:33:58] local.INFO: IMEI packet received {"connection_id":89757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":89757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:34:02] local.INFO: TCP Data received {"connection_id":89351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:34:02] local.INFO: Processing buffer {"connection_id":89351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:34:02] local.INFO: Packet analysis {"connection_id":89351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:34:02] local.INFO: Extracted packet for processing {"connection_id":89351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:34:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:02] 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-06-02 11:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:34: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-06-02 11:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:34:02] 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-06-02 11:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:34: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-06-02 11:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:34:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":89351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:34:02] local.INFO: GPS data processed {"connection_id":89351,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:34:02] local.INFO: Acknowledgment sent {"connection_id":89351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:34:03] local.INFO: TCP Data received {"connection_id":89757,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:34:03] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:34:03] local.INFO: IMEI packet received {"connection_id":89757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":89757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:34:04] local.INFO: TCP Data received {"connection_id":89757,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:34:04] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86e98358012cfa468007404af80027005e2a..."} 
[2026-06-02 11:34:04] local.INFO: Packet analysis {"connection_id":89757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:34:04] local.INFO: Extracted packet for processing {"connection_id":89757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86e9"} 
[2026-06-02 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777179136001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780379911000,"timestamp_ms":1780379911000,"timestamp_seconds":1780379911,"priority":1,"record_length":96,"hex_timestamp":"0000019e86e98358"} 
[2026-06-02 11:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777179136001,"66":26473,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777179136001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:34:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777179136001,"power":26473,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":89757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:34:04] local.INFO: GPS data processed {"connection_id":89757,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:34:04] local.INFO: Acknowledgment sent {"connection_id":89757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:34:12] local.INFO: TCP Data received {"connection_id":90821,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:34:12] local.INFO: Processing buffer {"connection_id":90821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:34:12] local.INFO: Packet analysis {"connection_id":90821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:34:12] local.INFO: Extracted packet for processing {"connection_id":90821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":48,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777232128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780380114000,"timestamp_ms":1780380114000,"timestamp_seconds":1780380114,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ec9c50"} 
[2026-06-02 11:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:34:12] 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-06-02 11:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777232128001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777232128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:34:12] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777232128001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":90821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:34:12] local.INFO: GPS data processed {"connection_id":90821,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:34:12] local.INFO: Acknowledgment sent {"connection_id":90821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:34:24] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:34:24] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:34:24] local.INFO: IMEI packet received {"connection_id":89602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":89602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:34:29] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:34:29] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:34:29] local.INFO: IMEI packet received {"connection_id":89602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":89602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:34:30] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:34:30] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:34:30] local.INFO: Packet analysis {"connection_id":89602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:34:30] local.INFO: Extracted packet for processing {"connection_id":89602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:34:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:30] 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-06-02 11:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:34:30] 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-06-02 11:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:34:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":89602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:34:30] local.INFO: GPS data processed {"connection_id":89602,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:34:30] local.INFO: Acknowledgment sent {"connection_id":89602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:34:34] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:34:34] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:34:34] local.INFO: IMEI packet received {"connection_id":89603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":89603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:34:36] local.INFO: TCP Data received {"connection_id":89757,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:34:36] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:34:36] local.INFO: Packet analysis {"connection_id":89757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:34:36] local.INFO: Extracted packet for processing {"connection_id":89757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:34:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":89757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:34:36] local.INFO: GPS data processed {"connection_id":89757,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:34:36] local.INFO: Acknowledgment sent {"connection_id":89757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:34:39] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:34:39] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:34:39] local.INFO: IMEI packet received {"connection_id":89603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":89603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:34:40] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:34:40] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:34:40] local.INFO: Packet analysis {"connection_id":89603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:34:40] local.INFO: Extracted packet for processing {"connection_id":89603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":48,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777232128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780380114000,"timestamp_ms":1780380114000,"timestamp_seconds":1780380114,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ec9c50"} 
[2026-06-02 11:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:34:40] 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-06-02 11:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777232128001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777232128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:34:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777232128001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":89603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:34:40] local.INFO: GPS data processed {"connection_id":89603,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:34:40] local.INFO: Acknowledgment sent {"connection_id":89603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:34:59] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:34:59] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:34:59] local.INFO: IMEI packet received {"connection_id":89352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":89352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:35:01] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:35:01] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ea7d58012ceb7a800713b9d0000d009f2b..."} 
[2026-06-02 11:35:01] local.INFO: Packet analysis {"connection_id":89602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:35:01] local.INFO: Extracted packet for processing {"connection_id":89602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ea"} 
[2026-06-02 11:35:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777196544001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35: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-06-02 11:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780379975000,"timestamp_ms":1780379975000,"timestamp_seconds":1780379975,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ea7d58"} 
[2026-06-02 11:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:35: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-06-02 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 11:35: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-06-02 11: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-06-02 11:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:35: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-06-02 11:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777196544001,"66":26006,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777196544001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:35:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777196544001,"power":26006,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":89602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:35:01] local.INFO: GPS data processed {"connection_id":89602,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:35:01] local.INFO: Acknowledgment sent {"connection_id":89602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:35:04] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:35:04] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:35:04] local.INFO: IMEI packet received {"connection_id":89352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":89352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:35:05] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:35:05] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:35:05] local.INFO: Packet analysis {"connection_id":89352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:35:05] local.INFO: Extracted packet for processing {"connection_id":89352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:35:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":89352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:35:05] local.INFO: GPS data processed {"connection_id":89352,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:35:05] local.INFO: Acknowledgment sent {"connection_id":89352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:35:11] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:35:11] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:35:11] local.INFO: Packet analysis {"connection_id":89603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:35:11] local.INFO: Extracted packet for processing {"connection_id":89603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":48,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777232128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780380114000,"timestamp_ms":1780380114000,"timestamp_seconds":1780380114,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ec9c50"} 
[2026-06-02 11:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:35:11] 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-06-02 11:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777232128001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777232128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:35:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777232128001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":89603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:35:11] local.INFO: GPS data processed {"connection_id":89603,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:35:11] local.INFO: Acknowledgment sent {"connection_id":89603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:35:29] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:35:29] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:35:29] local.INFO: IMEI packet received {"connection_id":89353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":89353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:35:34] local.INFO: TCP Data received {"connection_id":90822,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:35:34] local.INFO: Processing buffer {"connection_id":90822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:35:34] local.INFO: IMEI packet received {"connection_id":90822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":90822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:35:34] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:35:34] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:35:34] local.INFO: IMEI packet received {"connection_id":89353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":89353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:35:35] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:35:35] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:35:35] local.INFO: Packet analysis {"connection_id":89353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:35:35] local.INFO: Extracted packet for processing {"connection_id":89353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:35:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:35] 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-06-02 11:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:35:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":89353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:35:35] local.INFO: GPS data processed {"connection_id":89353,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:35:35] local.INFO: Acknowledgment sent {"connection_id":89353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:35:36] local.INFO: TCP Data received {"connection_id":89352,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:35:36] local.INFO: Processing buffer {"connection_id":89352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:35:36] local.INFO: Packet analysis {"connection_id":89352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:35:36] local.INFO: Extracted packet for processing {"connection_id":89352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:35:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":89352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:35:37] local.INFO: GPS data processed {"connection_id":89352,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:35:37] local.INFO: Acknowledgment sent {"connection_id":89352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:35:39] local.INFO: TCP Data received {"connection_id":90822,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:35:39] local.INFO: Processing buffer {"connection_id":90822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:35:39] local.INFO: IMEI packet received {"connection_id":90822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":90822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:35:39] local.INFO: TCP Data received {"connection_id":89353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:35:39] local.INFO: Processing buffer {"connection_id":89353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:35:39] local.INFO: Packet analysis {"connection_id":89353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:35:39] local.INFO: Extracted packet for processing {"connection_id":89353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:39] 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-06-02 11:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:35:39] 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-06-02 11:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:35:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:35:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":89353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:35:39] local.INFO: GPS data processed {"connection_id":89353,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:35:39] local.INFO: Acknowledgment sent {"connection_id":89353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:35:40] local.INFO: TCP Data received {"connection_id":90822,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:35:40] local.INFO: Processing buffer {"connection_id":90822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ec9c50012d1b5a8007250228003000b72b..."} 
[2026-06-02 11:35:40] local.INFO: Packet analysis {"connection_id":90822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:35:40] local.INFO: Extracted packet for processing {"connection_id":90822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ec"} 
[2026-06-02 11:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119865896,"longitude_deg":75.676736,"latitude_deg":11.9865896,"altitude":48,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d1b5a80","hex_latitude":"07250228","is_valid_coordinates":true} 
[2026-06-02 11:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777232128001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136397609730048,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555102038016,"note":"Value kept but may cause issues"} 
[2026-06-02 11:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780380114000,"timestamp_ms":1780380114000,"timestamp_seconds":1780380114,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ec9c50"} 
[2026-06-02 11:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 11:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:35:40] 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-06-02 11:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777232128001,"66":2155,"135":206,"83":42752,"24":0,"16":125136397609730048,"45":1971028555102038016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-06-02 11:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777232128001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:35:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-02 11:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136397609730048,"km_value":125136397609730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555102038016,"description":"Unknown IO ID 45"} 
[2026-06-02 11:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777232128001,"power":2155,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1971028555102038016}} 
[2026-06-02 11:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":90822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:35:40] local.INFO: GPS data processed {"connection_id":90822,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:35:40] local.INFO: Acknowledgment sent {"connection_id":90822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:35:58] local.INFO: TCP Data received {"connection_id":90823,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:35:58] local.INFO: Processing buffer {"connection_id":90823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:35:58] local.INFO: IMEI packet received {"connection_id":90823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":90823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:36:04] local.INFO: TCP Data received {"connection_id":90823,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:36:04] local.INFO: Processing buffer {"connection_id":90823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:36:04] local.INFO: IMEI packet received {"connection_id":90823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":90823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:36:05] local.INFO: TCP Data received {"connection_id":90823,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:36:05] local.INFO: Processing buffer {"connection_id":90823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:36:05] local.INFO: Packet analysis {"connection_id":90823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:36:05] local.INFO: Extracted packet for processing {"connection_id":90823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:36:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:36:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":90823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:36:05] local.INFO: GPS data processed {"connection_id":90823,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:36:05] local.INFO: Acknowledgment sent {"connection_id":90823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:36:24] local.INFO: TCP Data received {"connection_id":89604,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:36:24] local.INFO: Processing buffer {"connection_id":89604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:36:24] local.INFO: IMEI packet received {"connection_id":89604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":89604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:36:29] local.INFO: TCP Data received {"connection_id":89604,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:36:29] local.INFO: Processing buffer {"connection_id":89604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:36:29] local.INFO: IMEI packet received {"connection_id":89604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":89604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:36:30] local.INFO: TCP Data received {"connection_id":89604,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:36:30] local.INFO: Processing buffer {"connection_id":89604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:36:30] local.INFO: Packet analysis {"connection_id":89604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:36:30] local.INFO: Extracted packet for processing {"connection_id":89604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:36:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:30] 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-06-02 11:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:36:30] 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-06-02 11: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-06-02 11:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:36:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":89604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:36:30] local.INFO: GPS data processed {"connection_id":89604,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:36:30] local.INFO: Acknowledgment sent {"connection_id":89604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:36:36] local.INFO: TCP Data received {"connection_id":90823,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:36:36] local.INFO: Processing buffer {"connection_id":90823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:36:36] local.INFO: Packet analysis {"connection_id":90823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:36:36] local.INFO: Extracted packet for processing {"connection_id":90823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:36:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:36:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":90823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:36:37] local.INFO: GPS data processed {"connection_id":90823,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:36:37] local.INFO: Acknowledgment sent {"connection_id":90823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:36:58] local.INFO: TCP Data received {"connection_id":89758,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:36:58] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:36:58] local.INFO: IMEI packet received {"connection_id":89758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":89758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:37:02] local.INFO: TCP Data received {"connection_id":89604,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:37:02] local.INFO: Processing buffer {"connection_id":89604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:37:02] local.INFO: Packet analysis {"connection_id":89604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:37:02] local.INFO: Extracted packet for processing {"connection_id":89604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:37:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:02] 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-06-02 11:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:37: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-06-02 11:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:37:02] 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-06-02 11:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:37: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-06-02 11:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:37:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:37:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":89604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:37:02] local.INFO: GPS data processed {"connection_id":89604,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:37:02] local.INFO: Acknowledgment sent {"connection_id":89604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:37:04] local.INFO: TCP Data received {"connection_id":89758,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:37:04] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:37:04] local.INFO: IMEI packet received {"connection_id":89758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":89758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:37:05] local.INFO: TCP Data received {"connection_id":89758,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:37:05] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:37:05] local.INFO: Packet analysis {"connection_id":89758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:37:05] local.INFO: Extracted packet for processing {"connection_id":89758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:37:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":89758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:37:05] local.INFO: GPS data processed {"connection_id":89758,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:37:05] local.INFO: Acknowledgment sent {"connection_id":89758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:37:24] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:37:24] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:37:24] local.INFO: IMEI packet received {"connection_id":89759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":89759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:37:29] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:37:29] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:37:29] local.INFO: IMEI packet received {"connection_id":89759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":89759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:37:30] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:37:30] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:37:30] local.INFO: Packet analysis {"connection_id":89759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:37:30] local.INFO: Extracted packet for processing {"connection_id":89759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:37:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:30] 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-06-02 11:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:37:30] 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-06-02 11:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:37:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":89759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:37:30] local.INFO: GPS data processed {"connection_id":89759,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:37:30] local.INFO: Acknowledgment sent {"connection_id":89759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:37:36] local.INFO: TCP Data received {"connection_id":89758,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:37:36] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:37:36] local.INFO: Packet analysis {"connection_id":89758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:37:36] local.INFO: Extracted packet for processing {"connection_id":89758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":89758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:37:37] local.INFO: GPS data processed {"connection_id":89758,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:37:37] local.INFO: Acknowledgment sent {"connection_id":89758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:38:01] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:38:02] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:38:02] local.INFO: Packet analysis {"connection_id":89759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:38:02] local.INFO: Extracted packet for processing {"connection_id":89759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:38:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:02] 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-06-02 11:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:38: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-06-02 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:38:02] 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-06-02 11: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-06-02 11:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11: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-06-02 11:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:38:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":89759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:38:02] local.INFO: GPS data processed {"connection_id":89759,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:38:02] local.INFO: Acknowledgment sent {"connection_id":89759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:38:04] local.INFO: TCP Data received {"connection_id":89605,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:04] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:04] local.INFO: IMEI packet received {"connection_id":89605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":89605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:38:09] local.INFO: TCP Data received {"connection_id":89605,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:09] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:09] local.INFO: IMEI packet received {"connection_id":89605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":89605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:38:10] local.INFO: TCP Data received {"connection_id":89605,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:38:10] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:38:10] local.INFO: Packet analysis {"connection_id":89605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:38:10] local.INFO: Extracted packet for processing {"connection_id":89605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:38:10] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:38:10] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":89605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:38:10] local.INFO: GPS data processed {"connection_id":89605,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:38:10] local.INFO: Acknowledgment sent {"connection_id":89605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:38:14] local.INFO: TCP Data received {"connection_id":89605,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:38:14] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:38:14] local.INFO: Packet analysis {"connection_id":89605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:38:14] local.INFO: Extracted packet for processing {"connection_id":89605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:38:14] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:38:14] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":89605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:38:14] local.INFO: GPS data processed {"connection_id":89605,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:38:14] local.INFO: Acknowledgment sent {"connection_id":89605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:38:24] local.INFO: TCP Data received {"connection_id":89354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:38:24] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:38:24] local.INFO: IMEI packet received {"connection_id":89354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":89354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:38:29] local.INFO: TCP Data received {"connection_id":89354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:38:29] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:38:29] local.INFO: IMEI packet received {"connection_id":89354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":89354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:38:30] local.INFO: TCP Data received {"connection_id":89354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:38:30] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:38:30] local.INFO: Packet analysis {"connection_id":89354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:38:30] local.INFO: Extracted packet for processing {"connection_id":89354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:38:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:38:30] 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-06-02 11:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:38:30] 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-06-02 11: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-06-02 11:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:38:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":89354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:38:30] local.INFO: GPS data processed {"connection_id":89354,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:38:30] local.INFO: Acknowledgment sent {"connection_id":89354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:38:59] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:59] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:38:59] local.INFO: IMEI packet received {"connection_id":89355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":89355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:39:02] local.INFO: TCP Data received {"connection_id":89354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:02] local.INFO: Processing buffer {"connection_id":89354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:02] local.INFO: Packet analysis {"connection_id":89354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:39:02] local.INFO: Extracted packet for processing {"connection_id":89354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:39:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:02] 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-06-02 11:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:39: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-06-02 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:39:02] 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-06-02 11: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-06-02 11:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:39: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-06-02 11:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:39:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":89354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:39:02] local.INFO: GPS data processed {"connection_id":89354,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:39:02] local.INFO: Acknowledgment sent {"connection_id":89354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:39:04] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:39:04] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:39:04] local.INFO: IMEI packet received {"connection_id":89355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":89355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:39:05] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:39:05] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ee1b20012cfa468007404af80027005e2a..."} 
[2026-06-02 11:39:05] local.INFO: Packet analysis {"connection_id":89355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:39:05] local.INFO: Extracted packet for processing {"connection_id":89355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ee"} 
[2026-06-02 11:39:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777257216001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380212000,"timestamp_ms":1780380212000,"timestamp_seconds":1780380212,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ee1b20"} 
[2026-06-02 11:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 11:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777257216001,"66":26289,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777257216001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:39:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777257216001,"power":26289,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":89355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:39:05] local.INFO: GPS data processed {"connection_id":89355,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:39:05] local.INFO: Acknowledgment sent {"connection_id":89355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:39:29] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:39:29] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:39:29] local.INFO: IMEI packet received {"connection_id":89760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:39:34] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:39:34] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:39:34] local.INFO: IMEI packet received {"connection_id":89760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":89760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:39:35] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:35] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:35] local.INFO: Packet analysis {"connection_id":89760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:39:35] local.INFO: Extracted packet for processing {"connection_id":89760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:39:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:35] 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-06-02 11:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:39:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":89760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:39:35] local.INFO: GPS data processed {"connection_id":89760,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:39:35] local.INFO: Acknowledgment sent {"connection_id":89760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:39:37] local.INFO: TCP Data received {"connection_id":89355,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:39:37] local.INFO: Processing buffer {"connection_id":89355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:39:37] local.INFO: Packet analysis {"connection_id":89355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:39:37] local.INFO: Extracted packet for processing {"connection_id":89355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:39:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":89355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:39:37] local.INFO: GPS data processed {"connection_id":89355,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:39:37] local.INFO: Acknowledgment sent {"connection_id":89355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:39:39] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:39] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ef1520012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 11:39:39] local.INFO: Packet analysis {"connection_id":89760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:39:39] local.INFO: Extracted packet for processing {"connection_id":89760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ef"} 
[2026-06-02 11:39:39] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777273600001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:39:39] 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-06-02 11:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780380276000,"timestamp_ms":1780380276000,"timestamp_seconds":1780380276,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ef1520"} 
[2026-06-02 11:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 11:39:39] 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-06-02 11:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777273600001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777273600001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:39:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:39:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:39:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777273600001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":89760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:39:39] local.INFO: GPS data processed {"connection_id":89760,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:39:39] local.INFO: Acknowledgment sent {"connection_id":89760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:39:58] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:39:58] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:39:58] local.INFO: IMEI packet received {"connection_id":89356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":89356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:40:04] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:40:04] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:40:04] local.INFO: IMEI packet received {"connection_id":89356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":89356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:40:05] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:40:05] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:40:05] local.INFO: Packet analysis {"connection_id":89356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:40:05] local.INFO: Extracted packet for processing {"connection_id":89356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:40:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":89356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:40:05] local.INFO: GPS data processed {"connection_id":89356,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:40:05] local.INFO: Acknowledgment sent {"connection_id":89356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:40:24] local.INFO: TCP Data received {"connection_id":90824,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:40:24] local.INFO: Processing buffer {"connection_id":90824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:40:24] local.INFO: IMEI packet received {"connection_id":90824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":90824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:40:29] local.INFO: TCP Data received {"connection_id":90824,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:40:29] local.INFO: Processing buffer {"connection_id":90824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:40:29] local.INFO: IMEI packet received {"connection_id":90824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":90824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:40:30] local.INFO: TCP Data received {"connection_id":90824,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:40:30] local.INFO: Processing buffer {"connection_id":90824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:40:30] local.INFO: Packet analysis {"connection_id":90824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:40:30] local.INFO: Extracted packet for processing {"connection_id":90824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:40:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:30] 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-06-02 11:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:40:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":90824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:40:30] local.INFO: GPS data processed {"connection_id":90824,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:40:30] local.INFO: Acknowledgment sent {"connection_id":90824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:40:36] local.INFO: TCP Data received {"connection_id":89356,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:40:36] local.INFO: Processing buffer {"connection_id":89356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:40:36] local.INFO: Packet analysis {"connection_id":89356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:40:36] local.INFO: Extracted packet for processing {"connection_id":89356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:40:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:40:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:40:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":89356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:40:36] local.INFO: GPS data processed {"connection_id":89356,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:40:36] local.INFO: Acknowledgment sent {"connection_id":89356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:40:58] local.INFO: TCP Data received {"connection_id":89606,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:40:58] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:40:58] local.INFO: IMEI packet received {"connection_id":89606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":89606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:41:01] local.INFO: TCP Data received {"connection_id":90824,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:41:02] local.INFO: Processing buffer {"connection_id":90824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:41:02] local.INFO: Packet analysis {"connection_id":90824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:02] local.INFO: Extracted packet for processing {"connection_id":90824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:02] 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-06-02 11:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:41: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-06-02 11:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:41: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-06-02 11:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:41:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":90824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:41:02] local.INFO: GPS data processed {"connection_id":90824,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:41:02] local.INFO: Acknowledgment sent {"connection_id":90824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:41:04] local.INFO: TCP Data received {"connection_id":89606,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:41:04] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:41:04] local.INFO: IMEI packet received {"connection_id":89606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":89606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:41:05] local.INFO: TCP Data received {"connection_id":89606,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:41:05] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:41:05] local.INFO: Packet analysis {"connection_id":89606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:41:05] local.INFO: Extracted packet for processing {"connection_id":89606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:41:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":89606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:41:05] local.INFO: GPS data processed {"connection_id":89606,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:41:05] local.INFO: Acknowledgment sent {"connection_id":89606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:41:10] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:41:10] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:41:10] local.INFO: IMEI packet received {"connection_id":89761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":89761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:41:16] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:41:16] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:41:16] local.INFO: IMEI packet received {"connection_id":89761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":89761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:41:17] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3a130012d1b5900072501d0002800a12a..."} 
[2026-06-02 11:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3a130012d1b5900072501d0002800a12a..."} 
[2026-06-02 11:41:17] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3a130012d1b5900072501d0002800a12a..."} 
[2026-06-02 11:41:17] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:17] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756766976,"raw_latitude":119865808,"longitude_deg":75.6766976,"latitude_deg":11.9865808,"altitude":40,"angle":161,"satellites":42,"speed":7,"hex_longitude":"2d1b5900","hex_latitude":"072501d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777426688001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136436264435712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970606342636978176,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780380574000,"timestamp_ms":1780380574000,"timestamp_seconds":1780380574,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3a130"} 
[2026-06-02 11:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:41:17] 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-06-02 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:41: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-06-02 11:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777426688001,"66":13798,"44":206,"83":41984,"24":7,"16":125136436264435712,"45":1970606342636978176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 11:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777426688001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:41:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 11:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 11:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136436264435712,"km_value":125136436264435.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970606342636978176,"description":"Unknown IO ID 45"} 
[2026-06-02 11:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777426688001,"power":13798,"unknown_44":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1970606342636978176}} 
[2026-06-02 11:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:41:17] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:41:17] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:41:24] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:41:24] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:41:24] local.INFO: IMEI packet received {"connection_id":89357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":89357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:41:29] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:41:29] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:41:29] local.INFO: IMEI packet received {"connection_id":89357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":89357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:41:30] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:41:30] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:41:30] local.INFO: Packet analysis {"connection_id":89357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:30] local.INFO: Extracted packet for processing {"connection_id":89357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:30] 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-06-02 11:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:41:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":89357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:41:30] local.INFO: GPS data processed {"connection_id":89357,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:41:30] local.INFO: Acknowledgment sent {"connection_id":89357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:41:36] local.INFO: TCP Data received {"connection_id":89606,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:41:36] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:41:36] local.INFO: Packet analysis {"connection_id":89606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:41:36] local.INFO: Extracted packet for processing {"connection_id":89606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:41:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":89606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:41:36] local.INFO: GPS data processed {"connection_id":89606,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:41:36] local.INFO: Acknowledgment sent {"connection_id":89606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:41:48] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3a518012d1b5900072500d0002800bb2a..."} 
[2026-06-02 11:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3a518012d1b5900072500d0002800bb2a..."} 
[2026-06-02 11:41:49] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3a518012d1b5900072500d0002800bb2a..."} 
[2026-06-02 11:41:49] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:49] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756766976,"raw_latitude":119865552,"longitude_deg":75.6766976,"latitude_deg":11.9865552,"altitude":40,"angle":187,"satellites":42,"speed":11,"hex_longitude":"2d1b5900","hex_latitude":"072500d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777426944001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125136449149337600,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970606342636949504,"note":"Value kept but may cause issues"} 
[2026-06-02 11:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780380575000,"timestamp_ms":1780380575000,"timestamp_seconds":1780380575,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3a518"} 
[2026-06-02 11:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:41:49] 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-06-02 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:41:49] 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-06-02 11: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-06-02 11:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:41:49] 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-06-02 11:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777426944001,"66":13906,"44":206,"83":41984,"24":11,"16":125136449149337600,"45":1970606342636949504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 11:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777426944001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 11:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 11:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125136449149337600,"km_value":125136449149337.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970606342636949504,"description":"Unknown IO ID 45"} 
[2026-06-02 11:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777426944001,"power":13906,"unknown_44":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1970606342636949504}} 
[2026-06-02 11:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:41:49] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:41:49] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:41:58] local.INFO: TCP Data received {"connection_id":89607,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:41:58] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:41:58] local.INFO: IMEI packet received {"connection_id":89607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":89607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:42:01] local.INFO: TCP Data received {"connection_id":89357,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:42:01] local.INFO: Processing buffer {"connection_id":89357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:42:01] local.INFO: Packet analysis {"connection_id":89357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:42:01] local.INFO: Extracted packet for processing {"connection_id":89357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:42:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42: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-06-02 11:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:42: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-06-02 11:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:42: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-06-02 11:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:42:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:42:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":89357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:42:01] local.INFO: GPS data processed {"connection_id":89357,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:42:01] local.INFO: Acknowledgment sent {"connection_id":89357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:42:04] local.INFO: TCP Data received {"connection_id":89607,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:42:04] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:42:04] local.INFO: IMEI packet received {"connection_id":89607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":89607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:42:05] local.INFO: TCP Data received {"connection_id":89607,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:42:05] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:42:05] local.INFO: Packet analysis {"connection_id":89607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:42:05] local.INFO: Extracted packet for processing {"connection_id":89607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:42:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":89607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:42:05] local.INFO: GPS data processed {"connection_id":89607,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:42:05] local.INFO: Acknowledgment sent {"connection_id":89607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:42:21] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f51060012d1b080007247c00002500e32c..."} 
[2026-06-02 11:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f51060012d1b080007247c00002500e32c..."} 
[2026-06-02 11:42:21] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f51060012d1b080007247c00002500e32c..."} 
[2026-06-02 11:42:21] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f5"} 
[2026-06-02 11:42:21] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f5"} 
[2026-06-02 11:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756746240,"raw_latitude":119831552,"longitude_deg":75.674624,"latitude_deg":11.9831552,"altitude":37,"angle":227,"satellites":44,"speed":16,"hex_longitude":"2d1b0800","hex_latitude":"07247c00","is_valid_coordinates":true} 
[2026-06-02 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777450240001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125138562273247232,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948792031933333504,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:21] 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-06-02 11:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780380668000,"timestamp_ms":1780380668000,"timestamp_seconds":1780380668,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f51060"} 
[2026-06-02 11:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:42:21] 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-06-02 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-02 11:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:42:21] 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-06-02 11:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777450240001,"66":14026,"176":206,"83":42752,"24":16,"16":125138562273247232,"45":1948792031933333504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-06-02 11:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777450240001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:42:21] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 11:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125138562273247232,"km_value":125138562273247.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948792031933333504,"description":"Unknown IO ID 45"} 
[2026-06-02 11:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777450240001,"power":14026,"unknown_176":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1948792031933333504}} 
[2026-06-02 11:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:42:21] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:42:21] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:42:24] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:42:24] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:42:24] local.INFO: IMEI packet received {"connection_id":89608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":89608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:42:29] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:42:29] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:42:29] local.INFO: IMEI packet received {"connection_id":89608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":89608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:42:30] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:42:30] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:42:30] local.INFO: Packet analysis {"connection_id":89608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:42:30] local.INFO: Extracted packet for processing {"connection_id":89608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:42:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:30] 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-06-02 11:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:42:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":89608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:42:31] local.INFO: GPS data processed {"connection_id":89608,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:42:31] local.INFO: Acknowledgment sent {"connection_id":89608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:42:37] local.INFO: TCP Data received {"connection_id":89607,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:42:37] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:42:37] local.INFO: Packet analysis {"connection_id":89607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:42:37] local.INFO: Extracted packet for processing {"connection_id":89607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:42:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":89607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:42:37] local.INFO: GPS data processed {"connection_id":89607,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:42:37] local.INFO: Acknowledgment sent {"connection_id":89607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:42:52] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f56268012d1af44007246770002300dc2a..."} 
[2026-06-02 11:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f56268012d1af44007246770002300dc2a..."} 
[2026-06-02 11:42:52] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f56268012d1af44007246770002300dc2a..."} 
[2026-06-02 11:42:52] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f5"} 
[2026-06-02 11:42:52] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f5"} 
[2026-06-02 11:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756741184,"raw_latitude":119826288,"longitude_deg":75.6741184,"latitude_deg":11.9826288,"altitude":35,"angle":220,"satellites":42,"speed":19,"hex_longitude":"2d1af440","hex_latitude":"07246770","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777451008001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125138910165598208,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947806869514616832,"note":"Value kept but may cause issues"} 
[2026-06-02 11:42: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-06-02 11:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780380689000,"timestamp_ms":1780380689000,"timestamp_seconds":1780380689,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f56268"} 
[2026-06-02 11:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 11:42:52] 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-06-02 11: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-06-02 11:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:42:52] 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-06-02 11:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777451008001,"66":14102,"176":206,"83":42752,"24":19,"16":125138910165598208,"45":1947806869514616832},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-06-02 11:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777451008001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:42:52] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 11:42:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125138910165598208,"km_value":125138910165598.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947806869514616832,"description":"Unknown IO ID 45"} 
[2026-06-02 11:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777451008001,"power":14102,"unknown_176":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1947806869514616832}} 
[2026-06-02 11:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:42:52] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:42:52] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:43:02] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:02] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:02] local.INFO: Packet analysis {"connection_id":89608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:43:02] local.INFO: Extracted packet for processing {"connection_id":89608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:02] 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-06-02 11:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:43: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-06-02 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:43: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-06-02 11:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:43:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":89608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:43:02] local.INFO: GPS data processed {"connection_id":89608,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:43:02] local.INFO: Acknowledgment sent {"connection_id":89608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:43:04] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:43:04] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:43:04] local.INFO: IMEI packet received {"connection_id":89358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":89358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:43:09] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:43:09] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:43:09] local.INFO: IMEI packet received {"connection_id":89358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":89358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:43:10] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:43:10] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:43:10] local.INFO: Packet analysis {"connection_id":89358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:43:10] local.INFO: Extracted packet for processing {"connection_id":89358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:43:10] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":89358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:43:10] local.INFO: GPS data processed {"connection_id":89358,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:43:10] local.INFO: Acknowledgment sent {"connection_id":89358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:43:23] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f66820012d1ab08007242778002401142b..."} 
[2026-06-02 11:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f66820012d1ab08007242778002401142b..."} 
[2026-06-02 11:43:23] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f66820012d1ab08007242778002401142b..."} 
[2026-06-02 11:43:23] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:43:23] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756723840,"raw_latitude":119809912,"longitude_deg":75.672384,"latitude_deg":11.9809912,"altitude":36,"angle":276,"satellites":43,"speed":1,"hex_longitude":"2d1ab080","hex_latitude":"07242778","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777473024001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125140160001081344,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923459284023592960,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:23] 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-06-02 11:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780380756000,"timestamp_ms":1780380756000,"timestamp_seconds":1780380756,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f66820"} 
[2026-06-02 11:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-02 11:43:23] 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-06-02 11: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-06-02 11:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:43:23] 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-06-02 11:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777473024001,"66":14189,"137":206,"83":42752,"24":1,"16":125140160001081344,"45":1923459284023592960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777473024001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:43:23] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125140160001081344,"km_value":125140160001081.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923459284023592960,"description":"Unknown IO ID 45"} 
[2026-06-02 11:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777473024001,"power":14189,"unknown_137":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1923459284023592960}} 
[2026-06-02 11:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:43:23] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:43:23] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:43:29] local.INFO: TCP Data received {"connection_id":90825,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:43:29] local.INFO: Processing buffer {"connection_id":90825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:43:29] local.INFO: IMEI packet received {"connection_id":90825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":90825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:43:34] local.INFO: TCP Data received {"connection_id":90825,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:43:34] local.INFO: Processing buffer {"connection_id":90825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:43:34] local.INFO: IMEI packet received {"connection_id":90825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":90825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:43:35] local.INFO: TCP Data received {"connection_id":90825,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:35] local.INFO: Processing buffer {"connection_id":90825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:35] local.INFO: Packet analysis {"connection_id":90825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:43:35] local.INFO: Extracted packet for processing {"connection_id":90825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:43:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:35] 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-06-02 11:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:43:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:43:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":90825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:43:35] local.INFO: GPS data processed {"connection_id":90825,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:43:35] local.INFO: Acknowledgment sent {"connection_id":90825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:43:39] local.INFO: TCP Data received {"connection_id":90825,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:39] local.INFO: Processing buffer {"connection_id":90825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:43:39] local.INFO: Packet analysis {"connection_id":90825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:43:39] local.INFO: Extracted packet for processing {"connection_id":90825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:43:39] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:39] 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-06-02 11:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:43:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:43:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":90825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:43:40] local.INFO: GPS data processed {"connection_id":90825,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:43:40] local.INFO: Acknowledgment sent {"connection_id":90825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:43:42] local.INFO: TCP Data received {"connection_id":89358,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:43:42] local.INFO: Processing buffer {"connection_id":89358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:43:42] local.INFO: Packet analysis {"connection_id":89358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:43:42] local.INFO: Extracted packet for processing {"connection_id":89358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:43:42] 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-06-02 11:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:43:42] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":89358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:43:42] local.INFO: GPS data processed {"connection_id":89358,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:43:42] local.INFO: Acknowledgment sent {"connection_id":89358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:43:54] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f677c0012d1aae4007242760002501002b..."} 
[2026-06-02 11:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f677c0012d1aae4007242760002501002b..."} 
[2026-06-02 11:43:54] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f677c0012d1aae4007242760002501002b..."} 
[2026-06-02 11:43:54] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:43:54] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:43:54] local.INFO: GPS Element Parsed {"raw_longitude":756723264,"raw_latitude":119809888,"longitude_deg":75.6723264,"latitude_deg":11.9809888,"altitude":37,"angle":256,"satellites":43,"speed":12,"hex_longitude":"2d1aae40","hex_latitude":"07242760","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777473536001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125140190065852416,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923177809046894592,"note":"Value kept but may cause issues"} 
[2026-06-02 11:43:54] 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-06-02 11:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780380760000,"timestamp_ms":1780380760000,"timestamp_seconds":1780380760,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f677c0"} 
[2026-06-02 11:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:43:54] 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-06-02 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 11:43:54] 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-06-02 11: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-06-02 11:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:43:54] 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-06-02 11:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777473536001,"66":13863,"137":206,"83":42752,"24":12,"16":125140190065852416,"45":1923177809046894592},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777473536001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:43:54] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:43:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125140190065852416,"km_value":125140190065852.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923177809046894592,"description":"Unknown IO ID 45"} 
[2026-06-02 11:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777473536001,"power":13863,"unknown_137":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1923177809046894592}} 
[2026-06-02 11:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:43:54] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:43:54] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:44:06] local.INFO: TCP Data received {"connection_id":90826,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:44:06] local.INFO: Processing buffer {"connection_id":90826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:44:06] local.INFO: IMEI packet received {"connection_id":90826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":90826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:44:09] local.INFO: TCP Data received {"connection_id":90826,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:44:09] local.INFO: Processing buffer {"connection_id":90826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:44:09] local.INFO: IMEI packet received {"connection_id":90826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":90826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:44:17] local.INFO: TCP Data received {"connection_id":90826,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:44:17] local.INFO: Processing buffer {"connection_id":90826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f2b2e8012cfa468007404af80027005e2a..."} 
[2026-06-02 11:44:17] local.INFO: Packet analysis {"connection_id":90826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:44:17] local.INFO: Extracted packet for processing {"connection_id":90826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f2"} 
[2026-06-02 11:44:17] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777334272001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780380513000,"timestamp_ms":1780380513000,"timestamp_seconds":1780380513,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f2b2e8"} 
[2026-06-02 11:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-02 11:44:17] 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-06-02 11: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-06-02 11:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":90826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":90826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":90826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777334272001,"66":26158,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777334272001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:44:17] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777334272001,"power":26158,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":90826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:44:17] local.INFO: GPS data processed {"connection_id":90826,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:44:17] local.INFO: Acknowledgment sent {"connection_id":90826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:44:24] local.INFO: TCP Data received {"connection_id":89359,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:44:24] local.INFO: Processing buffer {"connection_id":89359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:44:24] local.INFO: IMEI packet received {"connection_id":89359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":89359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:44:25] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f67ba8012d1aacc0072426d8002400f42b..."} 
[2026-06-02 11:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f67ba8012d1aacc0072426d8002400f42b..."} 
[2026-06-02 11:44:25] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f67ba8012d1aacc0072426d8002400f42b..."} 
[2026-06-02 11:44:25] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:44:25] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:44:25] local.INFO: GPS Element Parsed {"raw_longitude":756722880,"raw_latitude":119809752,"longitude_deg":75.672288,"latitude_deg":11.9809752,"altitude":36,"angle":244,"satellites":43,"speed":16,"hex_longitude":"2d1aacc0","hex_latitude":"072426d8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777474560001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125140207245721600,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922544490349289472,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:25] 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-06-02 11:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780380761000,"timestamp_ms":1780380761000,"timestamp_seconds":1780380761,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f67ba8"} 
[2026-06-02 11:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:44:25] 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-06-02 11: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-02 11:44:25] 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-06-02 11: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-06-02 11:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:44:25] 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-06-02 11:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777474560001,"66":13928,"137":206,"83":42752,"24":16,"16":125140207245721600,"45":1922544490349289472},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 11:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777474560001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:44:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 11:44:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125140207245721600,"km_value":125140207245721.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922544490349289472,"description":"Unknown IO ID 45"} 
[2026-06-02 11:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777474560001,"power":13928,"unknown_137":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1922544490349289472}} 
[2026-06-02 11:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:44:25] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:44:25] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:44:28] local.INFO: TCP Data received {"connection_id":90826,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:44:28] local.INFO: Processing buffer {"connection_id":90826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:44:28] local.INFO: Packet analysis {"connection_id":90826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:44:28] local.INFO: Extracted packet for processing {"connection_id":90826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:44:28] 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-06-02 11: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-06-02 11:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:44:28] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":90826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:44:28] local.INFO: GPS data processed {"connection_id":90826,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:44:28] local.INFO: Acknowledgment sent {"connection_id":90826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:44:29] local.INFO: TCP Data received {"connection_id":89359,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:44:29] local.INFO: Processing buffer {"connection_id":89359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:44:29] local.INFO: IMEI packet received {"connection_id":89359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":89359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:44:30] local.INFO: TCP Data received {"connection_id":89359,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:44:30] local.INFO: Processing buffer {"connection_id":89359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:44:30] local.INFO: Packet analysis {"connection_id":89359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:44:30] local.INFO: Extracted packet for processing {"connection_id":89359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:44:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:44:30] 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-06-02 11:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:44:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":89359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:44:30] local.INFO: GPS data processed {"connection_id":89359,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:44:30] local.INFO: Acknowledgment sent {"connection_id":89359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:45:01] local.INFO: TCP Data received {"connection_id":89359,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:45:01] local.INFO: Processing buffer {"connection_id":89359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f3ace8012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:45:01] local.INFO: Packet analysis {"connection_id":89359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:45:01] local.INFO: Extracted packet for processing {"connection_id":89359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f3"} 
[2026-06-02 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777350656001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45: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-06-02 11:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780380577000,"timestamp_ms":1780380577000,"timestamp_seconds":1780380577,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f3ace8"} 
[2026-06-02 11:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:45: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-06-02 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:45: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-06-02 11:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777350656001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777350656001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:45:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777350656001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":89359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:45:01] local.INFO: GPS data processed {"connection_id":89359,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:45:01] local.INFO: Acknowledgment sent {"connection_id":89359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:45:05] local.INFO: TCP Data received {"connection_id":89609,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:05] local.INFO: Processing buffer {"connection_id":89609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:05] local.INFO: IMEI packet received {"connection_id":89609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":89609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:45:06] local.INFO: TCP Data received {"connection_id":89360,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:06] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:06] local.INFO: IMEI packet received {"connection_id":89360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":89360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:45:08] local.INFO: TCP Data received {"connection_id":89609,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:08] local.INFO: Processing buffer {"connection_id":89609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:08] local.INFO: IMEI packet received {"connection_id":89609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":89609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:45:11] local.INFO: TCP Data received {"connection_id":89609,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:11] local.INFO: Processing buffer {"connection_id":89609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:45:11] local.INFO: IMEI packet received {"connection_id":89609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":89609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:45:12] local.INFO: TCP Data received {"connection_id":89609,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f6b258012d1a8a8007241780002500f42a..."} 
[2026-06-02 11:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f6b258012d1a8a8007241780002500f42a..."} 
[2026-06-02 11:45:12] local.INFO: Processing buffer {"connection_id":89609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f6b258012d1a8a8007241780002500f42a..."} 
[2026-06-02 11:45:12] local.INFO: Packet analysis {"connection_id":89609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:45:12] local.INFO: Extracted packet for processing {"connection_id":89609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f6"} 
[2026-06-02 11:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756714112,"raw_latitude":119805824,"longitude_deg":75.6714112,"latitude_deg":11.9805824,"altitude":37,"angle":244,"satellites":42,"speed":26,"hex_longitude":"2d1a8a80","hex_latitude":"07241780","is_valid_coordinates":true} 
[2026-06-02 11:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777474816001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125140666807222272,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922122277884188672,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780380775000,"timestamp_ms":1780380775000,"timestamp_seconds":1780380775,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f6b258"} 
[2026-06-02 11:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:45:12] 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-06-02 11:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 11:45:12] 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-06-02 11:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:45:12] 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-06-02 11:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777474816001,"66":14428,"41":206,"83":42752,"24":26,"16":125140666807222272,"45":1922122277884188672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,83,24,16,45]} 
[2026-06-02 11:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777474816001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:45:12] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-02 11:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125140666807222272,"km_value":125140666807222.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922122277884188672,"description":"Unknown IO ID 45"} 
[2026-06-02 11:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777474816001,"power":14428,"unknown_41":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1922122277884188672}} 
[2026-06-02 11:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":89609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:45:12] local.INFO: GPS data processed {"connection_id":89609,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:45:12] local.INFO: Acknowledgment sent {"connection_id":89609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:45:14] local.INFO: TCP Data received {"connection_id":89360,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:14] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:14] local.INFO: IMEI packet received {"connection_id":89360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":89360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:45:14] local.INFO: TCP Data received {"connection_id":89360,"ip":"117.224.25.7","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-02 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-02 11:45:14] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-02 11:45:14] local.INFO: IMEI packet received {"connection_id":89360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":89360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:45:16] local.INFO: TCP Data received {"connection_id":89360,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:16] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019e86..."} 
[2026-06-02 11:45:16] local.INFO: IMEI packet received {"connection_id":89360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":89360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:45:19] local.INFO: TCP Data received {"connection_id":89360,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:19] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:19] local.INFO: Packet analysis {"connection_id":89360,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:45:19] local.INFO: Extracted packet for processing {"connection_id":89360,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:45:19] 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-06-02 11:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":89360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:45:19] local.INFO: GPS data processed {"connection_id":89360,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:45:19] local.INFO: Acknowledgment sent {"connection_id":89360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:45:19] local.INFO: Packet analysis {"connection_id":89360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:45:19] local.INFO: Extracted packet for processing {"connection_id":89360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:45:19] 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-06-02 11:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":89360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:45:19] local.INFO: GPS data processed {"connection_id":89360,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:45:19] local.INFO: Acknowledgment sent {"connection_id":89360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:45:24] local.INFO: TCP Data received {"connection_id":89360,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:24] local.INFO: Processing buffer {"connection_id":89360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:45:24] local.INFO: Packet analysis {"connection_id":89360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:45:24] local.INFO: Extracted packet for processing {"connection_id":89360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:45:24] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:45:24] 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-06-02 11: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-06-02 11:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:45:24] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:45:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:45:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:45:24] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:45:24] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:45:24] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":89360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:45:24] local.INFO: GPS data processed {"connection_id":89360,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:45:24] local.INFO: Acknowledgment sent {"connection_id":89360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:45:29] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:45:29] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:45:29] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:45:30] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:45:30] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:45:30] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:45:30] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:45:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:45:30] 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-06-02 11:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:45:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:45:30] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:45:30] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:45:58] local.INFO: TCP Data received {"connection_id":89361,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:58] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:45:58] local.INFO: IMEI packet received {"connection_id":89361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":89361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:46:01] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:46:01] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:46:01] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:46:01] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:46:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46: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-06-02 11:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:46: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-06-02 11:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:46: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-06-02 11:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:46:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:46:01] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:46:01] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:46:04] local.INFO: TCP Data received {"connection_id":89361,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:46:04] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:46:04] local.INFO: IMEI packet received {"connection_id":89361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":89361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:46:05] local.INFO: TCP Data received {"connection_id":89361,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:46:05] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:46:05] local.INFO: Packet analysis {"connection_id":89361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:46:05] local.INFO: Extracted packet for processing {"connection_id":89361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:46:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:46:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":89361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:46:05] local.INFO: GPS data processed {"connection_id":89361,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:46:05] local.INFO: Acknowledgment sent {"connection_id":89361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:46:24] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:46:24] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:46:24] local.INFO: IMEI packet received {"connection_id":89762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":89762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:46:29] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:46:29] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:46:29] local.INFO: IMEI packet received {"connection_id":89762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":89762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:46:30] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:46:30] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:46:30] local.INFO: Packet analysis {"connection_id":89762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:46:30] local.INFO: Extracted packet for processing {"connection_id":89762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:30] 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-06-02 11:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:46:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":89762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:46:30] local.INFO: GPS data processed {"connection_id":89762,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:46:30] local.INFO: Acknowledgment sent {"connection_id":89762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:46:37] local.INFO: TCP Data received {"connection_id":89361,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:46:37] local.INFO: Processing buffer {"connection_id":89361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:46:37] local.INFO: Packet analysis {"connection_id":89361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:46:37] local.INFO: Extracted packet for processing {"connection_id":89361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:46:37] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:46:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":89361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:46:37] local.INFO: GPS data processed {"connection_id":89361,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:46:37] local.INFO: Acknowledgment sent {"connection_id":89361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:46:58] local.INFO: TCP Data received {"connection_id":89763,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:46:58] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:46:58] local.INFO: IMEI packet received {"connection_id":89763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":89763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:47:02] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:47:02] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:47:02] local.INFO: Packet analysis {"connection_id":89762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:47:02] local.INFO: Extracted packet for processing {"connection_id":89762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:02] 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-06-02 11:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:47: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-06-02 11:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:47: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-06-02 11:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:47:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":89762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:47:02] local.INFO: GPS data processed {"connection_id":89762,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:47:02] local.INFO: Acknowledgment sent {"connection_id":89762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:47:04] local.INFO: TCP Data received {"connection_id":89763,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:47:04] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:47:04] local.INFO: IMEI packet received {"connection_id":89763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":89763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:47:05] local.INFO: TCP Data received {"connection_id":89763,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:47:05] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:47:05] local.INFO: Packet analysis {"connection_id":89763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:47:05] local.INFO: Extracted packet for processing {"connection_id":89763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:47:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:47:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":89763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:47:05] local.INFO: GPS data processed {"connection_id":89763,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:47:05] local.INFO: Acknowledgment sent {"connection_id":89763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:47:24] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:47:24] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:47:24] local.INFO: IMEI packet received {"connection_id":89611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":89611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:47:29] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:47:29] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:47:29] local.INFO: IMEI packet received {"connection_id":89611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":89611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:47:30] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:47:30] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:47:30] local.INFO: Packet analysis {"connection_id":89611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:47:30] local.INFO: Extracted packet for processing {"connection_id":89611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:47:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:30] 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-06-02 11:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:47:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":89611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:47:30] local.INFO: GPS data processed {"connection_id":89611,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:47:30] local.INFO: Acknowledgment sent {"connection_id":89611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:47:36] local.INFO: TCP Data received {"connection_id":89763,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:47:36] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f74ab0012cfa468007404af80027005e2a..."} 
[2026-06-02 11:47:36] local.INFO: Packet analysis {"connection_id":89763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:47:36] local.INFO: Extracted packet for processing {"connection_id":89763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f7"} 
[2026-06-02 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777411328001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780380814000,"timestamp_ms":1780380814000,"timestamp_seconds":1780380814,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f74ab0"} 
[2026-06-02 11:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 11:47:36] 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-06-02 11:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777411328001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777411328001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:47:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777411328001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":89763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:47:36] local.INFO: GPS data processed {"connection_id":89763,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:47:36] local.INFO: Acknowledgment sent {"connection_id":89763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:48:00] local.INFO: TCP Data received {"connection_id":89611,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:00] local.INFO: Processing buffer {"connection_id":89611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:00] local.INFO: Packet analysis {"connection_id":89611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:48:00] local.INFO: Extracted packet for processing {"connection_id":89611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:48:00] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48: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-06-02 11:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11: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-06-02 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:48: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-06-02 11:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:48:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":89611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:48:01] local.INFO: GPS data processed {"connection_id":89611,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:48:01] local.INFO: Acknowledgment sent {"connection_id":89611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:48:04] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:04] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:04] local.INFO: IMEI packet received {"connection_id":89362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":89362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:48:04] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:04] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:04] local.INFO: IMEI packet received {"connection_id":89362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":89362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:48:06] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fa7f00012cfa468007404af80027005e2a..."} 
[2026-06-02 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fa7f00012cfa468007404af80027005e2a..."} 
[2026-06-02 11:48:06] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fa7f00012cfa468007404af80027005e2a..."} 
[2026-06-02 11:48:06] local.INFO: Packet analysis {"connection_id":89362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fa"} 
[2026-06-02 11:48:06] local.INFO: Extracted packet for processing {"connection_id":89362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fa"} 
[2026-06-02 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654008,"longitude_deg":75.4599552,"latitude_deg":12.1654008,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404af8","is_valid_coordinates":true} 
[2026-06-02 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777488384001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780381024000,"timestamp_ms":1780381024000,"timestamp_seconds":1780381024,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fa7f00"} 
[2026-06-02 11:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 11:48:06] 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-06-02 11:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777488384001,"66":26039,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777488384001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:48:06] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777488384001,"power":26039,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":89362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:48:06] local.INFO: GPS data processed {"connection_id":89362,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:48:06] local.INFO: Acknowledgment sent {"connection_id":89362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:48:09] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fad4f0012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fad4f0012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:48:09] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fad4f0012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:48:09] local.INFO: Packet analysis {"connection_id":89362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fa"} 
[2026-06-02 11:48:09] local.INFO: Extracted packet for processing {"connection_id":89362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fa"} 
[2026-06-02 11:48:09] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777542144001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226040320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780381046000,"timestamp_ms":1780381046000,"timestamp_seconds":1780381046,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fad4f0"} 
[2026-06-02 11:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 11:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777542144001,"66":28137,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226040320},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777542144001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:48:09] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226040320,"description":"Unknown IO ID 44"} 
[2026-06-02 11:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777542144001,"power":28137,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226040320}} 
[2026-06-02 11:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":89362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:48:09] local.INFO: GPS data processed {"connection_id":89362,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:48:09] local.INFO: Acknowledgment sent {"connection_id":89362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:48:29] local.INFO: TCP Data received {"connection_id":89612,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:48:29] local.INFO: Processing buffer {"connection_id":89612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:48:29] local.INFO: IMEI packet received {"connection_id":89612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":89612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:48:34] local.INFO: TCP Data received {"connection_id":89612,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:48:34] local.INFO: Processing buffer {"connection_id":89612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:48:34] local.INFO: IMEI packet received {"connection_id":89612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":89612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:48:35] local.INFO: TCP Data received {"connection_id":89612,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:35] local.INFO: Processing buffer {"connection_id":89612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:35] local.INFO: Packet analysis {"connection_id":89612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:48:35] local.INFO: Extracted packet for processing {"connection_id":89612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:35] 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-06-02 11:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":89612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:48:35] local.INFO: GPS data processed {"connection_id":89612,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:48:35] local.INFO: Acknowledgment sent {"connection_id":89612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:48:40] local.INFO: TCP Data received {"connection_id":89612,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:40] local.INFO: Processing buffer {"connection_id":89612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:48:40] local.INFO: Packet analysis {"connection_id":89612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:48:40] local.INFO: Extracted packet for processing {"connection_id":89612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:48:40] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:40] 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-06-02 11:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:48:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":89612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:48:40] local.INFO: GPS data processed {"connection_id":89612,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:48:40] local.INFO: Acknowledgment sent {"connection_id":89612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:48:41] local.INFO: TCP Data received {"connection_id":89362,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fb26f8012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fb26f8012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:48:41] local.INFO: Processing buffer {"connection_id":89362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fb26f8012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:48:41] local.INFO: Packet analysis {"connection_id":89362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:48:41] local.INFO: Extracted packet for processing {"connection_id":89362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:48:41] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777547776001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780381067000,"timestamp_ms":1780381067000,"timestamp_seconds":1780381067,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fb26f8"} 
[2026-06-02 11:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 11:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777547776001,"66":27995,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777547776001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:48:41] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777547776001,"power":27995,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":89362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:48:41] local.INFO: GPS data processed {"connection_id":89362,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:48:41] local.INFO: Acknowledgment sent {"connection_id":89362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:48:59] local.INFO: TCP Data received {"connection_id":90827,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:59] local.INFO: Processing buffer {"connection_id":90827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:48:59] local.INFO: IMEI packet received {"connection_id":90827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":90827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:49:04] local.INFO: TCP Data received {"connection_id":90827,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:49:04] local.INFO: Processing buffer {"connection_id":90827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:49:04] local.INFO: IMEI packet received {"connection_id":90827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":90827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:49:05] local.INFO: TCP Data received {"connection_id":90827,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fb7900012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fb7900012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:49:05] local.INFO: Processing buffer {"connection_id":90827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fb7900012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:49:05] local.INFO: Packet analysis {"connection_id":90827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:49:05] local.INFO: Extracted packet for processing {"connection_id":90827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777553152001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780381088000,"timestamp_ms":1780381088000,"timestamp_seconds":1780381088,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fb7900"} 
[2026-06-02 11:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:49: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-06-02 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 11:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777553152001,"66":28278,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777553152001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:49:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777553152001,"power":28278,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":90827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:49:05] local.INFO: GPS data processed {"connection_id":90827,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:49:05] local.INFO: Acknowledgment sent {"connection_id":90827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:49:24] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:49:24] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:49:24] local.INFO: IMEI packet received {"connection_id":89764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":89764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:49:29] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:49:29] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:49:29] local.INFO: IMEI packet received {"connection_id":89764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":89764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:49:30] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:49:30] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:49:30] local.INFO: Packet analysis {"connection_id":89764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:49:30] local.INFO: Extracted packet for processing {"connection_id":89764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:30] 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-06-02 11:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:49:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:49:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":89764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:49:30] local.INFO: GPS data processed {"connection_id":89764,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:49:30] local.INFO: Acknowledgment sent {"connection_id":89764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:49:37] local.INFO: TCP Data received {"connection_id":90827,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fbcb08012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fbcb08012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:49:37] local.INFO: Processing buffer {"connection_id":90827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fbcb08012cfa468007404ab00027005e2a..."} 
[2026-06-02 11:49:37] local.INFO: Packet analysis {"connection_id":90827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:49:37] local.INFO: Extracted packet for processing {"connection_id":90827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121653936,"longitude_deg":75.4599552,"latitude_deg":12.1653936,"altitude":39,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404ab0","is_valid_coordinates":true} 
[2026-06-02 11:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777558528001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780381109000,"timestamp_ms":1780381109000,"timestamp_seconds":1780381109,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fbcb08"} 
[2026-06-02 11:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:49: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-06-02 11:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777558528001,"66":28452,"40":206,"28":26368,"24":0,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777558528001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:49:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777558528001,"power":28452,"unknown_40":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":90827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:49:37] local.INFO: GPS data processed {"connection_id":90827,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:49:37] local.INFO: Acknowledgment sent {"connection_id":90827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:49:58] local.INFO: TCP Data received {"connection_id":89613,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:49:58] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:49:58] local.INFO: IMEI packet received {"connection_id":89613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":89613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:50:02] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:50:02] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86f844b0012ceb7a800713b9d0000d009f29..."} 
[2026-06-02 11:50:02] local.INFO: Packet analysis {"connection_id":89764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:50:02] local.INFO: Extracted packet for processing {"connection_id":89764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86f8"} 
[2026-06-02 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777427712001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:02] 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-06-02 11:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780380878000,"timestamp_ms":1780380878000,"timestamp_seconds":1780380878,"priority":1,"record_length":96,"hex_timestamp":"0000019e86f844b0"} 
[2026-06-02 11:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:50: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-06-02 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:50: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-06-02 11:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777427712001,"66":25919,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777427712001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:50:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777427712001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":89764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:50:02] local.INFO: GPS data processed {"connection_id":89764,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:50:02] local.INFO: Acknowledgment sent {"connection_id":89764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:50:02] local.INFO: TCP Data received {"connection_id":89613,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:50:02] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:50:02] local.INFO: IMEI packet received {"connection_id":89613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":89613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:50:03] local.INFO: TCP Data received {"connection_id":89613,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fbf9e8012cfa7040074070e00024002d29..."} 
[2026-06-02 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fbf9e8012cfa7040074070e00024002d29..."} 
[2026-06-02 11:50:03] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fbf9e8012cfa7040074070e00024002d29..."} 
[2026-06-02 11:50:03] local.INFO: Packet analysis {"connection_id":89613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:50:03] local.INFO: Extracted packet for processing {"connection_id":89613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fb"} 
[2026-06-02 11:50:03] local.INFO: GPS Element Parsed {"raw_longitude":754610240,"raw_latitude":121663712,"longitude_deg":75.461024,"latitude_deg":12.1663712,"altitude":36,"angle":45,"satellites":41,"speed":25,"hex_longitude":"2cfa7040","hex_latitude":"074070e0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777563904001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226058752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780381121000,"timestamp_ms":1780381121000,"timestamp_seconds":1780381121,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fbf9e8"} 
[2026-06-02 11:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777563904001,"66":28485,"40":206,"28":26368,"24":25,"16":119125041123164160,"44":-412501547226058752},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,44]} 
[2026-06-02 11:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777563904001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:50:03] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226058752,"description":"Unknown IO ID 44"} 
[2026-06-02 11:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777563904001,"power":28485,"unknown_40":206,"unknown_28":26368,"ignition":25,"odometer":null,"unknown_44":-412501547226058752}} 
[2026-06-02 11:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":89613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:50:04] local.INFO: GPS data processed {"connection_id":89613,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:50:04] local.INFO: Acknowledgment sent {"connection_id":89613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:50:24] local.INFO: TCP Data received {"connection_id":89363,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:50:24] local.INFO: Processing buffer {"connection_id":89363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:50:24] local.INFO: IMEI packet received {"connection_id":89363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":89363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:50:29] local.INFO: TCP Data received {"connection_id":89363,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:50:29] local.INFO: Processing buffer {"connection_id":89363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:50:29] local.INFO: IMEI packet received {"connection_id":89363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":89363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:50:30] local.INFO: TCP Data received {"connection_id":89363,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:50:30] local.INFO: Processing buffer {"connection_id":89363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:50:30] local.INFO: Packet analysis {"connection_id":89363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:50:30] local.INFO: Extracted packet for processing {"connection_id":89363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 11:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:30] 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-06-02 11:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 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-06-02 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 11:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:50:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":89363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:50:30] local.INFO: GPS data processed {"connection_id":89363,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:50:30] local.INFO: Acknowledgment sent {"connection_id":89363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:50:35] local.INFO: TCP Data received {"connection_id":89613,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fce0600100000000000000000000000000..."} 
[2026-06-02 11:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fce0600100000000000000000000000000..."} 
[2026-06-02 11:50:35] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fce0600100000000000000000000000000..."} 
[2026-06-02 11:50:35] local.INFO: Packet analysis {"connection_id":89613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:50:35] local.INFO: Extracted packet for processing {"connection_id":89613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:50:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 11:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777566976001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-400749966945886208,"note":"Value kept but may cause issues"} 
[2026-06-02 11:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780381180000,"timestamp_ms":1780381180000,"timestamp_seconds":1780381180,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fce060"} 
[2026-06-02 11:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 11:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":89613,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 11:50:35] local.INFO: GPS data processed {"connection_id":89613,"processed":0,"errors":0,"total":1} 
[2026-06-02 11:50:35] local.INFO: Acknowledgment sent {"connection_id":89613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:51:02] local.INFO: TCP Data received {"connection_id":89363,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:51:02] local.INFO: Processing buffer {"connection_id":89363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:51:02] local.INFO: Packet analysis {"connection_id":89363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:51:02] local.INFO: Extracted packet for processing {"connection_id":89363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:51:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:02] 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-06-02 11:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:51: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-06-02 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:51: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-06-02 11:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:51:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":89363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:51:02] local.INFO: GPS data processed {"connection_id":89363,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:51:02] local.INFO: Acknowledgment sent {"connection_id":89363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:51:03] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:03] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:03] local.INFO: IMEI packet received {"connection_id":89364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":89364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:51:04] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:04] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:04] local.INFO: IMEI packet received {"connection_id":89364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":89364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:51:09] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:09] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:51:09] local.INFO: IMEI packet received {"connection_id":89364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":89364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:51:11] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fc4fd8012cfa97c0074099080022003327..."} 
[2026-06-02 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fc4fd8012cfa97c0074099080022003327..."} 
[2026-06-02 11:51:11] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fc4fd8012cfa97c0074099080022003327..."} 
[2026-06-02 11:51:11] local.INFO: Packet analysis {"connection_id":89364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:51:11] local.INFO: Extracted packet for processing {"connection_id":89364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":754620352,"raw_latitude":121673992,"longitude_deg":75.4620352,"latitude_deg":12.1673992,"altitude":34,"angle":51,"satellites":39,"speed":22,"hex_longitude":"2cfa97c0","hex_latitude":"07409908","is_valid_coordinates":true} 
[2026-06-02 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119125041123164160,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,40,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 11:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780381143000,"timestamp_ms":1780381143000,"timestamp_seconds":1780381143,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fc4fd8"} 
[2026-06-02 11:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 11:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"40":206,"28":26368,"24":22,"16":119125041123164160},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16]} 
[2026-06-02 11:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 11:51:11] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 11:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119125041123164160,"km_value":119125041123164.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:51:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_40":206,"unknown_28":26368,"ignition":22,"odometer":null}} 
[2026-06-02 11:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":89364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:51:11] local.INFO: GPS data processed {"connection_id":89364,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:51:11] local.INFO: Acknowledgment sent {"connection_id":89364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:51:24] local.INFO: TCP Data received {"connection_id":90828,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:51:24] local.INFO: Processing buffer {"connection_id":90828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:51:24] local.INFO: IMEI packet received {"connection_id":90828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":90828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:51:29] local.INFO: TCP Data received {"connection_id":90828,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:51:29] local.INFO: Processing buffer {"connection_id":90828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:51:29] local.INFO: IMEI packet received {"connection_id":90828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":90828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:51:31] local.INFO: TCP Data received {"connection_id":90828,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:51:31] local.INFO: Processing buffer {"connection_id":90828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:51:31] local.INFO: Packet analysis {"connection_id":90828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:51:31] local.INFO: Extracted packet for processing {"connection_id":90828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:31] 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-06-02 11:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:51: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-06-02 11:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:51:31] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":90828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:51:31] local.INFO: GPS data processed {"connection_id":90828,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:51:31] local.INFO: Acknowledgment sent {"connection_id":90828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:51:43] local.INFO: TCP Data received {"connection_id":89364,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fdbf08012cfb318007414ea8002c015922..."} 
[2026-06-02 11:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fdbf08012cfb318007414ea8002c015922..."} 
[2026-06-02 11:51:43] local.INFO: Processing buffer {"connection_id":89364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fdbf08012cfb318007414ea8002c015922..."} 
[2026-06-02 11:51:43] local.INFO: Packet analysis {"connection_id":89364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fd"} 
[2026-06-02 11:51:43] local.INFO: Extracted packet for processing {"connection_id":89364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fd"} 
[2026-06-02 11:51:43] local.INFO: GPS Element Parsed {"raw_longitude":754659712,"raw_latitude":121720488,"longitude_deg":75.4659712,"latitude_deg":12.1720488,"altitude":44,"angle":345,"satellites":34,"speed":35,"hex_longitude":"2cfb3180","hex_latitude":"07414ea8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777595904001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119127682528051200,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-345862346473445376,"note":"Value kept but may cause issues"} 
[2026-06-02 11:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780381237000,"timestamp_ms":1780381237000,"timestamp_seconds":1780381237,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fdbf08"} 
[2026-06-02 11:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:51: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-06-02 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 11:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777595904001,"66":28452,"130":206,"28":26368,"24":35,"16":119127682528051200,"44":-345862346473445376},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,44]} 
[2026-06-02 11:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777595904001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:51:43] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-02 11:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119127682528051200,"km_value":119127682528051.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-345862346473445376,"description":"Unknown IO ID 44"} 
[2026-06-02 11:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777595904001,"power":28452,"unknown_130":206,"unknown_28":26368,"ignition":35,"odometer":null,"unknown_44":-345862346473445376}} 
[2026-06-02 11:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":89364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:51:44] local.INFO: GPS data processed {"connection_id":89364,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:51:44] local.INFO: Acknowledgment sent {"connection_id":89364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:52:03] local.INFO: TCP Data received {"connection_id":90828,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:52:03] local.INFO: Processing buffer {"connection_id":90828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:52:03] local.INFO: Packet analysis {"connection_id":90828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:52:03] local.INFO: Extracted packet for processing {"connection_id":90828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:52:03] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:03] 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-06-02 11:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:52:03] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":90828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:52:03] local.INFO: GPS data processed {"connection_id":90828,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:52:03] local.INFO: Acknowledgment sent {"connection_id":90828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:52:08] local.INFO: TCP Data received {"connection_id":90829,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:52:08] local.INFO: Processing buffer {"connection_id":90829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:52:08] local.INFO: IMEI packet received {"connection_id":90829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":90829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:52:14] local.INFO: TCP Data received {"connection_id":90829,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:52:14] local.INFO: Processing buffer {"connection_id":90829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:52:14] local.INFO: IMEI packet received {"connection_id":90829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":90829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:52:16] local.INFO: TCP Data received {"connection_id":90829,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fdc6d8012cfb2f00074154a8002c014c22..."} 
[2026-06-02 11:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fdc6d8012cfb2f00074154a8002c014c22..."} 
[2026-06-02 11:52:16] local.INFO: Processing buffer {"connection_id":90829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fdc6d8012cfb2f00074154a8002c014c22..."} 
[2026-06-02 11:52:16] local.INFO: Packet analysis {"connection_id":90829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fd"} 
[2026-06-02 11:52:16] local.INFO: Extracted packet for processing {"connection_id":90829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fd"} 
[2026-06-02 11:52:16] local.INFO: GPS Element Parsed {"raw_longitude":754659072,"raw_latitude":121722024,"longitude_deg":75.4659072,"latitude_deg":12.1722024,"altitude":44,"angle":332,"satellites":34,"speed":30,"hex_longitude":"2cfb2f00","hex_latitude":"074154a8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777596672001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119127764132429824,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-346354927682017280,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780381239000,"timestamp_ms":1780381239000,"timestamp_seconds":1780381239,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fdc6d8"} 
[2026-06-02 11:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777596672001,"66":28354,"130":206,"28":26368,"24":30,"16":119127764132429824,"44":-346354927682017280},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,44]} 
[2026-06-02 11:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777596672001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:52:16] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-02 11:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119127764132429824,"km_value":119127764132429.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-346354927682017280,"description":"Unknown IO ID 44"} 
[2026-06-02 11:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777596672001,"power":28354,"unknown_130":206,"unknown_28":26368,"ignition":30,"odometer":null,"unknown_44":-346354927682017280}} 
[2026-06-02 11:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":90829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:52:16] local.INFO: GPS data processed {"connection_id":90829,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:52:16] local.INFO: Acknowledgment sent {"connection_id":90829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:52:28] local.INFO: TCP Data received {"connection_id":89614,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:52:28] local.INFO: Processing buffer {"connection_id":89614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:52:28] local.INFO: IMEI packet received {"connection_id":89614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":89614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:52:32] local.INFO: TCP Data received {"connection_id":89614,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:52:32] local.INFO: Processing buffer {"connection_id":89614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:52:32] local.INFO: IMEI packet received {"connection_id":89614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":89614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:52:37] local.INFO: TCP Data received {"connection_id":89614,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:52:37] local.INFO: Processing buffer {"connection_id":89614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:52:37] local.INFO: Packet analysis {"connection_id":89614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:52:37] local.INFO: Extracted packet for processing {"connection_id":89614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:52:37] 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-06-02 11:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:52:37] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":89614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:52:37] local.INFO: GPS data processed {"connection_id":89614,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:52:37] local.INFO: Acknowledgment sent {"connection_id":89614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:53:03] local.INFO: TCP Data received {"connection_id":89615,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:03] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:03] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:53:08] local.INFO: TCP Data received {"connection_id":89615,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:08] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:08] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:53:08] local.INFO: TCP Data received {"connection_id":89615,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:08] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:53:08] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:53:09] local.INFO: TCP Data received {"connection_id":89614,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:09] local.INFO: Processing buffer {"connection_id":89614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:09] local.INFO: Packet analysis {"connection_id":89614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:53:09] local.INFO: Extracted packet for processing {"connection_id":89614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:09] 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-06-02 11:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:53:09] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":89614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:53:09] local.INFO: GPS data processed {"connection_id":89614,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:53:09] local.INFO: Acknowledgment sent {"connection_id":89614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:53:10] local.INFO: TCP Data received {"connection_id":89615,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ff39f0012cfae64007421b880052000929..."} 
[2026-06-02 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ff39f0012cfae64007421b880052000929..."} 
[2026-06-02 11:53:10] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ff39f0012cfae64007421b880052000929..."} 
[2026-06-02 11:53:10] local.INFO: Packet analysis {"connection_id":89615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:53:10] local.INFO: Extracted packet for processing {"connection_id":89615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":754640448,"raw_latitude":121772936,"longitude_deg":75.4640448,"latitude_deg":12.1772936,"altitude":82,"angle":9,"satellites":41,"speed":25,"hex_longitude":"2cfae640","hex_latitude":"07421b88","is_valid_coordinates":true} 
[2026-06-02 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777618432001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119130461371891712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-367465550923833344,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780381334000,"timestamp_ms":1780381334000,"timestamp_seconds":1780381334,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ff39f0"} 
[2026-06-02 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 11:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777618432001,"66":28430,"69":206,"28":26368,"24":25,"16":119130461371891712,"44":-367465550923833344},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,28,24,16,44]} 
[2026-06-02 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777618432001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:53:10] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-02 11:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119130461371891712,"km_value":119130461371891.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-367465550923833344,"description":"Unknown IO ID 44"} 
[2026-06-02 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777618432001,"power":28430,"unknown_69":206,"unknown_28":26368,"ignition":25,"odometer":null,"unknown_44":-367465550923833344}} 
[2026-06-02 11:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":89615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:53:10] local.INFO: GPS data processed {"connection_id":89615,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:53:10] local.INFO: Acknowledgment sent {"connection_id":89615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:53:12] local.INFO: TCP Data received {"connection_id":89615,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ff5930012cfaebc0074230900055001728..."} 
[2026-06-02 11:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ff5930012cfaebc0074230900055001728..."} 
[2026-06-02 11:53:12] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ff5930012cfaebc0074230900055001728..."} 
[2026-06-02 11:53:12] local.INFO: Packet analysis {"connection_id":89615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:53:12] local.INFO: Extracted packet for processing {"connection_id":89615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:53:12] local.INFO: GPS Element Parsed {"raw_longitude":754641856,"raw_latitude":121778320,"longitude_deg":75.4641856,"latitude_deg":12.177832,"altitude":85,"angle":23,"satellites":40,"speed":27,"hex_longitude":"2cfaebc0","hex_latitude":"07423090","is_valid_coordinates":true} 
[2026-06-02 11:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777621504001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119130731954831360,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-367535919666067456,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780381342000,"timestamp_ms":1780381342000,"timestamp_seconds":1780381342,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ff5930"} 
[2026-06-02 11:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 11:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777621504001,"66":28430,"69":206,"28":26368,"24":27,"16":119130731954831360,"44":-367535919666067456},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,28,24,16,44]} 
[2026-06-02 11:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777621504001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:53:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-02 11:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119130731954831360,"km_value":119130731954831.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-367535919666067456,"description":"Unknown IO ID 44"} 
[2026-06-02 11:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777621504001,"power":28430,"unknown_69":206,"unknown_28":26368,"ignition":27,"odometer":null,"unknown_44":-367535919666067456}} 
[2026-06-02 11:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":89615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:53:12] local.INFO: GPS data processed {"connection_id":89615,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:53:12] local.INFO: Acknowledgment sent {"connection_id":89615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:53:29] local.INFO: TCP Data received {"connection_id":89365,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:53:29] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:53:29] local.INFO: IMEI packet received {"connection_id":89365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":89365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:53:34] local.INFO: TCP Data received {"connection_id":89365,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:53:34] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:53:34] local.INFO: IMEI packet received {"connection_id":89365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":89365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:53:35] local.INFO: TCP Data received {"connection_id":89365,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:35] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:35] local.INFO: Packet analysis {"connection_id":89365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:53:35] local.INFO: Extracted packet for processing {"connection_id":89365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:53:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:35] 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-06-02 11:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:53:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":89365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:53:35] local.INFO: GPS data processed {"connection_id":89365,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:53:35] local.INFO: Acknowledgment sent {"connection_id":89365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:53:40] local.INFO: TCP Data received {"connection_id":89365,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:40] local.INFO: Processing buffer {"connection_id":89365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:53:40] local.INFO: Packet analysis {"connection_id":89365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:53:40] local.INFO: Extracted packet for processing {"connection_id":89365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:53:40] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:53:40] 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-06-02 11:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:53:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":89365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:53:40] local.INFO: GPS data processed {"connection_id":89365,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:53:40] local.INFO: Acknowledgment sent {"connection_id":89365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:54:04] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:04] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:04] local.INFO: IMEI packet received {"connection_id":89366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":89366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:54:09] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:09] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:09] local.INFO: IMEI packet received {"connection_id":89366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":89366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:54:10] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ff6100012cfaeec0074234e8005500262a..."} 
[2026-06-02 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ff6100012cfaeec0074234e8005500262a..."} 
[2026-06-02 11:54:10] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ff6100012cfaeec0074234e8005500262a..."} 
[2026-06-02 11:54:10] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:54:10] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":754642624,"raw_latitude":121779432,"longitude_deg":75.4642624,"latitude_deg":12.1779432,"altitude":85,"angle":38,"satellites":42,"speed":25,"hex_longitude":"2cfaeec0","hex_latitude":"074234e8","is_valid_coordinates":true} 
[2026-06-02 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777623552001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119130796379340800,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-365987807292780544,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780381344000,"timestamp_ms":1780381344000,"timestamp_seconds":1780381344,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ff6100"} 
[2026-06-02 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 11:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777623552001,"66":28485,"69":206,"28":26368,"24":25,"16":119130796379340800,"44":-365987807292780544},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,28,24,16,44]} 
[2026-06-02 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777623552001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:54:10] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-02 11:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119130796379340800,"km_value":119130796379340.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-365987807292780544,"description":"Unknown IO ID 44"} 
[2026-06-02 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777623552001,"power":28485,"unknown_69":206,"unknown_28":26368,"ignition":25,"odometer":null,"unknown_44":-365987807292780544}} 
[2026-06-02 11:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:54:11] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:54:11] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:54:12] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e86ff7488012cfaf74007423e900056001529..."} 
[2026-06-02 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86ff7488012cfaf74007423e900056001529..."} 
[2026-06-02 11:54:12] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86ff7488012cfaf74007423e900056001529..."} 
[2026-06-02 11:54:12] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:54:12] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86ff"} 
[2026-06-02 11:54:12] local.INFO: GPS Element Parsed {"raw_longitude":754644800,"raw_latitude":121781904,"longitude_deg":75.46448,"latitude_deg":12.1781904,"altitude":86,"angle":21,"satellites":41,"speed":27,"hex_longitude":"2cfaf740","hex_latitude":"07423e90","is_valid_coordinates":true} 
[2026-06-02 11:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777624064001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119130955293130752,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-365143382362363904,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780381349000,"timestamp_ms":1780381349000,"timestamp_seconds":1780381349,"priority":1,"record_length":96,"hex_timestamp":"0000019e86ff7488"} 
[2026-06-02 11:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 11:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777624064001,"66":28398,"139":206,"28":26368,"24":27,"16":119130955293130752,"44":-365143382362363904},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777624064001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:54:12] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119130955293130752,"km_value":119130955293130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-365143382362363904,"description":"Unknown IO ID 44"} 
[2026-06-02 11:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777624064001,"power":28398,"unknown_139":206,"unknown_28":26368,"ignition":27,"odometer":null,"unknown_44":-365143382362363904}} 
[2026-06-02 11:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:54:12] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:54:12] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:54:24] local.INFO: TCP Data received {"connection_id":90830,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:54:24] local.INFO: Processing buffer {"connection_id":90830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:54:24] local.INFO: IMEI packet received {"connection_id":90830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":90830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:54:29] local.INFO: TCP Data received {"connection_id":90830,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:54:29] local.INFO: Processing buffer {"connection_id":90830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:54:29] local.INFO: IMEI packet received {"connection_id":90830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":90830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:54:30] local.INFO: TCP Data received {"connection_id":90830,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:54:30] local.INFO: Processing buffer {"connection_id":90830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:54:30] local.INFO: Packet analysis {"connection_id":90830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:54:30] local.INFO: Extracted packet for processing {"connection_id":90830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:54:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:30] 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-06-02 11:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:54:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":90830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:54:30] local.INFO: GPS data processed {"connection_id":90830,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:54:30] local.INFO: Acknowledgment sent {"connection_id":90830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:54:43] local.INFO: TCP Data received {"connection_id":89366,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8700b8c0012cfb29800742fdf80059001d1d..."} 
[2026-06-02 11:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8700b8c0012cfb29800742fdf80059001d1d..."} 
[2026-06-02 11:54:43] local.INFO: Processing buffer {"connection_id":89366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8700b8c0012cfb29800742fdf80059001d1d..."} 
[2026-06-02 11:54:43] local.INFO: Packet analysis {"connection_id":89366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8700"} 
[2026-06-02 11:54:43] local.INFO: Extracted packet for processing {"connection_id":89366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8700"} 
[2026-06-02 11:54:43] local.INFO: GPS Element Parsed {"raw_longitude":754657664,"raw_latitude":121830904,"longitude_deg":75.4657664,"latitude_deg":12.1830904,"altitude":89,"angle":29,"satellites":29,"speed":38,"hex_longitude":"2cfb2980","hex_latitude":"0742fdf8","is_valid_coordinates":true} 
[2026-06-02 11:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777645824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119133725547036672,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-350436314816663552,"note":"Value kept but may cause issues"} 
[2026-06-02 11:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780381432000,"timestamp_ms":1780381432000,"timestamp_seconds":1780381432,"priority":1,"record_length":96,"hex_timestamp":"0000019e8700b8c0"} 
[2026-06-02 11:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:54: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-06-02 11:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 11:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777645824001,"66":28430,"139":206,"28":26368,"24":38,"16":119133725547036672,"44":-350436314816663552},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777645824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:54:43] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119133725547036672,"km_value":119133725547036.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-350436314816663552,"description":"Unknown IO ID 44"} 
[2026-06-02 11:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777645824001,"power":28430,"unknown_139":206,"unknown_28":26368,"ignition":38,"odometer":null,"unknown_44":-350436314816663552}} 
[2026-06-02 11:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":89366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:54:43] local.INFO: GPS data processed {"connection_id":89366,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:54:43] local.INFO: Acknowledgment sent {"connection_id":89366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:54:56] local.INFO: TCP Data received {"connection_id":89367,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:56] local.INFO: Processing buffer {"connection_id":89367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:56] local.INFO: IMEI packet received {"connection_id":89367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":89367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:54:58] local.INFO: TCP Data received {"connection_id":89367,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:58] local.INFO: Processing buffer {"connection_id":89367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:58] local.INFO: IMEI packet received {"connection_id":89367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":89367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:54:59] local.INFO: TCP Data received {"connection_id":89367,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:59] local.INFO: Processing buffer {"connection_id":89367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:54:59] local.INFO: IMEI packet received {"connection_id":89367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":89367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:55:04] local.INFO: TCP Data received {"connection_id":89367,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:55:04] local.INFO: Processing buffer {"connection_id":89367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:55:04] local.INFO: IMEI packet received {"connection_id":89367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":89367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:55:04] local.INFO: TCP Data received {"connection_id":90830,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:55:04] local.INFO: Processing buffer {"connection_id":90830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e86fcdc78012ceb7a800713b9d0000d009f2e..."} 
[2026-06-02 11:55:04] local.INFO: Packet analysis {"connection_id":90830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:55:04] local.INFO: Extracted packet for processing {"connection_id":90830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e86fc"} 
[2026-06-02 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777504768001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:04] 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-06-02 11:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780381179000,"timestamp_ms":1780381179000,"timestamp_seconds":1780381179,"priority":1,"record_length":96,"hex_timestamp":"0000019e86fcdc78"} 
[2026-06-02 11:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 11:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777504768001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777504768001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:55:04] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777504768001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":90830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:55:04] local.INFO: GPS data processed {"connection_id":90830,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:55:04] local.INFO: Acknowledgment sent {"connection_id":90830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:55:05] local.INFO: TCP Data received {"connection_id":89367,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8700dbe8012cfb388007431ce80058000e21..."} 
[2026-06-02 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8700dbe8012cfb388007431ce80058000e21..."} 
[2026-06-02 11:55:05] local.INFO: Processing buffer {"connection_id":89367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8700dbe8012cfb388007431ce80058000e21..."} 
[2026-06-02 11:55:05] local.INFO: Packet analysis {"connection_id":89367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8700"} 
[2026-06-02 11:55:05] local.INFO: Extracted packet for processing {"connection_id":89367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8700"} 
[2026-06-02 11:55:05] local.INFO: GPS Element Parsed {"raw_longitude":754661504,"raw_latitude":121838824,"longitude_deg":75.4661504,"latitude_deg":12.1838824,"altitude":88,"angle":14,"satellites":33,"speed":40,"hex_longitude":"2cfb3880","hex_latitude":"07431ce8","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777646592001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119134150748798976,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-348606727467436032,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780381441000,"timestamp_ms":1780381441000,"timestamp_seconds":1780381441,"priority":1,"record_length":96,"hex_timestamp":"0000019e8700dbe8"} 
[2026-06-02 11:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:55: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-06-02 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 11:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777646592001,"66":28485,"139":206,"28":26368,"24":40,"16":119134150748798976,"44":-348606727467436032},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777646592001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:55:05] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119134150748798976,"km_value":119134150748798.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-348606727467436032,"description":"Unknown IO ID 44"} 
[2026-06-02 11:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777646592001,"power":28485,"unknown_139":206,"unknown_28":26368,"ignition":40,"odometer":null,"unknown_44":-348606727467436032}} 
[2026-06-02 11:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":89367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:55:05] local.INFO: GPS data processed {"connection_id":89367,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:55:05] local.INFO: Acknowledgment sent {"connection_id":89367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:55:07] local.INFO: TCP Data received {"connection_id":89367,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8700e3b8012cfb3940074324f00058000223..."} 
[2026-06-02 11:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8700e3b8012cfb3940074324f00058000223..."} 
[2026-06-02 11:55:07] local.INFO: Processing buffer {"connection_id":89367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8700e3b8012cfb3940074324f00058000223..."} 
[2026-06-02 11:55:07] local.INFO: Packet analysis {"connection_id":89367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8700"} 
[2026-06-02 11:55:07] local.INFO: Extracted packet for processing {"connection_id":89367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8700"} 
[2026-06-02 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":754661696,"raw_latitude":121840880,"longitude_deg":75.4661696,"latitude_deg":12.184088,"altitude":88,"angle":2,"satellites":35,"speed":40,"hex_longitude":"2cfb3940","hex_latitude":"074324f0","is_valid_coordinates":true} 
[2026-06-02 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777648896001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119134249533046784,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-344384602814748672,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780381443000,"timestamp_ms":1780381443000,"timestamp_seconds":1780381443,"priority":1,"record_length":96,"hex_timestamp":"0000019e8700e3b8"} 
[2026-06-02 11:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 11:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777648896001,"66":28430,"139":206,"28":26368,"24":40,"16":119134249533046784,"44":-344384602814748672},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777648896001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:55:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119134249533046784,"km_value":119134249533046.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:55:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-344384602814748672,"description":"Unknown IO ID 44"} 
[2026-06-02 11:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777648896001,"power":28430,"unknown_139":206,"unknown_28":26368,"ignition":40,"odometer":null,"unknown_44":-344384602814748672}} 
[2026-06-02 11:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":89367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:55:07] local.INFO: GPS data processed {"connection_id":89367,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:55:07] local.INFO: Acknowledgment sent {"connection_id":89367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:55:24] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:55:24] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:55:24] local.INFO: IMEI packet received {"connection_id":89616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":89616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:55:29] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:55:29] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:55:29] local.INFO: IMEI packet received {"connection_id":89616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":89616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:55:30] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:55:30] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:55:30] local.INFO: Packet analysis {"connection_id":89616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:55:30] local.INFO: Extracted packet for processing {"connection_id":89616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:55:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:30] 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-06-02 11:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:55:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":89616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:55:30] local.INFO: GPS data processed {"connection_id":89616,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:55:30] local.INFO: Acknowledgment sent {"connection_id":89616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:55:38] local.INFO: TCP Data received {"connection_id":89367,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8701a708012cfb4b000743c600004e000324..."} 
[2026-06-02 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8701a708012cfb4b000743c600004e000324..."} 
[2026-06-02 11:55:38] local.INFO: Processing buffer {"connection_id":89367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8701a708012cfb4b000743c600004e000324..."} 
[2026-06-02 11:55:38] local.INFO: Packet analysis {"connection_id":89367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:55:38] local.INFO: Extracted packet for processing {"connection_id":89367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":754666240,"raw_latitude":121882112,"longitude_deg":75.466624,"latitude_deg":12.1882112,"altitude":78,"angle":3,"satellites":36,"speed":25,"hex_longitude":"2cfb4b00","hex_latitude":"0743c600","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777661696001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119136543045582848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-339106946990653440,"note":"Value kept but may cause issues"} 
[2026-06-02 11:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780381493000,"timestamp_ms":1780381493000,"timestamp_seconds":1780381493,"priority":1,"record_length":96,"hex_timestamp":"0000019e8701a708"} 
[2026-06-02 11:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 11:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777661696001,"66":28376,"139":206,"28":26368,"24":25,"16":119136543045582848,"44":-339106946990653440},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777661696001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:55:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119136543045582848,"km_value":119136543045582.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:55:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-339106946990653440,"description":"Unknown IO ID 44"} 
[2026-06-02 11:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777661696001,"power":28376,"unknown_139":206,"unknown_28":26368,"ignition":25,"odometer":null,"unknown_44":-339106946990653440}} 
[2026-06-02 11:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":89367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:55:38] local.INFO: GPS data processed {"connection_id":89367,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:55:38] local.INFO: Acknowledgment sent {"connection_id":89367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:55:58] local.INFO: TCP Data received {"connection_id":89765,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:55:58] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:55:58] local.INFO: IMEI packet received {"connection_id":89765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":89765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:56:01] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:56:01] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:56:01] local.INFO: Packet analysis {"connection_id":89616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:01] local.INFO: Extracted packet for processing {"connection_id":89616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56: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-06-02 11:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:56: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-06-02 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:56: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-06-02 11:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:56:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:56:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":89616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:56:01] local.INFO: GPS data processed {"connection_id":89616,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:56:01] local.INFO: Acknowledgment sent {"connection_id":89616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:56:03] local.INFO: TCP Data received {"connection_id":89765,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:56:03] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:56:03] local.INFO: IMEI packet received {"connection_id":89765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":89765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:56:06] local.INFO: TCP Data received {"connection_id":89765,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8701aed8012cfb4bc00743cb30004f000e24..."} 
[2026-06-02 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8701aed8012cfb4bc00743cb30004f000e24..."} 
[2026-06-02 11:56:06] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8701aed8012cfb4bc00743cb30004f000e24..."} 
[2026-06-02 11:56:06] local.INFO: Packet analysis {"connection_id":89765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:06] local.INFO: Extracted packet for processing {"connection_id":89765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":754666432,"raw_latitude":121883440,"longitude_deg":75.4666432,"latitude_deg":12.188344,"altitude":79,"angle":14,"satellites":36,"speed":28,"hex_longitude":"2cfb4bc0","hex_latitude":"0743cb30","is_valid_coordinates":true} 
[2026-06-02 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777662208001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119136607470092288,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-339177315734519808,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780381495000,"timestamp_ms":1780381495000,"timestamp_seconds":1780381495,"priority":1,"record_length":96,"hex_timestamp":"0000019e8701aed8"} 
[2026-06-02 11:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:56: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-06-02 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 11:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777662208001,"66":28398,"139":206,"28":26368,"24":28,"16":119136607470092288,"44":-339177315734519808},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777662208001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:56:06] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119136607470092288,"km_value":119136607470092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-339177315734519808,"description":"Unknown IO ID 44"} 
[2026-06-02 11:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777662208001,"power":28398,"unknown_139":206,"unknown_28":26368,"ignition":28,"odometer":null,"unknown_44":-339177315734519808}} 
[2026-06-02 11:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":89765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:56:06] local.INFO: GPS data processed {"connection_id":89765,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:56:06] local.INFO: Acknowledgment sent {"connection_id":89765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:56:24] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:56:24] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:56:24] local.INFO: IMEI packet received {"connection_id":89617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:56:30] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:56:30] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:56:30] local.INFO: IMEI packet received {"connection_id":89617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":89617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:56:31] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:56:31] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:56:31] local.INFO: Packet analysis {"connection_id":89617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:31] local.INFO: Extracted packet for processing {"connection_id":89617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:31] 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-06-02 11:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:56: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-06-02 11:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:56:31] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":89617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:56:31] local.INFO: GPS data processed {"connection_id":89617,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:56:31] local.INFO: Acknowledgment sent {"connection_id":89617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:56:38] local.INFO: TCP Data received {"connection_id":89765,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8701b6a8012cfb4e000743d0b0004f001924..."} 
[2026-06-02 11:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8701b6a8012cfb4e000743d0b0004f001924..."} 
[2026-06-02 11:56:38] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8701b6a8012cfb4e000743d0b0004f001924..."} 
[2026-06-02 11:56:38] local.INFO: Packet analysis {"connection_id":89765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:38] local.INFO: Extracted packet for processing {"connection_id":89765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":754667008,"raw_latitude":121884848,"longitude_deg":75.4667008,"latitude_deg":12.1884848,"altitude":79,"angle":25,"satellites":36,"speed":31,"hex_longitude":"2cfb4e00","hex_latitude":"0743d0b0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777662720001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119136680484536320,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-338966209501646848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780381497000,"timestamp_ms":1780381497000,"timestamp_seconds":1780381497,"priority":1,"record_length":96,"hex_timestamp":"0000019e8701b6a8"} 
[2026-06-02 11:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 11:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777662720001,"66":28104,"139":206,"28":26368,"24":31,"16":119136680484536320,"44":-338966209501646848},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777662720001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:56:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119136680484536320,"km_value":119136680484536.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:56:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-338966209501646848,"description":"Unknown IO ID 44"} 
[2026-06-02 11:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777662720001,"power":28104,"unknown_139":206,"unknown_28":26368,"ignition":31,"odometer":null,"unknown_44":-338966209501646848}} 
[2026-06-02 11:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":89765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:56:38] local.INFO: GPS data processed {"connection_id":89765,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:56:38] local.INFO: Acknowledgment sent {"connection_id":89765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:56:58] local.INFO: TCP Data received {"connection_id":89766,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:56:58] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:56:58] local.INFO: IMEI packet received {"connection_id":89766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":89766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:57:02] local.INFO: TCP Data received {"connection_id":89617,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:57:02] local.INFO: Processing buffer {"connection_id":89617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:57:02] local.INFO: Packet analysis {"connection_id":89617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:02] local.INFO: Extracted packet for processing {"connection_id":89617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:02] 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-06-02 11:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:57: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-06-02 11:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:57: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-06-02 11:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:57:03] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":89617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:57:03] local.INFO: GPS data processed {"connection_id":89617,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:57:03] local.INFO: Acknowledgment sent {"connection_id":89617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:57:03] local.INFO: TCP Data received {"connection_id":89766,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:57:03] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:57:03] local.INFO: IMEI packet received {"connection_id":89766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":89766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:57:04] local.INFO: TCP Data received {"connection_id":89766,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8701d5e8012cfb59400743e8680052000e24..."} 
[2026-06-02 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8701d5e8012cfb59400743e8680052000e24..."} 
[2026-06-02 11:57:04] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8701d5e8012cfb59400743e8680052000e24..."} 
[2026-06-02 11:57:04] local.INFO: Packet analysis {"connection_id":89766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:04] local.INFO: Extracted packet for processing {"connection_id":89766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:04] local.INFO: GPS Element Parsed {"raw_longitude":754669888,"raw_latitude":121890920,"longitude_deg":75.4669888,"latitude_deg":12.189092,"altitude":82,"angle":14,"satellites":36,"speed":34,"hex_longitude":"2cfb5940","hex_latitude":"0743e868","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777663232001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119137006902050816,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-338332890803687424,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780381505000,"timestamp_ms":1780381505000,"timestamp_seconds":1780381505,"priority":1,"record_length":96,"hex_timestamp":"0000019e8701d5e8"} 
[2026-06-02 11:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:57: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-06-02 11:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 11:57:04] 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-06-02 11: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-06-02 11:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777663232001,"66":28452,"139":206,"28":26368,"24":34,"16":119137006902050816,"44":-338332890803687424},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,44]} 
[2026-06-02 11:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777663232001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:57:04] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-02 11:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119137006902050816,"km_value":119137006902050.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:57:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-338332890803687424,"description":"Unknown IO ID 44"} 
[2026-06-02 11:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777663232001,"power":28452,"unknown_139":206,"unknown_28":26368,"ignition":34,"odometer":null,"unknown_44":-338332890803687424}} 
[2026-06-02 11:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":89766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:57:04] local.INFO: GPS data processed {"connection_id":89766,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:57:04] local.INFO: Acknowledgment sent {"connection_id":89766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:57:16] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:16] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:16] local.INFO: IMEI packet received {"connection_id":89618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 11:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":89618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:57:17] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:17] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:17] local.INFO: IMEI packet received {"connection_id":89618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":89618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:57:21] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:21] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 11:57:21] local.INFO: IMEI packet received {"connection_id":89618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 11:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":89618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:57:22] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87029938012d1a27800723b190002d00d62d..."} 
[2026-06-02 11:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87029938012d1a27800723b190002d00d62d..."} 
[2026-06-02 11:57:22] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87029938012d1a27800723b190002d00d62d..."} 
[2026-06-02 11:57:22] local.INFO: Packet analysis {"connection_id":89618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8702"} 
[2026-06-02 11:57:22] local.INFO: Extracted packet for processing {"connection_id":89618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8702"} 
[2026-06-02 11:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756688768,"raw_latitude":119779728,"longitude_deg":75.6688768,"latitude_deg":11.9779728,"altitude":45,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1a2780","hex_latitude":"0723b190","is_valid_coordinates":true} 
[2026-06-02 11:57: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-06-02 11:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777678080001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125142590952570880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884615737229807616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:22] 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-06-02 11:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780381555000,"timestamp_ms":1780381555000,"timestamp_seconds":1780381555,"priority":1,"record_length":96,"hex_timestamp":"0000019e87029938"} 
[2026-06-02 11:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:57: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-06-02 11:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":89618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:57:22] 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-06-02 11:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777678080001,"66":2166,"24":0,"16":125142590952570880,"45":1884615737229807616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-02 11:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777678080001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125142590952570880,"km_value":125142590952570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884615737229807616,"description":"Unknown IO ID 45"} 
[2026-06-02 11:57:22] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":455777678080001,"power":2166,"ignition":0,"odometer":null,"unknown_45":1884615737229807616}} 
[2026-06-02 11:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":89618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:57:22] local.INFO: GPS data processed {"connection_id":89618,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:57:22] local.INFO: Acknowledgment sent {"connection_id":89618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:57:24] local.INFO: TCP Data received {"connection_id":90831,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:57:24] local.INFO: Processing buffer {"connection_id":90831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:57:24] local.INFO: IMEI packet received {"connection_id":90831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":90831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:57:29] local.INFO: TCP Data received {"connection_id":90831,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:57:29] local.INFO: Processing buffer {"connection_id":90831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:57:29] local.INFO: IMEI packet received {"connection_id":90831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":90831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:57:30] local.INFO: TCP Data received {"connection_id":90831,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:57:30] local.INFO: Processing buffer {"connection_id":90831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:57:30] local.INFO: Packet analysis {"connection_id":90831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:30] local.INFO: Extracted packet for processing {"connection_id":90831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:30] 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-06-02 11:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:57:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":90831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:57:30] local.INFO: GPS data processed {"connection_id":90831,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:57:30] local.INFO: Acknowledgment sent {"connection_id":90831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:57:36] local.INFO: TCP Data received {"connection_id":89766,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8701fcf8012cfb60c007440a700052000c23..."} 
[2026-06-02 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8701fcf8012cfb60c007440a700052000c23..."} 
[2026-06-02 11:57:36] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8701fcf8012cfb60c007440a700052000c23..."} 
[2026-06-02 11:57:36] local.INFO: Packet analysis {"connection_id":89766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:36] local.INFO: Extracted packet for processing {"connection_id":89766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":754671808,"raw_latitude":121899632,"longitude_deg":75.4671808,"latitude_deg":12.1899632,"altitude":82,"angle":12,"satellites":35,"speed":25,"hex_longitude":"2cfb60c0","hex_latitude":"07440a70","is_valid_coordinates":true} 
[2026-06-02 11:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777665280001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119137440693747712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-335166297314138112,"note":"Value kept but may cause issues"} 
[2026-06-02 11:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780381515000,"timestamp_ms":1780381515000,"timestamp_seconds":1780381515,"priority":1,"record_length":96,"hex_timestamp":"0000019e8701fcf8"} 
[2026-06-02 11:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777665280001,"66":28495,"140":206,"28":26368,"24":25,"16":119137440693747712,"44":-335166297314138112},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,28,24,16,44]} 
[2026-06-02 11:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777665280001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:57:36] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-02 11:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119137440693747712,"km_value":119137440693747.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-335166297314138112,"description":"Unknown IO ID 44"} 
[2026-06-02 11:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777665280001,"power":28495,"unknown_140":206,"unknown_28":26368,"ignition":25,"odometer":null,"unknown_44":-335166297314138112}} 
[2026-06-02 11:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":89766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:57:36] local.INFO: GPS data processed {"connection_id":89766,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:57:36] local.INFO: Acknowledgment sent {"connection_id":89766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:57:59] local.INFO: TCP Data received {"connection_id":89619,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:57:59] local.INFO: Processing buffer {"connection_id":89619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:57:59] local.INFO: IMEI packet received {"connection_id":89619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":89619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:58:00] local.INFO: TCP Data received {"connection_id":89619,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:00] local.INFO: Processing buffer {"connection_id":89619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:00] local.INFO: IMEI packet received {"connection_id":89619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":89619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:58:01] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8702a8d8012d1a24000723ab70002d00fa2e..."} 
[2026-06-02 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8702a8d8012d1a24000723ab70002d00fa2e..."} 
[2026-06-02 11:58:01] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8702a8d8012d1a24000723ab70002d00fa2e..."} 
[2026-06-02 11:58:01] local.INFO: Packet analysis {"connection_id":89618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8702"} 
[2026-06-02 11:58:01] local.INFO: Extracted packet for processing {"connection_id":89618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8702"} 
[2026-06-02 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119778160,"longitude_deg":75.6687872,"latitude_deg":11.977816,"altitude":45,"angle":250,"satellites":46,"speed":0,"hex_longitude":"2d1a2400","hex_latitude":"0723ab70","is_valid_coordinates":true} 
[2026-06-02 11:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777678080001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125142590952570880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884615737229807616,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:01] 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-06-02 11:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780381559000,"timestamp_ms":1780381559000,"timestamp_seconds":1780381559,"priority":1,"record_length":96,"hex_timestamp":"0000019e8702a8d8"} 
[2026-06-02 11:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 11:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777678080001,"66":13048,"24":0,"16":125142590952570880,"45":1884615737229807616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-02 11:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777678080001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125142590952570880,"km_value":125142590952570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884615737229807616,"description":"Unknown IO ID 45"} 
[2026-06-02 11:58:01] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":455777678080001,"power":13048,"ignition":0,"odometer":null,"unknown_45":1884615737229807616}} 
[2026-06-02 11:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":89618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:58:01] local.INFO: GPS data processed {"connection_id":89618,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:58:01] local.INFO: Acknowledgment sent {"connection_id":89618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:58:03] local.INFO: TCP Data received {"connection_id":90831,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:58:03] local.INFO: Processing buffer {"connection_id":90831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:58:03] local.INFO: Packet analysis {"connection_id":90831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:58:03] local.INFO: Extracted packet for processing {"connection_id":90831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:03] 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-06-02 11:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:58:03] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:58:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":90831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:58:03] local.INFO: GPS data processed {"connection_id":90831,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:58:03] local.INFO: Acknowledgment sent {"connection_id":90831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:58:04] local.INFO: TCP Data received {"connection_id":89619,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:04] local.INFO: Processing buffer {"connection_id":89619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:04] local.INFO: IMEI packet received {"connection_id":89619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":89619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:58:05] local.INFO: TCP Data received {"connection_id":89619,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e87038780012cfaec800744f2e00069014b23..."} 
[2026-06-02 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87038780012cfaec800744f2e00069014b23..."} 
[2026-06-02 11:58:05] local.INFO: Processing buffer {"connection_id":89619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87038780012cfaec800744f2e00069014b23..."} 
[2026-06-02 11:58:05] local.INFO: Packet analysis {"connection_id":89619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:58:05] local.INFO: Extracted packet for processing {"connection_id":89619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:58:05] local.INFO: GPS Element Parsed {"raw_longitude":754642048,"raw_latitude":121959136,"longitude_deg":75.4642048,"latitude_deg":12.1959136,"altitude":105,"angle":331,"satellites":35,"speed":39,"hex_longitude":"2cfaec80","hex_latitude":"0744f2e0","is_valid_coordinates":true} 
[2026-06-02 11:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777691392001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119140850897780736,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-360850888923705344,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780381616000,"timestamp_ms":1780381616000,"timestamp_seconds":1780381616,"priority":1,"record_length":96,"hex_timestamp":"0000019e87038780"} 
[2026-06-02 11:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:58: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-06-02 11:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 11:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777691392001,"66":28430,"49":206,"28":26368,"24":39,"16":119140850897780736,"44":-360850888923705344},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,28,24,16,44]} 
[2026-06-02 11:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777691392001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:58:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 11:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119140850897780736,"km_value":119140850897780.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-360850888923705344,"description":"Unknown IO ID 44"} 
[2026-06-02 11:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777691392001,"power":28430,"unknown_49":206,"unknown_28":26368,"ignition":39,"odometer":null,"unknown_44":-360850888923705344}} 
[2026-06-02 11:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":89619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:58:05] local.INFO: GPS data processed {"connection_id":89619,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:58:05] local.INFO: Acknowledgment sent {"connection_id":89619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:58:24] local.INFO: TCP Data received {"connection_id":89368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:58:24] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:58:24] local.INFO: IMEI packet received {"connection_id":89368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:58:29] local.INFO: TCP Data received {"connection_id":89368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:58:29] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:58:29] local.INFO: IMEI packet received {"connection_id":89368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":89368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:58:30] local.INFO: TCP Data received {"connection_id":89368,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:58:30] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:58:30] local.INFO: Packet analysis {"connection_id":89368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:58:30] local.INFO: Extracted packet for processing {"connection_id":89368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:58:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:30] 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-06-02 11:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:58:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":89368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:58:30] local.INFO: GPS data processed {"connection_id":89368,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:58:30] local.INFO: Acknowledgment sent {"connection_id":89368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:58:32] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87034518012d1a24000723ab70002d00fa2d..."} 
[2026-06-02 11:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87034518012d1a24000723ab70002d00fa2d..."} 
[2026-06-02 11:58:32] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87034518012d1a24000723ab70002d00fa2d..."} 
[2026-06-02 11:58:32] local.INFO: Packet analysis {"connection_id":89618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:58:32] local.INFO: Extracted packet for processing {"connection_id":89618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756687872,"raw_latitude":119778160,"longitude_deg":75.6687872,"latitude_deg":11.977816,"altitude":45,"angle":250,"satellites":45,"speed":0,"hex_longitude":"2d1a2400","hex_latitude":"0723ab70","is_valid_coordinates":true} 
[2026-06-02 11:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777679104001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125142590952570880,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883630574810918912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:32] 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-06-02 11:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780381599000,"timestamp_ms":1780381599000,"timestamp_seconds":1780381599,"priority":1,"record_length":96,"hex_timestamp":"0000019e87034518"} 
[2026-06-02 11:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:58:32] 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-06-02 11:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 11:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777679104001,"66":14265,"42":206,"83":42752,"24":0,"16":125142590952570880,"45":1883630574810918912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 11:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777679104001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:58:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 11:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125142590952570880,"km_value":125142590952570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883630574810918912,"description":"Unknown IO ID 45"} 
[2026-06-02 11:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777679104001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1883630574810918912}} 
[2026-06-02 11:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":89618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:58:32] local.INFO: GPS data processed {"connection_id":89618,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:58:32] local.INFO: Acknowledgment sent {"connection_id":89618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:58:39] local.INFO: TCP Data received {"connection_id":89619,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8703b278012cfadf4007450e380076015727..."} 
[2026-06-02 11:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8703b278012cfadf4007450e380076015727..."} 
[2026-06-02 11:58:39] local.INFO: Processing buffer {"connection_id":89619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8703b278012cfadf4007450e380076015727..."} 
[2026-06-02 11:58:39] local.INFO: Packet analysis {"connection_id":89619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:58:39] local.INFO: Extracted packet for processing {"connection_id":89619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:58:39] local.INFO: GPS Element Parsed {"raw_longitude":754638656,"raw_latitude":121966136,"longitude_deg":75.4638656,"latitude_deg":12.1966136,"altitude":118,"angle":343,"satellites":39,"speed":17,"hex_longitude":"2cfadf40","hex_latitude":"07450e38","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777693696001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119141224559935488,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-365776701013958656,"note":"Value kept but may cause issues"} 
[2026-06-02 11:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780381627000,"timestamp_ms":1780381627000,"timestamp_seconds":1780381627,"priority":1,"record_length":96,"hex_timestamp":"0000019e8703b278"} 
[2026-06-02 11:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 11:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777693696001,"66":28452,"49":206,"28":26368,"24":17,"16":119141224559935488,"44":-365776701013958656},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,28,24,16,44]} 
[2026-06-02 11:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777693696001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:58:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 11:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119141224559935488,"km_value":119141224559935.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:58:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-365776701013958656,"description":"Unknown IO ID 44"} 
[2026-06-02 11:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777693696001,"power":28452,"unknown_49":206,"unknown_28":26368,"ignition":17,"odometer":null,"unknown_44":-365776701013958656}} 
[2026-06-02 11:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":89619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:58:40] local.INFO: GPS data processed {"connection_id":89619,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:58:40] local.INFO: Acknowledgment sent {"connection_id":89619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:58:58] local.INFO: TCP Data received {"connection_id":89767,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:58] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:58:58] local.INFO: IMEI packet received {"connection_id":89767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 11:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":89767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:59:01] local.INFO: TCP Data received {"connection_id":89368,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:01] local.INFO: Processing buffer {"connection_id":89368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:01] local.INFO: Packet analysis {"connection_id":89368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:59:01] local.INFO: Extracted packet for processing {"connection_id":89368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:59:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59: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-06-02 11:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:59: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-06-02 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:59: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-06-02 11:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:59:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":89368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:59:01] local.INFO: GPS data processed {"connection_id":89368,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:59:01] local.INFO: Acknowledgment sent {"connection_id":89368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:59:03] local.INFO: TCP Data received {"connection_id":89767,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:59:04] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 11:59:04] local.INFO: IMEI packet received {"connection_id":89767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 11:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":89767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:59:04] local.INFO: TCP Data received {"connection_id":89767,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8703c600012cfaddc0074516180079016327..."} 
[2026-06-02 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8703c600012cfaddc0074516180079016327..."} 
[2026-06-02 11:59:04] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8703c600012cfaddc0074516180079016327..."} 
[2026-06-02 11:59:04] local.INFO: Packet analysis {"connection_id":89767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:59:04] local.INFO: Extracted packet for processing {"connection_id":89767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:59:04] local.INFO: GPS Element Parsed {"raw_longitude":754638272,"raw_latitude":121968152,"longitude_deg":75.4638272,"latitude_deg":12.1968152,"altitude":121,"angle":355,"satellites":39,"speed":16,"hex_longitude":"2cfaddc0","hex_latitude":"07451618","is_valid_coordinates":true} 
[2026-06-02 11:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777696512001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119141327639150592,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-369506244453582848,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780381632000,"timestamp_ms":1780381632000,"timestamp_seconds":1780381632,"priority":1,"record_length":96,"hex_timestamp":"0000019e8703c600"} 
[2026-06-02 11:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:59: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-06-02 11:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 11:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777696512001,"66":28354,"49":206,"28":26368,"24":16,"16":119141327639150592,"44":-369506244453582848},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,28,24,16,44]} 
[2026-06-02 11:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777696512001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:59:04] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 11:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119141327639150592,"km_value":119141327639150.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-369506244453582848,"description":"Unknown IO ID 44"} 
[2026-06-02 11:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777696512001,"power":28354,"unknown_49":206,"unknown_28":26368,"ignition":16,"odometer":null,"unknown_44":-369506244453582848}} 
[2026-06-02 11:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":89767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255226,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:59:04] local.INFO: GPS data processed {"connection_id":89767,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:59:04] local.INFO: Acknowledgment sent {"connection_id":89767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:59:05] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870475c8012d19640007237dc8004100d528..."} 
[2026-06-02 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870475c8012d19640007237dc8004100d528..."} 
[2026-06-02 11:59:05] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870475c8012d19640007237dc8004100d528..."} 
[2026-06-02 11:59:05] local.INFO: Packet analysis {"connection_id":89618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8704"} 
[2026-06-02 11:59:05] local.INFO: Extracted packet for processing {"connection_id":89618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8704"} 
[2026-06-02 11:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119766472,"longitude_deg":75.663872,"latitude_deg":11.9766472,"altitude":65,"angle":213,"satellites":40,"speed":36,"hex_longitude":"2d196400","hex_latitude":"07237dc8","is_valid_coordinates":true} 
[2026-06-02 11:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777708032001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125145090623537152,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235280007168,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780381677000,"timestamp_ms":1780381677000,"timestamp_seconds":1780381677,"priority":1,"record_length":96,"hex_timestamp":"0000019e870475c8"} 
[2026-06-02 11:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 11:59: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-06-02 11:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:59:05] 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-06-02 11:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777708032001,"66":13798,"231":206,"83":42752,"24":36,"16":125145090623537152,"45":1832613235280007168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-06-02 11:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777708032001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:59:05] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 11:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125145090623537152,"km_value":125145090623537.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235280007168,"description":"Unknown IO ID 45"} 
[2026-06-02 11:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777708032001,"power":13798,"unknown_231":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1832613235280007168}} 
[2026-06-02 11:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":89618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:59:05] local.INFO: GPS data processed {"connection_id":89618,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:59:05] local.INFO: Acknowledgment sent {"connection_id":89618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:59:29] local.INFO: TCP Data received {"connection_id":89369,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:59:29] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:59:29] local.INFO: IMEI packet received {"connection_id":89369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 11:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":89369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 11:59:34] local.INFO: TCP Data received {"connection_id":89369,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:59:34] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 11:59:34] local.INFO: IMEI packet received {"connection_id":89369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 11:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":89369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 11:59:35] local.INFO: TCP Data received {"connection_id":89369,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:35] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:35] local.INFO: Packet analysis {"connection_id":89369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:59:35] local.INFO: Extracted packet for processing {"connection_id":89369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:59:35] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:35] 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-06-02 11:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:59:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":89369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:59:35] local.INFO: GPS data processed {"connection_id":89369,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:59:35] local.INFO: Acknowledgment sent {"connection_id":89369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:59:40] local.INFO: TCP Data received {"connection_id":89369,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:40] local.INFO: Processing buffer {"connection_id":89369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87017440012ceb7a800713b9d0000d009f2d..."} 
[2026-06-02 11:59:40] local.INFO: Packet analysis {"connection_id":89369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:59:40] local.INFO: Extracted packet for processing {"connection_id":89369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8701"} 
[2026-06-02 11:59:40] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777581824001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:40] 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-06-02 11:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780381480000,"timestamp_ms":1780381480000,"timestamp_seconds":1780381480,"priority":1,"record_length":96,"hex_timestamp":"0000019e87017440"} 
[2026-06-02 11:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 11:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11: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-06-02 11:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 11:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 11:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 11:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777581824001,"66":25875,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 11:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 11:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 11:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777581824001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:59:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 11:59:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 11:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 11:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777581824001,"power":25875,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 11:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":89369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:59:40] local.INFO: GPS data processed {"connection_id":89369,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:59:40] local.INFO: Acknowledgment sent {"connection_id":89369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:59:41] local.INFO: TCP Data received {"connection_id":89767,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8703d1b8012cfade0007451af0007a000726..."} 
[2026-06-02 11:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8703d1b8012cfade0007451af0007a000726..."} 
[2026-06-02 11:59:41] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8703d1b8012cfade0007451af0007a000726..."} 
[2026-06-02 11:59:41] local.INFO: Packet analysis {"connection_id":89767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:59:41] local.INFO: Extracted packet for processing {"connection_id":89767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":754638336,"raw_latitude":121969392,"longitude_deg":75.4638336,"latitude_deg":12.1969392,"altitude":122,"angle":7,"satellites":38,"speed":16,"hex_longitude":"2cfade00","hex_latitude":"07451af0","is_valid_coordinates":true} 
[2026-06-02 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 11:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777697792001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119141387768692736,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-369928456918132736,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780381635000,"timestamp_ms":1780381635000,"timestamp_seconds":1780381635,"priority":1,"record_length":96,"hex_timestamp":"0000019e8703d1b8"} 
[2026-06-02 11:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 11:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 11:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 11:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 11:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 11:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 11:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 11:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777697792001,"66":28148,"49":206,"28":26368,"24":16,"16":119141387768692736,"44":-369928456918132736},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,28,24,16,44]} 
[2026-06-02 11:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 11:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 11:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777697792001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:59:41] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 11:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 11:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119141387768692736,"km_value":119141387768692.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-369928456918132736,"description":"Unknown IO ID 44"} 
[2026-06-02 11:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777697792001,"power":28148,"unknown_49":206,"unknown_28":26368,"ignition":16,"odometer":null,"unknown_44":-369928456918132736}} 
[2026-06-02 11:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":89767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:59:41] local.INFO: GPS data processed {"connection_id":89767,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:59:41] local.INFO: Acknowledgment sent {"connection_id":89767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 11:59:47] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8704a0c0012d19510007235d60004700d420..."} 
[2026-06-02 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8704a0c0012d19510007235d60004700d420..."} 
[2026-06-02 11:59:47] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8704a0c0012d19510007235d60004700d420..."} 
[2026-06-02 11:59:47] local.INFO: Packet analysis {"connection_id":89618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8704"} 
[2026-06-02 11:59:47] local.INFO: Extracted packet for processing {"connection_id":89618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8704"} 
[2026-06-02 11:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119758176,"longitude_deg":75.6633856,"latitude_deg":11.9758176,"altitude":71,"angle":212,"satellites":32,"speed":31,"hex_longitude":"2d195100","hex_latitude":"07235d60","is_valid_coordinates":true} 
[2026-06-02 11: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-06-02 11:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777709312001,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125145554480005120,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379279480832,"note":"Value kept but may cause issues"} 
[2026-06-02 11:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 11:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780381688000,"timestamp_ms":1780381688000,"timestamp_seconds":1780381688,"priority":1,"record_length":96,"hex_timestamp":"0000019e8704a0c0"} 
[2026-06-02 11:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 11:59:47] 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-06-02 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 11:59: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-06-02 11: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-06-02 11:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 11:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 11:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 11:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 11:59:47] 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-06-02 11:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 11:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 11:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777709312001,"66":13798,"231":206,"83":42752,"24":31,"16":125145554480005120,"45":1829587379279480832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-06-02 11:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 11:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 11:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777709312001,"description":"Unknown IO ID 0"} 
[2026-06-02 11:59:47] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 11:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 11:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125145554480005120,"km_value":125145554480005.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 11:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379279480832,"description":"Unknown IO ID 45"} 
[2026-06-02 11:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777709312001,"power":13798,"unknown_231":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1829587379279480832}} 
[2026-06-02 11:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":89618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 11:59:47] local.INFO: GPS data processed {"connection_id":89618,"processed":1,"errors":0,"total":1} 
[2026-06-02 11:59:47] local.INFO: Acknowledgment sent {"connection_id":89618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:00:01] local.INFO: TCP Data received {"connection_id":89768,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:00:01] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:00:01] local.INFO: IMEI packet received {"connection_id":89768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":89768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:00:03] local.INFO: TCP Data received {"connection_id":89768,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:00:03] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:00:03] local.INFO: IMEI packet received {"connection_id":89768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":89768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:00:05] local.INFO: TCP Data received {"connection_id":89768,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8703e928012cfadec007452648007c016326..."} 
[2026-06-02 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8703e928012cfadec007452648007c016326..."} 
[2026-06-02 12:00:05] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8703e928012cfadec007452648007c016326..."} 
[2026-06-02 12:00:05] local.INFO: Packet analysis {"connection_id":89768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 12:00:05] local.INFO: Extracted packet for processing {"connection_id":89768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8703"} 
[2026-06-02 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":754638528,"raw_latitude":121972296,"longitude_deg":75.4638528,"latitude_deg":12.1972296,"altitude":124,"angle":355,"satellites":38,"speed":23,"hex_longitude":"2cfadec0","hex_latitude":"07452648","is_valid_coordinates":true} 
[2026-06-02 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777698560001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119141529502613504,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-369858088173637632,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780381641000,"timestamp_ms":1780381641000,"timestamp_seconds":1780381641,"priority":1,"record_length":96,"hex_timestamp":"0000019e8703e928"} 
[2026-06-02 12:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:00: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-06-02 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-02 12:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777698560001,"66":28050,"49":206,"28":26368,"24":23,"16":119141529502613504,"44":-369858088173637632},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,28,24,16,44]} 
[2026-06-02 12:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777698560001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:00:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 12:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119141529502613504,"km_value":119141529502613.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-369858088173637632,"description":"Unknown IO ID 44"} 
[2026-06-02 12:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777698560001,"power":28050,"unknown_49":206,"unknown_28":26368,"ignition":23,"odometer":null,"unknown_44":-369858088173637632}} 
[2026-06-02 12:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":89768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:00:05] local.INFO: GPS data processed {"connection_id":89768,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:00:05] local.INFO: Acknowledgment sent {"connection_id":89768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:00:11] local.INFO: TCP Data received {"connection_id":89370,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:00:11] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:00:11] local.INFO: IMEI packet received {"connection_id":89370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":89370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:00:16] local.INFO: TCP Data received {"connection_id":89370,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:00:16] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:00:16] local.INFO: IMEI packet received {"connection_id":89370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":89370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:00:16] local.INFO: TCP Data received {"connection_id":89370,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8704cbb8012d193ac007234178004c00db28..."} 
[2026-06-02 12:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8704cbb8012d193ac007234178004c00db28..."} 
[2026-06-02 12:00:16] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8704cbb8012d193ac007234178004c00db28..."} 
[2026-06-02 12:00:16] local.INFO: Packet analysis {"connection_id":89370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8704"} 
[2026-06-02 12:00:16] local.INFO: Extracted packet for processing {"connection_id":89370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8704"} 
[2026-06-02 12:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756628160,"raw_latitude":119751032,"longitude_deg":75.662816,"latitude_deg":11.9751032,"altitude":76,"angle":219,"satellites":40,"speed":33,"hex_longitude":"2d193ac0","hex_latitude":"07234178","is_valid_coordinates":true} 
[2026-06-02 12:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777712128001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125145992566669312,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354719854592,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780381699000,"timestamp_ms":1780381699000,"timestamp_seconds":1780381699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8704cbb8"} 
[2026-06-02 12:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:00:16] 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-06-02 12:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 12:00:16] 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-06-02 12:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:00: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-06-02 12:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777712128001,"66":12928,"231":206,"83":42752,"24":33,"16":125145992566669312,"45":1824239354719854592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-06-02 12:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777712128001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:00:16] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 12:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 12:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125145992566669312,"km_value":125145992566669.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354719854592,"description":"Unknown IO ID 45"} 
[2026-06-02 12:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777712128001,"power":12928,"unknown_231":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1824239354719854592}} 
[2026-06-02 12:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":89370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:00:17] local.INFO: GPS data processed {"connection_id":89370,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:00:17] local.INFO: Acknowledgment sent {"connection_id":89370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:00:24] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:00:24] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:00:24] local.INFO: IMEI packet received {"connection_id":89371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":89371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:00:29] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:00:29] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:00:29] local.INFO: IMEI packet received {"connection_id":89371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":89371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:00:30] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:00:30] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:00:30] local.INFO: Packet analysis {"connection_id":89371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:00:30] local.INFO: Extracted packet for processing {"connection_id":89371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:00:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777658880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:30] 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-06-02 12:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381781000,"timestamp_ms":1780381781000,"timestamp_seconds":1780381781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87060c08"} 
[2026-06-02 12:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777658880001,"66":25854,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777658880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:00:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777658880001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":89371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:00:31] local.INFO: GPS data processed {"connection_id":89371,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:00:31] local.INFO: Acknowledgment sent {"connection_id":89371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:00:38] local.INFO: TCP Data received {"connection_id":89768,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e87058f08012cf9648007455a400074011025..."} 
[2026-06-02 12:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87058f08012cf9648007455a400074011025..."} 
[2026-06-02 12:00:38] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87058f08012cf9648007455a400074011025..."} 
[2026-06-02 12:00:38] local.INFO: Packet analysis {"connection_id":89768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:00:38] local.INFO: Extracted packet for processing {"connection_id":89768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:00:38] local.INFO: GPS Element Parsed {"raw_longitude":754541696,"raw_latitude":121985600,"longitude_deg":75.4541696,"latitude_deg":12.19856,"altitude":116,"angle":272,"satellites":37,"speed":49,"hex_longitude":"2cf96480","hex_latitude":"07455a40","is_valid_coordinates":true} 
[2026-06-02 12:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119143599676850176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,48,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 12:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780381749000,"timestamp_ms":1780381749000,"timestamp_seconds":1780381749,"priority":1,"record_length":96,"hex_timestamp":"0000019e87058f08"} 
[2026-06-02 12:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 12:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"48":206,"28":26368,"24":49,"16":119143599676850176},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,28,24,16]} 
[2026-06-02 12:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 12:00:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-02 12:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119143599676850176,"km_value":119143599676850.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:00:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_48":206,"unknown_28":26368,"ignition":49,"odometer":null}} 
[2026-06-02 12:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":89768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:00:39] local.INFO: GPS data processed {"connection_id":89768,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:00:39] local.INFO: Acknowledgment sent {"connection_id":89768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:00:48] local.INFO: TCP Data received {"connection_id":89370,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87051dc0012d1928c007232c50005000dc27..."} 
[2026-06-02 12:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87051dc0012d1928c007232c50005000dc27..."} 
[2026-06-02 12:00:48] local.INFO: Processing buffer {"connection_id":89370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87051dc0012d1928c007232c50005000dc27..."} 
[2026-06-02 12:00:48] local.INFO: Packet analysis {"connection_id":89370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:00:48] local.INFO: Extracted packet for processing {"connection_id":89370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119745616,"longitude_deg":75.6623552,"latitude_deg":11.9745616,"altitude":80,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d1928c0","hex_latitude":"07232c50","is_valid_coordinates":true} 
[2026-06-02 12:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777714944001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125146344753987584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817976536486213632,"note":"Value kept but may cause issues"} 
[2026-06-02 12:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780381720000,"timestamp_ms":1780381720000,"timestamp_seconds":1780381720,"priority":1,"record_length":96,"hex_timestamp":"0000019e87051dc0"} 
[2026-06-02 12:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:00:48] 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-06-02 12:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 12:00:48] 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-06-02 12:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:00:48] 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-06-02 12:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777714944001,"66":12689,"186":206,"83":42752,"24":0,"16":125146344753987584,"45":1817976536486213632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 12:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777714944001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:00:48] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 12:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 12:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125146344753987584,"km_value":125146344753987.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817976536486213632,"description":"Unknown IO ID 45"} 
[2026-06-02 12:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777714944001,"power":12689,"unknown_186":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1817976536486213632}} 
[2026-06-02 12:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":89370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:00:48] local.INFO: GPS data processed {"connection_id":89370,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:00:48] local.INFO: Acknowledgment sent {"connection_id":89370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:01:02] local.INFO: TCP Data received {"connection_id":89371,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:01:02] local.INFO: Processing buffer {"connection_id":89371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:01:02] local.INFO: Packet analysis {"connection_id":89371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:01:02] local.INFO: Extracted packet for processing {"connection_id":89371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:01:02] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777658880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:02] 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-06-02 12:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780381781000,"timestamp_ms":1780381781000,"timestamp_seconds":1780381781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87060c08"} 
[2026-06-02 12:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:01: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-06-02 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:01: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-06-02 12:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777658880001,"66":25854,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777658880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:01:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777658880001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":89371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:01:02] local.INFO: GPS data processed {"connection_id":89371,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:01:02] local.INFO: Acknowledgment sent {"connection_id":89371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:01:03] local.INFO: TCP Data received {"connection_id":89620,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:03] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:03] local.INFO: IMEI packet received {"connection_id":89620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":89620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:01:11] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:01:11] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:01:11] local.INFO: IMEI packet received {"connection_id":89621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":89621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:01:16] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:01:16] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:01:16] local.INFO: IMEI packet received {"connection_id":89621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":89621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:01:16] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87056fc8012d1928c007232c50005000dc26..."} 
[2026-06-02 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87056fc8012d1928c007232c50005000dc26..."} 
[2026-06-02 12:01:16] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87056fc8012d1928c007232c50005000dc26..."} 
[2026-06-02 12:01:16] local.INFO: Packet analysis {"connection_id":89621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:01:16] local.INFO: Extracted packet for processing {"connection_id":89621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119745616,"longitude_deg":75.6623552,"latitude_deg":11.9745616,"altitude":80,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d1928c0","hex_latitude":"07232c50","is_valid_coordinates":true} 
[2026-06-02 12:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777720320001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125146344753987584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812909986904035328,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780381741000,"timestamp_ms":1780381741000,"timestamp_seconds":1780381741,"priority":1,"record_length":96,"hex_timestamp":"0000019e87056fc8"} 
[2026-06-02 12:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:01:16] 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-06-02 12:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 12:01:16] 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-06-02 12:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:01: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-06-02 12:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777720320001,"66":12743,"186":206,"83":42752,"24":0,"16":125146344753987584,"45":1812909986904035328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 12:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777720320001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:01:16] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 12:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 12:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125146344753987584,"km_value":125146344753987.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812909986904035328,"description":"Unknown IO ID 45"} 
[2026-06-02 12:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777720320001,"power":12743,"unknown_186":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1812909986904035328}} 
[2026-06-02 12:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":89621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:01:17] local.INFO: GPS data processed {"connection_id":89621,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:01:17] local.INFO: Acknowledgment sent {"connection_id":89621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:01:17] local.INFO: TCP Data received {"connection_id":89620,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:17] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:17] local.INFO: IMEI packet received {"connection_id":89620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":89620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:01:19] local.INFO: TCP Data received {"connection_id":89620,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8705e110012cf90f8007456a980071011424..."} 
[2026-06-02 12:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8705e110012cf90f8007456a980071011424..."} 
[2026-06-02 12:01:19] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8705e110012cf90f8007456a980071011424..."} 
[2026-06-02 12:01:19] local.INFO: Packet analysis {"connection_id":89620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:01:19] local.INFO: Extracted packet for processing {"connection_id":89620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:01:19] local.INFO: GPS Element Parsed {"raw_longitude":754519936,"raw_latitude":121989784,"longitude_deg":75.4519936,"latitude_deg":12.1989784,"altitude":113,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2cf90f80","hex_latitude":"07456a98","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777727744001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119143599676850176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-476114891877761024,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780381770000,"timestamp_ms":1780381770000,"timestamp_seconds":1780381770,"priority":1,"record_length":96,"hex_timestamp":"0000019e8705e110"} 
[2026-06-02 12:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 12:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777727744001,"66":28278,"79":206,"28":26368,"24":0,"16":119143599676850176,"44":-476114891877761024},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16,44]} 
[2026-06-02 12:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777727744001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:01:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-02 12:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119143599676850176,"km_value":119143599676850.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-476114891877761024,"description":"Unknown IO ID 44"} 
[2026-06-02 12:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777727744001,"power":28278,"unknown_79":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-476114891877761024}} 
[2026-06-02 12:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":89620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:01:19] local.INFO: GPS data processed {"connection_id":89620,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:01:19] local.INFO: Acknowledgment sent {"connection_id":89620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:01:21] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8705c1d0012d1928c007232c50005000dc26..."} 
[2026-06-02 12:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8705c1d0012d1928c007232c50005000dc26..."} 
[2026-06-02 12:01:21] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8705c1d0012d1928c007232c50005000dc26..."} 
[2026-06-02 12:01:21] local.INFO: Packet analysis {"connection_id":89621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:01:21] local.INFO: Extracted packet for processing {"connection_id":89621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8705"} 
[2026-06-02 12:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119745616,"longitude_deg":75.6623552,"latitude_deg":11.9745616,"altitude":80,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d1928c0","hex_latitude":"07232c50","is_valid_coordinates":true} 
[2026-06-02 12:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777725696001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125146344753987584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812909986904035328,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780381762000,"timestamp_ms":1780381762000,"timestamp_seconds":1780381762,"priority":1,"record_length":96,"hex_timestamp":"0000019e8705c1d0"} 
[2026-06-02 12:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:01:21] 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-06-02 12:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 12:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:01:21] 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-06-02 12:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777725696001,"66":12689,"186":206,"83":42752,"24":0,"16":125146344753987584,"45":1812909986904035328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 12:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777725696001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:01:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 12:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 12:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125146344753987584,"km_value":125146344753987.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812909986904035328,"description":"Unknown IO ID 45"} 
[2026-06-02 12:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777725696001,"power":12689,"unknown_186":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1812909986904035328}} 
[2026-06-02 12:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":89621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:01:21] local.INFO: GPS data processed {"connection_id":89621,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:01:21] local.INFO: Acknowledgment sent {"connection_id":89621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:01:21] local.INFO: TCP Data received {"connection_id":89620,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8706c7880100000000000000000000000000..."} 
[2026-06-02 12:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8706c7880100000000000000000000000000..."} 
[2026-06-02 12:01:21] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8706c7880100000000000000000000000000..."} 
[2026-06-02 12:01:21] local.INFO: Packet analysis {"connection_id":89620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:01:21] local.INFO: Extracted packet for processing {"connection_id":89620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:01: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-06-02 12:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777733120001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119143599676850176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-500040264897095680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780381829000,"timestamp_ms":1780381829000,"timestamp_seconds":1780381829,"priority":1,"record_length":96,"hex_timestamp":"0000019e8706c788"} 
[2026-06-02 12:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 12:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":89620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 12:01:21] local.INFO: GPS data processed {"connection_id":89620,"processed":0,"errors":0,"total":1} 
[2026-06-02 12:01:21] local.INFO: Acknowledgment sent {"connection_id":89620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:01:24] local.INFO: TCP Data received {"connection_id":90832,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:01:24] local.INFO: Processing buffer {"connection_id":90832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:01:24] local.INFO: IMEI packet received {"connection_id":90832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":90832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:01:29] local.INFO: TCP Data received {"connection_id":90832,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:01:29] local.INFO: Processing buffer {"connection_id":90832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:01:29] local.INFO: IMEI packet received {"connection_id":90832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":90832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:01:30] local.INFO: TCP Data received {"connection_id":90832,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:01:30] local.INFO: Processing buffer {"connection_id":90832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:01:30] local.INFO: Packet analysis {"connection_id":90832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:01:30] local.INFO: Extracted packet for processing {"connection_id":90832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:01:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 12:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777658880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:01:30] 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-06-02 12:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381781000,"timestamp_ms":1780381781000,"timestamp_seconds":1780381781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87060c08"} 
[2026-06-02 12:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777658880001,"66":25854,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777658880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:01:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777658880001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":90832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:01:30] local.INFO: GPS data processed {"connection_id":90832,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:01:30] local.INFO: Acknowledgment sent {"connection_id":90832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:01:56] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:56] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:56] local.INFO: IMEI packet received {"connection_id":89372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":89372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:01:58] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:58] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:01:58] local.INFO: IMEI packet received {"connection_id":89372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":89372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:02:01] local.INFO: TCP Data received {"connection_id":90832,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:02:01] local.INFO: Processing buffer {"connection_id":90832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:02:01] local.INFO: Packet analysis {"connection_id":90832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:01] local.INFO: Extracted packet for processing {"connection_id":90832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 12:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777658880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02: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-06-02 12:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780381781000,"timestamp_ms":1780381781000,"timestamp_seconds":1780381781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87060c08"} 
[2026-06-02 12:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:02: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-06-02 12:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:02: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-06-02 12:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777658880001,"66":25854,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777658880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:02:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777658880001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":90832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:02:01] local.INFO: GPS data processed {"connection_id":90832,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:02:01] local.INFO: Acknowledgment sent {"connection_id":90832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:02:06] local.INFO: TCP Data received {"connection_id":89373,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:06] local.INFO: Processing buffer {"connection_id":89373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:06] local.INFO: IMEI packet received {"connection_id":89373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":89373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:02:06] local.INFO: TCP Data received {"connection_id":89373,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:06] local.INFO: Processing buffer {"connection_id":89373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:06] local.INFO: IMEI packet received {"connection_id":89373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":89373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:02:09] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:02:09] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:02:09] local.INFO: IMEI packet received {"connection_id":89372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":89372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:02:10] local.INFO: TCP Data received {"connection_id":89373,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:10] local.INFO: Processing buffer {"connection_id":89373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:02:10] local.INFO: IMEI packet received {"connection_id":89373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":89373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:02:11] local.INFO: TCP Data received {"connection_id":89373,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870613d8012d1928c007232c50005000dc25..."} 
[2026-06-02 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870613d8012d1928c007232c50005000dc25..."} 
[2026-06-02 12:02:11] local.INFO: Processing buffer {"connection_id":89373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870613d8012d1928c007232c50005000dc25..."} 
[2026-06-02 12:02:11] local.INFO: Packet analysis {"connection_id":89373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:11] local.INFO: Extracted packet for processing {"connection_id":89373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119745616,"longitude_deg":75.6623552,"latitude_deg":11.9745616,"altitude":80,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d1928c0","hex_latitude":"07232c50","is_valid_coordinates":true} 
[2026-06-02 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777731072001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125146344753987584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812909986904035328,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780381783000,"timestamp_ms":1780381783000,"timestamp_seconds":1780381783,"priority":1,"record_length":96,"hex_timestamp":"0000019e870613d8"} 
[2026-06-02 12:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:02:11] 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-06-02 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 12:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777731072001,"66":12667,"186":206,"83":42752,"24":0,"16":125146344753987584,"45":1812909986904035328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 12:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777731072001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:02:11] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 12:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 12:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125146344753987584,"km_value":125146344753987.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812909986904035328,"description":"Unknown IO ID 45"} 
[2026-06-02 12:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777731072001,"power":12667,"unknown_186":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1812909986904035328}} 
[2026-06-02 12:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":89373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:02:11] local.INFO: GPS data processed {"connection_id":89373,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:02:11] local.INFO: Acknowledgment sent {"connection_id":89373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:02:12] local.INFO: TCP Data received {"connection_id":89372,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e87065a28012cf87f0007455380007100f824..."} 
[2026-06-02 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87065a28012cf87f0007455380007100f824..."} 
[2026-06-02 12:02:12] local.INFO: Processing buffer {"connection_id":89372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87065a28012cf87f0007455380007100f824..."} 
[2026-06-02 12:02:12] local.INFO: Packet analysis {"connection_id":89372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:12] local.INFO: Extracted packet for processing {"connection_id":89372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:12] local.INFO: GPS Element Parsed {"raw_longitude":754482944,"raw_latitude":121983872,"longitude_deg":75.4482944,"latitude_deg":12.1983872,"altitude":113,"angle":248,"satellites":36,"speed":35,"hex_longitude":"2cf87f00","hex_latitude":"07455380","is_valid_coordinates":true} 
[2026-06-02 12:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119143599676850176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 12:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780381801000,"timestamp_ms":1780381801000,"timestamp_seconds":1780381801,"priority":1,"record_length":96,"hex_timestamp":"0000019e87065a28"} 
[2026-06-02 12:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 12:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"79":206,"28":26368,"24":35,"16":119143599676850176},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16]} 
[2026-06-02 12:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 12:02:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-02 12:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119143599676850176,"km_value":119143599676850.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:02:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_79":206,"unknown_28":26368,"ignition":35,"odometer":null}} 
[2026-06-02 12:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":89372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:02:12] local.INFO: GPS data processed {"connection_id":89372,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:02:12] local.INFO: Acknowledgment sent {"connection_id":89372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:02:24] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:02:24] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:02:24] local.INFO: IMEI packet received {"connection_id":89769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":89769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:02:29] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:02:29] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:02:29] local.INFO: IMEI packet received {"connection_id":89769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":89769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:02:30] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:02:30] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:02:30] local.INFO: Packet analysis {"connection_id":89769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:30] local.INFO: Extracted packet for processing {"connection_id":89769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 12:02: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-06-02 12:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777658880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:30] 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-06-02 12:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381781000,"timestamp_ms":1780381781000,"timestamp_seconds":1780381781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87060c08"} 
[2026-06-02 12:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:02: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:02: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-06-02 12:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777658880001,"66":25854,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777658880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:02:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777658880001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":89769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:02:30] local.INFO: GPS data processed {"connection_id":89769,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:02:30] local.INFO: Acknowledgment sent {"connection_id":89769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:02:42] local.INFO: TCP Data received {"connection_id":89373,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870665e0012d1928c007232c50005000dc23..."} 
[2026-06-02 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870665e0012d1928c007232c50005000dc23..."} 
[2026-06-02 12:02:42] local.INFO: Processing buffer {"connection_id":89373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870665e0012d1928c007232c50005000dc23..."} 
[2026-06-02 12:02:42] local.INFO: Packet analysis {"connection_id":89373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:42] local.INFO: Extracted packet for processing {"connection_id":89373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119745616,"longitude_deg":75.6623552,"latitude_deg":11.9745616,"altitude":80,"angle":220,"satellites":35,"speed":0,"hex_longitude":"2d1928c0","hex_latitude":"07232c50","is_valid_coordinates":true} 
[2026-06-02 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777736448001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125146344753987584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812909986904035328,"note":"Value kept but may cause issues"} 
[2026-06-02 12:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780381804000,"timestamp_ms":1780381804000,"timestamp_seconds":1780381804,"priority":1,"record_length":96,"hex_timestamp":"0000019e870665e0"} 
[2026-06-02 12:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:02:42] 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-06-02 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 12:02:42] 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-06-02 12:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:02:42] 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-06-02 12:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777736448001,"66":12558,"186":206,"83":42752,"24":0,"16":125146344753987584,"45":1812909986904035328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 12:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777736448001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:02:42] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 12:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 12:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125146344753987584,"km_value":125146344753987.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812909986904035328,"description":"Unknown IO ID 45"} 
[2026-06-02 12:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777736448001,"power":12558,"unknown_186":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1812909986904035328}} 
[2026-06-02 12:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":89373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:02:42] local.INFO: GPS data processed {"connection_id":89373,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:02:42] local.INFO: Acknowledgment sent {"connection_id":89373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:03:01] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:03:01] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:03:01] local.INFO: Packet analysis {"connection_id":89769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:03:01] local.INFO: Extracted packet for processing {"connection_id":89769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:03:01] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777658880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03: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-06-02 12:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780381781000,"timestamp_ms":1780381781000,"timestamp_seconds":1780381781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87060c08"} 
[2026-06-02 12:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:03: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-06-02 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:03: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-06-02 12:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777658880001,"66":25854,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777658880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:03:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777658880001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":89769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:03:01] local.INFO: GPS data processed {"connection_id":89769,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:03:01] local.INFO: Acknowledgment sent {"connection_id":89769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:03:03] local.INFO: TCP Data received {"connection_id":89622,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:03] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:03] local.INFO: IMEI packet received {"connection_id":89622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":89622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:03:07] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:07] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:07] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:03:07] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:07] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:07] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:03:07] local.INFO: TCP Data received {"connection_id":89622,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:07] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:07] local.INFO: IMEI packet received {"connection_id":89622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":89622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:03:08] local.INFO: TCP Data received {"connection_id":89622,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8707ec80012cf7df000746ddd8002f013726..."} 
[2026-06-02 12:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8707ec80012cf7df000746ddd8002f013726..."} 
[2026-06-02 12:03:08] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8707ec80012cf7df000746ddd8002f013726..."} 
[2026-06-02 12:03:08] local.INFO: Packet analysis {"connection_id":89622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8707"} 
[2026-06-02 12:03:08] local.INFO: Extracted packet for processing {"connection_id":89622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8707"} 
[2026-06-02 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":754441984,"raw_latitude":122084824,"longitude_deg":75.4441984,"latitude_deg":12.2084824,"altitude":47,"angle":311,"satellites":38,"speed":40,"hex_longitude":"2cf7df00","hex_latitude":"0746ddd8","is_valid_coordinates":true} 
[2026-06-02 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777766144001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119147821629702144,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-581386533143373824,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780381904000,"timestamp_ms":1780381904000,"timestamp_seconds":1780381904,"priority":1,"record_length":96,"hex_timestamp":"0000019e8707ec80"} 
[2026-06-02 12:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 12:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777766144001,"66":28452,"81":206,"28":26368,"24":40,"16":119147821629702144,"44":-581386533143373824},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,44]} 
[2026-06-02 12:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777766144001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 12:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119147821629702144,"km_value":119147821629702.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-581386533143373824,"description":"Unknown IO ID 44"} 
[2026-06-02 12:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777766144001,"power":28452,"unknown_81":206,"unknown_28":26368,"ignition":40,"odometer":null,"unknown_44":-581386533143373824}} 
[2026-06-02 12:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":89622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:03:09] local.INFO: GPS data processed {"connection_id":89622,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:03:09] local.INFO: Acknowledgment sent {"connection_id":89622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:03:11] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:11] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:03:11] local.INFO: IMEI packet received {"connection_id":89374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":89374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:03:12] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8706b7e8012d1928c007232c50005000dc2a..."} 
[2026-06-02 12:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8706b7e8012d1928c007232c50005000dc2a..."} 
[2026-06-02 12:03:12] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8706b7e8012d1928c007232c50005000dc2a..."} 
[2026-06-02 12:03:12] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:03:12] local.INFO: Extracted packet for processing {"connection_id":89374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119745616,"longitude_deg":75.6623552,"latitude_deg":11.9745616,"altitude":80,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d1928c0","hex_latitude":"07232c50","is_valid_coordinates":true} 
[2026-06-02 12:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777741824001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125146344753987584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812909986904035328,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780381825000,"timestamp_ms":1780381825000,"timestamp_seconds":1780381825,"priority":1,"record_length":96,"hex_timestamp":"0000019e8706b7e8"} 
[2026-06-02 12:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:03:12] 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-06-02 12:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":155,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2265227456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249738557407067592,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1706688718,"corrected_to":0} 
[2026-06-02 12:03:12] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3087084825,"corrected_to":0} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221693249,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-1801212992268789760,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147536248,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2610823168,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":33,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729340272642,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:12] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,186,83,24,241,157,16,155,158,19,45,192,44,80,37,10,66,193,38,111,1,240,199,227,135,35,4,113,205,203,58,120,40,239,50,231,2,188,7,71,31,33,206],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1706688718,"validated":0},{"io_id":203,"original":3087084825,"validated":0}]} 
[2026-06-02 12:03:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764849565916200960,"timestamp_seconds":5764849565916201.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 12:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:03:12] 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-06-02 12:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777741824001,"66":12591,"186":206,"83":42752,"24":0,"16":125146344753987584,"45":1812909986904035328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 12:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777741824001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:03:12] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 12:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 12:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125146344753987584,"km_value":125146344753987.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812909986904035328,"description":"Unknown IO ID 45"} 
[2026-06-02 12:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777741824001,"power":12591,"unknown_186":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1812909986904035328}} 
[2026-06-02 12:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":89374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:03:12] local.INFO: GPS data processed {"connection_id":89374,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:03:12] local.INFO: Acknowledgment sent {"connection_id":89374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:03:24] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:03:24] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:03:24] local.INFO: IMEI packet received {"connection_id":89623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":89623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:03:29] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:03:29] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:03:29] local.INFO: IMEI packet received {"connection_id":89623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":89623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:03:30] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:03:30] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87060c08012ceb7a800713b9d0000d009f2a..."} 
[2026-06-02 12:03:30] local.INFO: Packet analysis {"connection_id":89623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:03:30] local.INFO: Extracted packet for processing {"connection_id":89623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8706"} 
[2026-06-02 12:03:30] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733264,"longitude_deg":75.3629824,"latitude_deg":11.8733264,"altitude":13,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2ceb7a80","hex_latitude":"0713b9d0","is_valid_coordinates":true} 
[2026-06-02 12:03: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-06-02 12:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777658880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:30] 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-06-02 12:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780381781000,"timestamp_ms":1780381781000,"timestamp_seconds":1780381781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87060c08"} 
[2026-06-02 12:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:03: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:03: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-06-02 12:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777658880001,"66":25854,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777658880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:03:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777658880001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":89623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:03:30] local.INFO: GPS data processed {"connection_id":89623,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:03:30] local.INFO: Acknowledgment sent {"connection_id":89623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:03:41] local.INFO: TCP Data received {"connection_id":89622,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8707f450012cf7d8800746e1e0002d012827..."} 
[2026-06-02 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8707f450012cf7d8800746e1e0002d012827..."} 
[2026-06-02 12:03:41] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8707f450012cf7d8800746e1e0002d012827..."} 
[2026-06-02 12:03:41] local.INFO: Packet analysis {"connection_id":89622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8707"} 
[2026-06-02 12:03:41] local.INFO: Extracted packet for processing {"connection_id":89622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8707"} 
[2026-06-02 12:03:41] local.INFO: GPS Element Parsed {"raw_longitude":754440320,"raw_latitude":122085856,"longitude_deg":75.444032,"latitude_deg":12.2085856,"altitude":45,"angle":296,"satellites":39,"speed":37,"hex_longitude":"2cf7d880","hex_latitude":"0746e1e0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777767424001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119147916118982656,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-585749395281160192,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780381906000,"timestamp_ms":1780381906000,"timestamp_seconds":1780381906,"priority":1,"record_length":96,"hex_timestamp":"0000019e8707f450"} 
[2026-06-02 12:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 12:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777767424001,"66":28419,"81":206,"28":26368,"24":37,"16":119147916118982656,"44":-585749395281160192},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,44]} 
[2026-06-02 12:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777767424001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 12:03:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119147916118982656,"km_value":119147916118982.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-585749395281160192,"description":"Unknown IO ID 44"} 
[2026-06-02 12:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777767424001,"power":28419,"unknown_81":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_44":-585749395281160192}} 
[2026-06-02 12:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":89622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:03:41] local.INFO: GPS data processed {"connection_id":89622,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:03:41] local.INFO: Acknowledgment sent {"connection_id":89622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:03:43] local.INFO: TCP Data received {"connection_id":89374,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870909a8012d18bc800722fe98006000e32c..."} 
[2026-06-02 12:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870909a8012d18bc800722fe98006000e32c..."} 
[2026-06-02 12:03:43] local.INFO: Processing buffer {"connection_id":89374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870909a8012d18bc800722fe98006000e32c..."} 
[2026-06-02 12:03:43] local.INFO: Packet analysis {"connection_id":89374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:03:43] local.INFO: Extracted packet for processing {"connection_id":89374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756595840,"raw_latitude":119733912,"longitude_deg":75.659584,"latitude_deg":11.9733912,"altitude":96,"angle":227,"satellites":44,"speed":35,"hex_longitude":"2d18bc80","hex_latitude":"0722fe98","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777785856001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125148011201298432,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783214376858222592,"note":"Value kept but may cause issues"} 
[2026-06-02 12:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780381977000,"timestamp_ms":1780381977000,"timestamp_seconds":1780381977,"priority":1,"record_length":96,"hex_timestamp":"0000019e870909a8"} 
[2026-06-02 12:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-02 12:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:03:43] 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-06-02 12:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777785856001,"66":13787,"105":206,"83":41984,"24":35,"16":125148011201298432,"45":1783214376858222592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777785856001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:03:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125148011201298432,"km_value":125148011201298.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783214376858222592,"description":"Unknown IO ID 45"} 
[2026-06-02 12:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777785856001,"power":13787,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1783214376858222592}} 
[2026-06-02 12:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":89374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:03:44] local.INFO: GPS data processed {"connection_id":89374,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:03:44] local.INFO: Acknowledgment sent {"connection_id":89374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:03:58] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:58] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:03:58] local.INFO: IMEI packet received {"connection_id":89375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":89375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:04:01] local.INFO: TCP Data received {"connection_id":89623,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:01] local.INFO: Processing buffer {"connection_id":89623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:01] local.INFO: Packet analysis {"connection_id":89623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:01] local.INFO: Extracted packet for processing {"connection_id":89623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:01] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04: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-06-02 12:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04: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-06-02 12:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:04: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-06-02 12:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":89623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:01] local.INFO: GPS data processed {"connection_id":89623,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:01] local.INFO: Acknowledgment sent {"connection_id":89623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:04:04] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:04:04] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:04:04] local.INFO: IMEI packet received {"connection_id":89375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":89375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:04:05] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e8707f838012cf7d4800746e238002c011b25..."} 
[2026-06-02 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8707f838012cf7d4800746e238002c011b25..."} 
[2026-06-02 12:04:05] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8707f838012cf7d4800746e238002c011b25..."} 
[2026-06-02 12:04:05] local.INFO: Packet analysis {"connection_id":89375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8707"} 
[2026-06-02 12:04:05] local.INFO: Extracted packet for processing {"connection_id":89375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8707"} 
[2026-06-02 12:04:05] local.INFO: GPS Element Parsed {"raw_longitude":754439296,"raw_latitude":122085944,"longitude_deg":75.4439296,"latitude_deg":12.2085944,"altitude":44,"angle":283,"satellites":37,"speed":36,"hex_longitude":"2cf7d480","hex_latitude":"0746e238","is_valid_coordinates":true} 
[2026-06-02 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777767936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119147963363622912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-587578982629515264,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780381907000,"timestamp_ms":1780381907000,"timestamp_seconds":1780381907,"priority":1,"record_length":96,"hex_timestamp":"0000019e8707f838"} 
[2026-06-02 12:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04: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-06-02 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 12:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777767936001,"66":28430,"81":206,"28":26368,"24":36,"16":119147963363622912,"44":-587578982629515264},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,44]} 
[2026-06-02 12:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777767936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 12:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119147963363622912,"km_value":119147963363622.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-587578982629515264,"description":"Unknown IO ID 44"} 
[2026-06-02 12:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777767936001,"power":28430,"unknown_81":206,"unknown_28":26368,"ignition":36,"odometer":null,"unknown_44":-587578982629515264}} 
[2026-06-02 12:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":89375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:05] local.INFO: GPS data processed {"connection_id":89375,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:05] local.INFO: Acknowledgment sent {"connection_id":89375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:04:05] local.INFO: TCP Data received {"connection_id":90833,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:04:05] local.INFO: Processing buffer {"connection_id":90833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:04:05] local.INFO: IMEI packet received {"connection_id":90833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":90833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:04:06] local.INFO: TCP Data received {"connection_id":90833,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90833,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 12:04:06] local.INFO: Processing buffer {"connection_id":90833,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 12:04:06] local.INFO: IMEI packet received {"connection_id":90833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":90833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:04:11] local.INFO: TCP Data received {"connection_id":90833,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:04:11] local.INFO: Processing buffer {"connection_id":90833,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 12:04:11] local.INFO: IMEI packet received {"connection_id":90833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":90833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:04:12] local.INFO: TCP Data received {"connection_id":90833,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87090d90012d18ba800722fbb0006000d72b..."} 
[2026-06-02 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87090d90012d18ba800722fbb0006000d72b..."} 
[2026-06-02 12:04:12] local.INFO: Processing buffer {"connection_id":90833,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019e87..."} 
[2026-06-02 12:04:12] local.INFO: IMEI packet received {"connection_id":90833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":90833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:04:13] local.INFO: TCP Data received {"connection_id":90833,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87091178012d18b9000722f870006100cb2c..."} 
[2026-06-02 12:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87091178012d18b9000722f870006100cb2c..."} 
[2026-06-02 12:04:13] local.INFO: Processing buffer {"connection_id":90833,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e87090d90012d18ba800722fbb0006000d72b..."} 
[2026-06-02 12:04:13] local.INFO: Packet analysis {"connection_id":90833,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:13] local.INFO: Extracted packet for processing {"connection_id":90833,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756595328,"raw_latitude":119733168,"longitude_deg":75.6595328,"latitude_deg":11.9733168,"altitude":96,"angle":215,"satellites":43,"speed":36,"hex_longitude":"2d18ba80","hex_latitude":"0722fbb0","is_valid_coordinates":true} 
[2026-06-02 12:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777786112001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125148054150971392,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782440320672110592,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780381978000,"timestamp_ms":1780381978000,"timestamp_seconds":1780381978,"priority":1,"record_length":96,"hex_timestamp":"0000019e87090d90"} 
[2026-06-02 12:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-06-02 12:04:13] 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-06-02 12:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":90833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":90833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":90833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:04:13] 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-06-02 12:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777786112001,"66":13787,"105":206,"83":41984,"24":36,"16":125148054150971392,"45":1782440320672110592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777786112001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125148054150971392,"km_value":125148054150971.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782440320672110592,"description":"Unknown IO ID 45"} 
[2026-06-02 12:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777786112001,"power":13787,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1782440320672110592}} 
[2026-06-02 12:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":90833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:13] local.INFO: GPS data processed {"connection_id":90833,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:13] local.INFO: Acknowledgment sent {"connection_id":90833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:04:13] local.INFO: Packet analysis {"connection_id":90833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:13] local.INFO: Extracted packet for processing {"connection_id":90833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756594944,"raw_latitude":119732336,"longitude_deg":75.6594944,"latitude_deg":11.9732336,"altitude":97,"angle":203,"satellites":44,"speed":36,"hex_longitude":"2d18b900","hex_latitude":"0722f870","is_valid_coordinates":true} 
[2026-06-02 12:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777786368001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125148097100644352,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781877370718498816,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780381979000,"timestamp_ms":1780381979000,"timestamp_seconds":1780381979,"priority":1,"record_length":96,"hex_timestamp":"0000019e87091178"} 
[2026-06-02 12:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-06-02 12:04:13] 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-06-02 12:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":90833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":90833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":90833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:04:13] 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-06-02 12:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777786368001,"66":13961,"105":206,"83":41984,"24":36,"16":125148097100644352,"45":1781877370718498816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777786368001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125148097100644352,"km_value":125148097100644.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781877370718498816,"description":"Unknown IO ID 45"} 
[2026-06-02 12:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777786368001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1781877370718498816}} 
[2026-06-02 12:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":90833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:13] local.INFO: GPS data processed {"connection_id":90833,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:13] local.INFO: Acknowledgment sent {"connection_id":90833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:04:29] local.INFO: TCP Data received {"connection_id":90834,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:04:29] local.INFO: Processing buffer {"connection_id":90834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:04:29] local.INFO: IMEI packet received {"connection_id":90834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":90834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:04:34] local.INFO: TCP Data received {"connection_id":90834,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:04:34] local.INFO: Processing buffer {"connection_id":90834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:04:34] local.INFO: IMEI packet received {"connection_id":90834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":90834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:04:34] local.INFO: TCP Data received {"connection_id":90834,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:34] local.INFO: Processing buffer {"connection_id":90834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:34] local.INFO: Packet analysis {"connection_id":90834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:34] local.INFO: Extracted packet for processing {"connection_id":90834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:34] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:34] 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-06-02 12:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:34] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":90834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:34] local.INFO: GPS data processed {"connection_id":90834,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:34] local.INFO: Acknowledgment sent {"connection_id":90834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:04:39] local.INFO: TCP Data received {"connection_id":89375,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e87084a40012cf785800746e248002b012226..."} 
[2026-06-02 12:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87084a40012cf785800746e248002b012226..."} 
[2026-06-02 12:04:39] local.INFO: Processing buffer {"connection_id":89375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87084a40012cf785800746e248002b012226..."} 
[2026-06-02 12:04:39] local.INFO: Packet analysis {"connection_id":89375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8708"} 
[2026-06-02 12:04:39] local.INFO: Extracted packet for processing {"connection_id":89375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8708"} 
[2026-06-02 12:04:39] local.INFO: GPS Element Parsed {"raw_longitude":754419072,"raw_latitude":122085960,"longitude_deg":75.4419072,"latitude_deg":12.208596,"altitude":43,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2cf78580","hex_latitude":"0746e248","is_valid_coordinates":true} 
[2026-06-02 12:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777768192001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119147963363622912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-588704882536335360,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780381928000,"timestamp_ms":1780381928000,"timestamp_seconds":1780381928,"priority":1,"record_length":96,"hex_timestamp":"0000019e87084a40"} 
[2026-06-02 12:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 12:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777768192001,"66":28485,"81":206,"28":26368,"24":0,"16":119147963363622912,"44":-588704882536335360},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,44]} 
[2026-06-02 12:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777768192001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 12:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119147963363622912,"km_value":119147963363622.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-588704882536335360,"description":"Unknown IO ID 44"} 
[2026-06-02 12:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777768192001,"power":28485,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-588704882536335360}} 
[2026-06-02 12:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":89375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:39] local.INFO: GPS data processed {"connection_id":89375,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:39] local.INFO: Acknowledgment sent {"connection_id":89375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:04:40] local.INFO: TCP Data received {"connection_id":90834,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:40] local.INFO: Processing buffer {"connection_id":90834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:04:40] local.INFO: Packet analysis {"connection_id":90834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:40] local.INFO: Extracted packet for processing {"connection_id":90834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:40] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:40] 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-06-02 12:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":90834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:40] local.INFO: GPS data processed {"connection_id":90834,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:40] local.INFO: Acknowledgment sent {"connection_id":90834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:04:44] local.INFO: TCP Data received {"connection_id":90833,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870934a0012d18ad800722d9a8006400d82d..."} 
[2026-06-02 12:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870934a0012d18ad800722d9a8006400d82d..."} 
[2026-06-02 12:04:44] local.INFO: Processing buffer {"connection_id":90833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870934a0012d18ad800722d9a8006400d82d..."} 
[2026-06-02 12:04:44] local.INFO: Packet analysis {"connection_id":90833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:44] local.INFO: Extracted packet for processing {"connection_id":90833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119724456,"longitude_deg":75.6592,"latitude_deg":11.9724456,"altitude":100,"angle":216,"satellites":45,"speed":37,"hex_longitude":"2d18ad80","hex_latitude":"0722d9a8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777786624001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125148505122537472,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781455158253219840,"note":"Value kept but may cause issues"} 
[2026-06-02 12:04: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-06-02 12:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780381988000,"timestamp_ms":1780381988000,"timestamp_seconds":1780381988,"priority":1,"record_length":96,"hex_timestamp":"0000019e870934a0"} 
[2026-06-02 12:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12: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-06-02 12: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-06-02 12:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":90833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":90833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":90833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:04:44] 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-06-02 12:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777786624001,"66":12722,"105":206,"83":41984,"24":37,"16":125148505122537472,"45":1781455158253219840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777786624001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:04:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125148505122537472,"km_value":125148505122537.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781455158253219840,"description":"Unknown IO ID 45"} 
[2026-06-02 12:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777786624001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1781455158253219840}} 
[2026-06-02 12:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":90833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:04:44] local.INFO: GPS data processed {"connection_id":90833,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:04:44] local.INFO: Acknowledgment sent {"connection_id":90833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:05:05] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:05] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:05] local.INFO: IMEI packet received {"connection_id":89624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":89624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:05:09] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:09] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:09] local.INFO: IMEI packet received {"connection_id":89624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":89624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:05:10] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:10] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:05:10] local.INFO: IMEI packet received {"connection_id":89624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":89624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:05:11] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87094828012d18a3c00722ca08006600c72b..."} 
[2026-06-02 12:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87094828012d18a3c00722ca08006600c72b..."} 
[2026-06-02 12:05:11] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87094828012d18a3c00722ca08006600c72b..."} 
[2026-06-02 12:05:11] local.INFO: Packet analysis {"connection_id":89624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:11] local.INFO: Extracted packet for processing {"connection_id":89624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119720456,"longitude_deg":75.6589504,"latitude_deg":11.9720456,"altitude":102,"angle":199,"satellites":43,"speed":36,"hex_longitude":"2d18a3c0","hex_latitude":"0722ca08","is_valid_coordinates":true} 
[2026-06-02 12:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777788928001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125148732755804160,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218196019030016,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780381993000,"timestamp_ms":1780381993000,"timestamp_seconds":1780381993,"priority":1,"record_length":96,"hex_timestamp":"0000019e87094828"} 
[2026-06-02 12:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 12:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777788928001,"66":12558,"105":206,"83":41984,"24":36,"16":125148732755804160,"45":1778218196019030016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777788928001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:05:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125148732755804160,"km_value":125148732755804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218196019030016,"description":"Unknown IO ID 45"} 
[2026-06-02 12:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777788928001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1778218196019030016}} 
[2026-06-02 12:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":89624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:05:11] local.INFO: GPS data processed {"connection_id":89624,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:05:11] local.INFO: Acknowledgment sent {"connection_id":89624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:05:16] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87094ff8012d18a2800722c2f0006700b72a..."} 
[2026-06-02 12:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87094ff8012d18a2800722c2f0006700b72a..."} 
[2026-06-02 12:05:16] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87094ff8012d18a2800722c2f0006700b72a..."} 
[2026-06-02 12:05:16] local.INFO: Packet analysis {"connection_id":89624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:16] local.INFO: Extracted packet for processing {"connection_id":89624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119718640,"longitude_deg":75.6589184,"latitude_deg":11.971864,"altitude":103,"angle":183,"satellites":42,"speed":36,"hex_longitude":"2d18a280","hex_latitude":"0722c2f0","is_valid_coordinates":true} 
[2026-06-02 12:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777790208001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125148822950117376,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814995077120,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05: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-06-02 12:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780381995000,"timestamp_ms":1780381995000,"timestamp_seconds":1780381995,"priority":1,"record_length":96,"hex_timestamp":"0000019e87094ff8"} 
[2026-06-02 12:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2265514456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249564834569847712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":34,"raw_value":4271374432,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743850,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2640904192,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":36,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304410206210,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:16] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,158,52,45,128,217,100,10,66,17,248,97,44,13,1,240,219,227,135,34,4,113,205,35,5,191,239,53,2,188,7,95,36,106,41,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 12:05:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7350093579368529920,"timestamp_seconds":7350093579368530.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 12:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:05: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-06-02 12:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777790208001,"66":12504,"105":206,"83":41984,"24":36,"16":125148822950117376,"45":1775473814995077120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777790208001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:05:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125148822950117376,"km_value":125148822950117.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814995077120,"description":"Unknown IO ID 45"} 
[2026-06-02 12:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777790208001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1775473814995077120}} 
[2026-06-02 12:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":89624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:05:16] local.INFO: GPS data processed {"connection_id":89624,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:05:16] local.INFO: Acknowledgment sent {"connection_id":89624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:05:24] local.INFO: TCP Data received {"connection_id":90835,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:05:24] local.INFO: Processing buffer {"connection_id":90835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:05:24] local.INFO: IMEI packet received {"connection_id":90835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":90835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:05:29] local.INFO: TCP Data received {"connection_id":90835,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:05:29] local.INFO: Processing buffer {"connection_id":90835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:05:29] local.INFO: IMEI packet received {"connection_id":90835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":90835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:05:30] local.INFO: TCP Data received {"connection_id":90835,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:05:30] local.INFO: Processing buffer {"connection_id":90835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:05:30] local.INFO: Packet analysis {"connection_id":90835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:30] local.INFO: Extracted packet for processing {"connection_id":90835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:30] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:30] 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-06-02 12:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:05:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":90835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:05:30] local.INFO: GPS data processed {"connection_id":90835,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:05:30] local.INFO: Acknowledgment sent {"connection_id":90835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:05:46] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87095bb0012d18a3400722b858006700a82a..."} 
[2026-06-02 12:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87095bb0012d18a3400722b858006700a82a..."} 
[2026-06-02 12:05:46] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87095bb0012d18a3400722b858006700a82a..."} 
[2026-06-02 12:05:46] local.INFO: Packet analysis {"connection_id":89624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:46] local.INFO: Extracted packet for processing {"connection_id":89624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119715928,"longitude_deg":75.6589376,"latitude_deg":11.9715928,"altitude":103,"angle":168,"satellites":42,"speed":35,"hex_longitude":"2d18a340","hex_latitude":"0722b858","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777790720001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125148956094103552,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273723904,"note":"Value kept but may cause issues"} 
[2026-06-02 12:05: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-06-02 12:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780381998000,"timestamp_ms":1780381998000,"timestamp_seconds":1780381998,"priority":1,"record_length":96,"hex_timestamp":"0000019e87095bb0"} 
[2026-06-02 12:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":216,"data_length":795,"current_offset":136} 
[2026-06-02 12:05: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-06-02 12: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-06-02 12:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:05: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-06-02 12:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777790720001,"66":12461,"105":206,"83":41984,"24":35,"16":125148956094103552,"45":1775121971273723904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777790720001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:05:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125148956094103552,"km_value":125148956094103.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273723904,"description":"Unknown IO ID 45"} 
[2026-06-02 12:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777790720001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1775121971273723904}} 
[2026-06-02 12:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":89624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:05:46] local.INFO: GPS data processed {"connection_id":89624,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:05:46] local.INFO: Acknowledgment sent {"connection_id":89624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:06:02] local.INFO: TCP Data received {"connection_id":90835,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:06:02] local.INFO: Processing buffer {"connection_id":90835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:06:02] local.INFO: Packet analysis {"connection_id":90835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:02] local.INFO: Extracted packet for processing {"connection_id":90835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:02] 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-06-02 12:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:06: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-06-02 12: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":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:06: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-06-02 12:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:06:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":90835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:06:02] local.INFO: GPS data processed {"connection_id":90835,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:06:02] local.INFO: Acknowledgment sent {"connection_id":90835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:06:05] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:05] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:05] local.INFO: IMEI packet received {"connection_id":89770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":89770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:06:06] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:06] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:06] local.INFO: IMEI packet received {"connection_id":89770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":89770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:06:10] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:10] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:06:10] local.INFO: IMEI packet received {"connection_id":89770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":89770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:06:11] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870982c0012d18a98007229510006b00b42b..."} 
[2026-06-02 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870982c0012d18a98007229510006b00b42b..."} 
[2026-06-02 12:06:11] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870982c0012d18a98007229510006b00b42b..."} 
[2026-06-02 12:06:11] local.INFO: Packet analysis {"connection_id":89770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:11] local.INFO: Extracted packet for processing {"connection_id":89770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119706896,"longitude_deg":75.6590976,"latitude_deg":11.9706896,"altitude":107,"angle":180,"satellites":43,"speed":35,"hex_longitude":"2d18a980","hex_latitude":"07229510","is_valid_coordinates":true} 
[2026-06-02 12:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777791488001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125149402770702336,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077505562624,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382008000,"timestamp_ms":1780382008000,"timestamp_seconds":1780382008,"priority":1,"record_length":96,"hex_timestamp":"0000019e870982c0"} 
[2026-06-02 12:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 12:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777791488001,"66":12254,"105":206,"83":41984,"24":35,"16":125149402770702336,"45":1775333077505562624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777791488001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:06:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125149402770702336,"km_value":125149402770702.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077505562624,"description":"Unknown IO ID 45"} 
[2026-06-02 12:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777791488001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1775333077505562624}} 
[2026-06-02 12:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":89770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:06:11] local.INFO: GPS data processed {"connection_id":89770,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:06:11] local.INFO: Acknowledgment sent {"connection_id":89770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:06:13] local.INFO: TCP Data received {"connection_id":89625,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:13] local.INFO: Processing buffer {"connection_id":89625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:13] local.INFO: IMEI packet received {"connection_id":89625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":89625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:06:18] local.INFO: TCP Data received {"connection_id":89625,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:18] local.INFO: Processing buffer {"connection_id":89625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:18] local.INFO: IMEI packet received {"connection_id":89625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":89625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:06:19] local.INFO: TCP Data received {"connection_id":89625,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870a22e8012cf5f2c00746f5c00039011c2a..."} 
[2026-06-02 12:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870a22e8012cf5f2c00746f5c00039011c2a..."} 
[2026-06-02 12:06:19] local.INFO: Processing buffer {"connection_id":89625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870a22e8012cf5f2c00746f5c00039011c2a..."} 
[2026-06-02 12:06:19] local.INFO: Packet analysis {"connection_id":89625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:06:19] local.INFO: Extracted packet for processing {"connection_id":89625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:06:19] local.INFO: GPS Element Parsed {"raw_longitude":754315968,"raw_latitude":122090944,"longitude_deg":75.4315968,"latitude_deg":12.2090944,"altitude":57,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cf5f2c0","hex_latitude":"0746f5c0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777799168001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119148392860352512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-703054091825520640,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780382049000,"timestamp_ms":1780382049000,"timestamp_seconds":1780382049,"priority":1,"record_length":96,"hex_timestamp":"0000019e870a22e8"} 
[2026-06-02 12:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 12:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777799168001,"66":28398,"81":206,"28":26368,"24":0,"16":119148392860352512,"44":-703054091825520640},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,44]} 
[2026-06-02 12:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777799168001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 12:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119148392860352512,"km_value":119148392860352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-703054091825520640,"description":"Unknown IO ID 44"} 
[2026-06-02 12:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777799168001,"power":28398,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-703054091825520640}} 
[2026-06-02 12:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":89625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:06:19] local.INFO: GPS data processed {"connection_id":89625,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:06:19] local.INFO: Acknowledgment sent {"connection_id":89625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:06:24] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:06:24] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:06:24] local.INFO: IMEI packet received {"connection_id":89626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":89626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:06:29] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:06:29] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:06:29] local.INFO: IMEI packet received {"connection_id":89626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":89626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:06:30] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:06:30] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:06:30] local.INFO: Packet analysis {"connection_id":89626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:30] local.INFO: Extracted packet for processing {"connection_id":89626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:30] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:30] 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-06-02 12:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":89626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:06:30] local.INFO: GPS data processed {"connection_id":89626,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:06:30] local.INFO: Acknowledgment sent {"connection_id":89626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:06:42] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870982c0012d18a98007229510006b00b42b..."} 
[2026-06-02 12:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870982c0012d18a98007229510006b00b42b..."} 
[2026-06-02 12:06:42] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870982c0012d18a98007229510006b00b42b..."} 
[2026-06-02 12:06:42] local.INFO: Packet analysis {"connection_id":89770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:42] local.INFO: Extracted packet for processing {"connection_id":89770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119706896,"longitude_deg":75.6590976,"latitude_deg":11.9706896,"altitude":107,"angle":180,"satellites":43,"speed":35,"hex_longitude":"2d18a980","hex_latitude":"07229510","is_valid_coordinates":true} 
[2026-06-02 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777794048001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125149402770702336,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296107692032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382008000,"timestamp_ms":1780382008000,"timestamp_seconds":1780382008,"priority":1,"record_length":96,"hex_timestamp":"0000019e870982c0"} 
[2026-06-02 12:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 12:06:42] 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-06-02 12:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:06:42] 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-06-02 12:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777794048001,"66":12254,"105":206,"83":41984,"24":35,"16":125149402770702336,"45":1777092296107692032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777794048001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:06:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125149402770702336,"km_value":125149402770702.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296107692032,"description":"Unknown IO ID 45"} 
[2026-06-02 12:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777794048001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1777092296107692032}} 
[2026-06-02 12:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":89770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:06:42] local.INFO: GPS data processed {"connection_id":89770,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:06:42] local.INFO: Acknowledgment sent {"connection_id":89770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:06:58] local.INFO: TCP Data received {"connection_id":89376,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:58] local.INFO: Processing buffer {"connection_id":89376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:06:58] local.INFO: IMEI packet received {"connection_id":89376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":89376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:07:01] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:07:01] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:07:01] local.INFO: Packet analysis {"connection_id":89626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:07:01] local.INFO: Extracted packet for processing {"connection_id":89626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:07:01] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07: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-06-02 12:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:07: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-06-02 12:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:07: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-06-02 12:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:07:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:07:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":89626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:07:01] local.INFO: GPS data processed {"connection_id":89626,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:07:01] local.INFO: Acknowledgment sent {"connection_id":89626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:07:03] local.INFO: TCP Data received {"connection_id":89376,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:07:03] local.INFO: Processing buffer {"connection_id":89376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:07:03] local.INFO: IMEI packet received {"connection_id":89376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":89376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:07:05] local.INFO: TCP Data received {"connection_id":89376,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870a5d80012cf5b10007471f78003b013227..."} 
[2026-06-02 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870a5d80012cf5b10007471f78003b013227..."} 
[2026-06-02 12:07:05] local.INFO: Processing buffer {"connection_id":89376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870a5d80012cf5b10007471f78003b013227..."} 
[2026-06-02 12:07:05] local.INFO: Packet analysis {"connection_id":89376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:07:05] local.INFO: Extracted packet for processing {"connection_id":89376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":754299136,"raw_latitude":122101624,"longitude_deg":75.4299136,"latitude_deg":12.2101624,"altitude":59,"angle":306,"satellites":39,"speed":44,"hex_longitude":"2cf5b100","hex_latitude":"07471f78","is_valid_coordinates":true} 
[2026-06-02 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777804544001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119148392860352512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-724305452565413888,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780382064000,"timestamp_ms":1780382064000,"timestamp_seconds":1780382064,"priority":1,"record_length":96,"hex_timestamp":"0000019e870a5d80"} 
[2026-06-02 12:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:07: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-06-02 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 12:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777804544001,"66":28419,"81":206,"28":26368,"24":44,"16":119148392860352512,"44":-724305452565413888},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,44]} 
[2026-06-02 12:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777804544001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119148392860352512,"km_value":119148392860352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-724305452565413888,"description":"Unknown IO ID 44"} 
[2026-06-02 12:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777804544001,"power":28419,"unknown_81":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_44":-724305452565413888}} 
[2026-06-02 12:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":89376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:07:05] local.INFO: GPS data processed {"connection_id":89376,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:07:05] local.INFO: Acknowledgment sent {"connection_id":89376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:07:09] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:09] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:09] local.INFO: IMEI packet received {"connection_id":89771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":89771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:07:10] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:10] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:10] local.INFO: IMEI packet received {"connection_id":89771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":89771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:07:15] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:15] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:07:15] local.INFO: IMEI packet received {"connection_id":89771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":89771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:07:16] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870ba988012d181f800721b060004800d128..."} 
[2026-06-02 12:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870ba988012d181f800721b060004800d128..."} 
[2026-06-02 12:07:16] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870ba988012d181f800721b060004800d128..."} 
[2026-06-02 12:07:16] local.INFO: Packet analysis {"connection_id":89771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:07:16] local.INFO: Extracted packet for processing {"connection_id":89771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07: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-06-02 12:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780382149000,"timestamp_ms":1780382149000,"timestamp_seconds":1780382149,"priority":1,"record_length":96,"hex_timestamp":"0000019e870ba988"} 
[2026-06-02 12:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 12:07:16] 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-06-02 12: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-06-02 12:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12: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-06-02 12:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777824768001,"66":12145,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:07:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777824768001,"power":12145,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":89771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:07:16] local.INFO: GPS data processed {"connection_id":89771,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:07:16] local.INFO: Acknowledgment sent {"connection_id":89771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:07:21] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870bfb90012d181f800721b060004800d12a..."} 
[2026-06-02 12:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870bfb90012d181f800721b060004800d12a..."} 
[2026-06-02 12:07:21] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870bfb90012d181f800721b060004800d12a..."} 
[2026-06-02 12:07:21] local.INFO: Packet analysis {"connection_id":89771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:07:21] local.INFO: Extracted packet for processing {"connection_id":89771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777830144001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780382170000,"timestamp_ms":1780382170000,"timestamp_seconds":1780382170,"priority":1,"record_length":96,"hex_timestamp":"0000019e870bfb90"} 
[2026-06-02 12:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:07:21] 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-06-02 12:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-02 12:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:07:21] 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-06-02 12:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777830144001,"66":12145,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777830144001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:07:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777830144001,"power":12145,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":89771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:07:21] local.INFO: GPS data processed {"connection_id":89771,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:07:21] local.INFO: Acknowledgment sent {"connection_id":89771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:07:24] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:07:24] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:07:24] local.INFO: IMEI packet received {"connection_id":89377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":89377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:07:29] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:07:29] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:07:29] local.INFO: IMEI packet received {"connection_id":89377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":89377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:07:30] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:07:30] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:07:30] local.INFO: Packet analysis {"connection_id":89377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:07:30] local.INFO: Extracted packet for processing {"connection_id":89377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:07:30] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:30] 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-06-02 12:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":89377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:07:30] local.INFO: GPS data processed {"connection_id":89377,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:07:30] local.INFO: Acknowledgment sent {"connection_id":89377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:07:36] local.INFO: TCP Data received {"connection_id":89376,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870aaf88012cf5730007475260003d012a24..."} 
[2026-06-02 12:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870aaf88012cf5730007475260003d012a24..."} 
[2026-06-02 12:07:36] local.INFO: Processing buffer {"connection_id":89376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870aaf88012cf5730007475260003d012a24..."} 
[2026-06-02 12:07:36] local.INFO: Packet analysis {"connection_id":89376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:07:36] local.INFO: Extracted packet for processing {"connection_id":89376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:07:36] local.INFO: GPS Element Parsed {"raw_longitude":754283264,"raw_latitude":122114656,"longitude_deg":75.4283264,"latitude_deg":12.2114656,"altitude":61,"angle":298,"satellites":36,"speed":0,"hex_longitude":"2cf57300","hex_latitude":"07475260","is_valid_coordinates":true} 
[2026-06-02 12:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777808384001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119148392860352512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-742812432281405440,"note":"Value kept but may cause issues"} 
[2026-06-02 12:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780382085000,"timestamp_ms":1780382085000,"timestamp_seconds":1780382085,"priority":1,"record_length":96,"hex_timestamp":"0000019e870aaf88"} 
[2026-06-02 12:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 12:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777808384001,"66":28398,"80":206,"28":26368,"24":0,"16":119148392860352512,"44":-742812432281405440},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,44]} 
[2026-06-02 12:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777808384001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:07:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-02 12:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119148392860352512,"km_value":119148392860352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-742812432281405440,"description":"Unknown IO ID 44"} 
[2026-06-02 12:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777808384001,"power":28398,"unknown_80":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-742812432281405440}} 
[2026-06-02 12:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":89376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:07:36] local.INFO: GPS data processed {"connection_id":89376,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:07:36] local.INFO: Acknowledgment sent {"connection_id":89376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:07:58] local.INFO: TCP Data received {"connection_id":89627,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:07:58] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:07:58] local.INFO: IMEI packet received {"connection_id":89627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":89627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:08:00] local.INFO: TCP Data received {"connection_id":89627,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:00] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:00] local.INFO: IMEI packet received {"connection_id":89627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":89627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:08:01] local.INFO: TCP Data received {"connection_id":89627,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:01] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:01] local.INFO: IMEI packet received {"connection_id":89627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":89627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:08:01] local.INFO: TCP Data received {"connection_id":89377,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:08:01] local.INFO: Processing buffer {"connection_id":89377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:08:01] local.INFO: Packet analysis {"connection_id":89377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:08:01] local.INFO: Extracted packet for processing {"connection_id":89377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:08:01] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08: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-06-02 12:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:08: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-06-02 12: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:08: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-06-02 12:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:08:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":89377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:08:01] local.INFO: GPS data processed {"connection_id":89377,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:08:01] local.INFO: Acknowledgment sent {"connection_id":89377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:08:03] local.INFO: TCP Data received {"connection_id":89627,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:03] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:03] local.INFO: IMEI packet received {"connection_id":89627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":89627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:08:04] local.INFO: TCP Data received {"connection_id":89627,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870ae638012cf532c0074743f8004400fe26..."} 
[2026-06-02 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870ae638012cf532c0074743f8004400fe26..."} 
[2026-06-02 12:08:04] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870ae638012cf532c0074743f8004400fe26..."} 
[2026-06-02 12:08:04] local.INFO: Packet analysis {"connection_id":89627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:08:04] local.INFO: Extracted packet for processing {"connection_id":89627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870a"} 
[2026-06-02 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":754266816,"raw_latitude":122110968,"longitude_deg":75.4266816,"latitude_deg":12.2110968,"altitude":68,"angle":254,"satellites":38,"speed":34,"hex_longitude":"2cf532c0","hex_latitude":"074743f8","is_valid_coordinates":true} 
[2026-06-02 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777813760001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119148392860352512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-760263880834129920,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780382099000,"timestamp_ms":1780382099000,"timestamp_seconds":1780382099,"priority":1,"record_length":96,"hex_timestamp":"0000019e870ae638"} 
[2026-06-02 12:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:08: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-06-02 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 12:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777813760001,"66":28452,"80":206,"28":26368,"24":34,"16":119148392860352512,"44":-760263880834129920},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,44]} 
[2026-06-02 12:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777813760001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-02 12:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119148392860352512,"km_value":119148392860352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-760263880834129920,"description":"Unknown IO ID 44"} 
[2026-06-02 12:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777813760001,"power":28452,"unknown_80":206,"unknown_28":26368,"ignition":34,"odometer":null,"unknown_44":-760263880834129920}} 
[2026-06-02 12:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":89627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:08:04] local.INFO: GPS data processed {"connection_id":89627,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:08:04] local.INFO: Acknowledgment sent {"connection_id":89627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:08:05] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:08:05] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:08:05] local.INFO: IMEI packet received {"connection_id":89378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":89378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:08:09] local.INFO: TCP Data received {"connection_id":89627,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870b3840012cf4eb0007472d20004700f823..."} 
[2026-06-02 12:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870b3840012cf4eb0007472d20004700f823..."} 
[2026-06-02 12:08:09] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870b3840012cf4eb0007472d20004700f823..."} 
[2026-06-02 12:08:09] local.INFO: Packet analysis {"connection_id":89627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:08:09] local.INFO: Extracted packet for processing {"connection_id":89627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:08:09] local.INFO: GPS Element Parsed {"raw_longitude":754248448,"raw_latitude":122105120,"longitude_deg":75.4248448,"latitude_deg":12.210512,"altitude":71,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2cf4eb00","hex_latitude":"07472d20","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777817344001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119148392860352512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-778348648088733696,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780382120000,"timestamp_ms":1780382120000,"timestamp_seconds":1780382120,"priority":1,"record_length":96,"hex_timestamp":"0000019e870b3840"} 
[2026-06-02 12:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 12:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777817344001,"66":28485,"108":206,"28":26368,"24":0,"16":119148392860352512,"44":-778348648088733696},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,44]} 
[2026-06-02 12:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777817344001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:08:09] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 12:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119148392860352512,"km_value":119148392860352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-778348648088733696,"description":"Unknown IO ID 44"} 
[2026-06-02 12:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777817344001,"power":28485,"unknown_108":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-778348648088733696}} 
[2026-06-02 12:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":89627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:08:09] local.INFO: GPS data processed {"connection_id":89627,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:08:09] local.INFO: Acknowledgment sent {"connection_id":89627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:08:10] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:08:10] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:08:10] local.INFO: IMEI packet received {"connection_id":89378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":89378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:08:11] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870c4d98012d181f800721b060004800d129..."} 
[2026-06-02 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870c4d98012d181f800721b060004800d129..."} 
[2026-06-02 12:08:11] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870c4d98012d181f800721b060004800d129..."} 
[2026-06-02 12:08:11] local.INFO: Packet analysis {"connection_id":89378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870c"} 
[2026-06-02 12:08:11] local.INFO: Extracted packet for processing {"connection_id":89378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870c"} 
[2026-06-02 12:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777835520001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382191000,"timestamp_ms":1780382191000,"timestamp_seconds":1780382191,"priority":1,"record_length":96,"hex_timestamp":"0000019e870c4d98"} 
[2026-06-02 12:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:08:11] 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-06-02 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-02 12:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777835520001,"66":12211,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777835520001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:08:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777835520001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":89378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:08:11] local.INFO: GPS data processed {"connection_id":89378,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:08:11] local.INFO: Acknowledgment sent {"connection_id":89378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:08:24] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:08:24] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:08:24] local.INFO: IMEI packet received {"connection_id":89628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":89628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:08:29] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:08:29] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:08:29] local.INFO: IMEI packet received {"connection_id":89628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":89628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:08:30] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:08:30] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87096380012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:08:30] local.INFO: Packet analysis {"connection_id":89628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:08:30] local.INFO: Extracted packet for processing {"connection_id":89628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8709"} 
[2026-06-02 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777735936001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753715712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:30] 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-06-02 12:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382000000,"timestamp_ms":1780382000000,"timestamp_seconds":1780382000,"priority":1,"record_length":96,"hex_timestamp":"0000019e87096380"} 
[2026-06-02 12:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 12:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777735936001,"66":25843,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478728759753715712},"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-06-02 12:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777735936001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753715712,"description":"Unknown IO ID 44"} 
[2026-06-02 12:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777735936001,"power":25843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753715712}} 
[2026-06-02 12:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":89628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:08:30] local.INFO: GPS data processed {"connection_id":89628,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:08:30] local.INFO: Acknowledgment sent {"connection_id":89628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:08:40] local.INFO: TCP Data received {"connection_id":89627,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870b8a48012cf4a5c0074713c0004f00fd24..."} 
[2026-06-02 12:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870b8a48012cf4a5c0074713c0004f00fd24..."} 
[2026-06-02 12:08:40] local.INFO: Processing buffer {"connection_id":89627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870b8a48012cf4a5c0074713c0004f00fd24..."} 
[2026-06-02 12:08:40] local.INFO: Packet analysis {"connection_id":89627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:08:40] local.INFO: Extracted packet for processing {"connection_id":89627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870b"} 
[2026-06-02 12:08:40] local.INFO: GPS Element Parsed {"raw_longitude":754230720,"raw_latitude":122098624,"longitude_deg":75.423072,"latitude_deg":12.2098624,"altitude":79,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2cf4a5c0","hex_latitude":"074713c0","is_valid_coordinates":true} 
[2026-06-02 12:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777822720001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119148392860352512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-798544477669220352,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780382141000,"timestamp_ms":1780382141000,"timestamp_seconds":1780382141,"priority":1,"record_length":96,"hex_timestamp":"0000019e870b8a48"} 
[2026-06-02 12:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 12:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777822720001,"66":28300,"150":206,"28":26368,"24":0,"16":119148392860352512,"44":-798544477669220352},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,28,24,16,44]} 
[2026-06-02 12:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777822720001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:08:40] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-06-02 12:08:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119148392860352512,"km_value":119148392860352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-798544477669220352,"description":"Unknown IO ID 44"} 
[2026-06-02 12:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777822720001,"power":28300,"unknown_150":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-798544477669220352}} 
[2026-06-02 12:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":89627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:08:40] local.INFO: GPS data processed {"connection_id":89627,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:08:40] local.INFO: Acknowledgment sent {"connection_id":89627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:08:42] local.INFO: TCP Data received {"connection_id":89378,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870c9fa0012d181f800721b060004800d12a..."} 
[2026-06-02 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870c9fa0012d181f800721b060004800d12a..."} 
[2026-06-02 12:08:42] local.INFO: Processing buffer {"connection_id":89378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870c9fa0012d181f800721b060004800d12a..."} 
[2026-06-02 12:08:42] local.INFO: Packet analysis {"connection_id":89378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870c"} 
[2026-06-02 12:08:42] local.INFO: Extracted packet for processing {"connection_id":89378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870c"} 
[2026-06-02 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777840896001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382212000,"timestamp_ms":1780382212000,"timestamp_seconds":1780382212,"priority":1,"record_length":96,"hex_timestamp":"0000019e870c9fa0"} 
[2026-06-02 12:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:08:42] 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-06-02 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 12:08:42] 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-06-02 12:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:08:42] 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-06-02 12:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777840896001,"66":12232,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777840896001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:08:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777840896001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":89378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:08:42] local.INFO: GPS data processed {"connection_id":89378,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:08:42] local.INFO: Acknowledgment sent {"connection_id":89378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:08:58] local.INFO: TCP Data received {"connection_id":89772,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:58] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:58] local.INFO: IMEI packet received {"connection_id":89772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":89772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:08:59] local.INFO: TCP Data received {"connection_id":89772,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:59] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:08:59] local.INFO: IMEI packet received {"connection_id":89772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":89772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:09:02] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:09:02] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:09:02] local.INFO: Packet analysis {"connection_id":89628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:02] local.INFO: Extracted packet for processing {"connection_id":89628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:02] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:02] 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-06-02 12:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:09: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-06-02 12:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:09: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-06-02 12:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:09:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:09:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:09:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":89628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:09:02] local.INFO: GPS data processed {"connection_id":89628,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:09:02] local.INFO: Acknowledgment sent {"connection_id":89628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:09:04] local.INFO: TCP Data received {"connection_id":89772,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:09:04] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:09:04] local.INFO: IMEI packet received {"connection_id":89772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":89772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:09:05] local.INFO: TCP Data received {"connection_id":89772,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870da558012cf2c50007474c90004b000c27..."} 
[2026-06-02 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870da558012cf2c50007474c90004b000c27..."} 
[2026-06-02 12:09:05] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870da558012cf2c50007474c90004b000c27..."} 
[2026-06-02 12:09:05] local.INFO: Packet analysis {"connection_id":89772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:05] local.INFO: Extracted packet for processing {"connection_id":89772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:05] local.INFO: GPS Element Parsed {"raw_longitude":754107648,"raw_latitude":122113168,"longitude_deg":75.4107648,"latitude_deg":12.2113168,"altitude":75,"angle":12,"satellites":39,"speed":23,"hex_longitude":"2cf2c500","hex_latitude":"07474c90","is_valid_coordinates":true} 
[2026-06-02 12:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777861376001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119148852421853184,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-954200139789381632,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780382279000,"timestamp_ms":1780382279000,"timestamp_seconds":1780382279,"priority":1,"record_length":96,"hex_timestamp":"0000019e870da558"} 
[2026-06-02 12:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:09: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-06-02 12:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 12:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777861376001,"66":28354,"110":206,"28":26368,"24":23,"16":119148852421853184,"44":-954200139789381632},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,44]} 
[2026-06-02 12:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777861376001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:09:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 12:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119148852421853184,"km_value":119148852421853.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-954200139789381632,"description":"Unknown IO ID 44"} 
[2026-06-02 12:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777861376001,"power":28354,"unknown_110":206,"unknown_28":26368,"ignition":23,"odometer":null,"unknown_44":-954200139789381632}} 
[2026-06-02 12:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":89772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:09:05] local.INFO: GPS data processed {"connection_id":89772,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:09:05] local.INFO: Acknowledgment sent {"connection_id":89772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:09:05] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:09:05] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:09:05] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:09:10] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:09:10] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:09:10] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:09:11] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870cf1a8012d181f800721b060004800d12a..."} 
[2026-06-02 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870cf1a8012d181f800721b060004800d12a..."} 
[2026-06-02 12:09:11] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870cf1a8012d181f800721b060004800d12a..."} 
[2026-06-02 12:09:11] local.INFO: Packet analysis {"connection_id":89629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870c"} 
[2026-06-02 12:09:11] local.INFO: Extracted packet for processing {"connection_id":89629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870c"} 
[2026-06-02 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777846272001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382233000,"timestamp_ms":1780382233000,"timestamp_seconds":1780382233,"priority":1,"record_length":96,"hex_timestamp":"0000019e870cf1a8"} 
[2026-06-02 12:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:09:11] 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-06-02 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 12:09: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-06-02 12:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777846272001,"66":12189,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777846272001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:09:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777846272001,"power":12189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":89629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:09:11] local.INFO: GPS data processed {"connection_id":89629,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:09:11] local.INFO: Acknowledgment sent {"connection_id":89629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:09:24] local.INFO: TCP Data received {"connection_id":89379,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:09:24] local.INFO: Processing buffer {"connection_id":89379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:09:24] local.INFO: IMEI packet received {"connection_id":89379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":89379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:09:29] local.INFO: TCP Data received {"connection_id":89379,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:09:29] local.INFO: Processing buffer {"connection_id":89379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:09:29] local.INFO: IMEI packet received {"connection_id":89379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":89379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:09:30] local.INFO: TCP Data received {"connection_id":89379,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:09:30] local.INFO: Processing buffer {"connection_id":89379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:09:30] local.INFO: Packet analysis {"connection_id":89379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:30] local.INFO: Extracted packet for processing {"connection_id":89379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:30] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:30] 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-06-02 12:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:09:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":89379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:09:30] local.INFO: GPS data processed {"connection_id":89379,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:09:30] local.INFO: Acknowledgment sent {"connection_id":89379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:09:36] local.INFO: TCP Data received {"connection_id":89772,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dd820012cf2cac0074768e00053000027..."} 
[2026-06-02 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dd820012cf2cac0074768e00053000027..."} 
[2026-06-02 12:09:36] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dd820012cf2cac0074768e00053000027..."} 
[2026-06-02 12:09:36] local.INFO: Packet analysis {"connection_id":89772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:36] local.INFO: Extracted packet for processing {"connection_id":89772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":754109120,"raw_latitude":122120416,"longitude_deg":75.410912,"latitude_deg":12.2120416,"altitude":83,"angle":0,"satellites":39,"speed":21,"hex_longitude":"2cf2cac0","hex_latitude":"074768e0","is_valid_coordinates":true} 
[2026-06-02 12:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777863424001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119149213199106048,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-953355714858020864,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780382292000,"timestamp_ms":1780382292000,"timestamp_seconds":1780382292,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dd820"} 
[2026-06-02 12:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 12:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777863424001,"66":28430,"110":206,"28":26368,"24":21,"16":119149213199106048,"44":-953355714858020864},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,44]} 
[2026-06-02 12:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777863424001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:09:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 12:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119149213199106048,"km_value":119149213199106.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:09:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-953355714858020864,"description":"Unknown IO ID 44"} 
[2026-06-02 12:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777863424001,"power":28430,"unknown_110":206,"unknown_28":26368,"ignition":21,"odometer":null,"unknown_44":-953355714858020864}} 
[2026-06-02 12:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":89772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:09:36] local.INFO: GPS data processed {"connection_id":89772,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:09:36] local.INFO: Acknowledgment sent {"connection_id":89772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:09:42] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870d43b0012d181f800721b060004800d12b..."} 
[2026-06-02 12:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870d43b0012d181f800721b060004800d12b..."} 
[2026-06-02 12:09:42] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870d43b0012d181f800721b060004800d12b..."} 
[2026-06-02 12:09:42] local.INFO: Packet analysis {"connection_id":89629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:42] local.INFO: Extracted packet for processing {"connection_id":89629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777851648001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382254000,"timestamp_ms":1780382254000,"timestamp_seconds":1780382254,"priority":1,"record_length":96,"hex_timestamp":"0000019e870d43b0"} 
[2026-06-02 12:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:09:42] 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-06-02 12:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-02 12:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:09:42] 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-06-02 12:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777851648001,"66":12254,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777851648001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:09:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777851648001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":89629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:09:42] local.INFO: GPS data processed {"connection_id":89629,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:09:42] local.INFO: Acknowledgment sent {"connection_id":89629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:09:58] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:09:58] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:09:58] local.INFO: IMEI packet received {"connection_id":89380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":89380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:10:01] local.INFO: TCP Data received {"connection_id":89379,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:01] local.INFO: Processing buffer {"connection_id":89379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:01] local.INFO: Packet analysis {"connection_id":89379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:01] local.INFO: Extracted packet for processing {"connection_id":89379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10: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-06-02 12:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:10: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-06-02 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:10: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-06-02 12:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:10:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":89379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:10:01] local.INFO: GPS data processed {"connection_id":89379,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:10:01] local.INFO: Acknowledgment sent {"connection_id":89379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:10:03] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.25.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:10:03] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:10:03] local.INFO: IMEI packet received {"connection_id":89380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":89380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:10:04] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870df760012cf2c9c0074775180057015d27..."} 
[2026-06-02 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870df760012cf2c9c0074775180057015d27..."} 
[2026-06-02 12:10:04] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870df760012cf2c9c0074775180057015d27..."} 
[2026-06-02 12:10:04] local.INFO: Packet analysis {"connection_id":89380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:04] local.INFO: Extracted packet for processing {"connection_id":89380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:04] local.INFO: GPS Element Parsed {"raw_longitude":754108864,"raw_latitude":122123544,"longitude_deg":75.4108864,"latitude_deg":12.2123544,"altitude":87,"angle":349,"satellites":39,"speed":8,"hex_longitude":"2cf2c9c0","hex_latitude":"07477518","is_valid_coordinates":true} 
[2026-06-02 12:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777866752001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119149367817928704,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-951737233740079104,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780382300000,"timestamp_ms":1780382300000,"timestamp_seconds":1780382300,"priority":1,"record_length":96,"hex_timestamp":"0000019e870df760"} 
[2026-06-02 12:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 12:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777866752001,"66":28267,"110":206,"28":26368,"24":8,"16":119149367817928704,"44":-951737233740079104},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,44]} 
[2026-06-02 12:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777866752001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:10:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 12:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119149367817928704,"km_value":119149367817928.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-951737233740079104,"description":"Unknown IO ID 44"} 
[2026-06-02 12:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777866752001,"power":28267,"unknown_110":206,"unknown_28":26368,"ignition":8,"odometer":null,"unknown_44":-951737233740079104}} 
[2026-06-02 12:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":89380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:10:04] local.INFO: GPS data processed {"connection_id":89380,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:10:04] local.INFO: Acknowledgment sent {"connection_id":89380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:10:04] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:04] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:04] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:10:05] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:05] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:05] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:10:10] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:10] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:10:10] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:10:11] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870d95b8012d181f800721b060004800d12b..."} 
[2026-06-02 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870d95b8012d181f800721b060004800d12b..."} 
[2026-06-02 12:10:11] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870d95b8012d181f800721b060004800d12b..."} 
[2026-06-02 12:10:11] local.INFO: Packet analysis {"connection_id":89773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:11] local.INFO: Extracted packet for processing {"connection_id":89773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777857024001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382275000,"timestamp_ms":1780382275000,"timestamp_seconds":1780382275,"priority":1,"record_length":96,"hex_timestamp":"0000019e870d95b8"} 
[2026-06-02 12:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 12:10:11] 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-06-02 12:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777857024001,"66":12232,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777857024001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:10:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777857024001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":89773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:10:11] local.INFO: GPS data processed {"connection_id":89773,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:10:11] local.INFO: Acknowledgment sent {"connection_id":89773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:10:29] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:10:29] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:10:29] local.INFO: IMEI packet received {"connection_id":89630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":89630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:10:34] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:10:34] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:10:34] local.INFO: IMEI packet received {"connection_id":89630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":89630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:10:35] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:35] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:35] local.INFO: Packet analysis {"connection_id":89630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:35] local.INFO: Extracted packet for processing {"connection_id":89630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:35] 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-06-02 12:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:10:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":89630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:10:35] local.INFO: GPS data processed {"connection_id":89630,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:10:35] local.INFO: Acknowledgment sent {"connection_id":89630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:10:39] local.INFO: TCP Data received {"connection_id":89630,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:39] local.INFO: Processing buffer {"connection_id":89630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:10:39] local.INFO: Packet analysis {"connection_id":89630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:39] local.INFO: Extracted packet for processing {"connection_id":89630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:39] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:39] 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-06-02 12:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:10:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":89630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:10:39] local.INFO: GPS data processed {"connection_id":89630,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:10:39] local.INFO: Acknowledgment sent {"connection_id":89630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:10:42] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870de7c0012d181f800721b060004800d129..."} 
[2026-06-02 12:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870de7c0012d181f800721b060004800d129..."} 
[2026-06-02 12:10:42] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870de7c0012d181f800721b060004800d129..."} 
[2026-06-02 12:10:42] local.INFO: Packet analysis {"connection_id":89773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:42] local.INFO: Extracted packet for processing {"connection_id":89773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777862400001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382296000,"timestamp_ms":1780382296000,"timestamp_seconds":1780382296,"priority":1,"record_length":96,"hex_timestamp":"0000019e870de7c0"} 
[2026-06-02 12:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:10:42] 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-06-02 12:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 12:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:10:42] 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-06-02 12:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777862400001,"66":12189,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777862400001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:10:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777862400001,"power":12189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":89773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:10:42] local.INFO: GPS data processed {"connection_id":89773,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:10:42] local.INFO: Acknowledgment sent {"connection_id":89773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:11:05] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:05] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:05] local.INFO: IMEI packet received {"connection_id":89631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":89631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:11:07] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:07] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:07] local.INFO: IMEI packet received {"connection_id":89631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":89631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:11:10] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:10] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:11:10] local.INFO: IMEI packet received {"connection_id":89631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":89631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:11:11] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870e39c8012d181f800721b060004800d12a..."} 
[2026-06-02 12:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870e39c8012d181f800721b060004800d12a..."} 
[2026-06-02 12:11:11] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870e39c8012d181f800721b060004800d12a..."} 
[2026-06-02 12:11:11] local.INFO: Packet analysis {"connection_id":89631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:11:11] local.INFO: Extracted packet for processing {"connection_id":89631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777867776001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382317000,"timestamp_ms":1780382317000,"timestamp_seconds":1780382317,"priority":1,"record_length":96,"hex_timestamp":"0000019e870e39c8"} 
[2026-06-02 12:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-02 12:11:11] 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-06-02 12:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777867776001,"66":12232,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777867776001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:11:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777867776001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":89631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:11:11] local.INFO: GPS data processed {"connection_id":89631,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:11:11] local.INFO: Acknowledgment sent {"connection_id":89631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:11:16] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870e8bd0012d181f800721b060004800d12a..."} 
[2026-06-02 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870e8bd0012d181f800721b060004800d12a..."} 
[2026-06-02 12:11:16] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870e8bd0012d181f800721b060004800d12a..."} 
[2026-06-02 12:11:16] local.INFO: Packet analysis {"connection_id":89631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:11:16] local.INFO: Extracted packet for processing {"connection_id":89631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648352,"longitude_deg":75.6555648,"latitude_deg":11.9648352,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-06-02 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777873152001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152735665324032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11: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-06-02 12:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780382338000,"timestamp_ms":1780382338000,"timestamp_seconds":1780382338,"priority":1,"record_length":96,"hex_timestamp":"0000019e870e8bd0"} 
[2026-06-02 12:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:11:16] 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-06-02 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 12:11:16] 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-06-02 12:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:11: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-06-02 12:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777873152001,"66":12254,"105":206,"83":41984,"24":0,"16":125152735665324032,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777873152001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:11:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152735665324032,"km_value":125152735665324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777873152001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":89631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:11:16] local.INFO: GPS data processed {"connection_id":89631,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:11:16] local.INFO: Acknowledgment sent {"connection_id":89631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:11:24] local.INFO: TCP Data received {"connection_id":89381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:11:24] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:11:24] local.INFO: IMEI packet received {"connection_id":89381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:11:29] local.INFO: TCP Data received {"connection_id":89381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:11:29] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:11:29] local.INFO: IMEI packet received {"connection_id":89381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:11:30] local.INFO: TCP Data received {"connection_id":89381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:11:30] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:11:30] local.INFO: Packet analysis {"connection_id":89381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:11:30] local.INFO: Extracted packet for processing {"connection_id":89381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:30] 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-06-02 12:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":89381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:11:30] local.INFO: GPS data processed {"connection_id":89381,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:11:30] local.INFO: Acknowledgment sent {"connection_id":89381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:11:45] local.INFO: TCP Data received {"connection_id":89380,"ip":"117.224.25.7","data_length":795,"data_hex":"000000000000030f8e0a0000019e870f2428012cf2674007480008005b011e21..."} 
[2026-06-02 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870f2428012cf2674007480008005b011e21..."} 
[2026-06-02 12:11:45] local.INFO: Processing buffer {"connection_id":89380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870f2428012cf2674007480008005b011e21..."} 
[2026-06-02 12:11:45] local.INFO: Packet analysis {"connection_id":89380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:11:45] local.INFO: Extracted packet for processing {"connection_id":89380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:11:45] local.INFO: GPS Element Parsed {"raw_longitude":754083648,"raw_latitude":122159112,"longitude_deg":75.4083648,"latitude_deg":12.2159112,"altitude":91,"angle":286,"satellites":33,"speed":38,"hex_longitude":"2cf26740","hex_latitude":"07480008","is_valid_coordinates":true} 
[2026-06-02 12:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777888256001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119151584021053440,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-978758831494479872,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780382377000,"timestamp_ms":1780382377000,"timestamp_seconds":1780382377,"priority":1,"record_length":96,"hex_timestamp":"0000019e870f2428"} 
[2026-06-02 12:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 12:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.25.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777888256001,"66":28343,"114":206,"28":26368,"24":38,"16":119151584021053440,"44":-978758831494479872},"client_ip":"117.224.25.7","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,28,24,16,44]} 
[2026-06-02 12:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777888256001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:11:45] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-02 12:11:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119151584021053440,"km_value":119151584021053.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-978758831494479872,"description":"Unknown IO ID 44"} 
[2026-06-02 12:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777888256001,"power":28343,"unknown_114":206,"unknown_28":26368,"ignition":38,"odometer":null,"unknown_44":-978758831494479872}} 
[2026-06-02 12:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":89380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:11:45] local.INFO: GPS data processed {"connection_id":89380,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:11:45] local.INFO: Acknowledgment sent {"connection_id":89380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:11:47] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870ea340012d181e400721b050004700e82c..."} 
[2026-06-02 12:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870ea340012d181e400721b050004700e82c..."} 
[2026-06-02 12:11:47] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870ea340012d181e400721b050004700e82c..."} 
[2026-06-02 12:11:47] local.INFO: Packet analysis {"connection_id":89631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:11:47] local.INFO: Extracted packet for processing {"connection_id":89631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":71,"angle":232,"satellites":44,"speed":1,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-06-02 12:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777878528001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152752845193216,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306634240,"note":"Value kept but may cause issues"} 
[2026-06-02 12:11: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-06-02 12:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780382344000,"timestamp_ms":1780382344000,"timestamp_seconds":1780382344,"priority":1,"record_length":96,"hex_timestamp":"0000019e870ea340"} 
[2026-06-02 12:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 12:11: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-06-02 12:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:11:47] 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-06-02 12:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777878528001,"66":12232,"105":206,"83":41984,"24":1,"16":125152752845193216,"45":1738248749306634240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777878528001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:11:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152752845193216,"km_value":125152752845193.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306634240,"description":"Unknown IO ID 45"} 
[2026-06-02 12:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777878528001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738248749306634240}} 
[2026-06-02 12:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":89631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:11:47] local.INFO: GPS data processed {"connection_id":89631,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:11:47] local.INFO: Acknowledgment sent {"connection_id":89631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:12:01] local.INFO: TCP Data received {"connection_id":89381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:12:01] local.INFO: Processing buffer {"connection_id":89381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:12:01] local.INFO: Packet analysis {"connection_id":89381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:12:01] local.INFO: Extracted packet for processing {"connection_id":89381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:12:01] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12: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-06-02 12:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:12: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-06-02 12:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:12: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-06-02 12:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:12:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:12:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":89381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:12:01] local.INFO: GPS data processed {"connection_id":89381,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:12:01] local.INFO: Acknowledgment sent {"connection_id":89381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:12:05] local.INFO: TCP Data received {"connection_id":89382,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:12:05] local.INFO: Processing buffer {"connection_id":89382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:12:05] local.INFO: IMEI packet received {"connection_id":89382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":89382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:12:11] local.INFO: TCP Data received {"connection_id":89382,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:12:11] local.INFO: Processing buffer {"connection_id":89382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:12:11] local.INFO: IMEI packet received {"connection_id":89382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":89382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:12:11] local.INFO: TCP Data received {"connection_id":89382,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870eab10012d181e000721b010004700dc2d..."} 
[2026-06-02 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870eab10012d181e000721b010004700dc2d..."} 
[2026-06-02 12:12:12] local.INFO: Processing buffer {"connection_id":89382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870eab10012d181e000721b010004700dc2d..."} 
[2026-06-02 12:12:12] local.INFO: Packet analysis {"connection_id":89382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:12:12] local.INFO: Extracted packet for processing {"connection_id":89382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648272,"longitude_deg":75.6555264,"latitude_deg":11.9648272,"altitude":71,"angle":220,"satellites":45,"speed":2,"hex_longitude":"2d181e00","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-06-02 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777880064001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152757140160512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780382346000,"timestamp_ms":1780382346000,"timestamp_seconds":1780382346,"priority":1,"record_length":96,"hex_timestamp":"0000019e870eab10"} 
[2026-06-02 12:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:12:12] 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-06-02 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 12:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:12:12] 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-06-02 12:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777880064001,"66":12178,"105":206,"83":41984,"24":2,"16":125152757140160512,"45":1737896905585741824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777880064001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:12:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152757140160512,"km_value":125152757140160.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-06-02 12:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777880064001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-06-02 12:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":89382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:12:12] local.INFO: GPS data processed {"connection_id":89382,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:12:12] local.INFO: Acknowledgment sent {"connection_id":89382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:12:13] local.INFO: TCP Data received {"connection_id":89632,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:13] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:13] local.INFO: IMEI packet received {"connection_id":89632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":89632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:12:18] local.INFO: TCP Data received {"connection_id":89632,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:18] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:18] local.INFO: IMEI packet received {"connection_id":89632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":89632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:12:20] local.INFO: TCP Data received {"connection_id":89632,"ip":"117.224.69.143","data_length":795,"data_hex":"000000000000030f8e0a0000019e870f4368012cf243c0074805480057011225..."} 
[2026-06-02 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870f4368012cf243c0074805480057011225..."} 
[2026-06-02 12:12:20] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870f4368012cf243c0074805480057011225..."} 
[2026-06-02 12:12:20] local.INFO: Packet analysis {"connection_id":89632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:12:20] local.INFO: Extracted packet for processing {"connection_id":89632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":754074560,"raw_latitude":122160456,"longitude_deg":75.407456,"latitude_deg":12.2160456,"altitude":87,"angle":274,"satellites":37,"speed":47,"hex_longitude":"2cf243c0","hex_latitude":"07480548","is_valid_coordinates":true} 
[2026-06-02 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777888512001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119152017812750336,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-979743993912883200,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780382385000,"timestamp_ms":1780382385000,"timestamp_seconds":1780382385,"priority":1,"record_length":96,"hex_timestamp":"0000019e870f4368"} 
[2026-06-02 12:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 12:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.143","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777888512001,"66":28398,"114":206,"28":26368,"24":47,"16":119152017812750336,"44":-979743993912883200},"client_ip":"117.224.69.143","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,28,24,16,44]} 
[2026-06-02 12:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777888512001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:12:20] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-02 12:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119152017812750336,"km_value":119152017812750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-979743993912883200,"description":"Unknown IO ID 44"} 
[2026-06-02 12:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777888512001,"power":28398,"unknown_114":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_44":-979743993912883200}} 
[2026-06-02 12:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":89632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:12:20] local.INFO: GPS data processed {"connection_id":89632,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:12:20] local.INFO: Acknowledgment sent {"connection_id":89632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:12:24] local.INFO: TCP Data received {"connection_id":90836,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:12:24] local.INFO: Processing buffer {"connection_id":90836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:12:24] local.INFO: IMEI packet received {"connection_id":90836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":90836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:12:29] local.INFO: TCP Data received {"connection_id":90836,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:12:29] local.INFO: Processing buffer {"connection_id":90836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:12:29] local.INFO: IMEI packet received {"connection_id":90836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":90836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:12:30] local.INFO: TCP Data received {"connection_id":90836,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:12:30] local.INFO: Processing buffer {"connection_id":90836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:12:30] local.INFO: Packet analysis {"connection_id":90836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:12:30] local.INFO: Extracted packet for processing {"connection_id":90836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12:12: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-06-02 12:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:30] 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-06-02 12:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 12:12: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":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:12: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-06-02 12:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":90836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:12:30] local.INFO: GPS data processed {"connection_id":90836,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:12:30] local.INFO: Acknowledgment sent {"connection_id":90836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:12:42] local.INFO: TCP Data received {"connection_id":89382,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870efd18012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870efd18012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:12:42] local.INFO: Processing buffer {"connection_id":89382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870efd18012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:12:42] local.INFO: Packet analysis {"connection_id":89382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:12:42] local.INFO: Extracted packet for processing {"connection_id":89382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870e"} 
[2026-06-02 12:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777880576001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841547776,"note":"Value kept but may cause issues"} 
[2026-06-02 12:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382367000,"timestamp_ms":1780382367000,"timestamp_seconds":1780382367,"priority":1,"record_length":96,"hex_timestamp":"0000019e870efd18"} 
[2026-06-02 12:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 12:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:12:42] 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-06-02 12:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777880576001,"66":12232,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737826536841547776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777880576001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:12:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841547776,"description":"Unknown IO ID 45"} 
[2026-06-02 12:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777880576001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841547776}} 
[2026-06-02 12:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":89382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:12:42] local.INFO: GPS data processed {"connection_id":89382,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:12:42] local.INFO: Acknowledgment sent {"connection_id":89382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:12:57] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:57] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:57] local.INFO: IMEI packet received {"connection_id":89383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":89383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:12:58] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:58] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:12:58] local.INFO: IMEI packet received {"connection_id":89383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":89383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:13:01] local.INFO: TCP Data received {"connection_id":90836,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:13:01] local.INFO: Processing buffer {"connection_id":90836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870dfb48012ceb7bc00713b378000d015f2d..."} 
[2026-06-02 12:13:01] local.INFO: Packet analysis {"connection_id":90836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:13:01] local.INFO: Extracted packet for processing {"connection_id":90836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870d"} 
[2026-06-02 12:13:01] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":45,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777792000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13: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-06-02 12:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780382301000,"timestamp_ms":1780382301000,"timestamp_seconds":1780382301,"priority":1,"record_length":96,"hex_timestamp":"0000019e870dfb48"} 
[2026-06-02 12:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:13: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-06-02 12: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 12:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:13: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-06-02 12:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777792000001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777792000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:13:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777792000001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":90836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:13:01] local.INFO: GPS data processed {"connection_id":90836,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:13:01] local.INFO: Acknowledgment sent {"connection_id":90836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:13:03] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:13:03] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:13:03] local.INFO: IMEI packet received {"connection_id":89383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":89383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:13:04] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.69.143","data_length":795,"data_hex":"000000000000030f8e0a0000019e870f4368012cf243c0074805480057011225..."} 
[2026-06-02 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870f4368012cf243c0074805480057011225..."} 
[2026-06-02 12:13:04] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870f4368012cf243c0074805480057011225..."} 
[2026-06-02 12:13:04] local.INFO: Packet analysis {"connection_id":89383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:13:04] local.INFO: Extracted packet for processing {"connection_id":89383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:13:04] local.INFO: GPS Element Parsed {"raw_longitude":754074560,"raw_latitude":122160456,"longitude_deg":75.407456,"latitude_deg":12.2160456,"altitude":87,"angle":274,"satellites":37,"speed":47,"hex_longitude":"2cf243c0","hex_latitude":"07480548","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777890560001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119152017812750336,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-989736355585767424,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780382385000,"timestamp_ms":1780382385000,"timestamp_seconds":1780382385,"priority":1,"record_length":96,"hex_timestamp":"0000019e870f4368"} 
[2026-06-02 12:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:13: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-06-02 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 12:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.143","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777890560001,"66":28398,"114":206,"28":26368,"24":47,"16":119152017812750336,"44":-989736355585767424},"client_ip":"117.224.69.143","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,28,24,16,44]} 
[2026-06-02 12:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777890560001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:13:04] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-02 12:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119152017812750336,"km_value":119152017812750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-989736355585767424,"description":"Unknown IO ID 44"} 
[2026-06-02 12:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777890560001,"power":28398,"unknown_114":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_44":-989736355585767424}} 
[2026-06-02 12:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":89383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:13:04] local.INFO: GPS data processed {"connection_id":89383,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:13:04] local.INFO: Acknowledgment sent {"connection_id":89383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:13:05] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:13:05] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:13:05] local.INFO: IMEI packet received {"connection_id":89774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":89774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:13:11] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:13:11] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:13:11] local.INFO: IMEI packet received {"connection_id":89774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":89774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:13:11] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870f4f20012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870f4f20012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:13:11] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870f4f20012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:13:11] local.INFO: Packet analysis {"connection_id":89774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:13:11] local.INFO: Extracted packet for processing {"connection_id":89774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777885952001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382388000,"timestamp_ms":1780382388000,"timestamp_seconds":1780382388,"priority":1,"record_length":96,"hex_timestamp":"0000019e870f4f20"} 
[2026-06-02 12:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:13:11] 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-06-02 12:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 12:13: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-06-02 12:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777885952001,"66":12113,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777885952001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:13:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777885952001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":89774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:13:12] local.INFO: GPS data processed {"connection_id":89774,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:13:12] local.INFO: Acknowledgment sent {"connection_id":89774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:13:24] local.INFO: TCP Data received {"connection_id":90837,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:13:24] local.INFO: Processing buffer {"connection_id":90837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:13:24] local.INFO: IMEI packet received {"connection_id":90837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":90837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:13:27] local.INFO: TCP Data received {"connection_id":90837,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:13:27] local.INFO: Processing buffer {"connection_id":90837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:13:27] local.INFO: IMEI packet received {"connection_id":90837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":90837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:13:28] local.INFO: TCP Data received {"connection_id":90837,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87121228012ceb7bc00713b378000d015f2c..."} 
[2026-06-02 12:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87121228012ceb7bc00713b378000d015f2c..."} 
[2026-06-02 12:13:28] local.INFO: Processing buffer {"connection_id":90837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87121228012ceb7bc00713b378000d015f2c..."} 
[2026-06-02 12:13:28] local.INFO: Packet analysis {"connection_id":90837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:13:28] local.INFO: Extracted packet for processing {"connection_id":90837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:13:28] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731640,"longitude_deg":75.3630144,"latitude_deg":11.873164,"altitude":13,"angle":351,"satellites":44,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b378","is_valid_coordinates":true} 
[2026-06-02 12:13: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-06-02 12:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777869056001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033243136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:28] 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-06-02 12:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780382569000,"timestamp_ms":1780382569000,"timestamp_seconds":1780382569,"priority":1,"record_length":96,"hex_timestamp":"0000019e87121228"} 
[2026-06-02 12:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:13: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-06-02 12:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 12:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:13: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-06-02 12:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777869056001,"66":25756,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478376916033243136},"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-06-02 12:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777869056001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:13:28] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:13:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033243136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777869056001,"power":25756,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033243136}} 
[2026-06-02 12:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":90837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:13:28] local.INFO: GPS data processed {"connection_id":90837,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:13:28] local.INFO: Acknowledgment sent {"connection_id":90837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:13:40] local.INFO: TCP Data received {"connection_id":89383,"ip":"117.224.69.143","data_length":795,"data_hex":"000000000000030f8e0a0000019e87120670012cf04a800749e3580055016025..."} 
[2026-06-02 12:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87120670012cf04a800749e3580055016025..."} 
[2026-06-02 12:13:40] local.INFO: Processing buffer {"connection_id":89383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87120670012cf04a800749e3580055016025..."} 
[2026-06-02 12:13:40] local.INFO: Packet analysis {"connection_id":89383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:13:40] local.INFO: Extracted packet for processing {"connection_id":89383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:13:40] local.INFO: GPS Element Parsed {"raw_longitude":753945216,"raw_latitude":122282840,"longitude_deg":75.3945216,"latitude_deg":12.228284,"altitude":85,"angle":352,"satellites":37,"speed":49,"hex_longitude":"2cf04a80","hex_latitude":"0749e358","is_valid_coordinates":true} 
[2026-06-02 12:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777935360001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119153783044308992,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129629418981410816,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780382566000,"timestamp_ms":1780382566000,"timestamp_seconds":1780382566,"priority":1,"record_length":96,"hex_timestamp":"0000019e87120670"} 
[2026-06-02 12:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 12:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.143","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777935360001,"66":28256,"42":206,"28":26368,"24":49,"16":119153783044308992,"44":-1129629418981410816},"client_ip":"117.224.69.143","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-02 12:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777935360001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:13:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 12:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119153783044308992,"km_value":119153783044308.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129629418981410816,"description":"Unknown IO ID 44"} 
[2026-06-02 12:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777935360001,"power":28256,"unknown_42":206,"unknown_28":26368,"ignition":49,"odometer":null,"unknown_44":-1129629418981410816}} 
[2026-06-02 12:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":89383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:13:41] local.INFO: GPS data processed {"connection_id":89383,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:13:41] local.INFO: Acknowledgment sent {"connection_id":89383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:13:42] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870fa128012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870fa128012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:13:42] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870fa128012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:13:42] local.INFO: Packet analysis {"connection_id":89774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:13:42] local.INFO: Extracted packet for processing {"connection_id":89774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777891328001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382409000,"timestamp_ms":1780382409000,"timestamp_seconds":1780382409,"priority":1,"record_length":96,"hex_timestamp":"0000019e870fa128"} 
[2026-06-02 12:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-02 12:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:13:42] 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-06-02 12:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777891328001,"66":12211,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777891328001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:13:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777891328001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":89774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:13:42] local.INFO: GPS data processed {"connection_id":89774,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:13:42] local.INFO: Acknowledgment sent {"connection_id":89774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:14:00] local.INFO: TCP Data received {"connection_id":90837,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87126c00012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87126c00012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:14:00] local.INFO: Processing buffer {"connection_id":90837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87126c00012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:14:00] local.INFO: Packet analysis {"connection_id":90837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:00] local.INFO: Extracted packet for processing {"connection_id":90837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:00] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777937664001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033243136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14: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-06-02 12:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780382592000,"timestamp_ms":1780382592000,"timestamp_seconds":1780382592,"priority":1,"record_length":96,"hex_timestamp":"0000019e87126c00"} 
[2026-06-02 12:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-02 12:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:14: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-06-02 12:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777937664001,"66":27876,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478376916033243136},"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-06-02 12:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777937664001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:14:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033243136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777937664001,"power":27876,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033243136}} 
[2026-06-02 12:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":90837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:14:00] local.INFO: GPS data processed {"connection_id":90837,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:14:00] local.INFO: Acknowledgment sent {"connection_id":90837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:14:03] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:03] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:03] local.INFO: IMEI packet received {"connection_id":89384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":89384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:14:04] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:04] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:04] local.INFO: IMEI packet received {"connection_id":89384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":89384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:14:05] local.INFO: TCP Data received {"connection_id":90838,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:14:05] local.INFO: Processing buffer {"connection_id":90838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:14:05] local.INFO: IMEI packet received {"connection_id":90838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":90838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:14:10] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.69.143","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:10] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:14:10] local.INFO: IMEI packet received {"connection_id":89384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 12:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":89384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:14:11] local.INFO: TCP Data received {"connection_id":90838,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:14:11] local.INFO: Processing buffer {"connection_id":90838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:14:11] local.INFO: IMEI packet received {"connection_id":90838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":90838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:14:11] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.69.143","data_length":795,"data_hex":"000000000000030f8e0a0000019e87121de0012cf04500074a00000055014e26..."} 
[2026-06-02 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87121de0012cf04500074a00000055014e26..."} 
[2026-06-02 12:14:11] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87121de0012cf04500074a00000055014e26..."} 
[2026-06-02 12:14:11] local.INFO: Packet analysis {"connection_id":89384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:11] local.INFO: Extracted packet for processing {"connection_id":89384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":753943808,"raw_latitude":122290176,"longitude_deg":75.3943808,"latitude_deg":12.2290176,"altitude":85,"angle":334,"satellites":38,"speed":49,"hex_longitude":"2cf04500","hex_latitude":"074a0000","is_valid_coordinates":true} 
[2026-06-02 12:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777936896001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119154148116529152,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1131951587537496064,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382572000,"timestamp_ms":1780382572000,"timestamp_seconds":1780382572,"priority":1,"record_length":96,"hex_timestamp":"0000019e87121de0"} 
[2026-06-02 12:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 12:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.143","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777936896001,"66":28398,"42":206,"28":26368,"24":49,"16":119154148116529152,"44":-1131951587537496064},"client_ip":"117.224.69.143","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-02 12:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777936896001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:14:11] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 12:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119154148116529152,"km_value":119154148116529.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1131951587537496064,"description":"Unknown IO ID 44"} 
[2026-06-02 12:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777936896001,"power":28398,"unknown_42":206,"unknown_28":26368,"ignition":49,"odometer":null,"unknown_44":-1131951587537496064}} 
[2026-06-02 12:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":89384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:14:11] local.INFO: GPS data processed {"connection_id":89384,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:14:11] local.INFO: Acknowledgment sent {"connection_id":89384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:14:12] local.INFO: TCP Data received {"connection_id":90838,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e870ff330012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e870ff330012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:14:12] local.INFO: Processing buffer {"connection_id":90838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e870ff330012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:14:12] local.INFO: Packet analysis {"connection_id":90838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:14:12] local.INFO: Extracted packet for processing {"connection_id":90838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e870f"} 
[2026-06-02 12:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777896704001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780382430000,"timestamp_ms":1780382430000,"timestamp_seconds":1780382430,"priority":1,"record_length":96,"hex_timestamp":"0000019e870ff330"} 
[2026-06-02 12:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:14:12] 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-06-02 12:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 12:14:12] 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-06-02 12:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:14:12] 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-06-02 12:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777896704001,"66":12254,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777896704001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:14:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777896704001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":90838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:14:12] local.INFO: GPS data processed {"connection_id":90838,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:14:12] local.INFO: Acknowledgment sent {"connection_id":90838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:14:14] local.INFO: TCP Data received {"connection_id":89384,"ip":"117.224.69.143","data_length":795,"data_hex":"000000000000030f8e0a0000019e871225b0012cf03f80074a08000055013e27..."} 
[2026-06-02 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871225b0012cf03f80074a08000055013e27..."} 
[2026-06-02 12:14:14] local.INFO: Processing buffer {"connection_id":89384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871225b0012cf03f80074a08000055013e27..."} 
[2026-06-02 12:14:14] local.INFO: Packet analysis {"connection_id":89384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:14] local.INFO: Extracted packet for processing {"connection_id":89384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":753942400,"raw_latitude":122292224,"longitude_deg":75.39424,"latitude_deg":12.2292224,"altitude":85,"angle":318,"satellites":39,"speed":48,"hex_longitude":"2cf03f80","hex_latitude":"074a0800","is_valid_coordinates":true} 
[2026-06-02 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777938432001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119154264080646144,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1133499699907526656,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780382574000,"timestamp_ms":1780382574000,"timestamp_seconds":1780382574,"priority":1,"record_length":96,"hex_timestamp":"0000019e871225b0"} 
[2026-06-02 12:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 12:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 12:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.143","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 12:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 12:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777938432001,"66":28430,"42":206,"28":26368,"24":48,"16":119154264080646144,"44":-1133499699907526656},"client_ip":"117.224.69.143","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-02 12:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 12:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 12:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777938432001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:14:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 12:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-02 12:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119154264080646144,"km_value":119154264080646.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1133499699907526656,"description":"Unknown IO ID 44"} 
[2026-06-02 12:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777938432001,"power":28430,"unknown_42":206,"unknown_28":26368,"ignition":48,"odometer":null,"unknown_44":-1133499699907526656}} 
[2026-06-02 12:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":89384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:14:14] local.INFO: GPS data processed {"connection_id":89384,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:14:14] local.INFO: Acknowledgment sent {"connection_id":89384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:14:24] local.INFO: TCP Data received {"connection_id":89633,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:14:24] local.INFO: Processing buffer {"connection_id":89633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:14:24] local.INFO: IMEI packet received {"connection_id":89633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":89633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:14:29] local.INFO: TCP Data received {"connection_id":89633,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:14:29] local.INFO: Processing buffer {"connection_id":89633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:14:29] local.INFO: IMEI packet received {"connection_id":89633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":89633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:14:38] local.INFO: TCP Data received {"connection_id":89633,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8712be08012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8712be08012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:14:38] local.INFO: Processing buffer {"connection_id":89633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8712be08012ceb7b800713b340000d015f2b..."} 
[2026-06-02 12:14:38] local.INFO: Packet analysis {"connection_id":89633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:38] local.INFO: Extracted packet for processing {"connection_id":89633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8712"} 
[2026-06-02 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777943552001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:38] 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-06-02 12:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780382613000,"timestamp_ms":1780382613000,"timestamp_seconds":1780382613,"priority":1,"record_length":96,"hex_timestamp":"0000019e8712be08"} 
[2026-06-02 12:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12: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-06-02 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 12:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777943552001,"66":28028,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777943552001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:14:38] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:14:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777943552001,"power":28028,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":89633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:14:38] local.INFO: GPS data processed {"connection_id":89633,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:14:38] local.INFO: Acknowledgment sent {"connection_id":89633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:14:42] local.INFO: TCP Data received {"connection_id":90838,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87104538012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87104538012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:14:43] local.INFO: Processing buffer {"connection_id":90838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87104538012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:14:43] local.INFO: Packet analysis {"connection_id":90838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8710"} 
[2026-06-02 12:14:43] local.INFO: Extracted packet for processing {"connection_id":90838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8710"} 
[2026-06-02 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777902080001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780382451000,"timestamp_ms":1780382451000,"timestamp_seconds":1780382451,"priority":1,"record_length":96,"hex_timestamp":"0000019e87104538"} 
[2026-06-02 12:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:14:43] 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-06-02 12:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 12:14:43] 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-06-02 12:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:14:43] 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-06-02 12:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777902080001,"66":12211,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777902080001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:14:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777902080001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":90838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:14:43] local.INFO: GPS data processed {"connection_id":90838,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:14:43] local.INFO: Acknowledgment sent {"connection_id":90838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:15:05] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:15:05] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:15:05] local.INFO: IMEI packet received {"connection_id":89634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":89634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:15:09] local.INFO: TCP Data received {"connection_id":89633,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87131010012ceb7b800713b340000d015f2c..."} 
[2026-06-02 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87131010012ceb7b800713b340000d015f2c..."} 
[2026-06-02 12:15:09] local.INFO: Processing buffer {"connection_id":89633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87131010012ceb7b800713b340000d015f2c..."} 
[2026-06-02 12:15:09] local.INFO: Packet analysis {"connection_id":89633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8713"} 
[2026-06-02 12:15:09] local.INFO: Extracted packet for processing {"connection_id":89633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8713"} 
[2026-06-02 12:15:09] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731584,"longitude_deg":75.363008,"latitude_deg":11.8731584,"altitude":13,"angle":351,"satellites":44,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b340","is_valid_coordinates":true} 
[2026-06-02 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777948928001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305499615015206912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777435136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:09] 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-06-02 12:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780382634000,"timestamp_ms":1780382634000,"timestamp_seconds":1780382634,"priority":1,"record_length":96,"hex_timestamp":"0000019e87131010"} 
[2026-06-02 12:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:15: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-06-02 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 12:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777948928001,"66":27767,"191":206,"83":41472,"24":0,"16":305499615015206912,"44":-1478447284777435136},"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-06-02 12:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777948928001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:15:09] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-02 12:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-06-02 12:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305499615015206912,"km_value":305499615015206.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777435136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777948928001,"power":27767,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777435136}} 
[2026-06-02 12:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":89633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:15:09] local.INFO: GPS data processed {"connection_id":89633,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:15:09] local.INFO: Acknowledgment sent {"connection_id":89633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:15:10] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:15:10] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:15:10] local.INFO: IMEI packet received {"connection_id":89634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":89634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:15:11] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87109740012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87109740012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:15:11] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87109740012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:15:11] local.INFO: Packet analysis {"connection_id":89634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8710"} 
[2026-06-02 12:15:11] local.INFO: Extracted packet for processing {"connection_id":89634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8710"} 
[2026-06-02 12:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777907456001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382472000,"timestamp_ms":1780382472000,"timestamp_seconds":1780382472,"priority":1,"record_length":96,"hex_timestamp":"0000019e87109740"} 
[2026-06-02 12:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:15:11] 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-06-02 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 12:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777907456001,"66":12200,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777907456001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:15:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777907456001,"power":12200,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":89634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:15:11] local.INFO: GPS data processed {"connection_id":89634,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:15:11] local.INFO: Acknowledgment sent {"connection_id":89634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:15:27] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:27] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:27] local.INFO: IMEI packet received {"connection_id":89775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":89775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:15:29] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:29] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:29] local.INFO: IMEI packet received {"connection_id":89775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":89775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:15:30] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:30] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:30] local.INFO: IMEI packet received {"connection_id":89775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":89775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:15:32] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:32] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:15:32] local.INFO: IMEI packet received {"connection_id":89775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":89775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:15:42] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8710e948012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8710e948012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:15:42] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8710e948012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:15:42] local.INFO: Packet analysis {"connection_id":89634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8710"} 
[2026-06-02 12:15:42] local.INFO: Extracted packet for processing {"connection_id":89634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8710"} 
[2026-06-02 12:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777912832001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382493000,"timestamp_ms":1780382493000,"timestamp_seconds":1780382493,"priority":1,"record_length":96,"hex_timestamp":"0000019e8710e948"} 
[2026-06-02 12:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:15:42] 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-06-02 12:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-02 12:15:42] 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-06-02 12:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:15:42] 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-06-02 12:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777912832001,"66":12265,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777912832001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:15:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777912832001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":89634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:15:42] local.INFO: GPS data processed {"connection_id":89634,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:15:42] local.INFO: Acknowledgment sent {"connection_id":89634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:16:21] local.INFO: TCP Data received {"connection_id":89776,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:16:21] local.INFO: Processing buffer {"connection_id":89776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:16:21] local.INFO: IMEI packet received {"connection_id":89776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":89776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:16:22] local.INFO: TCP Data received {"connection_id":89776,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:16:22] local.INFO: Processing buffer {"connection_id":89776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:16:22] local.INFO: IMEI packet received {"connection_id":89776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":89776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:16:23] local.INFO: TCP Data received {"connection_id":89776,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87113b50012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87113b50012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:16:23] local.INFO: Processing buffer {"connection_id":89776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87113b50012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:16:23] local.INFO: Packet analysis {"connection_id":89776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8711"} 
[2026-06-02 12:16:23] local.INFO: Extracted packet for processing {"connection_id":89776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8711"} 
[2026-06-02 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 12:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777918208001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780382514000,"timestamp_ms":1780382514000,"timestamp_seconds":1780382514,"priority":1,"record_length":96,"hex_timestamp":"0000019e87113b50"} 
[2026-06-02 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-06-02 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 12:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 12:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777918208001,"66":12265,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777918208001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:16:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777918208001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":89776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:16:23] local.INFO: GPS data processed {"connection_id":89776,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:16:23] local.INFO: Acknowledgment sent {"connection_id":89776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:17:04] local.INFO: TCP Data received {"connection_id":90839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:04] local.INFO: Processing buffer {"connection_id":90839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:04] local.INFO: IMEI packet received {"connection_id":90839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":90839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:17:05] local.INFO: TCP Data received {"connection_id":90839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:05] local.INFO: Processing buffer {"connection_id":90839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:05] local.INFO: IMEI packet received {"connection_id":90839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":90839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:17:11] local.INFO: TCP Data received {"connection_id":90839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:11] local.INFO: Processing buffer {"connection_id":90839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:17:11] local.INFO: IMEI packet received {"connection_id":90839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":90839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:17:11] local.INFO: TCP Data received {"connection_id":90839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8714c1a8012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8714c1a8012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:17:11] local.INFO: Processing buffer {"connection_id":90839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8714c1a8012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:17:11] local.INFO: Packet analysis {"connection_id":90839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8714"} 
[2026-06-02 12:17:11] local.INFO: Extracted packet for processing {"connection_id":90839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8714"} 
[2026-06-02 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777977344001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382745000,"timestamp_ms":1780382745000,"timestamp_seconds":1780382745,"priority":1,"record_length":96,"hex_timestamp":"0000019e8714c1a8"} 
[2026-06-02 12:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 12:17:11] 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-06-02 12: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-06-02 12:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777977344001,"66":11961,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777977344001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:17:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777977344001,"power":11961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":90839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:17:11] local.INFO: GPS data processed {"connection_id":90839,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:17:11] local.INFO: Acknowledgment sent {"connection_id":90839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:17:42] local.INFO: TCP Data received {"connection_id":90839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871513b0012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871513b0012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:17:42] local.INFO: Processing buffer {"connection_id":90839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871513b0012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:17:42] local.INFO: Packet analysis {"connection_id":90839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8715"} 
[2026-06-02 12:17:42] local.INFO: Extracted packet for processing {"connection_id":90839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8715"} 
[2026-06-02 12:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777982720001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382766000,"timestamp_ms":1780382766000,"timestamp_seconds":1780382766,"priority":1,"record_length":96,"hex_timestamp":"0000019e871513b0"} 
[2026-06-02 12:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:17:42] 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-06-02 12:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 12:17:42] 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-06-02 12:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:17:42] 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-06-02 12:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777982720001,"66":12211,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777982720001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:17:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777982720001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":90839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:17:42] local.INFO: GPS data processed {"connection_id":90839,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:17:42] local.INFO: Acknowledgment sent {"connection_id":90839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:18:05] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:05] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:05] local.INFO: IMEI packet received {"connection_id":89386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":89386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:18:07] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:07] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:07] local.INFO: IMEI packet received {"connection_id":89386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":89386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:18:11] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:11] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:18:11] local.INFO: IMEI packet received {"connection_id":89386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":89386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:18:11] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871565b8012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871565b8012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:18:11] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871565b8012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:18:11] local.INFO: Packet analysis {"connection_id":89386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8715"} 
[2026-06-02 12:18:11] local.INFO: Extracted packet for processing {"connection_id":89386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8715"} 
[2026-06-02 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777988096001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382787000,"timestamp_ms":1780382787000,"timestamp_seconds":1780382787,"priority":1,"record_length":96,"hex_timestamp":"0000019e871565b8"} 
[2026-06-02 12:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 12:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777988096001,"66":12211,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777988096001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:18:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777988096001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":89386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:18:11] local.INFO: GPS data processed {"connection_id":89386,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:18:11] local.INFO: Acknowledgment sent {"connection_id":89386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:18:16] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8715b7c0012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8715b7c0012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:18:16] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8715b7c0012d181dc00721afc8004700d82c..."} 
[2026-06-02 12:18:16] local.INFO: Packet analysis {"connection_id":89386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8715"} 
[2026-06-02 12:18:16] local.INFO: Extracted packet for processing {"connection_id":89386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8715"} 
[2026-06-02 12:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777993472001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18: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-06-02 12:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780382808000,"timestamp_ms":1780382808000,"timestamp_seconds":1780382808,"priority":1,"record_length":96,"hex_timestamp":"0000019e8715b7c0"} 
[2026-06-02 12:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 12:18:16] 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-06-02 12:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:18: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-06-02 12:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777993472001,"66":12374,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777993472001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:18:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777993472001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":89386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:18:16] local.INFO: GPS data processed {"connection_id":89386,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:18:16] local.INFO: Acknowledgment sent {"connection_id":89386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:18:38] local.INFO: TCP Data received {"connection_id":89778,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:18:38] local.INFO: Processing buffer {"connection_id":89778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:18:38] local.INFO: IMEI packet received {"connection_id":89778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":89778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:18:47] local.INFO: TCP Data received {"connection_id":89386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871609c8012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871609c8012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:18:47] local.INFO: Processing buffer {"connection_id":89386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871609c8012d181dc00721afc8004700d82d..."} 
[2026-06-02 12:18:47] local.INFO: Packet analysis {"connection_id":89386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:18:47] local.INFO: Extracted packet for processing {"connection_id":89386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 12:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455777998848001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:18: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-06-02 12:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780382829000,"timestamp_ms":1780382829000,"timestamp_seconds":1780382829,"priority":1,"record_length":96,"hex_timestamp":"0000019e871609c8"} 
[2026-06-02 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-06-02 12:18: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-06-02 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 12:18: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-06-02 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-06-02 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-06-02 12:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:18:47] 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-06-02 12:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455777998848001,"66":12178,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455777998848001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:18:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455777998848001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":89386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:18:47] local.INFO: GPS data processed {"connection_id":89386,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:18:47] local.INFO: Acknowledgment sent {"connection_id":89386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:19:05] local.INFO: TCP Data received {"connection_id":90840,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:19:05] local.INFO: Processing buffer {"connection_id":90840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:19:05] local.INFO: IMEI packet received {"connection_id":90840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":90840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:19:08] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:19:08] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:19:08] local.INFO: IMEI packet received {"connection_id":89636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":89636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:19:11] local.INFO: TCP Data received {"connection_id":90840,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:19:11] local.INFO: Processing buffer {"connection_id":90840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:19:11] local.INFO: IMEI packet received {"connection_id":90840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":90840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:19:12] local.INFO: TCP Data received {"connection_id":90840,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87165bd0012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87165bd0012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:19:12] local.INFO: Processing buffer {"connection_id":90840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87165bd0012d181dc00721afc8004700d82e..."} 
[2026-06-02 12:19:12] local.INFO: Packet analysis {"connection_id":90840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:19:12] local.INFO: Extracted packet for processing {"connection_id":90840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648200,"longitude_deg":75.65552,"latitude_deg":11.96482,"altitude":71,"angle":216,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-06-02 12:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778004224001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152761435127808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780382850000,"timestamp_ms":1780382850000,"timestamp_seconds":1780382850,"priority":1,"record_length":96,"hex_timestamp":"0000019e87165bd0"} 
[2026-06-02 12:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 12:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:19:12] 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-06-02 12:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778004224001,"66":12004,"105":206,"83":41984,"24":0,"16":125152761435127808,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778004224001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:19:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152761435127808,"km_value":125152761435127.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778004224001,"power":12004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":90840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:19:12] local.INFO: GPS data processed {"connection_id":90840,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:19:12] local.INFO: Acknowledgment sent {"connection_id":90840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:19:43] local.INFO: TCP Data received {"connection_id":90840,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8716add8012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8716add8012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:19:43] local.INFO: Processing buffer {"connection_id":90840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8716add8012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:19:43] local.INFO: Packet analysis {"connection_id":90840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:19:43] local.INFO: Extracted packet for processing {"connection_id":90840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647648,"longitude_deg":75.6555264,"latitude_deg":11.9647648,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-06-02 12:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778009600001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152795794866176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097351680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780382871000,"timestamp_ms":1780382871000,"timestamp_seconds":1780382871,"priority":1,"record_length":96,"hex_timestamp":"0000019e8716add8"} 
[2026-06-02 12:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:19:43] 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-06-02 12:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 12:19:43] 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-06-02 12:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:19:43] 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-06-02 12:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778009600001,"66":11961,"105":206,"83":41984,"24":0,"16":125152795794866176,"45":1737756168097351680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778009600001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:19:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152795794866176,"km_value":125152795794866.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097351680,"description":"Unknown IO ID 45"} 
[2026-06-02 12:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778009600001,"power":11961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097351680}} 
[2026-06-02 12:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":90840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:19:43] local.INFO: GPS data processed {"connection_id":90840,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:19:43] local.INFO: Acknowledgment sent {"connection_id":90840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:20:05] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:20:05] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:20:05] local.INFO: IMEI packet received {"connection_id":89638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":89638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:20:11] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:20:11] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:20:11] local.INFO: IMEI packet received {"connection_id":89638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":89638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:20:11] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8716ffe0012d181e000721ada0004b00d22f..."} 
[2026-06-02 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8716ffe0012d181e000721ada0004b00d22f..."} 
[2026-06-02 12:20:11] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8716ffe0012d181e000721ada0004b00d22f..."} 
[2026-06-02 12:20:11] local.INFO: Packet analysis {"connection_id":89638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:20:11] local.INFO: Extracted packet for processing {"connection_id":89638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8716"} 
[2026-06-02 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647648,"longitude_deg":75.6555264,"latitude_deg":11.9647648,"altitude":75,"angle":210,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-06-02 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778014976001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152795794866176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841388032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382892000,"timestamp_ms":1780382892000,"timestamp_seconds":1780382892,"priority":1,"record_length":96,"hex_timestamp":"0000019e8716ffe0"} 
[2026-06-02 12:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 12:20:11] 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-06-02 12:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778014976001,"66":12113,"105":206,"83":41984,"24":0,"16":125152795794866176,"45":1737826536841388032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778014976001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:20:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152795794866176,"km_value":125152795794866.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841388032,"description":"Unknown IO ID 45"} 
[2026-06-02 12:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778014976001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841388032}} 
[2026-06-02 12:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":89638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:20:12] local.INFO: GPS data processed {"connection_id":89638,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:20:12] local.INFO: Acknowledgment sent {"connection_id":89638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:20:42] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871751e8012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871751e8012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:20:42] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871751e8012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:20:42] local.INFO: Packet analysis {"connection_id":89638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:20:42] local.INFO: Extracted packet for processing {"connection_id":89638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647648,"longitude_deg":75.6555264,"latitude_deg":11.9647648,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-06-02 12:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778020352001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152795794866176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841388032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780382913000,"timestamp_ms":1780382913000,"timestamp_seconds":1780382913,"priority":1,"record_length":96,"hex_timestamp":"0000019e871751e8"} 
[2026-06-02 12:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:20:42] 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-06-02 12:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-02 12:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:20:42] 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-06-02 12:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778020352001,"66":12178,"105":206,"83":41984,"24":0,"16":125152795794866176,"45":1737826536841388032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778020352001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:20:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152795794866176,"km_value":125152795794866.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841388032,"description":"Unknown IO ID 45"} 
[2026-06-02 12:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778020352001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841388032}} 
[2026-06-02 12:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":89638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:20:42] local.INFO: GPS data processed {"connection_id":89638,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:20:42] local.INFO: Acknowledgment sent {"connection_id":89638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:21:03] local.INFO: TCP Data received {"connection_id":89639,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:03] local.INFO: Processing buffer {"connection_id":89639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:03] local.INFO: IMEI packet received {"connection_id":89639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":89639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:21:04] local.INFO: TCP Data received {"connection_id":89639,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871732a8012cea158007150b780009014429..."} 
[2026-06-02 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871732a8012cea158007150b780009014429..."} 
[2026-06-02 12:21:04] local.INFO: Processing buffer {"connection_id":89639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871732a8012cea158007150b780009014429..."} 
[2026-06-02 12:21:04] local.INFO: Packet analysis {"connection_id":89639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:21:04] local.INFO: Extracted packet for processing {"connection_id":89639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:21:04] local.INFO: GPS Element Parsed {"raw_longitude":753538432,"raw_latitude":118819704,"longitude_deg":75.3538432,"latitude_deg":11.8819704,"altitude":9,"angle":324,"satellites":41,"speed":36,"hex_longitude":"2cea1580","hex_latitude":"07150b78","is_valid_coordinates":true} 
[2026-06-02 12:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778020864001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305506048876216320,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1572178452001400832,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:04] 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-06-02 12:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780382905000,"timestamp_ms":1780382905000,"timestamp_seconds":1780382905,"priority":1,"record_length":96,"hex_timestamp":"0000019e871732a8"} 
[2026-06-02 12:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:21: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-06-02 12:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 12:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778020864001,"66":28028,"83":41216,"24":36,"16":305506048876216320,"44":-1572178452001400832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-06-02 12:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778020864001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305506048876216320,"km_value":305506048876216.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1572178452001400832,"description":"Unknown IO ID 44"} 
[2026-06-02 12:21:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455778020864001,"power":28028,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1572178452001400832}} 
[2026-06-02 12:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":89639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:21:04] local.INFO: GPS data processed {"connection_id":89639,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:21:04] local.INFO: Acknowledgment sent {"connection_id":89639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:21:05] local.INFO: TCP Data received {"connection_id":89387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:21:05] local.INFO: Processing buffer {"connection_id":89387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:21:05] local.INFO: IMEI packet received {"connection_id":89387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":89387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:21:11] local.INFO: TCP Data received {"connection_id":89387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:21:11] local.INFO: Processing buffer {"connection_id":89387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:21:11] local.INFO: IMEI packet received {"connection_id":89387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":89387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:21:11] local.INFO: TCP Data received {"connection_id":89387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8717a3f0012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8717a3f0012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:21:11] local.INFO: Processing buffer {"connection_id":89387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8717a3f0012d181e000721ada0004b00d22e..."} 
[2026-06-02 12:21:11] local.INFO: Packet analysis {"connection_id":89387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:21:11] local.INFO: Extracted packet for processing {"connection_id":89387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647648,"longitude_deg":75.6555264,"latitude_deg":11.9647648,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778025728001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125152795794866176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841388032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780382934000,"timestamp_ms":1780382934000,"timestamp_seconds":1780382934,"priority":1,"record_length":96,"hex_timestamp":"0000019e8717a3f0"} 
[2026-06-02 12:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 12:21:11] 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-06-02 12: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-06-02 12:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778025728001,"66":12211,"105":206,"83":41984,"24":0,"16":125152795794866176,"45":1737826536841388032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 12:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778025728001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:21:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 12:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125152795794866176,"km_value":125152795794866.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841388032,"description":"Unknown IO ID 45"} 
[2026-06-02 12:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778025728001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841388032}} 
[2026-06-02 12:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":89387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:21:12] local.INFO: GPS data processed {"connection_id":89387,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:21:12] local.INFO: Acknowledgment sent {"connection_id":89387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:21:24] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:24] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:24] local.INFO: IMEI packet received {"connection_id":89640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":89640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:21:29] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:29] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:21:29] local.INFO: IMEI packet received {"connection_id":89640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":89640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:21:30] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87176188012cea0700071520e0000801522c..."} 
[2026-06-02 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87176188012cea0700071520e0000801522c..."} 
[2026-06-02 12:21:30] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87176188012cea0700071520e0000801522c..."} 
[2026-06-02 12:21:30] local.INFO: Packet analysis {"connection_id":89640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:21:30] local.INFO: Extracted packet for processing {"connection_id":89640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":753534720,"raw_latitude":118825184,"longitude_deg":75.353472,"latitude_deg":11.8825184,"altitude":8,"angle":338,"satellites":44,"speed":9,"hex_longitude":"2cea0700","hex_latitude":"071520e0","is_valid_coordinates":true} 
[2026-06-02 12:21: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-06-02 12:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778023680001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305506366703796224,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579215326417291264,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21: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-06-02 12:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780382917000,"timestamp_ms":1780382917000,"timestamp_seconds":1780382917,"priority":1,"record_length":96,"hex_timestamp":"0000019e87176188"} 
[2026-06-02 12:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:21:30] 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-06-02 12:21: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":124,"data_length":795,"current_offset":136} 
[2026-06-02 12:21:30] 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-06-02 12:21: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-06-02 12:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778023680001,"66":27984,"83":41216,"24":9,"16":305506366703796224,"44":-1579215326417291264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-06-02 12:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778023680001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305506366703796224,"km_value":305506366703796.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579215326417291264,"description":"Unknown IO ID 44"} 
[2026-06-02 12:21:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455778023680001,"power":27984,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1579215326417291264}} 
[2026-06-02 12:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":89640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:21:30] local.INFO: GPS data processed {"connection_id":89640,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:21:30] local.INFO: Acknowledgment sent {"connection_id":89640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:21:43] local.INFO: TCP Data received {"connection_id":89387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87197c98012d185780072188d0004e00742c..."} 
[2026-06-02 12:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87197c98012d185780072188d0004e00742c..."} 
[2026-06-02 12:21:43] local.INFO: Processing buffer {"connection_id":89387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87197c98012d185780072188d0004e00742c..."} 
[2026-06-02 12:21:43] local.INFO: Packet analysis {"connection_id":89387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:21:43] local.INFO: Extracted packet for processing {"connection_id":89387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756569984,"raw_latitude":119638224,"longitude_deg":75.6569984,"latitude_deg":11.9638224,"altitude":78,"angle":116,"satellites":44,"speed":40,"hex_longitude":"2d185780","hex_latitude":"072188d0","is_valid_coordinates":true} 
[2026-06-02 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778059264001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125153684853096448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723815954432,"note":"Value kept but may cause issues"} 
[2026-06-02 12:21:43] 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-06-02 12:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780383055000,"timestamp_ms":1780383055000,"timestamp_seconds":1780383055,"priority":1,"record_length":96,"hex_timestamp":"0000019e87197c98"} 
[2026-06-02 12:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-02 12:21:43] 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-06-02 12:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:21:43] 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-06-02 12:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778059264001,"66":13798,"106":206,"83":41984,"24":40,"16":125153684853096448,"45":1744159723815954432},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 12:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778059264001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:21:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 12:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125153684853096448,"km_value":125153684853096.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723815954432,"description":"Unknown IO ID 45"} 
[2026-06-02 12:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778059264001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1744159723815954432}} 
[2026-06-02 12:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":89387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:21:43] local.INFO: GPS data processed {"connection_id":89387,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:21:43] local.INFO: Acknowledgment sent {"connection_id":89387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:22:01] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87176958012cea0600071522780009013f2d..."} 
[2026-06-02 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87176958012cea0600071522780009013f2d..."} 
[2026-06-02 12:22:01] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87176958012cea0600071522780009013f2d..."} 
[2026-06-02 12:22:01] local.INFO: Packet analysis {"connection_id":89640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:22:01] local.INFO: Extracted packet for processing {"connection_id":89640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8717"} 
[2026-06-02 12:22:01] local.INFO: GPS Element Parsed {"raw_longitude":753534464,"raw_latitude":118825592,"longitude_deg":75.3534464,"latitude_deg":11.8825592,"altitude":9,"angle":319,"satellites":45,"speed":8,"hex_longitude":"2cea0600","hex_latitude":"07152278","is_valid_coordinates":true} 
[2026-06-02 12:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778026752001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305506392473600000,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583296713578192896,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:01] 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-06-02 12:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780382919000,"timestamp_ms":1780382919000,"timestamp_seconds":1780382919,"priority":1,"record_length":96,"hex_timestamp":"0000019e87176958"} 
[2026-06-02 12:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:22: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-06-02 12:22:01] local.INFO: IO Element 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-06-02 12:22:01] 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-06-02 12:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:22: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-06-02 12:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778026752001,"66":27930,"83":41216,"24":8,"16":305506392473600000,"44":-1583296713578192896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-06-02 12:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778026752001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305506392473600000,"km_value":305506392473600,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583296713578192896,"description":"Unknown IO ID 44"} 
[2026-06-02 12:22:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455778026752001,"power":27930,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1583296713578192896}} 
[2026-06-02 12:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":89640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:22:01] local.INFO: GPS data processed {"connection_id":89640,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:22:01] local.INFO: Acknowledgment sent {"connection_id":89640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:22:05] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:05] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:05] local.INFO: IMEI packet received {"connection_id":89641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":89641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:22:07] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:07] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:07] local.INFO: IMEI packet received {"connection_id":89641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":89641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:22:09] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:09] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:09] local.INFO: IMEI packet received {"connection_id":89641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":89641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:22:10] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:10] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:22:10] local.INFO: IMEI packet received {"connection_id":89641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":89641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:22:11] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87198c38012d1866c007218300004c00642b..."} 
[2026-06-02 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87198c38012d1866c007218300004c00642b..."} 
[2026-06-02 12:22:11] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87198c38012d1866c007218300004c00642b..."} 
[2026-06-02 12:22:11] local.INFO: Packet analysis {"connection_id":89641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:22:11] local.INFO: Extracted packet for processing {"connection_id":89641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119636736,"longitude_deg":75.6573888,"latitude_deg":11.9636736,"altitude":76,"angle":100,"satellites":43,"speed":39,"hex_longitude":"2d1866c0","hex_latitude":"07218300","is_valid_coordinates":true} 
[2026-06-02 12:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778062080001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125153886716559360,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754011347999838208,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:11] 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-06-02 12:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780383059000,"timestamp_ms":1780383059000,"timestamp_seconds":1780383059,"priority":1,"record_length":96,"hex_timestamp":"0000019e87198c38"} 
[2026-06-02 12:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 12:22:11] 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-06-02 12:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778062080001,"66":13928,"106":206,"83":41984,"24":39,"16":125153886716559360,"45":1754011347999838208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 12:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778062080001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 12:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125153886716559360,"km_value":125153886716559.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754011347999838208,"description":"Unknown IO ID 45"} 
[2026-06-02 12:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778062080001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1754011347999838208}} 
[2026-06-02 12:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":89641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:22:11] local.INFO: GPS data processed {"connection_id":89641,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:22:11] local.INFO: Acknowledgment sent {"connection_id":89641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:22:13] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87199408012d186ec007218290004b00562b..."} 
[2026-06-02 12:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87199408012d186ec007218290004b00562b..."} 
[2026-06-02 12:22:13] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87199408012d186ec007218290004b00562b..."} 
[2026-06-02 12:22:13] local.INFO: Packet analysis {"connection_id":89641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:22:13] local.INFO: Extracted packet for processing {"connection_id":89641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756575936,"raw_latitude":119636624,"longitude_deg":75.6575936,"latitude_deg":11.9636624,"altitude":75,"angle":86,"satellites":43,"speed":41,"hex_longitude":"2d186ec0","hex_latitude":"07218290","is_valid_coordinates":true} 
[2026-06-02 12:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778063104001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125153981205839872,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758303841394294784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780383061000,"timestamp_ms":1780383061000,"timestamp_seconds":1780383061,"priority":1,"record_length":96,"hex_timestamp":"0000019e87199408"} 
[2026-06-02 12:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 12:22:13] 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-06-02 12:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:22:13] 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-06-02 12:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778063104001,"66":13928,"106":206,"83":41984,"24":41,"16":125153981205839872,"45":1758303841394294784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 12:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778063104001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:22:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 12:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125153981205839872,"km_value":125153981205839.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758303841394294784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778063104001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1758303841394294784}} 
[2026-06-02 12:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":89641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:22:13] local.INFO: GPS data processed {"connection_id":89641,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:22:13] local.INFO: Acknowledgment sent {"connection_id":89641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:22:24] local.INFO: TCP Data received {"connection_id":90842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:24] local.INFO: Processing buffer {"connection_id":90842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:24] local.INFO: IMEI packet received {"connection_id":90842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":90842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:22:27] local.INFO: TCP Data received {"connection_id":90842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:27] local.INFO: Processing buffer {"connection_id":90842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:27] local.INFO: IMEI packet received {"connection_id":90842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":90842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:22:29] local.INFO: TCP Data received {"connection_id":90842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:29] local.INFO: Processing buffer {"connection_id":90842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:22:29] local.INFO: IMEI packet received {"connection_id":90842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":90842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:22:29] local.INFO: TCP Data received {"connection_id":90842,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8719cab8012ce9a380071677f0000201602d..."} 
[2026-06-02 12:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8719cab8012ce9a380071677f0000201602d..."} 
[2026-06-02 12:22:29] local.INFO: Processing buffer {"connection_id":90842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8719cab8012ce9a380071677f0000201602d..."} 
[2026-06-02 12:22:29] local.INFO: Packet analysis {"connection_id":90842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:22:29] local.INFO: Extracted packet for processing {"connection_id":90842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8719"} 
[2026-06-02 12:22:29] local.INFO: GPS Element Parsed {"raw_longitude":753509248,"raw_latitude":118913008,"longitude_deg":75.3509248,"latitude_deg":11.8913008,"altitude":2,"angle":352,"satellites":45,"speed":16,"hex_longitude":"2ce9a380","hex_latitude":"071677f0","is_valid_coordinates":true} 
[2026-06-02 12:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778062848001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305510824879849472,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609333148903696384,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:29] 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-06-02 12:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780383075000,"timestamp_ms":1780383075000,"timestamp_seconds":1780383075,"priority":1,"record_length":96,"hex_timestamp":"0000019e8719cab8"} 
[2026-06-02 12:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:22: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-06-02 12:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:22: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-06-02 12:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778062848001,"66":27876,"23":206,"83":41216,"24":16,"16":305510824879849472,"44":-1609333148903696384},"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-06-02 12:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778062848001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:22:29] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 12:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305510824879849472,"km_value":305510824879849.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609333148903696384,"description":"Unknown IO ID 44"} 
[2026-06-02 12:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778062848001,"power":27876,"unknown_23":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1609333148903696384}} 
[2026-06-02 12:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":90842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:22:29] local.INFO: GPS data processed {"connection_id":90842,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:22:29] local.INFO: Acknowledgment sent {"connection_id":90842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:22:34] local.INFO: TCP Data received {"connection_id":90842,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871a0550012ce99f4007169cc8000401632e..."} 
[2026-06-02 12:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871a0550012ce99f4007169cc8000401632e..."} 
[2026-06-02 12:22:34] local.INFO: Processing buffer {"connection_id":90842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871a0550012ce99f4007169cc8000401632e..."} 
[2026-06-02 12:22:34] local.INFO: Packet analysis {"connection_id":90842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:22:34] local.INFO: Extracted packet for processing {"connection_id":90842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:22:34] local.INFO: GPS Element Parsed {"raw_longitude":753508160,"raw_latitude":118922440,"longitude_deg":75.350816,"latitude_deg":11.892244,"altitude":4,"angle":355,"satellites":46,"speed":25,"hex_longitude":"2ce99f40","hex_latitude":"07169cc8","is_valid_coordinates":true} 
[2026-06-02 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778067200001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305511288736317440,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611303473738420224,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:34] 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-06-02 12:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780383090000,"timestamp_ms":1780383090000,"timestamp_seconds":1780383090,"priority":1,"record_length":96,"hex_timestamp":"0000019e871a0550"} 
[2026-06-02 12:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:22: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-06-02 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 12:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778067200001,"66":27919,"23":206,"83":41216,"24":25,"16":305511288736317440,"44":-1611303473738420224},"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-06-02 12:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778067200001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:22:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 12:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305511288736317440,"km_value":305511288736317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:22:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611303473738420224,"description":"Unknown IO ID 44"} 
[2026-06-02 12:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778067200001,"power":27919,"unknown_23":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1611303473738420224}} 
[2026-06-02 12:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":90842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:22:34] local.INFO: GPS data processed {"connection_id":90842,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:22:34] local.INFO: Acknowledgment sent {"connection_id":90842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:22:44] local.INFO: TCP Data received {"connection_id":89641,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871a66f8012d18d9800720fdf0003d00902b..."} 
[2026-06-02 12:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871a66f8012d18d9800720fdf0003d00902b..."} 
[2026-06-02 12:22:44] local.INFO: Processing buffer {"connection_id":89641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871a66f8012d18d9800720fdf0003d00902b..."} 
[2026-06-02 12:22:44] local.INFO: Packet analysis {"connection_id":89641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:22:44] local.INFO: Extracted packet for processing {"connection_id":89641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756603264,"raw_latitude":119602672,"longitude_deg":75.6603264,"latitude_deg":11.9602672,"altitude":61,"angle":144,"satellites":43,"speed":39,"hex_longitude":"2d18d980","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778076672001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125156373502623744,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789336457568634880,"note":"Value kept but may cause issues"} 
[2026-06-02 12:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780383115000,"timestamp_ms":1780383115000,"timestamp_seconds":1780383115,"priority":1,"record_length":96,"hex_timestamp":"0000019e871a66f8"} 
[2026-06-02 12:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-02 12:22: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-06-02 12: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-06-02 12:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:22:44] 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-06-02 12:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778076672001,"66":13993,"103":206,"83":41984,"24":39,"16":125156373502623744,"45":1789336457568634880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778076672001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:22:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125156373502623744,"km_value":125156373502623.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789336457568634880,"description":"Unknown IO ID 45"} 
[2026-06-02 12:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778076672001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1789336457568634880}} 
[2026-06-02 12:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":89641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:22:44] local.INFO: GPS data processed {"connection_id":89641,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:22:44] local.INFO: Acknowledgment sent {"connection_id":89641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:23:05] local.INFO: TCP Data received {"connection_id":90843,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:05] local.INFO: Processing buffer {"connection_id":90843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:05] local.INFO: IMEI packet received {"connection_id":90843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":90843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:23:06] local.INFO: TCP Data received {"connection_id":90842,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871a3048012ce99e000716c1a0000301662b..."} 
[2026-06-02 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871a3048012ce99e000716c1a0000301662b..."} 
[2026-06-02 12:23:06] local.INFO: Processing buffer {"connection_id":90842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871a3048012ce99e000716c1a0000301662b..."} 
[2026-06-02 12:23:06] local.INFO: Packet analysis {"connection_id":90842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:06] local.INFO: Extracted packet for processing {"connection_id":90842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":753507840,"raw_latitude":118931872,"longitude_deg":75.350784,"latitude_deg":11.8931872,"altitude":3,"angle":358,"satellites":43,"speed":42,"hex_longitude":"2ce99e00","hex_latitude":"0716c1a0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778071040001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305511744002850816,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612499742387025920,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:06] 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-06-02 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780383101000,"timestamp_ms":1780383101000,"timestamp_seconds":1780383101,"priority":1,"record_length":96,"hex_timestamp":"0000019e871a3048"} 
[2026-06-02 12:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778071040001,"66":27919,"23":206,"83":41216,"24":42,"16":305511744002850816,"44":-1612499742387025920},"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-06-02 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778071040001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:23:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 12:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305511744002850816,"km_value":305511744002850.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612499742387025920,"description":"Unknown IO ID 44"} 
[2026-06-02 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778071040001,"power":27919,"unknown_23":206,"unknown_83":41216,"ignition":42,"odometer":null,"unknown_44":-1612499742387025920}} 
[2026-06-02 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":90842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:23:06] local.INFO: GPS data processed {"connection_id":90842,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:23:06] local.INFO: Acknowledgment sent {"connection_id":90842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:23:10] local.INFO: TCP Data received {"connection_id":90843,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:10] local.INFO: Processing buffer {"connection_id":90843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:10] local.INFO: IMEI packet received {"connection_id":90843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":90843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:23:10] local.INFO: TCP Data received {"connection_id":90843,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:10] local.INFO: Processing buffer {"connection_id":90843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:23:10] local.INFO: IMEI packet received {"connection_id":90843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":90843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:23:11] local.INFO: TCP Data received {"connection_id":90843,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871a8638012d18ee400720e1a00039009226..."} 
[2026-06-02 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871a8638012d18ee400720e1a00039009226..."} 
[2026-06-02 12:23:11] local.INFO: Processing buffer {"connection_id":90843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871a8638012d18ee400720e1a00039009226..."} 
[2026-06-02 12:23:11] local.INFO: Packet analysis {"connection_id":90843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:11] local.INFO: Extracted packet for processing {"connection_id":90843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756608576,"raw_latitude":119595424,"longitude_deg":75.6608576,"latitude_deg":11.9595424,"altitude":57,"angle":146,"satellites":38,"speed":50,"hex_longitude":"2d18ee40","hex_latitude":"0720e1a0","is_valid_coordinates":true} 
[2026-06-02 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778077440001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125156807294320640,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790603094963122176,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780383123000,"timestamp_ms":1780383123000,"timestamp_seconds":1780383123,"priority":1,"record_length":96,"hex_timestamp":"0000019e871a8638"} 
[2026-06-02 12:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 12:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778077440001,"66":13722,"103":206,"83":41984,"24":50,"16":125156807294320640,"45":1790603094963122176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778077440001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:23:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125156807294320640,"km_value":125156807294320.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790603094963122176,"description":"Unknown IO ID 45"} 
[2026-06-02 12:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778077440001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1790603094963122176}} 
[2026-06-02 12:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":90843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:23:11] local.INFO: GPS data processed {"connection_id":90843,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:23:11] local.INFO: Acknowledgment sent {"connection_id":90843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:23:16] local.INFO: TCP Data received {"connection_id":90843,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871a91f0012d18f8000720d6600037008326..."} 
[2026-06-02 12:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871a91f0012d18f8000720d6600037008326..."} 
[2026-06-02 12:23:16] local.INFO: Processing buffer {"connection_id":90843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871a91f0012d18f8000720d6600037008326..."} 
[2026-06-02 12:23:16] local.INFO: Packet analysis {"connection_id":90843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:16] local.INFO: Extracted packet for processing {"connection_id":90843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756611072,"raw_latitude":119592544,"longitude_deg":75.6611072,"latitude_deg":11.9592544,"altitude":55,"angle":131,"satellites":38,"speed":50,"hex_longitude":"2d18f800","hex_latitude":"0720d660","is_valid_coordinates":true} 
[2026-06-02 12:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778079488001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125156991977914368,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796443700728012800,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23: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-06-02 12:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780383126000,"timestamp_ms":1780383126000,"timestamp_seconds":1780383126,"priority":1,"record_length":96,"hex_timestamp":"0000019e871a91f0"} 
[2026-06-02 12:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-02 12:23: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-06-02 12:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:23: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-06-02 12:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778079488001,"66":13928,"103":206,"83":41984,"24":50,"16":125156991977914368,"45":1796443700728012800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778079488001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:23:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125156991977914368,"km_value":125156991977914.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796443700728012800,"description":"Unknown IO ID 45"} 
[2026-06-02 12:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778079488001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1796443700728012800}} 
[2026-06-02 12:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":90843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:23:16] local.INFO: GPS data processed {"connection_id":90843,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:23:16] local.INFO: Acknowledgment sent {"connection_id":90843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:23:24] local.INFO: TCP Data received {"connection_id":90844,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:24] local.INFO: Processing buffer {"connection_id":90844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:24] local.INFO: IMEI packet received {"connection_id":90844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":90844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:23:26] local.INFO: TCP Data received {"connection_id":90844,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:26] local.INFO: Processing buffer {"connection_id":90844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:26] local.INFO: IMEI packet received {"connection_id":90844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":90844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:23:29] local.INFO: TCP Data received {"connection_id":90844,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:29] local.INFO: Processing buffer {"connection_id":90844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:23:29] local.INFO: IMEI packet received {"connection_id":90844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":90844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:23:30] local.INFO: TCP Data received {"connection_id":90844,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871a4f88012ce99c000716e4400005015d2c..."} 
[2026-06-02 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871a4f88012ce99c000716e4400005015d2c..."} 
[2026-06-02 12:23:30] local.INFO: Processing buffer {"connection_id":90844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871a4f88012ce99c000716e4400005015d2c..."} 
[2026-06-02 12:23:30] local.INFO: Packet analysis {"connection_id":90844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:30] local.INFO: Extracted packet for processing {"connection_id":90844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":753507328,"raw_latitude":118940736,"longitude_deg":75.3507328,"latitude_deg":11.8940736,"altitude":5,"angle":349,"satellites":44,"speed":44,"hex_longitude":"2ce99c00","hex_latitude":"0716e440","is_valid_coordinates":true} 
[2026-06-02 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778073856001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305512177794547712,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612851586105499648,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:30] 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-06-02 12:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780383109000,"timestamp_ms":1780383109000,"timestamp_seconds":1780383109,"priority":1,"record_length":96,"hex_timestamp":"0000019e871a4f88"} 
[2026-06-02 12:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:23: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-06-02 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778073856001,"66":27865,"23":206,"83":41216,"24":44,"16":305512177794547712,"44":-1612851586105499648},"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-06-02 12:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778073856001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:23:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 12:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305512177794547712,"km_value":305512177794547.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612851586105499648,"description":"Unknown IO ID 44"} 
[2026-06-02 12:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778073856001,"power":27865,"unknown_23":206,"unknown_83":41216,"ignition":44,"odometer":null,"unknown_44":-1612851586105499648}} 
[2026-06-02 12:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":90844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:23:30] local.INFO: GPS data processed {"connection_id":90844,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:23:30] local.INFO: Acknowledgment sent {"connection_id":90844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:23:47] local.INFO: TCP Data received {"connection_id":90843,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871aa578012d190d000720c8e8003200772a..."} 
[2026-06-02 12:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871aa578012d190d000720c8e8003200772a..."} 
[2026-06-02 12:23:47] local.INFO: Processing buffer {"connection_id":90843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871aa578012d190d000720c8e8003200772a..."} 
[2026-06-02 12:23:47] local.INFO: Packet analysis {"connection_id":90843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:47] local.INFO: Extracted packet for processing {"connection_id":90843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871a"} 
[2026-06-02 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119589096,"longitude_deg":75.6616448,"latitude_deg":11.9589096,"altitude":50,"angle":119,"satellites":42,"speed":53,"hex_longitude":"2d190d00","hex_latitude":"0720c8e8","is_valid_coordinates":true} 
[2026-06-02 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778080256001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125157296920592384,"note":"Value kept but may cause issues"} 
[2026-06-02 12:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799188081750204416,"note":"Value kept but may cause issues"} 
[2026-06-02 12: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-06-02 12:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780383131000,"timestamp_ms":1780383131000,"timestamp_seconds":1780383131,"priority":1,"record_length":96,"hex_timestamp":"0000019e871aa578"} 
[2026-06-02 12:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:23: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-06-02 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 12:23: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-06-02 12:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":90843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":90843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":90843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:23:47] 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-06-02 12:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778080256001,"66":14048,"103":206,"83":41984,"24":53,"16":125157296920592384,"45":1799188081750204416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778080256001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:23:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125157296920592384,"km_value":125157296920592.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799188081750204416,"description":"Unknown IO ID 45"} 
[2026-06-02 12:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778080256001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1799188081750204416}} 
[2026-06-02 12:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":90843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:23:47] local.INFO: GPS data processed {"connection_id":90843,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:23:47] local.INFO: Acknowledgment sent {"connection_id":90843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:24:01] local.INFO: TCP Data received {"connection_id":90844,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871b9b90012ce98ec007179208001900222d..."} 
[2026-06-02 12:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871b9b90012ce98ec007179208001900222d..."} 
[2026-06-02 12:24:01] local.INFO: Processing buffer {"connection_id":90844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871b9b90012ce98ec007179208001900222d..."} 
[2026-06-02 12:24:01] local.INFO: Packet analysis {"connection_id":90844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:01] local.INFO: Extracted packet for processing {"connection_id":90844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:01] local.INFO: GPS Element Parsed {"raw_longitude":753503936,"raw_latitude":118985224,"longitude_deg":75.3503936,"latitude_deg":11.8985224,"altitude":25,"angle":34,"satellites":45,"speed":17,"hex_longitude":"2ce98ec0","hex_latitude":"07179208","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778097152001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305514711825252352,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1617988504416980992,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:01] 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-06-02 12:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780383194000,"timestamp_ms":1780383194000,"timestamp_seconds":1780383194,"priority":1,"record_length":96,"hex_timestamp":"0000019e871b9b90"} 
[2026-06-02 12:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:24: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-06-02 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 12:24:01] 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-06-02 12: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-06-02 12:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:24: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-06-02 12:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778097152001,"66":27865,"52":206,"83":41216,"24":17,"16":305514711825252352,"44":-1617988504416980992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-06-02 12:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778097152001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:24:01] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 12:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305514711825252352,"km_value":305514711825252.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1617988504416980992,"description":"Unknown IO ID 44"} 
[2026-06-02 12:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778097152001,"power":27865,"unknown_52":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1617988504416980992}} 
[2026-06-02 12:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":90844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:24:01] local.INFO: GPS data processed {"connection_id":90844,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:24:01] local.INFO: Acknowledgment sent {"connection_id":90844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:24:05] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:05] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:05] local.INFO: IMEI packet received {"connection_id":89782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":89782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:24:09] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:09] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:09] local.INFO: IMEI packet received {"connection_id":89782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":89782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:24:10] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:10] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:24:10] local.INFO: IMEI packet received {"connection_id":89782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":89782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:24:12] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871b93c0012d19bc800720a4a0003200a42d..."} 
[2026-06-02 12:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871b93c0012d19bc800720a4a0003200a42d..."} 
[2026-06-02 12:24:12] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871b93c0012d19bc800720a4a0003200a42d..."} 
[2026-06-02 12:24:12] local.INFO: Packet analysis {"connection_id":89782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:12] local.INFO: Extracted packet for processing {"connection_id":89782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119579808,"longitude_deg":75.6661376,"latitude_deg":11.9579808,"altitude":50,"angle":164,"satellites":45,"speed":24,"hex_longitude":"2d19bc80","hex_latitude":"0720a4a0","is_valid_coordinates":true} 
[2026-06-02 12:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778096896001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125159590433128448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182392320,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780383192000,"timestamp_ms":1780383192000,"timestamp_seconds":1780383192,"priority":1,"record_length":96,"hex_timestamp":"0000019e871b93c0"} 
[2026-06-02 12:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:24:12] 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-06-02 12:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-02 12:24:12] 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-06-02 12:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:24:12] 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-06-02 12:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778096896001,"66":14135,"103":206,"83":41984,"24":24,"16":125159590433128448,"45":1854357177182392320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778096896001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:24:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125159590433128448,"km_value":125159590433128.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182392320,"description":"Unknown IO ID 45"} 
[2026-06-02 12:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778096896001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1854357177182392320}} 
[2026-06-02 12:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":89782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:24:12] local.INFO: GPS data processed {"connection_id":89782,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:24:12] local.INFO: Acknowledgment sent {"connection_id":89782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:24:18] local.INFO: TCP Data received {"connection_id":89783,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:24:18] local.INFO: Processing buffer {"connection_id":89783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:24:18] local.INFO: IMEI packet received {"connection_id":89783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":89783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:24:29] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:29] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:29] local.INFO: IMEI packet received {"connection_id":89642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":89642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:24:31] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:31] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:31] local.INFO: IMEI packet received {"connection_id":89642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":89642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:24:34] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:34] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:24:34] local.INFO: IMEI packet received {"connection_id":89642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":89642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:24:35] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871b9f78012ce98fc007179390001900142d..."} 
[2026-06-02 12:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871b9f78012ce98fc007179390001900142d..."} 
[2026-06-02 12:24:35] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871b9f78012ce98fc007179390001900142d..."} 
[2026-06-02 12:24:35] local.INFO: Packet analysis {"connection_id":89642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:35] local.INFO: Extracted packet for processing {"connection_id":89642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:35] local.INFO: GPS Element Parsed {"raw_longitude":753504192,"raw_latitude":118985616,"longitude_deg":75.3504192,"latitude_deg":11.8985616,"altitude":25,"angle":20,"satellites":45,"speed":17,"hex_longitude":"2ce98fc0","hex_latitude":"07179390","is_valid_coordinates":true} 
[2026-06-02 12:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778097664001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305514733300088832,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1617144079486679040,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:35] 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-06-02 12:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780383195000,"timestamp_ms":1780383195000,"timestamp_seconds":1780383195,"priority":1,"record_length":96,"hex_timestamp":"0000019e871b9f78"} 
[2026-06-02 12:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 12:24: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-06-02 12:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778097664001,"66":27919,"52":206,"83":41216,"24":17,"16":305514733300088832,"44":-1617144079486679040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-06-02 12:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778097664001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:24:35] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 12:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305514733300088832,"km_value":305514733300088.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1617144079486679040,"description":"Unknown IO ID 44"} 
[2026-06-02 12:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778097664001,"power":27919,"unknown_52":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1617144079486679040}} 
[2026-06-02 12:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":89642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:24:35] local.INFO: GPS data processed {"connection_id":89642,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:24:35] local.INFO: Acknowledgment sent {"connection_id":89642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:24:39] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871ba360012ce9900007179528001a00052d..."} 
[2026-06-02 12:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871ba360012ce9900007179528001a00052d..."} 
[2026-06-02 12:24:39] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871ba360012ce9900007179528001a00052d..."} 
[2026-06-02 12:24:39] local.INFO: Packet analysis {"connection_id":89642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:39] local.INFO: Extracted packet for processing {"connection_id":89642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:24:39] local.INFO: GPS Element Parsed {"raw_longitude":753504256,"raw_latitude":118986024,"longitude_deg":75.3504256,"latitude_deg":11.8986024,"altitude":26,"angle":5,"satellites":45,"speed":16,"hex_longitude":"2ce99000","hex_latitude":"07179528","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778097920001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305514754774925312,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616862604509868032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:39] 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-06-02 12:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780383196000,"timestamp_ms":1780383196000,"timestamp_seconds":1780383196,"priority":1,"record_length":96,"hex_timestamp":"0000019e871ba360"} 
[2026-06-02 12:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:24: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-06-02 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:24: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-06-02 12: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-06-02 12:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778097920001,"66":27919,"52":206,"83":41216,"24":16,"16":305514754774925312,"44":-1616862604509868032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-06-02 12:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778097920001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:24:39] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 12:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305514754774925312,"km_value":305514754774925.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:24:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616862604509868032,"description":"Unknown IO ID 44"} 
[2026-06-02 12:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778097920001,"power":27919,"unknown_52":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1616862604509868032}} 
[2026-06-02 12:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":89642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:24:39] local.INFO: GPS data processed {"connection_id":89642,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:24:39] local.INFO: Acknowledgment sent {"connection_id":89642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:24:42] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871c4b58012d19eec0071ffb60002b006c2c..."} 
[2026-06-02 12:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871c4b58012d19eec0071ffb60002b006c2c..."} 
[2026-06-02 12:24:42] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871c4b58012d19eec0071ffb60002b006c2c..."} 
[2026-06-02 12:24:42] local.INFO: Packet analysis {"connection_id":89782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:24:42] local.INFO: Extracted packet for processing {"connection_id":89782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756674240,"raw_latitude":119536480,"longitude_deg":75.667424,"latitude_deg":11.953648,"altitude":43,"angle":108,"satellites":44,"speed":27,"hex_longitude":"2d19eec0","hex_latitude":"071ffb60","is_valid_coordinates":true} 
[2026-06-02 12:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778108928001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125161999909781504,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867938344797489152,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780383239000,"timestamp_ms":1780383239000,"timestamp_seconds":1780383239,"priority":1,"record_length":96,"hex_timestamp":"0000019e871c4b58"} 
[2026-06-02 12:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627433,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2266766456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4852158007515021312,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638289767331941,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692440,"corrected_to":0} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2846621696,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4629692581964939225,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004459177390509,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-06-02 12:24:42] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,170,158,59,45,64,3,43,40,10,66,51,192,9,42,169,44,1,240,109,227,135,32,4,113,205,28,208,41,239,55,2,188,7,25,53,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3221692440,"validated":0}]} 
[2026-06-02 12:24:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098610868734918656,"timestamp_seconds":3098610868734918.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 12:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:24:42] 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-06-02 12:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778108928001,"66":14189,"101":206,"83":41984,"24":27,"16":125161999909781504,"45":1867938344797489152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778108928001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:24:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125161999909781504,"km_value":125161999909781.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867938344797489152,"description":"Unknown IO ID 45"} 
[2026-06-02 12:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778108928001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1867938344797489152}} 
[2026-06-02 12:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":89782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:24:43] local.INFO: GPS data processed {"connection_id":89782,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:24:43] local.INFO: Acknowledgment sent {"connection_id":89782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:25:07] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:07] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:07] local.INFO: IMEI packet received {"connection_id":89388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":89388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:25:09] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:09] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:09] local.INFO: IMEI packet received {"connection_id":89388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":89388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:25:10] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:10] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:10] local.INFO: IMEI packet received {"connection_id":89388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":89388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:25:11] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:11] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:25:11] local.INFO: IMEI packet received {"connection_id":89388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":89388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:25:12] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871c4f40012d19f1c0071ffb48002b005e2c..."} 
[2026-06-02 12:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871c4f40012d19f1c0071ffb48002b005e2c..."} 
[2026-06-02 12:25:12] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871c4f40012d19f1c0071ffb48002b005e2c..."} 
[2026-06-02 12:25:12] local.INFO: Packet analysis {"connection_id":89388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:25:12] local.INFO: Extracted packet for processing {"connection_id":89388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756675008,"raw_latitude":119536456,"longitude_deg":75.6675008,"latitude_deg":11.9536456,"altitude":43,"angle":94,"satellites":44,"speed":29,"hex_longitude":"2d19f1c0","hex_latitude":"071ffb48","is_valid_coordinates":true} 
[2026-06-02 12:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778109184001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125162034269519872,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868642032239206400,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780383240000,"timestamp_ms":1780383240000,"timestamp_seconds":1780383240,"priority":1,"record_length":96,"hex_timestamp":"0000019e871c4f40"} 
[2026-06-02 12:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 12:25:12] 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-06-02 12:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:25:12] 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-06-02 12:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778109184001,"66":14189,"101":206,"83":41984,"24":29,"16":125162034269519872,"45":1868642032239206400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778109184001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:25:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125162034269519872,"km_value":125162034269519.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868642032239206400,"description":"Unknown IO ID 45"} 
[2026-06-02 12:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778109184001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1868642032239206400}} 
[2026-06-02 12:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":89388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:25:12] local.INFO: GPS data processed {"connection_id":89388,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:25:12] local.INFO: Acknowledgment sent {"connection_id":89388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:25:16] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871c5ee0012d1a0080071ffaa8002c006a2d..."} 
[2026-06-02 12:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871c5ee0012d1a0080071ffaa8002c006a2d..."} 
[2026-06-02 12:25:16] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871c5ee0012d1a0080071ffaa8002c006a2d..."} 
[2026-06-02 12:25:16] local.INFO: Packet analysis {"connection_id":89388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:25:16] local.INFO: Extracted packet for processing {"connection_id":89388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756678784,"raw_latitude":119536296,"longitude_deg":75.6678784,"latitude_deg":11.9536296,"altitude":44,"angle":106,"satellites":45,"speed":38,"hex_longitude":"2d1a0080","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778109440001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125162214658146304,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869486457169332224,"note":"Value kept but may cause issues"} 
[2026-06-02 12: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-06-02 12:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780383244000,"timestamp_ms":1780383244000,"timestamp_seconds":1780383244,"priority":1,"record_length":96,"hex_timestamp":"0000019e871c5ee0"} 
[2026-06-02 12:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 12:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:25: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-06-02 12:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778109440001,"66":14211,"101":206,"83":41984,"24":38,"16":125162214658146304,"45":1869486457169332224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778109440001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:25:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125162214658146304,"km_value":125162214658146.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869486457169332224,"description":"Unknown IO ID 45"} 
[2026-06-02 12:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778109440001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1869486457169332224}} 
[2026-06-02 12:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":89388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:25:16] local.INFO: GPS data processed {"connection_id":89388,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:25:16] local.INFO: Acknowledgment sent {"connection_id":89388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:25:20] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:20] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:20] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:25:23] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:23] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:23] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:25:24] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:24] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:24] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:25:25] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:25] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:25:25] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:25:25] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871be1e0012ce993000717b800001a00042e..."} 
[2026-06-02 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871be1e0012ce993000717b800001a00042e..."} 
[2026-06-02 12:25:25] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871be1e0012ce993000717b800001a00042e..."} 
[2026-06-02 12:25:25] local.INFO: Packet analysis {"connection_id":89644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:25:25] local.INFO: Extracted packet for processing {"connection_id":89644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871b"} 
[2026-06-02 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":753505024,"raw_latitude":118994944,"longitude_deg":75.3505024,"latitude_deg":11.8994944,"altitude":26,"angle":4,"satellites":46,"speed":9,"hex_longitude":"2ce99300","hex_latitude":"0717b800","is_valid_coordinates":true} 
[2026-06-02 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778098176001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305515188566622208,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616792235765585920,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780383212000,"timestamp_ms":1780383212000,"timestamp_seconds":1780383212,"priority":1,"record_length":96,"hex_timestamp":"0000019e871be1e0"} 
[2026-06-02 12:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:25: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-06-02 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:25: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-06-02 12:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:25: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-06-02 12:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778098176001,"66":27821,"53":206,"83":41216,"24":9,"16":305515188566622208,"44":-1616792235765585920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-06-02 12:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778098176001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:25:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-02 12:25:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305515188566622208,"km_value":305515188566622.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616792235765585920,"description":"Unknown IO ID 44"} 
[2026-06-02 12:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778098176001,"power":27821,"unknown_53":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1616792235765585920}} 
[2026-06-02 12:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":89644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:25:25] local.INFO: GPS data processed {"connection_id":89644,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:25:25] local.INFO: Acknowledgment sent {"connection_id":89644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:25:47] local.INFO: TCP Data received {"connection_id":89388,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e871d4940012d1ac6c0071f8928003800b52a..."} 
[2026-06-02 12:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871d4940012d1ac6c0071f8928003800b52a..."} 
[2026-06-02 12:25:47] local.INFO: Processing buffer {"connection_id":89388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871d4940012d1ac6c0071f8928003800b52a..."} 
[2026-06-02 12:25:47] local.INFO: Packet analysis {"connection_id":89388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:25:47] local.INFO: Extracted packet for processing {"connection_id":89388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119507240,"longitude_deg":75.6729536,"latitude_deg":11.950724,"altitude":56,"angle":181,"satellites":42,"speed":31,"hex_longitude":"2d1ac6c0","hex_latitude":"071f8928","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778125568001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125165161005711360,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929440627201427456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25: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-06-02 12:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780383304000,"timestamp_ms":1780383304000,"timestamp_seconds":1780383304,"priority":1,"record_length":96,"hex_timestamp":"0000019e871d4940"} 
[2026-06-02 12:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:25: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-06-02 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 12:25: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-06-02 12: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-06-02 12:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:25:47] 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-06-02 12:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778125568001,"66":13961,"101":206,"83":41984,"24":31,"16":125165161005711360,"45":1929440627201427456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778125568001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:25:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125165161005711360,"km_value":125165161005711.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929440627201427456,"description":"Unknown IO ID 45"} 
[2026-06-02 12:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778125568001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1929440627201427456}} 
[2026-06-02 12:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":89388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:25:47] local.INFO: GPS data processed {"connection_id":89388,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:25:47] local.INFO: Acknowledgment sent {"connection_id":89388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:25:56] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871c2c18012ce994800717dc10001701662b..."} 
[2026-06-02 12:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871c2c18012ce994800717dc10001701662b..."} 
[2026-06-02 12:25:56] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871c2c18012ce994800717dc10001701662b..."} 
[2026-06-02 12:25:56] local.INFO: Packet analysis {"connection_id":89644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:25:56] local.INFO: Extracted packet for processing {"connection_id":89644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871c"} 
[2026-06-02 12:25:56] local.INFO: GPS Element Parsed {"raw_longitude":753505408,"raw_latitude":119004176,"longitude_deg":75.3505408,"latitude_deg":11.9004176,"altitude":23,"angle":358,"satellites":43,"speed":31,"hex_longitude":"2ce99480","hex_latitude":"0717dc10","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778102272001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305515639538188288,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615947810833170432,"note":"Value kept but may cause issues"} 
[2026-06-02 12:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1780383231000,"timestamp_ms":1780383231000,"timestamp_seconds":1780383231,"priority":1,"record_length":96,"hex_timestamp":"0000019e871c2c18"} 
[2026-06-02 12:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:25: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-06-02 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 12:25: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-06-02 12: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-06-02 12:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":89644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":89644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":89644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:25: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-06-02 12:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778102272001,"66":27974,"53":206,"83":41216,"24":31,"16":305515639538188288,"44":-1615947810833170432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-06-02 12:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778102272001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:25:56] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-02 12:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305515639538188288,"km_value":305515639538188.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:25:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615947810833170432,"description":"Unknown IO ID 44"} 
[2026-06-02 12:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778102272001,"power":27974,"unknown_53":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1615947810833170432}} 
[2026-06-02 12:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":89644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:25:56] local.INFO: GPS data processed {"connection_id":89644,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:25:56] local.INFO: Acknowledgment sent {"connection_id":89644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:26:01] local.INFO: TCP Data received {"connection_id":89390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:01] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:01] local.INFO: IMEI packet received {"connection_id":89390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":89390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:26:02] local.INFO: TCP Data received {"connection_id":89390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:02] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:02] local.INFO: IMEI packet received {"connection_id":89390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":89390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:26:03] local.INFO: TCP Data received {"connection_id":89390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:03] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:03] local.INFO: IMEI packet received {"connection_id":89390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":89390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:26:04] local.INFO: TCP Data received {"connection_id":89390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:04] local.INFO: Processing buffer {"connection_id":89390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:26:04] local.INFO: IMEI packet received {"connection_id":89390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":89390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:26:22] local.INFO: TCP Data received {"connection_id":90845,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:22] local.INFO: Processing buffer {"connection_id":90845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:22] local.INFO: IMEI packet received {"connection_id":90845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":90845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:26:24] local.INFO: TCP Data received {"connection_id":90845,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:24] local.INFO: Processing buffer {"connection_id":90845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:24] local.INFO: IMEI packet received {"connection_id":90845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":90845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:26:25] local.INFO: TCP Data received {"connection_id":90845,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:25] local.INFO: Processing buffer {"connection_id":90845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:25] local.INFO: IMEI packet received {"connection_id":90845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":90845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:26:29] local.INFO: TCP Data received {"connection_id":90845,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:29] local.INFO: Processing buffer {"connection_id":90845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:26:29] local.INFO: IMEI packet received {"connection_id":90845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":90845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:26:30] local.INFO: TCP Data received {"connection_id":90845,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871d9f30012ce9938007192aa8001a01612c..."} 
[2026-06-02 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871d9f30012ce9938007192aa8001a01612c..."} 
[2026-06-02 12:26:30] local.INFO: Processing buffer {"connection_id":90845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871d9f30012ce9938007192aa8001a01612c..."} 
[2026-06-02 12:26:30] local.INFO: Packet analysis {"connection_id":90845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:26:30] local.INFO: Extracted packet for processing {"connection_id":90845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":753505152,"raw_latitude":119089832,"longitude_deg":75.3505152,"latitude_deg":11.9089832,"altitude":26,"angle":353,"satellites":44,"speed":52,"hex_longitude":"2ce99380","hex_latitude":"07192aa8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778129408001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305519797066530816,"note":"Value kept but may cause issues"} 
[2026-06-02 12:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1614751542160412672,"note":"Value kept but may cause issues"} 
[2026-06-02 12:26:30] 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-06-02 12:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780383326000,"timestamp_ms":1780383326000,"timestamp_seconds":1780383326,"priority":1,"record_length":96,"hex_timestamp":"0000019e871d9f30"} 
[2026-06-02 12:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:26: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-06-02 12: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 12:26:30] 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-06-02 12: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-06-02 12:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778129408001,"66":27930,"224":206,"83":41216,"24":52,"16":305519797066530816,"44":-1614751542160412672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-06-02 12:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778129408001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305519797066530816,"km_value":305519797066530.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1614751542160412672,"description":"Unknown IO ID 44"} 
[2026-06-02 12:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778129408001,"power":27930,"unknown_224":206,"unknown_83":41216,"ignition":52,"odometer":null,"unknown_44":-1614751542160412672}} 
[2026-06-02 12:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":90845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:26:30] local.INFO: GPS data processed {"connection_id":90845,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:26:30] local.INFO: Acknowledgment sent {"connection_id":90845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:26:34] local.INFO: TCP Data received {"connection_id":90845,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871dba88012ce98fc007194fe8001b01622b..."} 
[2026-06-02 12:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871dba88012ce98fc007194fe8001b01622b..."} 
[2026-06-02 12:26:34] local.INFO: Processing buffer {"connection_id":90845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871dba88012ce98fc007194fe8001b01622b..."} 
[2026-06-02 12:26:34] local.INFO: Packet analysis {"connection_id":90845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:26:34] local.INFO: Extracted packet for processing {"connection_id":90845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":753504192,"raw_latitude":119099368,"longitude_deg":75.3504192,"latitude_deg":11.9099368,"altitude":27,"angle":354,"satellites":43,"speed":51,"hex_longitude":"2ce98fc0","hex_latitude":"07194fe8","is_valid_coordinates":true} 
[2026-06-02 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778131456001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305520265217966080,"note":"Value kept but may cause issues"} 
[2026-06-02 12:26:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615807073320523776,"note":"Value kept but may cause issues"} 
[2026-06-02 12:26:34] 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-06-02 12:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780383333000,"timestamp_ms":1780383333000,"timestamp_seconds":1780383333,"priority":1,"record_length":96,"hex_timestamp":"0000019e871dba88"} 
[2026-06-02 12:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:26: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-06-02 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 12:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778131456001,"66":27995,"225":206,"83":41216,"24":51,"16":305520265217966080,"44":-1615807073320523776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-06-02 12:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778131456001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:26:34] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 12:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305520265217966080,"km_value":305520265217966.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:26:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615807073320523776,"description":"Unknown IO ID 44"} 
[2026-06-02 12:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778131456001,"power":27995,"unknown_225":206,"unknown_83":41216,"ignition":51,"odometer":null,"unknown_44":-1615807073320523776}} 
[2026-06-02 12:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":90845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:26:34] local.INFO: GPS data processed {"connection_id":90845,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:26:34] local.INFO: Acknowledgment sent {"connection_id":90845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:27:05] local.INFO: TCP Data received {"connection_id":90845,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871de580012ce98c4007196ff0001c01572b..."} 
[2026-06-02 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871de580012ce98c4007196ff0001c01572b..."} 
[2026-06-02 12:27:05] local.INFO: Processing buffer {"connection_id":90845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871de580012ce98c4007196ff0001c01572b..."} 
[2026-06-02 12:27:05] local.INFO: Packet analysis {"connection_id":90845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:27:05] local.INFO: Extracted packet for processing {"connection_id":90845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871d"} 
[2026-06-02 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":753503296,"raw_latitude":119107568,"longitude_deg":75.3503296,"latitude_deg":11.9107568,"altitude":28,"angle":343,"satellites":43,"speed":25,"hex_longitude":"2ce98c40","hex_latitude":"07196ff0","is_valid_coordinates":true} 
[2026-06-02 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778133248001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305520664649924608,"note":"Value kept but may cause issues"} 
[2026-06-02 12:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616862604480747520,"note":"Value kept but may cause issues"} 
[2026-06-02 12:27: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-06-02 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780383344000,"timestamp_ms":1780383344000,"timestamp_seconds":1780383344,"priority":1,"record_length":96,"hex_timestamp":"0000019e871de580"} 
[2026-06-02 12:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:27: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-06-02 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 12:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778133248001,"66":27713,"225":206,"83":41216,"24":25,"16":305520664649924608,"44":-1616862604480747520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-06-02 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778133248001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305520664649924608,"km_value":305520664649924.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616862604480747520,"description":"Unknown IO ID 44"} 
[2026-06-02 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778133248001,"power":27713,"unknown_225":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1616862604480747520}} 
[2026-06-02 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":90845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:27:05] local.INFO: GPS data processed {"connection_id":90845,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:27:05] local.INFO: Acknowledgment sent {"connection_id":90845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:27:23] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:23] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:23] local.INFO: IMEI packet received {"connection_id":89645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":89645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:27:24] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:24] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:24] local.INFO: IMEI packet received {"connection_id":89645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:27:30] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:30] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:27:30] local.INFO: IMEI packet received {"connection_id":89645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":89645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:27:31] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871ebc58012ce9b080071a2110001d002e2e..."} 
[2026-06-02 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871ebc58012ce9b080071a2110001d002e2e..."} 
[2026-06-02 12:27:31] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871ebc58012ce9b080071a2110001d002e2e..."} 
[2026-06-02 12:27:31] local.INFO: Packet analysis {"connection_id":89645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871e"} 
[2026-06-02 12:27:31] local.INFO: Extracted packet for processing {"connection_id":89645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871e"} 
[2026-06-02 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":753512576,"raw_latitude":119152912,"longitude_deg":75.3512576,"latitude_deg":11.9152912,"altitude":29,"angle":46,"satellites":46,"speed":18,"hex_longitude":"2ce9b080","hex_latitude":"071a2110","is_valid_coordinates":true} 
[2026-06-02 12:27: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-06-02 12:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778149120001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305523280285007872,"note":"Value kept but may cause issues"} 
[2026-06-02 12:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1610107205026109440,"note":"Value kept but may cause issues"} 
[2026-06-02 12:27:31] 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-06-02 12:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780383399000,"timestamp_ms":1780383399000,"timestamp_seconds":1780383399,"priority":1,"record_length":96,"hex_timestamp":"0000019e871ebc58"} 
[2026-06-02 12:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:27: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-06-02 12:27: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-06-02 12:27: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-06-02 12:27: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-06-02 12:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:27: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-06-02 12:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778149120001,"66":27930,"182":206,"83":41216,"24":18,"16":305523280285007872,"44":-1610107205026109440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-06-02 12:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778149120001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305523280285007872,"km_value":305523280285007.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1610107205026109440,"description":"Unknown IO ID 44"} 
[2026-06-02 12:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778149120001,"power":27930,"unknown_182":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1610107205026109440}} 
[2026-06-02 12:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":89645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:27:31] local.INFO: GPS data processed {"connection_id":89645,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:27:31] local.INFO: Acknowledgment sent {"connection_id":89645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:28:02] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871f48f8012ce9a840071a7178001d00222b..."} 
[2026-06-02 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871f48f8012ce9a840071a7178001d00222b..."} 
[2026-06-02 12:28:02] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871f48f8012ce9a840071a7178001d00222b..."} 
[2026-06-02 12:28:02] local.INFO: Packet analysis {"connection_id":89645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871f"} 
[2026-06-02 12:28:02] local.INFO: Extracted packet for processing {"connection_id":89645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871f"} 
[2026-06-02 12:28:02] local.INFO: GPS Element Parsed {"raw_longitude":753510464,"raw_latitude":119173496,"longitude_deg":75.3510464,"latitude_deg":11.9173496,"altitude":29,"angle":34,"satellites":43,"speed":35,"hex_longitude":"2ce9a840","hex_latitude":"071a7178","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778156032001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305524521530556416,"note":"Value kept but may cause issues"} 
[2026-06-02 12:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616370023254388736,"note":"Value kept but may cause issues"} 
[2026-06-02 12:28:02] 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-06-02 12:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780383435000,"timestamp_ms":1780383435000,"timestamp_seconds":1780383435,"priority":1,"record_length":96,"hex_timestamp":"0000019e871f48f8"} 
[2026-06-02 12:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:28: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-06-02 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 12:28: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-06-02 12: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-06-02 12:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:28: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-06-02 12:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778156032001,"66":28006,"246":206,"83":41216,"24":35,"16":305524521530556416,"44":-1616370023254388736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-06-02 12:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778156032001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305524521530556416,"km_value":305524521530556.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616370023254388736,"description":"Unknown IO ID 44"} 
[2026-06-02 12:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778156032001,"power":28006,"main_input_voltage":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1616370023254388736}} 
[2026-06-02 12:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":89645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:28:02] local.INFO: GPS data processed {"connection_id":89645,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:28:02] local.INFO: Acknowledgment sent {"connection_id":89645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:28:24] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:28:24] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:28:24] local.INFO: IMEI packet received {"connection_id":89785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:28:29] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:28:29] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:28:29] local.INFO: IMEI packet received {"connection_id":89785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:28:30] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871f50c8012ce9ab00071a77d0001d00122a..."} 
[2026-06-02 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871f50c8012ce9ab00071a77d0001d00122a..."} 
[2026-06-02 12:28:30] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871f50c8012ce9ab00071a77d0001d00122a..."} 
[2026-06-02 12:28:30] local.INFO: Packet analysis {"connection_id":89785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871f"} 
[2026-06-02 12:28:30] local.INFO: Extracted packet for processing {"connection_id":89785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871f"} 
[2026-06-02 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":753511168,"raw_latitude":119175120,"longitude_deg":75.3511168,"latitude_deg":11.917512,"altitude":29,"angle":18,"satellites":42,"speed":37,"hex_longitude":"2ce9ab00","hex_latitude":"071a77d0","is_valid_coordinates":true} 
[2026-06-02 12:28: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-06-02 12:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778159360001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305524611724869632,"note":"Value kept but may cause issues"} 
[2026-06-02 12:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609966467532359680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:28:30] 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-06-02 12:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780383437000,"timestamp_ms":1780383437000,"timestamp_seconds":1780383437,"priority":1,"record_length":96,"hex_timestamp":"0000019e871f50c8"} 
[2026-06-02 12:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:28: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-06-02 12:28: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":102,"data_length":795,"current_offset":136} 
[2026-06-02 12:28:30] 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-06-02 12:28: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-06-02 12:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778159360001,"66":27908,"246":206,"83":41216,"24":37,"16":305524611724869632,"44":-1609966467532359680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-06-02 12:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778159360001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305524611724869632,"km_value":305524611724869.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609966467532359680,"description":"Unknown IO ID 44"} 
[2026-06-02 12:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778159360001,"power":27908,"main_input_voltage":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1609966467532359680}} 
[2026-06-02 12:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":89785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:28:30] local.INFO: GPS data processed {"connection_id":89785,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:28:30] local.INFO: Acknowledgment sent {"connection_id":89785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:29:00] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e871f5898012ce9ac80071a7f28001d00072b..."} 
[2026-06-02 12:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e871f5898012ce9ac80071a7f28001d00072b..."} 
[2026-06-02 12:29:00] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e871f5898012ce9ac80071a7f28001d00072b..."} 
[2026-06-02 12:29:00] local.INFO: Packet analysis {"connection_id":89785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e871f"} 
[2026-06-02 12:29:00] local.INFO: Extracted packet for processing {"connection_id":89785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e871f"} 
[2026-06-02 12:29:00] local.INFO: GPS Element Parsed {"raw_longitude":753511552,"raw_latitude":119177000,"longitude_deg":75.3511552,"latitude_deg":11.9177,"altitude":29,"angle":7,"satellites":43,"speed":39,"hex_longitude":"2ce9ac80","hex_latitude":"071a7f28","is_valid_coordinates":true} 
[2026-06-02 12:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778159872001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305524701919182848,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609192411345989632,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:00] 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-06-02 12:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780383439000,"timestamp_ms":1780383439000,"timestamp_seconds":1780383439,"priority":1,"record_length":96,"hex_timestamp":"0000019e871f5898"} 
[2026-06-02 12:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:29: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-06-02 12:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:29: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-06-02 12:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:29: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-06-02 12:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778159872001,"66":27865,"245":206,"83":41216,"24":39,"16":305524701919182848,"44":-1609192411345989632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-06-02 12:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778159872001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305524701919182848,"km_value":305524701919182.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609192411345989632,"description":"Unknown IO ID 44"} 
[2026-06-02 12:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778159872001,"power":27865,"geofence_id":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1609192411345989632}} 
[2026-06-02 12:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":89785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:29:00] local.INFO: GPS data processed {"connection_id":89785,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:29:00] local.INFO: Acknowledgment sent {"connection_id":89785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:29:23] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:23] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:23] local.INFO: IMEI packet received {"connection_id":89648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:29:24] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:24] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:24] local.INFO: IMEI packet received {"connection_id":89648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":89648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:29:26] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:26] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:26] local.INFO: IMEI packet received {"connection_id":89648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":89648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:29:29] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:29] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:29:29] local.INFO: IMEI packet received {"connection_id":89648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":89648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:29:29] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87209118012ce9d840071b4430001900222d..."} 
[2026-06-02 12:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87209118012ce9d840071b4430001900222d..."} 
[2026-06-02 12:29:29] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87209118012ce9d840071b4430001900222d..."} 
[2026-06-02 12:29:29] local.INFO: Packet analysis {"connection_id":89648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8720"} 
[2026-06-02 12:29:29] local.INFO: Extracted packet for processing {"connection_id":89648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8720"} 
[2026-06-02 12:29:29] local.INFO: GPS Element Parsed {"raw_longitude":753522752,"raw_latitude":119227440,"longitude_deg":75.3522752,"latitude_deg":11.922744,"altitude":25,"angle":34,"satellites":45,"speed":15,"hex_longitude":"2ce9d840","hex_latitude":"071b4430","is_valid_coordinates":true} 
[2026-06-02 12:29: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-06-02 12:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778180608001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305527300374396928,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1596666774869059584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:29] 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-06-02 12:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780383519000,"timestamp_ms":1780383519000,"timestamp_seconds":1780383519,"priority":1,"record_length":96,"hex_timestamp":"0000019e87209118"} 
[2026-06-02 12:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:29: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-06-02 12:29: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-06-02 12:29: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-06-02 12:29: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-06-02 12:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:29: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-06-02 12:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778180608001,"66":27908,"245":206,"83":41216,"24":15,"16":305527300374396928,"44":-1596666774869059584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-06-02 12:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778180608001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305527300374396928,"km_value":305527300374396.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1596666774869059584,"description":"Unknown IO ID 44"} 
[2026-06-02 12:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778180608001,"power":27908,"geofence_id":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1596666774869059584}} 
[2026-06-02 12:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":89648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:29:29] local.INFO: GPS data processed {"connection_id":89648,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:29:29] local.INFO: Acknowledgment sent {"connection_id":89648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:29:38] local.INFO: TCP Data received {"connection_id":90847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:29:38] local.INFO: Processing buffer {"connection_id":90847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:29:38] local.INFO: IMEI packet received {"connection_id":90847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":90847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:29:49] local.INFO: TCP Data received {"connection_id":89648,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87209500012ce9d940071b4530001900382c..."} 
[2026-06-02 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87209500012ce9d940071b4530001900382c..."} 
[2026-06-02 12:29:49] local.INFO: Processing buffer {"connection_id":89648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87209500012ce9d940071b4530001900382c..."} 
[2026-06-02 12:29:49] local.INFO: Packet analysis {"connection_id":89648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8720"} 
[2026-06-02 12:29:49] local.INFO: Extracted packet for processing {"connection_id":89648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8720"} 
[2026-06-02 12:29:49] local.INFO: GPS Element Parsed {"raw_longitude":753523008,"raw_latitude":119227696,"longitude_deg":75.3523008,"latitude_deg":11.9227696,"altitude":25,"angle":56,"satellites":44,"speed":16,"hex_longitude":"2ce9d940","hex_latitude":"071b4530","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778180864001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305527317554266112,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1596455668636438528,"note":"Value kept but may cause issues"} 
[2026-06-02 12:29: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-06-02 12:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780383520000,"timestamp_ms":1780383520000,"timestamp_seconds":1780383520,"priority":1,"record_length":96,"hex_timestamp":"0000019e87209500"} 
[2026-06-02 12:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:29: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-06-02 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778180864001,"66":27908,"245":206,"83":41216,"24":16,"16":305527317554266112,"44":-1596455668636438528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-06-02 12:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778180864001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305527317554266112,"km_value":305527317554266.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1596455668636438528,"description":"Unknown IO ID 44"} 
[2026-06-02 12:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778180864001,"power":27908,"geofence_id":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1596455668636438528}} 
[2026-06-02 12:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":89648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:29:49] local.INFO: GPS data processed {"connection_id":89648,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:29:49] local.INFO: Acknowledgment sent {"connection_id":89648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:30:13] local.INFO: TCP Data received {"connection_id":89393,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:30:13] local.INFO: Processing buffer {"connection_id":89393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:30:13] local.INFO: IMEI packet received {"connection_id":89393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":89393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:30:24] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:30:24] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:30:24] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:30:29] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:30:29] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:30:29] local.INFO: IMEI packet received {"connection_id":89394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":89394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:30:30] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87215850012ce9df80071ba068001700382a..."} 
[2026-06-02 12:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87215850012ce9df80071ba068001700382a..."} 
[2026-06-02 12:30:30] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87215850012ce9df80071ba068001700382a..."} 
[2026-06-02 12:30:30] local.INFO: Packet analysis {"connection_id":89394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:30:30] local.INFO: Extracted packet for processing {"connection_id":89394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:30:30] local.INFO: GPS Element Parsed {"raw_longitude":753524608,"raw_latitude":119251048,"longitude_deg":75.3524608,"latitude_deg":11.9251048,"altitude":23,"angle":56,"satellites":42,"speed":18,"hex_longitude":"2ce9df80","hex_latitude":"071ba068","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778193664001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305528524440076288,"note":"Value kept but may cause issues"} 
[2026-06-02 12:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594696450026031104,"note":"Value kept but may cause issues"} 
[2026-06-02 12:30:30] 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-06-02 12:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780383570000,"timestamp_ms":1780383570000,"timestamp_seconds":1780383570,"priority":1,"record_length":96,"hex_timestamp":"0000019e87215850"} 
[2026-06-02 12:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:30: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-06-02 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 12:30: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-06-02 12: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-06-02 12:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778193664001,"66":27865,"209":206,"83":41216,"24":18,"16":305528524440076288,"44":-1594696450026031104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-06-02 12:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778193664001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:30:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-02 12:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305528524440076288,"km_value":305528524440076.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594696450026031104,"description":"Unknown IO ID 44"} 
[2026-06-02 12:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778193664001,"power":27865,"unknown_209":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1594696450026031104}} 
[2026-06-02 12:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":89394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:30:30] local.INFO: GPS data processed {"connection_id":89394,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:30:30] local.INFO: Acknowledgment sent {"connection_id":89394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:31:05] local.INFO: TCP Data received {"connection_id":90848,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:31:05] local.INFO: Processing buffer {"connection_id":90848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:31:05] local.INFO: IMEI packet received {"connection_id":90848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":90848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:31:11] local.INFO: TCP Data received {"connection_id":90848,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:31:11] local.INFO: Processing buffer {"connection_id":90848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:31:11] local.INFO: IMEI packet received {"connection_id":90848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":90848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:31:12] local.INFO: TCP Data received {"connection_id":90848,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8721b228012d1d17c0071e51c8004f00992c..."} 
[2026-06-02 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8721b228012d1d17c0071e51c8004f00992c..."} 
[2026-06-02 12:31:12] local.INFO: Processing buffer {"connection_id":90848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8721b228012d1d17c0071e51c8004f00992c..."} 
[2026-06-02 12:31:12] local.INFO: Packet analysis {"connection_id":90848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:12] local.INFO: Extracted packet for processing {"connection_id":90848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756881344,"raw_latitude":119427528,"longitude_deg":75.6881344,"latitude_deg":11.9427528,"altitude":79,"angle":153,"satellites":44,"speed":28,"hex_longitude":"2d1d17c0","hex_latitude":"071e51c8","is_valid_coordinates":true} 
[2026-06-02 12:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778199552001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125175408797679616,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095933075905318912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780383593000,"timestamp_ms":1780383593000,"timestamp_seconds":1780383593,"priority":1,"record_length":96,"hex_timestamp":"0000019e8721b228"} 
[2026-06-02 12:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:31:12] 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-06-02 12:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 12:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:31:12] 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-06-02 12:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778199552001,"66":14276,"109":206,"83":41984,"24":28,"16":125175408797679616,"45":2095933075905318912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-06-02 12:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778199552001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:31:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 12:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125175408797679616,"km_value":125175408797679.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095933075905318912,"description":"Unknown IO ID 45"} 
[2026-06-02 12:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778199552001,"power":14276,"unknown_109":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2095933075905318912}} 
[2026-06-02 12:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":90848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:31:12] local.INFO: GPS data processed {"connection_id":90848,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:31:12] local.INFO: Acknowledgment sent {"connection_id":90848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:31:18] local.INFO: TCP Data received {"connection_id":89394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87215c38012ce9e140071ba1200017004d2b..."} 
[2026-06-02 12:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87215c38012ce9e140071ba1200017004d2b..."} 
[2026-06-02 12:31:18] local.INFO: Processing buffer {"connection_id":89394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87215c38012ce9e140071ba1200017004d2b..."} 
[2026-06-02 12:31:18] local.INFO: Packet analysis {"connection_id":89394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:18] local.INFO: Extracted packet for processing {"connection_id":89394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:18] local.INFO: GPS Element Parsed {"raw_longitude":753525056,"raw_latitude":119251232,"longitude_deg":75.3525056,"latitude_deg":11.9251232,"altitude":23,"angle":77,"satellites":43,"speed":20,"hex_longitude":"2ce9e140","hex_latitude":"071ba120","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778193920001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305528545914912768,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594414975049242624,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780383571000,"timestamp_ms":1780383571000,"timestamp_seconds":1780383571,"priority":1,"record_length":96,"hex_timestamp":"0000019e87215c38"} 
[2026-06-02 12:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 12:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778193920001,"66":27800,"209":206,"83":41216,"24":20,"16":305528545914912768,"44":-1594414975049242624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-06-02 12:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778193920001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:31:18] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-02 12:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305528545914912768,"km_value":305528545914912.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594414975049242624,"description":"Unknown IO ID 44"} 
[2026-06-02 12:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778193920001,"power":27800,"unknown_209":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1594414975049242624}} 
[2026-06-02 12:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":89394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:31:18] local.INFO: GPS data processed {"connection_id":89394,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:31:18] local.INFO: Acknowledgment sent {"connection_id":89394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:31:24] local.INFO: TCP Data received {"connection_id":89650,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:31:24] local.INFO: Processing buffer {"connection_id":89650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:31:24] local.INFO: IMEI packet received {"connection_id":89650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":89650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:31:29] local.INFO: TCP Data received {"connection_id":89650,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:31:29] local.INFO: Processing buffer {"connection_id":89650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:31:29] local.INFO: IMEI packet received {"connection_id":89650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":89650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:31:30] local.INFO: TCP Data received {"connection_id":89650,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872167f0012ce9e880071ba1d80017005a2b..."} 
[2026-06-02 12:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872167f0012ce9e880071ba1d80017005a2b..."} 
[2026-06-02 12:31:30] local.INFO: Processing buffer {"connection_id":89650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872167f0012ce9e880071ba1d80017005a2b..."} 
[2026-06-02 12:31:30] local.INFO: Packet analysis {"connection_id":89650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:30] local.INFO: Extracted packet for processing {"connection_id":89650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":753526912,"raw_latitude":119251416,"longitude_deg":75.3526912,"latitude_deg":11.9251416,"altitude":23,"angle":90,"satellites":43,"speed":26,"hex_longitude":"2ce9e880","hex_latitude":"071ba1d8","is_valid_coordinates":true} 
[2026-06-02 12:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778194176001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305528636109225984,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1593922393839951872,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:30] 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-06-02 12:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780383574000,"timestamp_ms":1780383574000,"timestamp_seconds":1780383574,"priority":1,"record_length":96,"hex_timestamp":"0000019e872167f0"} 
[2026-06-02 12:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:31: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-06-02 12:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 12:31:30] 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-06-02 12:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778194176001,"66":27865,"209":206,"83":41216,"24":26,"16":305528636109225984,"44":-1593922393839951872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-06-02 12:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778194176001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:31:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-02 12:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-06-02 12:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305528636109225984,"km_value":305528636109226.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1593922393839951872,"description":"Unknown IO ID 44"} 
[2026-06-02 12:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778194176001,"power":27865,"unknown_209":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1593922393839951872}} 
[2026-06-02 12:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":89650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:31:30] local.INFO: GPS data processed {"connection_id":89650,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:31:30] local.INFO: Acknowledgment sent {"connection_id":89650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:31:43] local.INFO: TCP Data received {"connection_id":90848,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8721b610012d1d1840071e4f10004f00a82c..."} 
[2026-06-02 12:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8721b610012d1d1840071e4f10004f00a82c..."} 
[2026-06-02 12:31:43] local.INFO: Processing buffer {"connection_id":90848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8721b610012d1d1840071e4f10004f00a82c..."} 
[2026-06-02 12:31:43] local.INFO: Packet analysis {"connection_id":90848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:43] local.INFO: Extracted packet for processing {"connection_id":90848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756881472,"raw_latitude":119426832,"longitude_deg":75.6881472,"latitude_deg":11.9426832,"altitude":79,"angle":168,"satellites":44,"speed":29,"hex_longitude":"2d1d1840","hex_latitude":"071e4f10","is_valid_coordinates":true} 
[2026-06-02 12:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778199808001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125175443157417984,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096355288370235392,"note":"Value kept but may cause issues"} 
[2026-06-02 12:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780383594000,"timestamp_ms":1780383594000,"timestamp_seconds":1780383594,"priority":1,"record_length":96,"hex_timestamp":"0000019e8721b610"} 
[2026-06-02 12:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:31:43] 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-06-02 12:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 12:31:43] 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-06-02 12:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:31:43] 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-06-02 12:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778199808001,"66":14276,"109":206,"83":41984,"24":29,"16":125175443157417984,"45":2096355288370235392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-06-02 12:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778199808001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:31:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 12:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125175443157417984,"km_value":125175443157417.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096355288370235392,"description":"Unknown IO ID 45"} 
[2026-06-02 12:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778199808001,"power":14276,"unknown_109":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2096355288370235392}} 
[2026-06-02 12:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":90848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:31:43] local.INFO: GPS data processed {"connection_id":90848,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:31:43] local.INFO: Acknowledgment sent {"connection_id":90848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:32:05] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:05] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:05] local.INFO: IMEI packet received {"connection_id":89787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":89787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:32:08] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:08] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:08] local.INFO: IMEI packet received {"connection_id":89787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":89787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:32:09] local.INFO: TCP Data received {"connection_id":89650,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872294b8012ce9f5c0071c75b0000b000429..."} 
[2026-06-02 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872294b8012ce9f5c0071c75b0000b000429..."} 
[2026-06-02 12:32:09] local.INFO: Processing buffer {"connection_id":89650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872294b8012ce9f5c0071c75b0000b000429..."} 
[2026-06-02 12:32:09] local.INFO: Packet analysis {"connection_id":89650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8722"} 
[2026-06-02 12:32:09] local.INFO: Extracted packet for processing {"connection_id":89650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8722"} 
[2026-06-02 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":753530304,"raw_latitude":119305648,"longitude_deg":75.3530304,"latitude_deg":11.9305648,"altitude":11,"angle":4,"satellites":41,"speed":32,"hex_longitude":"2ce9f5c0","hex_latitude":"071c75b0","is_valid_coordinates":true} 
[2026-06-02 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778211840001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305531475082608640,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588996581736015872,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:09] 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-06-02 12:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780383651000,"timestamp_ms":1780383651000,"timestamp_seconds":1780383651,"priority":1,"record_length":96,"hex_timestamp":"0000019e872294b8"} 
[2026-06-02 12:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:32: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-06-02 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 12:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778211840001,"66":27919,"127":206,"83":43008,"24":32,"16":305531475082608640,"44":-1588996581736015872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-06-02 12:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778211840001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:32:09] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-02 12:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305531475082608640,"km_value":305531475082608.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588996581736015872,"description":"Unknown IO ID 44"} 
[2026-06-02 12:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778211840001,"power":27919,"unknown_127":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1588996581736015872}} 
[2026-06-02 12:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":89650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:32:09] local.INFO: GPS data processed {"connection_id":89650,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:32:09] local.INFO: Acknowledgment sent {"connection_id":89650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:32:11] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:11] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:32:11] local.INFO: IMEI packet received {"connection_id":89787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":89787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:32:11] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8721c998012d1d1ac0071e4230004d009d26..."} 
[2026-06-02 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8721c998012d1d1ac0071e4230004d009d26..."} 
[2026-06-02 12:32:11] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8721c998012d1d1ac0071e4230004d009d26..."} 
[2026-06-02 12:32:11] local.INFO: Packet analysis {"connection_id":89787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:32:11] local.INFO: Extracted packet for processing {"connection_id":89787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756882112,"raw_latitude":119423536,"longitude_deg":75.6882112,"latitude_deg":11.9423536,"altitude":77,"angle":157,"satellites":38,"speed":25,"hex_longitude":"2d1d1ac0","hex_latitude":"071e4230","is_valid_coordinates":true} 
[2026-06-02 12:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778200064001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125175606366175232,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096496025858412544,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780383599000,"timestamp_ms":1780383599000,"timestamp_seconds":1780383599,"priority":1,"record_length":96,"hex_timestamp":"0000019e8721c998"} 
[2026-06-02 12:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:32:11] 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-06-02 12:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-02 12:32:11] 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-06-02 12:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778200064001,"66":13461,"109":206,"83":41984,"24":25,"16":125175606366175232,"45":2096496025858412544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-06-02 12:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778200064001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:32:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 12:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125175606366175232,"km_value":125175606366175.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096496025858412544,"description":"Unknown IO ID 45"} 
[2026-06-02 12:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778200064001,"power":13461,"unknown_109":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2096496025858412544}} 
[2026-06-02 12:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":89787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:32:11] local.INFO: GPS data processed {"connection_id":89787,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:32:11] local.INFO: Acknowledgment sent {"connection_id":89787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:32:26] local.INFO: TCP Data received {"connection_id":89396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:26] local.INFO: Processing buffer {"connection_id":89396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:26] local.INFO: IMEI packet received {"connection_id":89396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":89396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:32:29] local.INFO: TCP Data received {"connection_id":89396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:29] local.INFO: Processing buffer {"connection_id":89396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:29] local.INFO: IMEI packet received {"connection_id":89396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":89396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:32:34] local.INFO: TCP Data received {"connection_id":89396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:34] local.INFO: Processing buffer {"connection_id":89396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:32:34] local.INFO: IMEI packet received {"connection_id":89396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":89396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:32:35] local.INFO: TCP Data received {"connection_id":89396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8722c780012ce9f880071c99b8000f00032d..."} 
[2026-06-02 12:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8722c780012ce9f880071c99b8000f00032d..."} 
[2026-06-02 12:32:35] local.INFO: Processing buffer {"connection_id":89396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8722c780012ce9f880071c99b8000f00032d..."} 
[2026-06-02 12:32:35] local.INFO: Packet analysis {"connection_id":89396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8722"} 
[2026-06-02 12:32:35] local.INFO: Extracted packet for processing {"connection_id":89396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8722"} 
[2026-06-02 12:32:35] local.INFO: GPS Element Parsed {"raw_longitude":753531008,"raw_latitude":119314872,"longitude_deg":75.3531008,"latitude_deg":11.9314872,"altitude":15,"angle":3,"satellites":45,"speed":24,"hex_longitude":"2ce9f880","hex_latitude":"071c99b8","is_valid_coordinates":true} 
[2026-06-02 12:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778214656001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305531926054174720,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588152156803452928,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:35] 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-06-02 12:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780383664000,"timestamp_ms":1780383664000,"timestamp_seconds":1780383664,"priority":1,"record_length":96,"hex_timestamp":"0000019e8722c780"} 
[2026-06-02 12:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:32: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-06-02 12:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778214656001,"66":27919,"127":206,"83":43008,"24":24,"16":305531926054174720,"44":-1588152156803452928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-06-02 12:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778214656001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:32:35] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-02 12:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305531926054174720,"km_value":305531926054174.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588152156803452928,"description":"Unknown IO ID 44"} 
[2026-06-02 12:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778214656001,"power":27919,"unknown_127":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-1588152156803452928}} 
[2026-06-02 12:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":89396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:32:35] local.INFO: GPS data processed {"connection_id":89396,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:32:35] local.INFO: Acknowledgment sent {"connection_id":89396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:32:39] local.INFO: TCP Data received {"connection_id":89396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87230218012ce9fb40071cbca8001000022e..."} 
[2026-06-02 12:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87230218012ce9fb40071cbca8001000022e..."} 
[2026-06-02 12:32:39] local.INFO: Processing buffer {"connection_id":89396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87230218012ce9fb40071cbca8001000022e..."} 
[2026-06-02 12:32:39] local.INFO: Packet analysis {"connection_id":89396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:32:39] local.INFO: Extracted packet for processing {"connection_id":89396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:32:39] local.INFO: GPS Element Parsed {"raw_longitude":753531712,"raw_latitude":119323816,"longitude_deg":75.3531712,"latitude_deg":11.9323816,"altitude":16,"angle":2,"satellites":46,"speed":23,"hex_longitude":"2ce9fb40","hex_latitude":"071cbca8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778217984001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305532359845871616,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587378100615137280,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:39] 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-06-02 12:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780383679000,"timestamp_ms":1780383679000,"timestamp_seconds":1780383679,"priority":1,"record_length":96,"hex_timestamp":"0000019e87230218"} 
[2026-06-02 12:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:32: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-06-02 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:32: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-06-02 12: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-06-02 12:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778217984001,"66":27952,"110":206,"83":43008,"24":23,"16":305532359845871616,"44":-1587378100615137280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-06-02 12:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778217984001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:32:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 12:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305532359845871616,"km_value":305532359845871.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:32:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587378100615137280,"description":"Unknown IO ID 44"} 
[2026-06-02 12:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778217984001,"power":27952,"unknown_110":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-1587378100615137280}} 
[2026-06-02 12:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":89396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:32:39] local.INFO: GPS data processed {"connection_id":89396,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:32:39] local.INFO: Acknowledgment sent {"connection_id":89396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:32:43] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8721e108012d1d1f40071e3908004d008b26..."} 
[2026-06-02 12:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8721e108012d1d1f40071e3908004d008b26..."} 
[2026-06-02 12:32:43] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8721e108012d1d1f40071e3908004d008b26..."} 
[2026-06-02 12:32:43] local.INFO: Packet analysis {"connection_id":89787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:32:43] local.INFO: Extracted packet for processing {"connection_id":89787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8721"} 
[2026-06-02 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756883264,"raw_latitude":119421192,"longitude_deg":75.6883264,"latitude_deg":11.9421192,"altitude":77,"angle":139,"satellites":38,"speed":5,"hex_longitude":"2d1d1f40","hex_latitude":"071e3908","is_valid_coordinates":true} 
[2026-06-02 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778201344001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125175730920226816,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2097199713299345408,"note":"Value kept but may cause issues"} 
[2026-06-02 12:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780383605000,"timestamp_ms":1780383605000,"timestamp_seconds":1780383605,"priority":1,"record_length":96,"hex_timestamp":"0000019e8721e108"} 
[2026-06-02 12:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:32:43] 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-06-02 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-06-02 12:32:43] 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-06-02 12:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:32:43] 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-06-02 12:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778201344001,"66":14428,"107":206,"83":41984,"24":5,"16":125175730920226816,"45":2097199713299345408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778201344001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:32:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125175730920226816,"km_value":125175730920226.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2097199713299345408,"description":"Unknown IO ID 45"} 
[2026-06-02 12:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778201344001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2097199713299345408}} 
[2026-06-02 12:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":89787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:32:43] local.INFO: GPS data processed {"connection_id":89787,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:32:43] local.INFO: Acknowledgment sent {"connection_id":89787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:33:07] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:07] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:07] local.INFO: IMEI packet received {"connection_id":89652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":89652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:33:11] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:11] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:11] local.INFO: IMEI packet received {"connection_id":89652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":89652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:33:15] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:15] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:33:15] local.INFO: IMEI packet received {"connection_id":89652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":89652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:33:16] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8723bd98012d1d5140071e47180053013629..."} 
[2026-06-02 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8723bd98012d1d5140071e47180053013629..."} 
[2026-06-02 12:33:16] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8723bd98012d1d5140071e47180053013629..."} 
[2026-06-02 12:33:16] local.INFO: Packet analysis {"connection_id":89652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:33:16] local.INFO: Extracted packet for processing {"connection_id":89652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756896064,"raw_latitude":119424792,"longitude_deg":75.6896064,"latitude_deg":11.9424792,"altitude":83,"angle":310,"satellites":41,"speed":1,"hex_longitude":"2d1d5140","hex_latitude":"071e4718","is_valid_coordinates":true} 
[2026-06-02 12:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778230016001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125176422409961472,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2112399362041966592,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780383727000,"timestamp_ms":1780383727000,"timestamp_seconds":1780383727,"priority":1,"record_length":96,"hex_timestamp":"0000019e8723bd98"} 
[2026-06-02 12:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:33:16] 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-06-02 12:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 12:33: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-06-02 12:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:33: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-06-02 12:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778230016001,"66":13352,"107":206,"83":41984,"24":1,"16":125176422409961472,"45":2112399362041966592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778230016001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:33:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125176422409961472,"km_value":125176422409961.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2112399362041966592,"description":"Unknown IO ID 45"} 
[2026-06-02 12:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778230016001,"power":13352,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":2112399362041966592}} 
[2026-06-02 12:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":89652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:33:16] local.INFO: GPS data processed {"connection_id":89652,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:33:16] local.INFO: Acknowledgment sent {"connection_id":89652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:33:18] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8723cd38012d1d5140071e4710005300ed27..."} 
[2026-06-02 12:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8723cd38012d1d5140071e4710005300ed27..."} 
[2026-06-02 12:33:18] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8723cd38012d1d5140071e4710005300ed27..."} 
[2026-06-02 12:33:18] local.INFO: Packet analysis {"connection_id":89652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:33:18] local.INFO: Extracted packet for processing {"connection_id":89652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756896064,"raw_latitude":119424784,"longitude_deg":75.6896064,"latitude_deg":11.9424784,"altitude":83,"angle":237,"satellites":39,"speed":0,"hex_longitude":"2d1d5140","hex_latitude":"071e4710","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778234112001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125176430999896064,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2112540099530397696,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780383731000,"timestamp_ms":1780383731000,"timestamp_seconds":1780383731,"priority":1,"record_length":96,"hex_timestamp":"0000019e8723cd38"} 
[2026-06-02 12:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:33: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-06-02 12: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 12:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:33:18] 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-06-02 12:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778234112001,"66":14396,"107":206,"83":41984,"24":0,"16":125176430999896064,"45":2112540099530397696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778234112001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:33:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125176430999896064,"km_value":125176430999896.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2112540099530397696,"description":"Unknown IO ID 45"} 
[2026-06-02 12:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778234112001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2112540099530397696}} 
[2026-06-02 12:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":89652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:33:18] local.INFO: GPS data processed {"connection_id":89652,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:33:18] local.INFO: Acknowledgment sent {"connection_id":89652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:33:20] local.INFO: TCP Data received {"connection_id":89788,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:33:20] local.INFO: Processing buffer {"connection_id":89788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:33:20] local.INFO: IMEI packet received {"connection_id":89788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":89788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:33:22] local.INFO: TCP Data received {"connection_id":89788,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:33:22] local.INFO: Processing buffer {"connection_id":89788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:33:22] local.INFO: IMEI packet received {"connection_id":89788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":89788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:33:32] local.INFO: TCP Data received {"connection_id":89788,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89788,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 12:33:32] local.INFO: Processing buffer {"connection_id":89788,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 12:33:32] local.INFO: IMEI packet received {"connection_id":89788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":89788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:33:49] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8723f448012d1d5100071e46f80053010627..."} 
[2026-06-02 12:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8723f448012d1d5100071e46f80053010627..."} 
[2026-06-02 12:33:49] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8723f448012d1d5100071e46f80053010627..."} 
[2026-06-02 12:33:49] local.INFO: Packet analysis {"connection_id":89652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:33:49] local.INFO: Extracted packet for processing {"connection_id":89652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8723"} 
[2026-06-02 12:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756896000,"raw_latitude":119424760,"longitude_deg":75.6896,"latitude_deg":11.942476,"altitude":83,"angle":262,"satellites":39,"speed":4,"hex_longitude":"2d1d5100","hex_latitude":"071e46f8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778235136001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125176443884797952,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2112540099530395648,"note":"Value kept but may cause issues"} 
[2026-06-02 12:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780383741000,"timestamp_ms":1780383741000,"timestamp_seconds":1780383741,"priority":1,"record_length":96,"hex_timestamp":"0000019e8723f448"} 
[2026-06-02 12:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:33:49] 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-06-02 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 12:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:33:49] 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-06-02 12:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778235136001,"66":14407,"107":206,"83":41984,"24":4,"16":125176443884797952,"45":2112540099530395648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778235136001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:33:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125176443884797952,"km_value":125176443884797.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2112540099530395648,"description":"Unknown IO ID 45"} 
[2026-06-02 12:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778235136001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":2112540099530395648}} 
[2026-06-02 12:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":89652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:33:49] local.INFO: GPS data processed {"connection_id":89652,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:33:49] local.INFO: Acknowledgment sent {"connection_id":89652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:34:06] local.INFO: TCP Data received {"connection_id":89397,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:34:06] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:34:06] local.INFO: IMEI packet received {"connection_id":89397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":89397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:34:09] local.INFO: TCP Data received {"connection_id":89397,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:34:09] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:34:09] local.INFO: IMEI packet received {"connection_id":89397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":89397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:34:10] local.INFO: TCP Data received {"connection_id":89397,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8724c738012d1d1780071e5278004e014e2c..."} 
[2026-06-02 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8724c738012d1d1780071e5278004e014e2c..."} 
[2026-06-02 12:34:10] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8724c738012d1d1780071e5278004e014e2c..."} 
[2026-06-02 12:34:10] local.INFO: Packet analysis {"connection_id":89397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8724"} 
[2026-06-02 12:34:10] local.INFO: Extracted packet for processing {"connection_id":89397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8724"} 
[2026-06-02 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756881280,"raw_latitude":119427704,"longitude_deg":75.688128,"latitude_deg":11.9427704,"altitude":78,"angle":334,"satellites":44,"speed":26,"hex_longitude":"2d1d1780","hex_latitude":"071e5278","is_valid_coordinates":true} 
[2026-06-02 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778249984001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125177436022243328,"note":"Value kept but may cause issues"} 
[2026-06-02 12:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096988607067011072,"note":"Value kept but may cause issues"} 
[2026-06-02 12:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780383795000,"timestamp_ms":1780383795000,"timestamp_seconds":1780383795,"priority":1,"record_length":96,"hex_timestamp":"0000019e8724c738"} 
[2026-06-02 12:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:34:10] 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-06-02 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 12:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:34:10] 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-06-02 12:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778249984001,"66":14026,"107":206,"83":41984,"24":26,"16":125177436022243328,"45":2096988607067011072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778249984001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:34:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125177436022243328,"km_value":125177436022243.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096988607067011072,"description":"Unknown IO ID 45"} 
[2026-06-02 12:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778249984001,"power":14026,"unknown_107":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2096988607067011072}} 
[2026-06-02 12:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":89397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:34:10] local.INFO: GPS data processed {"connection_id":89397,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:34:10] local.INFO: Acknowledgment sent {"connection_id":89397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:34:41] local.INFO: TCP Data received {"connection_id":89397,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8724cb20012d1d1600071e54a0004e01422b..."} 
[2026-06-02 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8724cb20012d1d1600071e54a0004e01422b..."} 
[2026-06-02 12:34:41] local.INFO: Processing buffer {"connection_id":89397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8724cb20012d1d1600071e54a0004e01422b..."} 
[2026-06-02 12:34:41] local.INFO: Packet analysis {"connection_id":89397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8724"} 
[2026-06-02 12:34:41] local.INFO: Extracted packet for processing {"connection_id":89397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8724"} 
[2026-06-02 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756880896,"raw_latitude":119428256,"longitude_deg":75.6880896,"latitude_deg":11.9428256,"altitude":78,"angle":322,"satellites":43,"speed":24,"hex_longitude":"2d1d1600","hex_latitude":"071e54a0","is_valid_coordinates":true} 
[2026-06-02 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778251520001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125177466087014400,"note":"Value kept but may cause issues"} 
[2026-06-02 12:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096284919626102784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780383796000,"timestamp_ms":1780383796000,"timestamp_seconds":1780383796,"priority":1,"record_length":96,"hex_timestamp":"0000019e8724cb20"} 
[2026-06-02 12:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:34:41] 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-06-02 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 12:34:41] 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-06-02 12:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:34:41] 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-06-02 12:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778251520001,"66":14026,"107":206,"83":41984,"24":24,"16":125177466087014400,"45":2096284919626102784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778251520001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:34:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125177466087014400,"km_value":125177466087014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096284919626102784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778251520001,"power":14026,"unknown_107":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":2096284919626102784}} 
[2026-06-02 12:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":89397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:34:41] local.INFO: GPS data processed {"connection_id":89397,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:34:41] local.INFO: Acknowledgment sent {"connection_id":89397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:35:17] local.INFO: TCP Data received {"connection_id":90851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:35:17] local.INFO: Processing buffer {"connection_id":90851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:35:17] local.INFO: IMEI packet received {"connection_id":90851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":90851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:35:18] local.INFO: TCP Data received {"connection_id":90851,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 12:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90851,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 12:35:18] local.INFO: Processing buffer {"connection_id":90851,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 12:35:18] local.INFO: IMEI packet received {"connection_id":90851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":90851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:35:19] local.INFO: TCP Data received {"connection_id":90851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8724cf08012d1d1440071e5650004e01312a..."} 
[2026-06-02 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8724cf08012d1d1440071e5650004e01312a..."} 
[2026-06-02 12:35:19] local.INFO: Processing buffer {"connection_id":90851,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019e87..."} 
[2026-06-02 12:35:19] local.INFO: IMEI packet received {"connection_id":90851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":90851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:35:20] local.INFO: TCP Data received {"connection_id":90851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872505b8012d1cf300071e68580052012b2b..."} 
[2026-06-02 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872505b8012d1cf300071e68580052012b2b..."} 
[2026-06-02 12:35:20] local.INFO: Processing buffer {"connection_id":90851,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e8724cf08012d1d1440071e5650004e01312a..."} 
[2026-06-02 12:35:20] local.INFO: Packet analysis {"connection_id":90851,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8724"} 
[2026-06-02 12:35:20] local.INFO: Extracted packet for processing {"connection_id":90851,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8724"} 
[2026-06-02 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756880448,"raw_latitude":119428688,"longitude_deg":75.6880448,"latitude_deg":11.9428688,"altitude":78,"angle":305,"satellites":42,"speed":26,"hex_longitude":"2d1d1440","hex_latitude":"071e5650","is_valid_coordinates":true} 
[2026-06-02 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-06-02 12:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778251776001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125177496151785472,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095862707161178112,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780383797000,"timestamp_ms":1780383797000,"timestamp_seconds":1780383797,"priority":1,"record_length":96,"hex_timestamp":"0000019e8724cf08"} 
[2026-06-02 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-06-02 12:35:20] 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-06-02 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":202,"data_length":795,"current_offset":136} 
[2026-06-02 12:35:20] 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-06-02 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-06-02 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-06-02 12:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:35:20] 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-06-02 12:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778251776001,"66":13993,"107":206,"83":41984,"24":26,"16":125177496151785472,"45":2095862707161178112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778251776001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125177496151785472,"km_value":125177496151785.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095862707161178112,"description":"Unknown IO ID 45"} 
[2026-06-02 12:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778251776001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2095862707161178112}} 
[2026-06-02 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":90851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:35:20] local.INFO: GPS data processed {"connection_id":90851,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:35:20] local.INFO: Acknowledgment sent {"connection_id":90851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:35:20] local.INFO: Packet analysis {"connection_id":90851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8725"} 
[2026-06-02 12:35:20] local.INFO: Extracted packet for processing {"connection_id":90851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8725"} 
[2026-06-02 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756871936,"raw_latitude":119433304,"longitude_deg":75.6871936,"latitude_deg":11.9433304,"altitude":82,"angle":299,"satellites":43,"speed":27,"hex_longitude":"2d1cf300","hex_latitude":"071e6858","is_valid_coordinates":true} 
[2026-06-02 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-06-02 12:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778252032001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125177955713286144,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095370125952045056,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780383811000,"timestamp_ms":1780383811000,"timestamp_seconds":1780383811,"priority":1,"record_length":96,"hex_timestamp":"0000019e872505b8"} 
[2026-06-02 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-06-02 12:35:20] 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-06-02 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":169,"data_length":795,"current_offset":136} 
[2026-06-02 12:35:20] 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-06-02 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-06-02 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-06-02 12:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:35:20] 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-06-02 12:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778252032001,"66":14004,"107":206,"83":41984,"24":27,"16":125177955713286144,"45":2095370125952045056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778252032001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125177955713286144,"km_value":125177955713286.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095370125952045056,"description":"Unknown IO ID 45"} 
[2026-06-02 12:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778252032001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2095370125952045056}} 
[2026-06-02 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":90851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:35:20] local.INFO: GPS data processed {"connection_id":90851,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:35:20] local.INFO: Acknowledgment sent {"connection_id":90851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:35:21] local.INFO: TCP Data received {"connection_id":90851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87251940012d1ce680071e6de80053011b2c..."} 
[2026-06-02 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87251940012d1ce680071e6de80053011b2c..."} 
[2026-06-02 12:35:21] local.INFO: Processing buffer {"connection_id":90851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87251940012d1ce680071e6de80053011b2c..."} 
[2026-06-02 12:35:21] local.INFO: Packet analysis {"connection_id":90851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8725"} 
[2026-06-02 12:35:21] local.INFO: Extracted packet for processing {"connection_id":90851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8725"} 
[2026-06-02 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756868736,"raw_latitude":119434728,"longitude_deg":75.6868736,"latitude_deg":11.9434728,"altitude":83,"angle":283,"satellites":44,"speed":26,"hex_longitude":"2d1ce680","hex_latitude":"071e6de8","is_valid_coordinates":true} 
[2026-06-02 12:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778255616001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125178123217010688,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086011082977597440,"note":"Value kept but may cause issues"} 
[2026-06-02 12:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780383816000,"timestamp_ms":1780383816000,"timestamp_seconds":1780383816,"priority":1,"record_length":96,"hex_timestamp":"0000019e87251940"} 
[2026-06-02 12:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-02 12:35:21] 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-06-02 12:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:35:21] 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-06-02 12:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778255616001,"66":14048,"107":206,"83":41984,"24":26,"16":125178123217010688,"45":2086011082977597440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 12:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778255616001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:35:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 12:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125178123217010688,"km_value":125178123217010.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086011082977597440,"description":"Unknown IO ID 45"} 
[2026-06-02 12:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778255616001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2086011082977597440}} 
[2026-06-02 12:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":90851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:35:21] local.INFO: GPS data processed {"connection_id":90851,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:35:21] local.INFO: Acknowledgment sent {"connection_id":90851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:35:58] local.INFO: TCP Data received {"connection_id":90852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:35:58] local.INFO: Processing buffer {"connection_id":90852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:35:58] local.INFO: IMEI packet received {"connection_id":90852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":90852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:36:05] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:05] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:05] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:36:07] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:07] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:07] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:36:10] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:10] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:10] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:36:11] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:11] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:36:11] local.INFO: IMEI packet received {"connection_id":89398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":89398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:36:15] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.20","data_length":1348,"data_hex":"000000000000030f8e0a0000019e872680a0012d1be980071e6018005d011529..."} 
[2026-06-02 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019e872680a0012d1be980071e6018005d011529..."} 
[2026-06-02 12:36:15] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019e872680a0012d1be980071e6018005d011529..."} 
[2026-06-02 12:36:15] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019e8726"} 
[2026-06-02 12:36:15] local.INFO: Extracted packet for processing {"connection_id":89398,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019e8726"} 
[2026-06-02 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756803968,"raw_latitude":119431192,"longitude_deg":75.6803968,"latitude_deg":11.9431192,"altitude":93,"angle":277,"satellites":41,"speed":29,"hex_longitude":"2d1be980","hex_latitude":"071e6018","is_valid_coordinates":true} 
[2026-06-02 12:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778277120001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125181292902875136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2021201469588944896,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780383908000,"timestamp_ms":1780383908000,"timestamp_seconds":1780383908,"priority":1,"record_length":96,"hex_timestamp":"0000019e872680a0"} 
[2026-06-02 12:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:36:15] 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-06-02 12:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 12:36: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-06-02 12:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:36:15] 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-06-02 12:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778277120001,"66":14407,"109":206,"83":41984,"24":29,"16":125181292902875136,"45":2021201469588944896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-06-02 12:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778277120001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:36:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 12:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125181292902875136,"km_value":125181292902875.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2021201469588944896,"description":"Unknown IO ID 45"} 
[2026-06-02 12:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778277120001,"power":14407,"unknown_109":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2021201469588944896}} 
[2026-06-02 12:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":89398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:36:15] local.INFO: GPS data processed {"connection_id":89398,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:36:15] local.INFO: Acknowledgment sent {"connection_id":89398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:36:15] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019e8726"} 
[2026-06-02 12:36:15] local.INFO: Incomplete packet, waiting for more data {"connection_id":89398,"needed":795,"available":553} 
[2026-06-02 12:36:20] local.INFO: TCP Data received {"connection_id":89398,"ip":"42.106.6.20","data_length":1037,"data_hex":"0000000000019e8725c520012d1c70c0071e6ea8006701102800210000000a00..."} 
[2026-06-02 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89398,"packet_length":1037,"packet_hex":"0000000000019e8725c520012d1c70c0071e6ea8006701102800210000000a00..."} 
[2026-06-02 12:36:20] local.INFO: Processing buffer {"connection_id":89398,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e8726af80012d1bc600071e66b8005e01132b..."} 
[2026-06-02 12:36:20] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8726"} 
[2026-06-02 12:36:20] local.INFO: Extracted packet for processing {"connection_id":89398,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8726"} 
[2026-06-02 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756794880,"raw_latitude":119432888,"longitude_deg":75.679488,"latitude_deg":11.9432888,"altitude":94,"angle":275,"satellites":43,"speed":28,"hex_longitude":"2d1bc600","hex_latitude":"071e66b8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778280448001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125181730989539328,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2011279476660377600,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780383920000,"timestamp_ms":1780383920000,"timestamp_seconds":1780383920,"priority":1,"record_length":96,"hex_timestamp":"0000019e8726af80"} 
[2026-06-02 12:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:36:20] 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-06-02 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 12:36: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-06-02 12: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-06-02 12:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:36:20] 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-06-02 12:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778280448001,"66":13863,"109":206,"83":41984,"24":28,"16":125181730989539328,"45":2011279476660377600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-06-02 12:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778280448001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125181730989539328,"km_value":125181730989539.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2011279476660377600,"description":"Unknown IO ID 45"} 
[2026-06-02 12:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778280448001,"power":13863,"unknown_109":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2011279476660377600}} 
[2026-06-02 12:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":89398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:36:20] local.INFO: GPS data processed {"connection_id":89398,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:36:20] local.INFO: Acknowledgment sent {"connection_id":89398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:36:20] local.INFO: Packet analysis {"connection_id":89398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8726"} 
[2026-06-02 12:36:20] local.INFO: Extracted packet for processing {"connection_id":89398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8726"} 
[2026-06-02 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756788160,"raw_latitude":119434296,"longitude_deg":75.678816,"latitude_deg":11.9434296,"altitude":97,"angle":287,"satellites":43,"speed":31,"hex_longitude":"2d1babc0","hex_latitude":"071e6c38","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778283520001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125182061702021120,"note":"Value kept but may cause issues"} 
[2026-06-02 12:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2001287114987583488,"note":"Value kept but may cause issues"} 
[2026-06-02 12: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-06-02 12:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780383929000,"timestamp_ms":1780383929000,"timestamp_seconds":1780383929,"priority":1,"record_length":96,"hex_timestamp":"0000019e8726d2a8"} 
[2026-06-02 12:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:36:20] 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-06-02 12: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":39,"data_length":795,"current_offset":136} 
[2026-06-02 12:36:20] 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-06-02 12: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-06-02 12:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:36:20] 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-06-02 12:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778283520001,"66":13852,"106":206,"83":41984,"24":31,"16":125182061702021120,"45":2001287114987583488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 12:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778283520001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125182061702021120,"km_value":125182061702021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2001287114987583488,"description":"Unknown IO ID 45"} 
[2026-06-02 12:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778283520001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2001287114987583488}} 
[2026-06-02 12:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":89398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:36:20] local.INFO: GPS data processed {"connection_id":89398,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:36:20] local.INFO: Acknowledgment sent {"connection_id":89398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:37:05] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:05] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:05] local.INFO: IMEI packet received {"connection_id":89654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":89654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:37:06] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:06] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:06] local.INFO: IMEI packet received {"connection_id":89654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":89654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:37:10] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:10] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:10] local.INFO: IMEI packet received {"connection_id":89654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":89654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:37:10] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:10] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:37:10] local.INFO: IMEI packet received {"connection_id":89654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":89654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:37:11] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87277e88012d1b5680071eb8b00056011323..."} 
[2026-06-02 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87277e88012d1b5680071eb8b00056011323..."} 
[2026-06-02 12:37:11] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87277e88012d1b5680071eb8b00056011323..."} 
[2026-06-02 12:37:11] local.INFO: Packet analysis {"connection_id":89654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8727"} 
[2026-06-02 12:37:11] local.INFO: Extracted packet for processing {"connection_id":89654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8727"} 
[2026-06-02 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119453872,"longitude_deg":75.6766336,"latitude_deg":11.9453872,"altitude":86,"angle":275,"satellites":35,"speed":22,"hex_longitude":"2d1b5680","hex_latitude":"071eb8b0","is_valid_coordinates":true} 
[2026-06-02 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778295040001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125183663724822528,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975321048391518208,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780383973000,"timestamp_ms":1780383973000,"timestamp_seconds":1780383973,"priority":1,"record_length":96,"hex_timestamp":"0000019e87277e88"} 
[2026-06-02 12:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 12:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778295040001,"66":14428,"101":206,"83":41984,"24":22,"16":125183663724822528,"45":1975321048391518208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778295040001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:37:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125183663724822528,"km_value":125183663724822.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975321048391518208,"description":"Unknown IO ID 45"} 
[2026-06-02 12:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778295040001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1975321048391518208}} 
[2026-06-02 12:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":89654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:37:11] local.INFO: GPS data processed {"connection_id":89654,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:37:11] local.INFO: Acknowledgment sent {"connection_id":89654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:37:14] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87278270012d1b5480071eb9500055012123..."} 
[2026-06-02 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87278270012d1b5480071eb9500055012123..."} 
[2026-06-02 12:37:14] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87278270012d1b5480071eb9500055012123..."} 
[2026-06-02 12:37:14] local.INFO: Packet analysis {"connection_id":89654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8727"} 
[2026-06-02 12:37:14] local.INFO: Extracted packet for processing {"connection_id":89654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8727"} 
[2026-06-02 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756765824,"raw_latitude":119454032,"longitude_deg":75.6765824,"latitude_deg":11.9454032,"altitude":85,"angle":289,"satellites":35,"speed":20,"hex_longitude":"2d1b5480","hex_latitude":"071eb950","is_valid_coordinates":true} 
[2026-06-02 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778297088001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125183689494626304,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655089717248,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780383974000,"timestamp_ms":1780383974000,"timestamp_seconds":1780383974,"priority":1,"record_length":96,"hex_timestamp":"0000019e87278270"} 
[2026-06-02 12:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:37:14] 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-06-02 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 12:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:37:14] 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-06-02 12:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778297088001,"66":14428,"101":206,"83":41984,"24":20,"16":125183689494626304,"45":1969902655089717248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778297088001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:37:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125183689494626304,"km_value":125183689494626.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655089717248,"description":"Unknown IO ID 45"} 
[2026-06-02 12:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778297088001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1969902655089717248}} 
[2026-06-02 12:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":89654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:37:14] local.INFO: GPS data processed {"connection_id":89654,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:37:14] local.INFO: Acknowledgment sent {"connection_id":89654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:37:45] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87281eb0012d1b0240071eeb00004e013724..."} 
[2026-06-02 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87281eb0012d1b0240071eeb00004e013724..."} 
[2026-06-02 12:37:45] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87281eb0012d1b0240071eeb00004e013724..."} 
[2026-06-02 12:37:45] local.INFO: Packet analysis {"connection_id":89654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:37:45] local.INFO: Extracted packet for processing {"connection_id":89654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756744768,"raw_latitude":119466752,"longitude_deg":75.6744768,"latitude_deg":11.9466752,"altitude":78,"angle":311,"satellites":36,"speed":19,"hex_longitude":"2d1b0240","hex_latitude":"071eeb00","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778307328001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125184999459651584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946610600770107392,"note":"Value kept but may cause issues"} 
[2026-06-02 12:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780384014000,"timestamp_ms":1780384014000,"timestamp_seconds":1780384014,"priority":1,"record_length":96,"hex_timestamp":"0000019e87281eb0"} 
[2026-06-02 12:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:37:45] 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-06-02 12: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-06-02 12:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:37:45] 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-06-02 12:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778307328001,"66":13287,"101":206,"83":41984,"24":19,"16":125184999459651584,"45":1946610600770107392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778307328001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:37:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125184999459651584,"km_value":125184999459651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946610600770107392,"description":"Unknown IO ID 45"} 
[2026-06-02 12:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778307328001,"power":13287,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1946610600770107392}} 
[2026-06-02 12:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":89654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:37:46] local.INFO: GPS data processed {"connection_id":89654,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:37:46] local.INFO: Acknowledgment sent {"connection_id":89654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:38:05] local.INFO: TCP Data received {"connection_id":89400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:05] local.INFO: Processing buffer {"connection_id":89400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:05] local.INFO: IMEI packet received {"connection_id":89400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":89400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:38:06] local.INFO: TCP Data received {"connection_id":89400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:06] local.INFO: Processing buffer {"connection_id":89400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:06] local.INFO: IMEI packet received {"connection_id":89400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":89400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:38:11] local.INFO: TCP Data received {"connection_id":89400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:11] local.INFO: Processing buffer {"connection_id":89400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:38:11] local.INFO: IMEI packet received {"connection_id":89400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":89400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:38:12] local.INFO: TCP Data received {"connection_id":89400,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87282298012d1b01c0071eed78004f014f26..."} 
[2026-06-02 12:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87282298012d1b01c0071eed78004f014f26..."} 
[2026-06-02 12:38:12] local.INFO: Processing buffer {"connection_id":89400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87282298012d1b01c0071eed78004f014f26..."} 
[2026-06-02 12:38:12] local.INFO: Packet analysis {"connection_id":89400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:38:12] local.INFO: Extracted packet for processing {"connection_id":89400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756744640,"raw_latitude":119467384,"longitude_deg":75.674464,"latitude_deg":11.9467384,"altitude":79,"angle":335,"satellites":38,"speed":21,"hex_longitude":"2d1b01c0","hex_latitude":"071eed78","is_valid_coordinates":true} 
[2026-06-02 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778307584001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125185033819389952,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946188388305141760,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780384015000,"timestamp_ms":1780384015000,"timestamp_seconds":1780384015,"priority":1,"record_length":96,"hex_timestamp":"0000019e87282298"} 
[2026-06-02 12:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:38:12] 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-06-02 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-06-02 12:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:38:12] 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-06-02 12:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778307584001,"66":13852,"101":206,"83":41984,"24":21,"16":125185033819389952,"45":1946188388305141760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778307584001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:38:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125185033819389952,"km_value":125185033819389.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946188388305141760,"description":"Unknown IO ID 45"} 
[2026-06-02 12:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778307584001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1946188388305141760}} 
[2026-06-02 12:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":89400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:38:12] local.INFO: GPS data processed {"connection_id":89400,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:38:12] local.INFO: Acknowledgment sent {"connection_id":89400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:38:29] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:38:29] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:38:29] local.INFO: IMEI packet received {"connection_id":89655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":89655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:38:30] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87272898012cea4fc0071f6548000b01652c..."} 
[2026-06-02 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87272898012cea4fc0071f6548000b01652c..."} 
[2026-06-02 12:38:30] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87272898012cea4fc0071f6548000b01652c..."} 
[2026-06-02 12:38:30] local.INFO: Packet analysis {"connection_id":89655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8727"} 
[2026-06-02 12:38:30] local.INFO: Extracted packet for processing {"connection_id":89655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8727"} 
[2026-06-02 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":753553344,"raw_latitude":119498056,"longitude_deg":75.3553344,"latitude_deg":11.9498056,"altitude":11,"angle":357,"satellites":44,"speed":30,"hex_longitude":"2cea4fc0","hex_latitude":"071f6548","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778289408001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305542513148559360,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563171252572383232,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780383951000,"timestamp_ms":1780383951000,"timestamp_seconds":1780383951,"priority":1,"record_length":96,"hex_timestamp":"0000019e87272898"} 
[2026-06-02 12:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:38: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-06-02 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 12:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778289408001,"66":27865,"75":206,"83":43008,"24":30,"16":305542513148559360,"44":-1563171252572383232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-06-02 12:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778289408001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305542513148559360,"km_value":305542513148559.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563171252572383232,"description":"Unknown IO ID 44"} 
[2026-06-02 12:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778289408001,"power":27865,"unknown_75":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1563171252572383232}} 
[2026-06-02 12:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":89655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:38:30] local.INFO: GPS data processed {"connection_id":89655,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:38:30] local.INFO: Acknowledgment sent {"connection_id":89655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:38:43] local.INFO: TCP Data received {"connection_id":89400,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87282680012d1b0140071ef0480050015d27..."} 
[2026-06-02 12:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87282680012d1b0140071ef0480050015d27..."} 
[2026-06-02 12:38:43] local.INFO: Processing buffer {"connection_id":89400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87282680012d1b0140071ef0480050015d27..."} 
[2026-06-02 12:38:43] local.INFO: Packet analysis {"connection_id":89400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:38:43] local.INFO: Extracted packet for processing {"connection_id":89400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756744512,"raw_latitude":119468104,"longitude_deg":75.6744512,"latitude_deg":11.9468104,"altitude":80,"angle":349,"satellites":39,"speed":25,"hex_longitude":"2d1b0140","hex_latitude":"071ef048","is_valid_coordinates":true} 
[2026-06-02 12:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778307840001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125185068179128320,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946047650816948224,"note":"Value kept but may cause issues"} 
[2026-06-02 12:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780384016000,"timestamp_ms":1780384016000,"timestamp_seconds":1780384016,"priority":1,"record_length":96,"hex_timestamp":"0000019e87282680"} 
[2026-06-02 12:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 12:38: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-06-02 12:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:38:43] 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-06-02 12:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778307840001,"66":13852,"101":206,"83":41984,"24":25,"16":125185068179128320,"45":1946047650816948224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778307840001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:38:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125185068179128320,"km_value":125185068179128.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946047650816948224,"description":"Unknown IO ID 45"} 
[2026-06-02 12:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778307840001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1946047650816948224}} 
[2026-06-02 12:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":89400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:38:43] local.INFO: GPS data processed {"connection_id":89400,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:38:43] local.INFO: Acknowledgment sent {"connection_id":89400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:39:01] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872910e0012cea78c007211630000b000d27..."} 
[2026-06-02 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872910e0012cea78c007211630000b000d27..."} 
[2026-06-02 12:39:01] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872910e0012cea78c007211630000b000d27..."} 
[2026-06-02 12:39:01] local.INFO: Packet analysis {"connection_id":89655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:39:01] local.INFO: Extracted packet for processing {"connection_id":89655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:39:01] local.INFO: GPS Element Parsed {"raw_longitude":753563840,"raw_latitude":119608880,"longitude_deg":75.356384,"latitude_deg":11.960888,"altitude":11,"angle":13,"satellites":39,"speed":28,"hex_longitude":"2cea78c0","hex_latitude":"07211630","is_valid_coordinates":true} 
[2026-06-02 12:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778318592001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305547933397286912,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1553460365848551424,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:01] 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-06-02 12:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780384076000,"timestamp_ms":1780384076000,"timestamp_seconds":1780384076,"priority":1,"record_length":96,"hex_timestamp":"0000019e872910e0"} 
[2026-06-02 12:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 12:39: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-06-02 12:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:39: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-06-02 12:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778318592001,"66":27908,"183":206,"83":43008,"24":28,"16":305547933397286912,"44":-1553460365848551424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-06-02 12:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778318592001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:39:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-02 12:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305547933397286912,"km_value":305547933397286.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1553460365848551424,"description":"Unknown IO ID 44"} 
[2026-06-02 12:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778318592001,"power":27908,"unknown_183":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1553460365848551424}} 
[2026-06-02 12:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":89655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:39:01] local.INFO: GPS data processed {"connection_id":89655,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:39:01] local.INFO: Acknowledgment sent {"connection_id":89655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:39:11] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:39:11] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:39:11] local.INFO: IMEI packet received {"connection_id":89793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":89793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:39:13] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:39:13] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:39:13] local.INFO: IMEI packet received {"connection_id":89793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":89793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:39:14] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87285560012d1afdc0071f13000050016429..."} 
[2026-06-02 12:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87285560012d1afdc0071f13000050016429..."} 
[2026-06-02 12:39:14] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87285560012d1afdc0071f13000050016429..."} 
[2026-06-02 12:39:14] local.INFO: Packet analysis {"connection_id":89793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:39:14] local.INFO: Extracted packet for processing {"connection_id":89793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119476992,"longitude_deg":75.6743616,"latitude_deg":11.9476992,"altitude":80,"angle":356,"satellites":41,"speed":18,"hex_longitude":"2d1afdc0","hex_latitude":"071f1300","is_valid_coordinates":true} 
[2026-06-02 12:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778308096001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125185501970825216,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945906913328777216,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780384028000,"timestamp_ms":1780384028000,"timestamp_seconds":1780384028,"priority":1,"record_length":96,"hex_timestamp":"0000019e87285560"} 
[2026-06-02 12:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:39:14] 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-06-02 12:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 12:39:14] 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-06-02 12:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:39:14] 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-06-02 12:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778308096001,"66":13820,"101":206,"83":41984,"24":18,"16":125185501970825216,"45":1945906913328777216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778308096001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:39:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125185501970825216,"km_value":125185501970825.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945906913328777216,"description":"Unknown IO ID 45"} 
[2026-06-02 12:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778308096001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1945906913328777216}} 
[2026-06-02 12:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":89793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:39:14] local.INFO: GPS data processed {"connection_id":89793,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:39:14] local.INFO: Acknowledgment sent {"connection_id":89793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:39:16] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8728a768012d1afdc0071f15a0004f015f20..."} 
[2026-06-02 12:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8728a768012d1afdc0071f15a0004f015f20..."} 
[2026-06-02 12:39:16] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8728a768012d1afdc0071f15a0004f015f20..."} 
[2026-06-02 12:39:16] local.INFO: Packet analysis {"connection_id":89793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:39:16] local.INFO: Extracted packet for processing {"connection_id":89793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8728"} 
[2026-06-02 12:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119477664,"longitude_deg":75.6743616,"latitude_deg":11.9477664,"altitude":79,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d1afdc0","hex_latitude":"071f15a0","is_valid_coordinates":true} 
[2026-06-02 12:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778311168001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125185536330563584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944921750912565248,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39: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-06-02 12:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780384049000,"timestamp_ms":1780384049000,"timestamp_seconds":1780384049,"priority":1,"record_length":96,"hex_timestamp":"0000019e8728a768"} 
[2026-06-02 12:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:39:16] 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-06-02 12:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 12:39:16] 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-06-02 12:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:39: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-06-02 12:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778311168001,"66":14374,"101":206,"83":41984,"24":0,"16":125185536330563584,"45":1944921750912565248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778311168001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:39:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:39:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125185536330563584,"km_value":125185536330563.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944921750912565248,"description":"Unknown IO ID 45"} 
[2026-06-02 12:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778311168001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944921750912565248}} 
[2026-06-02 12:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":89793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:39:16] local.INFO: GPS data processed {"connection_id":89793,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:39:16] local.INFO: Acknowledgment sent {"connection_id":89793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:39:24] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:24] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:24] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:39:25] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:25] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:25] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:39:29] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:29] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:39:29] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:39:30] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872937f0012cea8100072138d8000a000e26..."} 
[2026-06-02 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872937f0012cea8100072138d8000a000e26..."} 
[2026-06-02 12:39:30] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872937f0012cea8100072138d8000a000e26..."} 
[2026-06-02 12:39:30] local.INFO: Packet analysis {"connection_id":89656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:39:30] local.INFO: Extracted packet for processing {"connection_id":89656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:39:30] local.INFO: GPS Element Parsed {"raw_longitude":753565952,"raw_latitude":119617752,"longitude_deg":75.3565952,"latitude_deg":11.9617752,"altitude":10,"angle":14,"satellites":38,"speed":40,"hex_longitude":"2cea8100","hex_latitude":"072138d8","is_valid_coordinates":true} 
[2026-06-02 12:39: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-06-02 12:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778323456001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305548371483951104,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1551278934776729600,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:30] 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-06-02 12:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780384086000,"timestamp_ms":1780384086000,"timestamp_seconds":1780384086,"priority":1,"record_length":96,"hex_timestamp":"0000019e872937f0"} 
[2026-06-02 12:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:39:30] 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-06-02 12:39: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:39: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-06-02 12:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778323456001,"66":27484,"183":206,"83":43008,"24":40,"16":305548371483951104,"44":-1551278934776729600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-06-02 12:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778323456001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:39:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-02 12:39:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305548371483951104,"km_value":305548371483951.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1551278934776729600,"description":"Unknown IO ID 44"} 
[2026-06-02 12:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778323456001,"power":27484,"unknown_183":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1551278934776729600}} 
[2026-06-02 12:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":89656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:39:30] local.INFO: GPS data processed {"connection_id":89656,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:39:30] local.INFO: Acknowledgment sent {"connection_id":89656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:39:47] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8729dfe8012d1aba00071f45d0003c016227..."} 
[2026-06-02 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8729dfe8012d1aba00071f45d0003c016227..."} 
[2026-06-02 12:39:47] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8729dfe8012d1aba00071f45d0003c016227..."} 
[2026-06-02 12:39:47] local.INFO: Packet analysis {"connection_id":89793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:39:47] local.INFO: Extracted packet for processing {"connection_id":89793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119490000,"longitude_deg":75.6726272,"latitude_deg":11.949,"altitude":60,"angle":354,"satellites":39,"speed":13,"hex_longitude":"2d1aba00","hex_latitude":"071f45d0","is_valid_coordinates":true} 
[2026-06-02 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778336512001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125186854885523456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558731950080,"note":"Value kept but may cause issues"} 
[2026-06-02 12:39: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-06-02 12:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780384129000,"timestamp_ms":1780384129000,"timestamp_seconds":1780384129,"priority":1,"record_length":96,"hex_timestamp":"0000019e8729dfe8"} 
[2026-06-02 12:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:39: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-06-02 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-02 12:39:47] 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-06-02 12:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:39:47] 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-06-02 12:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778336512001,"66":14428,"101":206,"83":41984,"24":13,"16":125186854885523456,"45":1925992558731950080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778336512001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:39:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125186854885523456,"km_value":125186854885523.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558731950080,"description":"Unknown IO ID 45"} 
[2026-06-02 12:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778336512001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1925992558731950080}} 
[2026-06-02 12:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":89793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:39:47] local.INFO: GPS data processed {"connection_id":89793,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:39:47] local.INFO: Acknowledgment sent {"connection_id":89793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:40:01] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87295b18012cea8a0007215d00000c000d26..."} 
[2026-06-02 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87295b18012cea8a0007215d00000c000d26..."} 
[2026-06-02 12:40:01] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87295b18012cea8a0007215d00000c000d26..."} 
[2026-06-02 12:40:01] local.INFO: Packet analysis {"connection_id":89656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:40:01] local.INFO: Extracted packet for processing {"connection_id":89656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8729"} 
[2026-06-02 12:40:01] local.INFO: GPS Element Parsed {"raw_longitude":753568256,"raw_latitude":119627008,"longitude_deg":75.3568256,"latitude_deg":11.9627008,"altitude":12,"angle":13,"satellites":38,"speed":41,"hex_longitude":"2cea8a00","hex_latitude":"07215d00","is_valid_coordinates":true} 
[2026-06-02 12:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778326016001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305548835340419072,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1548956766216595456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:01] 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-06-02 12:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780384095000,"timestamp_ms":1780384095000,"timestamp_seconds":1780384095,"priority":1,"record_length":96,"hex_timestamp":"0000019e87295b18"} 
[2026-06-02 12:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:40: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-06-02 12:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 12:40:01] 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-06-02 12:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:40: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-06-02 12:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778326016001,"66":28137,"183":206,"83":43008,"24":41,"16":305548835340419072,"44":-1548956766216595456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-06-02 12:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778326016001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:40:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-02 12:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305548835340419072,"km_value":305548835340419.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1548956766216595456,"description":"Unknown IO ID 44"} 
[2026-06-02 12:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778326016001,"power":28137,"unknown_183":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1548956766216595456}} 
[2026-06-02 12:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":89656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:40:01] local.INFO: GPS data processed {"connection_id":89656,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:40:01] local.INFO: Acknowledgment sent {"connection_id":89656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:40:05] local.INFO: TCP Data received {"connection_id":90855,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:05] local.INFO: Processing buffer {"connection_id":90855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:05] local.INFO: IMEI packet received {"connection_id":90855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":90855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:40:05] local.INFO: TCP Data received {"connection_id":90855,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:05] local.INFO: Processing buffer {"connection_id":90855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:05] local.INFO: IMEI packet received {"connection_id":90855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":90855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:40:11] local.INFO: TCP Data received {"connection_id":90855,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:11] local.INFO: Processing buffer {"connection_id":90855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:40:11] local.INFO: IMEI packet received {"connection_id":90855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":90855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:40:11] local.INFO: TCP Data received {"connection_id":90855,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000019e872a1a80012d1ab940071f6660003900062a..."} 
[2026-06-02 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90855,"packet_length":93,"packet_hex":"00000000000000518e010000019e872a1a80012d1ab940071f6660003900062a..."} 
[2026-06-02 12:40:11] local.INFO: Processing buffer {"connection_id":90855,"buffer_length":93,"buffer_hex":"00000000000000518e010000019e872a1a80012d1ab940071f6660003900062a..."} 
[2026-06-02 12:40:11] local.INFO: Packet analysis {"connection_id":90855,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019e872a"} 
[2026-06-02 12:40:11] local.INFO: Extracted packet for processing {"connection_id":90855,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019e872a"} 
[2026-06-02 12:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756726080,"raw_latitude":119498336,"longitude_deg":75.672608,"latitude_deg":11.9498336,"altitude":57,"angle":6,"satellites":42,"speed":30,"hex_longitude":"2d1ab940","hex_latitude":"071f6660","is_valid_coordinates":true} 
[2026-06-02 12:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-02 12:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:40:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:40:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 12:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90855,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 12:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90855,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 12:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90855,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 12:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 12:40:11] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 12:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":90855,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 12:40:11] local.ERROR: GPS data processing failed {"connection_id":90855,"error":"No valid data to process"} 
[2026-06-02 12:40:11] local.INFO: Acknowledgment sent {"connection_id":90855,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 12:40:30] local.INFO: TCP Data received {"connection_id":89401,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:40:30] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:40:30] local.INFO: IMEI packet received {"connection_id":89401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":89401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:40:34] local.INFO: TCP Data received {"connection_id":89401,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:40:34] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:40:34] local.INFO: IMEI packet received {"connection_id":89401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":89401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:40:35] local.INFO: TCP Data received {"connection_id":89401,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872a7c28012ceb4880072299a80010003029..."} 
[2026-06-02 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872a7c28012ceb4880072299a80010003029..."} 
[2026-06-02 12:40:35] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872a7c28012ceb4880072299a80010003029..."} 
[2026-06-02 12:40:35] local.INFO: Packet analysis {"connection_id":89401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:40:35] local.INFO: Extracted packet for processing {"connection_id":89401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":753617024,"raw_latitude":119708072,"longitude_deg":75.3617024,"latitude_deg":11.9708072,"altitude":16,"angle":48,"satellites":41,"speed":51,"hex_longitude":"2ceb4880","hex_latitude":"072299a8","is_valid_coordinates":true} 
[2026-06-02 12:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778347264001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305553422365491200,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492802508339697664,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:35] 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-06-02 12:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780384169000,"timestamp_ms":1780384169000,"timestamp_seconds":1780384169,"priority":1,"record_length":96,"hex_timestamp":"0000019e872a7c28"} 
[2026-06-02 12:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:40: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-06-02 12:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 12:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778347264001,"66":27876,"29":206,"83":43008,"24":51,"16":305553422365491200,"44":-1492802508339697664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-06-02 12:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778347264001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:40:35] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 12:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305553422365491200,"km_value":305553422365491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492802508339697664,"description":"Unknown IO ID 44"} 
[2026-06-02 12:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778347264001,"power":27876,"unknown_29":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-1492802508339697664}} 
[2026-06-02 12:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":89401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:40:35] local.INFO: GPS data processed {"connection_id":89401,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:40:35] local.INFO: Acknowledgment sent {"connection_id":89401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:40:42] local.INFO: TCP Data received {"connection_id":90855,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872ae988012d1a7b00071fc7880034014d29..."} 
[2026-06-02 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872ae988012d1a7b00071fc7880034014d29..."} 
[2026-06-02 12:40:42] local.INFO: Processing buffer {"connection_id":90855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872ae988012d1a7b00071fc7880034014d29..."} 
[2026-06-02 12:40:42] local.INFO: Packet analysis {"connection_id":90855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:40:42] local.INFO: Extracted packet for processing {"connection_id":90855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756710144,"raw_latitude":119523208,"longitude_deg":75.6710144,"latitude_deg":11.9523208,"altitude":52,"angle":333,"satellites":41,"speed":31,"hex_longitude":"2d1a7b00","hex_latitude":"071fc788","is_valid_coordinates":true} 
[2026-06-02 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778352896001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125188980894334976,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910863278741385216,"note":"Value kept but may cause issues"} 
[2026-06-02 12:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780384197000,"timestamp_ms":1780384197000,"timestamp_seconds":1780384197,"priority":1,"record_length":96,"hex_timestamp":"0000019e872ae988"} 
[2026-06-02 12:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 12:40:42] 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-06-02 12:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:40:42] 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-06-02 12:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778352896001,"66":14450,"101":206,"83":41984,"24":31,"16":125188980894334976,"45":1910863278741385216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778352896001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:40:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125188980894334976,"km_value":125188980894334.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910863278741385216,"description":"Unknown IO ID 45"} 
[2026-06-02 12:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778352896001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1910863278741385216}} 
[2026-06-02 12:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":90855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:40:42] local.INFO: GPS data processed {"connection_id":90855,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:40:42] local.INFO: Acknowledgment sent {"connection_id":90855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:41:05] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:05] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:05] local.INFO: IMEI packet received {"connection_id":89657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":89657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:41:05] local.INFO: TCP Data received {"connection_id":89401,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872a9f50012ceb67c00722b0f00013003728..."} 
[2026-06-02 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872a9f50012ceb67c00722b0f00013003728..."} 
[2026-06-02 12:41:05] local.INFO: Processing buffer {"connection_id":89401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872a9f50012ceb67c00722b0f00013003728..."} 
[2026-06-02 12:41:05] local.INFO: Packet analysis {"connection_id":89401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:41:05] local.INFO: Extracted packet for processing {"connection_id":89401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":753625024,"raw_latitude":119714032,"longitude_deg":75.3625024,"latitude_deg":11.9714032,"altitude":19,"angle":55,"satellites":40,"speed":39,"hex_longitude":"2ceb67c0","hex_latitude":"0722b0f0","is_valid_coordinates":true} 
[2026-06-02 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778347264001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305553899106861056,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492802508339697664,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:05] 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-06-02 12:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780384178000,"timestamp_ms":1780384178000,"timestamp_seconds":1780384178,"priority":1,"record_length":96,"hex_timestamp":"0000019e872a9f50"} 
[2026-06-02 12:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:41: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-06-02 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 12:41: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-06-02 12:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778347264001,"66":27908,"28":206,"83":43008,"24":39,"16":305553899106861056,"44":-1492802508339697664},"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-06-02 12:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778347264001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305553899106861056,"km_value":305553899106861.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492802508339697664,"description":"Unknown IO ID 44"} 
[2026-06-02 12:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778347264001,"power":27908,"unknown_28":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1492802508339697664}} 
[2026-06-02 12:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":89401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:41:05] local.INFO: GPS data processed {"connection_id":89401,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:41:05] local.INFO: Acknowledgment sent {"connection_id":89401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:41:05] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:05] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:05] local.INFO: IMEI packet received {"connection_id":89657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":89657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:41:10] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:10] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:41:10] local.INFO: IMEI packet received {"connection_id":89657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":89657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:41:11] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872af928012d1a7400071fd1e80033013e28..."} 
[2026-06-02 12:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872af928012d1a7400071fd1e80033013e28..."} 
[2026-06-02 12:41:11] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872af928012d1a7400071fd1e80033013e28..."} 
[2026-06-02 12:41:11] local.INFO: Packet analysis {"connection_id":89657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:41:11] local.INFO: Extracted packet for processing {"connection_id":89657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756708352,"raw_latitude":119525864,"longitude_deg":75.6708352,"latitude_deg":11.9525864,"altitude":51,"angle":318,"satellites":40,"speed":30,"hex_longitude":"2d1a7400","hex_latitude":"071fd1e8","is_valid_coordinates":true} 
[2026-06-02 12:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778354432001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125189135513157632,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908118897719478272,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780384201000,"timestamp_ms":1780384201000,"timestamp_seconds":1780384201,"priority":1,"record_length":96,"hex_timestamp":"0000019e872af928"} 
[2026-06-02 12:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-02 12:41: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-06-02 12:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778354432001,"66":14428,"101":206,"83":41984,"24":30,"16":125189135513157632,"45":1908118897719478272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 12:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778354432001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:41:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 12:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125189135513157632,"km_value":125189135513157.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908118897719478272,"description":"Unknown IO ID 45"} 
[2026-06-02 12:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778354432001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1908118897719478272}} 
[2026-06-02 12:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":89657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:41:11] local.INFO: GPS data processed {"connection_id":89657,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:41:11] local.INFO: Acknowledgment sent {"connection_id":89657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:41:18] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:41:18] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:41:18] local.INFO: IMEI packet received {"connection_id":89794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":89794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:41:32] local.INFO: TCP Data received {"connection_id":89795,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:32] local.INFO: Processing buffer {"connection_id":89795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:32] local.INFO: IMEI packet received {"connection_id":89795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":89795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:41:34] local.INFO: TCP Data received {"connection_id":89795,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:34] local.INFO: Processing buffer {"connection_id":89795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:34] local.INFO: IMEI packet received {"connection_id":89795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":89795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:41:37] local.INFO: TCP Data received {"connection_id":89795,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:37] local.INFO: Processing buffer {"connection_id":89795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:41:37] local.INFO: IMEI packet received {"connection_id":89795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":89795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:41:38] local.INFO: TCP Data received {"connection_id":89795,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872ab6c0012ceb75400722b9180014004329..."} 
[2026-06-02 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872ab6c0012ceb75400722b9180014004329..."} 
[2026-06-02 12:41:38] local.INFO: Processing buffer {"connection_id":89795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872ab6c0012ceb75400722b9180014004329..."} 
[2026-06-02 12:41:38] local.INFO: Packet analysis {"connection_id":89795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:41:38] local.INFO: Extracted packet for processing {"connection_id":89795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872a"} 
[2026-06-02 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":753628480,"raw_latitude":119716120,"longitude_deg":75.362848,"latitude_deg":11.971612,"altitude":20,"angle":67,"satellites":41,"speed":21,"hex_longitude":"2ceb7540","hex_latitude":"0722b918","is_valid_coordinates":true} 
[2026-06-02 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778349568001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305554092380389376,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484006415315963904,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:38] 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-06-02 12:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780384184000,"timestamp_ms":1780384184000,"timestamp_seconds":1780384184,"priority":1,"record_length":96,"hex_timestamp":"0000019e872ab6c0"} 
[2026-06-02 12:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:41: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-06-02 12:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778349568001,"66":27908,"28":206,"83":43008,"24":21,"16":305554092380389376,"44":-1484006415315963904},"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-06-02 12:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778349568001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 12:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305554092380389376,"km_value":305554092380389.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484006415315963904,"description":"Unknown IO ID 44"} 
[2026-06-02 12:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778349568001,"power":27908,"unknown_28":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-1484006415315963904}} 
[2026-06-02 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":89795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:41:38] local.INFO: GPS data processed {"connection_id":89795,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:41:38] local.INFO: Acknowledgment sent {"connection_id":89795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:41:42] local.INFO: TCP Data received {"connection_id":89657,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872bc448012d19d24007201138002f01352a..."} 
[2026-06-02 12:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872bc448012d19d24007201138002f01352a..."} 
[2026-06-02 12:41:42] local.INFO: Processing buffer {"connection_id":89657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872bc448012d19d24007201138002f01352a..."} 
[2026-06-02 12:41:42] local.INFO: Packet analysis {"connection_id":89657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872b"} 
[2026-06-02 12:41:42] local.INFO: Extracted packet for processing {"connection_id":89657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872b"} 
[2026-06-02 12:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119542072,"longitude_deg":75.6666944,"latitude_deg":11.9542072,"altitude":47,"angle":309,"satellites":42,"speed":34,"hex_longitude":"2d19d240","hex_latitude":"07201138","is_valid_coordinates":true} 
[2026-06-02 12:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778368000001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125191330241445888,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863082901450244096,"note":"Value kept but may cause issues"} 
[2026-06-02 12:41: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-06-02 12:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780384253000,"timestamp_ms":1780384253000,"timestamp_seconds":1780384253,"priority":1,"record_length":96,"hex_timestamp":"0000019e872bc448"} 
[2026-06-02 12:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:41:42] 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-06-02 12:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 12:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:41:42] 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-06-02 12:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778368000001,"66":14483,"103":206,"83":41984,"24":34,"16":125191330241445888,"45":1863082901450244096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778368000001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:41:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125191330241445888,"km_value":125191330241445.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863082901450244096,"description":"Unknown IO ID 45"} 
[2026-06-02 12:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778368000001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1863082901450244096}} 
[2026-06-02 12:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":89657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:41:43] local.INFO: GPS data processed {"connection_id":89657,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:41:43] local.INFO: Acknowledgment sent {"connection_id":89657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:41:58] local.INFO: TCP Data received {"connection_id":89796,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:41:58] local.INFO: Processing buffer {"connection_id":89796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:41:58] local.INFO: IMEI packet received {"connection_id":89796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":89796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:42:02] local.INFO: TCP Data received {"connection_id":90856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:02] local.INFO: Processing buffer {"connection_id":90856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:02] local.INFO: IMEI packet received {"connection_id":90856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":90856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:42:06] local.INFO: TCP Data received {"connection_id":90856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:06] local.INFO: Processing buffer {"connection_id":90856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:06] local.INFO: IMEI packet received {"connection_id":90856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":90856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:42:06] local.INFO: TCP Data received {"connection_id":90856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:06] local.INFO: Processing buffer {"connection_id":90856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:06] local.INFO: IMEI packet received {"connection_id":90856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":90856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:42:07] local.INFO: TCP Data received {"connection_id":90856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:07] local.INFO: Processing buffer {"connection_id":90856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:42:07] local.INFO: IMEI packet received {"connection_id":90856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":90856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:42:09] local.INFO: TCP Data received {"connection_id":89795,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872c2dc0012ced0d8007239e200019001a28..."} 
[2026-06-02 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872c2dc0012ced0d8007239e200019001a28..."} 
[2026-06-02 12:42:09] local.INFO: Processing buffer {"connection_id":89795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872c2dc0012ced0d8007239e200019001a28..."} 
[2026-06-02 12:42:09] local.INFO: Packet analysis {"connection_id":89795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872c"} 
[2026-06-02 12:42:09] local.INFO: Extracted packet for processing {"connection_id":89795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872c"} 
[2026-06-02 12:42:09] local.INFO: GPS Element Parsed {"raw_longitude":753732992,"raw_latitude":119774752,"longitude_deg":75.3732992,"latitude_deg":11.9774752,"altitude":25,"angle":26,"satellites":40,"speed":61,"hex_longitude":"2ced0d80","hex_latitude":"07239e20","is_valid_coordinates":true} 
[2026-06-02 12:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778374656001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305559933535911936,"note":"Value kept but may cause issues"} 
[2026-06-02 12:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1369023887315429376,"note":"Value kept but may cause issues"} 
[2026-06-02 12:42:09] 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-06-02 12:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780384280000,"timestamp_ms":1780384280000,"timestamp_seconds":1780384280,"priority":1,"record_length":96,"hex_timestamp":"0000019e872c2dc0"} 
[2026-06-02 12:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:42: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-06-02 12:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 12:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778374656001,"66":27908,"87":206,"83":43008,"24":61,"16":305559933535911936,"44":-1369023887315429376},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-06-02 12:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778374656001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:42:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 12:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305559933535911936,"km_value":305559933535911.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1369023887315429376,"description":"Unknown IO ID 44"} 
[2026-06-02 12:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778374656001,"power":27908,"unknown_87":206,"unknown_83":43008,"ignition":61,"odometer":null,"unknown_44":-1369023887315429376}} 
[2026-06-02 12:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":89795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:42:09] local.INFO: GPS data processed {"connection_id":89795,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:42:09] local.INFO: Acknowledgment sent {"connection_id":89795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:42:24] local.INFO: TCP Data received {"connection_id":89797,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:24] local.INFO: Processing buffer {"connection_id":89797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:24] local.INFO: IMEI packet received {"connection_id":89797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":89797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:42:25] local.INFO: TCP Data received {"connection_id":89797,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:25] local.INFO: Processing buffer {"connection_id":89797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:25] local.INFO: IMEI packet received {"connection_id":89797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":89797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:42:29] local.INFO: TCP Data received {"connection_id":89797,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:29] local.INFO: Processing buffer {"connection_id":89797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:42:29] local.INFO: IMEI packet received {"connection_id":89797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":89797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:42:30] local.INFO: TCP Data received {"connection_id":89797,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872c3d60012ced15800723b4b00018000d2a..."} 
[2026-06-02 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872c3d60012ced15800723b4b00018000d2a..."} 
[2026-06-02 12:42:30] local.INFO: Processing buffer {"connection_id":89797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872c3d60012ced15800723b4b00018000d2a..."} 
[2026-06-02 12:42:30] local.INFO: Packet analysis {"connection_id":89797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872c"} 
[2026-06-02 12:42:30] local.INFO: Extracted packet for processing {"connection_id":89797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872c"} 
[2026-06-02 12:42:30] local.INFO: GPS Element Parsed {"raw_longitude":753735040,"raw_latitude":119780528,"longitude_deg":75.373504,"latitude_deg":11.9780528,"altitude":24,"angle":13,"satellites":42,"speed":60,"hex_longitude":"2ced1580","hex_latitude":"0723b4b0","is_valid_coordinates":true} 
[2026-06-02 12:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778375680001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305560229888655360,"note":"Value kept but may cause issues"} 
[2026-06-02 12:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1365294343872700416,"note":"Value kept but may cause issues"} 
[2026-06-02 12:42:30] 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-06-02 12:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780384284000,"timestamp_ms":1780384284000,"timestamp_seconds":1780384284,"priority":1,"record_length":96,"hex_timestamp":"0000019e872c3d60"} 
[2026-06-02 12:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:42: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-06-02 12:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778375680001,"66":27919,"87":206,"83":43008,"24":60,"16":305560229888655360,"44":-1365294343872700416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-06-02 12:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778375680001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-02 12:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305560229888655360,"km_value":305560229888655.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1365294343872700416,"description":"Unknown IO ID 44"} 
[2026-06-02 12:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778375680001,"power":27919,"unknown_87":206,"unknown_83":43008,"ignition":60,"odometer":null,"unknown_44":-1365294343872700416}} 
[2026-06-02 12:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":89797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:42:30] local.INFO: GPS data processed {"connection_id":89797,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:42:30] local.INFO: Acknowledgment sent {"connection_id":89797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:43:01] local.INFO: TCP Data received {"connection_id":89797,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872c54d0012ced1d800723d6b80019000f2a..."} 
[2026-06-02 12:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872c54d0012ced1d800723d6b80019000f2a..."} 
[2026-06-02 12:43:01] local.INFO: Processing buffer {"connection_id":89797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872c54d0012ced1d800723d6b80019000f2a..."} 
[2026-06-02 12:43:01] local.INFO: Packet analysis {"connection_id":89797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872c"} 
[2026-06-02 12:43:01] local.INFO: Extracted packet for processing {"connection_id":89797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872c"} 
[2026-06-02 12:43:01] local.INFO: GPS Element Parsed {"raw_longitude":753737088,"raw_latitude":119789240,"longitude_deg":75.3737088,"latitude_deg":11.978924,"altitude":25,"angle":15,"satellites":42,"speed":59,"hex_longitude":"2ced1d80","hex_latitude":"0723d6b8","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778376704001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305560663680352256,"note":"Value kept but may cause issues"} 
[2026-06-02 12:43:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363042544057536512,"note":"Value kept but may cause issues"} 
[2026-06-02 12:43:01] 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-06-02 12:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780384290000,"timestamp_ms":1780384290000,"timestamp_seconds":1780384290,"priority":1,"record_length":96,"hex_timestamp":"0000019e872c54d0"} 
[2026-06-02 12:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:43: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-06-02 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:43: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-06-02 12:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778376704001,"66":27908,"58":206,"83":43008,"24":59,"16":305560663680352256,"44":-1363042544057536512},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-06-02 12:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778376704001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:43:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-06-02 12:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305560663680352256,"km_value":305560663680352.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363042544057536512,"description":"Unknown IO ID 44"} 
[2026-06-02 12:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778376704001,"power":27908,"unknown_58":206,"unknown_83":43008,"ignition":59,"odometer":null,"unknown_44":-1363042544057536512}} 
[2026-06-02 12:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":89797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:43:01] local.INFO: GPS data processed {"connection_id":89797,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:43:01] local.INFO: Acknowledgment sent {"connection_id":89797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:43:33] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:33] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:33] local.INFO: IMEI packet received {"connection_id":89658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":89658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:43:35] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:35] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:35] local.INFO: IMEI packet received {"connection_id":89658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":89658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:43:39] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:39] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:43:39] local.INFO: IMEI packet received {"connection_id":89658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":89658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:43:40] local.INFO: TCP Data received {"connection_id":89658,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872d4ed0012ced770007250750002c01552a..."} 
[2026-06-02 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872d4ed0012ced770007250750002c01552a..."} 
[2026-06-02 12:43:40] local.INFO: Processing buffer {"connection_id":89658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872d4ed0012ced770007250750002c01552a..."} 
[2026-06-02 12:43:40] local.INFO: Packet analysis {"connection_id":89658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872d"} 
[2026-06-02 12:43:40] local.INFO: Extracted packet for processing {"connection_id":89658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872d"} 
[2026-06-02 12:43:40] local.INFO: GPS Element Parsed {"raw_longitude":753760000,"raw_latitude":119867216,"longitude_deg":75.376,"latitude_deg":11.9867216,"altitude":44,"angle":341,"satellites":42,"speed":31,"hex_longitude":"2ced7700","hex_latitude":"07250750","is_valid_coordinates":true} 
[2026-06-02 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778391552001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305564739604316160,"note":"Value kept but may cause issues"} 
[2026-06-02 12:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333417302738700288,"note":"Value kept but may cause issues"} 
[2026-06-02 12:43:40] 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-06-02 12:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780384354000,"timestamp_ms":1780384354000,"timestamp_seconds":1780384354,"priority":1,"record_length":96,"hex_timestamp":"0000019e872d4ed0"} 
[2026-06-02 12:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-02 12:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778391552001,"66":27974,"59":206,"83":43008,"24":31,"16":305564739604316160,"44":-1333417302738700288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-06-02 12:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778391552001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:43:40] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-02 12:43:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-06-02 12:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305564739604316160,"km_value":305564739604316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333417302738700288,"description":"Unknown IO ID 44"} 
[2026-06-02 12:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778391552001,"power":27974,"unknown_59":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1333417302738700288}} 
[2026-06-02 12:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":89658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:43:40] local.INFO: GPS data processed {"connection_id":89658,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:43:40] local.INFO: Acknowledgment sent {"connection_id":89658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:44:35] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:36] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:36] local.INFO: IMEI packet received {"connection_id":89659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":89659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:44:39] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:39] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:39] local.INFO: IMEI packet received {"connection_id":89659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":89659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:44:42] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:42] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:44:42] local.INFO: IMEI packet received {"connection_id":89659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":89659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:44:43] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872e5488012ceca0c007262f680025014b2b..."} 
[2026-06-02 12:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872e5488012ceca0c007262f680025014b2b..."} 
[2026-06-02 12:44:43] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872e5488012ceca0c007262f680025014b2b..."} 
[2026-06-02 12:44:43] local.INFO: Packet analysis {"connection_id":89659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:44:43] local.INFO: Extracted packet for processing {"connection_id":89659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:44:43] local.INFO: GPS Element Parsed {"raw_longitude":753705152,"raw_latitude":119943016,"longitude_deg":75.3705152,"latitude_deg":11.9943016,"altitude":37,"angle":331,"satellites":43,"speed":56,"hex_longitude":"2ceca0c0","hex_latitude":"07262f68","is_valid_coordinates":true} 
[2026-06-02 12:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778411776001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305569279384748032,"note":"Value kept but may cause issues"} 
[2026-06-02 12:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395904747546908672,"note":"Value kept but may cause issues"} 
[2026-06-02 12:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780384421000,"timestamp_ms":1780384421000,"timestamp_seconds":1780384421,"priority":1,"record_length":96,"hex_timestamp":"0000019e872e5488"} 
[2026-06-02 12:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:44: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-06-02 12:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 12:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778411776001,"66":28104,"166":206,"83":44032,"24":56,"16":305569279384748032,"44":-1395904747546908672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,83,24,16,44]} 
[2026-06-02 12:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778411776001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:44:43] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-02 12:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305569279384748032,"km_value":305569279384748.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395904747546908672,"description":"Unknown IO ID 44"} 
[2026-06-02 12:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778411776001,"power":28104,"unknown_166":206,"unknown_83":44032,"ignition":56,"odometer":null,"unknown_44":-1395904747546908672}} 
[2026-06-02 12:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":89659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:44:43] local.INFO: GPS data processed {"connection_id":89659,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:44:43] local.INFO: Acknowledgment sent {"connection_id":89659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:45:29] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:45:29] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:45:29] local.INFO: IMEI packet received {"connection_id":89800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":89800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:45:29] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 12:45:29] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 12:45:29] local.INFO: IMEI packet received {"connection_id":89800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":89800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:45:34] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872f2778012cec768007276850001501642c..."} 
[2026-06-02 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872f2778012cec768007276850001501642c..."} 
[2026-06-02 12:45:34] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e87..."} 
[2026-06-02 12:45:34] local.INFO: IMEI packet received {"connection_id":89800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":89800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:45:35] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872f3b00012cec774007278b58001100042c..."} 
[2026-06-02 12:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872f3b00012cec774007278b58001100042c..."} 
[2026-06-02 12:45:35] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e872f2778012cec768007276850001501642c..."} 
[2026-06-02 12:45:35] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:45:35] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:45:35] local.INFO: GPS Element Parsed {"raw_longitude":753694336,"raw_latitude":120023120,"longitude_deg":75.3694336,"latitude_deg":12.002312,"altitude":21,"angle":356,"satellites":44,"speed":70,"hex_longitude":"2cec7680","hex_latitude":"07276850","is_valid_coordinates":true} 
[2026-06-02 12:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778424576001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305573303769104384,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406600796643166208,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:35] 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-06-02 12:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780384475000,"timestamp_ms":1780384475000,"timestamp_seconds":1780384475,"priority":1,"record_length":96,"hex_timestamp":"0000019e872f2778"} 
[2026-06-02 12:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:45: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-06-02 12:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 12:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778424576001,"66":27930,"171":206,"83":44032,"24":70,"16":305573303769104384,"44":-1406600796643166208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778424576001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305573303769104384,"km_value":305573303769104.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406600796643166208,"description":"Unknown IO ID 44"} 
[2026-06-02 12:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778424576001,"power":27930,"unknown_171":206,"unknown_83":44032,"ignition":70,"odometer":null,"unknown_44":-1406600796643166208}} 
[2026-06-02 12:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:45:35] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:45:35] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:45:35] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:45:35] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:45:35] local.INFO: GPS Element Parsed {"raw_longitude":753694528,"raw_latitude":120032088,"longitude_deg":75.3694528,"latitude_deg":12.0032088,"altitude":17,"angle":4,"satellites":44,"speed":72,"hex_longitude":"2cec7740","hex_latitude":"07278b58","is_valid_coordinates":true} 
[2026-06-02 12:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778425600001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305573737560801280,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407797065292427264,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:35] 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-06-02 12:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780384480000,"timestamp_ms":1780384480000,"timestamp_seconds":1780384480,"priority":1,"record_length":96,"hex_timestamp":"0000019e872f3b00"} 
[2026-06-02 12:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:45: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-06-02 12:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 12:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778425600001,"66":27908,"171":206,"83":44032,"24":72,"16":305573737560801280,"44":-1407797065292427264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778425600001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305573737560801280,"km_value":305573737560801.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407797065292427264,"description":"Unknown IO ID 44"} 
[2026-06-02 12:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778425600001,"power":27908,"unknown_171":206,"unknown_83":44032,"ignition":72,"odometer":null,"unknown_44":-1407797065292427264}} 
[2026-06-02 12:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:45:35] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:45:35] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:45:36] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872f5270012cec79c00727b348000d01672c..."} 
[2026-06-02 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872f5270012cec79c00727b348000d01672c..."} 
[2026-06-02 12:45:36] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872f5270012cec79c00727b348000d01672c..."} 
[2026-06-02 12:45:36] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:45:36] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":753695168,"raw_latitude":120042312,"longitude_deg":75.3695168,"latitude_deg":12.0042312,"altitude":13,"angle":359,"satellites":44,"speed":62,"hex_longitude":"2cec79c0","hex_latitude":"0727b348","is_valid_coordinates":true} 
[2026-06-02 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778426880001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305574235777007616,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407585959057598464,"note":"Value kept but may cause issues"} 
[2026-06-02 12:45:36] 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-06-02 12:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780384486000,"timestamp_ms":1780384486000,"timestamp_seconds":1780384486,"priority":1,"record_length":96,"hex_timestamp":"0000019e872f5270"} 
[2026-06-02 12:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:45: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-06-02 12:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778426880001,"66":27876,"171":206,"83":44032,"24":62,"16":305574235777007616,"44":-1407585959057598464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778426880001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:45:36] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305574235777007616,"km_value":305574235777007.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407585959057598464,"description":"Unknown IO ID 44"} 
[2026-06-02 12:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778426880001,"power":27876,"unknown_171":206,"unknown_83":44032,"ignition":62,"odometer":null,"unknown_44":-1407585959057598464}} 
[2026-06-02 12:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:45:36] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:45:36] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:46:08] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872f6dc8012cec76c00727d828000801612c..."} 
[2026-06-02 12:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872f6dc8012cec76c00727d828000801612c..."} 
[2026-06-02 12:46:08] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872f6dc8012cec76c00727d828000801612c..."} 
[2026-06-02 12:46:08] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:46:08] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:46:08] local.INFO: GPS Element Parsed {"raw_longitude":753694400,"raw_latitude":120051752,"longitude_deg":75.36944,"latitude_deg":12.0051752,"altitude":8,"angle":353,"satellites":44,"speed":44,"hex_longitude":"2cec76c0","hex_latitude":"0727d828","is_valid_coordinates":true} 
[2026-06-02 12:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778428416001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305574695338508288,"note":"Value kept but may cause issues"} 
[2026-06-02 12:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406882271613204480,"note":"Value kept but may cause issues"} 
[2026-06-02 12:46:08] 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-06-02 12:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780384493000,"timestamp_ms":1780384493000,"timestamp_seconds":1780384493,"priority":1,"record_length":96,"hex_timestamp":"0000019e872f6dc8"} 
[2026-06-02 12:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 12:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778428416001,"66":27930,"171":206,"83":44032,"24":44,"16":305574695338508288,"44":-1406882271613204480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778428416001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:46:08] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305574695338508288,"km_value":305574695338508.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406882271613204480,"description":"Unknown IO ID 44"} 
[2026-06-02 12:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778428416001,"power":27930,"unknown_171":206,"unknown_83":44032,"ignition":44,"odometer":null,"unknown_44":-1406882271613204480}} 
[2026-06-02 12:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:46:08] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:46:08] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:46:24] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:24] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:24] local.INFO: IMEI packet received {"connection_id":89663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":89663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:46:25] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:25] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:25] local.INFO: IMEI packet received {"connection_id":89663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":89663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:46:29] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:29] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:46:29] local.INFO: IMEI packet received {"connection_id":89663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":89663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:46:30] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872fb418012cec72800727fbe80006015f2c..."} 
[2026-06-02 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872fb418012cec72800727fbe80006015f2c..."} 
[2026-06-02 12:46:30] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872fb418012cec72800727fbe80006015f2c..."} 
[2026-06-02 12:46:30] local.INFO: Packet analysis {"connection_id":89663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:46:30] local.INFO: Extracted packet for processing {"connection_id":89663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:46:30] local.INFO: GPS Element Parsed {"raw_longitude":753693312,"raw_latitude":120060904,"longitude_deg":75.3693312,"latitude_deg":12.0060904,"altitude":6,"angle":351,"satellites":44,"speed":18,"hex_longitude":"2cec7280","hex_latitude":"0727fbe8","is_valid_coordinates":true} 
[2026-06-02 12:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778430208001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305575142015107072,"note":"Value kept but may cause issues"} 
[2026-06-02 12:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407726696540919808,"note":"Value kept but may cause issues"} 
[2026-06-02 12:46:30] 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-06-02 12:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780384511000,"timestamp_ms":1780384511000,"timestamp_seconds":1780384511,"priority":1,"record_length":96,"hex_timestamp":"0000019e872fb418"} 
[2026-06-02 12:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:46: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-06-02 12:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 12:46: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-06-02 12:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778430208001,"66":27930,"61":206,"83":44032,"24":18,"16":305575142015107072,"44":-1407726696540919808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-06-02 12:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778430208001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:46:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 12:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305575142015107072,"km_value":305575142015107.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407726696540919808,"description":"Unknown IO ID 44"} 
[2026-06-02 12:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778430208001,"power":27930,"unknown_61":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1407726696540919808}} 
[2026-06-02 12:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":89663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:46:30] local.INFO: GPS data processed {"connection_id":89663,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:46:30] local.INFO: Acknowledgment sent {"connection_id":89663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:47:02] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e872fe6e0012cec6e4007281e700006015d2c..."} 
[2026-06-02 12:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872fe6e0012cec6e4007281e700006015d2c..."} 
[2026-06-02 12:47:02] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872fe6e0012cec6e4007281e700006015d2c..."} 
[2026-06-02 12:47:02] local.INFO: Packet analysis {"connection_id":89663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:47:02] local.INFO: Extracted packet for processing {"connection_id":89663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:47:02] local.INFO: GPS Element Parsed {"raw_longitude":753692224,"raw_latitude":120069744,"longitude_deg":75.3692224,"latitude_deg":12.0069744,"altitude":6,"angle":349,"satellites":44,"speed":36,"hex_longitude":"2cec6e40","hex_latitude":"07281e70","is_valid_coordinates":true} 
[2026-06-02 12:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778434816001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305575571511836672,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408922965189597184,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:02] 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-06-02 12:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780384524000,"timestamp_ms":1780384524000,"timestamp_seconds":1780384524,"priority":1,"record_length":96,"hex_timestamp":"0000019e872fe6e0"} 
[2026-06-02 12:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:47: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-06-02 12:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 12:47: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-06-02 12:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:47: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-06-02 12:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778434816001,"66":27919,"61":206,"83":44032,"24":36,"16":305575571511836672,"44":-1408922965189597184},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-06-02 12:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778434816001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:47:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 12:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305575571511836672,"km_value":305575571511836.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408922965189597184,"description":"Unknown IO ID 44"} 
[2026-06-02 12:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778434816001,"power":27919,"unknown_61":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-1408922965189597184}} 
[2026-06-02 12:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":89663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:47:02] local.INFO: GPS data processed {"connection_id":89663,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:47:02] local.INFO: Acknowledgment sent {"connection_id":89663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:47:11] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:47:11] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:47:11] local.INFO: IMEI packet received {"connection_id":89801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":89801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:47:16] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:47:16] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:47:16] local.INFO: IMEI packet received {"connection_id":89801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":89801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:47:16] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872e0280012d198bc00720b288003900fb2a..."} 
[2026-06-02 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872e0280012d198bc00720b288003900fb2a..."} 
[2026-06-02 12:47:16] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872e0280012d198bc00720b288003900fb2a..."} 
[2026-06-02 12:47:16] local.INFO: Packet analysis {"connection_id":89801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:47:16] local.INFO: Extracted packet for processing {"connection_id":89801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":42,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 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-06-02 12:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778401024001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12: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-06-02 12:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780384400000,"timestamp_ms":1780384400000,"timestamp_seconds":1780384400,"priority":1,"record_length":96,"hex_timestamp":"0000019e872e0280"} 
[2026-06-02 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-06-02 12:47:16] 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-06-02 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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-02 12:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 12:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:47: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-06-02 12:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778401024001,"66":12950,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778401024001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:47:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778401024001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":89801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:47:16] local.INFO: GPS data processed {"connection_id":89801,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:47:16] local.INFO: Acknowledgment sent {"connection_id":89801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:47:21] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872e5488012d198bc00720b288003900fb28..."} 
[2026-06-02 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872e5488012d198bc00720b288003900fb28..."} 
[2026-06-02 12:47:21] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872e5488012d198bc00720b288003900fb28..."} 
[2026-06-02 12:47:21] local.INFO: Packet analysis {"connection_id":89801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:47:21] local.INFO: Extracted packet for processing {"connection_id":89801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778406400001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780384421000,"timestamp_ms":1780384421000,"timestamp_seconds":1780384421,"priority":1,"record_length":96,"hex_timestamp":"0000019e872e5488"} 
[2026-06-02 12:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 12:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:47:21] 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-06-02 12:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778406400001,"66":12841,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778406400001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:47:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778406400001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":89801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:47:21] local.INFO: GPS data processed {"connection_id":89801,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:47:21] local.INFO: Acknowledgment sent {"connection_id":89801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:47:23] local.INFO: TCP Data received {"connection_id":89402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:47:23] local.INFO: Processing buffer {"connection_id":89402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:47:23] local.INFO: IMEI packet received {"connection_id":89402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":89402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:47:24] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:47:24] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:47:24] local.INFO: IMEI packet received {"connection_id":89664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":89664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:47:29] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:47:29] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:47:29] local.INFO: IMEI packet received {"connection_id":89664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":89664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:47:30] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e873015c0012cec6a4007284360000601632c..."} 
[2026-06-02 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873015c0012cec6a4007284360000601632c..."} 
[2026-06-02 12:47:30] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873015c0012cec6a4007284360000601632c..."} 
[2026-06-02 12:47:30] local.INFO: Packet analysis {"connection_id":89664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8730"} 
[2026-06-02 12:47:30] local.INFO: Extracted packet for processing {"connection_id":89664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8730"} 
[2026-06-02 12:47:30] local.INFO: GPS Element Parsed {"raw_longitude":753691200,"raw_latitude":120079200,"longitude_deg":75.36912,"latitude_deg":12.00792,"altitude":6,"angle":355,"satellites":44,"speed":31,"hex_longitude":"2cec6a40","hex_latitude":"07284360","is_valid_coordinates":true} 
[2026-06-02 12:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778438144001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305576035368304640,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410119233838354432,"note":"Value kept but may cause issues"} 
[2026-06-02 12:47:30] 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-06-02 12:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780384536000,"timestamp_ms":1780384536000,"timestamp_seconds":1780384536,"priority":1,"record_length":96,"hex_timestamp":"0000019e873015c0"} 
[2026-06-02 12:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:47: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-06-02 12:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778438144001,"66":27865,"61":206,"83":44032,"24":31,"16":305576035368304640,"44":-1410119233838354432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-06-02 12:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778438144001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:47:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 12:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305576035368304640,"km_value":305576035368304.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410119233838354432,"description":"Unknown IO ID 44"} 
[2026-06-02 12:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778438144001,"power":27865,"unknown_61":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1410119233838354432}} 
[2026-06-02 12:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":89664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:47:30] local.INFO: GPS data processed {"connection_id":89664,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:47:30] local.INFO: Acknowledgment sent {"connection_id":89664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:47:58] local.INFO: TCP Data received {"connection_id":90860,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:47:58] local.INFO: Processing buffer {"connection_id":90860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:47:58] local.INFO: IMEI packet received {"connection_id":90860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":90860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:48:01] local.INFO: TCP Data received {"connection_id":89664,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e873040b8012cec6600072867a0000601612c..."} 
[2026-06-02 12:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873040b8012cec6600072867a0000601612c..."} 
[2026-06-02 12:48:01] local.INFO: Processing buffer {"connection_id":89664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873040b8012cec6600072867a0000601612c..."} 
[2026-06-02 12:48:01] local.INFO: Packet analysis {"connection_id":89664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8730"} 
[2026-06-02 12:48:01] local.INFO: Extracted packet for processing {"connection_id":89664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8730"} 
[2026-06-02 12:48:01] local.INFO: GPS Element Parsed {"raw_longitude":753690112,"raw_latitude":120088480,"longitude_deg":75.3690112,"latitude_deg":12.008848,"altitude":6,"angle":353,"satellites":44,"speed":39,"hex_longitude":"2cec6600","hex_latitude":"072867a0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305576486339870720,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411245133742776320,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:01] 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-06-02 12:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780384547000,"timestamp_ms":1780384547000,"timestamp_seconds":1780384547,"priority":1,"record_length":96,"hex_timestamp":"0000019e873040b8"} 
[2026-06-02 12:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:48: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-06-02 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 12:48: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-06-02 12: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-06-02 12:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:48: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-06-02 12:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778441216001,"66":27821,"61":206,"83":44032,"24":39,"16":305576486339870720,"44":-1411245133742776320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-06-02 12:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:48:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 12:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305576486339870720,"km_value":305576486339870.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411245133742776320,"description":"Unknown IO ID 44"} 
[2026-06-02 12:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778441216001,"power":27821,"unknown_61":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1411245133742776320}} 
[2026-06-02 12:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":89664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:48:01] local.INFO: GPS data processed {"connection_id":89664,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:48:01] local.INFO: Acknowledgment sent {"connection_id":89664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:48:06] local.INFO: TCP Data received {"connection_id":90861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:48:06] local.INFO: Processing buffer {"connection_id":90861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:48:06] local.INFO: IMEI packet received {"connection_id":90861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":90861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:48:09] local.INFO: TCP Data received {"connection_id":90861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:48:09] local.INFO: Processing buffer {"connection_id":90861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:48:09] local.INFO: IMEI packet received {"connection_id":90861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":90861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:48:10] local.INFO: TCP Data received {"connection_id":90861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872ea690012d198bc00720b288003900fb28..."} 
[2026-06-02 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872ea690012d198bc00720b288003900fb28..."} 
[2026-06-02 12:48:10] local.INFO: Processing buffer {"connection_id":90861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872ea690012d198bc00720b288003900fb28..."} 
[2026-06-02 12:48:10] local.INFO: Packet analysis {"connection_id":90861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:48:10] local.INFO: Extracted packet for processing {"connection_id":90861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778411776001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780384442000,"timestamp_ms":1780384442000,"timestamp_seconds":1780384442,"priority":1,"record_length":96,"hex_timestamp":"0000019e872ea690"} 
[2026-06-02 12:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:48:10] 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-06-02 12:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 12:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:48:10] 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-06-02 12:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778411776001,"66":12852,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778411776001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:48:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778411776001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":90861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:48:10] local.INFO: GPS data processed {"connection_id":90861,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:48:10] local.INFO: Acknowledgment sent {"connection_id":90861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:48:23] local.INFO: TCP Data received {"connection_id":89802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:23] local.INFO: Processing buffer {"connection_id":89802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:23] local.INFO: IMEI packet received {"connection_id":89802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":89802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:48:24] local.INFO: TCP Data received {"connection_id":89802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:24] local.INFO: Processing buffer {"connection_id":89802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:24] local.INFO: IMEI packet received {"connection_id":89802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":89802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:48:29] local.INFO: TCP Data received {"connection_id":89802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:29] local.INFO: Processing buffer {"connection_id":89802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:48:29] local.INFO: IMEI packet received {"connection_id":89802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":89802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:48:30] local.INFO: TCP Data received {"connection_id":89802,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8731f250012cec76c00729d2480024015c2b..."} 
[2026-06-02 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8731f250012cec76c00729d2480024015c2b..."} 
[2026-06-02 12:48:30] local.INFO: Processing buffer {"connection_id":89802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8731f250012cec76c00729d2480024015c2b..."} 
[2026-06-02 12:48:30] local.INFO: Packet analysis {"connection_id":89802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8731"} 
[2026-06-02 12:48:30] local.INFO: Extracted packet for processing {"connection_id":89802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8731"} 
[2026-06-02 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":753694400,"raw_latitude":120181320,"longitude_deg":75.36944,"latitude_deg":12.018132,"altitude":36,"angle":348,"satellites":43,"speed":27,"hex_longitude":"2cec76c0","hex_latitude":"0729d248","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778470656001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305581051890106368,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407304484044036096,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:30] 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-06-02 12:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780384658000,"timestamp_ms":1780384658000,"timestamp_seconds":1780384658,"priority":1,"record_length":96,"hex_timestamp":"0000019e8731f250"} 
[2026-06-02 12:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:48:30] 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-06-02 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 12:48: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-06-02 12: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-06-02 12:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778470656001,"66":28017,"171":206,"83":44032,"24":27,"16":305581051890106368,"44":-1407304484044036096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778470656001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:48:30] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305581051890106368,"km_value":305581051890106.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407304484044036096,"description":"Unknown IO ID 44"} 
[2026-06-02 12:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778470656001,"power":28017,"unknown_171":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1407304484044036096}} 
[2026-06-02 12:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":89802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:48:30] local.INFO: GPS data processed {"connection_id":89802,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:48:30] local.INFO: Acknowledgment sent {"connection_id":89802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:48:41] local.INFO: TCP Data received {"connection_id":90861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872ef4b0012d198bc00720b288003900fb29..."} 
[2026-06-02 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872ef4b0012d198bc00720b288003900fb29..."} 
[2026-06-02 12:48:41] local.INFO: Processing buffer {"connection_id":90861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872ef4b0012d198bc00720b288003900fb29..."} 
[2026-06-02 12:48:41] local.INFO: Packet analysis {"connection_id":90861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:48:41] local.INFO: Extracted packet for processing {"connection_id":90861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872e"} 
[2026-06-02 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":41,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778417152001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780384462000,"timestamp_ms":1780384462000,"timestamp_seconds":1780384462,"priority":1,"record_length":96,"hex_timestamp":"0000019e872ef4b0"} 
[2026-06-02 12:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-02 12:48:41] 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-06-02 12: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-06-02 12:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:48:41] 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-06-02 12:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778417152001,"66":12841,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778417152001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:48:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778417152001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":90861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:48:41] local.INFO: GPS data processed {"connection_id":90861,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:48:41] local.INFO: Acknowledgment sent {"connection_id":90861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:49:01] local.INFO: TCP Data received {"connection_id":89802,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8731fe08012cec74000729d9d00024014e2c..."} 
[2026-06-02 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8731fe08012cec74000729d9d00024014e2c..."} 
[2026-06-02 12:49:01] local.INFO: Processing buffer {"connection_id":89802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8731fe08012cec74000729d9d00024014e2c..."} 
[2026-06-02 12:49:01] local.INFO: Packet analysis {"connection_id":89802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8731"} 
[2026-06-02 12:49:01] local.INFO: Extracted packet for processing {"connection_id":89802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8731"} 
[2026-06-02 12:49:01] local.INFO: GPS Element Parsed {"raw_longitude":753693696,"raw_latitude":120183248,"longitude_deg":75.3693696,"latitude_deg":12.0183248,"altitude":36,"angle":334,"satellites":44,"speed":27,"hex_longitude":"2cec7400","hex_latitude":"0729d9d0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778472448001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305581154969321472,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407726696507750400,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:01] 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-06-02 12:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780384661000,"timestamp_ms":1780384661000,"timestamp_seconds":1780384661,"priority":1,"record_length":96,"hex_timestamp":"0000019e8731fe08"} 
[2026-06-02 12:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:49: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-06-02 12: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-02 12:49:01] 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-06-02 12: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-06-02 12:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:49: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-06-02 12:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778472448001,"66":27908,"171":206,"83":44032,"24":27,"16":305581154969321472,"44":-1407726696507750400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778472448001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:49:01] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305581154969321472,"km_value":305581154969321.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407726696507750400,"description":"Unknown IO ID 44"} 
[2026-06-02 12:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778472448001,"power":27908,"unknown_171":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1407726696507750400}} 
[2026-06-02 12:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":89802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:49:01] local.INFO: GPS data processed {"connection_id":89802,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:49:01] local.INFO: Acknowledgment sent {"connection_id":89802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:49:06] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:49:06] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:49:06] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:49:11] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:49:11] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:49:11] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:49:12] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872f4aa0012d198bc00720b288003900fb2a..."} 
[2026-06-02 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872f4aa0012d198bc00720b288003900fb2a..."} 
[2026-06-02 12:49:12] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872f4aa0012d198bc00720b288003900fb2a..."} 
[2026-06-02 12:49:12] local.INFO: Packet analysis {"connection_id":89665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:49:12] local.INFO: Extracted packet for processing {"connection_id":89665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":42,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778422272001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780384484000,"timestamp_ms":1780384484000,"timestamp_seconds":1780384484,"priority":1,"record_length":96,"hex_timestamp":"0000019e872f4aa0"} 
[2026-06-02 12:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 12:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:49:12] 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-06-02 12:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778422272001,"66":12819,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778422272001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:49:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778422272001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":89665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:49:12] local.INFO: GPS data processed {"connection_id":89665,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:49:12] local.INFO: Acknowledgment sent {"connection_id":89665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:49:23] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:49:23] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:49:23] local.INFO: IMEI packet received {"connection_id":89666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":89666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:49:29] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:49:29] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:49:29] local.INFO: IMEI packet received {"connection_id":89666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":89666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:49:30] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87321190012cec6c400729e578002501422c..."} 
[2026-06-02 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87321190012cec6c400729e578002501422c..."} 
[2026-06-02 12:49:30] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87321190012cec6c400729e578002501422c..."} 
[2026-06-02 12:49:30] local.INFO: Packet analysis {"connection_id":89666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:49:30] local.INFO: Extracted packet for processing {"connection_id":89666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:49:30] local.INFO: GPS Element Parsed {"raw_longitude":753691712,"raw_latitude":120186232,"longitude_deg":75.3691712,"latitude_deg":12.0186232,"altitude":37,"angle":322,"satellites":44,"speed":31,"hex_longitude":"2cec6c40","hex_latitude":"0729e578","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778473216001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305581326768013312,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408500752693211136,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:30] 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-06-02 12:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780384666000,"timestamp_ms":1780384666000,"timestamp_seconds":1780384666,"priority":1,"record_length":96,"hex_timestamp":"0000019e87321190"} 
[2026-06-02 12:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:49: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-06-02 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778473216001,"66":27974,"171":206,"83":44032,"24":31,"16":305581326768013312,"44":-1408500752693211136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778473216001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:49:30] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:49:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305581326768013312,"km_value":305581326768013.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408500752693211136,"description":"Unknown IO ID 44"} 
[2026-06-02 12:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778473216001,"power":27974,"unknown_171":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1408500752693211136}} 
[2026-06-02 12:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":89666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:49:30] local.INFO: GPS data processed {"connection_id":89666,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:49:30] local.INFO: Acknowledgment sent {"connection_id":89666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:49:43] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872f9ca8012d198bc00720b288003900fb26..."} 
[2026-06-02 12:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872f9ca8012d198bc00720b288003900fb26..."} 
[2026-06-02 12:49:43] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872f9ca8012d198bc00720b288003900fb26..."} 
[2026-06-02 12:49:43] local.INFO: Packet analysis {"connection_id":89665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:49:43] local.INFO: Extracted packet for processing {"connection_id":89665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778427904001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780384505000,"timestamp_ms":1780384505000,"timestamp_seconds":1780384505,"priority":1,"record_length":96,"hex_timestamp":"0000019e872f9ca8"} 
[2026-06-02 12:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:49:43] 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-06-02 12: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2267897456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":40,"raw_value":15482223935358720,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505509935448064,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3246083785688189888,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995257401,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4107546747252048128,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182083680731392,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2181090680,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3342598144,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356095089605933865,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332487875814542931,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752061371457715,"note":"Value kept but may cause issues"} 
[2026-06-02 12:49:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,199,158,244,45,192,178,57,41,10,66,166,40,84,1,240,227,135,32,4,113,205,176,139,136,239,46,2,188,7,50,164,60,69,96],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-06-02 12:49:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107559017969090560,"timestamp_seconds":4107559017969090.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 12:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:49:43] 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-06-02 12:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778427904001,"66":12809,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778427904001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:49:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778427904001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":89665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:49:43] local.INFO: GPS data processed {"connection_id":89665,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:49:43] local.INFO: Acknowledgment sent {"connection_id":89665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:50:01] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e873238a0012cec5940072a03500025014b2b..."} 
[2026-06-02 12:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873238a0012cec5940072a03500025014b2b..."} 
[2026-06-02 12:50:01] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873238a0012cec5940072a03500025014b2b..."} 
[2026-06-02 12:50:01] local.INFO: Packet analysis {"connection_id":89666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:50:01] local.INFO: Extracted packet for processing {"connection_id":89666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:50:01] local.INFO: GPS Element Parsed {"raw_longitude":753686848,"raw_latitude":120193872,"longitude_deg":75.3686848,"latitude_deg":12.0193872,"altitude":37,"angle":331,"satellites":43,"speed":41,"hex_longitude":"2cec5940","hex_latitude":"072a0350","is_valid_coordinates":true} 
[2026-06-02 12:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778474496001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305581764854677504,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410682183761954816,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:01] 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-06-02 12:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780384676000,"timestamp_ms":1780384676000,"timestamp_seconds":1780384676,"priority":1,"record_length":96,"hex_timestamp":"0000019e873238a0"} 
[2026-06-02 12:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:50: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-06-02 12:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 12:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:50: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-06-02 12:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778474496001,"66":27865,"171":206,"83":44032,"24":41,"16":305581764854677504,"44":-1410682183761954816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778474496001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:50:01] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305581764854677504,"km_value":305581764854677.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410682183761954816,"description":"Unknown IO ID 44"} 
[2026-06-02 12:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778474496001,"power":27865,"unknown_171":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-1410682183761954816}} 
[2026-06-02 12:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":89666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:50:01] local.INFO: GPS data processed {"connection_id":89666,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:50:01] local.INFO: Acknowledgment sent {"connection_id":89666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:50:06] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:50:06] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:50:06] local.INFO: IMEI packet received {"connection_id":89803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":89803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:50:10] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:50:10] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:50:10] local.INFO: IMEI packet received {"connection_id":89803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":89803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:50:11] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e872feeb0012d198bc00720b288003900fb26..."} 
[2026-06-02 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e872feeb0012d198bc00720b288003900fb26..."} 
[2026-06-02 12:50:11] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e872feeb0012d198bc00720b288003900fb26..."} 
[2026-06-02 12:50:11] local.INFO: Packet analysis {"connection_id":89803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:50:11] local.INFO: Extracted packet for processing {"connection_id":89803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e872f"} 
[2026-06-02 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778433280001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780384526000,"timestamp_ms":1780384526000,"timestamp_seconds":1780384526,"priority":1,"record_length":96,"hex_timestamp":"0000019e872feeb0"} 
[2026-06-02 12:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2267918456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3269173529871485888,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995257401,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635000,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3342598144,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356095089605933866,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-9079030931771044269,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,199,158,74,45,192,178,57,42,10,66,244,41,166,1,240,52,227,135,32,4,113,205,2,139,136,239,50,188,7,46,164,60],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 12:50:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107559000789221376,"timestamp_seconds":4107559000789221.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 12:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778433280001,"66":12798,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778433280001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:50:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778433280001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":89803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:50:11] local.INFO: GPS data processed {"connection_id":89803,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:50:11] local.INFO: Acknowledgment sent {"connection_id":89803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:50:31] local.INFO: TCP Data received {"connection_id":90862,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:50:31] local.INFO: Processing buffer {"connection_id":90862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:50:31] local.INFO: IMEI packet received {"connection_id":90862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":90862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:50:31] local.INFO: TCP Data received {"connection_id":90862,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:50:31] local.INFO: Processing buffer {"connection_id":90862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:50:31] local.INFO: IMEI packet received {"connection_id":90862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":90862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:50:32] local.INFO: TCP Data received {"connection_id":90862,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87325bc8012cec49c0072a2408002401512b..."} 
[2026-06-02 12:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87325bc8012cec49c0072a2408002401512b..."} 
[2026-06-02 12:50:32] local.INFO: Processing buffer {"connection_id":90862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87325bc8012cec49c0072a2408002401512b..."} 
[2026-06-02 12:50:32] local.INFO: Packet analysis {"connection_id":90862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:50:32] local.INFO: Extracted packet for processing {"connection_id":90862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:50:32] local.INFO: GPS Element Parsed {"raw_longitude":753682880,"raw_latitude":120202248,"longitude_deg":75.368288,"latitude_deg":12.0202248,"altitude":36,"angle":337,"satellites":43,"speed":29,"hex_longitude":"2cec49c0","hex_latitude":"072a2408","is_valid_coordinates":true} 
[2026-06-02 12:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778477056001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305582211531276288,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416030208317501440,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:32] 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-06-02 12:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780384685000,"timestamp_ms":1780384685000,"timestamp_seconds":1780384685,"priority":1,"record_length":96,"hex_timestamp":"0000019e87325bc8"} 
[2026-06-02 12:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 12:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778477056001,"66":27919,"171":206,"83":44032,"24":29,"16":305582211531276288,"44":-1416030208317501440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-06-02 12:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778477056001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:50:32] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 12:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305582211531276288,"km_value":305582211531276.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:50:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416030208317501440,"description":"Unknown IO ID 44"} 
[2026-06-02 12:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778477056001,"power":27919,"unknown_171":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1416030208317501440}} 
[2026-06-02 12:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":90862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:50:32] local.INFO: GPS data processed {"connection_id":90862,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:50:32] local.INFO: Acknowledgment sent {"connection_id":90862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:50:34] local.INFO: TCP Data received {"connection_id":90862,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8732add0012cec3a40072a4408002801522b..."} 
[2026-06-02 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8732add0012cec3a40072a4408002801522b..."} 
[2026-06-02 12:50:34] local.INFO: Processing buffer {"connection_id":90862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8732add0012cec3a40072a4408002801522b..."} 
[2026-06-02 12:50:34] local.INFO: Packet analysis {"connection_id":90862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:50:34] local.INFO: Extracted packet for processing {"connection_id":90862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8732"} 
[2026-06-02 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":753678912,"raw_latitude":120210440,"longitude_deg":75.3678912,"latitude_deg":12.021044,"altitude":40,"angle":338,"satellites":43,"speed":26,"hex_longitude":"2cec3a40","hex_latitude":"072a4408","is_valid_coordinates":true} 
[2026-06-02 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778479360001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305582653912907776,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420393070454372352,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:34] 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-06-02 12:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780384706000,"timestamp_ms":1780384706000,"timestamp_seconds":1780384706,"priority":1,"record_length":96,"hex_timestamp":"0000019e8732add0"} 
[2026-06-02 12:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:50: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-06-02 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 12:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778479360001,"66":27919,"170":206,"83":44032,"24":26,"16":305582653912907776,"44":-1420393070454372352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 12:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778479360001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:50:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 12:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305582653912907776,"km_value":305582653912907.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1420393070454372352,"description":"Unknown IO ID 44"} 
[2026-06-02 12:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778479360001,"power":27919,"unknown_170":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1420393070454372352}} 
[2026-06-02 12:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":90862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:50:34] local.INFO: GPS data processed {"connection_id":90862,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:50:34] local.INFO: Acknowledgment sent {"connection_id":90862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:50:43] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87337120012d198bc00720b288003900fb24..."} 
[2026-06-02 12:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87337120012d198bc00720b288003900fb24..."} 
[2026-06-02 12:50:43] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87337120012d198bc00720b288003900fb24..."} 
[2026-06-02 12:50:43] local.INFO: Packet analysis {"connection_id":89803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8733"} 
[2026-06-02 12:50:43] local.INFO: Extracted packet for processing {"connection_id":89803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8733"} 
[2026-06-02 12:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778492160001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780384756000,"timestamp_ms":1780384756000,"timestamp_seconds":1780384756,"priority":1,"record_length":96,"hex_timestamp":"0000019e87337120"} 
[2026-06-02 12:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:50:43] 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-06-02 12:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 12:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:50:43] 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-06-02 12:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778492160001,"66":12591,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778492160001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:50:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778492160001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":89803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:50:43] local.INFO: GPS data processed {"connection_id":89803,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:50:43] local.INFO: Acknowledgment sent {"connection_id":89803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:51:05] local.INFO: TCP Data received {"connection_id":90862,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87346738012cebdd80072b57e0002c002d2c..."} 
[2026-06-02 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87346738012cebdd80072b57e0002c002d2c..."} 
[2026-06-02 12:51:05] local.INFO: Processing buffer {"connection_id":90862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87346738012cebdd80072b57e0002c002d2c..."} 
[2026-06-02 12:51:05] local.INFO: Packet analysis {"connection_id":90862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:51:05] local.INFO: Extracted packet for processing {"connection_id":90862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":753655168,"raw_latitude":120281056,"longitude_deg":75.3655168,"latitude_deg":12.0281056,"altitude":44,"angle":45,"satellites":44,"speed":13,"hex_longitude":"2cebdd80","hex_latitude":"072b57e0","is_valid_coordinates":true} 
[2026-06-02 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778513408001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305586373354586112,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1451144211639912448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51: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-06-02 12:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780384819000,"timestamp_ms":1780384819000,"timestamp_seconds":1780384819,"priority":1,"record_length":96,"hex_timestamp":"0000019e87346738"} 
[2026-06-02 12:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778513408001,"66":27669,"225":206,"83":44032,"24":13,"16":305586373354586112,"44":-1451144211639912448},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-06-02 12:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778513408001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:51:05] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 12:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305586373354586112,"km_value":305586373354586.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1451144211639912448,"description":"Unknown IO ID 44"} 
[2026-06-02 12:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778513408001,"power":27669,"unknown_225":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1451144211639912448}} 
[2026-06-02 12:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":90862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:51:05] local.INFO: GPS data processed {"connection_id":90862,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:51:05] local.INFO: Acknowledgment sent {"connection_id":90862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:51:05] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:51:05] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:51:05] local.INFO: IMEI packet received {"connection_id":89805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":89805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:51:11] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:51:11] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:51:11] local.INFO: IMEI packet received {"connection_id":89805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":89805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:51:12] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8733c710012d198bc00720b288003900fb24..."} 
[2026-06-02 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8733c710012d198bc00720b288003900fb24..."} 
[2026-06-02 12:51:12] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8733c710012d198bc00720b288003900fb24..."} 
[2026-06-02 12:51:12] local.INFO: Packet analysis {"connection_id":89805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8733"} 
[2026-06-02 12:51:12] local.INFO: Extracted packet for processing {"connection_id":89805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8733"} 
[2026-06-02 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778497536001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780384778000,"timestamp_ms":1780384778000,"timestamp_seconds":1780384778,"priority":1,"record_length":96,"hex_timestamp":"0000019e8733c710"} 
[2026-06-02 12:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 12:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:51:12] 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-06-02 12:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778497536001,"66":12254,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778497536001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:51:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778497536001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":89805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:51:12] local.INFO: GPS data processed {"connection_id":89805,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:51:12] local.INFO: Acknowledgment sent {"connection_id":89805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:51:24] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:51:24] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:51:24] local.INFO: IMEI packet received {"connection_id":89405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":89405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:51:24] local.INFO: TCP Data received {"connection_id":90863,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:51:24] local.INFO: Processing buffer {"connection_id":90863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:51:24] local.INFO: IMEI packet received {"connection_id":90863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-02 12:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":90863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:51:28] local.INFO: TCP Data received {"connection_id":90863,"ip":"42.106.6.45","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-02 12:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90863,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-02 12:51:28] local.INFO: Processing buffer {"connection_id":90863,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-02 12:51:28] local.INFO: IMEI packet received {"connection_id":90863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-02 12:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":90863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:51:29] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:51:29] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:51:29] local.INFO: IMEI packet received {"connection_id":89405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":89405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:51:30] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87346b20012cebdec0072b5870002b00442c..."} 
[2026-06-02 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87346b20012cebdec0072b5870002b00442c..."} 
[2026-06-02 12:51:30] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87346b20012cebdec0072b5870002b00442c..."} 
[2026-06-02 12:51:30] local.INFO: Packet analysis {"connection_id":89405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:51:30] local.INFO: Extracted packet for processing {"connection_id":89405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:51:30] local.INFO: GPS Element Parsed {"raw_longitude":753655488,"raw_latitude":120281200,"longitude_deg":75.3655488,"latitude_deg":12.02812,"altitude":43,"angle":68,"satellites":44,"speed":13,"hex_longitude":"2cebdec0","hex_latitude":"072b5870","is_valid_coordinates":true} 
[2026-06-02 12:51: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-06-02 12:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778513664001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305586390534455296,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450862736663126016,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:30] 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-06-02 12:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780384820000,"timestamp_ms":1780384820000,"timestamp_seconds":1780384820,"priority":1,"record_length":96,"hex_timestamp":"0000019e87346b20"} 
[2026-06-02 12:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:51: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-06-02 12:51: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":21,"data_length":795,"current_offset":136} 
[2026-06-02 12:51:30] 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-06-02 12:51: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-06-02 12:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778513664001,"66":27669,"225":206,"83":44032,"24":13,"16":305586390534455296,"44":-1450862736663126016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-06-02 12:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778513664001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:51:30] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 12:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305586390534455296,"km_value":305586390534455.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450862736663126016,"description":"Unknown IO ID 44"} 
[2026-06-02 12:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778513664001,"power":27669,"unknown_225":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1450862736663126016}} 
[2026-06-02 12:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":89405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:51:30] local.INFO: GPS data processed {"connection_id":89405,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:51:30] local.INFO: Acknowledgment sent {"connection_id":89405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:51:43] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87341918012d198bc00720b288003900fb26..."} 
[2026-06-02 12:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87341918012d198bc00720b288003900fb26..."} 
[2026-06-02 12:51:43] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87341918012d198bc00720b288003900fb26..."} 
[2026-06-02 12:51:43] local.INFO: Packet analysis {"connection_id":89805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:51:43] local.INFO: Extracted packet for processing {"connection_id":89805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778503168001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780384799000,"timestamp_ms":1780384799000,"timestamp_seconds":1780384799,"priority":1,"record_length":96,"hex_timestamp":"0000019e87341918"} 
[2026-06-02 12:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 12:51:43] 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-06-02 12: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-06-02 12:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:51:43] 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-06-02 12:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778503168001,"66":12645,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778503168001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:51:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778503168001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":89805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:51:43] local.INFO: GPS data processed {"connection_id":89805,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:51:43] local.INFO: Acknowledgment sent {"connection_id":89805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:52:01] local.INFO: TCP Data received {"connection_id":89405,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e873476d8012cebe200072b5900002a00532c..."} 
[2026-06-02 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873476d8012cebe200072b5900002a00532c..."} 
[2026-06-02 12:52:01] local.INFO: Processing buffer {"connection_id":89405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873476d8012cebe200072b5900002a00532c..."} 
[2026-06-02 12:52:01] local.INFO: Packet analysis {"connection_id":89405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:01] local.INFO: Extracted packet for processing {"connection_id":89405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:01] local.INFO: GPS Element Parsed {"raw_longitude":753656320,"raw_latitude":120281344,"longitude_deg":75.365632,"latitude_deg":12.0281344,"altitude":42,"angle":83,"satellites":44,"speed":10,"hex_longitude":"2cebe200","hex_latitude":"072b5900","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778513920001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305586429189160960,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450510892942200832,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:01] 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-06-02 12:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780384823000,"timestamp_ms":1780384823000,"timestamp_seconds":1780384823,"priority":1,"record_length":96,"hex_timestamp":"0000019e873476d8"} 
[2026-06-02 12:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:52: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-06-02 12: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":21,"data_length":795,"current_offset":136} 
[2026-06-02 12:52:01] 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-06-02 12: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-06-02 12:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:52: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-06-02 12:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778513920001,"66":28115,"225":206,"83":44032,"24":10,"16":305586429189160960,"44":-1450510892942200832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-06-02 12:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778513920001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:52:01] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 12:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305586429189160960,"km_value":305586429189160.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450510892942200832,"description":"Unknown IO ID 44"} 
[2026-06-02 12:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778513920001,"power":28115,"unknown_225":206,"unknown_83":44032,"ignition":10,"odometer":null,"unknown_44":-1450510892942200832}} 
[2026-06-02 12:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":89405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:52:01] local.INFO: GPS data processed {"connection_id":89405,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:52:01] local.INFO: Acknowledgment sent {"connection_id":89405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:52:05] local.INFO: TCP Data received {"connection_id":90864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:52:05] local.INFO: Processing buffer {"connection_id":90864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:52:05] local.INFO: IMEI packet received {"connection_id":90864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":90864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:52:11] local.INFO: TCP Data received {"connection_id":90864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:52:11] local.INFO: Processing buffer {"connection_id":90864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:52:11] local.INFO: IMEI packet received {"connection_id":90864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":90864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:52:12] local.INFO: TCP Data received {"connection_id":90864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87346b20012d198bc00720b288003900fb27..."} 
[2026-06-02 12:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87346b20012d198bc00720b288003900fb27..."} 
[2026-06-02 12:52:12] local.INFO: Processing buffer {"connection_id":90864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87346b20012d198bc00720b288003900fb27..."} 
[2026-06-02 12:52:12] local.INFO: Packet analysis {"connection_id":90864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:12] local.INFO: Extracted packet for processing {"connection_id":90864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":39,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778508544001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780384820000,"timestamp_ms":1780384820000,"timestamp_seconds":1780384820,"priority":1,"record_length":96,"hex_timestamp":"0000019e87346b20"} 
[2026-06-02 12:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 12:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:52:12] 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-06-02 12:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778508544001,"66":12558,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778508544001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:52:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778508544001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":90864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:52:12] local.INFO: GPS data processed {"connection_id":90864,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:52:12] local.INFO: Acknowledgment sent {"connection_id":90864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:52:28] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:28] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:28] local.INFO: IMEI packet received {"connection_id":89807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":89807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:52:29] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:29] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:29] local.INFO: IMEI packet received {"connection_id":89807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":89807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:52:34] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:34] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:52:34] local.INFO: IMEI packet received {"connection_id":89807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":89807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:52:35] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87348a60012cebe9c0072b59a0002a00452c..."} 
[2026-06-02 12:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87348a60012cebe9c0072b59a0002a00452c..."} 
[2026-06-02 12:52:35] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87348a60012cebe9c0072b59a0002a00452c..."} 
[2026-06-02 12:52:35] local.INFO: Packet analysis {"connection_id":89807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:35] local.INFO: Extracted packet for processing {"connection_id":89807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:35] local.INFO: GPS Element Parsed {"raw_longitude":753658304,"raw_latitude":120281504,"longitude_deg":75.3658304,"latitude_deg":12.0281504,"altitude":42,"angle":69,"satellites":44,"speed":21,"hex_longitude":"2cebe9c0","hex_latitude":"072b59a0","is_valid_coordinates":true} 
[2026-06-02 12:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778514688001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305586523678441472,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449596099267854336,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:35] 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-06-02 12:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780384828000,"timestamp_ms":1780384828000,"timestamp_seconds":1780384828,"priority":1,"record_length":96,"hex_timestamp":"0000019e87348a60"} 
[2026-06-02 12:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:52: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-06-02 12:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-02 12:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778514688001,"66":27908,"225":206,"83":44032,"24":21,"16":305586523678441472,"44":-1449596099267854336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-06-02 12:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778514688001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:52:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-06-02 12:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305586523678441472,"km_value":305586523678441.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449596099267854336,"description":"Unknown IO ID 44"} 
[2026-06-02 12:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778514688001,"power":27908,"unknown_225":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1449596099267854336}} 
[2026-06-02 12:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":89807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:52:35] local.INFO: GPS data processed {"connection_id":89807,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:52:35] local.INFO: Acknowledgment sent {"connection_id":89807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:52:43] local.INFO: TCP Data received {"connection_id":90864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8734bd28012d198bc00720b288003900fb22..."} 
[2026-06-02 12:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8734bd28012d198bc00720b288003900fb22..."} 
[2026-06-02 12:52:43] local.INFO: Processing buffer {"connection_id":90864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8734bd28012d198bc00720b288003900fb22..."} 
[2026-06-02 12:52:43] local.INFO: Packet analysis {"connection_id":90864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:43] local.INFO: Extracted packet for processing {"connection_id":90864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8734"} 
[2026-06-02 12:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":34,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778513920001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780384841000,"timestamp_ms":1780384841000,"timestamp_seconds":1780384841,"priority":1,"record_length":96,"hex_timestamp":"0000019e8734bd28"} 
[2026-06-02 12:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:52:43] 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-06-02 12:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2268233456,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249782262994088584,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995257401,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3342598144,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 12:52:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,199,158,25,45,192,178,57,38,10,66,36,113,1,240,47,227,135,32,4,205,208,139,136,239,49,2,188,7,120,58,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 12:52:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107559005084188672,"timestamp_seconds":4107559005084188.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 12:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:52:43] 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-06-02 12:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778513920001,"66":12645,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778513920001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:52:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778513920001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":90864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:52:43] local.INFO: GPS data processed {"connection_id":90864,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:52:43] local.INFO: Acknowledgment sent {"connection_id":90864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:53:06] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e87360548012cecd240072c38180036003e28..."} 
[2026-06-02 12:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87360548012cecd240072c38180036003e28..."} 
[2026-06-02 12:53:06] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87360548012cecd240072c38180036003e28..."} 
[2026-06-02 12:53:06] local.INFO: Packet analysis {"connection_id":89807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8736"} 
[2026-06-02 12:53:06] local.INFO: Extracted packet for processing {"connection_id":89807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8736"} 
[2026-06-02 12:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753717824,"raw_latitude":120338456,"longitude_deg":75.3717824,"latitude_deg":12.0338456,"altitude":54,"angle":62,"satellites":40,"speed":38,"hex_longitude":"2cecd240","hex_latitude":"072c3818","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778540032001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305590548062797824,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1384645748377649152,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780384925000,"timestamp_ms":1780384925000,"timestamp_seconds":1780384925,"priority":1,"record_length":96,"hex_timestamp":"0000019e87360548"} 
[2026-06-02 12:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 12:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12: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-06-02 12:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778540032001,"66":28028,"35":206,"83":44032,"24":38,"16":305590548062797824,"44":-1384645748377649152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-06-02 12:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778540032001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:53:06] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-02 12:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305590548062797824,"km_value":305590548062797.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1384645748377649152,"description":"Unknown IO ID 44"} 
[2026-06-02 12:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778540032001,"power":28028,"unknown_35":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1384645748377649152}} 
[2026-06-02 12:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":89807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:53:06] local.INFO: GPS data processed {"connection_id":89807,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:53:06] local.INFO: Acknowledgment sent {"connection_id":89807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:53:09] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:09] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:09] local.INFO: IMEI packet received {"connection_id":89809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":89809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:53:10] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:10] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:10] local.INFO: IMEI packet received {"connection_id":89809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":89809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:53:14] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:14] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:53:14] local.INFO: IMEI packet received {"connection_id":89809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":89809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:53:14] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87350f30012d198bc00720b288003900fb28..."} 
[2026-06-02 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87350f30012d198bc00720b288003900fb28..."} 
[2026-06-02 12:53:14] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87350f30012d198bc00720b288003900fb28..."} 
[2026-06-02 12:53:14] local.INFO: Packet analysis {"connection_id":89809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8735"} 
[2026-06-02 12:53:14] local.INFO: Extracted packet for processing {"connection_id":89809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8735"} 
[2026-06-02 12:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778519296001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780384862000,"timestamp_ms":1780384862000,"timestamp_seconds":1780384862,"priority":1,"record_length":96,"hex_timestamp":"0000019e87350f30"} 
[2026-06-02 12:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 12:53:14] 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-06-02 12:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:53:14] 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-06-02 12:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778519296001,"66":12591,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778519296001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:53:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778519296001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":89809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:53:15] local.INFO: GPS data processed {"connection_id":89809,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:53:15] local.INFO: Acknowledgment sent {"connection_id":89809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:53:16] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87356138012d198bc00720b288003900fb23..."} 
[2026-06-02 12:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87356138012d198bc00720b288003900fb23..."} 
[2026-06-02 12:53:16] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87356138012d198bc00720b288003900fb23..."} 
[2026-06-02 12:53:16] local.INFO: Packet analysis {"connection_id":89809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8735"} 
[2026-06-02 12:53:16] local.INFO: Extracted packet for processing {"connection_id":89809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8735"} 
[2026-06-02 12:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778524672001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53: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-06-02 12:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780384883000,"timestamp_ms":1780384883000,"timestamp_seconds":1780384883,"priority":1,"record_length":96,"hex_timestamp":"0000019e87356138"} 
[2026-06-02 12:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:53:16] 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-06-02 12:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 12:53:16] 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-06-02 12:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:53: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-06-02 12:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778524672001,"66":11656,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778524672001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:53:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778524672001,"power":11656,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":89809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:53:16] local.INFO: GPS data processed {"connection_id":89809,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:53:16] local.INFO: Acknowledgment sent {"connection_id":89809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:53:21] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:21] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:21] local.INFO: IMEI packet received {"connection_id":89406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":89406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:53:23] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:23] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:23] local.INFO: IMEI packet received {"connection_id":89406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":89406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:53:23] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:23] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:23] local.INFO: IMEI packet received {"connection_id":89406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":89406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:53:25] local.INFO: TCP Data received {"connection_id":89406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:25] local.INFO: Processing buffer {"connection_id":89406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:53:25] local.INFO: IMEI packet received {"connection_id":89406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":89406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:53:28] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:53:28] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:53:28] local.INFO: IMEI packet received {"connection_id":89808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":89808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:53:47] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8735b340012d198bc00720b288003900fb28..."} 
[2026-06-02 12:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8735b340012d198bc00720b288003900fb28..."} 
[2026-06-02 12:53:47] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8735b340012d198bc00720b288003900fb28..."} 
[2026-06-02 12:53:47] local.INFO: Packet analysis {"connection_id":89809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8735"} 
[2026-06-02 12:53:47] local.INFO: Extracted packet for processing {"connection_id":89809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8735"} 
[2026-06-02 12:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583368,"longitude_deg":75.6648896,"latitude_deg":11.9583368,"altitude":57,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778530048001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193950171496448,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556854784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:53: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-06-02 12:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780384904000,"timestamp_ms":1780384904000,"timestamp_seconds":1780384904,"priority":1,"record_length":96,"hex_timestamp":"0000019e8735b340"} 
[2026-06-02 12:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:53: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-06-02 12: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-02 12:53:47] 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-06-02 12: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-06-02 12:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:53:47] 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-06-02 12:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778530048001,"66":14048,"103":206,"83":41984,"24":0,"16":125193950171496448,"45":1840776009556854784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778530048001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:53:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193950171496448,"km_value":125193950171496.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556854784,"description":"Unknown IO ID 45"} 
[2026-06-02 12:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778530048001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556854784}} 
[2026-06-02 12:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":89809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:53:47] local.INFO: GPS data processed {"connection_id":89809,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:53:47] local.INFO: Acknowledgment sent {"connection_id":89809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:53:58] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:53:58] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:53:58] local.INFO: IMEI packet received {"connection_id":89810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":89810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:54:01] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:01] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:01] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:54:03] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:03] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:03] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:54:06] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:06] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:06] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:54:11] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:11] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:54:11] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:54:11] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8736d450012d1909c00720ca100036012d25..."} 
[2026-06-02 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8736d450012d1909c00720ca100036012d25..."} 
[2026-06-02 12:54:11] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8736d450012d1909c00720ca100036012d25..."} 
[2026-06-02 12:54:11] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8736"} 
[2026-06-02 12:54:11] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8736"} 
[2026-06-02 12:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756615616,"raw_latitude":119589392,"longitude_deg":75.6615616,"latitude_deg":11.9589392,"altitude":54,"angle":301,"satellites":37,"speed":28,"hex_longitude":"2d1909c0","hex_latitude":"0720ca10","is_valid_coordinates":true} 
[2026-06-02 12:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778551808001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125195633798676480,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812487774398156800,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780384978000,"timestamp_ms":1780384978000,"timestamp_seconds":1780384978,"priority":1,"record_length":96,"hex_timestamp":"0000019e8736d450"} 
[2026-06-02 12:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:54:11] 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-06-02 12:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 12:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778551808001,"66":14461,"103":206,"83":41984,"24":28,"16":125195633798676480,"45":1812487774398156800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778551808001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:54:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125195633798676480,"km_value":125195633798676.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812487774398156800,"description":"Unknown IO ID 45"} 
[2026-06-02 12:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778551808001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1812487774398156800}} 
[2026-06-02 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:54:12] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:54:12] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:54:16] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87370330012d18eec00720df78003b014725..."} 
[2026-06-02 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87370330012d18eec00720df78003b014725..."} 
[2026-06-02 12:54:16] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87370330012d18eec00720df78003b014725..."} 
[2026-06-02 12:54:16] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8737"} 
[2026-06-02 12:54:16] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8737"} 
[2026-06-02 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756608704,"raw_latitude":119594872,"longitude_deg":75.6608704,"latitude_deg":11.9594872,"altitude":59,"angle":327,"satellites":37,"speed":32,"hex_longitude":"2d18eec0","hex_latitude":"0720df78","is_valid_coordinates":true} 
[2026-06-02 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778554368001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125196059000438784,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804184262586011648,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54: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-06-02 12:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780384990000,"timestamp_ms":1780384990000,"timestamp_seconds":1780384990,"priority":1,"record_length":96,"hex_timestamp":"0000019e87370330"} 
[2026-06-02 12:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:54:16] 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-06-02 12:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 12:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:54: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-06-02 12:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778554368001,"66":14428,"103":206,"83":41984,"24":32,"16":125196059000438784,"45":1804184262586011648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778554368001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:54:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125196059000438784,"km_value":125196059000438.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804184262586011648,"description":"Unknown IO ID 45"} 
[2026-06-02 12:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778554368001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1804184262586011648}} 
[2026-06-02 12:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:54:16] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:54:16] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:54:48] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87372658012d18df400720f630003d013b28..."} 
[2026-06-02 12:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87372658012d18df400720f630003d013b28..."} 
[2026-06-02 12:54:48] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87372658012d18df400720f630003d013b28..."} 
[2026-06-02 12:54:48] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8737"} 
[2026-06-02 12:54:48] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8737"} 
[2026-06-02 12:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756604736,"raw_latitude":119600688,"longitude_deg":75.6604736,"latitude_deg":11.9600688,"altitude":61,"angle":315,"satellites":40,"speed":28,"hex_longitude":"2d18df40","hex_latitude":"0720f630","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778557440001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125196398302855168,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438216226816,"note":"Value kept but may cause issues"} 
[2026-06-02 12:54: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-06-02 12:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780384999000,"timestamp_ms":1780384999000,"timestamp_seconds":1780384999,"priority":1,"record_length":96,"hex_timestamp":"0000019e87372658"} 
[2026-06-02 12:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 12:54: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-06-02 12: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-06-02 12:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 12:54:48] 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-06-02 12:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 12:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 12:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778557440001,"66":14428,"103":206,"83":41984,"24":28,"16":125196398302855168,"45":1796584438216226816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 12:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 12:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 12:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778557440001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:54:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 12:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 12:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125196398302855168,"km_value":125196398302855.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438216226816,"description":"Unknown IO ID 45"} 
[2026-06-02 12:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778557440001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1796584438216226816}} 
[2026-06-02 12:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:54:48] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:54:48] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:55:02] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:02] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:02] local.INFO: IMEI packet received {"connection_id":89669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 12:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":89669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:55:03] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:03] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:03] local.INFO: IMEI packet received {"connection_id":89669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":89669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:55:04] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:04] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:04] local.INFO: IMEI packet received {"connection_id":89669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":89669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:55:05] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:05] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 12:55:05] local.INFO: IMEI packet received {"connection_id":89669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 12:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":89669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:56:32] local.INFO: TCP Data received {"connection_id":89670,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:56:32] local.INFO: Processing buffer {"connection_id":89670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:56:32] local.INFO: IMEI packet received {"connection_id":89670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-02 12:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":89670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:56:39] local.INFO: TCP Data received {"connection_id":89670,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8739c638012d0b1f00070299080004007505..."} 
[2026-06-02 12:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8739c638012d0b1f00070299080004007505..."} 
[2026-06-02 12:56:39] local.INFO: Processing buffer {"connection_id":89670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8739c638012d0b1f00070299080004007505..."} 
[2026-06-02 12:56:39] local.INFO: Packet analysis {"connection_id":89670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8739"} 
[2026-06-02 12:56:39] local.INFO: Extracted packet for processing {"connection_id":89670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8739"} 
[2026-06-02 12:56:39] local.INFO: GPS Element Parsed {"raw_longitude":755703552,"raw_latitude":117610760,"longitude_deg":75.5703552,"latitude_deg":11.761076,"altitude":4,"angle":117,"satellites":5,"speed":1,"hex_longitude":"2d0b1f00","hex_latitude":"07029908","is_valid_coordinates":true} 
[2026-06-02 12:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778602240001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19157169047863296,"note":"Value kept but may cause issues"} 
[2026-06-02 12:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801148182571096064,"note":"Value kept but may cause issues"} 
[2026-06-02 12:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780385171000,"timestamp_ms":1780385171000,"timestamp_seconds":1780385171,"priority":1,"record_length":96,"hex_timestamp":"0000019e8739c638"} 
[2026-06-02 12:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 12:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-02 12:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-02 12:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-02 12:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-02 12:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778602240001,"66":14515,"178":206,"94":10240,"24":1,"16":19157169047863296,"45":801148182571096064},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-06-02 12:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-02 12:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-02 12:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778602240001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:56:39] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-02 12:56:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 12:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19157169047863296,"km_value":19157169047863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":801148182571096064,"description":"Unknown IO ID 45"} 
[2026-06-02 12:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778602240001,"power":14515,"unknown_178":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":801148182571096064}} 
[2026-06-02 12:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":89670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255445,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:56:39] local.INFO: GPS data processed {"connection_id":89670,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:56:39] local.INFO: Acknowledgment sent {"connection_id":89670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:58:10] local.INFO: TCP Data received {"connection_id":90870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:58:10] local.INFO: Processing buffer {"connection_id":90870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:58:10] local.INFO: IMEI packet received {"connection_id":90870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-02 12:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":90870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:58:13] local.INFO: TCP Data received {"connection_id":90870,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:58:13] local.INFO: Processing buffer {"connection_id":90870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-02 12:58:13] local.INFO: IMEI packet received {"connection_id":90870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-02 12:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":90870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:58:14] local.INFO: TCP Data received {"connection_id":90870,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e873b6c18012d0b1e80070298b80003006b05..."} 
[2026-06-02 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873b6c18012d0b1e80070298b80003006b05..."} 
[2026-06-02 12:58:14] local.INFO: Processing buffer {"connection_id":90870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873b6c18012d0b1e80070298b80003006b05..."} 
[2026-06-02 12:58:14] local.INFO: Packet analysis {"connection_id":90870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:58:14] local.INFO: Extracted packet for processing {"connection_id":90870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:58:14] local.INFO: GPS Element Parsed {"raw_longitude":755703424,"raw_latitude":117610680,"longitude_deg":75.5703424,"latitude_deg":11.761068,"altitude":3,"angle":107,"satellites":5,"speed":0,"hex_longitude":"2d0b1e80","hex_latitude":"070298b8","is_valid_coordinates":true} 
[2026-06-02 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778626048001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19157267832111104,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801218551315214336,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780385279000,"timestamp_ms":1780385279000,"timestamp_seconds":1780385279,"priority":1,"record_length":96,"hex_timestamp":"0000019e873b6c18"} 
[2026-06-02 12:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:58:14] 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-06-02 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-02 12:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":90870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":90870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-02 12:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":90870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-02 12:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-02 12:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-02 12:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778626048001,"66":14439,"178":206,"94":10240,"24":0,"16":19157267832111104,"45":801218551315214336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-06-02 12:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-02 12:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-02 12:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778626048001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:58:14] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-02 12:58:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 12:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19157267832111104,"km_value":19157267832111.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":801218551315214336,"description":"Unknown IO ID 45"} 
[2026-06-02 12:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778626048001,"power":14439,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":801218551315214336}} 
[2026-06-02 12:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":90870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:58:14] local.INFO: GPS data processed {"connection_id":90870,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:58:14] local.INFO: Acknowledgment sent {"connection_id":90870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:58:15] local.INFO: TCP Data received {"connection_id":90870,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e873b7fa0012d0b1e80070298b80003008005..."} 
[2026-06-02 12:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873b7fa0012d0b1e80070298b80003008005..."} 
[2026-06-02 12:58:15] local.INFO: Processing buffer {"connection_id":90870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873b7fa0012d0b1e80070298b80003008005..."} 
[2026-06-02 12:58:15] local.INFO: Packet analysis {"connection_id":90870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:58:15] local.INFO: Extracted packet for processing {"connection_id":90870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:58:15] local.INFO: GPS Element Parsed {"raw_longitude":755703424,"raw_latitude":117610680,"longitude_deg":75.5703424,"latitude_deg":11.761068,"altitude":3,"angle":128,"satellites":5,"speed":1,"hex_longitude":"2d0b1e80","hex_latitude":"070298b8","is_valid_coordinates":true} 
[2026-06-02 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778631424001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19157267832111104,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801218551315216384,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 12:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780385284000,"timestamp_ms":1780385284000,"timestamp_seconds":1780385284,"priority":1,"record_length":96,"hex_timestamp":"0000019e873b7fa0"} 
[2026-06-02 12:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-02 12:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-02 12:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-02 12:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-02 12:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-02 12:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778631424001,"66":13906,"178":206,"94":10240,"24":1,"16":19157267832111104,"45":801218551315216384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-06-02 12:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-02 12:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-02 12:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778631424001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:58:15] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-02 12:58:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-02 12:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19157267832111104,"km_value":19157267832111.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":801218551315216384,"description":"Unknown IO ID 45"} 
[2026-06-02 12:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778631424001,"power":13906,"unknown_178":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":801218551315216384}} 
[2026-06-02 12:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":90870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:58:15] local.INFO: GPS data processed {"connection_id":90870,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:58:15] local.INFO: Acknowledgment sent {"connection_id":90870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:58:28] local.INFO: TCP Data received {"connection_id":89671,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:58:28] local.INFO: Processing buffer {"connection_id":89671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:58:28] local.INFO: IMEI packet received {"connection_id":89671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":89671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:58:29] local.INFO: TCP Data received {"connection_id":89671,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8739a6f8012cede8c0072d2f50004300202a..."} 
[2026-06-02 12:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8739a6f8012cede8c0072d2f50004300202a..."} 
[2026-06-02 12:58:29] local.INFO: Processing buffer {"connection_id":89671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8739a6f8012cede8c0072d2f50004300202a..."} 
[2026-06-02 12:58:29] local.INFO: Packet analysis {"connection_id":89671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8739"} 
[2026-06-02 12:58:29] local.INFO: Extracted packet for processing {"connection_id":89671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8739"} 
[2026-06-02 12:58:29] local.INFO: GPS Element Parsed {"raw_longitude":753789120,"raw_latitude":120401744,"longitude_deg":75.378912,"latitude_deg":12.0401744,"altitude":67,"angle":32,"satellites":42,"speed":26,"hex_longitude":"2cede8c0","hex_latitude":"072d2f50","is_valid_coordinates":true} 
[2026-06-02 12:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778598912001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305596578196881408,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1309351192092436480,"note":"Value kept but may cause issues"} 
[2026-06-02 12:58:29] 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-06-02 12:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780385163000,"timestamp_ms":1780385163000,"timestamp_seconds":1780385163,"priority":1,"record_length":96,"hex_timestamp":"0000019e8739a6f8"} 
[2026-06-02 12:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:58: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-06-02 12:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 12:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 12:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:58: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-06-02 12:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778598912001,"66":27930,"229":206,"83":44032,"24":26,"16":305596578196881408,"44":-1309351192092436480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-06-02 12:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778598912001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:58:29] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 12:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305596578196881408,"km_value":305596578196881.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1309351192092436480,"description":"Unknown IO ID 44"} 
[2026-06-02 12:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778598912001,"power":27930,"unknown_229":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1309351192092436480}} 
[2026-06-02 12:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":89671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:58:30] local.INFO: GPS data processed {"connection_id":89671,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:58:30] local.INFO: Acknowledgment sent {"connection_id":89671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:59:00] local.INFO: TCP Data received {"connection_id":89671,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e873b9ee0012cee2c80072e26c0004000492b..."} 
[2026-06-02 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873b9ee0012cee2c80072e26c0004000492b..."} 
[2026-06-02 12:59:00] local.INFO: Processing buffer {"connection_id":89671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873b9ee0012cee2c80072e26c0004000492b..."} 
[2026-06-02 12:59:00] local.INFO: Packet analysis {"connection_id":89671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:59:00] local.INFO: Extracted packet for processing {"connection_id":89671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:59:00] local.INFO: GPS Element Parsed {"raw_longitude":753806464,"raw_latitude":120465088,"longitude_deg":75.3806464,"latitude_deg":12.0465088,"altitude":64,"angle":73,"satellites":43,"speed":54,"hex_longitude":"2cee2c80","hex_latitude":"072e26c0","is_valid_coordinates":true} 
[2026-06-02 12: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-06-02 12:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778632960001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600357768101888,"note":"Value kept but may cause issues"} 
[2026-06-02 12:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1294362649565726720,"note":"Value kept but may cause issues"} 
[2026-06-02 12:59:00] 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-06-02 12:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780385292000,"timestamp_ms":1780385292000,"timestamp_seconds":1780385292,"priority":1,"record_length":96,"hex_timestamp":"0000019e873b9ee0"} 
[2026-06-02 12:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:59: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-06-02 12: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 12:59: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-06-02 12: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-06-02 12:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:59: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-06-02 12:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778632960001,"66":27821,"229":206,"83":44032,"24":54,"16":305600357768101888,"44":-1294362649565726720},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-06-02 12:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778632960001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:59:00] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-02 12:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600357768101888,"km_value":305600357768101.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1294362649565726720,"description":"Unknown IO ID 44"} 
[2026-06-02 12:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778632960001,"power":27821,"unknown_229":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-1294362649565726720}} 
[2026-06-02 12:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":89671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:59:01] local.INFO: GPS data processed {"connection_id":89671,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:59:01] local.INFO: Acknowledgment sent {"connection_id":89671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:59:18] local.INFO: TCP Data received {"connection_id":89410,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:59:18] local.INFO: Processing buffer {"connection_id":89410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:59:18] local.INFO: IMEI packet received {"connection_id":89410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":89410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:59:24] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:59:24] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:59:24] local.INFO: IMEI packet received {"connection_id":89813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 12:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":89813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 12:59:29] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:59:29] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 12:59:29] local.INFO: IMEI packet received {"connection_id":89813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 12:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":89813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 12:59:30] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bba38012cee4dc0072e3040003e003d29..."} 
[2026-06-02 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bba38012cee4dc0072e3040003e003d29..."} 
[2026-06-02 12:59:30] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bba38012cee4dc0072e3040003e003d29..."} 
[2026-06-02 12:59:30] local.INFO: Packet analysis {"connection_id":89813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:59:30] local.INFO: Extracted packet for processing {"connection_id":89813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 12:59:30] local.INFO: GPS Element Parsed {"raw_longitude":753814976,"raw_latitude":120467520,"longitude_deg":75.3814976,"latitude_deg":12.046752,"altitude":62,"angle":61,"satellites":41,"speed":42,"hex_longitude":"2cee4dc0","hex_latitude":"072e3040","is_valid_coordinates":true} 
[2026-06-02 12:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 12:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778634752001,"note":"Value kept but may cause issues"} 
[2026-06-02 12:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600778674896896,"note":"Value kept but may cause issues"} 
[2026-06-02 12:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1284511025380016128,"note":"Value kept but may cause issues"} 
[2026-06-02 12:59:30] 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-06-02 12:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385299000,"timestamp_ms":1780385299000,"timestamp_seconds":1780385299,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bba38"} 
[2026-06-02 12:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 12:59: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-06-02 12:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 12:59:30] 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-06-02 12:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 12:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 12:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 12:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 12:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 12:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 12:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 12:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 12:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778634752001,"66":27974,"219":206,"83":44032,"24":42,"16":305600778674896896,"44":-1284511025380016128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 12:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 12:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 12:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778634752001,"description":"Unknown IO ID 0"} 
[2026-06-02 12:59:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 12:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 12:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600778674896896,"km_value":305600778674896.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 12:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1284511025380016128,"description":"Unknown IO ID 44"} 
[2026-06-02 12:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778634752001,"power":27974,"unknown_219":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1284511025380016128}} 
[2026-06-02 12:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":89813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 12:59:30] local.INFO: GPS data processed {"connection_id":89813,"processed":1,"errors":0,"total":1} 
[2026-06-02 12:59:30] local.INFO: Acknowledgment sent {"connection_id":89813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 12:59:58] local.INFO: TCP Data received {"connection_id":90871,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:59:58] local.INFO: Processing buffer {"connection_id":90871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 12:59:58] local.INFO: IMEI packet received {"connection_id":90871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 12:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":90871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:00:01] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bc5f0012cee5880072e3508003d00492c..."} 
[2026-06-02 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bc5f0012cee5880072e3508003d00492c..."} 
[2026-06-02 13:00:01] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bc5f0012cee5880072e3508003d00492c..."} 
[2026-06-02 13:00:01] local.INFO: Packet analysis {"connection_id":89813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:00:01] local.INFO: Extracted packet for processing {"connection_id":89813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:00:01] local.INFO: GPS Element Parsed {"raw_longitude":753817728,"raw_latitude":120468744,"longitude_deg":75.3817728,"latitude_deg":12.0468744,"altitude":61,"angle":73,"satellites":44,"speed":34,"hex_longitude":"2cee5880","hex_latitude":"072e3508","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778636544001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600924703784960,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275151982403764224,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:01] 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-06-02 13:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780385302000,"timestamp_ms":1780385302000,"timestamp_seconds":1780385302,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bc5f0"} 
[2026-06-02 13:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13: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-06-02 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 13:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:00: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-06-02 13:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778636544001,"66":27908,"219":206,"83":44032,"24":34,"16":305600924703784960,"44":-1275151982403764224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778636544001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:00:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600924703784960,"km_value":305600924703784.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275151982403764224,"description":"Unknown IO ID 44"} 
[2026-06-02 13:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778636544001,"power":27908,"unknown_219":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1275151982403764224}} 
[2026-06-02 13:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":89813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:00:01] local.INFO: GPS data processed {"connection_id":89813,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:00:01] local.INFO: Acknowledgment sent {"connection_id":89813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:00:11] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:00:11] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:00:11] local.INFO: IMEI packet received {"connection_id":89412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":89412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:00:15] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:00:15] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:00:15] local.INFO: IMEI packet received {"connection_id":89412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":89412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:00:16] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873ac808012d181ec00721aeb00047015e29..."} 
[2026-06-02 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873ac808012d181ec00721aeb00047015e29..."} 
[2026-06-02 13:00:16] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873ac808012d181ec00721aeb00047015e29..."} 
[2026-06-02 13:00:16] local.INFO: Packet analysis {"connection_id":89412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873a"} 
[2026-06-02 13:00:16] local.INFO: Extracted packet for processing {"connection_id":89412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873a"} 
[2026-06-02 13:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647920,"longitude_deg":75.6555456,"latitude_deg":11.964792,"altitude":71,"angle":350,"satellites":41,"speed":1,"hex_longitude":"2d181ec0","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-06-02 13:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778615552001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200199348912128,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074068480,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00: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-06-02 13:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780385237000,"timestamp_ms":1780385237000,"timestamp_seconds":1780385237,"priority":1,"record_length":96,"hex_timestamp":"0000019e873ac808"} 
[2026-06-02 13:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 13:00:16] 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-06-02 13:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:00: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-06-02 13:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778615552001,"66":13004,"105":206,"83":41984,"24":1,"16":125200199348912128,"45":1738037643074068480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778615552001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:00:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200199348912128,"km_value":125200199348912.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074068480,"description":"Unknown IO ID 45"} 
[2026-06-02 13:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778615552001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738037643074068480}} 
[2026-06-02 13:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":89412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:00:16] local.INFO: GPS data processed {"connection_id":89412,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:00:16] local.INFO: Acknowledgment sent {"connection_id":89412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:00:21] local.INFO: TCP Data received {"connection_id":89412,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873b1df8012d181e400721ae300047015e26..."} 
[2026-06-02 13:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873b1df8012d181e400721ae300047015e26..."} 
[2026-06-02 13:00:21] local.INFO: Processing buffer {"connection_id":89412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873b1df8012d181e400721ae300047015e26..."} 
[2026-06-02 13:00:21] local.INFO: Packet analysis {"connection_id":89412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:00:21] local.INFO: Extracted packet for processing {"connection_id":89412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":71,"angle":350,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-06-02 13:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778620672001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200212233814016,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073990656,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780385259000,"timestamp_ms":1780385259000,"timestamp_seconds":1780385259,"priority":1,"record_length":96,"hex_timestamp":"0000019e873b1df8"} 
[2026-06-02 13:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:00:21] 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-06-02 13:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-02 13:00:21] 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-06-02 13:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:00:21] 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-06-02 13:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778620672001,"66":12972,"105":206,"83":41984,"24":0,"16":125200212233814016,"45":1738037643073990656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778620672001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:00:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200212233814016,"km_value":125200212233814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073990656,"description":"Unknown IO ID 45"} 
[2026-06-02 13:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778620672001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643073990656}} 
[2026-06-02 13:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":89412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:00:21] local.INFO: GPS data processed {"connection_id":89412,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:00:21] local.INFO: Acknowledgment sent {"connection_id":89412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:00:23] local.INFO: TCP Data received {"connection_id":89413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:00:23] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:00:23] local.INFO: IMEI packet received {"connection_id":89413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":89413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:00:29] local.INFO: TCP Data received {"connection_id":89413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:00:29] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:00:29] local.INFO: IMEI packet received {"connection_id":89413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":89413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:00:30] local.INFO: TCP Data received {"connection_id":89413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bc9d8012cee5bc0072e3590003d00552c..."} 
[2026-06-02 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bc9d8012cee5bc0072e3590003d00552c..."} 
[2026-06-02 13:00:30] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bc9d8012cee5bc0072e3590003d00552c..."} 
[2026-06-02 13:00:30] local.INFO: Packet analysis {"connection_id":89413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:00:30] local.INFO: Extracted packet for processing {"connection_id":89413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":753818560,"raw_latitude":120468880,"longitude_deg":75.381856,"latitude_deg":12.046888,"altitude":61,"angle":85,"satellites":44,"speed":33,"hex_longitude":"2cee5bc0","hex_latitude":"072e3590","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778637312001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1272126126403811328,"note":"Value kept but may cause issues"} 
[2026-06-02 13:00:30] 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-06-02 13:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385303000,"timestamp_ms":1780385303000,"timestamp_seconds":1780385303,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bc9d8"} 
[2026-06-02 13:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:00: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-06-02 13: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:00:30] 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-06-02 13:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778637312001,"66":27104,"219":206,"83":44032,"24":33,"16":305600963358490624,"44":-1272126126403811328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778637312001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:00:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1272126126403811328,"description":"Unknown IO ID 44"} 
[2026-06-02 13:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778637312001,"power":27104,"unknown_219":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1272126126403811328}} 
[2026-06-02 13:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":89413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:00:30] local.INFO: GPS data processed {"connection_id":89413,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:00:30] local.INFO: Acknowledgment sent {"connection_id":89413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:01:01] local.INFO: TCP Data received {"connection_id":89413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bc9d8012cee5bc0072e3590003d00552c..."} 
[2026-06-02 13:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bc9d8012cee5bc0072e3590003d00552c..."} 
[2026-06-02 13:01:01] local.INFO: Processing buffer {"connection_id":89413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bc9d8012cee5bc0072e3590003d00552c..."} 
[2026-06-02 13:01:01] local.INFO: Packet analysis {"connection_id":89413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:01] local.INFO: Extracted packet for processing {"connection_id":89413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:01] local.INFO: GPS Element Parsed {"raw_longitude":753818560,"raw_latitude":120468880,"longitude_deg":75.381856,"latitude_deg":12.046888,"altitude":61,"angle":85,"satellites":44,"speed":33,"hex_longitude":"2cee5bc0","hex_latitude":"072e3590","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778637568001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271211332729466880,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:01] 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-06-02 13:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780385303000,"timestamp_ms":1780385303000,"timestamp_seconds":1780385303,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bc9d8"} 
[2026-06-02 13:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:01: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-06-02 13: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 13:01:01] 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-06-02 13: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-06-02 13:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:01:01] 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-06-02 13:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778637568001,"66":27104,"219":206,"83":44032,"24":33,"16":305600963358490624,"44":-1271211332729466880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778637568001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:01:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271211332729466880,"description":"Unknown IO ID 44"} 
[2026-06-02 13:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778637568001,"power":27104,"unknown_219":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1271211332729466880}} 
[2026-06-02 13:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":89413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:01:01] local.INFO: GPS data processed {"connection_id":89413,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:01:01] local.INFO: Acknowledgment sent {"connection_id":89413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:01:06] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:01:06] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:01:06] local.INFO: IMEI packet received {"connection_id":89814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":89814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:01:11] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:01:11] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:01:11] local.INFO: IMEI packet received {"connection_id":89814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":89814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:01:11] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873b6c18012d181e400721ae300047015e27..."} 
[2026-06-02 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873b6c18012d181e400721ae300047015e27..."} 
[2026-06-02 13:01:11] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873b6c18012d181e400721ae300047015e27..."} 
[2026-06-02 13:01:11] local.INFO: Packet analysis {"connection_id":89814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:11] local.INFO: Extracted packet for processing {"connection_id":89814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":71,"angle":350,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778626304001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200212233814016,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585602560,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780385279000,"timestamp_ms":1780385279000,"timestamp_seconds":1780385279,"priority":1,"record_length":96,"hex_timestamp":"0000019e873b6c18"} 
[2026-06-02 13:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 13:01:11] 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-06-02 13: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-06-02 13:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778626304001,"66":12972,"105":206,"83":41984,"24":0,"16":125200212233814016,"45":1737896905585602560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778626304001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:01:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200212233814016,"km_value":125200212233814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585602560,"description":"Unknown IO ID 45"} 
[2026-06-02 13:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778626304001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585602560}} 
[2026-06-02 13:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":89814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:01:12] local.INFO: GPS data processed {"connection_id":89814,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:01:12] local.INFO: Acknowledgment sent {"connection_id":89814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:01:29] local.INFO: TCP Data received {"connection_id":90872,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:01:29] local.INFO: Processing buffer {"connection_id":90872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:01:29] local.INFO: IMEI packet received {"connection_id":90872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":90872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:01:34] local.INFO: TCP Data received {"connection_id":90872,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:01:34] local.INFO: Processing buffer {"connection_id":90872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:01:34] local.INFO: IMEI packet received {"connection_id":90872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":90872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:01:34] local.INFO: TCP Data received {"connection_id":90872,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bd1a8012cee61c0072e3560003c00612c..."} 
[2026-06-02 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bd1a8012cee61c0072e3560003c00612c..."} 
[2026-06-02 13:01:34] local.INFO: Processing buffer {"connection_id":90872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bd1a8012cee61c0072e3560003c00612c..."} 
[2026-06-02 13:01:34] local.INFO: Packet analysis {"connection_id":90872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:34] local.INFO: Extracted packet for processing {"connection_id":90872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:34] local.INFO: GPS Element Parsed {"raw_longitude":753820096,"raw_latitude":120468832,"longitude_deg":75.3820096,"latitude_deg":12.0468832,"altitude":60,"angle":97,"satellites":44,"speed":29,"hex_longitude":"2cee61c0","hex_latitude":"072e3560","is_valid_coordinates":true} 
[2026-06-02 13:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778637568001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271211332729466880,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:34] 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-06-02 13:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780385305000,"timestamp_ms":1780385305000,"timestamp_seconds":1780385305,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bd1a8"} 
[2026-06-02 13:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:01:34] 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-06-02 13:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 13:01: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-06-02 13:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778637568001,"66":27517,"219":206,"83":44032,"24":29,"16":305600963358490624,"44":-1271211332729466880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778637568001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:01:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271211332729466880,"description":"Unknown IO ID 44"} 
[2026-06-02 13:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778637568001,"power":27517,"unknown_219":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1271211332729466880}} 
[2026-06-02 13:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":90872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:01:35] local.INFO: GPS data processed {"connection_id":90872,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:01:35] local.INFO: Acknowledgment sent {"connection_id":90872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:01:39] local.INFO: TCP Data received {"connection_id":90872,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:01:39] local.INFO: Processing buffer {"connection_id":90872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:01:39] local.INFO: Packet analysis {"connection_id":90872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:39] local.INFO: Extracted packet for processing {"connection_id":90872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:39] local.INFO: GPS Element Parsed {"raw_longitude":753821504,"raw_latitude":120468496,"longitude_deg":75.3821504,"latitude_deg":12.0468496,"altitude":58,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2cee6740","hex_latitude":"072e3410","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638080001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269522482869215232,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:39] 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-06-02 13:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780385307000,"timestamp_ms":1780385307000,"timestamp_seconds":1780385307,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bd978"} 
[2026-06-02 13:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:01:39] 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-06-02 13: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:01:39] 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-06-02 13:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638080001,"66":27104,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1269522482869215232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638080001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:01:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:01:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269522482869215232,"description":"Unknown IO ID 44"} 
[2026-06-02 13:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638080001,"power":27104,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1269522482869215232}} 
[2026-06-02 13:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":90872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:01:39] local.INFO: GPS data processed {"connection_id":90872,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:01:39] local.INFO: Acknowledgment sent {"connection_id":90872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:01:43] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bbe20012d181e400721ae300047015e28..."} 
[2026-06-02 13:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bbe20012d181e400721ae300047015e28..."} 
[2026-06-02 13:01:43] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bbe20012d181e400721ae300047015e28..."} 
[2026-06-02 13:01:43] local.INFO: Packet analysis {"connection_id":89814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:43] local.INFO: Extracted packet for processing {"connection_id":89814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:01:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":71,"angle":350,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778631424001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200212233814016,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585602560,"note":"Value kept but may cause issues"} 
[2026-06-02 13:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780385300000,"timestamp_ms":1780385300000,"timestamp_seconds":1780385300,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bbe20"} 
[2026-06-02 13:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:01:43] 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-06-02 13:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 13:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:01:43] 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-06-02 13:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778631424001,"66":12950,"105":206,"83":41984,"24":0,"16":125200212233814016,"45":1737896905585602560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778631424001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:01:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:01:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200212233814016,"km_value":125200212233814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585602560,"description":"Unknown IO ID 45"} 
[2026-06-02 13:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778631424001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585602560}} 
[2026-06-02 13:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":89814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:01:43] local.INFO: GPS data processed {"connection_id":89814,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:01:43] local.INFO: Acknowledgment sent {"connection_id":89814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:02:05] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:02:05] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:02:05] local.INFO: IMEI packet received {"connection_id":89674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":89674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:02:11] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:02:11] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:02:11] local.INFO: IMEI packet received {"connection_id":89674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":89674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:02:11] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873c1028012d181e400721ae300047015e29..."} 
[2026-06-02 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873c1028012d181e400721ae300047015e29..."} 
[2026-06-02 13:02:11] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873c1028012d181e400721ae300047015e29..."} 
[2026-06-02 13:02:11] local.INFO: Packet analysis {"connection_id":89674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873c"} 
[2026-06-02 13:02:11] local.INFO: Extracted packet for processing {"connection_id":89674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873c"} 
[2026-06-02 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":71,"angle":350,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-06-02 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778636800001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200212233814016,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585602560,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780385321000,"timestamp_ms":1780385321000,"timestamp_seconds":1780385321,"priority":1,"record_length":96,"hex_timestamp":"0000019e873c1028"} 
[2026-06-02 13:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 13:02:11] 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-06-02 13:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778636800001,"66":12939,"105":206,"83":41984,"24":0,"16":125200212233814016,"45":1737896905585602560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778636800001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:02:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200212233814016,"km_value":125200212233814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585602560,"description":"Unknown IO ID 45"} 
[2026-06-02 13:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778636800001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585602560}} 
[2026-06-02 13:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":89674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:02:11] local.INFO: GPS data processed {"connection_id":89674,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:02:11] local.INFO: Acknowledgment sent {"connection_id":89674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:02:23] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:02:23] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:02:23] local.INFO: IMEI packet received {"connection_id":89414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":89414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:02:29] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:02:29] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:02:29] local.INFO: IMEI packet received {"connection_id":89414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":89414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:02:30] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:02:30] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:02:30] local.INFO: Packet analysis {"connection_id":89414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:02:30] local.INFO: Extracted packet for processing {"connection_id":89414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:02:30] local.INFO: GPS Element Parsed {"raw_longitude":753821504,"raw_latitude":120468496,"longitude_deg":75.3821504,"latitude_deg":12.0468496,"altitude":58,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2cee6740","hex_latitude":"072e3410","is_valid_coordinates":true} 
[2026-06-02 13:02: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-06-02 13:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638080001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269522482869215232,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:30] 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-06-02 13:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385307000,"timestamp_ms":1780385307000,"timestamp_seconds":1780385307,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bd978"} 
[2026-06-02 13:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:02:30] 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-06-02 13:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:02: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-06-02 13:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:02:30] 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-06-02 13:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638080001,"66":27104,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1269522482869215232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638080001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:02:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269522482869215232,"description":"Unknown IO ID 44"} 
[2026-06-02 13:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638080001,"power":27104,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1269522482869215232}} 
[2026-06-02 13:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":89414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:02:30] local.INFO: GPS data processed {"connection_id":89414,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:02:30] local.INFO: Acknowledgment sent {"connection_id":89414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:02:42] local.INFO: TCP Data received {"connection_id":89674,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873c6230012d181e400721ae300047015e28..."} 
[2026-06-02 13:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873c6230012d181e400721ae300047015e28..."} 
[2026-06-02 13:02:42] local.INFO: Processing buffer {"connection_id":89674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873c6230012d181e400721ae300047015e28..."} 
[2026-06-02 13:02:42] local.INFO: Packet analysis {"connection_id":89674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873c"} 
[2026-06-02 13:02:42] local.INFO: Extracted packet for processing {"connection_id":89674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873c"} 
[2026-06-02 13:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":71,"angle":350,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-06-02 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778642176001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200212233814016,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585602560,"note":"Value kept but may cause issues"} 
[2026-06-02 13:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780385342000,"timestamp_ms":1780385342000,"timestamp_seconds":1780385342,"priority":1,"record_length":96,"hex_timestamp":"0000019e873c6230"} 
[2026-06-02 13:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:02:42] 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-06-02 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 13:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:02:42] 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-06-02 13:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778642176001,"66":12885,"105":206,"83":41984,"24":0,"16":125200212233814016,"45":1737896905585602560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778642176001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:02:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200212233814016,"km_value":125200212233814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585602560,"description":"Unknown IO ID 45"} 
[2026-06-02 13:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778642176001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585602560}} 
[2026-06-02 13:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":89674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:02:43] local.INFO: GPS data processed {"connection_id":89674,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:02:43] local.INFO: Acknowledgment sent {"connection_id":89674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:03:01] local.INFO: TCP Data received {"connection_id":89414,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:03:01] local.INFO: Processing buffer {"connection_id":89414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:03:01] local.INFO: Packet analysis {"connection_id":89414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:03:01] local.INFO: Extracted packet for processing {"connection_id":89414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:03:01] local.INFO: GPS Element Parsed {"raw_longitude":753821504,"raw_latitude":120468496,"longitude_deg":75.3821504,"latitude_deg":12.0468496,"altitude":58,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2cee6740","hex_latitude":"072e3410","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638080001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269522482869215232,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:01] 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-06-02 13:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780385307000,"timestamp_ms":1780385307000,"timestamp_seconds":1780385307,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bd978"} 
[2026-06-02 13:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:03:01] 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-06-02 13: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13: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-06-02 13:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638080001,"66":27104,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1269522482869215232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638080001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:03:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269522482869215232,"description":"Unknown IO ID 44"} 
[2026-06-02 13:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638080001,"power":27104,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1269522482869215232}} 
[2026-06-02 13:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":89414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:03:01] local.INFO: GPS data processed {"connection_id":89414,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:03:01] local.INFO: Acknowledgment sent {"connection_id":89414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:03:03] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:03] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:03] local.INFO: IMEI packet received {"connection_id":89815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":89815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:03:06] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:06] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:06] local.INFO: IMEI packet received {"connection_id":89815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":89815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:03:10] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:10] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:03:10] local.INFO: IMEI packet received {"connection_id":89815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":89815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:03:11] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873cb438012d181e400721ae300047015e28..."} 
[2026-06-02 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873cb438012d181e400721ae300047015e28..."} 
[2026-06-02 13:03:11] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873cb438012d181e400721ae300047015e28..."} 
[2026-06-02 13:03:11] local.INFO: Packet analysis {"connection_id":89815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873c"} 
[2026-06-02 13:03:11] local.INFO: Extracted packet for processing {"connection_id":89815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873c"} 
[2026-06-02 13:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":71,"angle":350,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-06-02 13:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778647552001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200212233814016,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585602560,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780385363000,"timestamp_ms":1780385363000,"timestamp_seconds":1780385363,"priority":1,"record_length":96,"hex_timestamp":"0000019e873cb438"} 
[2026-06-02 13:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 13:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778647552001,"66":12852,"105":206,"83":41984,"24":0,"16":125200212233814016,"45":1737896905585602560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778647552001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:03:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200212233814016,"km_value":125200212233814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585602560,"description":"Unknown IO ID 45"} 
[2026-06-02 13:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778647552001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585602560}} 
[2026-06-02 13:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":89815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:03:11] local.INFO: GPS data processed {"connection_id":89815,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:03:11] local.INFO: Acknowledgment sent {"connection_id":89815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:03:24] local.INFO: TCP Data received {"connection_id":90874,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:03:24] local.INFO: Processing buffer {"connection_id":90874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:03:24] local.INFO: IMEI packet received {"connection_id":90874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":90874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:03:29] local.INFO: TCP Data received {"connection_id":90874,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:03:29] local.INFO: Processing buffer {"connection_id":90874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:03:29] local.INFO: IMEI packet received {"connection_id":90874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":90874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:03:30] local.INFO: TCP Data received {"connection_id":90874,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:03:30] local.INFO: Processing buffer {"connection_id":90874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:03:30] local.INFO: Packet analysis {"connection_id":90874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:03:30] local.INFO: Extracted packet for processing {"connection_id":90874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:03:30] local.INFO: GPS Element Parsed {"raw_longitude":753821504,"raw_latitude":120468496,"longitude_deg":75.3821504,"latitude_deg":12.0468496,"altitude":58,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2cee6740","hex_latitude":"072e3410","is_valid_coordinates":true} 
[2026-06-02 13:03: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-06-02 13:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638080001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269522482869215232,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:30] 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-06-02 13:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385307000,"timestamp_ms":1780385307000,"timestamp_seconds":1780385307,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bd978"} 
[2026-06-02 13:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:03:30] 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-06-02 13:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:03: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-06-02 13:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:03:30] 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-06-02 13:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638080001,"66":27104,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1269522482869215232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638080001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:03:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269522482869215232,"description":"Unknown IO ID 44"} 
[2026-06-02 13:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638080001,"power":27104,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1269522482869215232}} 
[2026-06-02 13:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":90874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:03:30] local.INFO: GPS data processed {"connection_id":90874,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:03:30] local.INFO: Acknowledgment sent {"connection_id":90874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:03:42] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e873d0a28012d181e400721ae300047015e25..."} 
[2026-06-02 13:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873d0a28012d181e400721ae300047015e25..."} 
[2026-06-02 13:03:42] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873d0a28012d181e400721ae300047015e25..."} 
[2026-06-02 13:03:42] local.INFO: Packet analysis {"connection_id":89815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873d"} 
[2026-06-02 13:03:42] local.INFO: Extracted packet for processing {"connection_id":89815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873d"} 
[2026-06-02 13:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":71,"angle":350,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-06-02 13:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778652928001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200212233814016,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585602560,"note":"Value kept but may cause issues"} 
[2026-06-02 13:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780385385000,"timestamp_ms":1780385385000,"timestamp_seconds":1780385385,"priority":1,"record_length":96,"hex_timestamp":"0000019e873d0a28"} 
[2026-06-02 13:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:03:42] 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-06-02 13:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-02 13:03:42] 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-06-02 13:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:03:42] 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-06-02 13:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778652928001,"66":12798,"105":206,"83":41984,"24":0,"16":125200212233814016,"45":1737896905585602560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778652928001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:03:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200212233814016,"km_value":125200212233814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585602560,"description":"Unknown IO ID 45"} 
[2026-06-02 13:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778652928001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585602560}} 
[2026-06-02 13:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":89815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:03:42] local.INFO: GPS data processed {"connection_id":89815,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:03:42] local.INFO: Acknowledgment sent {"connection_id":89815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:04:01] local.INFO: TCP Data received {"connection_id":90874,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:04:01] local.INFO: Processing buffer {"connection_id":90874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e873bd978012cee6740072e3410003a006c2c..."} 
[2026-06-02 13:04:01] local.INFO: Packet analysis {"connection_id":90874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:04:01] local.INFO: Extracted packet for processing {"connection_id":90874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e873b"} 
[2026-06-02 13:04:01] local.INFO: GPS Element Parsed {"raw_longitude":753821504,"raw_latitude":120468496,"longitude_deg":75.3821504,"latitude_deg":12.0468496,"altitude":58,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2cee6740","hex_latitude":"072e3410","is_valid_coordinates":true} 
[2026-06-02 13:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638080001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269522482869215232,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:01] 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-06-02 13:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780385307000,"timestamp_ms":1780385307000,"timestamp_seconds":1780385307,"priority":1,"record_length":96,"hex_timestamp":"0000019e873bd978"} 
[2026-06-02 13:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:04:01] 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-06-02 13:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:04: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-06-02 13:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638080001,"66":27104,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1269522482869215232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638080001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:04:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269522482869215232,"description":"Unknown IO ID 44"} 
[2026-06-02 13:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638080001,"power":27104,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1269522482869215232}} 
[2026-06-02 13:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":90874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:04:01] local.INFO: GPS data processed {"connection_id":90874,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:04:01] local.INFO: Acknowledgment sent {"connection_id":90874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:04:05] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:04:05] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:04:05] local.INFO: IMEI packet received {"connection_id":89676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":89676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:04:11] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:04:11] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:04:11] local.INFO: IMEI packet received {"connection_id":89676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":89676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:04:11] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87401f38012d181cc00721aa980046009d29..."} 
[2026-06-02 13:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87401f38012d181cc00721aa980046009d29..."} 
[2026-06-02 13:04:11] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87401f38012d181cc00721aa980046009d29..."} 
[2026-06-02 13:04:11] local.INFO: Packet analysis {"connection_id":89676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:04:11] local.INFO: Extracted packet for processing {"connection_id":89676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646872,"longitude_deg":75.6554944,"latitude_deg":11.9646872,"altitude":70,"angle":157,"satellites":41,"speed":2,"hex_longitude":"2d181cc0","hex_latitude":"0721aa98","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778705408001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200268068388864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120423936,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780385587000,"timestamp_ms":1780385587000,"timestamp_seconds":1780385587,"priority":1,"record_length":96,"hex_timestamp":"0000019e87401f38"} 
[2026-06-02 13:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 13:04:11] 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-06-02 13: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-06-02 13:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778705408001,"66":14428,"105":206,"83":41984,"24":2,"16":125200268068388864,"45":1737474693120423936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778705408001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:04:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200268068388864,"km_value":125200268068388.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120423936,"description":"Unknown IO ID 45"} 
[2026-06-02 13:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778705408001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737474693120423936}} 
[2026-06-02 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":89676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:04:12] local.INFO: GPS data processed {"connection_id":89676,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:04:12] local.INFO: Acknowledgment sent {"connection_id":89676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:04:24] local.INFO: TCP Data received {"connection_id":90875,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:04:24] local.INFO: Processing buffer {"connection_id":90875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:04:24] local.INFO: IMEI packet received {"connection_id":90875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":90875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:04:29] local.INFO: TCP Data received {"connection_id":90875,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:04:29] local.INFO: Processing buffer {"connection_id":90875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:04:29] local.INFO: IMEI packet received {"connection_id":90875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":90875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:04:30] local.INFO: TCP Data received {"connection_id":90875,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:04:30] local.INFO: Processing buffer {"connection_id":90875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:04:30] local.INFO: Packet analysis {"connection_id":90875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:04:30] local.INFO: Extracted packet for processing {"connection_id":90875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":753823616,"raw_latitude":120466568,"longitude_deg":75.3823616,"latitude_deg":12.0466568,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2cee6f80","hex_latitude":"072e2c88","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638592001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1267974370497392640,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:30] 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-06-02 13:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385608000,"timestamp_ms":1780385608000,"timestamp_seconds":1780385608,"priority":1,"record_length":96,"hex_timestamp":"0000019e87407140"} 
[2026-06-02 13:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:04:30] 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-06-02 13: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 13:04:30] 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-06-02 13:04: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-06-02 13:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:04:30] 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-06-02 13:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638592001,"66":26419,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1267974370497392640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638592001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:04:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1267974370497392640,"description":"Unknown IO ID 44"} 
[2026-06-02 13:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638592001,"power":26419,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1267974370497392640}} 
[2026-06-02 13:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":90875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:04:30] local.INFO: GPS data processed {"connection_id":90875,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:04:30] local.INFO: Acknowledgment sent {"connection_id":90875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:04:43] local.INFO: TCP Data received {"connection_id":89676,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87402708012d181cc00721aa500046008d29..."} 
[2026-06-02 13:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87402708012d181cc00721aa500046008d29..."} 
[2026-06-02 13:04:43] local.INFO: Processing buffer {"connection_id":89676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87402708012d181cc00721aa500046008d29..."} 
[2026-06-02 13:04:43] local.INFO: Packet analysis {"connection_id":89676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:04:43] local.INFO: Extracted packet for processing {"connection_id":89676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646800,"longitude_deg":75.6554944,"latitude_deg":11.96468,"altitude":70,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721aa50","is_valid_coordinates":true} 
[2026-06-02 13:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778710272001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200272363356160,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120301056,"note":"Value kept but may cause issues"} 
[2026-06-02 13:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780385589000,"timestamp_ms":1780385589000,"timestamp_seconds":1780385589,"priority":1,"record_length":96,"hex_timestamp":"0000019e87402708"} 
[2026-06-02 13:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:04:43] 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-06-02 13:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:04:43] 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-06-02 13:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778710272001,"66":14374,"105":206,"83":41984,"24":0,"16":125200272363356160,"45":1737474693120301056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778710272001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:04:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200272363356160,"km_value":125200272363356.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120301056,"description":"Unknown IO ID 45"} 
[2026-06-02 13:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778710272001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693120301056}} 
[2026-06-02 13:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":89676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:04:43] local.INFO: GPS data processed {"connection_id":89676,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:04:43] local.INFO: Acknowledgment sent {"connection_id":89676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:05:01] local.INFO: TCP Data received {"connection_id":90875,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:05:01] local.INFO: Processing buffer {"connection_id":90875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:05:01] local.INFO: Packet analysis {"connection_id":90875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:01] local.INFO: Extracted packet for processing {"connection_id":90875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:01] local.INFO: GPS Element Parsed {"raw_longitude":753823616,"raw_latitude":120466568,"longitude_deg":75.3823616,"latitude_deg":12.0466568,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2cee6f80","hex_latitude":"072e2c88","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638592001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1267974370497392640,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:01] 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-06-02 13:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780385608000,"timestamp_ms":1780385608000,"timestamp_seconds":1780385608,"priority":1,"record_length":96,"hex_timestamp":"0000019e87407140"} 
[2026-06-02 13:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:05: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-06-02 13: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 13:05:01] 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-06-02 13: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-06-02 13:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:05: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-06-02 13:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638592001,"66":26419,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1267974370497392640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638592001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:05:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1267974370497392640,"description":"Unknown IO ID 44"} 
[2026-06-02 13:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638592001,"power":26419,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1267974370497392640}} 
[2026-06-02 13:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":90875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:05:01] local.INFO: GPS data processed {"connection_id":90875,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:05:01] local.INFO: Acknowledgment sent {"connection_id":90875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:05:11] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:05:11] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:05:11] local.INFO: IMEI packet received {"connection_id":89416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":89416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:05:11] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:05:11] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:05:11] local.INFO: IMEI packet received {"connection_id":89416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":89416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:05:12] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874036a8012d181e800721a8700047007e28..."} 
[2026-06-02 13:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874036a8012d181e800721a8700047007e28..."} 
[2026-06-02 13:05:12] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874036a8012d181e800721a8700047007e28..."} 
[2026-06-02 13:05:12] local.INFO: Packet analysis {"connection_id":89416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:12] local.INFO: Extracted packet for processing {"connection_id":89416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646320,"longitude_deg":75.6555392,"latitude_deg":11.964632,"altitude":71,"angle":126,"satellites":40,"speed":12,"hex_longitude":"2d181e80","hex_latitude":"0721a870","is_valid_coordinates":true} 
[2026-06-02 13:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778710784001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200302428127232,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120282624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780385593000,"timestamp_ms":1780385593000,"timestamp_seconds":1780385593,"priority":1,"record_length":96,"hex_timestamp":"0000019e874036a8"} 
[2026-06-02 13:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 13:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:05:12] 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-06-02 13:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778710784001,"66":14341,"105":206,"83":41984,"24":12,"16":125200302428127232,"45":1737474693120282624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778710784001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:05:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200302428127232,"km_value":125200302428127.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120282624,"description":"Unknown IO ID 45"} 
[2026-06-02 13:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778710784001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737474693120282624}} 
[2026-06-02 13:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":89416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:05:12] local.INFO: GPS data processed {"connection_id":89416,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:05:12] local.INFO: Acknowledgment sent {"connection_id":89416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:05:16] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874088b0012d1827400721a1180048008225..."} 
[2026-06-02 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874088b0012d1827400721a1180048008225..."} 
[2026-06-02 13:05:16] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874088b0012d1827400721a1180048008225..."} 
[2026-06-02 13:05:16] local.INFO: Packet analysis {"connection_id":89416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:16] local.INFO: Extracted packet for processing {"connection_id":89416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119644440,"longitude_deg":75.6557632,"latitude_deg":11.964444,"altitude":72,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721a118","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778711808001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200444162048000,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329403392,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05: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-06-02 13:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780385614000,"timestamp_ms":1780385614000,"timestamp_seconds":1780385614,"priority":1,"record_length":96,"hex_timestamp":"0000019e874088b0"} 
[2026-06-02 13:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6954630871,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84750484044718510,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2269063456,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4110417920,"corrected_to":0} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505510031130624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2901934153,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692846,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":8,"raw_value":21674432871268352,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3438280704,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,205,158,39,45,192,170,70,41,10,66,204,31,213,1,240,252,227,135,33,4,113,3,127,29,8,40,239,54,2,188,7,77,206],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":204,"original":4110417920,"validated":0}]} 
[2026-06-02 13:05:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116227886957461504,"timestamp_seconds":5116227886957462.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 13:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:05: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-06-02 13:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778711808001,"66":14428,"105":206,"83":41984,"24":0,"16":125200444162048000,"45":1737967274329403392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778711808001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:05:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200444162048000,"km_value":125200444162048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329403392,"description":"Unknown IO ID 45"} 
[2026-06-02 13:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778711808001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329403392}} 
[2026-06-02 13:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":89416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:05:16] local.INFO: GPS data processed {"connection_id":89416,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:05:16] local.INFO: Acknowledgment sent {"connection_id":89416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:05:18] local.INFO: TCP Data received {"connection_id":89415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:05:18] local.INFO: Processing buffer {"connection_id":89415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:05:18] local.INFO: IMEI packet received {"connection_id":89415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":89415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:05:23] local.INFO: TCP Data received {"connection_id":89417,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:05:23] local.INFO: Processing buffer {"connection_id":89417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:05:23] local.INFO: IMEI packet received {"connection_id":89417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":89417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:05:29] local.INFO: TCP Data received {"connection_id":89417,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:05:29] local.INFO: Processing buffer {"connection_id":89417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:05:29] local.INFO: IMEI packet received {"connection_id":89417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":89417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:05:30] local.INFO: TCP Data received {"connection_id":89417,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:05:30] local.INFO: Processing buffer {"connection_id":89417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87407140012cee6f80072e2c880038006c27..."} 
[2026-06-02 13:05:30] local.INFO: Packet analysis {"connection_id":89417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:30] local.INFO: Extracted packet for processing {"connection_id":89417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":753823616,"raw_latitude":120466568,"longitude_deg":75.3823616,"latitude_deg":12.0466568,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2cee6f80","hex_latitude":"072e2c88","is_valid_coordinates":true} 
[2026-06-02 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778638592001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1267974370497392640,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:30] 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-06-02 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385608000,"timestamp_ms":1780385608000,"timestamp_seconds":1780385608,"priority":1,"record_length":96,"hex_timestamp":"0000019e87407140"} 
[2026-06-02 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:05:30] 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-06-02 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 13:05:30] 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-06-02 13:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:05:30] 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-06-02 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778638592001,"66":26419,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1267974370497392640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778638592001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:05:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1267974370497392640,"description":"Unknown IO ID 44"} 
[2026-06-02 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778638592001,"power":26419,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1267974370497392640}} 
[2026-06-02 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":89417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:05:30] local.INFO: GPS data processed {"connection_id":89417,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:05:30] local.INFO: Acknowledgment sent {"connection_id":89417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:05:47] local.INFO: TCP Data received {"connection_id":89416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8740dab8012d182d8007219a080049008222..."} 
[2026-06-02 13:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8740dab8012d182d8007219a080049008222..."} 
[2026-06-02 13:05:47] local.INFO: Processing buffer {"connection_id":89416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8740dab8012d182d8007219a080049008222..."} 
[2026-06-02 13:05:47] local.INFO: Packet analysis {"connection_id":89416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:47] local.INFO: Extracted packet for processing {"connection_id":89416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8740"} 
[2026-06-02 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119642632,"longitude_deg":75.6559232,"latitude_deg":11.9642632,"altitude":73,"angle":130,"satellites":34,"speed":8,"hex_longitude":"2d182d80","hex_latitude":"07219a08","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778717184001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125200560126164992,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375140352,"note":"Value kept but may cause issues"} 
[2026-06-02 13:05: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-06-02 13:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780385635000,"timestamp_ms":1780385635000,"timestamp_seconds":1780385635,"priority":1,"record_length":96,"hex_timestamp":"0000019e8740dab8"} 
[2026-06-02 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-06-02 13:05: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-06-02 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:05: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-06-02 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-06-02 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-06-02 13:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:05:47] 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-06-02 13:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778717184001,"66":13820,"105":206,"83":41984,"24":8,"16":125200560126164992,"45":1740430180375140352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 13:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778717184001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:05:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 13:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125200560126164992,"km_value":125200560126164.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375140352,"description":"Unknown IO ID 45"} 
[2026-06-02 13:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778717184001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1740430180375140352}} 
[2026-06-02 13:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":89416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:05:48] local.INFO: GPS data processed {"connection_id":89416,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:05:48] local.INFO: Acknowledgment sent {"connection_id":89416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:05:58] local.INFO: TCP Data received {"connection_id":89418,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:05:58] local.INFO: Processing buffer {"connection_id":89418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:05:58] local.INFO: IMEI packet received {"connection_id":89418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":89418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:06:01] local.INFO: TCP Data received {"connection_id":89417,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87420780012cee6f80072e2c880038006c24..."} 
[2026-06-02 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87420780012cee6f80072e2c880038006c24..."} 
[2026-06-02 13:06:01] local.INFO: Processing buffer {"connection_id":89417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87420780012cee6f80072e2c880038006c24..."} 
[2026-06-02 13:06:01] local.INFO: Packet analysis {"connection_id":89417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:06:01] local.INFO: Extracted packet for processing {"connection_id":89417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:06:01] local.INFO: GPS Element Parsed {"raw_longitude":753823616,"raw_latitude":120466568,"longitude_deg":75.3823616,"latitude_deg":12.0466568,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2cee6f80","hex_latitude":"072e2c88","is_valid_coordinates":true} 
[2026-06-02 13:06: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-06-02 13:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778715648001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265652201940023296,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:01] 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-06-02 13:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780385712000,"timestamp_ms":1780385712000,"timestamp_seconds":1780385712,"priority":1,"record_length":96,"hex_timestamp":"0000019e87420780"} 
[2026-06-02 13:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:06: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-06-02 13:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 13:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:06: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-06-02 13:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778715648001,"66":26299,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1265652201940023296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778715648001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:06:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265652201940023296,"description":"Unknown IO ID 44"} 
[2026-06-02 13:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778715648001,"power":26299,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265652201940023296}} 
[2026-06-02 13:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":89417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:06:01] local.INFO: GPS data processed {"connection_id":89417,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:06:01] local.INFO: Acknowledgment sent {"connection_id":89417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:06:02] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:02] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:02] local.INFO: IMEI packet received {"connection_id":89816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":89816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:06:05] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:05] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:05] local.INFO: IMEI packet received {"connection_id":89816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":89816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:06:11] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:11] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:06:11] local.INFO: IMEI packet received {"connection_id":89816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":89816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:06:12] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8741e458012d18b18007216d180049008f29..."} 
[2026-06-02 13:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8741e458012d18b18007216d180049008f29..."} 
[2026-06-02 13:06:12] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8741e458012d18b18007216d180049008f29..."} 
[2026-06-02 13:06:12] local.INFO: Packet analysis {"connection_id":89816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8741"} 
[2026-06-02 13:06:12] local.INFO: Extracted packet for processing {"connection_id":89816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8741"} 
[2026-06-02 13:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119631128,"longitude_deg":75.6593024,"latitude_deg":11.9631128,"altitude":73,"angle":143,"satellites":41,"speed":34,"hex_longitude":"2d18b180","hex_latitude":"07216d18","is_valid_coordinates":true} 
[2026-06-02 13:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778739456001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125202295292952576,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507098112,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780385703000,"timestamp_ms":1780385703000,"timestamp_seconds":1780385703,"priority":1,"record_length":96,"hex_timestamp":"0000019e8741e458"} 
[2026-06-02 13:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 13:06:12] 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-06-02 13:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:06:12] 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-06-02 13:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778739456001,"66":14483,"106":206,"83":41984,"24":34,"16":125202295292952576,"45":1778077458507098112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 13:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778739456001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:06:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 13:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125202295292952576,"km_value":125202295292952.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507098112,"description":"Unknown IO ID 45"} 
[2026-06-02 13:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778739456001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1778077458507098112}} 
[2026-06-02 13:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":89816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:06:12] local.INFO: GPS data processed {"connection_id":89816,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:06:12] local.INFO: Acknowledgment sent {"connection_id":89816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:06:23] local.INFO: TCP Data received {"connection_id":89677,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:06:23] local.INFO: Processing buffer {"connection_id":89677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:06:23] local.INFO: IMEI packet received {"connection_id":89677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":89677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:06:29] local.INFO: TCP Data received {"connection_id":89677,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:06:29] local.INFO: Processing buffer {"connection_id":89677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:06:29] local.INFO: IMEI packet received {"connection_id":89677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":89677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:06:30] local.INFO: TCP Data received {"connection_id":89677,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87421b08012cee7140072e2c880038011925..."} 
[2026-06-02 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87421b08012cee7140072e2c880038011925..."} 
[2026-06-02 13:06:30] local.INFO: Processing buffer {"connection_id":89677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87421b08012cee7140072e2c880038011925..."} 
[2026-06-02 13:06:30] local.INFO: Packet analysis {"connection_id":89677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:06:30] local.INFO: Extracted packet for processing {"connection_id":89677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:06:30] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466568,"longitude_deg":75.3824064,"latitude_deg":12.0466568,"altitude":56,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2c88","is_valid_coordinates":true} 
[2026-06-02 13:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778742272001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265652201940023296,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:30] 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-06-02 13:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385717000,"timestamp_ms":1780385717000,"timestamp_seconds":1780385717,"priority":1,"record_length":96,"hex_timestamp":"0000019e87421b08"} 
[2026-06-02 13:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:06: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-06-02 13:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 13:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:06:30] 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-06-02 13:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778742272001,"66":27713,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1265652201940023296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778742272001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:06:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265652201940023296,"description":"Unknown IO ID 44"} 
[2026-06-02 13:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778742272001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265652201940023296}} 
[2026-06-02 13:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":89677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:06:30] local.INFO: GPS data processed {"connection_id":89677,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:06:30] local.INFO: Acknowledgment sent {"connection_id":89677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:06:43] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87420780012d18c400072151e0004400a029..."} 
[2026-06-02 13:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87420780012d18c400072151e0004400a029..."} 
[2026-06-02 13:06:43] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87420780012d18c400072151e0004400a029..."} 
[2026-06-02 13:06:43] local.INFO: Packet analysis {"connection_id":89816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:06:43] local.INFO: Extracted packet for processing {"connection_id":89816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119624160,"longitude_deg":75.659776,"latitude_deg":11.962416,"altitude":68,"angle":160,"satellites":41,"speed":37,"hex_longitude":"2d18c400","hex_latitude":"072151e0","is_valid_coordinates":true} 
[2026-06-02 13:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778739968001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125202699019878400,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095901980672,"note":"Value kept but may cause issues"} 
[2026-06-02 13:06:43] 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-06-02 13:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780385712000,"timestamp_ms":1780385712000,"timestamp_seconds":1780385712,"priority":1,"record_length":96,"hex_timestamp":"0000019e87420780"} 
[2026-06-02 13:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:06:43] 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-06-02 13:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 13:06:43] 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-06-02 13:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:06:43] 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-06-02 13:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778739968001,"66":14407,"106":206,"83":41984,"24":37,"16":125202699019878400,"45":1779344095901980672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 13:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778739968001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:06:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 13:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125202699019878400,"km_value":125202699019878.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095901980672,"description":"Unknown IO ID 45"} 
[2026-06-02 13:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778739968001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1779344095901980672}} 
[2026-06-02 13:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":89816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:06:43] local.INFO: GPS data processed {"connection_id":89816,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:06:43] local.INFO: Acknowledgment sent {"connection_id":89816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:07:02] local.INFO: TCP Data received {"connection_id":89677,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87426d10012cee7140072e2c880038011925..."} 
[2026-06-02 13:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87426d10012cee7140072e2c880038011925..."} 
[2026-06-02 13:07:02] local.INFO: Processing buffer {"connection_id":89677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87426d10012cee7140072e2c880038011925..."} 
[2026-06-02 13:07:02] local.INFO: Packet analysis {"connection_id":89677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:02] local.INFO: Extracted packet for processing {"connection_id":89677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:02] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466568,"longitude_deg":75.3824064,"latitude_deg":12.0466568,"altitude":56,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2c88","is_valid_coordinates":true} 
[2026-06-02 13:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778743552001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730779648,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:02] 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-06-02 13:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780385738000,"timestamp_ms":1780385738000,"timestamp_seconds":1780385738,"priority":1,"record_length":96,"hex_timestamp":"0000019e87426d10"} 
[2026-06-02 13:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:07: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-06-02 13:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 13:07:02] 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-06-02 13:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:07: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-06-02 13:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778743552001,"66":27767,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1265159620730779648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778743552001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:07:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730779648,"description":"Unknown IO ID 44"} 
[2026-06-02 13:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778743552001,"power":27767,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730779648}} 
[2026-06-02 13:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":89677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:07:02] local.INFO: GPS data processed {"connection_id":89677,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:07:02] local.INFO: Acknowledgment sent {"connection_id":89677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:07:05] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:07:05] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:07:05] local.INFO: IMEI packet received {"connection_id":89420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":89420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:07:06] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 13:07:06] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 13:07:06] local.INFO: IMEI packet received {"connection_id":89420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":89420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:07:10] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:07:10] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 13:07:10] local.INFO: IMEI packet received {"connection_id":89420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":89420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:07:11] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8742d688012d193bc00720b390002b007b27..."} 
[2026-06-02 13:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8742d688012d193bc00720b390002b007b27..."} 
[2026-06-02 13:07:11] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019e87..."} 
[2026-06-02 13:07:11] local.INFO: IMEI packet received {"connection_id":89420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":89420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:07:16] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8742e628012d194a400720ac80002a006d28..."} 
[2026-06-02 13:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8742e628012d194a400720ac80002a006d28..."} 
[2026-06-02 13:07:16] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e8742d688012d193bc00720b390002b007b27..."} 
[2026-06-02 13:07:16] local.INFO: Packet analysis {"connection_id":89420,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:16] local.INFO: Extracted packet for processing {"connection_id":89420,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756628416,"raw_latitude":119583632,"longitude_deg":75.6628416,"latitude_deg":11.9583632,"altitude":43,"angle":123,"satellites":39,"speed":45,"hex_longitude":"2d193bc0","hex_latitude":"0720b390","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778754048001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125205349014700032,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809602655887128576,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07: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-06-02 13:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780385765000,"timestamp_ms":1780385765000,"timestamp_seconds":1780385765,"priority":1,"record_length":96,"hex_timestamp":"0000019e8742d688"} 
[2026-06-02 13:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:07: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-06-02 13: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-06-02 13:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13: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-06-02 13:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778754048001,"66":14461,"103":206,"83":41984,"24":45,"16":125205349014700032,"45":1809602655887128576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 13:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778754048001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125205349014700032,"km_value":125205349014700.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809602655887128576,"description":"Unknown IO ID 45"} 
[2026-06-02 13:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778754048001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1809602655887128576}} 
[2026-06-02 13:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":89420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:07:16] local.INFO: GPS data processed {"connection_id":89420,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:07:16] local.INFO: Acknowledgment sent {"connection_id":89420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:07:16] local.INFO: Packet analysis {"connection_id":89420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:16] local.INFO: Extracted packet for processing {"connection_id":89420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119581824,"longitude_deg":75.6632128,"latitude_deg":11.9581824,"altitude":42,"angle":109,"satellites":40,"speed":37,"hex_longitude":"2d194a40","hex_latitude":"0720ac80","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778755840001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125205546583195648,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818258011420069888,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07: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-06-02 13:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780385769000,"timestamp_ms":1780385769000,"timestamp_seconds":1780385769,"priority":1,"record_length":96,"hex_timestamp":"0000019e8742e628"} 
[2026-06-02 13:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13: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-06-02 13:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778755840001,"66":14494,"103":206,"83":41984,"24":37,"16":125205546583195648,"45":1818258011420069888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 13:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778755840001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125205546583195648,"km_value":125205546583195.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818258011420069888,"description":"Unknown IO ID 45"} 
[2026-06-02 13:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778755840001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1818258011420069888}} 
[2026-06-02 13:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":89420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:07:16] local.INFO: GPS data processed {"connection_id":89420,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:07:16] local.INFO: Acknowledgment sent {"connection_id":89420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:07:26] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:26] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:26] local.INFO: IMEI packet received {"connection_id":89679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":89679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:07:29] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:29] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:29] local.INFO: IMEI packet received {"connection_id":89679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":89679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:07:34] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:34] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:07:34] local.INFO: IMEI packet received {"connection_id":89679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":89679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:07:35] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8742bf18012cee7140072e2c880038011926..."} 
[2026-06-02 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8742bf18012cee7140072e2c880038011926..."} 
[2026-06-02 13:07:35] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8742bf18012cee7140072e2c880038011926..."} 
[2026-06-02 13:07:35] local.INFO: Packet analysis {"connection_id":89679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:35] local.INFO: Extracted packet for processing {"connection_id":89679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:35] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466568,"longitude_deg":75.3824064,"latitude_deg":12.0466568,"altitude":56,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2c88","is_valid_coordinates":true} 
[2026-06-02 13:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778748928001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600963358490624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730779648,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:35] 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-06-02 13:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780385759000,"timestamp_ms":1780385759000,"timestamp_seconds":1780385759,"priority":1,"record_length":96,"hex_timestamp":"0000019e8742bf18"} 
[2026-06-02 13:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:07: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-06-02 13:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 13:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778748928001,"66":27887,"219":206,"83":44032,"24":0,"16":305600963358490624,"44":-1265159620730779648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778748928001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:07:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600963358490624,"km_value":305600963358490.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730779648,"description":"Unknown IO ID 44"} 
[2026-06-02 13:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778748928001,"power":27887,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730779648}} 
[2026-06-02 13:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":89679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:07:35] local.INFO: GPS data processed {"connection_id":89679,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:07:35] local.INFO: Acknowledgment sent {"connection_id":89679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:07:36] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8742f9b0012cee7180072e2db80035015a28..."} 
[2026-06-02 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8742f9b0012cee7180072e2db80035015a28..."} 
[2026-06-02 13:07:36] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8742f9b0012cee7180072e2db80035015a28..."} 
[2026-06-02 13:07:36] local.INFO: Packet analysis {"connection_id":89679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:36] local.INFO: Extracted packet for processing {"connection_id":89679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8742"} 
[2026-06-02 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466872,"longitude_deg":75.3824128,"latitude_deg":12.0466872,"altitude":53,"angle":346,"satellites":40,"speed":5,"hex_longitude":"2cee7180","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-06-02 13:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778754304001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600980538359808,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730779648,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:36] 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-06-02 13:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780385774000,"timestamp_ms":1780385774000,"timestamp_seconds":1780385774,"priority":1,"record_length":96,"hex_timestamp":"0000019e8742f9b0"} 
[2026-06-02 13:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 13:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778754304001,"66":27919,"219":206,"83":44032,"24":5,"16":305600980538359808,"44":-1265159620730779648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778754304001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:07:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600980538359808,"km_value":305600980538359.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730779648,"description":"Unknown IO ID 44"} 
[2026-06-02 13:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778754304001,"power":27919,"unknown_219":206,"unknown_83":44032,"ignition":5,"odometer":null,"unknown_44":-1265159620730779648}} 
[2026-06-02 13:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":89679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:07:36] local.INFO: GPS data processed {"connection_id":89679,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:07:36] local.INFO: Acknowledgment sent {"connection_id":89679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:07:47] local.INFO: TCP Data received {"connection_id":89420,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87439208012d19ad4007208c80002d00b327..."} 
[2026-06-02 13:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87439208012d19ad4007208c80002d00b327..."} 
[2026-06-02 13:07:47] local.INFO: Processing buffer {"connection_id":89420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87439208012d19ad4007208c80002d00b327..."} 
[2026-06-02 13:07:47] local.INFO: Packet analysis {"connection_id":89420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8743"} 
[2026-06-02 13:07:47] local.INFO: Extracted packet for processing {"connection_id":89420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8743"} 
[2026-06-02 13:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573632,"longitude_deg":75.6657472,"latitude_deg":11.9573632,"altitude":45,"angle":179,"satellites":39,"speed":30,"hex_longitude":"2d19ad40","hex_latitude":"07208c80","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778767616001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125207363354361856,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995438592,"note":"Value kept but may cause issues"} 
[2026-06-02 13:07: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-06-02 13:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780385813000,"timestamp_ms":1780385813000,"timestamp_seconds":1780385813,"priority":1,"record_length":96,"hex_timestamp":"0000019e87439208"} 
[2026-06-02 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-06-02 13:07: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-06-02 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 13:07: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-06-02 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-06-02 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-06-02 13:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:07:47] 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-06-02 13:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778767616001,"66":13961,"103":206,"83":41984,"24":30,"16":125207363354361856,"45":1850557264995438592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 13:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778767616001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:07:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 13:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125207363354361856,"km_value":125207363354361.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995438592,"description":"Unknown IO ID 45"} 
[2026-06-02 13:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778767616001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850557264995438592}} 
[2026-06-02 13:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":89420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:07:47] local.INFO: GPS data processed {"connection_id":89420,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:07:47] local.INFO: Acknowledgment sent {"connection_id":89420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:08:05] local.INFO: TCP Data received {"connection_id":90876,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:05] local.INFO: Processing buffer {"connection_id":90876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:05] local.INFO: IMEI packet received {"connection_id":90876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":90876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:08:06] local.INFO: TCP Data received {"connection_id":90876,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:06] local.INFO: Processing buffer {"connection_id":90876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:06] local.INFO: IMEI packet received {"connection_id":90876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":90876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:08:07] local.INFO: TCP Data received {"connection_id":89679,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87430180012cee7100072e2eb80035014828..."} 
[2026-06-02 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87430180012cee7100072e2eb80035014828..."} 
[2026-06-02 13:08:07] local.INFO: Processing buffer {"connection_id":89679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87430180012cee7100072e2eb80035014828..."} 
[2026-06-02 13:08:07] local.INFO: Packet analysis {"connection_id":89679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8743"} 
[2026-06-02 13:08:07] local.INFO: Extracted packet for processing {"connection_id":89679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8743"} 
[2026-06-02 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120467128,"longitude_deg":75.3824,"latitude_deg":12.0467128,"altitude":53,"angle":328,"satellites":40,"speed":5,"hex_longitude":"2cee7100","hex_latitude":"072e2eb8","is_valid_coordinates":true} 
[2026-06-02 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778758144001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305600993423261696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986524160,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:07] 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-06-02 13:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780385776000,"timestamp_ms":1780385776000,"timestamp_seconds":1780385776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87430180"} 
[2026-06-02 13:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:08: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-06-02 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 13:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:08:07] 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-06-02 13:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778758144001,"66":27908,"219":206,"83":44032,"24":5,"16":305600993423261696,"44":-1265089251986524160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-06-02 13:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778758144001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:08:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 13:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305600993423261696,"km_value":305600993423261.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:08:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986524160,"description":"Unknown IO ID 44"} 
[2026-06-02 13:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778758144001,"power":27908,"unknown_219":206,"unknown_83":44032,"ignition":5,"odometer":null,"unknown_44":-1265089251986524160}} 
[2026-06-02 13:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":89679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:08:07] local.INFO: GPS data processed {"connection_id":89679,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:08:07] local.INFO: Acknowledgment sent {"connection_id":89679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:08:07] local.INFO: TCP Data received {"connection_id":90876,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:07] local.INFO: Processing buffer {"connection_id":90876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:07] local.INFO: IMEI packet received {"connection_id":90876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":90876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:08:11] local.INFO: TCP Data received {"connection_id":90876,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:11] local.INFO: Processing buffer {"connection_id":90876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:08:11] local.INFO: IMEI packet received {"connection_id":90876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":90876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:08:11] local.INFO: TCP Data received {"connection_id":90876,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874395f0012d19ae0007208960002c00a727..."} 
[2026-06-02 13:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874395f0012d19ae0007208960002c00a727..."} 
[2026-06-02 13:08:11] local.INFO: Processing buffer {"connection_id":90876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874395f0012d19ae0007208960002c00a727..."} 
[2026-06-02 13:08:11] local.INFO: Packet analysis {"connection_id":90876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8743"} 
[2026-06-02 13:08:11] local.INFO: Extracted packet for processing {"connection_id":90876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8743"} 
[2026-06-02 13:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572832,"longitude_deg":75.6657664,"latitude_deg":11.9572832,"altitude":44,"angle":167,"satellites":39,"speed":32,"hex_longitude":"2d19ae00","hex_latitude":"07208960","is_valid_coordinates":true} 
[2026-06-02 13:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778768128001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125207402009067520,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274169344,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780385814000,"timestamp_ms":1780385814000,"timestamp_seconds":1780385814,"priority":1,"record_length":96,"hex_timestamp":"0000019e874395f0"} 
[2026-06-02 13:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 13:08:11] 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-06-02 13:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778768128001,"66":13656,"103":206,"83":41984,"24":32,"16":125207402009067520,"45":1850205421274169344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 13:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778768128001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:08:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 13:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125207402009067520,"km_value":125207402009067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274169344,"description":"Unknown IO ID 45"} 
[2026-06-02 13:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778768128001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850205421274169344}} 
[2026-06-02 13:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":90876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:08:12] local.INFO: GPS data processed {"connection_id":90876,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:08:12] local.INFO: Acknowledgment sent {"connection_id":90876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:08:25] local.INFO: TCP Data received {"connection_id":89421,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:25] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:25] local.INFO: IMEI packet received {"connection_id":89421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":89421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:08:26] local.INFO: TCP Data received {"connection_id":89421,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:26] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:26] local.INFO: IMEI packet received {"connection_id":89421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":89421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:08:29] local.INFO: TCP Data received {"connection_id":89421,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:29] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:08:29] local.INFO: IMEI packet received {"connection_id":89421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":89421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:08:30] local.INFO: TCP Data received {"connection_id":89421,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874416d8012ced9b00072df038004a00f429..."} 
[2026-06-02 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874416d8012ced9b00072df038004a00f429..."} 
[2026-06-02 13:08:30] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874416d8012ced9b00072df038004a00f429..."} 
[2026-06-02 13:08:30] local.INFO: Packet analysis {"connection_id":89421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:08:30] local.INFO: Extracted packet for processing {"connection_id":89421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":753769216,"raw_latitude":120451128,"longitude_deg":75.3769216,"latitude_deg":12.0451128,"altitude":74,"angle":244,"satellites":41,"speed":35,"hex_longitude":"2ced9b00","hex_latitude":"072df038","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778774272001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305603759382200320,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1315754747797575680,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:30] 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-06-02 13:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385847000,"timestamp_ms":1780385847000,"timestamp_seconds":1780385847,"priority":1,"record_length":96,"hex_timestamp":"0000019e874416d8"} 
[2026-06-02 13:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:08: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-06-02 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 13:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:08:30] 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-06-02 13:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778774272001,"66":27789,"39":206,"83":44032,"24":35,"16":305603759382200320,"44":-1315754747797575680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-06-02 13:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778774272001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:08:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 13:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305603759382200320,"km_value":305603759382200.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1315754747797575680,"description":"Unknown IO ID 44"} 
[2026-06-02 13:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778774272001,"power":27789,"unknown_39":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1315754747797575680}} 
[2026-06-02 13:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":89421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:08:30] local.INFO: GPS data processed {"connection_id":89421,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:08:30] local.INFO: Acknowledgment sent {"connection_id":89421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:08:33] local.INFO: TCP Data received {"connection_id":89421,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87443a00012ced83c0072de2b0004900e928..."} 
[2026-06-02 13:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87443a00012ced83c0072de2b0004900e928..."} 
[2026-06-02 13:08:33] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87443a00012ced83c0072de2b0004900e928..."} 
[2026-06-02 13:08:33] local.INFO: Packet analysis {"connection_id":89421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:08:33] local.INFO: Extracted packet for processing {"connection_id":89421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:08:33] local.INFO: GPS Element Parsed {"raw_longitude":753763264,"raw_latitude":120447664,"longitude_deg":75.3763264,"latitude_deg":12.0447664,"altitude":73,"angle":233,"satellites":40,"speed":29,"hex_longitude":"2ced83c0","hex_latitude":"072de2b0","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778776832001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305604085799714816,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1325465634494990336,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:33] 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-06-02 13:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780385856000,"timestamp_ms":1780385856000,"timestamp_seconds":1780385856,"priority":1,"record_length":96,"hex_timestamp":"0000019e87443a00"} 
[2026-06-02 13:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:08: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-06-02 13: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 13:08: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-06-02 13: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-06-02 13:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:08:33] 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-06-02 13:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778776832001,"66":27767,"39":206,"83":44032,"24":29,"16":305604085799714816,"44":-1325465634494990336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-06-02 13:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778776832001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:08:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 13:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305604085799714816,"km_value":305604085799714.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:08:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1325465634494990336,"description":"Unknown IO ID 44"} 
[2026-06-02 13:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778776832001,"power":27767,"unknown_39":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1325465634494990336}} 
[2026-06-02 13:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":89421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:08:33] local.INFO: GPS data processed {"connection_id":89421,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:08:33] local.INFO: Acknowledgment sent {"connection_id":89421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:08:42] local.INFO: TCP Data received {"connection_id":90876,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87448820012d19cac0071ff258002900e126..."} 
[2026-06-02 13:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87448820012d19cac0071ff258002900e126..."} 
[2026-06-02 13:08:42] local.INFO: Processing buffer {"connection_id":90876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87448820012d19cac0071ff258002900e126..."} 
[2026-06-02 13:08:42] local.INFO: Packet analysis {"connection_id":90876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:08:42] local.INFO: Extracted packet for processing {"connection_id":90876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534168,"longitude_deg":75.6665024,"latitude_deg":11.9534168,"altitude":41,"angle":225,"satellites":38,"speed":13,"hex_longitude":"2d19cac0","hex_latitude":"071ff258","is_valid_coordinates":true} 
[2026-06-02 13:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778784000001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125209570967552000,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309635584,"note":"Value kept but may cause issues"} 
[2026-06-02 13:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780385876000,"timestamp_ms":1780385876000,"timestamp_seconds":1780385876,"priority":1,"record_length":96,"hex_timestamp":"0000019e87448820"} 
[2026-06-02 13:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 13:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:08:42] 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-06-02 13:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778784000001,"66":14070,"101":206,"83":41984,"24":13,"16":125209570967552000,"45":1858720039309635584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778784000001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:08:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125209570967552000,"km_value":125209570967552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309635584,"description":"Unknown IO ID 45"} 
[2026-06-02 13:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778784000001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1858720039309635584}} 
[2026-06-02 13:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":90876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:08:43] local.INFO: GPS data processed {"connection_id":90876,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:08:43] local.INFO: Acknowledgment sent {"connection_id":90876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:09:04] local.INFO: TCP Data received {"connection_id":89421,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87446110012ced6480072dceb0004c00ea28..."} 
[2026-06-02 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87446110012ced6480072dceb0004c00ea28..."} 
[2026-06-02 13:09:04] local.INFO: Processing buffer {"connection_id":89421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87446110012ced6480072dceb0004c00ea28..."} 
[2026-06-02 13:09:04] local.INFO: Packet analysis {"connection_id":89421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:04] local.INFO: Extracted packet for processing {"connection_id":89421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:04] local.INFO: GPS Element Parsed {"raw_longitude":753755264,"raw_latitude":120442544,"longitude_deg":75.3755264,"latitude_deg":12.0442544,"altitude":76,"angle":234,"satellites":40,"speed":38,"hex_longitude":"2ced6480","hex_latitude":"072dceb0","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778779136001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305604541066248192,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332009927704399872,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:04] 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-06-02 13:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780385866000,"timestamp_ms":1780385866000,"timestamp_seconds":1780385866,"priority":1,"record_length":96,"hex_timestamp":"0000019e87446110"} 
[2026-06-02 13:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:09: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-06-02 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 13:09: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-06-02 13: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-06-02 13:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778779136001,"66":27995,"39":206,"83":44032,"24":38,"16":305604541066248192,"44":-1332009927704399872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-06-02 13:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778779136001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:09:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 13:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305604541066248192,"km_value":305604541066248.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:09:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332009927704399872,"description":"Unknown IO ID 44"} 
[2026-06-02 13:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778779136001,"power":27995,"unknown_39":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1332009927704399872}} 
[2026-06-02 13:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":89421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:09:04] local.INFO: GPS data processed {"connection_id":89421,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:09:04] local.INFO: Acknowledgment sent {"connection_id":89421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:09:05] local.INFO: TCP Data received {"connection_id":90877,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:09:05] local.INFO: Processing buffer {"connection_id":90877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:09:05] local.INFO: IMEI packet received {"connection_id":90877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":90877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:09:09] local.INFO: TCP Data received {"connection_id":90877,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:09:09] local.INFO: Processing buffer {"connection_id":90877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:09:09] local.INFO: IMEI packet received {"connection_id":90877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":90877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:09:10] local.INFO: TCP Data received {"connection_id":90877,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87448c08012d19c980071ff198002900f525..."} 
[2026-06-02 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87448c08012d19c980071ff198002900f525..."} 
[2026-06-02 13:09:10] local.INFO: Processing buffer {"connection_id":90877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87448c08012d19c980071ff198002900f525..."} 
[2026-06-02 13:09:10] local.INFO: Packet analysis {"connection_id":90877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:10] local.INFO: Extracted packet for processing {"connection_id":90877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119533976,"longitude_deg":75.6664704,"latitude_deg":11.9533976,"altitude":41,"angle":245,"satellites":37,"speed":14,"hex_longitude":"2d19c980","hex_latitude":"071ff198","is_valid_coordinates":true} 
[2026-06-02 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778784256001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125209588147421184,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077030912,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780385877000,"timestamp_ms":1780385877000,"timestamp_seconds":1780385877,"priority":1,"record_length":96,"hex_timestamp":"0000019e87448c08"} 
[2026-06-02 13:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:09:10] 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-06-02 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-02 13:09:10] 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-06-02 13:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:09:10] 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-06-02 13:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778784256001,"66":14070,"101":206,"83":41984,"24":14,"16":125209588147421184,"45":1858508933077030912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778784256001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:09:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125209588147421184,"km_value":125209588147421.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077030912,"description":"Unknown IO ID 45"} 
[2026-06-02 13:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778784256001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858508933077030912}} 
[2026-06-02 13:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":90877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:09:10] local.INFO: GPS data processed {"connection_id":90877,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:09:10] local.INFO: Acknowledgment sent {"connection_id":90877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:09:24] local.INFO: TCP Data received {"connection_id":89423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:09:24] local.INFO: Processing buffer {"connection_id":89423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:09:24] local.INFO: IMEI packet received {"connection_id":89423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":89423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:09:27] local.INFO: TCP Data received {"connection_id":89423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:09:27] local.INFO: Processing buffer {"connection_id":89423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:09:27] local.INFO: IMEI packet received {"connection_id":89423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":89423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:09:28] local.INFO: TCP Data received {"connection_id":89423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87448438012ced45c0072db9b8004b00ed28..."} 
[2026-06-02 13:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87448438012ced45c0072db9b8004b00ed28..."} 
[2026-06-02 13:09:28] local.INFO: Processing buffer {"connection_id":89423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87448438012ced45c0072db9b8004b00ed28..."} 
[2026-06-02 13:09:28] local.INFO: Packet analysis {"connection_id":89423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:28] local.INFO: Extracted packet for processing {"connection_id":89423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:28] local.INFO: GPS Element Parsed {"raw_longitude":753747392,"raw_latitude":120437176,"longitude_deg":75.3747392,"latitude_deg":12.0437176,"altitude":75,"angle":237,"satellites":40,"speed":43,"hex_longitude":"2ced45c0","hex_latitude":"072db9b8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778781696001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305604996332781568,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1340806020727918592,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:28] 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-06-02 13:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780385875000,"timestamp_ms":1780385875000,"timestamp_seconds":1780385875,"priority":1,"record_length":96,"hex_timestamp":"0000019e87448438"} 
[2026-06-02 13:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 13:09:28] 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-06-02 13: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-06-02 13:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:09: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-06-02 13:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778781696001,"66":27930,"38":206,"83":44032,"24":43,"16":305604996332781568,"44":-1340806020727918592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-06-02 13:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778781696001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:09:28] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-02 13:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305604996332781568,"km_value":305604996332781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:09:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1340806020727918592,"description":"Unknown IO ID 44"} 
[2026-06-02 13:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778781696001,"power":27930,"unknown_38":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1340806020727918592}} 
[2026-06-02 13:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":89423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:09:28] local.INFO: GPS data processed {"connection_id":89423,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:09:28] local.INFO: Acknowledgment sent {"connection_id":89423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:09:41] local.INFO: TCP Data received {"connection_id":90877,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87457668012d199a80071fbea0002f00d928..."} 
[2026-06-02 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87457668012d199a80071fbea0002f00d928..."} 
[2026-06-02 13:09:41] local.INFO: Processing buffer {"connection_id":90877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87457668012d199a80071fbea0002f00d928..."} 
[2026-06-02 13:09:41] local.INFO: Packet analysis {"connection_id":90877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:09:41] local.INFO: Extracted packet for processing {"connection_id":90877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756652672,"raw_latitude":119520928,"longitude_deg":75.6652672,"latitude_deg":11.9520928,"altitude":47,"angle":217,"satellites":40,"speed":11,"hex_longitude":"2d199a80","hex_latitude":"071fbea0","is_valid_coordinates":true} 
[2026-06-02 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778799616001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125210803623165952,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845209240424110080,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780385937000,"timestamp_ms":1780385937000,"timestamp_seconds":1780385937,"priority":1,"record_length":96,"hex_timestamp":"0000019e87457668"} 
[2026-06-02 13:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:09:41] 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-06-02 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:09:41] 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-06-02 13:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778799616001,"66":14428,"101":206,"83":41984,"24":11,"16":125210803623165952,"45":1845209240424110080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778799616001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:09:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125210803623165952,"km_value":125210803623165.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845209240424110080,"description":"Unknown IO ID 45"} 
[2026-06-02 13:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778799616001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1845209240424110080}} 
[2026-06-02 13:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":90877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:09:41] local.INFO: GPS data processed {"connection_id":90877,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:09:41] local.INFO: Acknowledgment sent {"connection_id":90877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:09:59] local.INFO: TCP Data received {"connection_id":89423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8744a378012ced23c0072da720004900f629..."} 
[2026-06-02 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8744a378012ced23c0072da720004900f629..."} 
[2026-06-02 13:09:59] local.INFO: Processing buffer {"connection_id":89423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8744a378012ced23c0072da720004900f629..."} 
[2026-06-02 13:09:59] local.INFO: Packet analysis {"connection_id":89423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:59] local.INFO: Extracted packet for processing {"connection_id":89423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:09:59] local.INFO: GPS Element Parsed {"raw_longitude":753738688,"raw_latitude":120432416,"longitude_deg":75.3738688,"latitude_deg":12.0432416,"altitude":73,"angle":246,"satellites":41,"speed":52,"hex_longitude":"2ced23c0","hex_latitude":"072da720","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778784000001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305605468779184128,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1349461376263145472,"note":"Value kept but may cause issues"} 
[2026-06-02 13:09:59] 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-06-02 13:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780385883000,"timestamp_ms":1780385883000,"timestamp_seconds":1780385883,"priority":1,"record_length":96,"hex_timestamp":"0000019e8744a378"} 
[2026-06-02 13:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:09: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-06-02 13: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-06-02 13: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-06-02 13: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-06-02 13:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:09:59] 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-06-02 13:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778784000001,"66":27930,"38":206,"83":44032,"24":52,"16":305605468779184128,"44":-1349461376263145472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-06-02 13:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778784000001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:09:59] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-02 13:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305605468779184128,"km_value":305605468779184.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1349461376263145472,"description":"Unknown IO ID 44"} 
[2026-06-02 13:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778784000001,"power":27930,"unknown_38":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1349461376263145472}} 
[2026-06-02 13:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":89423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:09:59] local.INFO: GPS data processed {"connection_id":89423,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:09:59] local.INFO: Acknowledgment sent {"connection_id":89423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:10:05] local.INFO: TCP Data received {"connection_id":90879,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:10:05] local.INFO: Processing buffer {"connection_id":90879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:10:05] local.INFO: IMEI packet received {"connection_id":90879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":90879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:10:10] local.INFO: TCP Data received {"connection_id":90879,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:10:10] local.INFO: Processing buffer {"connection_id":90879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:10:10] local.INFO: IMEI packet received {"connection_id":90879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":90879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:10:11] local.INFO: TCP Data received {"connection_id":90879,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87457a50012d199a40071fbdb8002f00c627..."} 
[2026-06-02 13:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87457a50012d199a40071fbdb8002f00c627..."} 
[2026-06-02 13:10:11] local.INFO: Processing buffer {"connection_id":90879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87457a50012d199a40071fbdb8002f00c627..."} 
[2026-06-02 13:10:11] local.INFO: Packet analysis {"connection_id":90879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:10:11] local.INFO: Extracted packet for processing {"connection_id":90879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756652608,"raw_latitude":119520696,"longitude_deg":75.6652608,"latitude_deg":11.9520696,"altitude":47,"angle":198,"satellites":39,"speed":11,"hex_longitude":"2d199a40","hex_latitude":"071fbdb8","is_valid_coordinates":true} 
[2026-06-02 13:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778799872001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125210816508067840,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844927765447352320,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780385938000,"timestamp_ms":1780385938000,"timestamp_seconds":1780385938,"priority":1,"record_length":96,"hex_timestamp":"0000019e87457a50"} 
[2026-06-02 13:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778799872001,"66":14396,"101":206,"83":41984,"24":11,"16":125210816508067840,"45":1844927765447352320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778799872001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:10:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125210816508067840,"km_value":125210816508067.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844927765447352320,"description":"Unknown IO ID 45"} 
[2026-06-02 13:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778799872001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1844927765447352320}} 
[2026-06-02 13:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":90879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:10:11] local.INFO: GPS data processed {"connection_id":90879,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:10:11] local.INFO: Acknowledgment sent {"connection_id":90879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:10:25] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:10:25] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:10:25] local.INFO: IMEI packet received {"connection_id":89680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":89680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:10:29] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:10:29] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:10:29] local.INFO: IMEI packet received {"connection_id":89680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":89680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:10:30] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8744c2b8012ced0100072d9a48004200f928..."} 
[2026-06-02 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8744c2b8012ced0100072d9a48004200f928..."} 
[2026-06-02 13:10:30] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8744c2b8012ced0100072d9a48004200f928..."} 
[2026-06-02 13:10:30] local.INFO: Packet analysis {"connection_id":89680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:10:30] local.INFO: Extracted packet for processing {"connection_id":89680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8744"} 
[2026-06-02 13:10:30] local.INFO: GPS Element Parsed {"raw_longitude":753729792,"raw_latitude":120429128,"longitude_deg":75.3729792,"latitude_deg":12.0429128,"altitude":66,"angle":249,"satellites":40,"speed":29,"hex_longitude":"2ced0100","hex_latitude":"072d9a48","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778786048001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305605919750750208,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359031525472526336,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:30] 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-06-02 13:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385891000,"timestamp_ms":1780385891000,"timestamp_seconds":1780385891,"priority":1,"record_length":96,"hex_timestamp":"0000019e8744c2b8"} 
[2026-06-02 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-06-02 13:10: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-06-02 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 13:10: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-06-02 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-06-02 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-06-02 13:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:10:30] 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-06-02 13:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778786048001,"66":27995,"38":206,"83":44032,"24":29,"16":305605919750750208,"44":-1359031525472526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-06-02 13:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778786048001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:10:30] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-02 13:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305605919750750208,"km_value":305605919750750.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359031525472526336,"description":"Unknown IO ID 44"} 
[2026-06-02 13:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778786048001,"power":27995,"unknown_38":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1359031525472526336}} 
[2026-06-02 13:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":89680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:10:30] local.INFO: GPS data processed {"connection_id":89680,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:10:30] local.INFO: Acknowledgment sent {"connection_id":89680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:10:41] local.INFO: TCP Data received {"connection_id":90879,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87465510012d19c540071f86e0003b008c26..."} 
[2026-06-02 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87465510012d19c540071f86e0003b008c26..."} 
[2026-06-02 13:10:41] local.INFO: Processing buffer {"connection_id":90879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87465510012d19c540071f86e0003b008c26..."} 
[2026-06-02 13:10:41] local.INFO: Packet analysis {"connection_id":90879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8746"} 
[2026-06-02 13:10:41] local.INFO: Extracted packet for processing {"connection_id":90879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8746"} 
[2026-06-02 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119506656,"longitude_deg":75.6663616,"latitude_deg":11.9506656,"altitude":59,"angle":140,"satellites":38,"speed":15,"hex_longitude":"2d19c540","hex_latitude":"071f86e0","is_valid_coordinates":true} 
[2026-06-02 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778814208001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125211812940480512,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856608976977270784,"note":"Value kept but may cause issues"} 
[2026-06-02 13:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780385994000,"timestamp_ms":1780385994000,"timestamp_seconds":1780385994,"priority":1,"record_length":96,"hex_timestamp":"0000019e87465510"} 
[2026-06-02 13:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:10:41] 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-06-02 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 13:10:41] 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-06-02 13:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:10:41] 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-06-02 13:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778814208001,"66":13961,"101":206,"83":41984,"24":15,"16":125211812940480512,"45":1856608976977270784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778814208001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:10:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125211812940480512,"km_value":125211812940480.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856608976977270784,"description":"Unknown IO ID 45"} 
[2026-06-02 13:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778814208001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1856608976977270784}} 
[2026-06-02 13:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":90879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:10:42] local.INFO: GPS data processed {"connection_id":90879,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:10:42] local.INFO: Acknowledgment sent {"connection_id":90879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:11:01] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874514c0012cecea80072d92d8004200fc29..."} 
[2026-06-02 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874514c0012cecea80072d92d8004200fc29..."} 
[2026-06-02 13:11:01] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874514c0012cecea80072d92d8004200fc29..."} 
[2026-06-02 13:11:01] local.INFO: Packet analysis {"connection_id":89680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:11:01] local.INFO: Extracted packet for processing {"connection_id":89680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:11:01] local.INFO: GPS Element Parsed {"raw_longitude":753724032,"raw_latitude":120427224,"longitude_deg":75.3724032,"latitude_deg":12.0427224,"altitude":66,"angle":252,"satellites":41,"speed":29,"hex_longitude":"2cecea80","hex_latitude":"072d92d8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778788096001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305606211808526336,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1368812780914063360,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11: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-06-02 13:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780385912000,"timestamp_ms":1780385912000,"timestamp_seconds":1780385912,"priority":1,"record_length":96,"hex_timestamp":"0000019e874514c0"} 
[2026-06-02 13:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:11: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-06-02 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 13:11:01] 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-06-02 13: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-06-02 13:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:11: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-06-02 13:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778788096001,"66":27887,"38":206,"83":44032,"24":29,"16":305606211808526336,"44":-1368812780914063360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-06-02 13:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778788096001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:11:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-02 13:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305606211808526336,"km_value":305606211808526.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1368812780914063360,"description":"Unknown IO ID 44"} 
[2026-06-02 13:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778788096001,"power":27887,"unknown_38":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1368812780914063360}} 
[2026-06-02 13:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":89680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:11:01] local.INFO: GPS data processed {"connection_id":89680,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:11:01] local.INFO: Acknowledgment sent {"connection_id":89680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:11:03] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:11:03] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:11:03] local.INFO: IMEI packet received {"connection_id":89818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":89818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:11:05] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:11:05] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:11:05] local.INFO: IMEI packet received {"connection_id":89819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":89819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:11:11] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:11:11] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:11:11] local.INFO: IMEI packet received {"connection_id":89819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":89819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:11:11] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874658f8012d19c5c0071f8558003b00a126..."} 
[2026-06-02 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874658f8012d19c5c0071f8558003b00a126..."} 
[2026-06-02 13:11:11] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874658f8012d19c5c0071f8558003b00a126..."} 
[2026-06-02 13:11:11] local.INFO: Packet analysis {"connection_id":89819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8746"} 
[2026-06-02 13:11:11] local.INFO: Extracted packet for processing {"connection_id":89819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8746"} 
[2026-06-02 13:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119506264,"longitude_deg":75.6663744,"latitude_deg":11.9506264,"altitude":59,"angle":161,"satellites":38,"speed":15,"hex_longitude":"2d19c5c0","hex_latitude":"071f8558","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778814464001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125211834415316992,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820698079232,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780385995000,"timestamp_ms":1780385995000,"timestamp_seconds":1780385995,"priority":1,"record_length":96,"hex_timestamp":"0000019e874658f8"} 
[2026-06-02 13:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:11: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-06-02 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 13:11:11] 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-06-02 13:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778814464001,"66":14396,"101":206,"83":41984,"24":15,"16":125211834415316992,"45":1856960820698079232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778814464001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:11:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125211834415316992,"km_value":125211834415316.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820698079232,"description":"Unknown IO ID 45"} 
[2026-06-02 13:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778814464001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1856960820698079232}} 
[2026-06-02 13:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":89819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:11:11] local.INFO: GPS data processed {"connection_id":89819,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:11:11] local.INFO: Acknowledgment sent {"connection_id":89819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:11:24] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:24] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:24] local.INFO: IMEI packet received {"connection_id":89681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:11:25] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:25] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:25] local.INFO: IMEI packet received {"connection_id":89681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":89681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:11:29] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:29] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:11:29] local.INFO: IMEI packet received {"connection_id":89681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:11:30] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874537e8012cecc840072d8778003e00fc28..."} 
[2026-06-02 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874537e8012cecc840072d8778003e00fc28..."} 
[2026-06-02 13:11:30] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874537e8012cecc840072d8778003e00fc28..."} 
[2026-06-02 13:11:30] local.INFO: Packet analysis {"connection_id":89681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:11:30] local.INFO: Extracted packet for processing {"connection_id":89681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8745"} 
[2026-06-02 13:11:30] local.INFO: GPS Element Parsed {"raw_longitude":753715264,"raw_latitude":120424312,"longitude_deg":75.3715264,"latitude_deg":12.0424312,"altitude":62,"angle":252,"satellites":40,"speed":48,"hex_longitude":"2cecc840","hex_latitude":"072d8778","is_valid_coordinates":true} 
[2026-06-02 13:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778793472001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305606649895190528,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375145967890540544,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:30] 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-06-02 13:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780385921000,"timestamp_ms":1780385921000,"timestamp_seconds":1780385921,"priority":1,"record_length":96,"hex_timestamp":"0000019e874537e8"} 
[2026-06-02 13:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:11: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-06-02 13:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 13:11: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-06-02 13:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:11:30] 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-06-02 13:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778793472001,"66":28104,"38":206,"83":44032,"24":48,"16":305606649895190528,"44":-1375145967890540544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-06-02 13:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778793472001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:11:30] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-02 13:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305606649895190528,"km_value":305606649895190.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375145967890540544,"description":"Unknown IO ID 44"} 
[2026-06-02 13:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778793472001,"power":28104,"unknown_38":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1375145967890540544}} 
[2026-06-02 13:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":89681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:11:30] local.INFO: GPS data processed {"connection_id":89681,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:11:30] local.INFO: Acknowledgment sent {"connection_id":89681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:11:42] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87475ac8012d19cb00071f25980045009e24..."} 
[2026-06-02 13:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87475ac8012d19cb00071f25980045009e24..."} 
[2026-06-02 13:11:42] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87475ac8012d19cb00071f25980045009e24..."} 
[2026-06-02 13:11:42] local.INFO: Packet analysis {"connection_id":89819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:11:42] local.INFO: Extracted packet for processing {"connection_id":89819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119481752,"longitude_deg":75.6665088,"latitude_deg":11.9481752,"altitude":69,"angle":158,"satellites":36,"speed":10,"hex_longitude":"2d19cb00","hex_latitude":"071f2598","is_valid_coordinates":true} 
[2026-06-02 13:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778829568001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125213170150146048,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820692207616,"note":"Value kept but may cause issues"} 
[2026-06-02 13:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386061000,"timestamp_ms":1780386061000,"timestamp_seconds":1780386061,"priority":1,"record_length":96,"hex_timestamp":"0000019e87475ac8"} 
[2026-06-02 13:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:11:42] 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-06-02 13:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:11:42] 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-06-02 13:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778829568001,"66":14461,"101":206,"83":41984,"24":10,"16":125213170150146048,"45":1856960820692207616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778829568001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:11:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125213170150146048,"km_value":125213170150146.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820692207616,"description":"Unknown IO ID 45"} 
[2026-06-02 13:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778829568001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1856960820692207616}} 
[2026-06-02 13:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":89819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:11:42] local.INFO: GPS data processed {"connection_id":89819,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:11:42] local.INFO: Acknowledgment sent {"connection_id":89819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:12:00] local.INFO: TCP Data received {"connection_id":89681,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87476a68012ceb9dc0072d75800033011528..."} 
[2026-06-02 13:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87476a68012ceb9dc0072d75800033011528..."} 
[2026-06-02 13:12:00] local.INFO: Processing buffer {"connection_id":89681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87476a68012ceb9dc0072d75800033011528..."} 
[2026-06-02 13:12:00] local.INFO: Packet analysis {"connection_id":89681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:00] local.INFO: Extracted packet for processing {"connection_id":89681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:00] local.INFO: GPS Element Parsed {"raw_longitude":753638848,"raw_latitude":120419712,"longitude_deg":75.3638848,"latitude_deg":12.0419712,"altitude":51,"angle":277,"satellites":40,"speed":41,"hex_longitude":"2ceb9dc0","hex_latitude":"072d7580","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778830336001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305610330682163200,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1458814404720084992,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:00] 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-06-02 13:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780386065000,"timestamp_ms":1780386065000,"timestamp_seconds":1780386065,"priority":1,"record_length":96,"hex_timestamp":"0000019e87476a68"} 
[2026-06-02 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-06-02 13:12: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-06-02 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 13:12:00] 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-06-02 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-06-02 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-06-02 13:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:12:00] 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-06-02 13:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778830336001,"66":27908,"201":206,"83":44032,"24":41,"16":305610330682163200,"44":-1458814404720084992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-06-02 13:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778830336001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:12:00] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 13:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305610330682163200,"km_value":305610330682163.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1458814404720084992,"description":"Unknown IO ID 44"} 
[2026-06-02 13:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778830336001,"power":27908,"unknown_201":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-1458814404720084992}} 
[2026-06-02 13:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":89681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:12:00] local.INFO: GPS data processed {"connection_id":89681,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:12:00] local.INFO: Acknowledgment sent {"connection_id":89681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:12:11] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:12:11] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:12:11] local.INFO: IMEI packet received {"connection_id":89682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":89682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:12:15] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:12:15] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:12:15] local.INFO: IMEI packet received {"connection_id":89682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":89682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:12:16] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87475eb0012d19cb80071f24a8004500b024..."} 
[2026-06-02 13:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87475eb0012d19cb80071f24a8004500b024..."} 
[2026-06-02 13:12:16] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87475eb0012d19cb80071f24a8004500b024..."} 
[2026-06-02 13:12:16] local.INFO: Packet analysis {"connection_id":89682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:16] local.INFO: Extracted packet for processing {"connection_id":89682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119481512,"longitude_deg":75.6665216,"latitude_deg":11.9481512,"altitude":69,"angle":176,"satellites":36,"speed":10,"hex_longitude":"2d19cb80","hex_latitude":"071f24a8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778831616001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125213183035047936,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301807790080,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12: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-06-02 13:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780386062000,"timestamp_ms":1780386062000,"timestamp_seconds":1780386062,"priority":1,"record_length":96,"hex_timestamp":"0000019e87475eb0"} 
[2026-06-02 13:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:12: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-06-02 13:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778831616001,"66":14461,"101":206,"83":41984,"24":10,"16":125213183035047936,"45":1858579301807790080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778831616001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:12:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125213183035047936,"km_value":125213183035047.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301807790080,"description":"Unknown IO ID 45"} 
[2026-06-02 13:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778831616001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1858579301807790080}} 
[2026-06-02 13:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":89682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:12:16] local.INFO: GPS data processed {"connection_id":89682,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:12:16] local.INFO: Acknowledgment sent {"connection_id":89682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:12:17] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87476298012d19cac0071f2410004600e024..."} 
[2026-06-02 13:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87476298012d19cac0071f2410004600e024..."} 
[2026-06-02 13:12:17] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87476298012d19cac0071f2410004600e024..."} 
[2026-06-02 13:12:17] local.INFO: Packet analysis {"connection_id":89682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:17] local.INFO: Extracted packet for processing {"connection_id":89682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119481360,"longitude_deg":75.6665024,"latitude_deg":11.948136,"altitude":70,"angle":224,"satellites":36,"speed":7,"hex_longitude":"2d19cac0","hex_latitude":"071f2410","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778831872001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125213195919949824,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039296083968,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12: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-06-02 13:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780386063000,"timestamp_ms":1780386063000,"timestamp_seconds":1780386063,"priority":1,"record_length":96,"hex_timestamp":"0000019e87476298"} 
[2026-06-02 13:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:12:17] 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-06-02 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 13:12: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-06-02 13: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-06-02 13:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:12: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-06-02 13:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778831872001,"66":14548,"101":206,"83":41984,"24":7,"16":125213195919949824,"45":1858720039296083968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778831872001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:12:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125213195919949824,"km_value":125213195919949.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039296083968,"description":"Unknown IO ID 45"} 
[2026-06-02 13:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778831872001,"power":14548,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1858720039296083968}} 
[2026-06-02 13:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":89682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:12:18] local.INFO: GPS data processed {"connection_id":89682,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:12:18] local.INFO: Acknowledgment sent {"connection_id":89682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:12:29] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:12:29] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:12:29] local.INFO: IMEI packet received {"connection_id":89424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":89424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:12:34] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:12:34] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:12:34] local.INFO: IMEI packet received {"connection_id":89424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":89424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:12:35] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87479178012ceb79c0072d7a800030011627..."} 
[2026-06-02 13:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87479178012ceb79c0072d7a800030011627..."} 
[2026-06-02 13:12:35] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87479178012ceb79c0072d7a800030011627..."} 
[2026-06-02 13:12:35] local.INFO: Packet analysis {"connection_id":89424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:35] local.INFO: Extracted packet for processing {"connection_id":89424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:35] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":120420992,"longitude_deg":75.3629632,"latitude_deg":12.0420992,"altitude":48,"angle":278,"satellites":39,"speed":25,"hex_longitude":"2ceb79c0","hex_latitude":"072d7a80","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778832640001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305610773063794688,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1468806766392934400,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:35] 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-06-02 13:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780386075000,"timestamp_ms":1780386075000,"timestamp_seconds":1780386075,"priority":1,"record_length":96,"hex_timestamp":"0000019e87479178"} 
[2026-06-02 13:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:12: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-06-02 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778832640001,"66":27995,"201":206,"83":44032,"24":25,"16":305610773063794688,"44":-1468806766392934400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-06-02 13:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778832640001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:12:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 13:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305610773063794688,"km_value":305610773063794.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1468806766392934400,"description":"Unknown IO ID 44"} 
[2026-06-02 13:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778832640001,"power":27995,"unknown_201":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1468806766392934400}} 
[2026-06-02 13:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":89424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:12:35] local.INFO: GPS data processed {"connection_id":89424,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:12:35] local.INFO: Acknowledgment sent {"connection_id":89424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:12:36] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8747acd0012ceb6d40072d7d40002f012228..."} 
[2026-06-02 13:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8747acd0012ceb6d40072d7d40002f012228..."} 
[2026-06-02 13:12:36] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8747acd0012ceb6d40072d7d40002f012228..."} 
[2026-06-02 13:12:36] local.INFO: Packet analysis {"connection_id":89424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:36] local.INFO: Extracted packet for processing {"connection_id":89424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":753626432,"raw_latitude":120421696,"longitude_deg":75.3626432,"latitude_deg":12.0421696,"altitude":47,"angle":290,"satellites":40,"speed":12,"hex_longitude":"2ceb6d40","hex_latitude":"072d7d40","is_valid_coordinates":true} 
[2026-06-02 13:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778835200001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305610927682617344,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865554190336,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:36] 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-06-02 13:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780386082000,"timestamp_ms":1780386082000,"timestamp_seconds":1780386082,"priority":1,"record_length":96,"hex_timestamp":"0000019e8747acd0"} 
[2026-06-02 13:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 13:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778835200001,"66":27930,"201":206,"83":44032,"24":12,"16":305610927682617344,"44":-1478939865554190336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-06-02 13:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778835200001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:12:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 13:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305610927682617344,"km_value":305610927682617.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865554190336,"description":"Unknown IO ID 44"} 
[2026-06-02 13:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778835200001,"power":27930,"unknown_201":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1478939865554190336}} 
[2026-06-02 13:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":89424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:12:36] local.INFO: GPS data processed {"connection_id":89424,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:12:36] local.INFO: Acknowledgment sent {"connection_id":89424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:12:48] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87476e50012d19c940071f23c00047010d24..."} 
[2026-06-02 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87476e50012d19c940071f23c00047010d24..."} 
[2026-06-02 13:12:48] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87476e50012d19c940071f23c00047010d24..."} 
[2026-06-02 13:12:48] local.INFO: Packet analysis {"connection_id":89682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:48] local.INFO: Extracted packet for processing {"connection_id":89682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119481280,"longitude_deg":75.666464,"latitude_deg":11.948128,"altitude":71,"angle":269,"satellites":36,"speed":8,"hex_longitude":"2d19c940","hex_latitude":"071f23c0","is_valid_coordinates":true} 
[2026-06-02 13:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778832128001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125213213099819008,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933063512064,"note":"Value kept but may cause issues"} 
[2026-06-02 13:12: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-06-02 13:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780386066000,"timestamp_ms":1780386066000,"timestamp_seconds":1780386066,"priority":1,"record_length":96,"hex_timestamp":"0000019e87476e50"} 
[2026-06-02 13:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:12:48] 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-06-02 13:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-02 13:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:12:48] 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-06-02 13:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778832128001,"66":14396,"101":206,"83":41984,"24":8,"16":125213213099819008,"45":1858508933063512064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778832128001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:12:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125213213099819008,"km_value":125213213099819.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933063512064,"description":"Unknown IO ID 45"} 
[2026-06-02 13:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778832128001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1858508933063512064}} 
[2026-06-02 13:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":89682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:12:48] local.INFO: GPS data processed {"connection_id":89682,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:12:48] local.INFO: Acknowledgment sent {"connection_id":89682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:13:05] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:13:05] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:13:05] local.INFO: IMEI packet received {"connection_id":89684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":89684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:13:07] local.INFO: TCP Data received {"connection_id":89424,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8747fed8012ceb4d80072d8890002c012a26..."} 
[2026-06-02 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8747fed8012ceb4d80072d8890002c012a26..."} 
[2026-06-02 13:13:07] local.INFO: Processing buffer {"connection_id":89424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8747fed8012ceb4d80072d8890002c012a26..."} 
[2026-06-02 13:13:07] local.INFO: Packet analysis {"connection_id":89424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:13:07] local.INFO: Extracted packet for processing {"connection_id":89424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":753618304,"raw_latitude":120424592,"longitude_deg":75.3618304,"latitude_deg":12.0424592,"altitude":44,"angle":298,"satellites":38,"speed":18,"hex_longitude":"2ceb4d80","hex_latitude":"072d8890","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778836992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305611339999477760,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302762893312,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780386103000,"timestamp_ms":1780386103000,"timestamp_seconds":1780386103,"priority":1,"record_length":96,"hex_timestamp":"0000019e8747fed8"} 
[2026-06-02 13:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13: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-06-02 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 13:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:13:07] 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-06-02 13:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778836992001,"66":27974,"201":206,"83":44032,"24":18,"16":305611339999477760,"44":-1482458302762893312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-06-02 13:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778836992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:13:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 13:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305611339999477760,"km_value":305611339999477.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:13:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302762893312,"description":"Unknown IO ID 44"} 
[2026-06-02 13:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778836992001,"power":27974,"unknown_201":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1482458302762893312}} 
[2026-06-02 13:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":89424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:13:07] local.INFO: GPS data processed {"connection_id":89424,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:13:07] local.INFO: Acknowledgment sent {"connection_id":89424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:13:11] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:13:11] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:13:11] local.INFO: IMEI packet received {"connection_id":89684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":89684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:13:11] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874785c0012d19c140071f22980046010025..."} 
[2026-06-02 13:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874785c0012d19c140071f22980046010025..."} 
[2026-06-02 13:13:11] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874785c0012d19c140071f22980046010025..."} 
[2026-06-02 13:13:11] local.INFO: Packet analysis {"connection_id":89684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:13:11] local.INFO: Extracted packet for processing {"connection_id":89684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8747"} 
[2026-06-02 13:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756662592,"raw_latitude":119480984,"longitude_deg":75.6662592,"latitude_deg":11.9480984,"altitude":70,"angle":256,"satellites":37,"speed":16,"hex_longitude":"2d19c140","hex_latitude":"071f2298","is_valid_coordinates":true} 
[2026-06-02 13:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778832896001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125213311884066816,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720598425600,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386072000,"timestamp_ms":1780386072000,"timestamp_seconds":1780386072,"priority":1,"record_length":96,"hex_timestamp":"0000019e874785c0"} 
[2026-06-02 13:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 13:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778832896001,"66":13722,"101":206,"83":41984,"24":16,"16":125213311884066816,"45":1858086720598425600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778832896001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:13:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125213311884066816,"km_value":125213311884066.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720598425600,"description":"Unknown IO ID 45"} 
[2026-06-02 13:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778832896001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858086720598425600}} 
[2026-06-02 13:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":89684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:13:12] local.INFO: GPS data processed {"connection_id":89684,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:13:12] local.INFO: Acknowledgment sent {"connection_id":89684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:13:22] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:22] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:22] local.INFO: IMEI packet received {"connection_id":89820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":89820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:13:23] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:23] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:23] local.INFO: IMEI packet received {"connection_id":89820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":89820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:13:27] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:27] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:13:27] local.INFO: IMEI packet received {"connection_id":89820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":89820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:13:28] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87483970012ceb2ec0072d9968002a011c26..."} 
[2026-06-02 13:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87483970012ceb2ec0072d9968002a011c26..."} 
[2026-06-02 13:13:28] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87483970012ceb2ec0072d9968002a011c26..."} 
[2026-06-02 13:13:28] local.INFO: Packet analysis {"connection_id":89820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8748"} 
[2026-06-02 13:13:28] local.INFO: Extracted packet for processing {"connection_id":89820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8748"} 
[2026-06-02 13:13:28] local.INFO: GPS Element Parsed {"raw_longitude":753610432,"raw_latitude":120428904,"longitude_deg":75.3610432,"latitude_deg":12.0428904,"altitude":42,"angle":284,"satellites":38,"speed":33,"hex_longitude":"2ceb2ec0","hex_latitude":"072d9968","is_valid_coordinates":true} 
[2026-06-02 13:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778842368001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305611765201240064,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1491395133272715264,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:28] 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-06-02 13:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780386118000,"timestamp_ms":1780386118000,"timestamp_seconds":1780386118,"priority":1,"record_length":96,"hex_timestamp":"0000019e87483970"} 
[2026-06-02 13:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:13: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-06-02 13:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 13:13: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-06-02 13:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:13: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-06-02 13:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778842368001,"66":27919,"201":206,"83":44032,"24":33,"16":305611765201240064,"44":-1491395133272715264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-06-02 13:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778842368001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:13:28] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 13:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305611765201240064,"km_value":305611765201240.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:13:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1491395133272715264,"description":"Unknown IO ID 44"} 
[2026-06-02 13:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778842368001,"power":27919,"unknown_201":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1491395133272715264}} 
[2026-06-02 13:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":89820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:13:28] local.INFO: GPS data processed {"connection_id":89820,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:13:28] local.INFO: Acknowledgment sent {"connection_id":89820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:13:43] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87487fc0012d19b080071f0248004900a124..."} 
[2026-06-02 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87487fc0012d19b080071f0248004900a124..."} 
[2026-06-02 13:13:43] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87487fc0012d19b080071f0248004900a124..."} 
[2026-06-02 13:13:43] local.INFO: Packet analysis {"connection_id":89684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8748"} 
[2026-06-02 13:13:43] local.INFO: Extracted packet for processing {"connection_id":89684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8748"} 
[2026-06-02 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756658304,"raw_latitude":119472712,"longitude_deg":75.6658304,"latitude_deg":11.9472712,"altitude":73,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d19b080","hex_latitude":"071f0248","is_valid_coordinates":true} 
[2026-06-02 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778845440001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125213917474455552,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851120214922602496,"note":"Value kept but may cause issues"} 
[2026-06-02 13:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780386136000,"timestamp_ms":1780386136000,"timestamp_seconds":1780386136,"priority":1,"record_length":96,"hex_timestamp":"0000019e87487fc0"} 
[2026-06-02 13:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:13:43] 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-06-02 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 13:13:43] 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-06-02 13:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:13:43] 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-06-02 13:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778845440001,"66":13993,"101":206,"83":41984,"24":0,"16":125213917474455552,"45":1851120214922602496},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778845440001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:13:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125213917474455552,"km_value":125213917474455.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851120214922602496,"description":"Unknown IO ID 45"} 
[2026-06-02 13:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778845440001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1851120214922602496}} 
[2026-06-02 13:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":89684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:13:43] local.INFO: GPS data processed {"connection_id":89684,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:13:43] local.INFO: Acknowledgment sent {"connection_id":89684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:14:00] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87484140012ceb2800072d9a38002a011128..."} 
[2026-06-02 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87484140012ceb2800072d9a38002a011128..."} 
[2026-06-02 13:14:00] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87484140012ceb2800072d9a38002a011128..."} 
[2026-06-02 13:14:00] local.INFO: Packet analysis {"connection_id":89820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8748"} 
[2026-06-02 13:14:00] local.INFO: Extracted packet for processing {"connection_id":89820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8748"} 
[2026-06-02 13:14:00] local.INFO: GPS Element Parsed {"raw_longitude":753608704,"raw_latitude":120429112,"longitude_deg":75.3608704,"latitude_deg":12.0429112,"altitude":42,"angle":273,"satellites":40,"speed":35,"hex_longitude":"2ceb2800","hex_latitude":"072d9a38","is_valid_coordinates":true} 
[2026-06-02 13:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778846208001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305611851100585984,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1500050488805464064,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:00] 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-06-02 13:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780386120000,"timestamp_ms":1780386120000,"timestamp_seconds":1780386120,"priority":1,"record_length":96,"hex_timestamp":"0000019e87484140"} 
[2026-06-02 13:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:14: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-06-02 13:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 13:14: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-06-02 13:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:14:00] 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-06-02 13:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778846208001,"66":27821,"201":206,"83":44032,"24":35,"16":305611851100585984,"44":-1500050488805464064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-06-02 13:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778846208001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:14:00] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-02 13:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305611851100585984,"km_value":305611851100586.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1500050488805464064,"description":"Unknown IO ID 44"} 
[2026-06-02 13:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778846208001,"power":27821,"unknown_201":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1500050488805464064}} 
[2026-06-02 13:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":89820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:14:00] local.INFO: GPS data processed {"connection_id":89820,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:14:00] local.INFO: Acknowledgment sent {"connection_id":89820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:14:03] local.INFO: TCP Data received {"connection_id":89685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:03] local.INFO: Processing buffer {"connection_id":89685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:03] local.INFO: IMEI packet received {"connection_id":89685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":89685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:14:07] local.INFO: TCP Data received {"connection_id":89685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:07] local.INFO: Processing buffer {"connection_id":89685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:07] local.INFO: IMEI packet received {"connection_id":89685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":89685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:14:07] local.INFO: TCP Data received {"connection_id":89685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:07] local.INFO: Processing buffer {"connection_id":89685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:07] local.INFO: IMEI packet received {"connection_id":89685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":89685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:14:11] local.INFO: TCP Data received {"connection_id":89685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:11] local.INFO: Processing buffer {"connection_id":89685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:14:11] local.INFO: IMEI packet received {"connection_id":89685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":89685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:14:11] local.INFO: TCP Data received {"connection_id":89685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87496250012d19abc0071f02800048000627..."} 
[2026-06-02 13:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87496250012d19abc0071f02800048000627..."} 
[2026-06-02 13:14:11] local.INFO: Processing buffer {"connection_id":89685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87496250012d19abc0071f02800048000627..."} 
[2026-06-02 13:14:11] local.INFO: Packet analysis {"connection_id":89685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:14:11] local.INFO: Extracted packet for processing {"connection_id":89685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756657088,"raw_latitude":119472768,"longitude_deg":75.6657088,"latitude_deg":11.9472768,"altitude":72,"angle":6,"satellites":39,"speed":6,"hex_longitude":"2d19abc0","hex_latitude":"071f0280","is_valid_coordinates":true} 
[2026-06-02 13:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778865408001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125213999078834176,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208783241216,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386194000,"timestamp_ms":1780386194000,"timestamp_seconds":1780386194,"priority":1,"record_length":96,"hex_timestamp":"0000019e87496250"} 
[2026-06-02 13:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 13:14:11] 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-06-02 13:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778865408001,"66":13939,"101":206,"83":41984,"24":6,"16":125213999078834176,"45":1849783208783241216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778865408001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:14:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125213999078834176,"km_value":125213999078834.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208783241216,"description":"Unknown IO ID 45"} 
[2026-06-02 13:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778865408001,"power":13939,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1849783208783241216}} 
[2026-06-02 13:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":89685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:14:11] local.INFO: GPS data processed {"connection_id":89685,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:14:11] local.INFO: Acknowledgment sent {"connection_id":89685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:14:23] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:14:23] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:14:23] local.INFO: IMEI packet received {"connection_id":89686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":89686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:14:27] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:14:27] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:14:27] local.INFO: IMEI packet received {"connection_id":89686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":89686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:14:28] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87499130012cea6040072db1b0003201632a..."} 
[2026-06-02 13:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87499130012cea6040072db1b0003201632a..."} 
[2026-06-02 13:14:28] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87499130012cea6040072db1b0003201632a..."} 
[2026-06-02 13:14:28] local.INFO: Packet analysis {"connection_id":89686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:14:28] local.INFO: Extracted packet for processing {"connection_id":89686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:14:28] local.INFO: GPS Element Parsed {"raw_longitude":753557568,"raw_latitude":120435120,"longitude_deg":75.3557568,"latitude_deg":12.043512,"altitude":50,"angle":355,"satellites":42,"speed":10,"hex_longitude":"2cea6040","hex_latitude":"072db1b0","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778867968001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305614333591683072,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558104702750605312,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14: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-06-02 13:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780386206000,"timestamp_ms":1780386206000,"timestamp_seconds":1780386206,"priority":1,"record_length":96,"hex_timestamp":"0000019e87499130"} 
[2026-06-02 13:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-02 13:14:28] 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-06-02 13: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-06-02 13:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:14: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-06-02 13:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778867968001,"66":27713,"203":206,"83":44032,"24":10,"16":305614333591683072,"44":-1558104702750605312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 13:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778867968001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305614333591683072,"km_value":305614333591683.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:14:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558104702750605312,"description":"Unknown IO ID 44"} 
[2026-06-02 13:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778867968001,"power":27713,"mnc":206,"unknown_83":44032,"ignition":10,"odometer":null,"unknown_44":-1558104702750605312}} 
[2026-06-02 13:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":89686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:14:28] local.INFO: GPS data processed {"connection_id":89686,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:14:28] local.INFO: Acknowledgment sent {"connection_id":89686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:14:42] local.INFO: TCP Data received {"connection_id":89685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87496e08012d19ac80071f04b80048001727..."} 
[2026-06-02 13:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87496e08012d19ac80071f04b80048001727..."} 
[2026-06-02 13:14:42] local.INFO: Processing buffer {"connection_id":89685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87496e08012d19ac80071f04b80048001727..."} 
[2026-06-02 13:14:42] local.INFO: Packet analysis {"connection_id":89685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:14:42] local.INFO: Extracted packet for processing {"connection_id":89685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119473336,"longitude_deg":75.665728,"latitude_deg":11.9473336,"altitude":72,"angle":23,"satellites":39,"speed":8,"hex_longitude":"2d19ac80","hex_latitude":"071f04b8","is_valid_coordinates":true} 
[2026-06-02 13:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778865664001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125214029143605248,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208783282176,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386197000,"timestamp_ms":1780386197000,"timestamp_seconds":1780386197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87496e08"} 
[2026-06-02 13:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:14:42] 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-06-02 13:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-06-02 13:14:42] 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-06-02 13:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:14:42] 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-06-02 13:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778865664001,"66":13961,"101":206,"83":41984,"24":8,"16":125214029143605248,"45":1849783208783282176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778865664001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:14:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125214029143605248,"km_value":125214029143605.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208783282176,"description":"Unknown IO ID 45"} 
[2026-06-02 13:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778865664001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1849783208783282176}} 
[2026-06-02 13:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":89685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:14:42] local.INFO: GPS data processed {"connection_id":89685,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:14:42] local.INFO: Acknowledgment sent {"connection_id":89685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:14:59] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874a3d10012cea1c00072e09b80018011926..."} 
[2026-06-02 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874a3d10012cea1c00072e09b80018011926..."} 
[2026-06-02 13:14:59] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874a3d10012cea1c00072e09b80018011926..."} 
[2026-06-02 13:14:59] local.INFO: Packet analysis {"connection_id":89686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:14:59] local.INFO: Extracted packet for processing {"connection_id":89686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:14:59] local.INFO: GPS Element Parsed {"raw_longitude":753540096,"raw_latitude":120457656,"longitude_deg":75.3540096,"latitude_deg":12.0457656,"altitude":24,"angle":281,"satellites":38,"speed":19,"hex_longitude":"2cea1c00","hex_latitude":"072e09b8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778879488001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305615978564157440,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1576541313719300096,"note":"Value kept but may cause issues"} 
[2026-06-02 13:14:59] 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-06-02 13:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780386250000,"timestamp_ms":1780386250000,"timestamp_seconds":1780386250,"priority":1,"record_length":96,"hex_timestamp":"0000019e874a3d10"} 
[2026-06-02 13:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:14: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-06-02 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 13:14: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-06-02 13: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-06-02 13:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:14:59] 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-06-02 13:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778879488001,"66":27919,"203":206,"83":44032,"24":19,"16":305615978564157440,"44":-1576541313719300096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 13:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778879488001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305615978564157440,"km_value":305615978564157.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1576541313719300096,"description":"Unknown IO ID 44"} 
[2026-06-02 13:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778879488001,"power":27919,"mnc":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1576541313719300096}} 
[2026-06-02 13:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":89686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:14:59] local.INFO: GPS data processed {"connection_id":89686,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:14:59] local.INFO: Acknowledgment sent {"connection_id":89686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:15:05] local.INFO: TCP Data received {"connection_id":90881,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:15:05] local.INFO: Processing buffer {"connection_id":90881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:15:05] local.INFO: IMEI packet received {"connection_id":90881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":90881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:15:10] local.INFO: TCP Data received {"connection_id":90881,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:15:10] local.INFO: Processing buffer {"connection_id":90881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:15:10] local.INFO: IMEI packet received {"connection_id":90881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":90881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:15:11] local.INFO: TCP Data received {"connection_id":90881,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87498d48012d19ae80071f09a80046000827..."} 
[2026-06-02 13:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87498d48012d19ae80071f09a80046000827..."} 
[2026-06-02 13:15:11] local.INFO: Processing buffer {"connection_id":90881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87498d48012d19ae80071f09a80046000827..."} 
[2026-06-02 13:15:11] local.INFO: Packet analysis {"connection_id":90881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:15:11] local.INFO: Extracted packet for processing {"connection_id":90881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8749"} 
[2026-06-02 13:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119474600,"longitude_deg":75.6657792,"latitude_deg":11.94746,"altitude":70,"angle":8,"satellites":39,"speed":6,"hex_longitude":"2d19ae80","hex_latitude":"071f09a8","is_valid_coordinates":true} 
[2026-06-02 13:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778866432001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125214097863081984,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315015960576,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386205000,"timestamp_ms":1780386205000,"timestamp_seconds":1780386205,"priority":1,"record_length":96,"hex_timestamp":"0000019e87498d48"} 
[2026-06-02 13:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 13:15:11] 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-06-02 13:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778866432001,"66":14461,"101":206,"83":41984,"24":6,"16":125214097863081984,"45":1849994315015960576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778866432001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:15:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125214097863081984,"km_value":125214097863081.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315015960576,"description":"Unknown IO ID 45"} 
[2026-06-02 13:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778866432001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1849994315015960576}} 
[2026-06-02 13:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":90881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:15:11] local.INFO: GPS data processed {"connection_id":90881,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:15:11] local.INFO: Acknowledgment sent {"connection_id":90881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:15:24] local.INFO: TCP Data received {"connection_id":90882,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:24] local.INFO: Processing buffer {"connection_id":90882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:24] local.INFO: IMEI packet received {"connection_id":90882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":90882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:15:25] local.INFO: TCP Data received {"connection_id":90882,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:25] local.INFO: Processing buffer {"connection_id":90882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:25] local.INFO: IMEI packet received {"connection_id":90882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":90882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:15:29] local.INFO: TCP Data received {"connection_id":90882,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:29] local.INFO: Processing buffer {"connection_id":90882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:15:29] local.INFO: IMEI packet received {"connection_id":90882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":90882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:15:30] local.INFO: TCP Data received {"connection_id":90882,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874a5c50012cea0300072e0cc00012010d28..."} 
[2026-06-02 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874a5c50012cea0300072e0cc00012010d28..."} 
[2026-06-02 13:15:30] local.INFO: Processing buffer {"connection_id":90882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874a5c50012cea0300072e0cc00012010d28..."} 
[2026-06-02 13:15:30] local.INFO: Packet analysis {"connection_id":90882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:15:30] local.INFO: Extracted packet for processing {"connection_id":90882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:15:30] local.INFO: GPS Element Parsed {"raw_longitude":753533696,"raw_latitude":120458432,"longitude_deg":75.3533696,"latitude_deg":12.0458432,"altitude":18,"angle":269,"satellites":40,"speed":39,"hex_longitude":"2cea0300","hex_latitude":"072e0cc0","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778880000001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305616287801802752,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577385738649356288,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:30] 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-06-02 13:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780386258000,"timestamp_ms":1780386258000,"timestamp_seconds":1780386258,"priority":1,"record_length":96,"hex_timestamp":"0000019e874a5c50"} 
[2026-06-02 13:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:15: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-06-02 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 13:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:15:30] 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-06-02 13:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778880000001,"66":27865,"203":206,"83":44032,"24":39,"16":305616287801802752,"44":-1577385738649356288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 13:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778880000001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305616287801802752,"km_value":305616287801802.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577385738649356288,"description":"Unknown IO ID 44"} 
[2026-06-02 13:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778880000001,"power":27865,"mnc":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1577385738649356288}} 
[2026-06-02 13:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":90882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:15:30] local.INFO: GPS data processed {"connection_id":90882,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:15:30] local.INFO: Acknowledgment sent {"connection_id":90882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:15:42] local.INFO: TCP Data received {"connection_id":90881,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874b0448012d19c2c0071f88100040011e24..."} 
[2026-06-02 13:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874b0448012d19c2c0071f88100040011e24..."} 
[2026-06-02 13:15:42] local.INFO: Processing buffer {"connection_id":90881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874b0448012d19c2c0071f88100040011e24..."} 
[2026-06-02 13:15:42] local.INFO: Packet analysis {"connection_id":90881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:15:42] local.INFO: Extracted packet for processing {"connection_id":90881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756662976,"raw_latitude":119506960,"longitude_deg":75.6662976,"latitude_deg":11.950696,"altitude":64,"angle":286,"satellites":36,"speed":15,"hex_longitude":"2d19c2c0","hex_latitude":"071f8810","is_valid_coordinates":true} 
[2026-06-02 13:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778892800001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125216013418496000,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856608976977233920,"note":"Value kept but may cause issues"} 
[2026-06-02 13:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386301000,"timestamp_ms":1780386301000,"timestamp_seconds":1780386301,"priority":1,"record_length":96,"hex_timestamp":"0000019e874b0448"} 
[2026-06-02 13:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:15:42] 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-06-02 13:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:15:42] 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-06-02 13:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778892800001,"66":14254,"101":206,"83":41984,"24":15,"16":125216013418496000,"45":1856608976977233920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778892800001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:15:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125216013418496000,"km_value":125216013418496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856608976977233920,"description":"Unknown IO ID 45"} 
[2026-06-02 13:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778892800001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1856608976977233920}} 
[2026-06-02 13:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":90881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:15:42] local.INFO: GPS data processed {"connection_id":90881,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:15:42] local.INFO: Acknowledgment sent {"connection_id":90881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:16:01] local.INFO: TCP Data received {"connection_id":90882,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874a6808012ce9f780072e0ba8000f010127..."} 
[2026-06-02 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874a6808012ce9f780072e0ba8000f010127..."} 
[2026-06-02 13:16:01] local.INFO: Processing buffer {"connection_id":90882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874a6808012ce9f780072e0ba8000f010127..."} 
[2026-06-02 13:16:01] local.INFO: Packet analysis {"connection_id":90882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:16:01] local.INFO: Extracted packet for processing {"connection_id":90882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:16:01] local.INFO: GPS Element Parsed {"raw_longitude":753530752,"raw_latitude":120458152,"longitude_deg":75.3530752,"latitude_deg":12.0458152,"altitude":15,"angle":257,"satellites":39,"speed":35,"hex_longitude":"2ce9f780","hex_latitude":"072e0ba8","is_valid_coordinates":true} 
[2026-06-02 13:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778882048001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305616429535723520,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584422613066924032,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:01] 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-06-02 13:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780386261000,"timestamp_ms":1780386261000,"timestamp_seconds":1780386261,"priority":1,"record_length":96,"hex_timestamp":"0000019e874a6808"} 
[2026-06-02 13:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13: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-06-02 13:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 13:16: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-06-02 13:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13: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-06-02 13:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778882048001,"66":27919,"203":206,"83":44032,"24":35,"16":305616429535723520,"44":-1584422613066924032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 13:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778882048001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305616429535723520,"km_value":305616429535723.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584422613066924032,"description":"Unknown IO ID 44"} 
[2026-06-02 13:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778882048001,"power":27919,"mnc":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1584422613066924032}} 
[2026-06-02 13:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":90882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:16:01] local.INFO: GPS data processed {"connection_id":90882,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:16:01] local.INFO: Acknowledgment sent {"connection_id":90882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:16:05] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:05] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:05] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:16:06] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:06] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:06] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:16:11] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:11] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:16:11] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:16:11] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874b0830012d19c100071f88080040010b24..."} 
[2026-06-02 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874b0830012d19c100071f88080040010b24..."} 
[2026-06-02 13:16:11] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874b0830012d19c100071f88080040010b24..."} 
[2026-06-02 13:16:11] local.INFO: Packet analysis {"connection_id":89687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:16:11] local.INFO: Extracted packet for processing {"connection_id":89687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756662528,"raw_latitude":119506952,"longitude_deg":75.6662528,"latitude_deg":11.9506952,"altitude":64,"angle":267,"satellites":36,"speed":18,"hex_longitude":"2d19c100","hex_latitude":"071f8808","is_valid_coordinates":true} 
[2026-06-02 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778893056001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125216034893332480,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856257133256380416,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386302000,"timestamp_ms":1780386302000,"timestamp_seconds":1780386302,"priority":1,"record_length":96,"hex_timestamp":"0000019e874b0830"} 
[2026-06-02 13:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 13:16:11] 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-06-02 13:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778893056001,"66":14254,"101":206,"83":41984,"24":18,"16":125216034893332480,"45":1856257133256380416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778893056001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:16:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125216034893332480,"km_value":125216034893332.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856257133256380416,"description":"Unknown IO ID 45"} 
[2026-06-02 13:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778893056001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1856257133256380416}} 
[2026-06-02 13:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":89687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:16:11] local.INFO: GPS data processed {"connection_id":89687,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:16:11] local.INFO: Acknowledgment sent {"connection_id":89687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:16:23] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:16:23] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:16:23] local.INFO: IMEI packet received {"connection_id":89688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":89688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:16:29] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:16:29] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:16:29] local.INFO: IMEI packet received {"connection_id":89688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":89688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:16:30] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874a77a8012ce9ea80072e09d8000c010d27..."} 
[2026-06-02 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874a77a8012ce9ea80072e09d8000c010d27..."} 
[2026-06-02 13:16:30] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874a77a8012ce9ea80072e09d8000c010d27..."} 
[2026-06-02 13:16:30] local.INFO: Packet analysis {"connection_id":89688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:16:30] local.INFO: Extracted packet for processing {"connection_id":89688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874a"} 
[2026-06-02 13:16:30] local.INFO: GPS Element Parsed {"raw_longitude":753527424,"raw_latitude":120457688,"longitude_deg":75.3527424,"latitude_deg":12.0457688,"altitude":12,"angle":269,"satellites":39,"speed":30,"hex_longitude":"2ce9ea80","hex_latitude":"072e09d8","is_valid_coordinates":true} 
[2026-06-02 13:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778882816001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305616584154546176,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587659575299168256,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:30] 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-06-02 13:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780386265000,"timestamp_ms":1780386265000,"timestamp_seconds":1780386265,"priority":1,"record_length":96,"hex_timestamp":"0000019e874a77a8"} 
[2026-06-02 13:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:16: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-06-02 13:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 13:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:16:30] 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-06-02 13:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778882816001,"66":27876,"203":206,"83":44032,"24":30,"16":305616584154546176,"44":-1587659575299168256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-06-02 13:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778882816001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305616584154546176,"km_value":305616584154546.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587659575299168256,"description":"Unknown IO ID 44"} 
[2026-06-02 13:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778882816001,"power":27876,"mnc":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1587659575299168256}} 
[2026-06-02 13:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":89688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:16:30] local.INFO: GPS data processed {"connection_id":89688,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:16:30] local.INFO: Acknowledgment sent {"connection_id":89688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:16:38] local.INFO: TCP Data received {"connection_id":89822,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:16:38] local.INFO: Processing buffer {"connection_id":89822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:16:38] local.INFO: IMEI packet received {"connection_id":89822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":89822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:16:42] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874bcf68012d19a4c0071fc3a0003f001228..."} 
[2026-06-02 13:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874bcf68012d19a4c0071fc3a0003f001228..."} 
[2026-06-02 13:16:42] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874bcf68012d19a4c0071fc3a0003f001228..."} 
[2026-06-02 13:16:42] local.INFO: Packet analysis {"connection_id":89687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:16:42] local.INFO: Extracted packet for processing {"connection_id":89687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119522208,"longitude_deg":75.6655296,"latitude_deg":11.9522208,"altitude":63,"angle":18,"satellites":40,"speed":18,"hex_longitude":"2d19a4c0","hex_latitude":"071fc3a0","is_valid_coordinates":true} 
[2026-06-02 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778905856001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125217134404960256,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196517003264,"note":"Value kept but may cause issues"} 
[2026-06-02 13:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386353000,"timestamp_ms":1780386353000,"timestamp_seconds":1780386353,"priority":1,"record_length":96,"hex_timestamp":"0000019e874bcf68"} 
[2026-06-02 13:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:16:42] 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-06-02 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-02 13:16:42] 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-06-02 13:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:16:42] 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-06-02 13:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778905856001,"66":14428,"101":206,"83":41984,"24":18,"16":125217134404960256,"45":1847109196517003264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778905856001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:16:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125217134404960256,"km_value":125217134404960.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196517003264,"description":"Unknown IO ID 45"} 
[2026-06-02 13:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778905856001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1847109196517003264}} 
[2026-06-02 13:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":89687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:16:42] local.INFO: GPS data processed {"connection_id":89687,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:16:42] local.INFO: Acknowledgment sent {"connection_id":89687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:16:58] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:16:58] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:16:58] local.INFO: IMEI packet received {"connection_id":89689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":89689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:17:01] local.INFO: TCP Data received {"connection_id":89688,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874bcf68012ce91980072e6d180009011b28..."} 
[2026-06-02 13:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874bcf68012ce91980072e6d180009011b28..."} 
[2026-06-02 13:17:01] local.INFO: Processing buffer {"connection_id":89688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874bcf68012ce91980072e6d180009011b28..."} 
[2026-06-02 13:17:01] local.INFO: Packet analysis {"connection_id":89688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:01] local.INFO: Extracted packet for processing {"connection_id":89688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:01] local.INFO: GPS Element Parsed {"raw_longitude":753473920,"raw_latitude":120483096,"longitude_deg":75.347392,"latitude_deg":12.0483096,"altitude":9,"angle":283,"satellites":40,"speed":22,"hex_longitude":"2ce91980","hex_latitude":"072e6d18","is_valid_coordinates":true} 
[2026-06-02 13:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778903040001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305619590631653376,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1640013920961384448,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:01] 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-06-02 13:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780386353000,"timestamp_ms":1780386353000,"timestamp_seconds":1780386353,"priority":1,"record_length":96,"hex_timestamp":"0000019e874bcf68"} 
[2026-06-02 13:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:17: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-06-02 13:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:17: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-06-02 13:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778903040001,"66":27865,"28":206,"83":44032,"24":22,"16":305619590631653376,"44":-1640013920961384448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-06-02 13:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778903040001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:17:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 13:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305619590631653376,"km_value":305619590631653.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1640013920961384448,"description":"Unknown IO ID 44"} 
[2026-06-02 13:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778903040001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1640013920961384448}} 
[2026-06-02 13:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":89688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:17:01] local.INFO: GPS data processed {"connection_id":89688,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:17:01] local.INFO: Acknowledgment sent {"connection_id":89688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:17:05] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:05] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:05] local.INFO: IMEI packet received {"connection_id":89426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":89426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:17:07] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:07] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:07] local.INFO: IMEI packet received {"connection_id":89426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":89426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:17:08] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:08] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:08] local.INFO: IMEI packet received {"connection_id":89426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":89426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:17:10] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:10] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:17:10] local.INFO: IMEI packet received {"connection_id":89426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":89426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:17:11] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874bd738012d19a500071fc768003e016328..."} 
[2026-06-02 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874bd738012d19a500071fc768003e016328..."} 
[2026-06-02 13:17:11] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874bd738012d19a500071fc768003e016328..."} 
[2026-06-02 13:17:11] local.INFO: Packet analysis {"connection_id":89426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:11] local.INFO: Extracted packet for processing {"connection_id":89426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119523176,"longitude_deg":75.665536,"latitude_deg":11.9523176,"altitude":62,"angle":355,"satellites":40,"speed":19,"hex_longitude":"2d19a500","hex_latitude":"071fc768","is_valid_coordinates":true} 
[2026-06-02 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778906368001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125217181649600512,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883958964224,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386355000,"timestamp_ms":1780386355000,"timestamp_seconds":1780386355,"priority":1,"record_length":96,"hex_timestamp":"0000019e874bd738"} 
[2026-06-02 13:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778906368001,"66":14428,"101":206,"83":41984,"24":19,"16":125217181649600512,"45":1847812883958964224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778906368001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:17:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125217181649600512,"km_value":125217181649600.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883958964224,"description":"Unknown IO ID 45"} 
[2026-06-02 13:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778906368001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1847812883958964224}} 
[2026-06-02 13:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":89426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:17:11] local.INFO: GPS data processed {"connection_id":89426,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:17:11] local.INFO: Acknowledgment sent {"connection_id":89426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:17:29] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:17:29] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:17:29] local.INFO: IMEI packet received {"connection_id":89823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":89823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:17:34] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:17:34] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:17:34] local.INFO: IMEI packet received {"connection_id":89823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":89823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:17:35] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874beea8012ce90540072e73f00009012726..."} 
[2026-06-02 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874beea8012ce90540072e73f00009012726..."} 
[2026-06-02 13:17:35] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874beea8012ce90540072e73f00009012726..."} 
[2026-06-02 13:17:35] local.INFO: Packet analysis {"connection_id":89823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:35] local.INFO: Extracted packet for processing {"connection_id":89823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:35] local.INFO: GPS Element Parsed {"raw_longitude":753468736,"raw_latitude":120484848,"longitude_deg":75.3468736,"latitude_deg":12.0484848,"altitude":9,"angle":295,"satellites":38,"speed":30,"hex_longitude":"2ce90540","hex_latitude":"072e73f0","is_valid_coordinates":true} 
[2026-06-02 13:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778906368001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305619852624658432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1650147020122548224,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:35] 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-06-02 13:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780386361000,"timestamp_ms":1780386361000,"timestamp_seconds":1780386361,"priority":1,"record_length":96,"hex_timestamp":"0000019e874beea8"} 
[2026-06-02 13:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:17: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-06-02 13:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 13:17: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-06-02 13:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778906368001,"66":27821,"28":206,"83":44032,"24":30,"16":305619852624658432,"44":-1650147020122548224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778906368001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305619852624658432,"km_value":305619852624658.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1650147020122548224,"description":"Unknown IO ID 44"} 
[2026-06-02 13:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778906368001,"power":27821,"unknown_28":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1650147020122548224}} 
[2026-06-02 13:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":89823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:17:35] local.INFO: GPS data processed {"connection_id":89823,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:17:35] local.INFO: Acknowledgment sent {"connection_id":89823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:17:35] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874c2170012ce8ed40072e8210000901322a..."} 
[2026-06-02 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874c2170012ce8ed40072e8210000901322a..."} 
[2026-06-02 13:17:35] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874c2170012ce8ed40072e8210000901322a..."} 
[2026-06-02 13:17:35] local.INFO: Packet analysis {"connection_id":89823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:17:35] local.INFO: Extracted packet for processing {"connection_id":89823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:17:35] local.INFO: GPS Element Parsed {"raw_longitude":753462592,"raw_latitude":120488464,"longitude_deg":75.3462592,"latitude_deg":12.0488464,"altitude":9,"angle":306,"satellites":42,"speed":27,"hex_longitude":"2ce8ed40","hex_latitude":"072e8210","is_valid_coordinates":true} 
[2026-06-02 13:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778908416001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305620191927074816,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1655846888400490496,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:35] 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-06-02 13:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780386374000,"timestamp_ms":1780386374000,"timestamp_seconds":1780386374,"priority":1,"record_length":96,"hex_timestamp":"0000019e874c2170"} 
[2026-06-02 13:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:17: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-06-02 13:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 13:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778908416001,"66":27908,"28":206,"83":44032,"24":27,"16":305620191927074816,"44":-1655846888400490496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-06-02 13:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778908416001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305620191927074816,"km_value":305620191927074.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:17:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1655846888400490496,"description":"Unknown IO ID 44"} 
[2026-06-02 13:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778908416001,"power":27908,"unknown_28":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1655846888400490496}} 
[2026-06-02 13:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":89823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:17:35] local.INFO: GPS data processed {"connection_id":89823,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:17:35] local.INFO: Acknowledgment sent {"connection_id":89823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:17:42] local.INFO: TCP Data received {"connection_id":89426,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874bf678012d19a340071fd7880038015029..."} 
[2026-06-02 13:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874bf678012d19a340071fd7880038015029..."} 
[2026-06-02 13:17:42] local.INFO: Processing buffer {"connection_id":89426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874bf678012d19a340071fd7880038015029..."} 
[2026-06-02 13:17:42] local.INFO: Packet analysis {"connection_id":89426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:42] local.INFO: Extracted packet for processing {"connection_id":89426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874b"} 
[2026-06-02 13:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119527304,"longitude_deg":75.6654912,"latitude_deg":11.9527304,"altitude":56,"angle":336,"satellites":41,"speed":18,"hex_longitude":"2d19a340","hex_latitude":"071fd788","is_valid_coordinates":true} 
[2026-06-02 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778906880001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125217383513063424,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252703389696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386363000,"timestamp_ms":1780386363000,"timestamp_seconds":1780386363,"priority":1,"record_length":96,"hex_timestamp":"0000019e874bf678"} 
[2026-06-02 13:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:17:42] 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-06-02 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 13:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:17:42] 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-06-02 13:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778906880001,"66":14461,"101":206,"83":41984,"24":18,"16":125217383513063424,"45":1847883252703389696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 13:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778906880001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:17:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 13:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125217383513063424,"km_value":125217383513063.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252703389696,"description":"Unknown IO ID 45"} 
[2026-06-02 13:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778906880001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1847883252703389696}} 
[2026-06-02 13:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":89426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:17:42] local.INFO: GPS data processed {"connection_id":89426,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:17:42] local.INFO: Acknowledgment sent {"connection_id":89426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:18:11] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:18:11] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:18:11] local.INFO: IMEI packet received {"connection_id":89824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":89824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:18:11] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874c5438012ce8cf40072e9908000801322b..."} 
[2026-06-02 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874c5438012ce8cf40072e9908000801322b..."} 
[2026-06-02 13:18:11] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874c5438012ce8cf40072e9908000801322b..."} 
[2026-06-02 13:18:11] local.INFO: Packet analysis {"connection_id":89823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:18:11] local.INFO: Extracted packet for processing {"connection_id":89823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:18:11] local.INFO: GPS Element Parsed {"raw_longitude":753454912,"raw_latitude":120494344,"longitude_deg":75.3454912,"latitude_deg":12.0494344,"altitude":8,"angle":306,"satellites":43,"speed":35,"hex_longitude":"2ce8cf40","hex_latitude":"072e9908","is_valid_coordinates":true} 
[2026-06-02 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778911744001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305620655783542784,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1662602287840620544,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386387000,"timestamp_ms":1780386387000,"timestamp_seconds":1780386387,"priority":1,"record_length":96,"hex_timestamp":"0000019e874c5438"} 
[2026-06-02 13:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778911744001,"66":27995,"28":206,"83":44032,"24":35,"16":305620655783542784,"44":-1662602287840620544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-06-02 13:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778911744001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 13:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305620655783542784,"km_value":305620655783542.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1662602287840620544,"description":"Unknown IO ID 44"} 
[2026-06-02 13:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778911744001,"power":27995,"unknown_28":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1662602287840620544}} 
[2026-06-02 13:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":89823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:18:11] local.INFO: GPS data processed {"connection_id":89823,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:18:11] local.INFO: Acknowledgment sent {"connection_id":89823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:18:16] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:18:16] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:18:16] local.INFO: IMEI packet received {"connection_id":89824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":89824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:18:16] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874cd908012d197b40071feb98003e011b29..."} 
[2026-06-02 13:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874cd908012d197b40071feb98003e011b29..."} 
[2026-06-02 13:18:16] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874cd908012d197b40071feb98003e011b29..."} 
[2026-06-02 13:18:16] local.INFO: Packet analysis {"connection_id":89824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:18:16] local.INFO: Extracted packet for processing {"connection_id":89824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756644672,"raw_latitude":119532440,"longitude_deg":75.6644672,"latitude_deg":11.953244,"altitude":62,"angle":283,"satellites":41,"speed":9,"hex_longitude":"2d197b40","hex_latitude":"071feb98","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778923264001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218169492078592,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836624253637332992,"note":"Value kept but may cause issues"} 
[2026-06-02 13: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-06-02 13:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780386421000,"timestamp_ms":1780386421000,"timestamp_seconds":1780386421,"priority":1,"record_length":96,"hex_timestamp":"0000019e874cd908"} 
[2026-06-02 13:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:18:16] 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-06-02 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 13:18:16] 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-06-02 13: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-06-02 13:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:18: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-06-02 13:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778923264001,"66":12504,"102":206,"83":41984,"24":9,"16":125218169492078592,"45":1836624253637332992},"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-06-02 13:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778923264001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:18:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218169492078592,"km_value":125218169492078.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836624253637332992,"description":"Unknown IO ID 45"} 
[2026-06-02 13:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778923264001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1836624253637332992}} 
[2026-06-02 13:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":89824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:18:17] local.INFO: GPS data processed {"connection_id":89824,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:18:17] local.INFO: Acknowledgment sent {"connection_id":89824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:18:19] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874d13a0012d196a80071fed280045012a29..."} 
[2026-06-02 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874d13a0012d196a80071fed280045012a29..."} 
[2026-06-02 13:18:19] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874d13a0012d196a80071fed280045012a29..."} 
[2026-06-02 13:18:19] local.INFO: Packet analysis {"connection_id":89824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:18:19] local.INFO: Extracted packet for processing {"connection_id":89824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119532840,"longitude_deg":75.6640384,"latitude_deg":11.953284,"altitude":69,"angle":298,"satellites":41,"speed":8,"hex_longitude":"2d196a80","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778923776001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218371355541504,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836131672428091392,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18: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-06-02 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780386436000,"timestamp_ms":1780386436000,"timestamp_seconds":1780386436,"priority":1,"record_length":96,"hex_timestamp":"0000019e874d13a0"} 
[2026-06-02 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:18: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-06-02 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 13:18:19] 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-06-02 13: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-06-02 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:18:19] 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-06-02 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778923776001,"66":12504,"102":206,"83":41984,"24":8,"16":125218371355541504,"45":1836131672428091392},"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-06-02 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778923776001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:18:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218371355541504,"km_value":125218371355541.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836131672428091392,"description":"Unknown IO ID 45"} 
[2026-06-02 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778923776001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1836131672428091392}} 
[2026-06-02 13:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":89824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:18:19] local.INFO: GPS data processed {"connection_id":89824,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:18:19] local.INFO: Acknowledgment sent {"connection_id":89824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:18:22] local.INFO: TCP Data received {"connection_id":89427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:22] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:22] local.INFO: IMEI packet received {"connection_id":89427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":89427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:18:23] local.INFO: TCP Data received {"connection_id":89427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:23] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:23] local.INFO: IMEI packet received {"connection_id":89427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":89427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:18:27] local.INFO: TCP Data received {"connection_id":89427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:27] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:27] local.INFO: IMEI packet received {"connection_id":89427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":89427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:18:29] local.INFO: TCP Data received {"connection_id":89427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:29] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:18:29] local.INFO: IMEI packet received {"connection_id":89427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:18:34] local.INFO: TCP Data received {"connection_id":89427,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874c7760012ce8b280072eaf40000801332a..."} 
[2026-06-02 13:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874c7760012ce8b280072eaf40000801332a..."} 
[2026-06-02 13:18:34] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874c7760012ce8b280072eaf40000801332a..."} 
[2026-06-02 13:18:34] local.INFO: Packet analysis {"connection_id":89427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:18:34] local.INFO: Extracted packet for processing {"connection_id":89427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874c"} 
[2026-06-02 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":753447552,"raw_latitude":120500032,"longitude_deg":75.3447552,"latitude_deg":12.0500032,"altitude":8,"angle":307,"satellites":42,"speed":37,"hex_longitude":"2ce8b280","hex_latitude":"072eaf40","is_valid_coordinates":true} 
[2026-06-02 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778915072001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305621098165174272,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1671046537140434944,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:34] 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-06-02 13:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780386396000,"timestamp_ms":1780386396000,"timestamp_seconds":1780386396,"priority":1,"record_length":96,"hex_timestamp":"0000019e874c7760"} 
[2026-06-02 13:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 13:18:34] 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-06-02 13:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778915072001,"66":27919,"28":206,"83":44032,"24":37,"16":305621098165174272,"44":-1671046537140434944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-06-02 13:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778915072001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:18:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 13:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305621098165174272,"km_value":305621098165174.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1671046537140434944,"description":"Unknown IO ID 44"} 
[2026-06-02 13:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778915072001,"power":27919,"unknown_28":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1671046537140434944}} 
[2026-06-02 13:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":89427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:18:34] local.INFO: GPS data processed {"connection_id":89427,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:18:34] local.INFO: Acknowledgment sent {"connection_id":89427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:18:50] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874d1f58012d1968c0071fede00045010a28..."} 
[2026-06-02 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874d1f58012d1968c0071fede00045010a28..."} 
[2026-06-02 13:18:50] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874d1f58012d1968c0071fede00045010a28..."} 
[2026-06-02 13:18:50] local.INFO: Packet analysis {"connection_id":89824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:18:50] local.INFO: Extracted packet for processing {"connection_id":89824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533024,"longitude_deg":75.6639936,"latitude_deg":11.9533024,"altitude":69,"angle":266,"satellites":40,"speed":5,"hex_longitude":"2d1968c0","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-06-02 13:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778927616001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218397125345280,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568290304,"note":"Value kept but may cause issues"} 
[2026-06-02 13:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780386439000,"timestamp_ms":1780386439000,"timestamp_seconds":1780386439,"priority":1,"record_length":96,"hex_timestamp":"0000019e874d1f58"} 
[2026-06-02 13:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:18:50] 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-06-02 13:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 13:18: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-06-02 13:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:18:50] 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-06-02 13:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778927616001,"66":12428,"102":206,"83":41984,"24":5,"16":125218397125345280,"45":1831416966568290304},"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-06-02 13:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778927616001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:18:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218397125345280,"km_value":125218397125345.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568290304,"description":"Unknown IO ID 45"} 
[2026-06-02 13:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778927616001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1831416966568290304}} 
[2026-06-02 13:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":89824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:18:50] local.INFO: GPS data processed {"connection_id":89824,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:18:50] local.INFO: Acknowledgment sent {"connection_id":89824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:19:06] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:19:06] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:19:06] local.INFO: IMEI packet received {"connection_id":89692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":89692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:19:06] local.INFO: TCP Data received {"connection_id":89427,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e874e1570012ce82500072f70f0001d011826..."} 
[2026-06-02 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874e1570012ce82500072f70f0001d011826..."} 
[2026-06-02 13:19:06] local.INFO: Processing buffer {"connection_id":89427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874e1570012ce82500072f70f0001d011826..."} 
[2026-06-02 13:19:06] local.INFO: Packet analysis {"connection_id":89427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:19:06] local.INFO: Extracted packet for processing {"connection_id":89427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753411328,"raw_latitude":120549616,"longitude_deg":75.3411328,"latitude_deg":12.0549616,"altitude":29,"angle":280,"satellites":38,"speed":27,"hex_longitude":"2ce82500","hex_latitude":"072f70f0","is_valid_coordinates":true} 
[2026-06-02 13:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778942464001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305624624333324288,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1712423358702555136,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:06] 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-06-02 13:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780386502000,"timestamp_ms":1780386502000,"timestamp_seconds":1780386502,"priority":1,"record_length":96,"hex_timestamp":"0000019e874e1570"} 
[2026-06-02 13:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 13:19: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-06-02 13:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778942464001,"66":27800,"28":206,"83":44032,"24":27,"16":305624624333324288,"44":-1712423358702555136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-06-02 13:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778942464001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 13:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305624624333324288,"km_value":305624624333324.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1712423358702555136,"description":"Unknown IO ID 44"} 
[2026-06-02 13:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778942464001,"power":27800,"unknown_28":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1712423358702555136}} 
[2026-06-02 13:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":89427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:19:06] local.INFO: GPS data processed {"connection_id":89427,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:19:06] local.INFO: Acknowledgment sent {"connection_id":89427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:19:11] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:19:11] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:19:11] local.INFO: IMEI packet received {"connection_id":89692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":89692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:19:11] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874d7160012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874d7160012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:19:11] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874d7160012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:19:11] local.INFO: Packet analysis {"connection_id":89692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:19:11] local.INFO: Extracted packet for processing {"connection_id":89692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778928384001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359093760,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386460000,"timestamp_ms":1780386460000,"timestamp_seconds":1780386460,"priority":1,"record_length":96,"hex_timestamp":"0000019e874d7160"} 
[2026-06-02 13:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 13:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778928384001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830924385359093760},"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-06-02 13:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778928384001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:19:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359093760,"description":"Unknown IO ID 45"} 
[2026-06-02 13:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778928384001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359093760}} 
[2026-06-02 13:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":89692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:19:11] local.INFO: GPS data processed {"connection_id":89692,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:19:11] local.INFO: Acknowledgment sent {"connection_id":89692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:19:23] local.INFO: TCP Data received {"connection_id":89428,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:23] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:23] local.INFO: IMEI packet received {"connection_id":89428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":89428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:19:23] local.INFO: TCP Data received {"connection_id":89428,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:24] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:24] local.INFO: IMEI packet received {"connection_id":89428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":89428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:19:24] local.INFO: TCP Data received {"connection_id":89428,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:24] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:24] local.INFO: IMEI packet received {"connection_id":89428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":89428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:19:25] local.INFO: TCP Data received {"connection_id":89428,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:25] local.INFO: Processing buffer {"connection_id":89428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:19:25] local.INFO: IMEI packet received {"connection_id":89428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":89428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:19:43] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874dc368012d1967c0071fedb80043010a22..."} 
[2026-06-02 13:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874dc368012d1967c0071fedb80043010a22..."} 
[2026-06-02 13:19:43] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874dc368012d1967c0071fedb80043010a22..."} 
[2026-06-02 13:19:43] local.INFO: Packet analysis {"connection_id":89692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:19:43] local.INFO: Extracted packet for processing {"connection_id":89692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874d"} 
[2026-06-02 13:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778933760001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:19: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-06-02 13:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780386481000,"timestamp_ms":1780386481000,"timestamp_seconds":1780386481,"priority":1,"record_length":96,"hex_timestamp":"0000019e874dc368"} 
[2026-06-02 13:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:19:43] 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-06-02 13:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:19:43] 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-06-02 13:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778933760001,"66":12113,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778933760001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:19:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778933760001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":89692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:19:43] local.INFO: GPS data processed {"connection_id":89692,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:19:43] local.INFO: Acknowledgment sent {"connection_id":89692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:20:03] local.INFO: TCP Data received {"connection_id":90884,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:03] local.INFO: Processing buffer {"connection_id":90884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:03] local.INFO: IMEI packet received {"connection_id":90884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":90884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:20:06] local.INFO: TCP Data received {"connection_id":90884,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:06] local.INFO: Processing buffer {"connection_id":90884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:06] local.INFO: IMEI packet received {"connection_id":90884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":90884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:20:11] local.INFO: TCP Data received {"connection_id":90884,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:11] local.INFO: Processing buffer {"connection_id":90884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:20:11] local.INFO: IMEI packet received {"connection_id":90884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":90884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:20:11] local.INFO: TCP Data received {"connection_id":90884,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874e1570012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874e1570012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:20:11] local.INFO: Processing buffer {"connection_id":90884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874e1570012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:20:11] local.INFO: Packet analysis {"connection_id":90884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:20:11] local.INFO: Extracted packet for processing {"connection_id":90884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778939136001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386502000,"timestamp_ms":1780386502000,"timestamp_seconds":1780386502,"priority":1,"record_length":96,"hex_timestamp":"0000019e874e1570"} 
[2026-06-02 13:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":81,"data_length":795,"current_offset":136} 
[2026-06-02 13:20:11] 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-06-02 13: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-06-02 13:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778939136001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778939136001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:20:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778939136001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":90884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:20:11] local.INFO: GPS data processed {"connection_id":90884,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:20:11] local.INFO: Acknowledgment sent {"connection_id":90884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:20:42] local.INFO: TCP Data received {"connection_id":90884,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874e6778012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874e6778012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:20:42] local.INFO: Processing buffer {"connection_id":90884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874e6778012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:20:42] local.INFO: Packet analysis {"connection_id":90884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:20:42] local.INFO: Extracted packet for processing {"connection_id":90884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778944512001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386523000,"timestamp_ms":1780386523000,"timestamp_seconds":1780386523,"priority":1,"record_length":96,"hex_timestamp":"0000019e874e6778"} 
[2026-06-02 13:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:20:42] 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-06-02 13:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:20:42] 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-06-02 13:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:20:42] 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-06-02 13:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778944512001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778944512001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:20:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778944512001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":90884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:20:42] local.INFO: GPS data processed {"connection_id":90884,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:20:42] local.INFO: Acknowledgment sent {"connection_id":90884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:21:06] local.INFO: TCP Data received {"connection_id":89430,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:06] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:06] local.INFO: IMEI packet received {"connection_id":89430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":89430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:21:06] local.INFO: TCP Data received {"connection_id":89430,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:06] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:06] local.INFO: IMEI packet received {"connection_id":89430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":89430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:21:11] local.INFO: TCP Data received {"connection_id":89430,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:11] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:21:11] local.INFO: IMEI packet received {"connection_id":89430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":89430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:21:11] local.INFO: TCP Data received {"connection_id":89430,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874eb980012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874eb980012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:21:11] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874eb980012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:21:11] local.INFO: Packet analysis {"connection_id":89430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:21:11] local.INFO: Extracted packet for processing {"connection_id":89430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874e"} 
[2026-06-02 13:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778949888001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386544000,"timestamp_ms":1780386544000,"timestamp_seconds":1780386544,"priority":1,"record_length":96,"hex_timestamp":"0000019e874eb980"} 
[2026-06-02 13:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778949888001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778949888001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:21:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778949888001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":89430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:21:11] local.INFO: GPS data processed {"connection_id":89430,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:21:11] local.INFO: Acknowledgment sent {"connection_id":89430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:21:43] local.INFO: TCP Data received {"connection_id":89430,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874f0f70012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874f0f70012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:21:43] local.INFO: Processing buffer {"connection_id":89430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874f0f70012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:21:43] local.INFO: Packet analysis {"connection_id":89430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874f"} 
[2026-06-02 13:21:43] local.INFO: Extracted packet for processing {"connection_id":89430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874f"} 
[2026-06-02 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778955264001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:21: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-06-02 13:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780386566000,"timestamp_ms":1780386566000,"timestamp_seconds":1780386566,"priority":1,"record_length":96,"hex_timestamp":"0000019e874f0f70"} 
[2026-06-02 13:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:21:43] 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-06-02 13:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778955264001,"66":12374,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778955264001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:21:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778955264001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":89430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:21:43] local.INFO: GPS data processed {"connection_id":89430,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:21:43] local.INFO: Acknowledgment sent {"connection_id":89430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:22:05] local.INFO: TCP Data received {"connection_id":90885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:22:05] local.INFO: Processing buffer {"connection_id":90885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:22:05] local.INFO: IMEI packet received {"connection_id":90885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":90885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:22:10] local.INFO: TCP Data received {"connection_id":90885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:22:10] local.INFO: Processing buffer {"connection_id":90885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:22:10] local.INFO: IMEI packet received {"connection_id":90885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":90885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:22:10] local.INFO: TCP Data received {"connection_id":90885,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874f6178012d1967c0071fedb80043010a22..."} 
[2026-06-02 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874f6178012d1967c0071fedb80043010a22..."} 
[2026-06-02 13:22:10] local.INFO: Processing buffer {"connection_id":90885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874f6178012d1967c0071fedb80043010a22..."} 
[2026-06-02 13:22:10] local.INFO: Packet analysis {"connection_id":90885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874f"} 
[2026-06-02 13:22:10] local.INFO: Extracted packet for processing {"connection_id":90885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874f"} 
[2026-06-02 13:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778960896001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780386587000,"timestamp_ms":1780386587000,"timestamp_seconds":1780386587,"priority":1,"record_length":96,"hex_timestamp":"0000019e874f6178"} 
[2026-06-02 13:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:22:10] 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-06-02 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 13:22: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-06-02 13:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:22:10] 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-06-02 13:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778960896001,"66":12406,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778960896001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:22:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778960896001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":90885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:22:10] local.INFO: GPS data processed {"connection_id":90885,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:22:10] local.INFO: Acknowledgment sent {"connection_id":90885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:22:42] local.INFO: TCP Data received {"connection_id":90885,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e874fb380012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e874fb380012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:22:42] local.INFO: Processing buffer {"connection_id":90885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e874fb380012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:22:42] local.INFO: Packet analysis {"connection_id":90885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e874f"} 
[2026-06-02 13:22:42] local.INFO: Extracted packet for processing {"connection_id":90885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e874f"} 
[2026-06-02 13:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778966272001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386608000,"timestamp_ms":1780386608000,"timestamp_seconds":1780386608,"priority":1,"record_length":96,"hex_timestamp":"0000019e874fb380"} 
[2026-06-02 13:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 13:22:42] 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-06-02 13:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:22:42] 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-06-02 13:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778966272001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778966272001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:22:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778966272001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":90885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:22:42] local.INFO: GPS data processed {"connection_id":90885,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:22:42] local.INFO: Acknowledgment sent {"connection_id":90885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:23:05] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:23:05] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:23:05] local.INFO: IMEI packet received {"connection_id":89432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":89432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:23:11] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:23:11] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:23:11] local.INFO: IMEI packet received {"connection_id":89432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":89432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:23:11] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87500588012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87500588012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:23:11] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87500588012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:23:11] local.INFO: Packet analysis {"connection_id":89432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:23:11] local.INFO: Extracted packet for processing {"connection_id":89432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778971648001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386629000,"timestamp_ms":1780386629000,"timestamp_seconds":1780386629,"priority":1,"record_length":96,"hex_timestamp":"0000019e87500588"} 
[2026-06-02 13:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778971648001,"66":12374,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778971648001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:23:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778971648001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":89432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:23:11] local.INFO: GPS data processed {"connection_id":89432,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:23:11] local.INFO: Acknowledgment sent {"connection_id":89432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:23:18] local.INFO: TCP Data received {"connection_id":90886,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:23:18] local.INFO: Processing buffer {"connection_id":90886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:23:18] local.INFO: IMEI packet received {"connection_id":90886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":90886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:23:42] local.INFO: TCP Data received {"connection_id":89432,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875053a8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875053a8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:23:42] local.INFO: Processing buffer {"connection_id":89432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875053a8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:23:42] local.INFO: Packet analysis {"connection_id":89432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:23:42] local.INFO: Extracted packet for processing {"connection_id":89432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778977024001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386649000,"timestamp_ms":1780386649000,"timestamp_seconds":1780386649,"priority":1,"record_length":96,"hex_timestamp":"0000019e875053a8"} 
[2026-06-02 13:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 13:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:23:42] 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-06-02 13:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778977024001,"66":12406,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778977024001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:23:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778977024001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":89432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:23:43] local.INFO: GPS data processed {"connection_id":89432,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:23:43] local.INFO: Acknowledgment sent {"connection_id":89432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:24:03] local.INFO: TCP Data received {"connection_id":90887,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:24:03] local.INFO: Processing buffer {"connection_id":90887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:24:03] local.INFO: IMEI packet received {"connection_id":90887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":90887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:24:11] local.INFO: TCP Data received {"connection_id":89697,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:24:11] local.INFO: Processing buffer {"connection_id":89697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:24:11] local.INFO: IMEI packet received {"connection_id":89697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":89697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:24:16] local.INFO: TCP Data received {"connection_id":89697,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:24:16] local.INFO: Processing buffer {"connection_id":89697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:24:16] local.INFO: IMEI packet received {"connection_id":89697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":89697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:24:16] local.INFO: TCP Data received {"connection_id":89697,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8750a5b0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8750a5b0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:24:16] local.INFO: Processing buffer {"connection_id":89697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8750a5b0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:24:16] local.INFO: Packet analysis {"connection_id":89697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:24:16] local.INFO: Extracted packet for processing {"connection_id":89697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778982144001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24: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-06-02 13:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780386670000,"timestamp_ms":1780386670000,"timestamp_seconds":1780386670,"priority":1,"record_length":96,"hex_timestamp":"0000019e8750a5b0"} 
[2026-06-02 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-06-02 13:24:16] 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-06-02 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 13:24: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-06-02 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-06-02 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-06-02 13:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:24: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-06-02 13:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778982144001,"66":12406,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778982144001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:24:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778982144001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":89697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:24:16] local.INFO: GPS data processed {"connection_id":89697,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:24:16] local.INFO: Acknowledgment sent {"connection_id":89697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:24:17] local.INFO: TCP Data received {"connection_id":89697,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8750f7b8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8750f7b8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:24:17] local.INFO: Processing buffer {"connection_id":89697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8750f7b8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:24:17] local.INFO: Packet analysis {"connection_id":89697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:24:17] local.INFO: Extracted packet for processing {"connection_id":89697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8750"} 
[2026-06-02 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778987520001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13: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-06-02 13:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780386691000,"timestamp_ms":1780386691000,"timestamp_seconds":1780386691,"priority":1,"record_length":96,"hex_timestamp":"0000019e8750f7b8"} 
[2026-06-02 13:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:24:17] 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-06-02 13: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 13:24: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-06-02 13: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-06-02 13:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:24: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-06-02 13:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778987520001,"66":12406,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778987520001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:24:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778987520001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":89697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:24:17] local.INFO: GPS data processed {"connection_id":89697,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:24:17] local.INFO: Acknowledgment sent {"connection_id":89697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:24:28] local.INFO: TCP Data received {"connection_id":89826,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:24:28] local.INFO: Processing buffer {"connection_id":89826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:24:28] local.INFO: IMEI packet received {"connection_id":89826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":89826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:24:29] local.INFO: TCP Data received {"connection_id":89826,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8752d060012ce439800730ec580019011128..."} 
[2026-06-02 13:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8752d060012ce439800730ec580019011128..."} 
[2026-06-02 13:24:29] local.INFO: Processing buffer {"connection_id":89826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8752d060012ce439800730ec580019011128..."} 
[2026-06-02 13:24:29] local.INFO: Packet analysis {"connection_id":89826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:24:29] local.INFO: Extracted packet for processing {"connection_id":89826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:24:29] local.INFO: GPS Element Parsed {"raw_longitude":753154432,"raw_latitude":120646744,"longitude_deg":75.3154432,"latitude_deg":12.0646744,"altitude":25,"angle":273,"satellites":40,"speed":59,"hex_longitude":"2ce43980","hex_latitude":"0730ec58","is_valid_coordinates":true} 
[2026-06-02 13:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779022336001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305639596589318144,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991505798086850560,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:29] 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-06-02 13:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780386812000,"timestamp_ms":1780386812000,"timestamp_seconds":1780386812,"priority":1,"record_length":96,"hex_timestamp":"0000019e8752d060"} 
[2026-06-02 13:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:24: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-06-02 13:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779022336001,"66":27930,"180":206,"83":44032,"24":59,"16":305639596589318144,"44":-1991505798086850560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-06-02 13:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779022336001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:24:29] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-06-02 13:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305639596589318144,"km_value":305639596589318.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991505798086850560,"description":"Unknown IO ID 44"} 
[2026-06-02 13:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779022336001,"power":27930,"unknown_180":206,"unknown_83":44032,"ignition":59,"odometer":null,"unknown_44":-1991505798086850560}} 
[2026-06-02 13:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":89826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:24:29] local.INFO: GPS data processed {"connection_id":89826,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:24:29] local.INFO: Acknowledgment sent {"connection_id":89826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:24:48] local.INFO: TCP Data received {"connection_id":89697,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875149c0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875149c0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:24:48] local.INFO: Processing buffer {"connection_id":89697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875149c0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:24:48] local.INFO: Packet analysis {"connection_id":89697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8751"} 
[2026-06-02 13:24:48] local.INFO: Extracted packet for processing {"connection_id":89697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8751"} 
[2026-06-02 13:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778992896001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780386712000,"timestamp_ms":1780386712000,"timestamp_seconds":1780386712,"priority":1,"record_length":96,"hex_timestamp":"0000019e875149c0"} 
[2026-06-02 13:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:24:48] 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-06-02 13: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 13:24:48] 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-06-02 13: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-06-02 13:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:24:48] 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-06-02 13:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778992896001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778992896001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:24:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778992896001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":89697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:24:48] local.INFO: GPS data processed {"connection_id":89697,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:24:48] local.INFO: Acknowledgment sent {"connection_id":89697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:24:59] local.INFO: TCP Data received {"connection_id":89826,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8752d060012ce439800730ec580019011128..."} 
[2026-06-02 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8752d060012ce439800730ec580019011128..."} 
[2026-06-02 13:24:59] local.INFO: Processing buffer {"connection_id":89826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8752d060012ce439800730ec580019011128..."} 
[2026-06-02 13:24:59] local.INFO: Packet analysis {"connection_id":89826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:24:59] local.INFO: Extracted packet for processing {"connection_id":89826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:24:59] local.INFO: GPS Element Parsed {"raw_longitude":753154432,"raw_latitude":120646744,"longitude_deg":75.3154432,"latitude_deg":12.0646744,"altitude":25,"angle":273,"satellites":40,"speed":59,"hex_longitude":"2ce43980","hex_latitude":"0730ec58","is_valid_coordinates":true} 
[2026-06-02 13:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779023872001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305639596589318144,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2001427791015553024,"note":"Value kept but may cause issues"} 
[2026-06-02 13:24:59] 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-06-02 13:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780386812000,"timestamp_ms":1780386812000,"timestamp_seconds":1780386812,"priority":1,"record_length":96,"hex_timestamp":"0000019e8752d060"} 
[2026-06-02 13:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:24: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-06-02 13:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 13:24: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-06-02 13:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:24: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-06-02 13:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779023872001,"66":27930,"180":206,"83":44032,"24":59,"16":305639596589318144,"44":-2001427791015553024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-06-02 13:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779023872001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:24:59] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-06-02 13:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305639596589318144,"km_value":305639596589318.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:24:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2001427791015553024,"description":"Unknown IO ID 44"} 
[2026-06-02 13:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779023872001,"power":27930,"unknown_180":206,"unknown_83":44032,"ignition":59,"odometer":null,"unknown_44":-2001427791015553024}} 
[2026-06-02 13:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":89826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:24:59] local.INFO: GPS data processed {"connection_id":89826,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:24:59] local.INFO: Acknowledgment sent {"connection_id":89826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:25:06] local.INFO: TCP Data received {"connection_id":90888,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:25:06] local.INFO: Processing buffer {"connection_id":90888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:25:06] local.INFO: IMEI packet received {"connection_id":90888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":90888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:25:11] local.INFO: TCP Data received {"connection_id":90888,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:25:11] local.INFO: Processing buffer {"connection_id":90888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:25:11] local.INFO: IMEI packet received {"connection_id":90888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":90888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:25:11] local.INFO: TCP Data received {"connection_id":90888,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87519bc8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87519bc8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:25:11] local.INFO: Processing buffer {"connection_id":90888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87519bc8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:25:11] local.INFO: Packet analysis {"connection_id":90888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8751"} 
[2026-06-02 13:25:11] local.INFO: Extracted packet for processing {"connection_id":90888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8751"} 
[2026-06-02 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455778998272001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386733000,"timestamp_ms":1780386733000,"timestamp_seconds":1780386733,"priority":1,"record_length":96,"hex_timestamp":"0000019e87519bc8"} 
[2026-06-02 13:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455778998272001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455778998272001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:25:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455778998272001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":90888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:25:11] local.INFO: GPS data processed {"connection_id":90888,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:25:11] local.INFO: Acknowledgment sent {"connection_id":90888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:25:29] local.INFO: TCP Data received {"connection_id":89698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:29] local.INFO: Processing buffer {"connection_id":89698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:29] local.INFO: IMEI packet received {"connection_id":89698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":89698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:25:30] local.INFO: TCP Data received {"connection_id":89698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:30] local.INFO: Processing buffer {"connection_id":89698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:30] local.INFO: IMEI packet received {"connection_id":89698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":89698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:25:34] local.INFO: TCP Data received {"connection_id":89698,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:34] local.INFO: Processing buffer {"connection_id":89698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:25:34] local.INFO: IMEI packet received {"connection_id":89698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":89698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:25:34] local.INFO: TCP Data received {"connection_id":89698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8753bea8012ce2e6c0073158c80020012f28..."} 
[2026-06-02 13:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8753bea8012ce2e6c0073158c80020012f28..."} 
[2026-06-02 13:25:34] local.INFO: Processing buffer {"connection_id":89698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8753bea8012ce2e6c0073158c80020012f28..."} 
[2026-06-02 13:25:34] local.INFO: Packet analysis {"connection_id":89698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:25:34] local.INFO: Extracted packet for processing {"connection_id":89698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:25:34] local.INFO: GPS Element Parsed {"raw_longitude":753067712,"raw_latitude":120674504,"longitude_deg":75.3067712,"latitude_deg":12.0674504,"altitude":32,"angle":303,"satellites":40,"speed":60,"hex_longitude":"2ce2e6c0","hex_latitude":"073158c8","is_valid_coordinates":true} 
[2026-06-02 13:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779037952001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305643990340861952,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2088473927557541888,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:34] 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-06-02 13:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780386873000,"timestamp_ms":1780386873000,"timestamp_seconds":1780386873,"priority":1,"record_length":96,"hex_timestamp":"0000019e8753bea8"} 
[2026-06-02 13:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:25: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-06-02 13:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 13:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779037952001,"66":27180,"181":206,"83":44032,"24":60,"16":305643990340861952,"44":-2088473927557541888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-06-02 13:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779037952001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:25:34] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-06-02 13:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305643990340861952,"km_value":305643990340861.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2088473927557541888,"description":"Unknown IO ID 44"} 
[2026-06-02 13:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779037952001,"power":27180,"unknown_181":206,"unknown_83":44032,"ignition":60,"odometer":null,"unknown_44":-2088473927557541888}} 
[2026-06-02 13:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":89698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:25:34] local.INFO: GPS data processed {"connection_id":89698,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:25:34] local.INFO: Acknowledgment sent {"connection_id":89698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:25:35] local.INFO: TCP Data received {"connection_id":89698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8753d230012ce2cc80073166880020012329..."} 
[2026-06-02 13:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8753d230012ce2cc80073166880020012329..."} 
[2026-06-02 13:25:35] local.INFO: Processing buffer {"connection_id":89698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8753d230012ce2cc80073166880020012329..."} 
[2026-06-02 13:25:35] local.INFO: Packet analysis {"connection_id":89698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:25:35] local.INFO: Extracted packet for processing {"connection_id":89698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:25:35] local.INFO: GPS Element Parsed {"raw_longitude":753060992,"raw_latitude":120678024,"longitude_deg":75.3060992,"latitude_deg":12.0678024,"altitude":32,"angle":291,"satellites":41,"speed":59,"hex_longitude":"2ce2cc80","hex_latitude":"07316688","is_valid_coordinates":true} 
[2026-06-02 13:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779039488001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305644355413082112,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2096777439369181184,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:35] 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-06-02 13:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780386878000,"timestamp_ms":1780386878000,"timestamp_seconds":1780386878,"priority":1,"record_length":96,"hex_timestamp":"0000019e8753d230"} 
[2026-06-02 13:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:25: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-06-02 13:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-02 13:25:35] 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-06-02 13:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779039488001,"66":27919,"181":206,"83":44032,"24":59,"16":305644355413082112,"44":-2096777439369181184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-06-02 13:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779039488001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:25:35] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-06-02 13:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-06-02 13:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305644355413082112,"km_value":305644355413082.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2096777439369181184,"description":"Unknown IO ID 44"} 
[2026-06-02 13:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779039488001,"power":27919,"unknown_181":206,"unknown_83":44032,"ignition":59,"odometer":null,"unknown_44":-2096777439369181184}} 
[2026-06-02 13:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":89698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:25:35] local.INFO: GPS data processed {"connection_id":89698,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:25:35] local.INFO: Acknowledgment sent {"connection_id":89698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:25:39] local.INFO: TCP Data received {"connection_id":89698,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8753e9a0012ce2aa80073170d80023011c26..."} 
[2026-06-02 13:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8753e9a0012ce2aa80073170d80023011c26..."} 
[2026-06-02 13:25:39] local.INFO: Processing buffer {"connection_id":89698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8753e9a0012ce2aa80073170d80023011c26..."} 
[2026-06-02 13:25:39] local.INFO: Packet analysis {"connection_id":89698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:25:39] local.INFO: Extracted packet for processing {"connection_id":89698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:25:39] local.INFO: GPS Element Parsed {"raw_longitude":753052288,"raw_latitude":120680664,"longitude_deg":75.3052288,"latitude_deg":12.0680664,"altitude":35,"angle":284,"satellites":38,"speed":59,"hex_longitude":"2ce2aa80","hex_latitude":"073170d8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779040768001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305644784909811712,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2104166157506934784,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780386884000,"timestamp_ms":1780386884000,"timestamp_seconds":1780386884,"priority":1,"record_length":96,"hex_timestamp":"0000019e8753e9a0"} 
[2026-06-02 13:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:25: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-06-02 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 13:25: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-06-02 13: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-06-02 13:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779040768001,"66":27865,"46":206,"83":40960,"24":59,"16":305644784909811712,"44":-2104166157506934784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-06-02 13:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779040768001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:25:39] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-02 13:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305644784909811712,"km_value":305644784909811.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:25:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2104166157506934784,"description":"Unknown IO ID 44"} 
[2026-06-02 13:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779040768001,"power":27865,"unknown_46":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2104166157506934784}} 
[2026-06-02 13:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":89698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:25:39] local.INFO: GPS data processed {"connection_id":89698,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:25:39] local.INFO: Acknowledgment sent {"connection_id":89698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:25:43] local.INFO: TCP Data received {"connection_id":90888,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8751edd0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8751edd0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:25:43] local.INFO: Processing buffer {"connection_id":90888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8751edd0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:25:43] local.INFO: Packet analysis {"connection_id":90888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8751"} 
[2026-06-02 13:25:43] local.INFO: Extracted packet for processing {"connection_id":90888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8751"} 
[2026-06-02 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779003648001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:25: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-06-02 13:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780386754000,"timestamp_ms":1780386754000,"timestamp_seconds":1780386754,"priority":1,"record_length":96,"hex_timestamp":"0000019e8751edd0"} 
[2026-06-02 13:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:25:43] 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-06-02 13:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779003648001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779003648001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:25:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:25:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779003648001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":90888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:25:43] local.INFO: GPS data processed {"connection_id":90888,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:25:43] local.INFO: Acknowledgment sent {"connection_id":90888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:26:06] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:26:06] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:26:06] local.INFO: IMEI packet received {"connection_id":89699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":89699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:26:11] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:26:11] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:26:11] local.INFO: IMEI packet received {"connection_id":89699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":89699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:26:11] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87523fd8012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87523fd8012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:26:11] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87523fd8012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:26:11] local.INFO: Packet analysis {"connection_id":89699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:26:11] local.INFO: Extracted packet for processing {"connection_id":89699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779009024001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386775000,"timestamp_ms":1780386775000,"timestamp_seconds":1780386775,"priority":1,"record_length":96,"hex_timestamp":"0000019e87523fd8"} 
[2026-06-02 13:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779009024001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779009024001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:26:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779009024001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":89699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:26:11] local.INFO: GPS data processed {"connection_id":89699,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:26:11] local.INFO: Acknowledgment sent {"connection_id":89699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:26:20] local.INFO: TCP Data received {"connection_id":90889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:20] local.INFO: Processing buffer {"connection_id":90889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:20] local.INFO: IMEI packet received {"connection_id":90889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":90889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:26:20] local.INFO: TCP Data received {"connection_id":90889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:20] local.INFO: Processing buffer {"connection_id":90889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:20] local.INFO: IMEI packet received {"connection_id":90889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":90889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:26:24] local.INFO: TCP Data received {"connection_id":90889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:24] local.INFO: Processing buffer {"connection_id":90889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:24] local.INFO: IMEI packet received {"connection_id":90889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":90889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:26:25] local.INFO: TCP Data received {"connection_id":90889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:25] local.INFO: Processing buffer {"connection_id":90889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:26:25] local.INFO: IMEI packet received {"connection_id":90889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":90889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:26:42] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875291e0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875291e0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:26:42] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875291e0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:26:42] local.INFO: Packet analysis {"connection_id":89699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:26:42] local.INFO: Extracted packet for processing {"connection_id":89699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779014400001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386796000,"timestamp_ms":1780386796000,"timestamp_seconds":1780386796,"priority":1,"record_length":96,"hex_timestamp":"0000019e875291e0"} 
[2026-06-02 13:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:26:42] 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-06-02 13:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:26:42] 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-06-02 13:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779014400001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779014400001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:26:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779014400001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":89699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:26:43] local.INFO: GPS data processed {"connection_id":89699,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:26:43] local.INFO: Acknowledgment sent {"connection_id":89699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:27:03] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:03] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:03] local.INFO: IMEI packet received {"connection_id":89435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":89435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:27:06] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:06] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:06] local.INFO: IMEI packet received {"connection_id":89435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":89435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:27:10] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:10] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:27:10] local.INFO: IMEI packet received {"connection_id":89435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":89435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:27:11] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8752e3e8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8752e3e8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:27:11] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8752e3e8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:27:11] local.INFO: Packet analysis {"connection_id":89435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:27:11] local.INFO: Extracted packet for processing {"connection_id":89435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8752"} 
[2026-06-02 13:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779019776001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386817000,"timestamp_ms":1780386817000,"timestamp_seconds":1780386817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8752e3e8"} 
[2026-06-02 13:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779019776001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779019776001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:27:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779019776001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":89435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:27:11] local.INFO: GPS data processed {"connection_id":89435,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:27:11] local.INFO: Acknowledgment sent {"connection_id":89435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:27:42] local.INFO: TCP Data received {"connection_id":89435,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875335f0012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875335f0012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:27:42] local.INFO: Processing buffer {"connection_id":89435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875335f0012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:27:42] local.INFO: Packet analysis {"connection_id":89435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:27:42] local.INFO: Extracted packet for processing {"connection_id":89435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779025152001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386838000,"timestamp_ms":1780386838000,"timestamp_seconds":1780386838,"priority":1,"record_length":96,"hex_timestamp":"0000019e875335f0"} 
[2026-06-02 13:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:27:42] 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-06-02 13: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-06-02 13:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:27:42] 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-06-02 13:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779025152001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779025152001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:27:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779025152001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":89435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:27:42] local.INFO: GPS data processed {"connection_id":89435,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:27:42] local.INFO: Acknowledgment sent {"connection_id":89435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:28:05] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:05] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:05] local.INFO: IMEI packet received {"connection_id":89701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":89701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:28:06] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:06] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:06] local.INFO: IMEI packet received {"connection_id":89701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":89701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:28:10] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:10] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:28:10] local.INFO: IMEI packet received {"connection_id":89701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":89701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:28:11] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875387f8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875387f8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:28:11] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875387f8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:28:11] local.INFO: Packet analysis {"connection_id":89701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:28:11] local.INFO: Extracted packet for processing {"connection_id":89701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779030528001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386859000,"timestamp_ms":1780386859000,"timestamp_seconds":1780386859,"priority":1,"record_length":96,"hex_timestamp":"0000019e875387f8"} 
[2026-06-02 13:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779030528001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779030528001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:28:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779030528001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":89701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:28:11] local.INFO: GPS data processed {"connection_id":89701,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:28:11] local.INFO: Acknowledgment sent {"connection_id":89701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:28:42] local.INFO: TCP Data received {"connection_id":89701,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8753dde8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8753dde8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:28:42] local.INFO: Processing buffer {"connection_id":89701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8753dde8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:28:42] local.INFO: Packet analysis {"connection_id":89701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:28:42] local.INFO: Extracted packet for processing {"connection_id":89701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8753"} 
[2026-06-02 13:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779035904001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780386881000,"timestamp_ms":1780386881000,"timestamp_seconds":1780386881,"priority":1,"record_length":96,"hex_timestamp":"0000019e8753dde8"} 
[2026-06-02 13:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:28:42] 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-06-02 13:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:28:42] 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-06-02 13:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779035904001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779035904001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:28:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779035904001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":89701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:28:42] local.INFO: GPS data processed {"connection_id":89701,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:28:42] local.INFO: Acknowledgment sent {"connection_id":89701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:29:05] local.INFO: TCP Data received {"connection_id":89437,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:05] local.INFO: Processing buffer {"connection_id":89437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:05] local.INFO: IMEI packet received {"connection_id":89437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":89437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:29:10] local.INFO: TCP Data received {"connection_id":89437,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:10] local.INFO: Processing buffer {"connection_id":89437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:10] local.INFO: IMEI packet received {"connection_id":89437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":89437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:29:10] local.INFO: TCP Data received {"connection_id":89437,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:10] local.INFO: Processing buffer {"connection_id":89437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:29:10] local.INFO: IMEI packet received {"connection_id":89437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":89437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:29:11] local.INFO: TCP Data received {"connection_id":89437,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87542ff0012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87542ff0012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:29:11] local.INFO: Processing buffer {"connection_id":89437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87542ff0012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:29:11] local.INFO: Packet analysis {"connection_id":89437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8754"} 
[2026-06-02 13:29:11] local.INFO: Extracted packet for processing {"connection_id":89437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8754"} 
[2026-06-02 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779041536001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780386902000,"timestamp_ms":1780386902000,"timestamp_seconds":1780386902,"priority":1,"record_length":96,"hex_timestamp":"0000019e87542ff0"} 
[2026-06-02 13:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779041536001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779041536001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:29:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779041536001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":89437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:29:11] local.INFO: GPS data processed {"connection_id":89437,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:29:11] local.INFO: Acknowledgment sent {"connection_id":89437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:29:16] local.INFO: TCP Data received {"connection_id":89437,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87547e10012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87547e10012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:29:16] local.INFO: Processing buffer {"connection_id":89437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87547e10012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:29:16] local.INFO: Packet analysis {"connection_id":89437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8754"} 
[2026-06-02 13:29:16] local.INFO: Extracted packet for processing {"connection_id":89437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8754"} 
[2026-06-02 13:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779046912001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29: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-06-02 13:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780386922000,"timestamp_ms":1780386922000,"timestamp_seconds":1780386922,"priority":1,"record_length":96,"hex_timestamp":"0000019e87547e10"} 
[2026-06-02 13:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:29:16] 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-06-02 13:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:29:16] 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-06-02 13:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:29: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-06-02 13:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779046912001,"66":12374,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779046912001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:29:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779046912001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":89437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:29:16] local.INFO: GPS data processed {"connection_id":89437,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:29:16] local.INFO: Acknowledgment sent {"connection_id":89437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:29:31] local.INFO: TCP Data received {"connection_id":89436,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:29:31] local.INFO: Processing buffer {"connection_id":89436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:29:31] local.INFO: IMEI packet received {"connection_id":89436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":89436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:29:47] local.INFO: TCP Data received {"connection_id":89437,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8754d400012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8754d400012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:29:47] local.INFO: Processing buffer {"connection_id":89437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8754d400012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:29:47] local.INFO: Packet analysis {"connection_id":89437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8754"} 
[2026-06-02 13:29:47] local.INFO: Extracted packet for processing {"connection_id":89437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8754"} 
[2026-06-02 13:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:29: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-06-02 13:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780386944000,"timestamp_ms":1780386944000,"timestamp_seconds":1780386944,"priority":1,"record_length":96,"hex_timestamp":"0000019e8754d400"} 
[2026-06-02 13:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:29: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-06-02 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 13:29: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-06-02 13: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-06-02 13:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:29:47] 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-06-02 13:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779052032001,"66":12319,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:29:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779052032001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":89437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:29:47] local.INFO: GPS data processed {"connection_id":89437,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:29:47] local.INFO: Acknowledgment sent {"connection_id":89437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:29:58] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:29:58] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:29:58] local.INFO: IMEI packet received {"connection_id":89830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":89830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:30:10] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:30:10] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:30:10] local.INFO: IMEI packet received {"connection_id":89831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":89831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:30:12] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:30:12] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:30:12] local.INFO: IMEI packet received {"connection_id":89831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":89831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:30:13] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87552220012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87552220012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:30:13] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87552220012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:30:13] local.INFO: Packet analysis {"connection_id":89831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8755"} 
[2026-06-02 13:30:13] local.INFO: Extracted packet for processing {"connection_id":89831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8755"} 
[2026-06-02 13:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780386964000,"timestamp_ms":1780386964000,"timestamp_seconds":1780386964,"priority":1,"record_length":96,"hex_timestamp":"0000019e87552220"} 
[2026-06-02 13:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-02 13:30:13] 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-06-02 13:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:30:13] 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-06-02 13:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779057664001,"66":12374,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:30:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779057664001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":89831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:30:13] local.INFO: GPS data processed {"connection_id":89831,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:30:13] local.INFO: Acknowledgment sent {"connection_id":89831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:30:16] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87557428012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87557428012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:30:16] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87557428012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:30:16] local.INFO: Packet analysis {"connection_id":89831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8755"} 
[2026-06-02 13:30:16] local.INFO: Extracted packet for processing {"connection_id":89831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8755"} 
[2026-06-02 13:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779062784001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30: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-06-02 13:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780386985000,"timestamp_ms":1780386985000,"timestamp_seconds":1780386985,"priority":1,"record_length":96,"hex_timestamp":"0000019e87557428"} 
[2026-06-02 13:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 13:30:16] 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-06-02 13:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:30: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-06-02 13:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779062784001,"66":12374,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779062784001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:30:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779062784001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":89831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:30:16] local.INFO: GPS data processed {"connection_id":89831,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:30:16] local.INFO: Acknowledgment sent {"connection_id":89831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:30:47] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8755c630012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8755c630012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:30:47] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8755c630012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:30:47] local.INFO: Packet analysis {"connection_id":89831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8755"} 
[2026-06-02 13:30:47] local.INFO: Extracted packet for processing {"connection_id":89831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8755"} 
[2026-06-02 13:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779068160001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:30: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-06-02 13:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780387006000,"timestamp_ms":1780387006000,"timestamp_seconds":1780387006,"priority":1,"record_length":96,"hex_timestamp":"0000019e8755c630"} 
[2026-06-02 13:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:30: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-06-02 13: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":86,"data_length":795,"current_offset":136} 
[2026-06-02 13:30: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-06-02 13: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-06-02 13:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:30:47] 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-06-02 13:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779068160001,"66":12330,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779068160001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:30:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779068160001,"power":12330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":89831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:30:47] local.INFO: GPS data processed {"connection_id":89831,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:30:47] local.INFO: Acknowledgment sent {"connection_id":89831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:31:06] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:31:06] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:31:06] local.INFO: IMEI packet received {"connection_id":89703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":89703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:31:11] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:31:11] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:31:11] local.INFO: IMEI packet received {"connection_id":89703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":89703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:31:11] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87561838012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87561838012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:31:11] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87561838012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:31:11] local.INFO: Packet analysis {"connection_id":89703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8756"} 
[2026-06-02 13:31:11] local.INFO: Extracted packet for processing {"connection_id":89703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8756"} 
[2026-06-02 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779073536001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387027000,"timestamp_ms":1780387027000,"timestamp_seconds":1780387027,"priority":1,"record_length":96,"hex_timestamp":"0000019e87561838"} 
[2026-06-02 13:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-02 13:31:11] 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-06-02 13: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-06-02 13:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779073536001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779073536001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:31:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779073536001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":89703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:31:12] local.INFO: GPS data processed {"connection_id":89703,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:31:12] local.INFO: Acknowledgment sent {"connection_id":89703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:31:29] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:31:29] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:31:29] local.INFO: IMEI packet received {"connection_id":89438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":89438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:31:29] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e87590250012cdc190007334a98001e012725..."} 
[2026-06-02 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87590250012cdc190007334a98001e012725..."} 
[2026-06-02 13:31:29] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87590250012cdc190007334a98001e012725..."} 
[2026-06-02 13:31:29] local.INFO: Packet analysis {"connection_id":89438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:31:29] local.INFO: Extracted packet for processing {"connection_id":89438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:31:29] local.INFO: GPS Element Parsed {"raw_longitude":752621824,"raw_latitude":120801944,"longitude_deg":75.2621824,"latitude_deg":12.0801944,"altitude":30,"angle":295,"satellites":37,"speed":16,"hex_longitude":"2cdc1900","hex_latitude":"07334a98","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779122432001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305666478789623808,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2580914399279622144,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:29] 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-06-02 13:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780387218000,"timestamp_ms":1780387218000,"timestamp_seconds":1780387218,"priority":1,"record_length":96,"hex_timestamp":"0000019e87590250"} 
[2026-06-02 13:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:31: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-06-02 13: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 13:31:29] 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-06-02 13: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-06-02 13:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779122432001,"66":27930,"146":206,"83":40960,"24":16,"16":305666478789623808,"44":-2580914399279622144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-06-02 13:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779122432001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:31:29] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-02 13:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305666478789623808,"km_value":305666478789623.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2580914399279622144,"description":"Unknown IO ID 44"} 
[2026-06-02 13:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779122432001,"power":27930,"unknown_146":206,"unknown_83":40960,"ignition":16,"odometer":null,"unknown_44":-2580914399279622144}} 
[2026-06-02 13:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":89438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:31:30] local.INFO: GPS data processed {"connection_id":89438,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:31:30] local.INFO: Acknowledgment sent {"connection_id":89438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:31:42] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87566a40012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87566a40012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:31:42] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87566a40012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:31:42] local.INFO: Packet analysis {"connection_id":89703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8756"} 
[2026-06-02 13:31:42] local.INFO: Extracted packet for processing {"connection_id":89703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8756"} 
[2026-06-02 13:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779078912001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387048000,"timestamp_ms":1780387048000,"timestamp_seconds":1780387048,"priority":1,"record_length":96,"hex_timestamp":"0000019e87566a40"} 
[2026-06-02 13:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:31: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-06-02 13:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:31:42] 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-06-02 13: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-06-02 13:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:31:42] 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-06-02 13:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779078912001,"66":11906,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779078912001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:31:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779078912001,"power":11906,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":89703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:31:43] local.INFO: GPS data processed {"connection_id":89703,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:31:43] local.INFO: Acknowledgment sent {"connection_id":89703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:32:01] local.INFO: TCP Data received {"connection_id":89438,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e875940d0012cdbf780073359180022012528..."} 
[2026-06-02 13:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875940d0012cdbf780073359180022012528..."} 
[2026-06-02 13:32:01] local.INFO: Processing buffer {"connection_id":89438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875940d0012cdbf780073359180022012528..."} 
[2026-06-02 13:32:01] local.INFO: Packet analysis {"connection_id":89438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:32:01] local.INFO: Extracted packet for processing {"connection_id":89438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:32:01] local.INFO: GPS Element Parsed {"raw_longitude":752613248,"raw_latitude":120805656,"longitude_deg":75.2613248,"latitude_deg":12.0805656,"altitude":34,"angle":293,"satellites":40,"speed":30,"hex_longitude":"2cdbf780","hex_latitude":"07335918","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779127808001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305666925466222592,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2587036480022341632,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:01] 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-06-02 13:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780387234000,"timestamp_ms":1780387234000,"timestamp_seconds":1780387234,"priority":1,"record_length":96,"hex_timestamp":"0000019e875940d0"} 
[2026-06-02 13:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:32: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-06-02 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 13:32:01] 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-06-02 13: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-06-02 13:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779127808001,"66":27876,"146":206,"83":40960,"24":30,"16":305666925466222592,"44":-2587036480022341632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-06-02 13:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779127808001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:32:01] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-02 13:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305666925466222592,"km_value":305666925466222.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:32:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2587036480022341632,"description":"Unknown IO ID 44"} 
[2026-06-02 13:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779127808001,"power":27876,"unknown_146":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2587036480022341632}} 
[2026-06-02 13:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":89438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:32:01] local.INFO: GPS data processed {"connection_id":89438,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:32:01] local.INFO: Acknowledgment sent {"connection_id":89438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:32:06] local.INFO: TCP Data received {"connection_id":90893,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:32:06] local.INFO: Processing buffer {"connection_id":90893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:32:06] local.INFO: IMEI packet received {"connection_id":90893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":90893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:32:11] local.INFO: TCP Data received {"connection_id":90893,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:32:11] local.INFO: Processing buffer {"connection_id":90893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:32:11] local.INFO: IMEI packet received {"connection_id":90893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":90893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:32:11] local.INFO: TCP Data received {"connection_id":90893,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8756bc48012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8756bc48012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:32:11] local.INFO: Processing buffer {"connection_id":90893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8756bc48012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:32:11] local.INFO: Packet analysis {"connection_id":90893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8756"} 
[2026-06-02 13:32:11] local.INFO: Extracted packet for processing {"connection_id":90893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8756"} 
[2026-06-02 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387069000,"timestamp_ms":1780387069000,"timestamp_seconds":1780387069,"priority":1,"record_length":96,"hex_timestamp":"0000019e8756bc48"} 
[2026-06-02 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-06-02 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-02 13:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 13:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779084288001,"66":12385,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:32:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779084288001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":90893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:32:12] local.INFO: GPS data processed {"connection_id":90893,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:32:12] local.INFO: Acknowledgment sent {"connection_id":90893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:32:29] local.INFO: TCP Data received {"connection_id":90895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:32:29] local.INFO: Processing buffer {"connection_id":90895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:32:29] local.INFO: IMEI packet received {"connection_id":90895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":90895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:32:33] local.INFO: TCP Data received {"connection_id":90895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:32:33] local.INFO: Processing buffer {"connection_id":90895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:32:33] local.INFO: IMEI packet received {"connection_id":90895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":90895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:32:34] local.INFO: TCP Data received {"connection_id":90895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e87596fb0012cdbd680073366a80020012226..."} 
[2026-06-02 13:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87596fb0012cdbd680073366a80020012226..."} 
[2026-06-02 13:32:34] local.INFO: Processing buffer {"connection_id":90895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87596fb0012cdbd680073366a80020012226..."} 
[2026-06-02 13:32:34] local.INFO: Packet analysis {"connection_id":90895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:32:34] local.INFO: Extracted packet for processing {"connection_id":90895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":752604800,"raw_latitude":120809128,"longitude_deg":75.26048,"latitude_deg":12.0809128,"altitude":32,"angle":290,"satellites":38,"speed":35,"hex_longitude":"2cdbd680","hex_latitude":"073366a8","is_valid_coordinates":true} 
[2026-06-02 13:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779131904001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305667354962952192,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2596465891741198336,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:34] 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-06-02 13:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780387246000,"timestamp_ms":1780387246000,"timestamp_seconds":1780387246,"priority":1,"record_length":96,"hex_timestamp":"0000019e87596fb0"} 
[2026-06-02 13:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:32: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-06-02 13:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 13:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779131904001,"66":27843,"146":206,"83":40960,"24":35,"16":305667354962952192,"44":-2596465891741198336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-06-02 13:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779131904001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:32:34] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-02 13:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305667354962952192,"km_value":305667354962952.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:32:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2596465891741198336,"description":"Unknown IO ID 44"} 
[2026-06-02 13:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779131904001,"power":27843,"unknown_146":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2596465891741198336}} 
[2026-06-02 13:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":90895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:32:34] local.INFO: GPS data processed {"connection_id":90895,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:32:34] local.INFO: Acknowledgment sent {"connection_id":90895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:32:35] local.INFO: TCP Data received {"connection_id":90895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e87599aa8012cdbb34007337218001f011d27..."} 
[2026-06-02 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87599aa8012cdbb34007337218001f011d27..."} 
[2026-06-02 13:32:35] local.INFO: Processing buffer {"connection_id":90895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87599aa8012cdbb34007337218001f011d27..."} 
[2026-06-02 13:32:35] local.INFO: Packet analysis {"connection_id":90895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:32:35] local.INFO: Extracted packet for processing {"connection_id":90895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:32:35] local.INFO: GPS Element Parsed {"raw_longitude":752595776,"raw_latitude":120812056,"longitude_deg":75.2595776,"latitude_deg":12.0812056,"altitude":31,"angle":285,"satellites":39,"speed":31,"hex_longitude":"2cdbb340","hex_latitude":"07337218","is_valid_coordinates":true} 
[2026-06-02 13:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779134976001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305667810229485568,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2605754565971761152,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:35] 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-06-02 13:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780387257000,"timestamp_ms":1780387257000,"timestamp_seconds":1780387257,"priority":1,"record_length":96,"hex_timestamp":"0000019e87599aa8"} 
[2026-06-02 13:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:32: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-06-02 13:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 13:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779134976001,"66":27919,"146":206,"83":40960,"24":31,"16":305667810229485568,"44":-2605754565971761152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-06-02 13:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779134976001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305667810229485568,"km_value":305667810229485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2605754565971761152,"description":"Unknown IO ID 44"} 
[2026-06-02 13:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779134976001,"power":27919,"unknown_146":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2605754565971761152}} 
[2026-06-02 13:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":90895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:32:35] local.INFO: GPS data processed {"connection_id":90895,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:32:35] local.INFO: Acknowledgment sent {"connection_id":90895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:32:43] local.INFO: TCP Data received {"connection_id":90893,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87570e50012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87570e50012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:32:43] local.INFO: Processing buffer {"connection_id":90893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87570e50012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:32:43] local.INFO: Packet analysis {"connection_id":90893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8757"} 
[2026-06-02 13:32:43] local.INFO: Extracted packet for processing {"connection_id":90893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8757"} 
[2026-06-02 13:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779089664001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:32: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-06-02 13:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780387090000,"timestamp_ms":1780387090000,"timestamp_seconds":1780387090,"priority":1,"record_length":96,"hex_timestamp":"0000019e87570e50"} 
[2026-06-02 13:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:32:43] 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-06-02 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 13:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:32:43] 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-06-02 13:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779089664001,"66":12374,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779089664001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:32:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779089664001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":90893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:32:43] local.INFO: GPS data processed {"connection_id":90893,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:32:43] local.INFO: Acknowledgment sent {"connection_id":90893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:33:06] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:33:06] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:33:06] local.INFO: IMEI packet received {"connection_id":89440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":89440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:33:06] local.INFO: TCP Data received {"connection_id":90895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8759c5a0012cdb914007337bf8001d011b25..."} 
[2026-06-02 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8759c5a0012cdb914007337bf8001d011b25..."} 
[2026-06-02 13:33:06] local.INFO: Processing buffer {"connection_id":90895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8759c5a0012cdb914007337bf8001d011b25..."} 
[2026-06-02 13:33:06] local.INFO: Packet analysis {"connection_id":90895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:33:06] local.INFO: Extracted packet for processing {"connection_id":90895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8759"} 
[2026-06-02 13:33:06] local.INFO: GPS Element Parsed {"raw_longitude":752587072,"raw_latitude":120814584,"longitude_deg":75.2587072,"latitude_deg":12.0814584,"altitude":29,"angle":283,"satellites":37,"speed":34,"hex_longitude":"2cdb9140","hex_latitude":"07337bf8","is_valid_coordinates":true} 
[2026-06-02 13:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779137792001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305668239726215168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2615676558900062208,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:06] 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-06-02 13:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780387268000,"timestamp_ms":1780387268000,"timestamp_seconds":1780387268,"priority":1,"record_length":96,"hex_timestamp":"0000019e8759c5a0"} 
[2026-06-02 13:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 13:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779137792001,"66":27821,"146":206,"83":40960,"24":34,"16":305668239726215168,"44":-2615676558900062208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-06-02 13:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779137792001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:33:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-02 13:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305668239726215168,"km_value":305668239726215.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2615676558900062208,"description":"Unknown IO ID 44"} 
[2026-06-02 13:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779137792001,"power":27821,"unknown_146":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2615676558900062208}} 
[2026-06-02 13:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":90895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:33:06] local.INFO: GPS data processed {"connection_id":90895,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:33:06] local.INFO: Acknowledgment sent {"connection_id":90895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:33:11] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:33:11] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:33:11] local.INFO: IMEI packet received {"connection_id":89440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":89440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:33:11] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87576058012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87576058012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:33:11] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87576058012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:33:11] local.INFO: Packet analysis {"connection_id":89440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8757"} 
[2026-06-02 13:33:11] local.INFO: Extracted packet for processing {"connection_id":89440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8757"} 
[2026-06-02 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779095040001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387111000,"timestamp_ms":1780387111000,"timestamp_seconds":1780387111,"priority":1,"record_length":96,"hex_timestamp":"0000019e87576058"} 
[2026-06-02 13:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 13:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779095040001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779095040001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:33:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779095040001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":89440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:33:12] local.INFO: GPS data processed {"connection_id":89440,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:33:12] local.INFO: Acknowledgment sent {"connection_id":89440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:33:22] local.INFO: TCP Data received {"connection_id":90896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:22] local.INFO: Processing buffer {"connection_id":90896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:22] local.INFO: IMEI packet received {"connection_id":90896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":90896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:33:24] local.INFO: TCP Data received {"connection_id":90896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:24] local.INFO: Processing buffer {"connection_id":90896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:24] local.INFO: IMEI packet received {"connection_id":90896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":90896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:33:24] local.INFO: TCP Data received {"connection_id":90896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:24] local.INFO: Processing buffer {"connection_id":90896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:24] local.INFO: IMEI packet received {"connection_id":90896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":90896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:33:26] local.INFO: TCP Data received {"connection_id":90896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:26] local.INFO: Processing buffer {"connection_id":90896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:33:26] local.INFO: IMEI packet received {"connection_id":90896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":90896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:33:43] local.INFO: TCP Data received {"connection_id":89440,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8757b260012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8757b260012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:33:43] local.INFO: Processing buffer {"connection_id":89440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8757b260012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:33:43] local.INFO: Packet analysis {"connection_id":89440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8757"} 
[2026-06-02 13:33:43] local.INFO: Extracted packet for processing {"connection_id":89440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8757"} 
[2026-06-02 13:33:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779100416001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:33: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-06-02 13:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780387132000,"timestamp_ms":1780387132000,"timestamp_seconds":1780387132,"priority":1,"record_length":96,"hex_timestamp":"0000019e8757b260"} 
[2026-06-02 13:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:33:43] 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-06-02 13:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:33:43] 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-06-02 13:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779100416001,"66":12374,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779100416001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:33:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:33:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779100416001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":89440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:33:43] local.INFO: GPS data processed {"connection_id":89440,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:33:43] local.INFO: Acknowledgment sent {"connection_id":89440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:34:06] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:34:06] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:34:06] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:34:10] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:34:10] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:34:10] local.INFO: IMEI packet received {"connection_id":89441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":89441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:34:11] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875b38b8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875b38b8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:34:11] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875b38b8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:34:11] local.INFO: Packet analysis {"connection_id":89441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875b"} 
[2026-06-02 13:34:11] local.INFO: Extracted packet for processing {"connection_id":89441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875b"} 
[2026-06-02 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779159552001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387363000,"timestamp_ms":1780387363000,"timestamp_seconds":1780387363,"priority":1,"record_length":96,"hex_timestamp":"0000019e875b38b8"} 
[2026-06-02 13:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186044,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":8863084066665136129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8694013847269467801,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390257077682442,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":67,"raw_value":74914125246889984,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988258883,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3715825664,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,221,158,148,45,192,237,67,36,10,66,35,240,1,86,227,135,31,4,113,205,76,103,184,39,239,48,2,188,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 13:34:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828151438137884672,"timestamp_seconds":4828151438137885.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 13:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779159552001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779159552001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:34:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779159552001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":89441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:34:11] local.INFO: GPS data processed {"connection_id":89441,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:34:11] local.INFO: Acknowledgment sent {"connection_id":89441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:34:43] local.INFO: TCP Data received {"connection_id":89441,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875b8ac0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875b8ac0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:34:43] local.INFO: Processing buffer {"connection_id":89441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875b8ac0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:34:43] local.INFO: Packet analysis {"connection_id":89441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875b"} 
[2026-06-02 13:34:43] local.INFO: Extracted packet for processing {"connection_id":89441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875b"} 
[2026-06-02 13:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779164928001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:34: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-06-02 13:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780387384000,"timestamp_ms":1780387384000,"timestamp_seconds":1780387384,"priority":1,"record_length":96,"hex_timestamp":"0000019e875b8ac0"} 
[2026-06-02 13:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:34:43] 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-06-02 13:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:34:43] 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-06-02 13:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779164928001,"66":12363,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779164928001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:34:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:34:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779164928001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":89441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:34:43] local.INFO: GPS data processed {"connection_id":89441,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:34:43] local.INFO: Acknowledgment sent {"connection_id":89441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:35:05] local.INFO: TCP Data received {"connection_id":89832,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:05] local.INFO: Processing buffer {"connection_id":89832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:05] local.INFO: IMEI packet received {"connection_id":89832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":89832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:35:06] local.INFO: TCP Data received {"connection_id":89832,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:06] local.INFO: Processing buffer {"connection_id":89832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:06] local.INFO: IMEI packet received {"connection_id":89832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":89832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:35:11] local.INFO: TCP Data received {"connection_id":89832,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:11] local.INFO: Processing buffer {"connection_id":89832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:35:11] local.INFO: IMEI packet received {"connection_id":89832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":89832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:35:11] local.INFO: TCP Data received {"connection_id":89832,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875bdcc8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875bdcc8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:35:11] local.INFO: Processing buffer {"connection_id":89832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875bdcc8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:35:11] local.INFO: Packet analysis {"connection_id":89832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875b"} 
[2026-06-02 13:35:11] local.INFO: Extracted packet for processing {"connection_id":89832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875b"} 
[2026-06-02 13:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779170304001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387405000,"timestamp_ms":1780387405000,"timestamp_seconds":1780387405,"priority":1,"record_length":96,"hex_timestamp":"0000019e875bdcc8"} 
[2026-06-02 13:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-02 13:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779170304001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779170304001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:35:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779170304001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":89832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:35:11] local.INFO: GPS data processed {"connection_id":89832,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:35:11] local.INFO: Acknowledgment sent {"connection_id":89832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:35:13] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:35:13] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:35:13] local.INFO: IMEI packet received {"connection_id":89833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":89833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:35:42] local.INFO: TCP Data received {"connection_id":89832,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875c2ed0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875c2ed0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:35:42] local.INFO: Processing buffer {"connection_id":89832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875c2ed0012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:35:42] local.INFO: Packet analysis {"connection_id":89832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875c"} 
[2026-06-02 13:35:42] local.INFO: Extracted packet for processing {"connection_id":89832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875c"} 
[2026-06-02 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779175680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387426000,"timestamp_ms":1780387426000,"timestamp_seconds":1780387426,"priority":1,"record_length":96,"hex_timestamp":"0000019e875c2ed0"} 
[2026-06-02 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:35: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-06-02 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:35:42] 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-06-02 13:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:35:42] 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-06-02 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779175680001,"66":12363,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779175680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:35:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779175680001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":89832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:35:42] local.INFO: GPS data processed {"connection_id":89832,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:35:42] local.INFO: Acknowledgment sent {"connection_id":89832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:36:08] local.INFO: TCP Data received {"connection_id":89834,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:36:08] local.INFO: Processing buffer {"connection_id":89834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:36:08] local.INFO: IMEI packet received {"connection_id":89834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":89834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:36:10] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:10] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:10] local.INFO: IMEI packet received {"connection_id":89835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":89835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:36:10] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:10] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:10] local.INFO: IMEI packet received {"connection_id":89835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":89835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:36:15] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:15] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:36:15] local.INFO: IMEI packet received {"connection_id":89835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":89835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:36:16] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875c80d8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875c80d8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:36:16] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875c80d8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:36:16] local.INFO: Packet analysis {"connection_id":89835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875c"} 
[2026-06-02 13:36:16] local.INFO: Extracted packet for processing {"connection_id":89835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875c"} 
[2026-06-02 13:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779181056001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36: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-06-02 13:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780387447000,"timestamp_ms":1780387447000,"timestamp_seconds":1780387447,"priority":1,"record_length":96,"hex_timestamp":"0000019e875c80d8"} 
[2026-06-02 13:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-02 13:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:36: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-06-02 13:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779181056001,"66":12298,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779181056001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:36:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779181056001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":89835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:36:16] local.INFO: GPS data processed {"connection_id":89835,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:36:16] local.INFO: Acknowledgment sent {"connection_id":89835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:36:21] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875cd6c8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875cd6c8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:36:21] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875cd6c8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:36:21] local.INFO: Packet analysis {"connection_id":89835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875c"} 
[2026-06-02 13:36:21] local.INFO: Extracted packet for processing {"connection_id":89835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875c"} 
[2026-06-02 13:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779186432001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36: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-06-02 13:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780387469000,"timestamp_ms":1780387469000,"timestamp_seconds":1780387469,"priority":1,"record_length":96,"hex_timestamp":"0000019e875cd6c8"} 
[2026-06-02 13:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:36:21] 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-06-02 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186044,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":221,"raw_value":8863084066665136129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8693562875703387801,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390257077682442,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":67,"raw_value":74911926223634432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988258883,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3715825664,"note":"Value kept but may cause issues"} 
[2026-06-02 13:36:21] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,221,158,46,45,192,237,67,37,10,66,220,38,138,1,240,75,227,135,31,4,113,205,230,103,184,39,239,48,2,188,7,35],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 13:36:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828151433842917376,"timestamp_seconds":4828151433842917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 13:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:36:21] 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-06-02 13:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779186432001,"66":11678,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779186432001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779186432001,"power":11678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":89835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:36:21] local.INFO: GPS data processed {"connection_id":89835,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:36:21] local.INFO: Acknowledgment sent {"connection_id":89835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:37:05] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:37:05] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:37:05] local.INFO: IMEI packet received {"connection_id":89706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":89706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:37:10] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:37:10] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:37:10] local.INFO: IMEI packet received {"connection_id":89706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":89706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:37:11] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875d24e8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875d24e8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:37:11] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875d24e8012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:37:11] local.INFO: Packet analysis {"connection_id":89706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875d"} 
[2026-06-02 13:37:11] local.INFO: Extracted packet for processing {"connection_id":89706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875d"} 
[2026-06-02 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779192064001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387489000,"timestamp_ms":1780387489000,"timestamp_seconds":1780387489,"priority":1,"record_length":96,"hex_timestamp":"0000019e875d24e8"} 
[2026-06-02 13:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-02 13:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779192064001,"66":11874,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779192064001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:37:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779192064001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":89706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:37:11] local.INFO: GPS data processed {"connection_id":89706,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:37:11] local.INFO: Acknowledgment sent {"connection_id":89706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:37:43] local.INFO: TCP Data received {"connection_id":89706,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875d76f0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875d76f0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:37:43] local.INFO: Processing buffer {"connection_id":89706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875d76f0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:37:43] local.INFO: Packet analysis {"connection_id":89706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875d"} 
[2026-06-02 13:37:43] local.INFO: Extracted packet for processing {"connection_id":89706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875d"} 
[2026-06-02 13:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779197184001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:37: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-06-02 13:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780387510000,"timestamp_ms":1780387510000,"timestamp_seconds":1780387510,"priority":1,"record_length":96,"hex_timestamp":"0000019e875d76f0"} 
[2026-06-02 13:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:37:43] 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-06-02 13:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-02 13:37:43] 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-06-02 13:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:37:43] 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-06-02 13:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779197184001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779197184001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:37:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:37:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779197184001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":89706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:37:43] local.INFO: GPS data processed {"connection_id":89706,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:37:43] local.INFO: Acknowledgment sent {"connection_id":89706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:38:05] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:38:05] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:38:05] local.INFO: IMEI packet received {"connection_id":89707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":89707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:38:10] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:38:10] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:38:10] local.INFO: IMEI packet received {"connection_id":89707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":89707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:38:11] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875dc8f8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875dc8f8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:38:11] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875dc8f8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:38:11] local.INFO: Packet analysis {"connection_id":89707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875d"} 
[2026-06-02 13:38:11] local.INFO: Extracted packet for processing {"connection_id":89707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875d"} 
[2026-06-02 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779202560001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387531000,"timestamp_ms":1780387531000,"timestamp_seconds":1780387531,"priority":1,"record_length":96,"hex_timestamp":"0000019e875dc8f8"} 
[2026-06-02 13:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779202560001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779202560001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:38:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779202560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":89707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:38:11] local.INFO: GPS data processed {"connection_id":89707,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:38:11] local.INFO: Acknowledgment sent {"connection_id":89707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:38:29] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:38:29] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:38:29] local.INFO: IMEI packet received {"connection_id":89708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":89708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:38:33] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:38:33] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:38:33] local.INFO: IMEI packet received {"connection_id":89708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":89708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:38:34] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e875f1cd0012cd7c54007363668000d01232b..."} 
[2026-06-02 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875f1cd0012cd7c54007363668000d01232b..."} 
[2026-06-02 13:38:34] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875f1cd0012cd7c54007363668000d01232b..."} 
[2026-06-02 13:38:34] local.INFO: Packet analysis {"connection_id":89708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:38:34] local.INFO: Extracted packet for processing {"connection_id":89708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":752338240,"raw_latitude":120993384,"longitude_deg":75.233824,"latitude_deg":12.0993384,"altitude":13,"angle":291,"satellites":43,"speed":58,"hex_longitude":"2cd7c540","hex_latitude":"07363668","is_valid_coordinates":true} 
[2026-06-02 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779228416001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305683297881554944,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2888144336310583296,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:34] 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-06-02 13:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780387618000,"timestamp_ms":1780387618000,"timestamp_seconds":1780387618,"priority":1,"record_length":96,"hex_timestamp":"0000019e875f1cd0"} 
[2026-06-02 13:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:38: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-06-02 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 13:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779228416001,"66":27930,"165":206,"83":40960,"24":58,"16":305683297881554944,"44":-2888144336310583296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779228416001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305683297881554944,"km_value":305683297881554.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2888144336310583296,"description":"Unknown IO ID 44"} 
[2026-06-02 13:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779228416001,"power":27930,"unknown_165":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2888144336310583296}} 
[2026-06-02 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":89708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:38:34] local.INFO: GPS data processed {"connection_id":89708,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:38:34] local.INFO: Acknowledgment sent {"connection_id":89708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:38:34] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e875f3828012cd79e80073644b8000f01222a..."} 
[2026-06-02 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875f3828012cd79e80073644b8000f01222a..."} 
[2026-06-02 13:38:34] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875f3828012cd79e80073644b8000f01222a..."} 
[2026-06-02 13:38:34] local.INFO: Packet analysis {"connection_id":89708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:38:34] local.INFO: Extracted packet for processing {"connection_id":89708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":752328320,"raw_latitude":120997048,"longitude_deg":75.232832,"latitude_deg":12.0997048,"altitude":15,"angle":290,"satellites":42,"speed":59,"hex_longitude":"2cd79e80","hex_latitude":"073644b8","is_valid_coordinates":true} 
[2026-06-02 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779230208001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305683800392728576,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2898840385424562176,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:34] 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-06-02 13:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780387625000,"timestamp_ms":1780387625000,"timestamp_seconds":1780387625,"priority":1,"record_length":96,"hex_timestamp":"0000019e875f3828"} 
[2026-06-02 13:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:38: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-06-02 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 13:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779230208001,"66":27919,"165":206,"83":40960,"24":59,"16":305683800392728576,"44":-2898840385424562176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-06-02 13:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779230208001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-06-02 13:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305683800392728576,"km_value":305683800392728.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2898840385424562176,"description":"Unknown IO ID 44"} 
[2026-06-02 13:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779230208001,"power":27919,"unknown_165":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2898840385424562176}} 
[2026-06-02 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":89708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:38:34] local.INFO: GPS data processed {"connection_id":89708,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:38:34] local.INFO: Acknowledgment sent {"connection_id":89708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:38:42] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875e1b00012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875e1b00012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:38:42] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875e1b00012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:38:42] local.INFO: Packet analysis {"connection_id":89707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875e"} 
[2026-06-02 13:38:42] local.INFO: Extracted packet for processing {"connection_id":89707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875e"} 
[2026-06-02 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779207936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387552000,"timestamp_ms":1780387552000,"timestamp_seconds":1780387552,"priority":1,"record_length":96,"hex_timestamp":"0000019e875e1b00"} 
[2026-06-02 13:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:38: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-06-02 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:38:42] 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-06-02 13:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:38:42] 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-06-02 13:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779207936001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779207936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:38:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779207936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":89707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:38:42] local.INFO: GPS data processed {"connection_id":89707,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:38:42] local.INFO: Acknowledgment sent {"connection_id":89707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:39:05] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e876039f8012cd66c00073705b80008012f28..."} 
[2026-06-02 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876039f8012cd66c00073705b80008012f28..."} 
[2026-06-02 13:39:05] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876039f8012cd66c00073705b80008012f28..."} 
[2026-06-02 13:39:05] local.INFO: Packet analysis {"connection_id":89708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:39:05] local.INFO: Extracted packet for processing {"connection_id":89708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":752249856,"raw_latitude":121046456,"longitude_deg":75.2249856,"latitude_deg":12.1046456,"altitude":8,"angle":303,"satellites":40,"speed":40,"hex_longitude":"2cd66c00","hex_latitude":"073705b8","is_valid_coordinates":true} 
[2026-06-02 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779246848001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305688280043618304,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2987082790610870272,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:05] 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-06-02 13:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780387691000,"timestamp_ms":1780387691000,"timestamp_seconds":1780387691,"priority":1,"record_length":96,"hex_timestamp":"0000019e876039f8"} 
[2026-06-02 13:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:39: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-06-02 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 13:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779246848001,"66":27908,"170":206,"83":43264,"24":40,"16":305688280043618304,"44":-2987082790610870272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 13:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779246848001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:39:05] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 13:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305688280043618304,"km_value":305688280043618.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2987082790610870272,"description":"Unknown IO ID 44"} 
[2026-06-02 13:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779246848001,"power":27908,"unknown_170":206,"unknown_83":43264,"ignition":40,"odometer":null,"unknown_44":-2987082790610870272}} 
[2026-06-02 13:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":89708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:39:05] local.INFO: GPS data processed {"connection_id":89708,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:39:05] local.INFO: Acknowledgment sent {"connection_id":89708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:39:06] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:39:06] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:39:06] local.INFO: IMEI packet received {"connection_id":89837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":89837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:39:10] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:39:10] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:39:10] local.INFO: IMEI packet received {"connection_id":89837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":89837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:39:11] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875e6d08012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875e6d08012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:39:11] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875e6d08012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:39:11] local.INFO: Packet analysis {"connection_id":89837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875e"} 
[2026-06-02 13:39:11] local.INFO: Extracted packet for processing {"connection_id":89837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875e"} 
[2026-06-02 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779213312001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387573000,"timestamp_ms":1780387573000,"timestamp_seconds":1780387573,"priority":1,"record_length":96,"hex_timestamp":"0000019e875e6d08"} 
[2026-06-02 13:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779213312001,"66":12319,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779213312001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:39:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779213312001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":89837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:39:11] local.INFO: GPS data processed {"connection_id":89837,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:39:11] local.INFO: Acknowledgment sent {"connection_id":89837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:39:24] local.INFO: TCP Data received {"connection_id":89444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:39:24] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:39:24] local.INFO: IMEI packet received {"connection_id":89444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":89444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:39:29] local.INFO: TCP Data received {"connection_id":89444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:39:29] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:39:29] local.INFO: IMEI packet received {"connection_id":89444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:39:29] local.INFO: TCP Data received {"connection_id":89444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e87605550012cd65740073716800006013c27..."} 
[2026-06-02 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87605550012cd65740073716800006013c27..."} 
[2026-06-02 13:39:29] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87605550012cd65740073716800006013c27..."} 
[2026-06-02 13:39:29] local.INFO: Packet analysis {"connection_id":89444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:39:29] local.INFO: Extracted packet for processing {"connection_id":89444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:39:29] local.INFO: GPS Element Parsed {"raw_longitude":752244544,"raw_latitude":121050752,"longitude_deg":75.2244544,"latitude_deg":12.1050752,"altitude":6,"angle":316,"satellites":39,"speed":33,"hex_longitude":"2cd65740","hex_latitude":"07371680","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779248896001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305688606461132800,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2996019621120329728,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:29] 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-06-02 13:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780387698000,"timestamp_ms":1780387698000,"timestamp_seconds":1780387698,"priority":1,"record_length":96,"hex_timestamp":"0000019e87605550"} 
[2026-06-02 13:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:39: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-06-02 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779248896001,"66":27865,"170":206,"83":43264,"24":33,"16":305688606461132800,"44":-2996019621120329728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 13:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779248896001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:39:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 13:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305688606461132800,"km_value":305688606461132.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2996019621120329728,"description":"Unknown IO ID 44"} 
[2026-06-02 13:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779248896001,"power":27865,"unknown_170":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-2996019621120329728}} 
[2026-06-02 13:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":89444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:39:29] local.INFO: GPS data processed {"connection_id":89444,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:39:29] local.INFO: Acknowledgment sent {"connection_id":89444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:39:31] local.INFO: TCP Data received {"connection_id":89444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e87607878012cd6438007372e180008014825..."} 
[2026-06-02 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87607878012cd6438007372e180008014825..."} 
[2026-06-02 13:39:31] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87607878012cd6438007372e180008014825..."} 
[2026-06-02 13:39:31] local.INFO: Packet analysis {"connection_id":89444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:39:31] local.INFO: Extracted packet for processing {"connection_id":89444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:39:31] local.INFO: GPS Element Parsed {"raw_longitude":752239488,"raw_latitude":121056792,"longitude_deg":75.2239488,"latitude_deg":12.1056792,"altitude":8,"angle":328,"satellites":37,"speed":32,"hex_longitude":"2cd64380","hex_latitude":"07372e18","is_valid_coordinates":true} 
[2026-06-02 13:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779250688001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305688988713222144,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3001860226885976064,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:31] 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-06-02 13:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780387707000,"timestamp_ms":1780387707000,"timestamp_seconds":1780387707,"priority":1,"record_length":96,"hex_timestamp":"0000019e87607878"} 
[2026-06-02 13:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:39: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-06-02 13:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 13:39: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-06-02 13:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779250688001,"66":27865,"170":206,"83":43264,"24":32,"16":305688988713222144,"44":-3001860226885976064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 13:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779250688001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305688988713222144,"km_value":305688988713222.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3001860226885976064,"description":"Unknown IO ID 44"} 
[2026-06-02 13:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779250688001,"power":27865,"unknown_170":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3001860226885976064}} 
[2026-06-02 13:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":89444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:39:31] local.INFO: GPS data processed {"connection_id":89444,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:39:31] local.INFO: Acknowledgment sent {"connection_id":89444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:39:42] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875ebf10012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875ebf10012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:39:42] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875ebf10012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:39:42] local.INFO: Packet analysis {"connection_id":89837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875e"} 
[2026-06-02 13:39:42] local.INFO: Extracted packet for processing {"connection_id":89837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875e"} 
[2026-06-02 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779218688001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387594000,"timestamp_ms":1780387594000,"timestamp_seconds":1780387594,"priority":1,"record_length":96,"hex_timestamp":"0000019e875ebf10"} 
[2026-06-02 13:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:39:42] 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-06-02 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-02 13:39: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-06-02 13:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:39:42] 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-06-02 13:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779218688001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779218688001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:39:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779218688001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":89837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:39:42] local.INFO: GPS data processed {"connection_id":89837,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:39:42] local.INFO: Acknowledgment sent {"connection_id":89837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:40:02] local.INFO: TCP Data received {"connection_id":89444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8760af28012cd6314007374ed0000c014421..."} 
[2026-06-02 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8760af28012cd6314007374ed0000c014421..."} 
[2026-06-02 13:40:02] local.INFO: Processing buffer {"connection_id":89444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8760af28012cd6314007374ed0000c014421..."} 
[2026-06-02 13:40:02] local.INFO: Packet analysis {"connection_id":89444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:40:02] local.INFO: Extracted packet for processing {"connection_id":89444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":752234816,"raw_latitude":121065168,"longitude_deg":75.2234816,"latitude_deg":12.1065168,"altitude":12,"angle":324,"satellites":33,"speed":30,"hex_longitude":"2cd63140","hex_latitude":"07374ed0","is_valid_coordinates":true} 
[2026-06-02 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779252992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305689452569690112,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3007419357674465280,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:02] 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-06-02 13:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780387721000,"timestamp_ms":1780387721000,"timestamp_seconds":1780387721,"priority":1,"record_length":96,"hex_timestamp":"0000019e8760af28"} 
[2026-06-02 13:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:40: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-06-02 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 13:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779252992001,"66":27821,"170":206,"83":43264,"24":30,"16":305689452569690112,"44":-3007419357674465280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 13:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779252992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305689452569690112,"km_value":305689452569690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3007419357674465280,"description":"Unknown IO ID 44"} 
[2026-06-02 13:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779252992001,"power":27821,"unknown_170":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3007419357674465280}} 
[2026-06-02 13:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":89444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:40:02] local.INFO: GPS data processed {"connection_id":89444,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:40:02] local.INFO: Acknowledgment sent {"connection_id":89444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:40:06] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:40:06] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:40:06] local.INFO: IMEI packet received {"connection_id":89709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":89709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:40:10] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:40:10] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:40:10] local.INFO: IMEI packet received {"connection_id":89709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":89709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:40:11] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875f1118012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875f1118012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:40:11] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875f1118012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:40:11] local.INFO: Packet analysis {"connection_id":89709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:40:11] local.INFO: Extracted packet for processing {"connection_id":89709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779224064001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387615000,"timestamp_ms":1780387615000,"timestamp_seconds":1780387615,"priority":1,"record_length":96,"hex_timestamp":"0000019e875f1118"} 
[2026-06-02 13:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779224064001,"66":12341,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779224064001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:40:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779224064001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":89709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:40:11] local.INFO: GPS data processed {"connection_id":89709,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:40:11] local.INFO: Acknowledgment sent {"connection_id":89709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:40:24] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:40:24] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:40:24] local.INFO: IMEI packet received {"connection_id":89710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":89710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:40:29] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:40:29] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:40:29] local.INFO: IMEI packet received {"connection_id":89710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":89710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:40:30] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8760da20012cd61e8007376c40000b013d2a..."} 
[2026-06-02 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8760da20012cd61e8007376c40000b013d2a..."} 
[2026-06-02 13:40:30] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8760da20012cd61e8007376c40000b013d2a..."} 
[2026-06-02 13:40:30] local.INFO: Packet analysis {"connection_id":89710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:40:30] local.INFO: Extracted packet for processing {"connection_id":89710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:40:30] local.INFO: GPS Element Parsed {"raw_longitude":752230016,"raw_latitude":121072704,"longitude_deg":75.2230016,"latitude_deg":12.1072704,"altitude":11,"angle":317,"satellites":42,"speed":38,"hex_longitude":"2cd61e80","hex_latitude":"07376c40","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779256576001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305689882066419712,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3012556275997290496,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:30] 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-06-02 13:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780387732000,"timestamp_ms":1780387732000,"timestamp_seconds":1780387732,"priority":1,"record_length":96,"hex_timestamp":"0000019e8760da20"} 
[2026-06-02 13:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:40:30] 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-06-02 13: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 13:40:30] 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-06-02 13: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-06-02 13:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779256576001,"66":27821,"170":206,"83":43264,"24":38,"16":305689882066419712,"44":-3012556275997290496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 13:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779256576001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:40:30] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 13:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305689882066419712,"km_value":305689882066419.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3012556275997290496,"description":"Unknown IO ID 44"} 
[2026-06-02 13:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779256576001,"power":27821,"unknown_170":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3012556275997290496}} 
[2026-06-02 13:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":89710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:40:30] local.INFO: GPS data processed {"connection_id":89710,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:40:30] local.INFO: Acknowledgment sent {"connection_id":89710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:40:42] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875f6320012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875f6320012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:40:42] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875f6320012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:40:42] local.INFO: Packet analysis {"connection_id":89709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:40:42] local.INFO: Extracted packet for processing {"connection_id":89709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779229440001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387636000,"timestamp_ms":1780387636000,"timestamp_seconds":1780387636,"priority":1,"record_length":96,"hex_timestamp":"0000019e875f6320"} 
[2026-06-02 13:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:40: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-06-02 13:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 13:40:42] 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-06-02 13:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:40:42] 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-06-02 13:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779229440001,"66":12319,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779229440001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:40:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779229440001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":89709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:40:43] local.INFO: GPS data processed {"connection_id":89709,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:40:43] local.INFO: Acknowledgment sent {"connection_id":89709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:41:02] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8760fd48012cd6060007378610000e01392b..."} 
[2026-06-02 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8760fd48012cd6060007378610000e01392b..."} 
[2026-06-02 13:41:02] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8760fd48012cd6060007378610000e01392b..."} 
[2026-06-02 13:41:02] local.INFO: Packet analysis {"connection_id":89710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:41:02] local.INFO: Extracted packet for processing {"connection_id":89710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":752223744,"raw_latitude":121079312,"longitude_deg":75.2223744,"latitude_deg":12.1079312,"altitude":14,"angle":313,"satellites":43,"speed":34,"hex_longitude":"2cd60600","hex_latitude":"07378610","is_valid_coordinates":true} 
[2026-06-02 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779259392001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305690320153083904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3017833931808686080,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:02] 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-06-02 13:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780387741000,"timestamp_ms":1780387741000,"timestamp_seconds":1780387741,"priority":1,"record_length":96,"hex_timestamp":"0000019e8760fd48"} 
[2026-06-02 13:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 13:41: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-06-02 13:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779259392001,"66":27767,"170":206,"83":43264,"24":34,"16":305690320153083904,"44":-3017833931808686080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-06-02 13:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779259392001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:41:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 13:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305690320153083904,"km_value":305690320153083.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3017833931808686080,"description":"Unknown IO ID 44"} 
[2026-06-02 13:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779259392001,"power":27767,"unknown_170":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3017833931808686080}} 
[2026-06-02 13:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":89710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:41:02] local.INFO: GPS data processed {"connection_id":89710,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:41:02] local.INFO: Acknowledgment sent {"connection_id":89710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:41:05] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:41:05] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:41:05] local.INFO: IMEI packet received {"connection_id":89711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":89711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:41:10] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:41:10] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:41:10] local.INFO: IMEI packet received {"connection_id":89711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":89711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:41:11] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e875fb528012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e875fb528012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:41:11] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e875fb528012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:41:11] local.INFO: Packet analysis {"connection_id":89711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:41:11] local.INFO: Extracted packet for processing {"connection_id":89711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e875f"} 
[2026-06-02 13:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779234816001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387657000,"timestamp_ms":1780387657000,"timestamp_seconds":1780387657,"priority":1,"record_length":96,"hex_timestamp":"0000019e875fb528"} 
[2026-06-02 13:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-02 13:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779234816001,"66":12298,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779234816001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:41:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779234816001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":89711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:41:11] local.INFO: GPS data processed {"connection_id":89711,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:41:11] local.INFO: Acknowledgment sent {"connection_id":89711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:41:24] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:24] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:24] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:41:25] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:25] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:25] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:41:28] local.INFO: TCP Data received {"connection_id":89446,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:41:28] local.INFO: Processing buffer {"connection_id":89446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:41:28] local.INFO: IMEI packet received {"connection_id":89446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:41:29] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:29] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:41:29] local.INFO: IMEI packet received {"connection_id":89447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":89447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:41:30] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e87612458012cd5ed4007379ee8000f013b2b..."} 
[2026-06-02 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87612458012cd5ed4007379ee8000f013b2b..."} 
[2026-06-02 13:41:30] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87612458012cd5ed4007379ee8000f013b2b..."} 
[2026-06-02 13:41:30] local.INFO: Packet analysis {"connection_id":89447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:41:30] local.INFO: Extracted packet for processing {"connection_id":89447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:41:30] local.INFO: GPS Element Parsed {"raw_longitude":752217408,"raw_latitude":121085672,"longitude_deg":75.2217408,"latitude_deg":12.1085672,"altitude":15,"angle":315,"satellites":43,"speed":38,"hex_longitude":"2cd5ed40","hex_latitude":"07379ee8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779261696001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305690749649813504,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3024730068736405504,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:30] 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-06-02 13:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780387751000,"timestamp_ms":1780387751000,"timestamp_seconds":1780387751,"priority":1,"record_length":96,"hex_timestamp":"0000019e87612458"} 
[2026-06-02 13:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:41: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-06-02 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 13:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779261696001,"66":27974,"169":206,"83":43264,"24":38,"16":305690749649813504,"44":-3024730068736405504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-06-02 13:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779261696001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:41:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 13:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305690749649813504,"km_value":305690749649813.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3024730068736405504,"description":"Unknown IO ID 44"} 
[2026-06-02 13:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779261696001,"power":27974,"unknown_169":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3024730068736405504}} 
[2026-06-02 13:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":89447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:41:30] local.INFO: GPS data processed {"connection_id":89447,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:41:30] local.INFO: Acknowledgment sent {"connection_id":89447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:41:42] local.INFO: TCP Data received {"connection_id":89711,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87600730012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87600730012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:41:42] local.INFO: Processing buffer {"connection_id":89711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87600730012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:41:42] local.INFO: Packet analysis {"connection_id":89711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:41:42] local.INFO: Extracted packet for processing {"connection_id":89711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779240192001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387678000,"timestamp_ms":1780387678000,"timestamp_seconds":1780387678,"priority":1,"record_length":96,"hex_timestamp":"0000019e87600730"} 
[2026-06-02 13:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:41:42] 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-06-02 13:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186044,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":221,"raw_value":8863084066665136129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8692660932571227801,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390257077682442,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":67,"raw_value":74914125246889984,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988258883,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3715825664,"note":"Value kept but may cause issues"} 
[2026-06-02 13:41:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,221,158,99,45,192,237,67,39,10,66,17,36,191,1,240,255,227,135,31,4,113,205,27,103,184,38,239,48,2,188,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 13:41:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828151433842917376,"timestamp_seconds":4828151433842917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 13:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:41:42] 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-06-02 13:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779240192001,"66":12319,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779240192001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:41:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779240192001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":89711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:41:43] local.INFO: GPS data processed {"connection_id":89711,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:41:43] local.INFO: Acknowledgment sent {"connection_id":89711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:41:58] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:41:58] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:41:58] local.INFO: IMEI packet received {"connection_id":89712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":89712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:42:02] local.INFO: TCP Data received {"connection_id":89447,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e87614b68012cd5d3000737b9a8000e013c2b..."} 
[2026-06-02 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87614b68012cd5d3000737b9a8000e013c2b..."} 
[2026-06-02 13:42:02] local.INFO: Processing buffer {"connection_id":89447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87614b68012cd5d3000737b9a8000e013c2b..."} 
[2026-06-02 13:42:02] local.INFO: Packet analysis {"connection_id":89447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:42:02] local.INFO: Extracted packet for processing {"connection_id":89447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":752210688,"raw_latitude":121092520,"longitude_deg":75.2210688,"latitude_deg":12.109252,"altitude":14,"angle":316,"satellites":43,"speed":32,"hex_longitude":"2cd5d300","hex_latitude":"0737b9a8","is_valid_coordinates":true} 
[2026-06-02 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779264256001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305691209211314176,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3031696574408366080,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:02] 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-06-02 13:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780387761000,"timestamp_ms":1780387761000,"timestamp_seconds":1780387761,"priority":1,"record_length":96,"hex_timestamp":"0000019e87614b68"} 
[2026-06-02 13:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 13:42:02] 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-06-02 13:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779264256001,"66":27930,"169":206,"83":43264,"24":32,"16":305691209211314176,"44":-3031696574408366080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-06-02 13:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779264256001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:42:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 13:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305691209211314176,"km_value":305691209211314.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3031696574408366080,"description":"Unknown IO ID 44"} 
[2026-06-02 13:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779264256001,"power":27930,"unknown_169":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3031696574408366080}} 
[2026-06-02 13:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":89447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:42:02] local.INFO: GPS data processed {"connection_id":89447,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:42:02] local.INFO: Acknowledgment sent {"connection_id":89447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:42:05] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:05] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:05] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:42:06] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:06] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:06] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:42:10] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:10] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:42:10] local.INFO: IMEI packet received {"connection_id":89448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":89448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:42:11] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87605938012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87605938012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:42:11] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87605938012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:42:11] local.INFO: Packet analysis {"connection_id":89448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:42:11] local.INFO: Extracted packet for processing {"connection_id":89448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779245568001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387699000,"timestamp_ms":1780387699000,"timestamp_seconds":1780387699,"priority":1,"record_length":96,"hex_timestamp":"0000019e87605938"} 
[2026-06-02 13:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-02 13:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779245568001,"66":12298,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779245568001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:42:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779245568001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":89448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:42:11] local.INFO: GPS data processed {"connection_id":89448,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:42:11] local.INFO: Acknowledgment sent {"connection_id":89448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:42:23] local.INFO: TCP Data received {"connection_id":90901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:23] local.INFO: Processing buffer {"connection_id":90901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:23] local.INFO: IMEI packet received {"connection_id":90901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":90901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:42:23] local.INFO: TCP Data received {"connection_id":90901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:23] local.INFO: Processing buffer {"connection_id":90901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:23] local.INFO: IMEI packet received {"connection_id":90901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":90901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:42:24] local.INFO: TCP Data received {"connection_id":90901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:24] local.INFO: Processing buffer {"connection_id":90901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:24] local.INFO: IMEI packet received {"connection_id":90901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":90901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:42:29] local.INFO: TCP Data received {"connection_id":90901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:29] local.INFO: Processing buffer {"connection_id":90901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:42:29] local.INFO: IMEI packet received {"connection_id":90901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":90901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:42:30] local.INFO: TCP Data received {"connection_id":90901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e87631470012cd4e800073796f0000900f22a..."} 
[2026-06-02 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87631470012cd4e800073796f0000900f22a..."} 
[2026-06-02 13:42:30] local.INFO: Processing buffer {"connection_id":90901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87631470012cd4e800073796f0000900f22a..."} 
[2026-06-02 13:42:30] local.INFO: Packet analysis {"connection_id":90901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:42:30] local.INFO: Extracted packet for processing {"connection_id":90901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":752150528,"raw_latitude":121083632,"longitude_deg":75.2150528,"latitude_deg":12.1083632,"altitude":9,"angle":242,"satellites":42,"speed":13,"hex_longitude":"2cd4e800","hex_latitude":"073796f0","is_valid_coordinates":true} 
[2026-06-02 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779294208001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694331652538368,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3103050481004843008,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:30] 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-06-02 13:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780387878000,"timestamp_ms":1780387878000,"timestamp_seconds":1780387878,"priority":1,"record_length":96,"hex_timestamp":"0000019e87631470"} 
[2026-06-02 13:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:42: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-06-02 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779294208001,"66":27865,"89":206,"83":43264,"24":13,"16":305694331652538368,"44":-3103050481004843008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779294208001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694331652538368,"km_value":305694331652538.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3103050481004843008,"description":"Unknown IO ID 44"} 
[2026-06-02 13:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779294208001,"power":27865,"unknown_89":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3103050481004843008}} 
[2026-06-02 13:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":90901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:42:30] local.INFO: GPS data processed {"connection_id":90901,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:42:30] local.INFO: Acknowledgment sent {"connection_id":90901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:42:42] local.INFO: TCP Data received {"connection_id":89448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8760ab40012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8760ab40012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:42:42] local.INFO: Processing buffer {"connection_id":89448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8760ab40012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:42:42] local.INFO: Packet analysis {"connection_id":89448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:42:42] local.INFO: Extracted packet for processing {"connection_id":89448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779250944001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387720000,"timestamp_ms":1780387720000,"timestamp_seconds":1780387720,"priority":1,"record_length":96,"hex_timestamp":"0000019e8760ab40"} 
[2026-06-02 13:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:42:42] 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-06-02 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186044,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":221,"raw_value":8863084066665136129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8692480543944795801,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390257077682442,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":67,"raw_value":74914125246889984,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988258883,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3715825664,"note":"Value kept but may cause issues"} 
[2026-06-02 13:42:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,221,158,7,45,192,237,67,37,10,66,181,38,99,1,240,31,227,135,4,113,205,191,103,184,239,47,2,188],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 13:42:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828151442432851968,"timestamp_seconds":4828151442432852.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 13:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:42:42] 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-06-02 13:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779250944001,"66":11928,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779250944001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:42:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779250944001,"power":11928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":89448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:42:43] local.INFO: GPS data processed {"connection_id":89448,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:42:43] local.INFO: Acknowledgment sent {"connection_id":89448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:43:01] local.INFO: TCP Data received {"connection_id":90901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e876356d8012cd4c600073786b8000800f127..."} 
[2026-06-02 13:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876356d8012cd4c600073786b8000800f127..."} 
[2026-06-02 13:43:01] local.INFO: Processing buffer {"connection_id":90901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876356d8012cd4c600073786b8000800f127..."} 
[2026-06-02 13:43:01] local.INFO: Packet analysis {"connection_id":90901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:43:01] local.INFO: Extracted packet for processing {"connection_id":90901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:43:01] local.INFO: GPS Element Parsed {"raw_longitude":752141824,"raw_latitude":121079480,"longitude_deg":75.2141824,"latitude_deg":12.107948,"altitude":8,"angle":241,"satellites":39,"speed":24,"hex_longitude":"2cd4c600","hex_latitude":"073786b8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779296768001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694791214039040,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3105231912074547200,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:01] 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-06-02 13:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780387895000,"timestamp_ms":1780387895000,"timestamp_seconds":1780387895,"priority":1,"record_length":96,"hex_timestamp":"0000019e876356d8"} 
[2026-06-02 13:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:43: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-06-02 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 13:43: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-06-02 13: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-06-02 13:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779296768001,"66":28104,"89":206,"83":43264,"24":24,"16":305694791214039040,"44":-3105231912074547200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779296768001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:43:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694791214039040,"km_value":305694791214039.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3105231912074547200,"description":"Unknown IO ID 44"} 
[2026-06-02 13:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779296768001,"power":28104,"unknown_89":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3105231912074547200}} 
[2026-06-02 13:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":90901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:43:01] local.INFO: GPS data processed {"connection_id":90901,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:43:01] local.INFO: Acknowledgment sent {"connection_id":90901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:43:10] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:10] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:10] local.INFO: IMEI packet received {"connection_id":89839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":89839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:43:10] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:10] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:10] local.INFO: IMEI packet received {"connection_id":89839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":89839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:43:16] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:16] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:43:16] local.INFO: IMEI packet received {"connection_id":89839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":89839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:43:17] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8760fd48012d1967c0071fedb80043010a29..."} 
[2026-06-02 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8760fd48012d1967c0071fedb80043010a29..."} 
[2026-06-02 13:43:17] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8760fd48012d1967c0071fedb80043010a29..."} 
[2026-06-02 13:43:17] local.INFO: Packet analysis {"connection_id":89839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:43:17] local.INFO: Extracted packet for processing {"connection_id":89839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8760"} 
[2026-06-02 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779256320001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13: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-06-02 13:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780387741000,"timestamp_ms":1780387741000,"timestamp_seconds":1780387741,"priority":1,"record_length":96,"hex_timestamp":"0000019e8760fd48"} 
[2026-06-02 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-06-02 13:43:17] 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-06-02 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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 13:43:17] 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-06-02 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-06-02 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-06-02 13:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:43: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-06-02 13:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779256320001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779256320001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:43:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779256320001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":89839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:43:17] local.INFO: GPS data processed {"connection_id":89839,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:43:17] local.INFO: Acknowledgment sent {"connection_id":89839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:43:21] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87614f50012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87614f50012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:43:21] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87614f50012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:43:21] local.INFO: Packet analysis {"connection_id":89839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:43:21] local.INFO: Extracted packet for processing {"connection_id":89839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 13:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779261696001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43: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-06-02 13:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780387762000,"timestamp_ms":1780387762000,"timestamp_seconds":1780387762,"priority":1,"record_length":96,"hex_timestamp":"0000019e87614f50"} 
[2026-06-02 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-06-02 13:43:21] 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-06-02 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:43:21] 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-06-02 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-06-02 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-06-02 13:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:43:21] 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-06-02 13:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779261696001,"66":12254,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779261696001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:43:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779261696001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":89839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:43:21] local.INFO: GPS data processed {"connection_id":89839,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:43:21] local.INFO: Acknowledgment sent {"connection_id":89839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:43:23] local.INFO: TCP Data received {"connection_id":90902,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:43:23] local.INFO: Processing buffer {"connection_id":90902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:43:23] local.INFO: IMEI packet received {"connection_id":90902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":90902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:43:28] local.INFO: TCP Data received {"connection_id":90902,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:43:28] local.INFO: Processing buffer {"connection_id":90902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:43:28] local.INFO: IMEI packet received {"connection_id":90902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":90902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:43:29] local.INFO: TCP Data received {"connection_id":90902,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e87637de8012cd4bb4007378040000800eb29..."} 
[2026-06-02 13:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87637de8012cd4bb4007378040000800eb29..."} 
[2026-06-02 13:43:29] local.INFO: Processing buffer {"connection_id":90902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87637de8012cd4bb4007378040000800eb29..."} 
[2026-06-02 13:43:29] local.INFO: Packet analysis {"connection_id":90902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:43:29] local.INFO: Extracted packet for processing {"connection_id":90902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:43:29] local.INFO: GPS Element Parsed {"raw_longitude":752139072,"raw_latitude":121077824,"longitude_deg":75.2139072,"latitude_deg":12.1077824,"altitude":8,"angle":235,"satellites":41,"speed":4,"hex_longitude":"2cd4bb40","hex_latitude":"07378040","is_valid_coordinates":true} 
[2026-06-02 13:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779301120001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3114802061283772416,"note":"Value kept but may cause issues"} 
[2026-06-02 13:43:29] 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-06-02 13:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780387905000,"timestamp_ms":1780387905000,"timestamp_seconds":1780387905,"priority":1,"record_length":96,"hex_timestamp":"0000019e87637de8"} 
[2026-06-02 13:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 13:43: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-06-02 13:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779301120001,"66":27908,"89":206,"83":43264,"24":4,"16":305694945832861696,"44":-3114802061283772416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779301120001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:43:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3114802061283772416,"description":"Unknown IO ID 44"} 
[2026-06-02 13:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779301120001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3114802061283772416}} 
[2026-06-02 13:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":90902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:43:29] local.INFO: GPS data processed {"connection_id":90902,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:43:29] local.INFO: Acknowledgment sent {"connection_id":90902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:44:00] local.INFO: TCP Data received {"connection_id":90902,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:44:00] local.INFO: Processing buffer {"connection_id":90902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:44:00] local.INFO: Packet analysis {"connection_id":90902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:44:00] local.INFO: Extracted packet for processing {"connection_id":90902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:44:00] local.INFO: GPS Element Parsed {"raw_longitude":752139008,"raw_latitude":121077768,"longitude_deg":75.2139008,"latitude_deg":12.1077768,"altitude":8,"angle":253,"satellites":40,"speed":7,"hex_longitude":"2cd4bb00","hex_latitude":"07378008","is_valid_coordinates":true} 
[2026-06-02 13:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117827917283835904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:00] 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-06-02 13:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780387906000,"timestamp_ms":1780387906000,"timestamp_seconds":1780387906,"priority":1,"record_length":96,"hex_timestamp":"0000019e876381d0"} 
[2026-06-02 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-06-02 13:44: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-06-02 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":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:44: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-06-02 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-06-02 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-06-02 13:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:44: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-06-02 13:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303680001,"66":27908,"89":206,"83":43264,"24":7,"16":305694945832861696,"44":-3117827917283835904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:44:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117827917283835904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3117827917283835904}} 
[2026-06-02 13:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":90902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:44:00] local.INFO: GPS data processed {"connection_id":90902,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:44:00] local.INFO: Acknowledgment sent {"connection_id":90902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:44:06] local.INFO: TCP Data received {"connection_id":89840,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:44:06] local.INFO: Processing buffer {"connection_id":89840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:44:06] local.INFO: IMEI packet received {"connection_id":89840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":89840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:44:10] local.INFO: TCP Data received {"connection_id":89840,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:44:10] local.INFO: Processing buffer {"connection_id":89840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:44:10] local.INFO: IMEI packet received {"connection_id":89840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":89840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:44:11] local.INFO: TCP Data received {"connection_id":89840,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8761a158012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8761a158012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:44:11] local.INFO: Processing buffer {"connection_id":89840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8761a158012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:44:11] local.INFO: Packet analysis {"connection_id":89840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:44:11] local.INFO: Extracted packet for processing {"connection_id":89840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779267072001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387783000,"timestamp_ms":1780387783000,"timestamp_seconds":1780387783,"priority":1,"record_length":96,"hex_timestamp":"0000019e8761a158"} 
[2026-06-02 13:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 13:44:11] 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-06-02 13:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779267072001,"66":12265,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779267072001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:44:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779267072001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":89840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:44:11] local.INFO: GPS data processed {"connection_id":89840,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:44:11] local.INFO: Acknowledgment sent {"connection_id":89840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:44:23] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:44:23] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:44:23] local.INFO: IMEI packet received {"connection_id":89449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":89449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:44:29] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:44:29] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:44:29] local.INFO: IMEI packet received {"connection_id":89449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":89449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:44:30] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:44:30] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:44:30] local.INFO: Packet analysis {"connection_id":89449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:44:30] local.INFO: Extracted packet for processing {"connection_id":89449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:44:30] local.INFO: GPS Element Parsed {"raw_longitude":752139008,"raw_latitude":121077768,"longitude_deg":75.2139008,"latitude_deg":12.1077768,"altitude":8,"angle":253,"satellites":40,"speed":7,"hex_longitude":"2cd4bb00","hex_latitude":"07378008","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117827917283835904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:30] 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-06-02 13:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780387906000,"timestamp_ms":1780387906000,"timestamp_seconds":1780387906,"priority":1,"record_length":96,"hex_timestamp":"0000019e876381d0"} 
[2026-06-02 13:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:44:30] 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-06-02 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303680001,"66":27908,"89":206,"83":43264,"24":7,"16":305694945832861696,"44":-3117827917283835904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:44:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117827917283835904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3117827917283835904}} 
[2026-06-02 13:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":89449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:44:30] local.INFO: GPS data processed {"connection_id":89449,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:44:30] local.INFO: Acknowledgment sent {"connection_id":89449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:44:42] local.INFO: TCP Data received {"connection_id":89840,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8761f360012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8761f360012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:44:42] local.INFO: Processing buffer {"connection_id":89840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8761f360012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:44:42] local.INFO: Packet analysis {"connection_id":89840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:44:42] local.INFO: Extracted packet for processing {"connection_id":89840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8761"} 
[2026-06-02 13:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779272448001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780387804000,"timestamp_ms":1780387804000,"timestamp_seconds":1780387804,"priority":1,"record_length":96,"hex_timestamp":"0000019e8761f360"} 
[2026-06-02 13:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:44:42] 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-06-02 13:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 13:44:42] 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-06-02 13:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:44:42] 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-06-02 13:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779272448001,"66":12298,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779272448001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:44:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779272448001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":89840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:44:42] local.INFO: GPS data processed {"connection_id":89840,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:44:42] local.INFO: Acknowledgment sent {"connection_id":89840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:45:05] local.INFO: TCP Data received {"connection_id":90903,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:45:05] local.INFO: Processing buffer {"connection_id":90903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:45:05] local.INFO: IMEI packet received {"connection_id":90903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":90903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:45:05] local.INFO: TCP Data received {"connection_id":89449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:45:05] local.INFO: Processing buffer {"connection_id":89449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:45:05] local.INFO: Packet analysis {"connection_id":89449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:45:05] local.INFO: Extracted packet for processing {"connection_id":89449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":752139008,"raw_latitude":121077768,"longitude_deg":75.2139008,"latitude_deg":12.1077768,"altitude":8,"angle":253,"satellites":40,"speed":7,"hex_longitude":"2cd4bb00","hex_latitude":"07378008","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117827917283835904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:05] 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-06-02 13:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780387906000,"timestamp_ms":1780387906000,"timestamp_seconds":1780387906,"priority":1,"record_length":96,"hex_timestamp":"0000019e876381d0"} 
[2026-06-02 13:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303680001,"66":27908,"89":206,"83":43264,"24":7,"16":305694945832861696,"44":-3117827917283835904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:45:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117827917283835904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3117827917283835904}} 
[2026-06-02 13:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":89449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:45:05] local.INFO: GPS data processed {"connection_id":89449,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:45:05] local.INFO: Acknowledgment sent {"connection_id":89449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:45:10] local.INFO: TCP Data received {"connection_id":90903,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:45:10] local.INFO: Processing buffer {"connection_id":90903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:45:10] local.INFO: IMEI packet received {"connection_id":90903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":90903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:45:11] local.INFO: TCP Data received {"connection_id":90903,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87624568012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87624568012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:45:11] local.INFO: Processing buffer {"connection_id":90903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87624568012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:45:11] local.INFO: Packet analysis {"connection_id":90903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8762"} 
[2026-06-02 13:45:11] local.INFO: Extracted packet for processing {"connection_id":90903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8762"} 
[2026-06-02 13:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779277824001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780387825000,"timestamp_ms":1780387825000,"timestamp_seconds":1780387825,"priority":1,"record_length":96,"hex_timestamp":"0000019e87624568"} 
[2026-06-02 13:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186044,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":8863084066665136129,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8692029572378715801,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390257077682442,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":67,"raw_value":74913025735262208,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3988258883,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3715825664,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,221,158,161,45,192,237,67,39,10,66,79,253,1,240,255,227,135,31,4,113,205,89,103,184,40,239,48,2,188,7,38],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 13:45:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828151433842917376,"timestamp_seconds":4828151433842917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 13:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779277824001,"66":12298,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779277824001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:45:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779277824001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":90903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:45:11] local.INFO: GPS data processed {"connection_id":90903,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:45:11] local.INFO: Acknowledgment sent {"connection_id":90903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:45:23] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:45:23] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:45:23] local.INFO: IMEI packet received {"connection_id":89450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":89450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:45:28] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:45:28] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:45:28] local.INFO: IMEI packet received {"connection_id":89450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":89450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:45:30] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:45:30] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:45:30] local.INFO: Packet analysis {"connection_id":89450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:45:30] local.INFO: Extracted packet for processing {"connection_id":89450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":752139008,"raw_latitude":121077768,"longitude_deg":75.2139008,"latitude_deg":12.1077768,"altitude":8,"angle":253,"satellites":40,"speed":7,"hex_longitude":"2cd4bb00","hex_latitude":"07378008","is_valid_coordinates":true} 
[2026-06-02 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117827917283835904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:30] 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-06-02 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780387906000,"timestamp_ms":1780387906000,"timestamp_seconds":1780387906,"priority":1,"record_length":96,"hex_timestamp":"0000019e876381d0"} 
[2026-06-02 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:45:30] 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-06-02 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303680001,"66":27908,"89":206,"83":43264,"24":7,"16":305694945832861696,"44":-3117827917283835904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:45:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117827917283835904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3117827917283835904}} 
[2026-06-02 13:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":89450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:45:30] local.INFO: GPS data processed {"connection_id":89450,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:45:30] local.INFO: Acknowledgment sent {"connection_id":89450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:45:43] local.INFO: TCP Data received {"connection_id":90903,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8765cbc0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8765cbc0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:45:43] local.INFO: Processing buffer {"connection_id":90903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8765cbc0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:45:43] local.INFO: Packet analysis {"connection_id":90903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8765"} 
[2026-06-02 13:45:43] local.INFO: Extracted packet for processing {"connection_id":90903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8765"} 
[2026-06-02 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779336960001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:45: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-06-02 13:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780388056000,"timestamp_ms":1780388056000,"timestamp_seconds":1780388056,"priority":1,"record_length":96,"hex_timestamp":"0000019e8765cbc0"} 
[2026-06-02 13:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:45:43] 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-06-02 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:45:43] 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-06-02 13:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779336960001,"66":12254,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779336960001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:45:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779336960001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":90903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:45:43] local.INFO: GPS data processed {"connection_id":90903,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:45:43] local.INFO: Acknowledgment sent {"connection_id":90903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:46:01] local.INFO: TCP Data received {"connection_id":89450,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:46:01] local.INFO: Processing buffer {"connection_id":89450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:46:01] local.INFO: Packet analysis {"connection_id":89450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:46:01] local.INFO: Extracted packet for processing {"connection_id":89450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:46:01] local.INFO: GPS Element Parsed {"raw_longitude":752139008,"raw_latitude":121077768,"longitude_deg":75.2139008,"latitude_deg":12.1077768,"altitude":8,"angle":253,"satellites":40,"speed":7,"hex_longitude":"2cd4bb00","hex_latitude":"07378008","is_valid_coordinates":true} 
[2026-06-02 13:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117827917283835904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:01] 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-06-02 13:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780387906000,"timestamp_ms":1780387906000,"timestamp_seconds":1780387906,"priority":1,"record_length":96,"hex_timestamp":"0000019e876381d0"} 
[2026-06-02 13:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:46: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-06-02 13:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:46: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-06-02 13:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303680001,"66":27908,"89":206,"83":43264,"24":7,"16":305694945832861696,"44":-3117827917283835904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:46:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117827917283835904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3117827917283835904}} 
[2026-06-02 13:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":89450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:46:01] local.INFO: GPS data processed {"connection_id":89450,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:46:01] local.INFO: Acknowledgment sent {"connection_id":89450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:46:05] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:46:06] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:46:06] local.INFO: IMEI packet received {"connection_id":89451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":89451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:46:10] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:46:10] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:46:10] local.INFO: IMEI packet received {"connection_id":89451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":89451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:46:11] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87661dc8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87661dc8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:46:11] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87661dc8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:46:11] local.INFO: Packet analysis {"connection_id":89451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8766"} 
[2026-06-02 13:46:11] local.INFO: Extracted packet for processing {"connection_id":89451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8766"} 
[2026-06-02 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779342336001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388077000,"timestamp_ms":1780388077000,"timestamp_seconds":1780388077,"priority":1,"record_length":96,"hex_timestamp":"0000019e87661dc8"} 
[2026-06-02 13:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 13:46:11] 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-06-02 13:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779342336001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779342336001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:46:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779342336001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":89451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:46:11] local.INFO: GPS data processed {"connection_id":89451,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:46:11] local.INFO: Acknowledgment sent {"connection_id":89451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:46:28] local.INFO: TCP Data received {"connection_id":89452,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:46:28] local.INFO: Processing buffer {"connection_id":89452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:46:28] local.INFO: IMEI packet received {"connection_id":89452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:46:34] local.INFO: TCP Data received {"connection_id":89452,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:46:34] local.INFO: Processing buffer {"connection_id":89452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:46:34] local.INFO: IMEI packet received {"connection_id":89452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":89452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:46:35] local.INFO: TCP Data received {"connection_id":89452,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:46:35] local.INFO: Processing buffer {"connection_id":89452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:46:35] local.INFO: Packet analysis {"connection_id":89452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:46:35] local.INFO: Extracted packet for processing {"connection_id":89452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":752139008,"raw_latitude":121077768,"longitude_deg":75.2139008,"latitude_deg":12.1077768,"altitude":8,"angle":253,"satellites":40,"speed":7,"hex_longitude":"2cd4bb00","hex_latitude":"07378008","is_valid_coordinates":true} 
[2026-06-02 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117827917283835904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:35] 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-06-02 13:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780387906000,"timestamp_ms":1780387906000,"timestamp_seconds":1780387906,"priority":1,"record_length":96,"hex_timestamp":"0000019e876381d0"} 
[2026-06-02 13:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303680001,"66":27908,"89":206,"83":43264,"24":7,"16":305694945832861696,"44":-3117827917283835904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117827917283835904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3117827917283835904}} 
[2026-06-02 13:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":89452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:46:35] local.INFO: GPS data processed {"connection_id":89452,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:46:35] local.INFO: Acknowledgment sent {"connection_id":89452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:46:42] local.INFO: TCP Data received {"connection_id":89451,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87666fd0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87666fd0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:46:42] local.INFO: Processing buffer {"connection_id":89451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87666fd0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:46:42] local.INFO: Packet analysis {"connection_id":89451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8766"} 
[2026-06-02 13:46:42] local.INFO: Extracted packet for processing {"connection_id":89451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8766"} 
[2026-06-02 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779347712001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388098000,"timestamp_ms":1780388098000,"timestamp_seconds":1780388098,"priority":1,"record_length":96,"hex_timestamp":"0000019e87666fd0"} 
[2026-06-02 13:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:46:42] 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-06-02 13:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779347712001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779347712001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:46:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779347712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":89451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:46:43] local.INFO: GPS data processed {"connection_id":89451,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:46:43] local.INFO: Acknowledgment sent {"connection_id":89451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:47:05] local.INFO: TCP Data received {"connection_id":90905,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:47:05] local.INFO: Processing buffer {"connection_id":90905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:47:05] local.INFO: IMEI packet received {"connection_id":90905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":90905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:47:06] local.INFO: TCP Data received {"connection_id":89452,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:47:06] local.INFO: Processing buffer {"connection_id":89452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876381d0012cd4bb0007378008000800fd28..."} 
[2026-06-02 13:47:06] local.INFO: Packet analysis {"connection_id":89452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:47:06] local.INFO: Extracted packet for processing {"connection_id":89452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8763"} 
[2026-06-02 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":752139008,"raw_latitude":121077768,"longitude_deg":75.2139008,"latitude_deg":12.1077768,"altitude":8,"angle":253,"satellites":40,"speed":7,"hex_longitude":"2cd4bb00","hex_latitude":"07378008","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303680001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117827917283835904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780387906000,"timestamp_ms":1780387906000,"timestamp_seconds":1780387906,"priority":1,"record_length":96,"hex_timestamp":"0000019e876381d0"} 
[2026-06-02 13:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 13:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303680001,"66":27908,"89":206,"83":43264,"24":7,"16":305694945832861696,"44":-3117827917283835904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303680001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:47:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117827917283835904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3117827917283835904}} 
[2026-06-02 13:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":89452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:47:06] local.INFO: GPS data processed {"connection_id":89452,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:47:06] local.INFO: Acknowledgment sent {"connection_id":89452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:47:10] local.INFO: TCP Data received {"connection_id":90905,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:47:10] local.INFO: Processing buffer {"connection_id":90905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:47:10] local.INFO: IMEI packet received {"connection_id":90905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":90905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:47:11] local.INFO: TCP Data received {"connection_id":90905,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8766c1d8012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8766c1d8012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:47:11] local.INFO: Processing buffer {"connection_id":90905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8766c1d8012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:47:11] local.INFO: Packet analysis {"connection_id":90905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8766"} 
[2026-06-02 13:47:11] local.INFO: Extracted packet for processing {"connection_id":90905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8766"} 
[2026-06-02 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779353088001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388119000,"timestamp_ms":1780388119000,"timestamp_seconds":1780388119,"priority":1,"record_length":96,"hex_timestamp":"0000019e8766c1d8"} 
[2026-06-02 13:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779353088001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779353088001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779353088001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":90905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:47:11] local.INFO: GPS data processed {"connection_id":90905,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:47:11] local.INFO: Acknowledgment sent {"connection_id":90905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:47:23] local.INFO: TCP Data received {"connection_id":90904,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:47:23] local.INFO: Processing buffer {"connection_id":90904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:47:23] local.INFO: IMEI packet received {"connection_id":90904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":90904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:47:23] local.INFO: TCP Data received {"connection_id":90906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:23] local.INFO: Processing buffer {"connection_id":90906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:23] local.INFO: IMEI packet received {"connection_id":90906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":90906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:47:24] local.INFO: TCP Data received {"connection_id":90906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:24] local.INFO: Processing buffer {"connection_id":90906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:24] local.INFO: IMEI packet received {"connection_id":90906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":90906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:47:28] local.INFO: TCP Data received {"connection_id":90906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:28] local.INFO: Processing buffer {"connection_id":90906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:47:28] local.INFO: IMEI packet received {"connection_id":90906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":90906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:47:29] local.INFO: TCP Data received {"connection_id":90906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:47:29] local.INFO: Processing buffer {"connection_id":90906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:47:29] local.INFO: Packet analysis {"connection_id":90906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:47:29] local.INFO: Extracted packet for processing {"connection_id":90906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:47:29] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:29] 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-06-02 13:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:47:29] 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-06-02 13:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:47:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":90906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:47:30] local.INFO: GPS data processed {"connection_id":90906,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:47:30] local.INFO: Acknowledgment sent {"connection_id":90906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:47:43] local.INFO: TCP Data received {"connection_id":90905,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876713e0012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876713e0012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:47:43] local.INFO: Processing buffer {"connection_id":90905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876713e0012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:47:43] local.INFO: Packet analysis {"connection_id":90905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8767"} 
[2026-06-02 13:47:43] local.INFO: Extracted packet for processing {"connection_id":90905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8767"} 
[2026-06-02 13:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779358464001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:47: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-06-02 13:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780388140000,"timestamp_ms":1780388140000,"timestamp_seconds":1780388140,"priority":1,"record_length":96,"hex_timestamp":"0000019e876713e0"} 
[2026-06-02 13:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:47:43] 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-06-02 13:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:47:43] 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-06-02 13:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779358464001,"66":12178,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779358464001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:47:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:47:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779358464001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":90905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:47:43] local.INFO: GPS data processed {"connection_id":90905,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:47:43] local.INFO: Acknowledgment sent {"connection_id":90905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:48:01] local.INFO: TCP Data received {"connection_id":90906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:48:01] local.INFO: Processing buffer {"connection_id":90906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:48:01] local.INFO: Packet analysis {"connection_id":90906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:48:01] local.INFO: Extracted packet for processing {"connection_id":90906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:48:01] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:01] 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-06-02 13:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:48: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-06-02 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:48:01] 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-06-02 13:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:48:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":90906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:48:01] local.INFO: GPS data processed {"connection_id":90906,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:48:01] local.INFO: Acknowledgment sent {"connection_id":90906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:48:03] local.INFO: TCP Data received {"connection_id":89715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:48:03] local.INFO: Processing buffer {"connection_id":89715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:48:03] local.INFO: IMEI packet received {"connection_id":89715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":89715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:48:05] local.INFO: TCP Data received {"connection_id":89453,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:48:05] local.INFO: Processing buffer {"connection_id":89453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:48:05] local.INFO: IMEI packet received {"connection_id":89453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":89453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:48:10] local.INFO: TCP Data received {"connection_id":89453,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:48:10] local.INFO: Processing buffer {"connection_id":89453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:48:10] local.INFO: IMEI packet received {"connection_id":89453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":89453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:48:11] local.INFO: TCP Data received {"connection_id":89453,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876765e8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876765e8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:48:11] local.INFO: Processing buffer {"connection_id":89453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876765e8012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:48:11] local.INFO: Packet analysis {"connection_id":89453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8767"} 
[2026-06-02 13:48:11] local.INFO: Extracted packet for processing {"connection_id":89453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8767"} 
[2026-06-02 13:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779363840001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388161000,"timestamp_ms":1780388161000,"timestamp_seconds":1780388161,"priority":1,"record_length":96,"hex_timestamp":"0000019e876765e8"} 
[2026-06-02 13:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 13:48:11] 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-06-02 13:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779363840001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779363840001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:48:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779363840001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":89453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:48:11] local.INFO: GPS data processed {"connection_id":89453,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:48:11] local.INFO: Acknowledgment sent {"connection_id":89453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:48:23] local.INFO: TCP Data received {"connection_id":90907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:48:23] local.INFO: Processing buffer {"connection_id":90907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:48:23] local.INFO: IMEI packet received {"connection_id":90907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":90907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:48:29] local.INFO: TCP Data received {"connection_id":90907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:48:29] local.INFO: Processing buffer {"connection_id":90907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:48:29] local.INFO: IMEI packet received {"connection_id":90907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":90907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:48:30] local.INFO: TCP Data received {"connection_id":90907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:48:30] local.INFO: Processing buffer {"connection_id":90907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:48:30] local.INFO: Packet analysis {"connection_id":90907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:48:30] local.INFO: Extracted packet for processing {"connection_id":90907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:48:30] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:30] 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-06-02 13:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:48:30] 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-06-02 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:48:30] 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-06-02 13:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:48:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":90907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:48:30] local.INFO: GPS data processed {"connection_id":90907,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:48:30] local.INFO: Acknowledgment sent {"connection_id":90907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:48:42] local.INFO: TCP Data received {"connection_id":89453,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8767b7f0012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8767b7f0012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:48:42] local.INFO: Processing buffer {"connection_id":89453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8767b7f0012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:48:42] local.INFO: Packet analysis {"connection_id":89453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8767"} 
[2026-06-02 13:48:42] local.INFO: Extracted packet for processing {"connection_id":89453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8767"} 
[2026-06-02 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779369216001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388182000,"timestamp_ms":1780388182000,"timestamp_seconds":1780388182,"priority":1,"record_length":96,"hex_timestamp":"0000019e8767b7f0"} 
[2026-06-02 13:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 13:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:48:42] 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-06-02 13:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779369216001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779369216001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:48:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779369216001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":89453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:48:42] local.INFO: GPS data processed {"connection_id":89453,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:48:42] local.INFO: Acknowledgment sent {"connection_id":89453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:49:01] local.INFO: TCP Data received {"connection_id":90907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:49:01] local.INFO: Processing buffer {"connection_id":90907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:49:01] local.INFO: Packet analysis {"connection_id":90907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:01] local.INFO: Extracted packet for processing {"connection_id":90907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:01] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:01] 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-06-02 13:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:49: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-06-02 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13: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-06-02 13:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:49: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-06-02 13:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:49:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":90907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:49:01] local.INFO: GPS data processed {"connection_id":90907,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:49:01] local.INFO: Acknowledgment sent {"connection_id":90907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:49:06] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:06] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:06] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:49:10] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:10] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:10] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:49:15] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:15] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:49:15] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:49:16] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876809f8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876809f8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:49:16] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876809f8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:49:16] local.INFO: Packet analysis {"connection_id":89716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:16] local.INFO: Extracted packet for processing {"connection_id":89716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779374592001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49: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-06-02 13:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780388203000,"timestamp_ms":1780388203000,"timestamp_seconds":1780388203,"priority":1,"record_length":96,"hex_timestamp":"0000019e876809f8"} 
[2026-06-02 13:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:49: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-06-02 13:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779374592001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779374592001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:49:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779374592001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":89716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:49:16] local.INFO: GPS data processed {"connection_id":89716,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:49:16] local.INFO: Acknowledgment sent {"connection_id":89716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:49:21] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87685c00012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87685c00012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:49:21] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87685c00012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:49:21] local.INFO: Packet analysis {"connection_id":89716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:21] local.INFO: Extracted packet for processing {"connection_id":89716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779379968001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49: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-06-02 13:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780388224000,"timestamp_ms":1780388224000,"timestamp_seconds":1780388224,"priority":1,"record_length":96,"hex_timestamp":"0000019e87685c00"} 
[2026-06-02 13:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:49: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-06-02 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:49:21] 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-06-02 13: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-06-02 13:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:49:21] 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-06-02 13:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779379968001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779379968001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:49:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779379968001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":89716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:49:21] local.INFO: GPS data processed {"connection_id":89716,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:49:21] local.INFO: Acknowledgment sent {"connection_id":89716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:49:23] local.INFO: TCP Data received {"connection_id":90908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:49:23] local.INFO: Processing buffer {"connection_id":90908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:49:23] local.INFO: IMEI packet received {"connection_id":90908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":90908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:49:28] local.INFO: TCP Data received {"connection_id":90908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:49:28] local.INFO: Processing buffer {"connection_id":90908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:49:28] local.INFO: IMEI packet received {"connection_id":90908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":90908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:49:29] local.INFO: TCP Data received {"connection_id":90908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:49:29] local.INFO: Processing buffer {"connection_id":90908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:49:29] local.INFO: Packet analysis {"connection_id":90908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:29] local.INFO: Extracted packet for processing {"connection_id":90908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:49:29] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:49:29] 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-06-02 13:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:49:29] 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-06-02 13:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:49:29] 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-06-02 13:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:49:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":90908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:49:30] local.INFO: GPS data processed {"connection_id":90908,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:49:30] local.INFO: Acknowledgment sent {"connection_id":90908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:50:02] local.INFO: TCP Data received {"connection_id":90908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:02] local.INFO: Processing buffer {"connection_id":90908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:02] local.INFO: Packet analysis {"connection_id":90908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:02] local.INFO: Extracted packet for processing {"connection_id":90908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:02] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:02] 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-06-02 13:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:50:02] 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-06-02 13:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:50: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-06-02 13:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:50:02] 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-06-02 13:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:50:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":90908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:50:02] local.INFO: GPS data processed {"connection_id":90908,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:50:02] local.INFO: Acknowledgment sent {"connection_id":90908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:50:05] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:50:05] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:50:05] local.INFO: IMEI packet received {"connection_id":89454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":89454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:50:10] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:50:10] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:50:10] local.INFO: IMEI packet received {"connection_id":89454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":89454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:50:10] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8768ae08012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8768ae08012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:50:10] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8768ae08012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:50:10] local.INFO: Packet analysis {"connection_id":89454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:10] local.INFO: Extracted packet for processing {"connection_id":89454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779385344001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780388245000,"timestamp_ms":1780388245000,"timestamp_seconds":1780388245,"priority":1,"record_length":96,"hex_timestamp":"0000019e8768ae08"} 
[2026-06-02 13:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:50:10] 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-06-02 13:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:50:10] 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-06-02 13:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779385344001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779385344001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779385344001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":89454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:50:10] local.INFO: GPS data processed {"connection_id":89454,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:50:10] local.INFO: Acknowledgment sent {"connection_id":89454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:50:29] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:50:29] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:50:29] local.INFO: IMEI packet received {"connection_id":89455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":89455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:50:33] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:50:33] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:50:33] local.INFO: IMEI packet received {"connection_id":89455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":89455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:50:35] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:35] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:35] local.INFO: Packet analysis {"connection_id":89455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:35] local.INFO: Extracted packet for processing {"connection_id":89455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:35] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:35] 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-06-02 13:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:50:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":89455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:50:35] local.INFO: GPS data processed {"connection_id":89455,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:50:35] local.INFO: Acknowledgment sent {"connection_id":89455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:50:40] local.INFO: TCP Data received {"connection_id":89455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:40] local.INFO: Processing buffer {"connection_id":89455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:50:40] local.INFO: Packet analysis {"connection_id":89455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:40] local.INFO: Extracted packet for processing {"connection_id":89455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:50:40] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:40] 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-06-02 13:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:50:40] 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-06-02 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:50:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":89455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:50:40] local.INFO: GPS data processed {"connection_id":89455,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:50:40] local.INFO: Acknowledgment sent {"connection_id":89455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:50:41] local.INFO: TCP Data received {"connection_id":89454,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87690010012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87690010012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:50:41] local.INFO: Processing buffer {"connection_id":89454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87690010012d1967c0071fedb80043010a28..."} 
[2026-06-02 13:50:41] local.INFO: Packet analysis {"connection_id":89454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:50:41] local.INFO: Extracted packet for processing {"connection_id":89454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779390720001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780388266000,"timestamp_ms":1780388266000,"timestamp_seconds":1780388266,"priority":1,"record_length":96,"hex_timestamp":"0000019e87690010"} 
[2026-06-02 13:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:50:41] 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-06-02 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:50:41] 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-06-02 13:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779390720001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779390720001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:50:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779390720001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":89454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:50:42] local.INFO: GPS data processed {"connection_id":89454,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:50:42] local.INFO: Acknowledgment sent {"connection_id":89454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:51:05] local.INFO: TCP Data received {"connection_id":90910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:51:05] local.INFO: Processing buffer {"connection_id":90910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:51:05] local.INFO: IMEI packet received {"connection_id":90910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":90910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:51:10] local.INFO: TCP Data received {"connection_id":90910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:51:10] local.INFO: Processing buffer {"connection_id":90910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:51:10] local.INFO: IMEI packet received {"connection_id":90910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":90910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:51:11] local.INFO: TCP Data received {"connection_id":90910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87695218012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87695218012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:51:11] local.INFO: Processing buffer {"connection_id":90910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87695218012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:51:11] local.INFO: Packet analysis {"connection_id":90910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:51:11] local.INFO: Extracted packet for processing {"connection_id":90910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779396096001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388287000,"timestamp_ms":1780388287000,"timestamp_seconds":1780388287,"priority":1,"record_length":96,"hex_timestamp":"0000019e87695218"} 
[2026-06-02 13:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779396096001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779396096001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:51:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779396096001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":90910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:51:11] local.INFO: GPS data processed {"connection_id":90910,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:51:11] local.INFO: Acknowledgment sent {"connection_id":90910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:51:23] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:51:23] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:51:23] local.INFO: IMEI packet received {"connection_id":89456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":89456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:51:28] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:51:28] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:51:28] local.INFO: IMEI packet received {"connection_id":89456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":89456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:51:30] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:51:30] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:51:30] local.INFO: Packet analysis {"connection_id":89456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:51:30] local.INFO: Extracted packet for processing {"connection_id":89456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:51: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-06-02 13:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:30] 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-06-02 13:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:51:30] 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-06-02 13:51: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:51: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-06-02 13:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:51:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":89456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:51:30] local.INFO: GPS data processed {"connection_id":89456,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:51:30] local.INFO: Acknowledgment sent {"connection_id":89456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:51:42] local.INFO: TCP Data received {"connection_id":90910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8769a420012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8769a420012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:51:42] local.INFO: Processing buffer {"connection_id":90910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8769a420012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:51:42] local.INFO: Packet analysis {"connection_id":90910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:51:42] local.INFO: Extracted packet for processing {"connection_id":90910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779401472001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388308000,"timestamp_ms":1780388308000,"timestamp_seconds":1780388308,"priority":1,"record_length":96,"hex_timestamp":"0000019e8769a420"} 
[2026-06-02 13:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 13:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:51:42] 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-06-02 13:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779401472001,"66":11917,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779401472001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:51:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779401472001,"power":11917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":90910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:51:43] local.INFO: GPS data processed {"connection_id":90910,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:51:43] local.INFO: Acknowledgment sent {"connection_id":90910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:52:02] local.INFO: TCP Data received {"connection_id":89456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:52:02] local.INFO: Processing buffer {"connection_id":89456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87681998012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:52:02] local.INFO: Packet analysis {"connection_id":89456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:52:02] local.INFO: Extracted packet for processing {"connection_id":89456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8768"} 
[2026-06-02 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779303936001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117898286028027904,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:02] 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-06-02 13:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780388207000,"timestamp_ms":1780388207000,"timestamp_seconds":1780388207,"priority":1,"record_length":96,"hex_timestamp":"0000019e87681998"} 
[2026-06-02 13:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:52:02] 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-06-02 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 13:52: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-06-02 13:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779303936001,"66":26376,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3117898286028027904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779303936001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117898286028027904,"description":"Unknown IO ID 44"} 
[2026-06-02 13:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779303936001,"power":26376,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3117898286028027904}} 
[2026-06-02 13:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":89456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:52:02] local.INFO: GPS data processed {"connection_id":89456,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:52:02] local.INFO: Acknowledgment sent {"connection_id":89456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:52:05] local.INFO: TCP Data received {"connection_id":89719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:52:05] local.INFO: Processing buffer {"connection_id":89719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:52:05] local.INFO: IMEI packet received {"connection_id":89719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":89719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:52:10] local.INFO: TCP Data received {"connection_id":89719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:52:11] local.INFO: Processing buffer {"connection_id":89719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:52:11] local.INFO: IMEI packet received {"connection_id":89719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":89719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:52:11] local.INFO: TCP Data received {"connection_id":89719,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8769f628012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8769f628012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:52:11] local.INFO: Processing buffer {"connection_id":89719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8769f628012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:52:11] local.INFO: Packet analysis {"connection_id":89719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:52:11] local.INFO: Extracted packet for processing {"connection_id":89719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8769"} 
[2026-06-02 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779406848001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388329000,"timestamp_ms":1780388329000,"timestamp_seconds":1780388329,"priority":1,"record_length":96,"hex_timestamp":"0000019e8769f628"} 
[2026-06-02 13:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 13:52:11] 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-06-02 13:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779406848001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779406848001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:52:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779406848001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":89719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:52:12] local.INFO: GPS data processed {"connection_id":89719,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:52:12] local.INFO: Acknowledgment sent {"connection_id":89719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:52:23] local.INFO: TCP Data received {"connection_id":90911,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:23] local.INFO: Processing buffer {"connection_id":90911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:23] local.INFO: IMEI packet received {"connection_id":90911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":90911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:52:25] local.INFO: TCP Data received {"connection_id":90911,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:25] local.INFO: Processing buffer {"connection_id":90911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:25] local.INFO: IMEI packet received {"connection_id":90911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":90911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:52:28] local.INFO: TCP Data received {"connection_id":90911,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:28] local.INFO: Processing buffer {"connection_id":90911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:52:28] local.INFO: IMEI packet received {"connection_id":90911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":90911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:52:30] local.INFO: TCP Data received {"connection_id":90911,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:52:30] local.INFO: Processing buffer {"connection_id":90911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:52:30] local.INFO: Packet analysis {"connection_id":90911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:52:30] local.INFO: Extracted packet for processing {"connection_id":90911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:52:30] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779380992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:30] 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-06-02 13:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780388508000,"timestamp_ms":1780388508000,"timestamp_seconds":1780388508,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cb160"} 
[2026-06-02 13:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:52:30] 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-06-02 13:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 13:52:30] 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-06-02 13:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:52:30] 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-06-02 13:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779380992001,"66":26202,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779380992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:52:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779380992001,"power":26202,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":90911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:52:30] local.INFO: GPS data processed {"connection_id":90911,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:52:30] local.INFO: Acknowledgment sent {"connection_id":90911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:52:34] local.INFO: TCP Data received {"connection_id":90911,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:52:34] local.INFO: Processing buffer {"connection_id":90911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:52:34] local.INFO: Packet analysis {"connection_id":90911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:52:34] local.INFO: Extracted packet for processing {"connection_id":90911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:52:34] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779380992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:34] 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-06-02 13:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780388508000,"timestamp_ms":1780388508000,"timestamp_seconds":1780388508,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cb160"} 
[2026-06-02 13:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:52:34] 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-06-02 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 13:52:34] 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-06-02 13: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-06-02 13:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779380992001,"66":26202,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779380992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:52:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779380992001,"power":26202,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":90911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:52:34] local.INFO: GPS data processed {"connection_id":90911,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:52:34] local.INFO: Acknowledgment sent {"connection_id":90911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:52:43] local.INFO: TCP Data received {"connection_id":89719,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876a4830012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876a4830012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:52:43] local.INFO: Processing buffer {"connection_id":89719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876a4830012d1967c0071fedb80043010a23..."} 
[2026-06-02 13:52:43] local.INFO: Packet analysis {"connection_id":89719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876a"} 
[2026-06-02 13:52:43] local.INFO: Extracted packet for processing {"connection_id":89719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876a"} 
[2026-06-02 13:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779412224001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:52: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-06-02 13:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780388350000,"timestamp_ms":1780388350000,"timestamp_seconds":1780388350,"priority":1,"record_length":96,"hex_timestamp":"0000019e876a4830"} 
[2026-06-02 13:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:52:43] 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-06-02 13:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:52:43] 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-06-02 13:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779412224001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779412224001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:52:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779412224001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":89719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:52:43] local.INFO: GPS data processed {"connection_id":89719,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:52:43] local.INFO: Acknowledgment sent {"connection_id":89719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:53:05] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:53:05] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:53:05] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:53:06] local.INFO: TCP Data received {"connection_id":90911,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:53:06] local.INFO: Processing buffer {"connection_id":90911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:53:06] local.INFO: Packet analysis {"connection_id":90911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:53:06] local.INFO: Extracted packet for processing {"connection_id":90911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779380992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780388508000,"timestamp_ms":1780388508000,"timestamp_seconds":1780388508,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cb160"} 
[2026-06-02 13:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 13:53:06] 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-06-02 13: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-06-02 13:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779380992001,"66":26202,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779380992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:53:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779380992001,"power":26202,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":90911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:53:06] local.INFO: GPS data processed {"connection_id":90911,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:53:06] local.INFO: Acknowledgment sent {"connection_id":90911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:53:10] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:53:10] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:53:10] local.INFO: IMEI packet received {"connection_id":89458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":89458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:53:11] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876a9a38012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876a9a38012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:53:11] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876a9a38012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:53:11] local.INFO: Packet analysis {"connection_id":89458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876a"} 
[2026-06-02 13:53:11] local.INFO: Extracted packet for processing {"connection_id":89458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876a"} 
[2026-06-02 13:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779417600001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388371000,"timestamp_ms":1780388371000,"timestamp_seconds":1780388371,"priority":1,"record_length":96,"hex_timestamp":"0000019e876a9a38"} 
[2026-06-02 13:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779417600001,"66":12254,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779417600001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:53:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779417600001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":89458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:53:11] local.INFO: GPS data processed {"connection_id":89458,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:53:11] local.INFO: Acknowledgment sent {"connection_id":89458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:53:23] local.INFO: TCP Data received {"connection_id":90912,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:53:23] local.INFO: Processing buffer {"connection_id":90912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:53:23] local.INFO: IMEI packet received {"connection_id":90912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":90912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:53:28] local.INFO: TCP Data received {"connection_id":90912,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:53:28] local.INFO: Processing buffer {"connection_id":90912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:53:28] local.INFO: IMEI packet received {"connection_id":90912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":90912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:53:30] local.INFO: TCP Data received {"connection_id":90912,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:53:30] local.INFO: Processing buffer {"connection_id":90912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:53:30] local.INFO: Packet analysis {"connection_id":90912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:53:30] local.INFO: Extracted packet for processing {"connection_id":90912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779380992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:30] 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-06-02 13:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780388508000,"timestamp_ms":1780388508000,"timestamp_seconds":1780388508,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cb160"} 
[2026-06-02 13:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:53:30] 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-06-02 13:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 13:53:30] 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-06-02 13:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:53: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-06-02 13:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779380992001,"66":26202,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"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-06-02 13:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779380992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:53:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779380992001,"power":26202,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":90912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:53:30] local.INFO: GPS data processed {"connection_id":90912,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:53:30] local.INFO: Acknowledgment sent {"connection_id":90912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:53:33] local.INFO: TCP Data received {"connection_id":89457,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:53:33] local.INFO: Processing buffer {"connection_id":89457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:53:33] local.INFO: IMEI packet received {"connection_id":89457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":89457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:53:43] local.INFO: TCP Data received {"connection_id":89458,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876aec40012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876aec40012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:53:43] local.INFO: Processing buffer {"connection_id":89458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876aec40012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:53:43] local.INFO: Packet analysis {"connection_id":89458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876a"} 
[2026-06-02 13:53:43] local.INFO: Extracted packet for processing {"connection_id":89458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876a"} 
[2026-06-02 13:53:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779422976001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:53: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-06-02 13:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780388392000,"timestamp_ms":1780388392000,"timestamp_seconds":1780388392,"priority":1,"record_length":96,"hex_timestamp":"0000019e876aec40"} 
[2026-06-02 13:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:53:43] 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-06-02 13:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 13:53:43] 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-06-02 13:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:53:43] 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-06-02 13:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779422976001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779422976001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:53:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:53:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779422976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":89458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:53:43] local.INFO: GPS data processed {"connection_id":89458,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:53:43] local.INFO: Acknowledgment sent {"connection_id":89458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:53:58] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:53:58] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:53:58] local.INFO: IMEI packet received {"connection_id":89720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":89720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:54:01] local.INFO: TCP Data received {"connection_id":90912,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:54:01] local.INFO: Processing buffer {"connection_id":90912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:54:01] local.INFO: Packet analysis {"connection_id":90912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:54:01] local.INFO: Extracted packet for processing {"connection_id":90912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:54:01] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779380992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:01] 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-06-02 13:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780388508000,"timestamp_ms":1780388508000,"timestamp_seconds":1780388508,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cb160"} 
[2026-06-02 13:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:54: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-06-02 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 13:54: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-06-02 13: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-06-02 13:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:54: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-06-02 13:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779380992001,"66":26202,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"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-06-02 13:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779380992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:54:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779380992001,"power":26202,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":90912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:54:01] local.INFO: GPS data processed {"connection_id":90912,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:54:01] local.INFO: Acknowledgment sent {"connection_id":90912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:54:10] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:54:10] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:54:10] local.INFO: IMEI packet received {"connection_id":89721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":89721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:54:15] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:54:15] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:54:15] local.INFO: IMEI packet received {"connection_id":89721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":89721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:54:16] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876b3e48012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876b3e48012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:54:16] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876b3e48012d1967c0071fedb80043010a25..."} 
[2026-06-02 13:54:16] local.INFO: Packet analysis {"connection_id":89721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876b"} 
[2026-06-02 13:54:16] local.INFO: Extracted packet for processing {"connection_id":89721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876b"} 
[2026-06-02 13:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779428352001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54: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-06-02 13:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780388413000,"timestamp_ms":1780388413000,"timestamp_seconds":1780388413,"priority":1,"record_length":96,"hex_timestamp":"0000019e876b3e48"} 
[2026-06-02 13:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:54: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-06-02 13:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779428352001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779428352001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:54:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779428352001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":89721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:54:16] local.INFO: GPS data processed {"connection_id":89721,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:54:16] local.INFO: Acknowledgment sent {"connection_id":89721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:54:21] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876b9050012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876b9050012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:54:21] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876b9050012d1967c0071fedb80043010a24..."} 
[2026-06-02 13:54:21] local.INFO: Packet analysis {"connection_id":89721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876b"} 
[2026-06-02 13:54:21] local.INFO: Extracted packet for processing {"connection_id":89721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876b"} 
[2026-06-02 13:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779433728001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54: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-06-02 13:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780388434000,"timestamp_ms":1780388434000,"timestamp_seconds":1780388434,"priority":1,"record_length":96,"hex_timestamp":"0000019e876b9050"} 
[2026-06-02 13:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:54:21] 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-06-02 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:54:21] 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-06-02 13: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-06-02 13:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:54:21] 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-06-02 13:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779433728001,"66":11602,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779433728001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779433728001,"power":11602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":89721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:54:21] local.INFO: GPS data processed {"connection_id":89721,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:54:21] local.INFO: Acknowledgment sent {"connection_id":89721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:54:23] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:54:23] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:54:23] local.INFO: IMEI packet received {"connection_id":89843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":89843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:54:28] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:54:28] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:54:28] local.INFO: IMEI packet received {"connection_id":89843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":89843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:54:29] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:54:29] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:54:29] local.INFO: Packet analysis {"connection_id":89843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:54:29] local.INFO: Extracted packet for processing {"connection_id":89843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:54:29] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779380992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:54:29] 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-06-02 13:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780388508000,"timestamp_ms":1780388508000,"timestamp_seconds":1780388508,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cb160"} 
[2026-06-02 13:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:54:29] 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-06-02 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 13:54:29] 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-06-02 13: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-06-02 13:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:54:29] 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-06-02 13:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779380992001,"66":26202,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779380992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:54:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779380992001,"power":26202,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":89843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:54:29] local.INFO: GPS data processed {"connection_id":89843,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:54:29] local.INFO: Acknowledgment sent {"connection_id":89843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:55:01] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:55:01] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cb160012cd4b04007377a30000700ff29..."} 
[2026-06-02 13:55:01] local.INFO: Packet analysis {"connection_id":89843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:55:01] local.INFO: Extracted packet for processing {"connection_id":89843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:55:01] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779380992001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:01] 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-06-02 13:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780388508000,"timestamp_ms":1780388508000,"timestamp_seconds":1780388508,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cb160"} 
[2026-06-02 13:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:55: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-06-02 13:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 13:55: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-06-02 13:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:55: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-06-02 13:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779380992001,"66":26202,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779380992001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:55:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779380992001,"power":26202,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":89843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:55:01] local.INFO: GPS data processed {"connection_id":89843,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:55:01] local.INFO: Acknowledgment sent {"connection_id":89843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:55:04] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:04] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:04] local.INFO: IMEI packet received {"connection_id":89722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":89722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:55:05] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:05] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:05] local.INFO: IMEI packet received {"connection_id":89722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":89722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:55:10] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:10] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:55:10] local.INFO: IMEI packet received {"connection_id":89722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":89722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:55:11] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876be258012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876be258012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:55:11] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876be258012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:55:11] local.INFO: Packet analysis {"connection_id":89722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876b"} 
[2026-06-02 13:55:11] local.INFO: Extracted packet for processing {"connection_id":89722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876b"} 
[2026-06-02 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779439104001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388455000,"timestamp_ms":1780388455000,"timestamp_seconds":1780388455,"priority":1,"record_length":96,"hex_timestamp":"0000019e876be258"} 
[2026-06-02 13:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 13:55:11] 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-06-02 13:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779439104001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779439104001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779439104001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":89722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:55:11] local.INFO: GPS data processed {"connection_id":89722,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:55:11] local.INFO: Acknowledgment sent {"connection_id":89722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:55:24] local.INFO: TCP Data received {"connection_id":90913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:24] local.INFO: Processing buffer {"connection_id":90913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:24] local.INFO: IMEI packet received {"connection_id":90913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":90913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:55:28] local.INFO: TCP Data received {"connection_id":90913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:28] local.INFO: Processing buffer {"connection_id":90913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:28] local.INFO: IMEI packet received {"connection_id":90913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":90913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:55:33] local.INFO: TCP Data received {"connection_id":90913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:33] local.INFO: Processing buffer {"connection_id":90913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:55:33] local.INFO: IMEI packet received {"connection_id":90913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":90913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:55:35] local.INFO: TCP Data received {"connection_id":90913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e876f5cf8012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876f5cf8012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:55:35] local.INFO: Processing buffer {"connection_id":90913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876f5cf8012cd4b04007377a30000700ff26..."} 
[2026-06-02 13:55:35] local.INFO: Packet analysis {"connection_id":90913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876f"} 
[2026-06-02 13:55:35] local.INFO: Extracted packet for processing {"connection_id":90913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876f"} 
[2026-06-02 13:55:35] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076272,"longitude_deg":75.2136256,"latitude_deg":12.1076272,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779458048001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:35] 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-06-02 13:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780388683000,"timestamp_ms":1780388683000,"timestamp_seconds":1780388683,"priority":1,"record_length":96,"hex_timestamp":"0000019e876f5cf8"} 
[2026-06-02 13:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 13:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-06-02 13:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779458048001,"66":26082,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779458048001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:55:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779458048001,"power":26082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":90913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:55:35] local.INFO: GPS data processed {"connection_id":90913,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:55:35] local.INFO: Acknowledgment sent {"connection_id":90913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:55:39] local.INFO: TCP Data received {"connection_id":90913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e876f6c98012cd4af40073779b8000700f126..."} 
[2026-06-02 13:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876f6c98012cd4af40073779b8000700f126..."} 
[2026-06-02 13:55:39] local.INFO: Processing buffer {"connection_id":90913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876f6c98012cd4af40073779b8000700f126..."} 
[2026-06-02 13:55:39] local.INFO: Packet analysis {"connection_id":90913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876f"} 
[2026-06-02 13:55:39] local.INFO: Extracted packet for processing {"connection_id":90913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876f"} 
[2026-06-02 13:55:39] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076152,"longitude_deg":75.2136,"latitude_deg":12.1076152,"altitude":7,"angle":241,"satellites":38,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"073779b8","is_valid_coordinates":true} 
[2026-06-02 13:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779502848001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142028050432,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:39] 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-06-02 13:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780388687000,"timestamp_ms":1780388687000,"timestamp_seconds":1780388687,"priority":1,"record_length":96,"hex_timestamp":"0000019e876f6c98"} 
[2026-06-02 13:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:55: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-06-02 13:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 13:55:39] 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-06-02 13:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779502848001,"66":27615,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3120924142028050432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779502848001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:55:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142028050432,"description":"Unknown IO ID 44"} 
[2026-06-02 13:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779502848001,"power":27615,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120924142028050432}} 
[2026-06-02 13:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":90913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:55:39] local.INFO: GPS data processed {"connection_id":90913,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:55:39] local.INFO: Acknowledgment sent {"connection_id":90913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:55:42] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876c3460012d1967c0071fedb80043010a21..."} 
[2026-06-02 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876c3460012d1967c0071fedb80043010a21..."} 
[2026-06-02 13:55:42] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876c3460012d1967c0071fedb80043010a21..."} 
[2026-06-02 13:55:42] local.INFO: Packet analysis {"connection_id":89722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:55:42] local.INFO: Extracted packet for processing {"connection_id":89722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779444480001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388476000,"timestamp_ms":1780388476000,"timestamp_seconds":1780388476,"priority":1,"record_length":96,"hex_timestamp":"0000019e876c3460"} 
[2026-06-02 13:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:55:42] 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-06-02 13:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779444480001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779444480001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:55:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779444480001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":89722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:55:43] local.INFO: GPS data processed {"connection_id":89722,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:55:43] local.INFO: Acknowledgment sent {"connection_id":89722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:56:05] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:05] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:05] local.INFO: IMEI packet received {"connection_id":89724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":89724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:56:06] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:06] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:06] local.INFO: IMEI packet received {"connection_id":89724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":89724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:56:10] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:10] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:56:10] local.INFO: IMEI packet received {"connection_id":89724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":89724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:56:11] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876c8668012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876c8668012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:56:11] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876c8668012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:56:11] local.INFO: Packet analysis {"connection_id":89724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:56:11] local.INFO: Extracted packet for processing {"connection_id":89724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779449856001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388497000,"timestamp_ms":1780388497000,"timestamp_seconds":1780388497,"priority":1,"record_length":96,"hex_timestamp":"0000019e876c8668"} 
[2026-06-02 13:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779449856001,"66":12254,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779449856001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:56:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779449856001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":89724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:56:11] local.INFO: GPS data processed {"connection_id":89724,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:56:11] local.INFO: Acknowledgment sent {"connection_id":89724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:56:23] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:23] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:23] local.INFO: IMEI packet received {"connection_id":89725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":89725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:56:24] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:24] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:24] local.INFO: IMEI packet received {"connection_id":89725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:56:25] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:25] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:25] local.INFO: IMEI packet received {"connection_id":89725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":89725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:56:28] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:28] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:56:28] local.INFO: IMEI packet received {"connection_id":89725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":89725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:56:30] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e876fbea0012cd4af40073779b8000700f127..."} 
[2026-06-02 13:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876fbea0012cd4af40073779b8000700f127..."} 
[2026-06-02 13:56:30] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876fbea0012cd4af40073779b8000700f127..."} 
[2026-06-02 13:56:30] local.INFO: Packet analysis {"connection_id":89725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876f"} 
[2026-06-02 13:56:30] local.INFO: Extracted packet for processing {"connection_id":89725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876f"} 
[2026-06-02 13:56:30] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076152,"longitude_deg":75.2136,"latitude_deg":12.1076152,"altitude":7,"angle":241,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"073779b8","is_valid_coordinates":true} 
[2026-06-02 13:56: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-06-02 13:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779503872001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004791808,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:30] 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-06-02 13:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780388708000,"timestamp_ms":1780388708000,"timestamp_seconds":1780388708,"priority":1,"record_length":96,"hex_timestamp":"0000019e876fbea0"} 
[2026-06-02 13:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:56:30] 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-06-02 13:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 13:56:30] 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-06-02 13:56: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-06-02 13:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:56:30] 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-06-02 13:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779503872001,"66":28050,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3121205617004791808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779503872001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:56:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004791808,"description":"Unknown IO ID 44"} 
[2026-06-02 13:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779503872001,"power":28050,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004791808}} 
[2026-06-02 13:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":89725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:56:30] local.INFO: GPS data processed {"connection_id":89725,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:56:30] local.INFO: Acknowledgment sent {"connection_id":89725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:56:42] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e876cd870012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e876cd870012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:56:42] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e876cd870012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:56:42] local.INFO: Packet analysis {"connection_id":89724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:56:42] local.INFO: Extracted packet for processing {"connection_id":89724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e876c"} 
[2026-06-02 13:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779455232001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388518000,"timestamp_ms":1780388518000,"timestamp_seconds":1780388518,"priority":1,"record_length":96,"hex_timestamp":"0000019e876cd870"} 
[2026-06-02 13:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 13:56:42] 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-06-02 13:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:56:42] 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-06-02 13:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779455232001,"66":12265,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779455232001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:56:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779455232001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":89724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:56:42] local.INFO: GPS data processed {"connection_id":89724,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:56:42] local.INFO: Acknowledgment sent {"connection_id":89724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:57:01] local.INFO: TCP Data received {"connection_id":89725,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e877010a8012cd4af40073779b8000700f126..."} 
[2026-06-02 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877010a8012cd4af40073779b8000700f126..."} 
[2026-06-02 13:57:01] local.INFO: Processing buffer {"connection_id":89725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877010a8012cd4af40073779b8000700f126..."} 
[2026-06-02 13:57:01] local.INFO: Packet analysis {"connection_id":89725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:01] local.INFO: Extracted packet for processing {"connection_id":89725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076152,"longitude_deg":75.2136,"latitude_deg":12.1076152,"altitude":7,"angle":241,"satellites":38,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"073779b8","is_valid_coordinates":true} 
[2026-06-02 13:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779509248001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694945832861696,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004791808,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:01] 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-06-02 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780388729000,"timestamp_ms":1780388729000,"timestamp_seconds":1780388729,"priority":1,"record_length":96,"hex_timestamp":"0000019e877010a8"} 
[2026-06-02 13:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 13:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:57: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-06-02 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779509248001,"66":27865,"89":206,"83":43264,"24":0,"16":305694945832861696,"44":-3121205617004791808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779509248001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:57:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694945832861696,"km_value":305694945832861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004791808,"description":"Unknown IO ID 44"} 
[2026-06-02 13:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779509248001,"power":27865,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004791808}} 
[2026-06-02 13:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":89725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:57:02] local.INFO: GPS data processed {"connection_id":89725,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:57:02] local.INFO: Acknowledgment sent {"connection_id":89725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:57:06] local.INFO: TCP Data received {"connection_id":89461,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:57:06] local.INFO: Processing buffer {"connection_id":89461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:57:06] local.INFO: IMEI packet received {"connection_id":89461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":89461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:57:10] local.INFO: TCP Data received {"connection_id":89461,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:57:10] local.INFO: Processing buffer {"connection_id":89461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:57:10] local.INFO: IMEI packet received {"connection_id":89461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":89461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:57:10] local.INFO: TCP Data received {"connection_id":89461,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87705ec8012d1967c0071fedb80043010a21..."} 
[2026-06-02 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87705ec8012d1967c0071fedb80043010a21..."} 
[2026-06-02 13:57:10] local.INFO: Processing buffer {"connection_id":89461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87705ec8012d1967c0071fedb80043010a21..."} 
[2026-06-02 13:57:10] local.INFO: Packet analysis {"connection_id":89461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:10] local.INFO: Extracted packet for processing {"connection_id":89461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780388749000,"timestamp_ms":1780388749000,"timestamp_seconds":1780388749,"priority":1,"record_length":96,"hex_timestamp":"0000019e87705ec8"} 
[2026-06-02 13:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 13:57:10] 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-06-02 13:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:57:10] 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-06-02 13:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779514368001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:57:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779514368001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":89461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:57:11] local.INFO: GPS data processed {"connection_id":89461,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:57:11] local.INFO: Acknowledgment sent {"connection_id":89461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:57:23] local.INFO: TCP Data received {"connection_id":90914,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:57:23] local.INFO: Processing buffer {"connection_id":90914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:57:23] local.INFO: IMEI packet received {"connection_id":90914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":90914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:57:29] local.INFO: TCP Data received {"connection_id":90914,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:57:29] local.INFO: Processing buffer {"connection_id":90914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:57:29] local.INFO: IMEI packet received {"connection_id":90914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":90914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:57:30] local.INFO: TCP Data received {"connection_id":90914,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87704758012cd4ac40073779a0000e012425..."} 
[2026-06-02 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87704758012cd4ac40073779a0000e012425..."} 
[2026-06-02 13:57:30] local.INFO: Processing buffer {"connection_id":90914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87704758012cd4ac40073779a0000e012425..."} 
[2026-06-02 13:57:30] local.INFO: Packet analysis {"connection_id":90914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:30] local.INFO: Extracted packet for processing {"connection_id":90914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:30] local.INFO: GPS Element Parsed {"raw_longitude":752135232,"raw_latitude":121076128,"longitude_deg":75.2135232,"latitude_deg":12.1076128,"altitude":14,"angle":292,"satellites":37,"speed":3,"hex_longitude":"2cd4ac40","hex_latitude":"073779a0","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779514624001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694980192600064,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004791808,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:30] 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-06-02 13:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780388743000,"timestamp_ms":1780388743000,"timestamp_seconds":1780388743,"priority":1,"record_length":96,"hex_timestamp":"0000019e87704758"} 
[2026-06-02 13:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:57:30] 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-06-02 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 13:57: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-06-02 13: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-06-02 13:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:57:30] 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-06-02 13:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779514624001,"66":27789,"89":206,"83":43264,"24":3,"16":305694980192600064,"44":-3121205617004791808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779514624001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:57:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694980192600064,"km_value":305694980192600.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004791808,"description":"Unknown IO ID 44"} 
[2026-06-02 13:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779514624001,"power":27789,"unknown_89":206,"unknown_83":43264,"ignition":3,"odometer":null,"unknown_44":-3121205617004791808}} 
[2026-06-02 13:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":90914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:57:30] local.INFO: GPS data processed {"connection_id":90914,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:57:30] local.INFO: Acknowledgment sent {"connection_id":90914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:57:42] local.INFO: TCP Data received {"connection_id":89461,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8770b0d0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8770b0d0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:57:42] local.INFO: Processing buffer {"connection_id":89461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8770b0d0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:57:42] local.INFO: Packet analysis {"connection_id":89461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:42] local.INFO: Extracted packet for processing {"connection_id":89461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779519744001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388770000,"timestamp_ms":1780388770000,"timestamp_seconds":1780388770,"priority":1,"record_length":96,"hex_timestamp":"0000019e8770b0d0"} 
[2026-06-02 13:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:57:42] 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-06-02 13:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779519744001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779519744001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:57:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779519744001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":89461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:57:42] local.INFO: GPS data processed {"connection_id":89461,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:57:42] local.INFO: Acknowledgment sent {"connection_id":89461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:58:02] local.INFO: TCP Data received {"connection_id":90914,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87705310012cd4ab0007377a30000e010c28..."} 
[2026-06-02 13:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87705310012cd4ab0007377a30000e010c28..."} 
[2026-06-02 13:58:02] local.INFO: Processing buffer {"connection_id":90914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87705310012cd4ab0007377a30000e010c28..."} 
[2026-06-02 13:58:02] local.INFO: Packet analysis {"connection_id":90914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:58:02] local.INFO: Extracted packet for processing {"connection_id":90914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:58:02] local.INFO: GPS Element Parsed {"raw_longitude":752134912,"raw_latitude":121076272,"longitude_deg":75.2134912,"latitude_deg":12.1076272,"altitude":14,"angle":268,"satellites":40,"speed":6,"hex_longitude":"2cd4ab00","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-02 13: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-06-02 13:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779518208001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305694997372469248,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122050041934929920,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:02] 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-06-02 13:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780388746000,"timestamp_ms":1780388746000,"timestamp_seconds":1780388746,"priority":1,"record_length":96,"hex_timestamp":"0000019e87705310"} 
[2026-06-02 13:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13: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":141,"data_length":795,"current_offset":136} 
[2026-06-02 13:58:02] 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-06-02 13: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-06-02 13:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:58:02] 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-06-02 13:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779518208001,"66":27865,"89":206,"83":43264,"24":6,"16":305694997372469248,"44":-3122050041934929920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779518208001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:58:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305694997372469248,"km_value":305694997372469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122050041934929920,"description":"Unknown IO ID 44"} 
[2026-06-02 13:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779518208001,"power":27865,"unknown_89":206,"unknown_83":43264,"ignition":6,"odometer":null,"unknown_44":-3122050041934929920}} 
[2026-06-02 13:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":90914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:58:02] local.INFO: GPS data processed {"connection_id":90914,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:58:02] local.INFO: Acknowledgment sent {"connection_id":90914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:58:05] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:58:05] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:58:05] local.INFO: IMEI packet received {"connection_id":89727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":89727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:58:10] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:58:10] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:58:10] local.INFO: IMEI packet received {"connection_id":89727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":89727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:58:11] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877102d8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877102d8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:58:11] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877102d8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:58:11] local.INFO: Packet analysis {"connection_id":89727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:58:11] local.INFO: Extracted packet for processing {"connection_id":89727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779525120001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388791000,"timestamp_ms":1780388791000,"timestamp_seconds":1780388791,"priority":1,"record_length":96,"hex_timestamp":"0000019e877102d8"} 
[2026-06-02 13:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779525120001,"66":12265,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779525120001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:58:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779525120001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":89727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:58:11] local.INFO: GPS data processed {"connection_id":89727,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:58:11] local.INFO: Acknowledgment sent {"connection_id":89727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:58:23] local.INFO: TCP Data received {"connection_id":90915,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:58:23] local.INFO: Processing buffer {"connection_id":90915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:58:23] local.INFO: IMEI packet received {"connection_id":90915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":90915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:58:30] local.INFO: TCP Data received {"connection_id":90915,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:58:30] local.INFO: Processing buffer {"connection_id":90915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:58:30] local.INFO: IMEI packet received {"connection_id":90915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":90915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:58:31] local.INFO: TCP Data received {"connection_id":90915,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e877056f8012cd4aa8007377a10000d00f528..."} 
[2026-06-02 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877056f8012cd4aa8007377a10000d00f528..."} 
[2026-06-02 13:58:31] local.INFO: Processing buffer {"connection_id":90915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877056f8012cd4aa8007377a10000d00f528..."} 
[2026-06-02 13:58:31] local.INFO: Packet analysis {"connection_id":90915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:58:31] local.INFO: Extracted packet for processing {"connection_id":90915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121076240,"longitude_deg":75.2134784,"latitude_deg":12.107624,"altitude":13,"angle":245,"satellites":40,"speed":8,"hex_longitude":"2cd4aa80","hex_latitude":"07377a10","is_valid_coordinates":true} 
[2026-06-02 13:58: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-06-02 13:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779518976001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305695005962403840,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655781376,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:31] 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-06-02 13:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780388747000,"timestamp_ms":1780388747000,"timestamp_seconds":1780388747,"priority":1,"record_length":96,"hex_timestamp":"0000019e877056f8"} 
[2026-06-02 13:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:58: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-06-02 13:58: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-06-02 13:58: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-06-02 13:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:58:31] 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-06-02 13:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779518976001,"66":27832,"89":206,"83":43264,"24":8,"16":305695005962403840,"44":-3122401885655781376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779518976001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:58:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:58:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305695005962403840,"km_value":305695005962403.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655781376,"description":"Unknown IO ID 44"} 
[2026-06-02 13:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779518976001,"power":27832,"unknown_89":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3122401885655781376}} 
[2026-06-02 13:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":90915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:58:31] local.INFO: GPS data processed {"connection_id":90915,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:58:31] local.INFO: Acknowledgment sent {"connection_id":90915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:58:42] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877154e0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877154e0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:58:42] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877154e0012d1967c0071fedb80043010a26..."} 
[2026-06-02 13:58:42] local.INFO: Packet analysis {"connection_id":89727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:58:42] local.INFO: Extracted packet for processing {"connection_id":89727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779530496001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388812000,"timestamp_ms":1780388812000,"timestamp_seconds":1780388812,"priority":1,"record_length":96,"hex_timestamp":"0000019e877154e0"} 
[2026-06-02 13:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 13:58:42] 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-06-02 13:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:58:42] 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-06-02 13:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779530496001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779530496001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:58:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779530496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":89727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:58:42] local.INFO: GPS data processed {"connection_id":89727,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:58:42] local.INFO: Acknowledgment sent {"connection_id":89727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:59:02] local.INFO: TCP Data received {"connection_id":90915,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87709578012cd4898007376bb0000d00fc27..."} 
[2026-06-02 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87709578012cd4898007376bb0000d00fc27..."} 
[2026-06-02 13:59:02] local.INFO: Processing buffer {"connection_id":90915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87709578012cd4898007376bb0000d00fc27..."} 
[2026-06-02 13:59:02] local.INFO: Packet analysis {"connection_id":90915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:59:02] local.INFO: Extracted packet for processing {"connection_id":90915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":752126336,"raw_latitude":121072560,"longitude_deg":75.2126336,"latitude_deg":12.107256,"altitude":13,"angle":252,"satellites":39,"speed":33,"hex_longitude":"2cd48980","hex_latitude":"07376bb0","is_valid_coordinates":true} 
[2026-06-02 13:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779519232001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305695444049068032,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144144896,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:02] 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-06-02 13:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780388763000,"timestamp_ms":1780388763000,"timestamp_seconds":1780388763,"priority":1,"record_length":96,"hex_timestamp":"0000019e87709578"} 
[2026-06-02 13:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 13:59: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-06-02 13:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:59:02] 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-06-02 13:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779519232001,"66":27876,"89":206,"83":43264,"24":33,"16":305695444049068032,"44":-3122542623144144896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779519232001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305695444049068032,"km_value":305695444049068.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144144896,"description":"Unknown IO ID 44"} 
[2026-06-02 13:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779519232001,"power":27876,"unknown_89":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3122542623144144896}} 
[2026-06-02 13:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":90915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:59:02] local.INFO: GPS data processed {"connection_id":90915,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:59:02] local.INFO: Acknowledgment sent {"connection_id":90915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:59:05] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:59:05] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:59:05] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:59:10] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:59:10] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 13:59:10] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 13:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:59:11] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8771a6e8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8771a6e8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:59:11] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8771a6e8012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:59:11] local.INFO: Packet analysis {"connection_id":89728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:59:11] local.INFO: Extracted packet for processing {"connection_id":89728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779535872001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388833000,"timestamp_ms":1780388833000,"timestamp_seconds":1780388833,"priority":1,"record_length":96,"hex_timestamp":"0000019e8771a6e8"} 
[2026-06-02 13:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 13:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 13:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 13:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779535872001,"66":12265,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779535872001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:59:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779535872001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":89728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:59:11] local.INFO: GPS data processed {"connection_id":89728,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:59:11] local.INFO: Acknowledgment sent {"connection_id":89728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:59:23] local.INFO: TCP Data received {"connection_id":89462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:59:23] local.INFO: Processing buffer {"connection_id":89462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:59:23] local.INFO: IMEI packet received {"connection_id":89462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":89462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:59:28] local.INFO: TCP Data received {"connection_id":90916,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:59:28] local.INFO: Processing buffer {"connection_id":90916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:59:28] local.INFO: IMEI packet received {"connection_id":90916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 13:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":90916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 13:59:31] local.INFO: TCP Data received {"connection_id":90916,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:59:31] local.INFO: Processing buffer {"connection_id":90916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 13:59:31] local.INFO: IMEI packet received {"connection_id":90916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 13:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":90916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 13:59:31] local.INFO: TCP Data received {"connection_id":90916,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8770bc88012cd46900073763b8000e010728..."} 
[2026-06-02 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8770bc88012cd46900073763b8000e010728..."} 
[2026-06-02 13:59:31] local.INFO: Processing buffer {"connection_id":90916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8770bc88012cd46900073763b8000e010728..."} 
[2026-06-02 13:59:31] local.INFO: Packet analysis {"connection_id":90916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:59:31] local.INFO: Extracted packet for processing {"connection_id":90916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8770"} 
[2026-06-02 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":752118016,"raw_latitude":121070520,"longitude_deg":75.2118016,"latitude_deg":12.107052,"altitude":14,"angle":263,"satellites":40,"speed":33,"hex_longitude":"2cd46900","hex_latitude":"073763b8","is_valid_coordinates":true} 
[2026-06-02 13:59: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-06-02 13:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779523328001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305695852070961152,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3131831297376538624,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:31] 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-06-02 13:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780388773000,"timestamp_ms":1780388773000,"timestamp_seconds":1780388773,"priority":1,"record_length":96,"hex_timestamp":"0000019e8770bc88"} 
[2026-06-02 13:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:59: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 13:59:31] 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-06-02 13:59: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-06-02 13:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 13:59:31] 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-06-02 13:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 13:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 13:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779523328001,"66":27843,"89":206,"83":43264,"24":33,"16":305695852070961152,"44":-3131831297376538624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-06-02 13:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 13:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 13:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779523328001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:59:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 13:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 13:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305695852070961152,"km_value":305695852070961.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3131831297376538624,"description":"Unknown IO ID 44"} 
[2026-06-02 13:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779523328001,"power":27843,"unknown_89":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3131831297376538624}} 
[2026-06-02 13:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":90916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:59:31] local.INFO: GPS data processed {"connection_id":90916,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:59:31] local.INFO: Acknowledgment sent {"connection_id":90916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:59:42] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8771f8f0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8771f8f0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:59:42] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8771f8f0012d1967c0071fedb80043010a27..."} 
[2026-06-02 13:59:42] local.INFO: Packet analysis {"connection_id":89728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:59:42] local.INFO: Extracted packet for processing {"connection_id":89728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8771"} 
[2026-06-02 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 13:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779541248001,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 13:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 13:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388854000,"timestamp_ms":1780388854000,"timestamp_seconds":1780388854,"priority":1,"record_length":96,"hex_timestamp":"0000019e8771f8f0"} 
[2026-06-02 13:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 13:59:42] 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-06-02 13:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 13:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 13:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 13:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 13:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 13:59:42] 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-06-02 13:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 13:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 13:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779541248001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 13:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 13:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 13:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779541248001,"description":"Unknown IO ID 0"} 
[2026-06-02 13:59:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 13:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 13:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 13:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 13:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779541248001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 13:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":89728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 13:59:43] local.INFO: GPS data processed {"connection_id":89728,"processed":1,"errors":0,"total":1} 
[2026-06-02 13:59:43] local.INFO: Acknowledgment sent {"connection_id":89728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 13:59:58] local.INFO: TCP Data received {"connection_id":89844,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:59:58] local.INFO: Processing buffer {"connection_id":89844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 13:59:58] local.INFO: IMEI packet received {"connection_id":89844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 13:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":89844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:00:02] local.INFO: TCP Data received {"connection_id":90916,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87738760012cd356c007372f90000f013228..."} 
[2026-06-02 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87738760012cd356c007372f90000f013228..."} 
[2026-06-02 14:00:02] local.INFO: Processing buffer {"connection_id":90916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87738760012cd356c007372f90000f013228..."} 
[2026-06-02 14:00:02] local.INFO: Packet analysis {"connection_id":90916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:00:02] local.INFO: Extracted packet for processing {"connection_id":90916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":752047808,"raw_latitude":121057168,"longitude_deg":75.2047808,"latitude_deg":12.1057168,"altitude":15,"angle":306,"satellites":40,"speed":13,"hex_longitude":"2cd356c0","hex_latitude":"07372f90","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779572480001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305699257980026880,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3217892271509800960,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:02] 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-06-02 14:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780388956000,"timestamp_ms":1780388956000,"timestamp_seconds":1780388956,"priority":1,"record_length":96,"hex_timestamp":"0000019e87738760"} 
[2026-06-02 14:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 14:00:02] 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-06-02 14: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-06-02 14:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:00:02] 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-06-02 14:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779572480001,"66":27626,"159":206,"83":43264,"24":13,"16":305699257980026880,"44":-3217892271509800960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-06-02 14:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779572480001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:00:02] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-02 14:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305699257980026880,"km_value":305699257980026.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3217892271509800960,"description":"Unknown IO ID 44"} 
[2026-06-02 14:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779572480001,"power":27626,"unknown_159":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3217892271509800960}} 
[2026-06-02 14:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":90916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:00:02] local.INFO: GPS data processed {"connection_id":90916,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:00:02] local.INFO: Acknowledgment sent {"connection_id":90916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:00:10] local.INFO: TCP Data received {"connection_id":89463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:00:10] local.INFO: Processing buffer {"connection_id":89463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:00:10] local.INFO: IMEI packet received {"connection_id":89463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":89463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:00:15] local.INFO: TCP Data received {"connection_id":89463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:00:15] local.INFO: Processing buffer {"connection_id":89463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:00:15] local.INFO: IMEI packet received {"connection_id":89463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":89463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:00:16] local.INFO: TCP Data received {"connection_id":89463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87724af8012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87724af8012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:00:16] local.INFO: Processing buffer {"connection_id":89463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87724af8012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:00:16] local.INFO: Packet analysis {"connection_id":89463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8772"} 
[2026-06-02 14:00:16] local.INFO: Extracted packet for processing {"connection_id":89463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8772"} 
[2026-06-02 14:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00: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-06-02 14:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780388875000,"timestamp_ms":1780388875000,"timestamp_seconds":1780388875,"priority":1,"record_length":96,"hex_timestamp":"0000019e87724af8"} 
[2026-06-02 14:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 14:00:16] 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-06-02 14:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:00: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-06-02 14:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779546624001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:00:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779546624001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":89463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:00:16] local.INFO: GPS data processed {"connection_id":89463,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:00:16] local.INFO: Acknowledgment sent {"connection_id":89463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:00:18] local.INFO: TCP Data received {"connection_id":89463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87729d00012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87729d00012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:00:18] local.INFO: Processing buffer {"connection_id":89463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87729d00012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:00:18] local.INFO: Packet analysis {"connection_id":89463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8772"} 
[2026-06-02 14:00:18] local.INFO: Extracted packet for processing {"connection_id":89463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8772"} 
[2026-06-02 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779552000001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14: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-06-02 14:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780388896000,"timestamp_ms":1780388896000,"timestamp_seconds":1780388896,"priority":1,"record_length":96,"hex_timestamp":"0000019e87729d00"} 
[2026-06-02 14:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:00: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-06-02 14: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":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:00: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-06-02 14: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-06-02 14:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:00:18] 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-06-02 14:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779552000001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779552000001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779552000001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":89463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:00:18] local.INFO: GPS data processed {"connection_id":89463,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:00:18] local.INFO: Acknowledgment sent {"connection_id":89463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:00:24] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:00:24] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:00:24] local.INFO: IMEI packet received {"connection_id":89464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":89464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:00:29] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:00:29] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:00:29] local.INFO: IMEI packet received {"connection_id":89464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":89464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:00:30] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87738b48012cd355c007373090000f014528..."} 
[2026-06-02 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87738b48012cd355c007373090000f014528..."} 
[2026-06-02 14:00:30] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87738b48012cd355c007373090000f014528..."} 
[2026-06-02 14:00:30] local.INFO: Packet analysis {"connection_id":89464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:00:30] local.INFO: Extracted packet for processing {"connection_id":89464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:00:30] local.INFO: GPS Element Parsed {"raw_longitude":752047552,"raw_latitude":121057424,"longitude_deg":75.2047552,"latitude_deg":12.1057424,"altitude":15,"angle":325,"satellites":40,"speed":13,"hex_longitude":"2cd355c0","hex_latitude":"07373090","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779572736001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305699275159896064,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218173746486472704,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:30] 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-06-02 14:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780388957000,"timestamp_ms":1780388957000,"timestamp_seconds":1780388957,"priority":1,"record_length":96,"hex_timestamp":"0000019e87738b48"} 
[2026-06-02 14:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:00:30] 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-06-02 14: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 14:00:30] 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-06-02 14: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-06-02 14:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:00:30] 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-06-02 14:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779572736001,"66":27995,"159":206,"83":43264,"24":13,"16":305699275159896064,"44":-3218173746486472704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-06-02 14:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779572736001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:00:30] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-02 14:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305699275159896064,"km_value":305699275159896.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218173746486472704,"description":"Unknown IO ID 44"} 
[2026-06-02 14:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779572736001,"power":27995,"unknown_159":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3218173746486472704}} 
[2026-06-02 14:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":89464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:00:30] local.INFO: GPS data processed {"connection_id":89464,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:00:30] local.INFO: Acknowledgment sent {"connection_id":89464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:00:49] local.INFO: TCP Data received {"connection_id":89463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8772ef08012d1967c0071fedb80043010a24..."} 
[2026-06-02 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8772ef08012d1967c0071fedb80043010a24..."} 
[2026-06-02 14:00:49] local.INFO: Processing buffer {"connection_id":89463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8772ef08012d1967c0071fedb80043010a24..."} 
[2026-06-02 14:00:49] local.INFO: Packet analysis {"connection_id":89463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8772"} 
[2026-06-02 14:00:49] local.INFO: Extracted packet for processing {"connection_id":89463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8772"} 
[2026-06-02 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779557376001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:00: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-06-02 14:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780388917000,"timestamp_ms":1780388917000,"timestamp_seconds":1780388917,"priority":1,"record_length":96,"hex_timestamp":"0000019e8772ef08"} 
[2026-06-02 14:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:00: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-06-02 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:00:49] 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-06-02 14: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-06-02 14:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:00:49] 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-06-02 14:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779557376001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779557376001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779557376001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":89463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:00:50] local.INFO: GPS data processed {"connection_id":89463,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:00:50] local.INFO: Acknowledgment sent {"connection_id":89463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:01:01] local.INFO: TCP Data received {"connection_id":89464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87738f30012cd35540073731d80010015729..."} 
[2026-06-02 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87738f30012cd35540073731d80010015729..."} 
[2026-06-02 14:01:01] local.INFO: Processing buffer {"connection_id":89464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87738f30012cd35540073731d80010015729..."} 
[2026-06-02 14:01:01] local.INFO: Packet analysis {"connection_id":89464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:01:01] local.INFO: Extracted packet for processing {"connection_id":89464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":752047424,"raw_latitude":121057752,"longitude_deg":75.2047424,"latitude_deg":12.1057752,"altitude":16,"angle":343,"satellites":41,"speed":13,"hex_longitude":"2cd35540","hex_latitude":"073731d8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779572992001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305699292339765248,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218455221463117824,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:01] 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-06-02 14:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780388958000,"timestamp_ms":1780388958000,"timestamp_seconds":1780388958,"priority":1,"record_length":96,"hex_timestamp":"0000019e87738f30"} 
[2026-06-02 14:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:01:01] 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-06-02 14: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-06-02 14:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01: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-06-02 14:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779572992001,"66":27995,"159":206,"83":43264,"24":13,"16":305699292339765248,"44":-3218455221463117824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-06-02 14:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779572992001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:01:01] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-02 14:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305699292339765248,"km_value":305699292339765.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218455221463117824,"description":"Unknown IO ID 44"} 
[2026-06-02 14:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779572992001,"power":27995,"unknown_159":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3218455221463117824}} 
[2026-06-02 14:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":89464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:01:01] local.INFO: GPS data processed {"connection_id":89464,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:01:01] local.INFO: Acknowledgment sent {"connection_id":89464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:01:05] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:01:05] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:01:05] local.INFO: IMEI packet received {"connection_id":89845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":89845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:01:10] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:01:10] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:01:10] local.INFO: IMEI packet received {"connection_id":89845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":89845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:01:11] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87734110012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87734110012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:01:11] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87734110012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:01:11] local.INFO: Packet analysis {"connection_id":89845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:01:11] local.INFO: Extracted packet for processing {"connection_id":89845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779562752001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388938000,"timestamp_ms":1780388938000,"timestamp_seconds":1780388938,"priority":1,"record_length":96,"hex_timestamp":"0000019e87734110"} 
[2026-06-02 14:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779562752001,"66":12265,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779562752001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:01:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779562752001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":89845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:01:11] local.INFO: GPS data processed {"connection_id":89845,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:01:11] local.INFO: Acknowledgment sent {"connection_id":89845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:01:26] local.INFO: TCP Data received {"connection_id":89729,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:01:26] local.INFO: Processing buffer {"connection_id":89729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:01:26] local.INFO: IMEI packet received {"connection_id":89729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":89729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:01:27] local.INFO: TCP Data received {"connection_id":89729,"ip":"42.106.6.21","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89729,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:01:27] local.INFO: Processing buffer {"connection_id":89729,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:01:27] local.INFO: IMEI packet received {"connection_id":89729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":89729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:01:27] local.INFO: TCP Data received {"connection_id":89729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87748d18012cd32ac007378178000c011228..."} 
[2026-06-02 14:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87748d18012cd32ac007378178000c011228..."} 
[2026-06-02 14:01:27] local.INFO: Processing buffer {"connection_id":89729,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:01:27] local.INFO: IMEI packet received {"connection_id":89729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":89729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:01:29] local.INFO: TCP Data received {"connection_id":89729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8774a0a0012cd31500073785d0000c011e26..."} 
[2026-06-02 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8774a0a0012cd31500073785d0000c011e26..."} 
[2026-06-02 14:01:29] local.INFO: Processing buffer {"connection_id":89729,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e87..."} 
[2026-06-02 14:01:29] local.INFO: IMEI packet received {"connection_id":89729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":89729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:01:34] local.INFO: TCP Data received {"connection_id":89729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8774b428012cd3000007378e08000c012b27..."} 
[2026-06-02 14:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8774b428012cd3000007378e08000c012b27..."} 
[2026-06-02 14:01:34] local.INFO: Processing buffer {"connection_id":89729,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019e87748d18012cd32ac007378178000c011228..."} 
[2026-06-02 14:01:34] local.INFO: Packet analysis {"connection_id":89729,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:01:34] local.INFO: Extracted packet for processing {"connection_id":89729,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":752036544,"raw_latitude":121078136,"longitude_deg":75.2036544,"latitude_deg":12.1078136,"altitude":12,"angle":274,"satellites":40,"speed":42,"hex_longitude":"2cd32ac0","hex_latitude":"07378178","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779588608001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305700898657533952,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3225069883410403328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] 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-06-02 14:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780389023000,"timestamp_ms":1780389023000,"timestamp_seconds":1780389023,"priority":1,"record_length":96,"hex_timestamp":"0000019e87748d18"} 
[2026-06-02 14:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:01: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-06-02 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 14:01:34] 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-06-02 14: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-06-02 14:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01:34] 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-06-02 14:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779588608001,"66":27908,"169":206,"83":43264,"24":42,"16":305700898657533952,"44":-3225069883410403328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779588608001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305700898657533952,"km_value":305700898657533.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3225069883410403328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779588608001,"power":27908,"unknown_169":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3225069883410403328}} 
[2026-06-02 14:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":89729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:01:34] local.INFO: GPS data processed {"connection_id":89729,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:01:34] local.INFO: Acknowledgment sent {"connection_id":89729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:01:34] local.INFO: Packet analysis {"connection_id":89729,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:01:34] local.INFO: Extracted packet for processing {"connection_id":89729,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":752030976,"raw_latitude":121079248,"longitude_deg":75.2030976,"latitude_deg":12.1079248,"altitude":12,"angle":286,"satellites":38,"speed":46,"hex_longitude":"2cd31500","hex_latitude":"073785d0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779589888001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305701169240473600,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3230558645456373760,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] 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-06-02 14:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780389028000,"timestamp_ms":1780389028000,"timestamp_seconds":1780389028,"priority":1,"record_length":96,"hex_timestamp":"0000019e8774a0a0"} 
[2026-06-02 14:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:01: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-06-02 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01:34] 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-06-02 14:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779589888001,"66":27800,"169":206,"83":43264,"24":46,"16":305701169240473600,"44":-3230558645456373760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779589888001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305701169240473600,"km_value":305701169240473.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3230558645456373760,"description":"Unknown IO ID 44"} 
[2026-06-02 14:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779589888001,"power":27800,"unknown_169":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3230558645456373760}} 
[2026-06-02 14:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":89729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:01:34] local.INFO: GPS data processed {"connection_id":89729,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:01:34] local.INFO: Acknowledgment sent {"connection_id":89729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:01:34] local.INFO: Packet analysis {"connection_id":89729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:01:34] local.INFO: Extracted packet for processing {"connection_id":89729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":752025600,"raw_latitude":121081352,"longitude_deg":75.20256,"latitude_deg":12.1081352,"altitude":12,"angle":299,"satellites":39,"speed":43,"hex_longitude":"2cd30000","hex_latitude":"07378e08","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779591168001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305701444118380544,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3236680726199545856,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:34] 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-06-02 14:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780389033000,"timestamp_ms":1780389033000,"timestamp_seconds":1780389033,"priority":1,"record_length":96,"hex_timestamp":"0000019e8774b428"} 
[2026-06-02 14:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:01: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-06-02 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 14:01:34] 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-06-02 14: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-06-02 14:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:01:34] 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-06-02 14:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779591168001,"66":27876,"169":206,"83":43264,"24":43,"16":305701444118380544,"44":-3236680726199545856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-06-02 14:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779591168001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305701444118380544,"km_value":305701444118380.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:01:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3236680726199545856,"description":"Unknown IO ID 44"} 
[2026-06-02 14:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779591168001,"power":27876,"unknown_169":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-3236680726199545856}} 
[2026-06-02 14:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":89729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:01:34] local.INFO: GPS data processed {"connection_id":89729,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:01:34] local.INFO: Acknowledgment sent {"connection_id":89729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:01:42] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87739318012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87739318012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:01:42] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87739318012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:01:42] local.INFO: Packet analysis {"connection_id":89845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:01:42] local.INFO: Extracted packet for processing {"connection_id":89845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779568128001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780388959000,"timestamp_ms":1780388959000,"timestamp_seconds":1780388959,"priority":1,"record_length":96,"hex_timestamp":"0000019e87739318"} 
[2026-06-02 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 14:01:42] 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-06-02 14:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:01:42] 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-06-02 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779568128001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779568128001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:01:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779568128001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":89845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:01:43] local.INFO: GPS data processed {"connection_id":89845,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:01:43] local.INFO: Acknowledgment sent {"connection_id":89845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:02:03] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:03] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:03] local.INFO: IMEI packet received {"connection_id":89731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":89731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:02:06] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:06] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:06] local.INFO: IMEI packet received {"connection_id":89731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":89731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:02:09] local.INFO: TCP Data received {"connection_id":89729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8774db38012cd2e28007379f20000b01132a..."} 
[2026-06-02 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8774db38012cd2e28007379f20000b01132a..."} 
[2026-06-02 14:02:09] local.INFO: Processing buffer {"connection_id":89729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8774db38012cd2e28007379f20000b01132a..."} 
[2026-06-02 14:02:09] local.INFO: Packet analysis {"connection_id":89729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:02:09] local.INFO: Extracted packet for processing {"connection_id":89729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:02:09] local.INFO: GPS Element Parsed {"raw_longitude":752018048,"raw_latitude":121085728,"longitude_deg":75.2018048,"latitude_deg":12.1085728,"altitude":11,"angle":275,"satellites":42,"speed":27,"hex_longitude":"2cd2e280","hex_latitude":"07379f20","is_valid_coordinates":true} 
[2026-06-02 14:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779592448001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305701860730208256,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3242591700709931008,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:09] 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-06-02 14:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780389043000,"timestamp_ms":1780389043000,"timestamp_seconds":1780389043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8774db38"} 
[2026-06-02 14:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:02: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-06-02 14:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:02:09] 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-06-02 14:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779592448001,"66":27865,"169":206,"83":43264,"24":27,"16":305701860730208256,"44":-3242591700709931008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-06-02 14:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779592448001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305701860730208256,"km_value":305701860730208.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3242591700709931008,"description":"Unknown IO ID 44"} 
[2026-06-02 14:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779592448001,"power":27865,"unknown_169":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3242591700709931008}} 
[2026-06-02 14:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":89729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:02:09] local.INFO: GPS data processed {"connection_id":89729,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:02:09] local.INFO: Acknowledgment sent {"connection_id":89729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:02:10] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:10] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:02:10] local.INFO: IMEI packet received {"connection_id":89731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":89731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:02:11] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8773e520012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8773e520012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:02:11] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8773e520012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:02:11] local.INFO: Packet analysis {"connection_id":89731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:02:11] local.INFO: Extracted packet for processing {"connection_id":89731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8773"} 
[2026-06-02 14:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779573504001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780388980000,"timestamp_ms":1780388980000,"timestamp_seconds":1780388980,"priority":1,"record_length":96,"hex_timestamp":"0000019e8773e520"} 
[2026-06-02 14:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779573504001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779573504001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:02:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779573504001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":89731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:02:11] local.INFO: GPS data processed {"connection_id":89731,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:02:11] local.INFO: Acknowledgment sent {"connection_id":89731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:02:33] local.INFO: TCP Data received {"connection_id":90918,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:33] local.INFO: Processing buffer {"connection_id":90918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:33] local.INFO: IMEI packet received {"connection_id":90918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":90918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:02:33] local.INFO: TCP Data received {"connection_id":90918,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:33] local.INFO: Processing buffer {"connection_id":90918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:33] local.INFO: IMEI packet received {"connection_id":90918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":90918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:02:42] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87743728012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87743728012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:02:42] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87743728012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:02:42] local.INFO: Packet analysis {"connection_id":89731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:02:42] local.INFO: Extracted packet for processing {"connection_id":89731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779578880001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780389001000,"timestamp_ms":1780389001000,"timestamp_seconds":1780389001,"priority":1,"record_length":96,"hex_timestamp":"0000019e87743728"} 
[2026-06-02 14:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:02:42] 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-06-02 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 14:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:02:42] 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-06-02 14:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779578880001,"66":12211,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779578880001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:02:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779578880001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":89731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:02:42] local.INFO: GPS data processed {"connection_id":89731,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:02:42] local.INFO: Acknowledgment sent {"connection_id":89731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:02:43] local.INFO: TCP Data received {"connection_id":90918,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:43] local.INFO: Processing buffer {"connection_id":90918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:02:43] local.INFO: IMEI packet received {"connection_id":90918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":90918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:02:44] local.INFO: TCP Data received {"connection_id":90918,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8774e6f0012cd2da800737a050000a012429..."} 
[2026-06-02 14:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8774e6f0012cd2da800737a050000a012429..."} 
[2026-06-02 14:02:44] local.INFO: Processing buffer {"connection_id":90918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8774e6f0012cd2da800737a050000a012429..."} 
[2026-06-02 14:02:44] local.INFO: Packet analysis {"connection_id":90918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:02:44] local.INFO: Extracted packet for processing {"connection_id":90918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:02:44] local.INFO: GPS Element Parsed {"raw_longitude":752016000,"raw_latitude":121086032,"longitude_deg":75.2016,"latitude_deg":12.1086032,"altitude":10,"angle":292,"satellites":41,"speed":24,"hex_longitude":"2cd2da80","hex_latitude":"0737a050","is_valid_coordinates":true} 
[2026-06-02 14:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779595008001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305701959514456064,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3250895212521775104,"note":"Value kept but may cause issues"} 
[2026-06-02 14:02:44] 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-06-02 14:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780389046000,"timestamp_ms":1780389046000,"timestamp_seconds":1780389046,"priority":1,"record_length":96,"hex_timestamp":"0000019e8774e6f0"} 
[2026-06-02 14:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 14:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":90918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":90918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":90918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:02:44] 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-06-02 14:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779595008001,"66":27908,"169":206,"83":43264,"24":24,"16":305701959514456064,"44":-3250895212521775104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-06-02 14:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779595008001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:02:44] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 14:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305701959514456064,"km_value":305701959514456.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:02:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3250895212521775104,"description":"Unknown IO ID 44"} 
[2026-06-02 14:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779595008001,"power":27908,"unknown_169":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3250895212521775104}} 
[2026-06-02 14:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":90918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:02:45] local.INFO: GPS data processed {"connection_id":90918,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:02:45] local.INFO: Acknowledgment sent {"connection_id":90918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:03:06] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:06] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:06] local.INFO: IMEI packet received {"connection_id":89733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":89733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:03:06] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:06] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:06] local.INFO: IMEI packet received {"connection_id":89733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":89733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:03:10] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:10] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:03:10] local.INFO: IMEI packet received {"connection_id":89733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":89733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:03:11] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87748930012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87748930012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:03:11] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87748930012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:03:11] local.INFO: Packet analysis {"connection_id":89733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:03:11] local.INFO: Extracted packet for processing {"connection_id":89733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779584256001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780389022000,"timestamp_ms":1780389022000,"timestamp_seconds":1780389022,"priority":1,"record_length":96,"hex_timestamp":"0000019e87748930"} 
[2026-06-02 14:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 14:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779584256001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779584256001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:03:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779584256001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":89733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:03:11] local.INFO: GPS data processed {"connection_id":89733,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:03:11] local.INFO: Acknowledgment sent {"connection_id":89733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:03:25] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:25] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:25] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:03:27] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:27] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:27] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:03:28] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:28] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:28] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:03:29] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:29] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:03:29] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:03:42] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8774db38012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8774db38012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:03:42] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8774db38012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:03:42] local.INFO: Packet analysis {"connection_id":89733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:03:42] local.INFO: Extracted packet for processing {"connection_id":89733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8774"} 
[2026-06-02 14:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779589632001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780389043000,"timestamp_ms":1780389043000,"timestamp_seconds":1780389043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8774db38"} 
[2026-06-02 14:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:03:42] 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-06-02 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 14:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:03:42] 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-06-02 14:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779589632001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779589632001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:03:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779589632001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":89733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:03:42] local.INFO: GPS data processed {"connection_id":89733,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:03:42] local.INFO: Acknowledgment sent {"connection_id":89733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:04:05] local.INFO: TCP Data received {"connection_id":90920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:04:05] local.INFO: Processing buffer {"connection_id":90920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:04:05] local.INFO: IMEI packet received {"connection_id":90920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":90920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:04:09] local.INFO: TCP Data received {"connection_id":90920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:04:09] local.INFO: Processing buffer {"connection_id":90920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:04:09] local.INFO: IMEI packet received {"connection_id":90920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":90920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:04:10] local.INFO: TCP Data received {"connection_id":90920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87752d40012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87752d40012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:04:10] local.INFO: Processing buffer {"connection_id":90920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87752d40012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:04:10] local.INFO: Packet analysis {"connection_id":90920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8775"} 
[2026-06-02 14:04:10] local.INFO: Extracted packet for processing {"connection_id":90920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8775"} 
[2026-06-02 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779595008001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780389064000,"timestamp_ms":1780389064000,"timestamp_seconds":1780389064,"priority":1,"record_length":96,"hex_timestamp":"0000019e87752d40"} 
[2026-06-02 14:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 14:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:04:10] 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-06-02 14:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779595008001,"66":12265,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779595008001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779595008001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":90920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:04:10] local.INFO: GPS data processed {"connection_id":90920,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:04:10] local.INFO: Acknowledgment sent {"connection_id":90920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:04:42] local.INFO: TCP Data received {"connection_id":90920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87757f48012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87757f48012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:04:42] local.INFO: Processing buffer {"connection_id":90920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87757f48012d1967c0071fedb80043010a26..."} 
[2026-06-02 14:04:42] local.INFO: Packet analysis {"connection_id":90920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8775"} 
[2026-06-02 14:04:42] local.INFO: Extracted packet for processing {"connection_id":90920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8775"} 
[2026-06-02 14:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779600384001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780389085000,"timestamp_ms":1780389085000,"timestamp_seconds":1780389085,"priority":1,"record_length":96,"hex_timestamp":"0000019e87757f48"} 
[2026-06-02 14:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 14:04:42] 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-06-02 14:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:04:42] 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-06-02 14:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779600384001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779600384001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:04:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779600384001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":90920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:04:42] local.INFO: GPS data processed {"connection_id":90920,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:04:42] local.INFO: Acknowledgment sent {"connection_id":90920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:05:05] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:05:05] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:05:05] local.INFO: IMEI packet received {"connection_id":89465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":89465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:05:10] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:05:10] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:05:10] local.INFO: IMEI packet received {"connection_id":89465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":89465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:05:11] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8775d150012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8775d150012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:05:11] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8775d150012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:05:11] local.INFO: Packet analysis {"connection_id":89465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8775"} 
[2026-06-02 14:05:11] local.INFO: Extracted packet for processing {"connection_id":89465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8775"} 
[2026-06-02 14:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779605760001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780389106000,"timestamp_ms":1780389106000,"timestamp_seconds":1780389106,"priority":1,"record_length":96,"hex_timestamp":"0000019e8775d150"} 
[2026-06-02 14:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 14:05: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-06-02 14:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779605760001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779605760001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:05:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779605760001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":89465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:05:11] local.INFO: GPS data processed {"connection_id":89465,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:05:11] local.INFO: Acknowledgment sent {"connection_id":89465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:05:28] local.INFO: TCP Data received {"connection_id":89847,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:05:28] local.INFO: Processing buffer {"connection_id":89847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:05:28] local.INFO: IMEI packet received {"connection_id":89847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":89847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:05:42] local.INFO: TCP Data received {"connection_id":89465,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87762358012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87762358012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:05:42] local.INFO: Processing buffer {"connection_id":89465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87762358012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:05:42] local.INFO: Packet analysis {"connection_id":89465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8776"} 
[2026-06-02 14:05:42] local.INFO: Extracted packet for processing {"connection_id":89465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8776"} 
[2026-06-02 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779611136001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780389127000,"timestamp_ms":1780389127000,"timestamp_seconds":1780389127,"priority":1,"record_length":96,"hex_timestamp":"0000019e87762358"} 
[2026-06-02 14:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:05:42] 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-06-02 14:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779611136001,"66":12232,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779611136001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:05:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779611136001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":89465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:05:42] local.INFO: GPS data processed {"connection_id":89465,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:05:42] local.INFO: Acknowledgment sent {"connection_id":89465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:06:03] local.INFO: TCP Data received {"connection_id":90922,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:06:03] local.INFO: Processing buffer {"connection_id":90922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:06:03] local.INFO: IMEI packet received {"connection_id":90922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":90922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:06:10] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:06:10] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:06:10] local.INFO: IMEI packet received {"connection_id":89848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":89848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:06:15] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:06:16] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:06:16] local.INFO: IMEI packet received {"connection_id":89848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":89848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:06:16] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87767560012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87767560012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:06:16] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87767560012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:06:16] local.INFO: Packet analysis {"connection_id":89848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8776"} 
[2026-06-02 14:06:16] local.INFO: Extracted packet for processing {"connection_id":89848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8776"} 
[2026-06-02 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779616512001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14: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-06-02 14:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780389148000,"timestamp_ms":1780389148000,"timestamp_seconds":1780389148,"priority":1,"record_length":96,"hex_timestamp":"0000019e87767560"} 
[2026-06-02 14:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 14:06:16] 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-06-02 14:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:06: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-06-02 14:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779616512001,"66":11721,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779616512001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:06:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779616512001,"power":11721,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":89848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:06:16] local.INFO: GPS data processed {"connection_id":89848,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:06:16] local.INFO: Acknowledgment sent {"connection_id":89848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:06:17] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8776c768012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8776c768012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:06:17] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8776c768012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:06:17] local.INFO: Packet analysis {"connection_id":89848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8776"} 
[2026-06-02 14:06:17] local.INFO: Extracted packet for processing {"connection_id":89848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8776"} 
[2026-06-02 14:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779621888001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14: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-06-02 14:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780389169000,"timestamp_ms":1780389169000,"timestamp_seconds":1780389169,"priority":1,"record_length":96,"hex_timestamp":"0000019e8776c768"} 
[2026-06-02 14:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:06: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-06-02 14: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-02 14:06:17] 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-06-02 14: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-06-02 14:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:06: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-06-02 14:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779621888001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779621888001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779621888001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":89848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:06:17] local.INFO: GPS data processed {"connection_id":89848,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:06:17] local.INFO: Acknowledgment sent {"connection_id":89848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:06:48] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87771970012d1967c0071fedb80043010a2a..."} 
[2026-06-02 14:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87771970012d1967c0071fedb80043010a2a..."} 
[2026-06-02 14:06:48] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87771970012d1967c0071fedb80043010a2a..."} 
[2026-06-02 14:06:48] local.INFO: Packet analysis {"connection_id":89848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8777"} 
[2026-06-02 14:06:48] local.INFO: Extracted packet for processing {"connection_id":89848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8777"} 
[2026-06-02 14:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779627264001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780389190000,"timestamp_ms":1780389190000,"timestamp_seconds":1780389190,"priority":1,"record_length":96,"hex_timestamp":"0000019e87771970"} 
[2026-06-02 14:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:06: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-06-02 14:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:06:48] 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-06-02 14:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779627264001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779627264001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:06:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779627264001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":89848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:06:48] local.INFO: GPS data processed {"connection_id":89848,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:06:48] local.INFO: Acknowledgment sent {"connection_id":89848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:07:05] local.INFO: TCP Data received {"connection_id":89849,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:07:05] local.INFO: Processing buffer {"connection_id":89849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:07:05] local.INFO: IMEI packet received {"connection_id":89849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":89849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:07:10] local.INFO: TCP Data received {"connection_id":89849,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:07:10] local.INFO: Processing buffer {"connection_id":89849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:07:10] local.INFO: IMEI packet received {"connection_id":89849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":89849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:07:11] local.INFO: TCP Data received {"connection_id":89849,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87776b78012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87776b78012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:07:11] local.INFO: Processing buffer {"connection_id":89849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87776b78012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:07:11] local.INFO: Packet analysis {"connection_id":89849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8777"} 
[2026-06-02 14:07:11] local.INFO: Extracted packet for processing {"connection_id":89849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8777"} 
[2026-06-02 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779632640001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780389211000,"timestamp_ms":1780389211000,"timestamp_seconds":1780389211,"priority":1,"record_length":96,"hex_timestamp":"0000019e87776b78"} 
[2026-06-02 14:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779632640001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779632640001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:07:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779632640001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":89849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:07:11] local.INFO: GPS data processed {"connection_id":89849,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:07:11] local.INFO: Acknowledgment sent {"connection_id":89849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:07:42] local.INFO: TCP Data received {"connection_id":89849,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8777bd80012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8777bd80012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:07:42] local.INFO: Processing buffer {"connection_id":89849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8777bd80012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:07:42] local.INFO: Packet analysis {"connection_id":89849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8777"} 
[2026-06-02 14:07:42] local.INFO: Extracted packet for processing {"connection_id":89849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8777"} 
[2026-06-02 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779638016001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780389232000,"timestamp_ms":1780389232000,"timestamp_seconds":1780389232,"priority":1,"record_length":96,"hex_timestamp":"0000019e8777bd80"} 
[2026-06-02 14:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:07:42] 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-06-02 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:07:42] 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-06-02 14:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779638016001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779638016001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:07:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779638016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":89849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:07:42] local.INFO: GPS data processed {"connection_id":89849,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:07:42] local.INFO: Acknowledgment sent {"connection_id":89849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:08:05] local.INFO: TCP Data received {"connection_id":89468,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:08:05] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:08:05] local.INFO: IMEI packet received {"connection_id":89468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":89468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:08:10] local.INFO: TCP Data received {"connection_id":89468,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:08:10] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:08:10] local.INFO: IMEI packet received {"connection_id":89468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":89468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:08:11] local.INFO: TCP Data received {"connection_id":89468,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87780f88012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87780f88012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:08:11] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87780f88012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:08:11] local.INFO: Packet analysis {"connection_id":89468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:08:11] local.INFO: Extracted packet for processing {"connection_id":89468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779643392001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780389253000,"timestamp_ms":1780389253000,"timestamp_seconds":1780389253,"priority":1,"record_length":96,"hex_timestamp":"0000019e87780f88"} 
[2026-06-02 14:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779643392001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779643392001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:08:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779643392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":89468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:08:11] local.INFO: GPS data processed {"connection_id":89468,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:08:11] local.INFO: Acknowledgment sent {"connection_id":89468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:08:34] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:08:34] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:08:34] local.INFO: IMEI packet received {"connection_id":89735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":89735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:08:34] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87781b40012cd1a4c0073a6958000a012027..."} 
[2026-06-02 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87781b40012cd1a4c0073a6958000a012027..."} 
[2026-06-02 14:08:34] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87781b40012cd1a4c0073a6958000a012027..."} 
[2026-06-02 14:08:34] local.INFO: Packet analysis {"connection_id":89735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:08:34] local.INFO: Extracted packet for processing {"connection_id":89735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":751936704,"raw_latitude":121268568,"longitude_deg":75.1936704,"latitude_deg":12.1268568,"altitude":10,"angle":288,"satellites":39,"speed":23,"hex_longitude":"2cd1a4c0","hex_latitude":"073a6958","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779649280001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305712233076228096,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3339630198883049472,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780389256000,"timestamp_ms":1780389256000,"timestamp_seconds":1780389256,"priority":1,"record_length":96,"hex_timestamp":"0000019e87781b40"} 
[2026-06-02 14:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:08: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-06-02 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:08:34] 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-06-02 14: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-06-02 14:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779649280001,"66":27995,"43":206,"83":43264,"24":23,"16":305712233076228096,"44":-3339630198883049472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-06-02 14:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779649280001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305712233076228096,"km_value":305712233076228.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3339630198883049472,"description":"Unknown IO ID 44"} 
[2026-06-02 14:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779649280001,"power":27995,"unknown_43":206,"unknown_83":43264,"ignition":23,"odometer":null,"unknown_44":-3339630198883049472}} 
[2026-06-02 14:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":89735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:08:34] local.INFO: GPS data processed {"connection_id":89735,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:08:34] local.INFO: Acknowledgment sent {"connection_id":89735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:08:42] local.INFO: TCP Data received {"connection_id":89468,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87786190012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87786190012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:08:42] local.INFO: Processing buffer {"connection_id":89468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87786190012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:08:42] local.INFO: Packet analysis {"connection_id":89468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:08:42] local.INFO: Extracted packet for processing {"connection_id":89468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779648768001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780389274000,"timestamp_ms":1780389274000,"timestamp_seconds":1780389274,"priority":1,"record_length":96,"hex_timestamp":"0000019e87786190"} 
[2026-06-02 14:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:08:42] 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-06-02 14:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:08:42] 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-06-02 14:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779648768001,"66":12178,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779648768001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:08:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779648768001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":89468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:08:42] local.INFO: GPS data processed {"connection_id":89468,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:08:42] local.INFO: Acknowledgment sent {"connection_id":89468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:09:03] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:03] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:03] local.INFO: IMEI packet received {"connection_id":89851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":89851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:09:05] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87781f28012cd1a280073a6908000a010b26..."} 
[2026-06-02 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87781f28012cd1a280073a6908000a010b26..."} 
[2026-06-02 14:09:05] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87781f28012cd1a280073a6908000a010b26..."} 
[2026-06-02 14:09:05] local.INFO: Packet analysis {"connection_id":89735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:09:05] local.INFO: Extracted packet for processing {"connection_id":89735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":751936128,"raw_latitude":121268488,"longitude_deg":75.1936128,"latitude_deg":12.1268488,"altitude":10,"angle":267,"satellites":38,"speed":23,"hex_longitude":"2cd1a280","hex_latitude":"073a6908","is_valid_coordinates":true} 
[2026-06-02 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779649536001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305712263140999168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3340333886324779008,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780389257000,"timestamp_ms":1780389257000,"timestamp_seconds":1780389257,"priority":1,"record_length":96,"hex_timestamp":"0000019e87781f28"} 
[2026-06-02 14:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:09: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-06-02 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779649536001,"66":27539,"43":206,"83":43264,"24":23,"16":305712263140999168,"44":-3340333886324779008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-06-02 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779649536001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-06-02 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305712263140999168,"km_value":305712263140999.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3340333886324779008,"description":"Unknown IO ID 44"} 
[2026-06-02 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779649536001,"power":27539,"unknown_43":206,"unknown_83":43264,"ignition":23,"odometer":null,"unknown_44":-3340333886324779008}} 
[2026-06-02 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":89735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:09:05] local.INFO: GPS data processed {"connection_id":89735,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:09:05] local.INFO: Acknowledgment sent {"connection_id":89735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:09:06] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:06] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:06] local.INFO: IMEI packet received {"connection_id":89851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":89851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:09:10] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:10] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:09:10] local.INFO: IMEI packet received {"connection_id":89851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":89851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:09:11] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8778b398012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8778b398012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:09:11] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8778b398012d1967c0071fedb80043010a27..."} 
[2026-06-02 14:09:11] local.INFO: Packet analysis {"connection_id":89851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:09:11] local.INFO: Extracted packet for processing {"connection_id":89851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779654144001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780389295000,"timestamp_ms":1780389295000,"timestamp_seconds":1780389295,"priority":1,"record_length":96,"hex_timestamp":"0000019e8778b398"} 
[2026-06-02 14:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 14:09:11] 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-06-02 14:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779654144001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779654144001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:09:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779654144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":89851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:09:12] local.INFO: GPS data processed {"connection_id":89851,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:09:12] local.INFO: Acknowledgment sent {"connection_id":89851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:09:23] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:09:23] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:09:23] local.INFO: IMEI packet received {"connection_id":89737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":89737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:09:28] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:09:28] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:09:28] local.INFO: IMEI packet received {"connection_id":89737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":89737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:09:29] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e877851f0012cd17c40073a6450000b011628..."} 
[2026-06-02 14:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877851f0012cd17c40073a6450000b011628..."} 
[2026-06-02 14:09:29] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877851f0012cd17c40073a6450000b011628..."} 
[2026-06-02 14:09:29] local.INFO: Packet analysis {"connection_id":89737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:09:29] local.INFO: Extracted packet for processing {"connection_id":89737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:09:29] local.INFO: GPS Element Parsed {"raw_longitude":751926336,"raw_latitude":121267280,"longitude_deg":75.1926336,"latitude_deg":12.126728,"altitude":11,"angle":278,"satellites":40,"speed":37,"hex_longitude":"2cd17c40","hex_latitude":"073a6450","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779649792001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305712731292434432,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3340967205022398464,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:29] 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-06-02 14:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780389270000,"timestamp_ms":1780389270000,"timestamp_seconds":1780389270,"priority":1,"record_length":96,"hex_timestamp":"0000019e877851f0"} 
[2026-06-02 14:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 14:09:29] 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-06-02 14: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-06-02 14:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779649792001,"66":27767,"52":206,"85":37632,"24":37,"16":305712731292434432,"44":-3340967205022398464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779649792001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:09:29] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305712731292434432,"km_value":305712731292434.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3340967205022398464,"description":"Unknown IO ID 44"} 
[2026-06-02 14:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779649792001,"power":27767,"unknown_52":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3340967205022398464}} 
[2026-06-02 14:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":89737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:09:29] local.INFO: GPS data processed {"connection_id":89737,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:09:29] local.INFO: Acknowledgment sent {"connection_id":89737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:09:43] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877905a0012d1967c0071fedb80043010a25..."} 
[2026-06-02 14:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877905a0012d1967c0071fedb80043010a25..."} 
[2026-06-02 14:09:43] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877905a0012d1967c0071fedb80043010a25..."} 
[2026-06-02 14:09:43] local.INFO: Packet analysis {"connection_id":89851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:09:43] local.INFO: Extracted packet for processing {"connection_id":89851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779659520001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:09: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-06-02 14:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780389316000,"timestamp_ms":1780389316000,"timestamp_seconds":1780389316,"priority":1,"record_length":96,"hex_timestamp":"0000019e877905a0"} 
[2026-06-02 14:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:09: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-06-02 14:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:09:43] 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-06-02 14:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779659520001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779659520001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:09:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779659520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":89851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:09:43] local.INFO: GPS data processed {"connection_id":89851,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:09:43] local.INFO: Acknowledgment sent {"connection_id":89851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:10:00] local.INFO: TCP Data received {"connection_id":89737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87787518012cd15880073a6918000b011226..."} 
[2026-06-02 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87787518012cd15880073a6918000b011226..."} 
[2026-06-02 14:10:00] local.INFO: Processing buffer {"connection_id":89737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87787518012cd15880073a6918000b011226..."} 
[2026-06-02 14:10:00] local.INFO: Packet analysis {"connection_id":89737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:10:00] local.INFO: Extracted packet for processing {"connection_id":89737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:10:00] local.INFO: GPS Element Parsed {"raw_longitude":751917184,"raw_latitude":121268504,"longitude_deg":75.1917184,"latitude_deg":12.1268504,"altitude":11,"angle":274,"satellites":38,"speed":43,"hex_longitude":"2cd15880","hex_latitude":"073a6918","is_valid_coordinates":true} 
[2026-06-02 14:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779653120001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305713169379098624,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3351733622881890304,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10: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-06-02 14:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780389279000,"timestamp_ms":1780389279000,"timestamp_seconds":1780389279,"priority":1,"record_length":96,"hex_timestamp":"0000019e87787518"} 
[2026-06-02 14:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 14:10: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-06-02 14:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779653120001,"66":27930,"52":206,"85":37632,"24":43,"16":305713169379098624,"44":-3351733622881890304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779653120001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:10:00] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305713169379098624,"km_value":305713169379098.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3351733622881890304,"description":"Unknown IO ID 44"} 
[2026-06-02 14:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779653120001,"power":27930,"unknown_52":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3351733622881890304}} 
[2026-06-02 14:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":89737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:10:00] local.INFO: GPS data processed {"connection_id":89737,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:10:00] local.INFO: Acknowledgment sent {"connection_id":89737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:10:05] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:05] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:05] local.INFO: IMEI packet received {"connection_id":89469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":89469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:10:06] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:06] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:06] local.INFO: IMEI packet received {"connection_id":89469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":89469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:10:10] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:10] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:10:10] local.INFO: IMEI packet received {"connection_id":89469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":89469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:10:11] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877957a8012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877957a8012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:10:11] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877957a8012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:10:11] local.INFO: Packet analysis {"connection_id":89469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:10:11] local.INFO: Extracted packet for processing {"connection_id":89469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779664896001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780389337000,"timestamp_ms":1780389337000,"timestamp_seconds":1780389337,"priority":1,"record_length":96,"hex_timestamp":"0000019e877957a8"} 
[2026-06-02 14:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779664896001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779664896001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:10:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779664896001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":89469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:10:11] local.INFO: GPS data processed {"connection_id":89469,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:10:11] local.INFO: Acknowledgment sent {"connection_id":89469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:10:29] local.INFO: TCP Data received {"connection_id":90925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:10:29] local.INFO: Processing buffer {"connection_id":90925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:10:29] local.INFO: IMEI packet received {"connection_id":90925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":90925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:10:33] local.INFO: TCP Data received {"connection_id":90925,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:10:33] local.INFO: Processing buffer {"connection_id":90925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:10:33] local.INFO: IMEI packet received {"connection_id":90925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":90925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:10:34] local.INFO: TCP Data received {"connection_id":90925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e87789c28012cd136c0073a6ac0000e010428..."} 
[2026-06-02 14:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87789c28012cd136c0073a6ac0000e010428..."} 
[2026-06-02 14:10:34] local.INFO: Processing buffer {"connection_id":90925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87789c28012cd136c0073a6ac0000e010428..."} 
[2026-06-02 14:10:34] local.INFO: Packet analysis {"connection_id":90925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:10:34] local.INFO: Extracted packet for processing {"connection_id":90925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":751908544,"raw_latitude":121268928,"longitude_deg":75.1908544,"latitude_deg":12.1268928,"altitude":14,"angle":260,"satellites":40,"speed":31,"hex_longitude":"2cd136c0","hex_latitude":"073a6ac0","is_valid_coordinates":true} 
[2026-06-02 14:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779655424001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305713577400991744,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3361796353298982912,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:34] 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-06-02 14:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780389289000,"timestamp_ms":1780389289000,"timestamp_seconds":1780389289,"priority":1,"record_length":96,"hex_timestamp":"0000019e87789c28"} 
[2026-06-02 14:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:10: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-06-02 14:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779655424001,"66":27995,"95":206,"85":37632,"24":31,"16":305713577400991744,"44":-3361796353298982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779655424001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305713577400991744,"km_value":305713577400991.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3361796353298982912,"description":"Unknown IO ID 44"} 
[2026-06-02 14:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779655424001,"power":27995,"unknown_95":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3361796353298982912}} 
[2026-06-02 14:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":90925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:10:34] local.INFO: GPS data processed {"connection_id":90925,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:10:34] local.INFO: Acknowledgment sent {"connection_id":90925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:10:39] local.INFO: TCP Data received {"connection_id":90925,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8778a3f8012cd13080073a68e8000d00f728..."} 
[2026-06-02 14:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8778a3f8012cd13080073a68e8000d00f728..."} 
[2026-06-02 14:10:39] local.INFO: Processing buffer {"connection_id":90925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8778a3f8012cd13080073a68e8000d00f728..."} 
[2026-06-02 14:10:39] local.INFO: Packet analysis {"connection_id":90925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:10:39] local.INFO: Extracted packet for processing {"connection_id":90925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:10:39] local.INFO: GPS Element Parsed {"raw_longitude":751906944,"raw_latitude":121268456,"longitude_deg":75.1906944,"latitude_deg":12.1268456,"altitude":13,"angle":247,"satellites":40,"speed":34,"hex_longitude":"2cd13080","hex_latitude":"073a68e8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779657984001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305713659005370368,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3371296133762859008,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10: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-06-02 14:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780389291000,"timestamp_ms":1780389291000,"timestamp_seconds":1780389291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8778a3f8"} 
[2026-06-02 14:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:10: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-06-02 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:10:39] 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-06-02 14: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-06-02 14:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779657984001,"66":27974,"95":206,"85":37632,"24":34,"16":305713659005370368,"44":-3371296133762859008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779657984001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:10:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305713659005370368,"km_value":305713659005370.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:10:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3371296133762859008,"description":"Unknown IO ID 44"} 
[2026-06-02 14:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779657984001,"power":27974,"unknown_95":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3371296133762859008}} 
[2026-06-02 14:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":90925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:10:39] local.INFO: GPS data processed {"connection_id":90925,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:10:39] local.INFO: Acknowledgment sent {"connection_id":90925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:10:42] local.INFO: TCP Data received {"connection_id":89469,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8779a9b0012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8779a9b0012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:10:42] local.INFO: Processing buffer {"connection_id":89469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8779a9b0012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:10:42] local.INFO: Packet analysis {"connection_id":89469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:10:42] local.INFO: Extracted packet for processing {"connection_id":89469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779670272001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780389358000,"timestamp_ms":1780389358000,"timestamp_seconds":1780389358,"priority":1,"record_length":96,"hex_timestamp":"0000019e8779a9b0"} 
[2026-06-02 14:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:10:42] 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-06-02 14:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:10:42] 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-06-02 14:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779670272001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779670272001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:10:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779670272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":89469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:10:42] local.INFO: GPS data processed {"connection_id":89469,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:10:42] local.INFO: Acknowledgment sent {"connection_id":89469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:11:05] local.INFO: TCP Data received {"connection_id":90926,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:05] local.INFO: Processing buffer {"connection_id":90926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:05] local.INFO: IMEI packet received {"connection_id":90926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":90926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:11:10] local.INFO: TCP Data received {"connection_id":90926,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:10] local.INFO: Processing buffer {"connection_id":90926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:10] local.INFO: IMEI packet received {"connection_id":90926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":90926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:11:10] local.INFO: TCP Data received {"connection_id":90926,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:10] local.INFO: Processing buffer {"connection_id":90926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:11:10] local.INFO: IMEI packet received {"connection_id":90926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":90926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:11:11] local.INFO: TCP Data received {"connection_id":90926,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877d3008012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877d3008012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:11:11] local.INFO: Processing buffer {"connection_id":90926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877d3008012d1967c0071fedb80043010a29..."} 
[2026-06-02 14:11:11] local.INFO: Packet analysis {"connection_id":90926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:11:11] local.INFO: Extracted packet for processing {"connection_id":90926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779729408001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780389589000,"timestamp_ms":1780389589000,"timestamp_seconds":1780389589,"priority":1,"record_length":96,"hex_timestamp":"0000019e877d3008"} 
[2026-06-02 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779729408001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779729408001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:11:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779729408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":90926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:11:11] local.INFO: GPS data processed {"connection_id":90926,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:11:11] local.INFO: Acknowledgment sent {"connection_id":90926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:11:16] local.INFO: TCP Data received {"connection_id":90926,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877d8210012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877d8210012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:11:16] local.INFO: Processing buffer {"connection_id":90926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877d8210012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:11:16] local.INFO: Packet analysis {"connection_id":90926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:11:16] local.INFO: Extracted packet for processing {"connection_id":90926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779734784001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14: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-06-02 14:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780389610000,"timestamp_ms":1780389610000,"timestamp_seconds":1780389610,"priority":1,"record_length":96,"hex_timestamp":"0000019e877d8210"} 
[2026-06-02 14:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:11:16] 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-06-02 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:11: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-06-02 14:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779734784001,"66":12265,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779734784001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:11:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779734784001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":90926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:11:16] local.INFO: GPS data processed {"connection_id":90926,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:11:16] local.INFO: Acknowledgment sent {"connection_id":90926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:11:24] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:11:24] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:11:24] local.INFO: IMEI packet received {"connection_id":89852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:11:28] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:11:28] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:11:28] local.INFO: IMEI packet received {"connection_id":89738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":89738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:11:29] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:11:29] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:11:29] local.INFO: IMEI packet received {"connection_id":89852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:11:30] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8778c720012cd10d40073a5a28000c00f627..."} 
[2026-06-02 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8778c720012cd10d40073a5a28000c00f627..."} 
[2026-06-02 14:11:30] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8778c720012cd10d40073a5a28000c00f627..."} 
[2026-06-02 14:11:30] local.INFO: Packet analysis {"connection_id":89852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:11:30] local.INFO: Extracted packet for processing {"connection_id":89852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":751897920,"raw_latitude":121264680,"longitude_deg":75.189792,"latitude_deg":12.126468,"altitude":12,"angle":246,"satellites":39,"speed":41,"hex_longitude":"2cd10d40","hex_latitude":"073a5a28","is_valid_coordinates":true} 
[2026-06-02 14:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779658496001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305714127156805632,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3373055352367421440,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:30] 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-06-02 14:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780389300000,"timestamp_ms":1780389300000,"timestamp_seconds":1780389300,"priority":1,"record_length":96,"hex_timestamp":"0000019e8778c720"} 
[2026-06-02 14:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:11:30] 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-06-02 14:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:11:30] 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-06-02 14:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:11:30] 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-06-02 14:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779658496001,"66":27995,"95":206,"85":37632,"24":41,"16":305714127156805632,"44":-3373055352367421440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779658496001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:11:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305714127156805632,"km_value":305714127156805.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3373055352367421440,"description":"Unknown IO ID 44"} 
[2026-06-02 14:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779658496001,"power":27995,"unknown_95":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3373055352367421440}} 
[2026-06-02 14:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":89852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:11:30] local.INFO: GPS data processed {"connection_id":89852,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:11:30] local.INFO: Acknowledgment sent {"connection_id":89852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:11:47] local.INFO: TCP Data received {"connection_id":90926,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877dd418012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877dd418012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:11:47] local.INFO: Processing buffer {"connection_id":90926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877dd418012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:11:47] local.INFO: Packet analysis {"connection_id":90926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:11:47] local.INFO: Extracted packet for processing {"connection_id":90926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 14:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779740160001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:11: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-06-02 14:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780389631000,"timestamp_ms":1780389631000,"timestamp_seconds":1780389631,"priority":1,"record_length":96,"hex_timestamp":"0000019e877dd418"} 
[2026-06-02 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-06-02 14:11: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-06-02 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-02 14:11:47] 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-06-02 14:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 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-06-02 14:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":90926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":90926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":90926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:11:47] 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-06-02 14:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779740160001,"66":12287,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779740160001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:11:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779740160001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":90926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:11:47] local.INFO: GPS data processed {"connection_id":90926,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:11:47] local.INFO: Acknowledgment sent {"connection_id":90926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:11:58] local.INFO: TCP Data received {"connection_id":89470,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:11:58] local.INFO: Processing buffer {"connection_id":89470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:11:58] local.INFO: IMEI packet received {"connection_id":89470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":89470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:12:01] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8778ee30012cd0eb80073a4af0000b00f128..."} 
[2026-06-02 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8778ee30012cd0eb80073a4af0000b00f128..."} 
[2026-06-02 14:12:01] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8778ee30012cd0eb80073a4af0000b00f128..."} 
[2026-06-02 14:12:01] local.INFO: Packet analysis {"connection_id":89852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:12:01] local.INFO: Extracted packet for processing {"connection_id":89852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8778"} 
[2026-06-02 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":751889280,"raw_latitude":121260784,"longitude_deg":75.188928,"latitude_deg":12.1260784,"altitude":11,"angle":241,"satellites":40,"speed":35,"hex_longitude":"2cd0eb80","hex_latitude":"073a4af0","is_valid_coordinates":true} 
[2026-06-02 14:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779660800001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305714578128371712,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3382977345297438720,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:01] 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-06-02 14:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780389310000,"timestamp_ms":1780389310000,"timestamp_seconds":1780389310,"priority":1,"record_length":96,"hex_timestamp":"0000019e8778ee30"} 
[2026-06-02 14:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:12:01] 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-06-02 14:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:12:01] 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-06-02 14:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779660800001,"66":27974,"95":206,"85":37632,"24":35,"16":305714578128371712,"44":-3382977345297438720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779660800001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:12:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305714578128371712,"km_value":305714578128371.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:12:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3382977345297438720,"description":"Unknown IO ID 44"} 
[2026-06-02 14:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779660800001,"power":27974,"unknown_95":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3382977345297438720}} 
[2026-06-02 14:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":89852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:12:01] local.INFO: GPS data processed {"connection_id":89852,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:12:01] local.INFO: Acknowledgment sent {"connection_id":89852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:12:10] local.INFO: TCP Data received {"connection_id":89739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:12:10] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:12:10] local.INFO: IMEI packet received {"connection_id":89739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":89739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:12:13] local.INFO: TCP Data received {"connection_id":89739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:12:13] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:12:13] local.INFO: IMEI packet received {"connection_id":89739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":89739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:12:14] local.INFO: TCP Data received {"connection_id":89739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877e2620012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877e2620012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:12:14] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877e2620012d1967c0071fedb80043010a28..."} 
[2026-06-02 14:12:14] local.INFO: Packet analysis {"connection_id":89739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877e"} 
[2026-06-02 14:12:14] local.INFO: Extracted packet for processing {"connection_id":89739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877e"} 
[2026-06-02 14:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532984,"longitude_deg":75.663968,"latitude_deg":11.9532984,"altitude":67,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-06-02 14:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218410010247168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12: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-06-02 14:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780389652000,"timestamp_ms":1780389652000,"timestamp_seconds":1780389652,"priority":1,"record_length":96,"hex_timestamp":"0000019e877e2620"} 
[2026-06-02 14:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 14:12:14] 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-06-02 14:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:12:14] 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-06-02 14:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779745536001,"66":13798,"102":206,"83":41984,"24":0,"16":125218410010247168,"45":1830642910382372864},"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-06-02 14:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:12:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218410010247168,"km_value":125218410010247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779745536001,"power":13798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":89739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:12:14] local.INFO: GPS data processed {"connection_id":89739,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:12:14] local.INFO: Acknowledgment sent {"connection_id":89739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:12:15] local.INFO: TCP Data received {"connection_id":89739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877e7828012d196840071fed100038005e27..."} 
[2026-06-02 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877e7828012d196840071fed100038005e27..."} 
[2026-06-02 14:12:15] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877e7828012d196840071fed100038005e27..."} 
[2026-06-02 14:12:15] local.INFO: Packet analysis {"connection_id":89739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877e"} 
[2026-06-02 14:12:15] local.INFO: Extracted packet for processing {"connection_id":89739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877e"} 
[2026-06-02 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532816,"longitude_deg":75.6639808,"latitude_deg":11.9532816,"altitude":56,"angle":94,"satellites":39,"speed":3,"hex_longitude":"2d196840","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-06-02 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779750912001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218418600181760,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382372864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780389673000,"timestamp_ms":1780389673000,"timestamp_seconds":1780389673,"priority":1,"record_length":96,"hex_timestamp":"0000019e877e7828"} 
[2026-06-02 14:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:12: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-06-02 14:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 14:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:12:15] 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-06-02 14:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779750912001,"66":13972,"102":206,"83":41984,"24":3,"16":125218418600181760,"45":1830642910382372864},"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-06-02 14:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779750912001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:12:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218418600181760,"km_value":125218418600181.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382372864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779750912001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830642910382372864}} 
[2026-06-02 14:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":89739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:12:16] local.INFO: GPS data processed {"connection_id":89739,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:12:16] local.INFO: Acknowledgment sent {"connection_id":89739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:12:23] local.INFO: TCP Data received {"connection_id":89471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:12:23] local.INFO: Processing buffer {"connection_id":89471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:12:23] local.INFO: IMEI packet received {"connection_id":89471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":89471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:12:29] local.INFO: TCP Data received {"connection_id":89471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:12:29] local.INFO: Processing buffer {"connection_id":89471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:12:29] local.INFO: IMEI packet received {"connection_id":89471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":89471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:12:30] local.INFO: TCP Data received {"connection_id":89471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87791540012cd0d180073a3bf0000b00fe28..."} 
[2026-06-02 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87791540012cd0d180073a3bf0000b00fe28..."} 
[2026-06-02 14:12:30] local.INFO: Processing buffer {"connection_id":89471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87791540012cd0d180073a3bf0000b00fe28..."} 
[2026-06-02 14:12:30] local.INFO: Packet analysis {"connection_id":89471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:12:30] local.INFO: Extracted packet for processing {"connection_id":89471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:12:30] local.INFO: GPS Element Parsed {"raw_longitude":751882624,"raw_latitude":121256944,"longitude_deg":75.1882624,"latitude_deg":12.1256944,"altitude":11,"angle":254,"satellites":40,"speed":21,"hex_longitude":"2cd0d180","hex_latitude":"073a3bf0","is_valid_coordinates":true} 
[2026-06-02 14:12: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-06-02 14:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779663360001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305714943200591872,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3392477125762420736,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:30] 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-06-02 14:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780389320000,"timestamp_ms":1780389320000,"timestamp_seconds":1780389320,"priority":1,"record_length":96,"hex_timestamp":"0000019e87791540"} 
[2026-06-02 14:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:12:30] 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-06-02 14:12: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":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:12:30] 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-06-02 14:12: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-06-02 14:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:12:30] 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-06-02 14:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779663360001,"66":27908,"95":206,"85":37632,"24":21,"16":305714943200591872,"44":-3392477125762420736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779663360001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305714943200591872,"km_value":305714943200591.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3392477125762420736,"description":"Unknown IO ID 44"} 
[2026-06-02 14:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779663360001,"power":27908,"unknown_95":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3392477125762420736}} 
[2026-06-02 14:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":89471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:12:30] local.INFO: GPS data processed {"connection_id":89471,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:12:30] local.INFO: Acknowledgment sent {"connection_id":89471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:12:47] local.INFO: TCP Data received {"connection_id":89739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e877f3b78012d19a3c0071ff170003a004f27..."} 
[2026-06-02 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877f3b78012d19a3c0071ff170003a004f27..."} 
[2026-06-02 14:12:47] local.INFO: Processing buffer {"connection_id":89739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877f3b78012d19a3c0071ff170003a004f27..."} 
[2026-06-02 14:12:47] local.INFO: Packet analysis {"connection_id":89739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877f"} 
[2026-06-02 14:12:47] local.INFO: Extracted packet for processing {"connection_id":89739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877f"} 
[2026-06-02 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533936,"longitude_deg":75.665504,"latitude_deg":11.9533936,"altitude":58,"angle":79,"satellites":39,"speed":14,"hex_longitude":"2d19a3c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-06-02 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-06-02 14:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779768576001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125219174514425856,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799242240,"note":"Value kept but may cause issues"} 
[2026-06-02 14:12: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-06-02 14:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780389723000,"timestamp_ms":1780389723000,"timestamp_seconds":1780389723,"priority":1,"record_length":96,"hex_timestamp":"0000019e877f3b78"} 
[2026-06-02 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-06-02 14:12: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-06-02 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 14:12: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-06-02 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-06-02 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-06-02 14:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:12:47] 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-06-02 14:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779768576001,"66":12972,"101":206,"83":41984,"24":14,"16":125219174514425856,"45":1846757352799242240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 14:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779768576001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:12:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 14:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125219174514425856,"km_value":125219174514425.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799242240,"description":"Unknown IO ID 45"} 
[2026-06-02 14:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779768576001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1846757352799242240}} 
[2026-06-02 14:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":89739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:12:47] local.INFO: GPS data processed {"connection_id":89739,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:12:47] local.INFO: Acknowledgment sent {"connection_id":89739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:13:01] local.INFO: TCP Data received {"connection_id":89471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87793868012cd0c240073a38b0000e010228..."} 
[2026-06-02 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87793868012cd0c240073a38b0000e010228..."} 
[2026-06-02 14:13:01] local.INFO: Processing buffer {"connection_id":89471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87793868012cd0c240073a38b0000e010228..."} 
[2026-06-02 14:13:01] local.INFO: Packet analysis {"connection_id":89471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:13:01] local.INFO: Extracted packet for processing {"connection_id":89471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8779"} 
[2026-06-02 14:13:01] local.INFO: GPS Element Parsed {"raw_longitude":751878720,"raw_latitude":121256112,"longitude_deg":75.187872,"latitude_deg":12.1256112,"altitude":14,"angle":258,"satellites":40,"speed":14,"hex_longitude":"2cd0c240","hex_latitude":"073a38b0","is_valid_coordinates":true} 
[2026-06-02 14:13: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-06-02 14:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779665920001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3399795475157880832,"note":"Value kept but may cause issues"} 
[2026-06-02 14:13:01] 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-06-02 14:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780389329000,"timestamp_ms":1780389329000,"timestamp_seconds":1780389329,"priority":1,"record_length":96,"hex_timestamp":"0000019e87793868"} 
[2026-06-02 14:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:13:01] 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-06-02 14:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779665920001,"66":28028,"95":206,"85":37632,"24":14,"16":305715132179152896,"44":-3399795475157880832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779665920001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:13:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3399795475157880832,"description":"Unknown IO ID 44"} 
[2026-06-02 14:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779665920001,"power":28028,"unknown_95":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-3399795475157880832}} 
[2026-06-02 14:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":89471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:13:01] local.INFO: GPS data processed {"connection_id":89471,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:13:01] local.INFO: Acknowledgment sent {"connection_id":89471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:13:01] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:01] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:01] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:13:04] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:04] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:04] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:13:04] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:04] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:04] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:13:05] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:05] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:13:05] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:13:23] local.INFO: TCP Data received {"connection_id":89472,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:13:23] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:13:23] local.INFO: IMEI packet received {"connection_id":89472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":89472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:13:30] local.INFO: TCP Data received {"connection_id":89472,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:13:30] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:13:30] local.INFO: IMEI packet received {"connection_id":89472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":89472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:13:31] local.INFO: TCP Data received {"connection_id":89472,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:13:31] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:13:31] local.INFO: Packet analysis {"connection_id":89472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:13:31] local.INFO: Extracted packet for processing {"connection_id":89472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14:13: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-06-02 14:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779668224001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404087968552931328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:13:31] 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-06-02 14:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780389632000,"timestamp_ms":1780389632000,"timestamp_seconds":1780389632,"priority":1,"record_length":96,"hex_timestamp":"0000019e877dd800"} 
[2026-06-02 14:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 14:13: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":124,"data_length":795,"current_offset":136} 
[2026-06-02 14:13:31] 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-06-02 14:13: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-06-02 14:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:13:31] 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-06-02 14:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779668224001,"66":26419,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3404087968552931328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779668224001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:13:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3404087968552931328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779668224001,"power":26419,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3404087968552931328}} 
[2026-06-02 14:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":89472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:13:31] local.INFO: GPS data processed {"connection_id":89472,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:13:31] local.INFO: Acknowledgment sent {"connection_id":89472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:14:02] local.INFO: TCP Data received {"connection_id":89472,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:02] local.INFO: Processing buffer {"connection_id":89472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:02] local.INFO: Packet analysis {"connection_id":89472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:14:02] local.INFO: Extracted packet for processing {"connection_id":89472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779668224001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404087968552931328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:02] 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-06-02 14:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780389632000,"timestamp_ms":1780389632000,"timestamp_seconds":1780389632,"priority":1,"record_length":96,"hex_timestamp":"0000019e877dd800"} 
[2026-06-02 14:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 14:14:02] 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-06-02 14:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:14: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-06-02 14:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779668224001,"66":26419,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3404087968552931328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779668224001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3404087968552931328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779668224001,"power":26419,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3404087968552931328}} 
[2026-06-02 14:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":89472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:14:02] local.INFO: GPS data processed {"connection_id":89472,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:14:02] local.INFO: Acknowledgment sent {"connection_id":89472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:14:29] local.INFO: TCP Data received {"connection_id":90927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:14:29] local.INFO: Processing buffer {"connection_id":90927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:14:29] local.INFO: IMEI packet received {"connection_id":90927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":90927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:14:34] local.INFO: TCP Data received {"connection_id":90927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:14:34] local.INFO: Processing buffer {"connection_id":90927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:14:34] local.INFO: IMEI packet received {"connection_id":90927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":90927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:14:35] local.INFO: TCP Data received {"connection_id":90927,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:35] local.INFO: Processing buffer {"connection_id":90927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:35] local.INFO: Packet analysis {"connection_id":90927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:14:35] local.INFO: Extracted packet for processing {"connection_id":90927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:14:35] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779668224001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404087968552931328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:35] 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-06-02 14:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780389632000,"timestamp_ms":1780389632000,"timestamp_seconds":1780389632,"priority":1,"record_length":96,"hex_timestamp":"0000019e877dd800"} 
[2026-06-02 14:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:14:35] 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-06-02 14:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 14:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779668224001,"66":26419,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3404087968552931328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779668224001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:14:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:14:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:14:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3404087968552931328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779668224001,"power":26419,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3404087968552931328}} 
[2026-06-02 14:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":90927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:14:35] local.INFO: GPS data processed {"connection_id":90927,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:14:35] local.INFO: Acknowledgment sent {"connection_id":90927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:14:39] local.INFO: TCP Data received {"connection_id":90927,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:39] local.INFO: Processing buffer {"connection_id":90927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:14:39] local.INFO: Packet analysis {"connection_id":90927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:14:39] local.INFO: Extracted packet for processing {"connection_id":90927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:14:39] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779668224001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404087968552931328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:14: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-06-02 14:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780389632000,"timestamp_ms":1780389632000,"timestamp_seconds":1780389632,"priority":1,"record_length":96,"hex_timestamp":"0000019e877dd800"} 
[2026-06-02 14:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:14:39] 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-06-02 14:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 14:14:39] 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-06-02 14:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:14:39] 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-06-02 14:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779668224001,"66":26419,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3404087968552931328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779668224001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:14:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:14:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3404087968552931328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779668224001,"power":26419,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3404087968552931328}} 
[2026-06-02 14:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":90927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:14:39] local.INFO: GPS data processed {"connection_id":90927,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:14:39] local.INFO: Acknowledgment sent {"connection_id":90927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:15:24] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:15:24] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:15:24] local.INFO: IMEI packet received {"connection_id":89742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":89742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:15:29] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:15:29] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:15:29] local.INFO: IMEI packet received {"connection_id":89742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":89742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:15:29] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:15:29] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:15:29] local.INFO: Packet analysis {"connection_id":89742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:15:29] local.INFO: Extracted packet for processing {"connection_id":89742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779668224001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404087968552931328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:15:29] 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-06-02 14:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780389632000,"timestamp_ms":1780389632000,"timestamp_seconds":1780389632,"priority":1,"record_length":96,"hex_timestamp":"0000019e877dd800"} 
[2026-06-02 14:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:15:29] 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-06-02 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 14:15:29] 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-06-02 14:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:15:29] 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-06-02 14:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779668224001,"66":26419,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3404087968552931328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779668224001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:15:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3404087968552931328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779668224001,"power":26419,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3404087968552931328}} 
[2026-06-02 14:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":89742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:15:30] local.INFO: GPS data processed {"connection_id":89742,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:15:30] local.INFO: Acknowledgment sent {"connection_id":89742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:16:01] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:16:01] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e877dd800012cd0ab40073a54000010010227..."} 
[2026-06-02 14:16:01] local.INFO: Packet analysis {"connection_id":89742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:16:01] local.INFO: Extracted packet for processing {"connection_id":89742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e877d"} 
[2026-06-02 14:16:01] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779668224001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404087968552931328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:16:01] 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-06-02 14:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780389632000,"timestamp_ms":1780389632000,"timestamp_seconds":1780389632,"priority":1,"record_length":96,"hex_timestamp":"0000019e877dd800"} 
[2026-06-02 14:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:16:01] 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-06-02 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 14:16: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-06-02 14: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-06-02 14:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:16:01] 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-06-02 14:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779668224001,"66":26419,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3404087968552931328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779668224001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:16:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3404087968552931328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779668224001,"power":26419,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3404087968552931328}} 
[2026-06-02 14:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":89742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:16:01] local.INFO: GPS data processed {"connection_id":89742,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:16:01] local.INFO: Acknowledgment sent {"connection_id":89742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:16:23] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:16:23] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:16:23] local.INFO: IMEI packet received {"connection_id":89743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":89743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:16:28] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:16:28] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:16:28] local.INFO: IMEI packet received {"connection_id":89743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":89743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:16:29] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87826fc8012cd0ab40073a54000010010229..."} 
[2026-06-02 14:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87826fc8012cd0ab40073a54000010010229..."} 
[2026-06-02 14:16:29] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87826fc8012cd0ab40073a54000010010229..."} 
[2026-06-02 14:16:29] local.INFO: Packet analysis {"connection_id":89743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8782"} 
[2026-06-02 14:16:29] local.INFO: Extracted packet for processing {"connection_id":89743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8782"} 
[2026-06-02 14:16:29] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779745792001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3410561893015486464,"note":"Value kept but may cause issues"} 
[2026-06-02 14:16:29] 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-06-02 14:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780389933000,"timestamp_ms":1780389933000,"timestamp_seconds":1780389933,"priority":1,"record_length":96,"hex_timestamp":"0000019e87826fc8"} 
[2026-06-02 14:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:16:29] 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-06-02 14:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 14:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:16:29] 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-06-02 14:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779745792001,"66":26169,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3410561893015486464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779745792001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:16:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3410561893015486464,"description":"Unknown IO ID 44"} 
[2026-06-02 14:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779745792001,"power":26169,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3410561893015486464}} 
[2026-06-02 14:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":89743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:16:29] local.INFO: GPS data processed {"connection_id":89743,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:16:29] local.INFO: Acknowledgment sent {"connection_id":89743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:17:00] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8782e4f8012cd0ab40073a54000010010229..."} 
[2026-06-02 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8782e4f8012cd0ab40073a54000010010229..."} 
[2026-06-02 14:17:00] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8782e4f8012cd0ab40073a54000010010229..."} 
[2026-06-02 14:17:00] local.INFO: Packet analysis {"connection_id":89743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8782"} 
[2026-06-02 14:17:00] local.INFO: Extracted packet for processing {"connection_id":89743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8782"} 
[2026-06-02 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":751872832,"raw_latitude":121263104,"longitude_deg":75.1872832,"latitude_deg":12.1263104,"altitude":16,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2cd0ab40","hex_latitude":"073a5400","is_valid_coordinates":true} 
[2026-06-02 14:17: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-06-02 14:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779822848001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3410561893015486464,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:00] 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-06-02 14:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780389963000,"timestamp_ms":1780389963000,"timestamp_seconds":1780389963,"priority":1,"record_length":96,"hex_timestamp":"0000019e8782e4f8"} 
[2026-06-02 14:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:17: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-06-02 14: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-02 14:17:00] 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-06-02 14: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-06-02 14:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:17:00] 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-06-02 14:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779822848001,"66":26169,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3410561893015486464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779822848001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:17:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3410561893015486464,"description":"Unknown IO ID 44"} 
[2026-06-02 14:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779822848001,"power":26169,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3410561893015486464}} 
[2026-06-02 14:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":89743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:17:00] local.INFO: GPS data processed {"connection_id":89743,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:17:00] local.INFO: Acknowledgment sent {"connection_id":89743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:17:13] local.INFO: TCP Data received {"connection_id":90930,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:17:13] local.INFO: Processing buffer {"connection_id":90930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:17:13] local.INFO: IMEI packet received {"connection_id":90930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":90930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:17:27] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:27] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:27] local.INFO: IMEI packet received {"connection_id":89857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":89857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:17:29] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:29] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:29] local.INFO: IMEI packet received {"connection_id":89857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":89857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:17:40] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:40] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:17:40] local.INFO: IMEI packet received {"connection_id":89857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":89857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:17:40] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8782f498012cd0a640073a5f100010015928..."} 
[2026-06-02 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8782f498012cd0a640073a5f100010015928..."} 
[2026-06-02 14:17:40] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8782f498012cd0a640073a5f100010015928..."} 
[2026-06-02 14:17:40] local.INFO: Packet analysis {"connection_id":89857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8782"} 
[2026-06-02 14:17:40] local.INFO: Extracted packet for processing {"connection_id":89857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8782"} 
[2026-06-02 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":751871552,"raw_latitude":121265936,"longitude_deg":75.1871552,"latitude_deg":12.1265936,"altitude":16,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2cd0a640","hex_latitude":"073a5f10","is_valid_coordinates":true} 
[2026-06-02 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779830528001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3410561893015486464,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:40] 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-06-02 14:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780389967000,"timestamp_ms":1780389967000,"timestamp_seconds":1780389967,"priority":1,"record_length":96,"hex_timestamp":"0000019e8782f498"} 
[2026-06-02 14:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-02 14:17:40] 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-06-02 14:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:17:40] 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-06-02 14:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779830528001,"66":26006,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3410561893015486464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779830528001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:17:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:17:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3410561893015486464,"description":"Unknown IO ID 44"} 
[2026-06-02 14:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779830528001,"power":26006,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3410561893015486464}} 
[2026-06-02 14:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":89857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:17:40] local.INFO: GPS data processed {"connection_id":89857,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:17:40] local.INFO: Acknowledgment sent {"connection_id":89857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:17:41] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878346a0012cd0a640073a5f100010015929..."} 
[2026-06-02 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878346a0012cd0a640073a5f100010015929..."} 
[2026-06-02 14:17:41] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878346a0012cd0a640073a5f100010015929..."} 
[2026-06-02 14:17:41] local.INFO: Packet analysis {"connection_id":89857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8783"} 
[2026-06-02 14:17:41] local.INFO: Extracted packet for processing {"connection_id":89857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8783"} 
[2026-06-02 14:17:41] local.INFO: GPS Element Parsed {"raw_longitude":751871552,"raw_latitude":121265936,"longitude_deg":75.1871552,"latitude_deg":12.1265936,"altitude":16,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2cd0a640","hex_latitude":"073a5f10","is_valid_coordinates":true} 
[2026-06-02 14:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779831552001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305715132179152896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3411969267898314752,"note":"Value kept but may cause issues"} 
[2026-06-02 14:17:41] 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-06-02 14:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780389988000,"timestamp_ms":1780389988000,"timestamp_seconds":1780389988,"priority":1,"record_length":96,"hex_timestamp":"0000019e878346a0"} 
[2026-06-02 14:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 14:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:17:41] 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-06-02 14:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779831552001,"66":27995,"95":206,"85":37632,"24":0,"16":305715132179152896,"44":-3411969267898314752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 14:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779831552001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:17:41] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 14:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305715132179152896,"km_value":305715132179152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3411969267898314752,"description":"Unknown IO ID 44"} 
[2026-06-02 14:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779831552001,"power":27995,"unknown_95":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3411969267898314752}} 
[2026-06-02 14:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":89857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:17:41] local.INFO: GPS data processed {"connection_id":89857,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:17:41] local.INFO: Acknowledgment sent {"connection_id":89857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:17:58] local.INFO: TCP Data received {"connection_id":89474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:17:58] local.INFO: Processing buffer {"connection_id":89474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:17:58] local.INFO: IMEI packet received {"connection_id":89474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":89474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:18:10] local.INFO: TCP Data received {"connection_id":89858,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:18:10] local.INFO: Processing buffer {"connection_id":89858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:18:10] local.INFO: IMEI packet received {"connection_id":89858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":89858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:18:15] local.INFO: TCP Data received {"connection_id":89858,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:18:15] local.INFO: Processing buffer {"connection_id":89858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:18:15] local.INFO: IMEI packet received {"connection_id":89858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":89858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:18:16] local.INFO: TCP Data received {"connection_id":89858,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e878346a0012d182dc0072198880046012e27..."} 
[2026-06-02 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878346a0012d182dc0072198880046012e27..."} 
[2026-06-02 14:18:16] local.INFO: Processing buffer {"connection_id":89858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878346a0012d182dc0072198880046012e27..."} 
[2026-06-02 14:18:16] local.INFO: Packet analysis {"connection_id":89858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8783"} 
[2026-06-02 14:18:16] local.INFO: Extracted packet for processing {"connection_id":89858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8783"} 
[2026-06-02 14:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642248,"longitude_deg":75.6559296,"latitude_deg":11.9642248,"altitude":70,"angle":302,"satellites":39,"speed":24,"hex_longitude":"2d182dc0","hex_latitude":"07219888","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779835648001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125228636327378944,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745707836187555840,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18: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-06-02 14:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780389988000,"timestamp_ms":1780389988000,"timestamp_seconds":1780389988,"priority":1,"record_length":96,"hex_timestamp":"0000019e878346a0"} 
[2026-06-02 14:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:18:16] 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-06-02 14: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 14:18:16] 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-06-02 14: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-06-02 14:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:18: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-06-02 14:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779835648001,"66":14157,"105":206,"83":41984,"24":24,"16":125228636327378944,"45":1745707836187555840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779835648001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:18:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125228636327378944,"km_value":125228636327378.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745707836187555840,"description":"Unknown IO ID 45"} 
[2026-06-02 14:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779835648001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1745707836187555840}} 
[2026-06-02 14:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":89858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:18:16] local.INFO: GPS data processed {"connection_id":89858,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:18:16] local.INFO: Acknowledgment sent {"connection_id":89858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:18:17] local.INFO: TCP Data received {"connection_id":89858,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87834e70012d182a4007219b700046013927..."} 
[2026-06-02 14:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87834e70012d182a4007219b700046013927..."} 
[2026-06-02 14:18:17] local.INFO: Processing buffer {"connection_id":89858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87834e70012d182a4007219b700046013927..."} 
[2026-06-02 14:18:17] local.INFO: Packet analysis {"connection_id":89858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8783"} 
[2026-06-02 14:18:17] local.INFO: Extracted packet for processing {"connection_id":89858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8783"} 
[2026-06-02 14:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642992,"longitude_deg":75.65584,"latitude_deg":11.9642992,"altitude":70,"angle":313,"satellites":39,"speed":22,"hex_longitude":"2d182a40","hex_latitude":"07219b70","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779836928001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125228692161953792,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723198464,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18: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-06-02 14:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780389990000,"timestamp_ms":1780389990000,"timestamp_seconds":1780389990,"priority":1,"record_length":96,"hex_timestamp":"0000019e87834e70"} 
[2026-06-02 14:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:18: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-06-02 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 14:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:18: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-06-02 14:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779836928001,"66":14102,"105":206,"83":41984,"24":22,"16":125228692161953792,"45":1742259767723198464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779836928001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:18:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125228692161953792,"km_value":125228692161953.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723198464,"description":"Unknown IO ID 45"} 
[2026-06-02 14:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779836928001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1742259767723198464}} 
[2026-06-02 14:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":89858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:18:18] local.INFO: GPS data processed {"connection_id":89858,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:18:18] local.INFO: Acknowledgment sent {"connection_id":89858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:18:23] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:23] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:23] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:18:23] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:23] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:23] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:18:24] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:24] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:24] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:18:29] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:29] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:18:29] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:18:30] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87844870012cd07e40073acab8000c000626..."} 
[2026-06-02 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87844870012cd07e40073acab8000c000626..."} 
[2026-06-02 14:18:30] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87844870012cd07e40073acab8000c000626..."} 
[2026-06-02 14:18:30] local.INFO: Packet analysis {"connection_id":89744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:18:30] local.INFO: Extracted packet for processing {"connection_id":89744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:18:30] local.INFO: GPS Element Parsed {"raw_longitude":751861312,"raw_latitude":121293496,"longitude_deg":75.1861312,"latitude_deg":12.1293496,"altitude":12,"angle":6,"satellites":38,"speed":41,"hex_longitude":"2cd07e40","hex_latitude":"073acab8","is_valid_coordinates":true} 
[2026-06-02 14:18: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-06-02 14:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779853056001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305716588173066240,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3423087529472124928,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:30] 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-06-02 14:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780390054000,"timestamp_ms":1780390054000,"timestamp_seconds":1780390054,"priority":1,"record_length":96,"hex_timestamp":"0000019e87844870"} 
[2026-06-02 14:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:18:30] 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-06-02 14:18: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 14:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:18: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-06-02 14:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:18:30] 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-06-02 14:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779853056001,"66":28006,"52":206,"85":37632,"24":41,"16":305716588173066240,"44":-3423087529472124928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779853056001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305716588173066240,"km_value":305716588173066.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3423087529472124928,"description":"Unknown IO ID 44"} 
[2026-06-02 14:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779853056001,"power":28006,"unknown_52":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3423087529472124928}} 
[2026-06-02 14:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":89744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:18:30] local.INFO: GPS data processed {"connection_id":89744,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:18:30] local.INFO: Acknowledgment sent {"connection_id":89744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:18:49] local.INFO: TCP Data received {"connection_id":89858,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87845bf8012d18368007219598004e006d25..."} 
[2026-06-02 14:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87845bf8012d18368007219598004e006d25..."} 
[2026-06-02 14:18:49] local.INFO: Processing buffer {"connection_id":89858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87845bf8012d18368007219598004e006d25..."} 
[2026-06-02 14:18:49] local.INFO: Packet analysis {"connection_id":89858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:18:49] local.INFO: Extracted packet for processing {"connection_id":89858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756561536,"raw_latitude":119641496,"longitude_deg":75.6561536,"latitude_deg":11.9641496,"altitude":78,"angle":109,"satellites":37,"speed":19,"hex_longitude":"2d183680","hex_latitude":"07219598","is_valid_coordinates":true} 
[2026-06-02 14:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779855104001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125229289162407936,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744722673769224192,"note":"Value kept but may cause issues"} 
[2026-06-02 14:18: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-06-02 14:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780390059000,"timestamp_ms":1780390059000,"timestamp_seconds":1780390059,"priority":1,"record_length":96,"hex_timestamp":"0000019e87845bf8"} 
[2026-06-02 14:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-02 14:18:49] 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-06-02 14:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:18:49] 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-06-02 14:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779855104001,"66":14243,"105":206,"83":41984,"24":19,"16":125229289162407936,"45":1744722673769224192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779855104001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:18:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125229289162407936,"km_value":125229289162407.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744722673769224192,"description":"Unknown IO ID 45"} 
[2026-06-02 14:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779855104001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1744722673769224192}} 
[2026-06-02 14:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":89858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:18:49] local.INFO: GPS data processed {"connection_id":89858,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:18:49] local.INFO: Acknowledgment sent {"connection_id":89858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:19:01] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8784e0c8012cd042c0073b18000007011128..."} 
[2026-06-02 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8784e0c8012cd042c0073b18000007011128..."} 
[2026-06-02 14:19:01] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8784e0c8012cd042c0073b18000007011128..."} 
[2026-06-02 14:19:01] local.INFO: Packet analysis {"connection_id":89744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:01] local.INFO: Extracted packet for processing {"connection_id":89744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":751846080,"raw_latitude":121313280,"longitude_deg":75.184608,"latitude_deg":12.131328,"altitude":7,"angle":273,"satellites":40,"speed":36,"hex_longitude":"2cd042c0","hex_latitude":"073b1800","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779863040001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305718044166979584,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3437020540813568000,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:01] 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-06-02 14:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780390093000,"timestamp_ms":1780390093000,"timestamp_seconds":1780390093,"priority":1,"record_length":96,"hex_timestamp":"0000019e8784e0c8"} 
[2026-06-02 14:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:19:01] 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-06-02 14:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779863040001,"66":27876,"52":206,"85":37632,"24":36,"16":305718044166979584,"44":-3437020540813568000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779863040001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:19:01] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305718044166979584,"km_value":305718044166979.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3437020540813568000,"description":"Unknown IO ID 44"} 
[2026-06-02 14:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779863040001,"power":27876,"unknown_52":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3437020540813568000}} 
[2026-06-02 14:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":89744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:19:01] local.INFO: GPS data processed {"connection_id":89744,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:19:01] local.INFO: Acknowledgment sent {"connection_id":89744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:19:04] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:04] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:04] local.INFO: IMEI packet received {"connection_id":89476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":89476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:19:05] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:05] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:05] local.INFO: IMEI packet received {"connection_id":89476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":89476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:19:06] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:06] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:06] local.INFO: IMEI packet received {"connection_id":89476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":89476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:19:10] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:10] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:19:10] local.INFO: IMEI packet received {"connection_id":89476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":89476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:19:11] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87848ec0012d185800072188400052007326..."} 
[2026-06-02 14:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87848ec0012d185800072188400052007326..."} 
[2026-06-02 14:19:11] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87848ec0012d185800072188400052007326..."} 
[2026-06-02 14:19:11] local.INFO: Packet analysis {"connection_id":89476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:11] local.INFO: Extracted packet for processing {"connection_id":89476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119638080,"longitude_deg":75.6570112,"latitude_deg":11.963808,"altitude":82,"angle":115,"satellites":38,"speed":35,"hex_longitude":"2d185800","hex_latitude":"07218840","is_valid_coordinates":true} 
[2026-06-02 14:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779855104001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125229731544039424,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744722673769224192,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780390072000,"timestamp_ms":1780390072000,"timestamp_seconds":1780390072,"priority":1,"record_length":96,"hex_timestamp":"0000019e87848ec0"} 
[2026-06-02 14:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:19:11] 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-06-02 14:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-02 14:19:11] 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-06-02 14:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779855104001,"66":14233,"105":206,"83":41984,"24":35,"16":125229731544039424,"45":1744722673769224192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779855104001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:19:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125229731544039424,"km_value":125229731544039.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744722673769224192,"description":"Unknown IO ID 45"} 
[2026-06-02 14:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779855104001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1744722673769224192}} 
[2026-06-02 14:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":89476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:19:11] local.INFO: GPS data processed {"connection_id":89476,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:19:11] local.INFO: Acknowledgment sent {"connection_id":89476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:19:16] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8784a248012d186840072182380053006224..."} 
[2026-06-02 14:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8784a248012d186840072182380053006224..."} 
[2026-06-02 14:19:16] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8784a248012d186840072182380053006224..."} 
[2026-06-02 14:19:16] local.INFO: Packet analysis {"connection_id":89476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:16] local.INFO: Extracted packet for processing {"connection_id":89476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756574272,"raw_latitude":119636536,"longitude_deg":75.6574272,"latitude_deg":11.9636536,"altitude":83,"angle":98,"satellites":36,"speed":32,"hex_longitude":"2d186840","hex_latitude":"07218238","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779858432001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125229941997436928,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085488156672,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19: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-06-02 14:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780390077000,"timestamp_ms":1780390077000,"timestamp_seconds":1780390077,"priority":1,"record_length":96,"hex_timestamp":"0000019e8784a248"} 
[2026-06-02 14:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:19: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-06-02 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 14:19:16] 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-06-02 14: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-06-02 14:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:19: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-06-02 14:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779858432001,"66":13928,"105":206,"83":41984,"24":32,"16":125229941997436928,"45":1754152085488156672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779858432001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:19:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125229941997436928,"km_value":125229941997436.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085488156672,"description":"Unknown IO ID 45"} 
[2026-06-02 14:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779858432001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1754152085488156672}} 
[2026-06-02 14:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":89476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:19:16] local.INFO: GPS data processed {"connection_id":89476,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:19:16] local.INFO: Acknowledgment sent {"connection_id":89476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:19:23] local.INFO: TCP Data received {"connection_id":89746,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:23] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:23] local.INFO: IMEI packet received {"connection_id":89746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":89746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:19:27] local.INFO: TCP Data received {"connection_id":89746,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:27] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:27] local.INFO: IMEI packet received {"connection_id":89746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":89746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:19:28] local.INFO: TCP Data received {"connection_id":89746,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:28] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:19:28] local.INFO: IMEI packet received {"connection_id":89746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:19:29] local.INFO: TCP Data received {"connection_id":89746,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87850008012cd02880073b18100007012229..."} 
[2026-06-02 14:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87850008012cd02880073b18100007012229..."} 
[2026-06-02 14:19:29] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87850008012cd02880073b18100007012229..."} 
[2026-06-02 14:19:29] local.INFO: Packet analysis {"connection_id":89746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:19:29] local.INFO: Extracted packet for processing {"connection_id":89746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:19:29] local.INFO: GPS Element Parsed {"raw_longitude":751839360,"raw_latitude":121313296,"longitude_deg":75.183936,"latitude_deg":12.1313296,"altitude":7,"angle":290,"satellites":41,"speed":23,"hex_longitude":"2cd02880","hex_latitude":"073b1810","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779863808001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305718361994559488,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3439976028068904960,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:29] 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-06-02 14:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780390101000,"timestamp_ms":1780390101000,"timestamp_seconds":1780390101,"priority":1,"record_length":96,"hex_timestamp":"0000019e87850008"} 
[2026-06-02 14:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:19: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-06-02 14: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-06-02 14:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:19:29] 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-06-02 14:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779863808001,"66":27876,"52":206,"85":37632,"24":23,"16":305718361994559488,"44":-3439976028068904960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779863808001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:19:29] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305718361994559488,"km_value":305718361994559.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3439976028068904960,"description":"Unknown IO ID 44"} 
[2026-06-02 14:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779863808001,"power":27876,"unknown_52":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-3439976028068904960}} 
[2026-06-02 14:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":89746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:19:29] local.INFO: GPS data processed {"connection_id":89746,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:19:29] local.INFO: Acknowledgment sent {"connection_id":89746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:19:32] local.INFO: TCP Data received {"connection_id":89746,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878503f0012cd02680073b19480007013628..."} 
[2026-06-02 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878503f0012cd02680073b19480007013628..."} 
[2026-06-02 14:19:32] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878503f0012cd02680073b19480007013628..."} 
[2026-06-02 14:19:32] local.INFO: Packet analysis {"connection_id":89746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:19:32] local.INFO: Extracted packet for processing {"connection_id":89746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":751838848,"raw_latitude":121313608,"longitude_deg":75.1838848,"latitude_deg":12.1313608,"altitude":7,"angle":310,"satellites":40,"speed":22,"hex_longitude":"2cd02680","hex_latitude":"073b1948","is_valid_coordinates":true} 
[2026-06-02 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779865856001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305718392059330560,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3447364746207555584,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:32] 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-06-02 14:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780390102000,"timestamp_ms":1780390102000,"timestamp_seconds":1780390102,"priority":1,"record_length":96,"hex_timestamp":"0000019e878503f0"} 
[2026-06-02 14:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:19:32] 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-06-02 14:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:19:32] 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-06-02 14:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779865856001,"66":27876,"52":206,"85":37632,"24":22,"16":305718392059330560,"44":-3447364746207555584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779865856001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:19:32] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305718392059330560,"km_value":305718392059330.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3447364746207555584,"description":"Unknown IO ID 44"} 
[2026-06-02 14:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779865856001,"power":27876,"unknown_52":206,"unknown_85":37632,"ignition":22,"odometer":null,"unknown_44":-3447364746207555584}} 
[2026-06-02 14:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":89746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:19:32] local.INFO: GPS data processed {"connection_id":89746,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:19:32] local.INFO: Acknowledgment sent {"connection_id":89746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:19:47] local.INFO: TCP Data received {"connection_id":89476,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8784f068012d187380072181a80051005723..."} 
[2026-06-02 14:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8784f068012d187380072181a80051005723..."} 
[2026-06-02 14:19:47] local.INFO: Processing buffer {"connection_id":89476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8784f068012d187380072181a80051005723..."} 
[2026-06-02 14:19:47] local.INFO: Packet analysis {"connection_id":89476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:47] local.INFO: Extracted packet for processing {"connection_id":89476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8784"} 
[2026-06-02 14:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756577152,"raw_latitude":119636392,"longitude_deg":75.6577152,"latitude_deg":11.9636392,"altitude":81,"angle":87,"satellites":35,"speed":4,"hex_longitude":"2d187380","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-06-02 14:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779859712001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125230092321292288,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758726053859309568,"note":"Value kept but may cause issues"} 
[2026-06-02 14:19: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-06-02 14:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780390097000,"timestamp_ms":1780390097000,"timestamp_seconds":1780390097,"priority":1,"record_length":96,"hex_timestamp":"0000019e8784f068"} 
[2026-06-02 14:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:19: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-06-02 14:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 14:19: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-06-02 14:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:19:47] 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-06-02 14:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779859712001,"66":14265,"106":206,"83":41984,"24":4,"16":125230092321292288,"45":1758726053859309568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 14:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779859712001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:19:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 14:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125230092321292288,"km_value":125230092321292.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758726053859309568,"description":"Unknown IO ID 45"} 
[2026-06-02 14:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779859712001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1758726053859309568}} 
[2026-06-02 14:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":89476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:19:47] local.INFO: GPS data processed {"connection_id":89476,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:19:47] local.INFO: Acknowledgment sent {"connection_id":89476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:20:03] local.INFO: TCP Data received {"connection_id":89746,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878507d8012cd02540073b1b200008014929..."} 
[2026-06-02 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878507d8012cd02540073b1b200008014929..."} 
[2026-06-02 14:20:03] local.INFO: Processing buffer {"connection_id":89746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878507d8012cd02540073b1b200008014929..."} 
[2026-06-02 14:20:03] local.INFO: Packet analysis {"connection_id":89746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:03] local.INFO: Extracted packet for processing {"connection_id":89746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":751838528,"raw_latitude":121314080,"longitude_deg":75.1838528,"latitude_deg":12.131408,"altitude":8,"angle":329,"satellites":41,"speed":23,"hex_longitude":"2cd02540","hex_latitude":"073b1b20","is_valid_coordinates":true} 
[2026-06-02 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779866112001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305718422124101632,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3447927696160897024,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:03] 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-06-02 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780390103000,"timestamp_ms":1780390103000,"timestamp_seconds":1780390103,"priority":1,"record_length":96,"hex_timestamp":"0000019e878507d8"} 
[2026-06-02 14:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:20: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-06-02 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:20:03] 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-06-02 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779866112001,"66":27974,"52":206,"85":37632,"24":23,"16":305718422124101632,"44":-3447927696160897024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779866112001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:20:03] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305718422124101632,"km_value":305718422124101.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3447927696160897024,"description":"Unknown IO ID 44"} 
[2026-06-02 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779866112001,"power":27974,"unknown_52":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-3447927696160897024}} 
[2026-06-02 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":89746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:20:03] local.INFO: GPS data processed {"connection_id":89746,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:20:03] local.INFO: Acknowledgment sent {"connection_id":89746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:20:05] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:05] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:05] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:20:07] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:07] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:07] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:20:10] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:11] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:20:11] local.INFO: IMEI packet received {"connection_id":89477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":89477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:20:11] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8785d6e0012d18ca0007213720004d009427..."} 
[2026-06-02 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8785d6e0012d18ca0007213720004d009427..."} 
[2026-06-02 14:20:11] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8785d6e0012d18ca0007213720004d009427..."} 
[2026-06-02 14:20:11] local.INFO: Packet analysis {"connection_id":89477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:11] local.INFO: Extracted packet for processing {"connection_id":89477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756599296,"raw_latitude":119617312,"longitude_deg":75.6599296,"latitude_deg":11.9617312,"altitude":77,"angle":148,"satellites":39,"speed":34,"hex_longitude":"2d18ca00","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-06-02 14:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779879424001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231681459191808,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898146816,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780390156000,"timestamp_ms":1780390156000,"timestamp_seconds":1780390156,"priority":1,"record_length":96,"hex_timestamp":"0000019e8785d6e0"} 
[2026-06-02 14:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 14:20:11] 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-06-02 14:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779879424001,"66":12950,"103":206,"83":41984,"24":34,"16":125231681459191808,"45":1785395807898146816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779879424001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:20:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231681459191808,"km_value":125231681459191.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898146816,"description":"Unknown IO ID 45"} 
[2026-06-02 14:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779879424001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1785395807898146816}} 
[2026-06-02 14:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":89477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:20:12] local.INFO: GPS data processed {"connection_id":89477,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:20:12] local.INFO: Acknowledgment sent {"connection_id":89477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:20:16] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8785ea68012d18d24007212820004b00a225..."} 
[2026-06-02 14:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8785ea68012d18d24007212820004b00a225..."} 
[2026-06-02 14:20:16] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8785ea68012d18d24007212820004b00a225..."} 
[2026-06-02 14:20:16] local.INFO: Packet analysis {"connection_id":89477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:16] local.INFO: Extracted packet for processing {"connection_id":89477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613472,"longitude_deg":75.6601408,"latitude_deg":11.9613472,"altitude":75,"angle":162,"satellites":37,"speed":35,"hex_longitude":"2d18d240","hex_latitude":"07212820","is_valid_coordinates":true} 
[2026-06-02 14:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779879936001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231891912589312,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786240232827854848,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20: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-06-02 14:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780390161000,"timestamp_ms":1780390161000,"timestamp_seconds":1780390161,"priority":1,"record_length":96,"hex_timestamp":"0000019e8785ea68"} 
[2026-06-02 14:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:20: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-06-02 14:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 14:20:16] 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-06-02 14:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:20: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-06-02 14:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779879936001,"66":14233,"103":206,"83":41984,"24":35,"16":125231891912589312,"45":1786240232827854848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779879936001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:20:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231891912589312,"km_value":125231891912589.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786240232827854848,"description":"Unknown IO ID 45"} 
[2026-06-02 14:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779879936001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1786240232827854848}} 
[2026-06-02 14:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":89477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:20:16] local.INFO: GPS data processed {"connection_id":89477,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:20:16] local.INFO: Acknowledgment sent {"connection_id":89477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:20:23] local.INFO: TCP Data received {"connection_id":90931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:23] local.INFO: Processing buffer {"connection_id":90931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:23] local.INFO: IMEI packet received {"connection_id":90931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":90931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:20:24] local.INFO: TCP Data received {"connection_id":90931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:24] local.INFO: Processing buffer {"connection_id":90931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:24] local.INFO: IMEI packet received {"connection_id":90931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":90931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:20:29] local.INFO: TCP Data received {"connection_id":90931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:29] local.INFO: Processing buffer {"connection_id":90931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:20:29] local.INFO: IMEI packet received {"connection_id":90931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":90931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:20:30] local.INFO: TCP Data received {"connection_id":90931,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87850bc0012cd02440073b1d580008015928..."} 
[2026-06-02 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87850bc0012cd02440073b1d580008015928..."} 
[2026-06-02 14:20:30] local.INFO: Processing buffer {"connection_id":90931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87850bc0012cd02440073b1d580008015928..."} 
[2026-06-02 14:20:30] local.INFO: Packet analysis {"connection_id":90931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:30] local.INFO: Extracted packet for processing {"connection_id":90931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:30] local.INFO: GPS Element Parsed {"raw_longitude":751838272,"raw_latitude":121314648,"longitude_deg":75.1838272,"latitude_deg":12.1314648,"altitude":8,"angle":345,"satellites":40,"speed":24,"hex_longitude":"2cd02440","hex_latitude":"073b1d58","is_valid_coordinates":true} 
[2026-06-02 14:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779866368001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305718452188872704,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3448279539881664512,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:30] 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-06-02 14:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780390104000,"timestamp_ms":1780390104000,"timestamp_seconds":1780390104,"priority":1,"record_length":96,"hex_timestamp":"0000019e87850bc0"} 
[2026-06-02 14:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:20:30] 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-06-02 14:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:20:30] 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-06-02 14:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:20:30] 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-06-02 14:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779866368001,"66":27974,"52":206,"85":37632,"24":24,"16":305718452188872704,"44":-3448279539881664512},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-06-02 14:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779866368001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:20:30] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-06-02 14:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305718452188872704,"km_value":305718452188872.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3448279539881664512,"description":"Unknown IO ID 44"} 
[2026-06-02 14:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779866368001,"power":27974,"unknown_52":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-3448279539881664512}} 
[2026-06-02 14:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":90931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:20:30] local.INFO: GPS data processed {"connection_id":90931,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:20:30] local.INFO: Acknowledgment sent {"connection_id":90931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:20:47] local.INFO: TCP Data received {"connection_id":89477,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8785f238012d18d34007212150004a00b125..."} 
[2026-06-02 14:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8785f238012d18d34007212150004a00b125..."} 
[2026-06-02 14:20:47] local.INFO: Processing buffer {"connection_id":89477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8785f238012d18d34007212150004a00b125..."} 
[2026-06-02 14:20:47] local.INFO: Packet analysis {"connection_id":89477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:47] local.INFO: Extracted packet for processing {"connection_id":89477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8785"} 
[2026-06-02 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119611728,"longitude_deg":75.6601664,"latitude_deg":11.9611728,"altitude":74,"angle":177,"satellites":37,"speed":35,"hex_longitude":"2d18d340","hex_latitude":"07212150","is_valid_coordinates":true} 
[2026-06-02 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779881216001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231977811935232,"note":"Value kept but may cause issues"} 
[2026-06-02 14:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384734720,"note":"Value kept but may cause issues"} 
[2026-06-02 14: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-06-02 14:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780390163000,"timestamp_ms":1780390163000,"timestamp_seconds":1780390163,"priority":1,"record_length":96,"hex_timestamp":"0000019e8785f238"} 
[2026-06-02 14:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:20: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-06-02 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 14:20: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-06-02 14:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:20:47] 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-06-02 14:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779881216001,"66":13722,"103":206,"83":41984,"24":35,"16":125231977811935232,"45":1788562401384734720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779881216001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:20:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231977811935232,"km_value":125231977811935.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384734720,"description":"Unknown IO ID 45"} 
[2026-06-02 14:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779881216001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788562401384734720}} 
[2026-06-02 14:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":89477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:20:47] local.INFO: GPS data processed {"connection_id":89477,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:20:47] local.INFO: Acknowledgment sent {"connection_id":89477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:21:02] local.INFO: TCP Data received {"connection_id":90931,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87867708012ccfed00073c8e68000a016128..."} 
[2026-06-02 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87867708012ccfed00073c8e68000a016128..."} 
[2026-06-02 14:21:02] local.INFO: Processing buffer {"connection_id":90931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87867708012ccfed00073c8e68000a016128..."} 
[2026-06-02 14:21:02] local.INFO: Packet analysis {"connection_id":90931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:02] local.INFO: Extracted packet for processing {"connection_id":90931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":751824128,"raw_latitude":121409128,"longitude_deg":75.1824128,"latitude_deg":12.1409128,"altitude":10,"angle":353,"satellites":40,"speed":37,"hex_longitude":"2ccfed00","hex_latitude":"073c8e68","is_valid_coordinates":true} 
[2026-06-02 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779887616001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305723107933421568,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3463056976137111552,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:02] 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-06-02 14:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780390197000,"timestamp_ms":1780390197000,"timestamp_seconds":1780390197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87867708"} 
[2026-06-02 14:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 14:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:21: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-06-02 14:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779887616001,"66":27908,"3":206,"85":37632,"24":37,"16":305723107933421568,"44":-3463056976137111552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-06-02 14:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779887616001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:21:02] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-02 14:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305723107933421568,"km_value":305723107933421.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3463056976137111552,"description":"Unknown IO ID 44"} 
[2026-06-02 14:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779887616001,"power":27908,"unknown_3":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3463056976137111552}} 
[2026-06-02 14:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":90931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:21:02] local.INFO: GPS data processed {"connection_id":90931,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:21:02] local.INFO: Acknowledgment sent {"connection_id":90931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:21:05] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:21:05] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:21:05] local.INFO: IMEI packet received {"connection_id":89860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":89860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:21:09] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:21:09] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:21:09] local.INFO: IMEI packet received {"connection_id":89860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":89860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:21:09] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e878609a8012d18d44007210b18004600a526..."} 
[2026-06-02 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878609a8012d18d44007210b18004600a526..."} 
[2026-06-02 14:21:09] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878609a8012d18d44007210b18004600a526..."} 
[2026-06-02 14:21:09] local.INFO: Packet analysis {"connection_id":89860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:09] local.INFO: Extracted packet for processing {"connection_id":89860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119606040,"longitude_deg":75.660192,"latitude_deg":11.960604,"altitude":70,"angle":165,"satellites":38,"speed":36,"hex_longitude":"2d18d440","hex_latitude":"07210b18","is_valid_coordinates":true} 
[2026-06-02 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779881728001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232256984809472,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876360998912,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780390169000,"timestamp_ms":1780390169000,"timestamp_seconds":1780390169,"priority":1,"record_length":96,"hex_timestamp":"0000019e878609a8"} 
[2026-06-02 14:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:21:09] 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-06-02 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-02 14:21:09] 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-06-02 14:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:21:09] 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-06-02 14:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779881728001,"66":13689,"103":206,"83":41984,"24":36,"16":125232256984809472,"45":1788843876360998912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779881728001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:21:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232256984809472,"km_value":125232256984809.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876360998912,"description":"Unknown IO ID 45"} 
[2026-06-02 14:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779881728001,"power":13689,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1788843876360998912}} 
[2026-06-02 14:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":89860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:21:10] local.INFO: GPS data processed {"connection_id":89860,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:21:10] local.INFO: Acknowledgment sent {"connection_id":89860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:21:26] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:26] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:26] local.INFO: IMEI packet received {"connection_id":89748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":89748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:21:29] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:29] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:29] local.INFO: IMEI packet received {"connection_id":89748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":89748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:21:34] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:34] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:21:34] local.INFO: IMEI packet received {"connection_id":89748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":89748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:21:35] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8786a200012ccfea80073cb210000b01642c..."} 
[2026-06-02 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8786a200012ccfea80073cb210000b01642c..."} 
[2026-06-02 14:21:35] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8786a200012ccfea80073cb210000b01642c..."} 
[2026-06-02 14:21:35] local.INFO: Packet analysis {"connection_id":89748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:35] local.INFO: Extracted packet for processing {"connection_id":89748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:35] local.INFO: GPS Element Parsed {"raw_longitude":751823488,"raw_latitude":121418256,"longitude_deg":75.1823488,"latitude_deg":12.1418256,"altitude":11,"angle":356,"satellites":44,"speed":34,"hex_longitude":"2ccfea80","hex_latitude":"073cb210","is_valid_coordinates":true} 
[2026-06-02 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779890432001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305723550315053056,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3464112507297306624,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:35] 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-06-02 14:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780390208000,"timestamp_ms":1780390208000,"timestamp_seconds":1780390208,"priority":1,"record_length":96,"hex_timestamp":"0000019e8786a200"} 
[2026-06-02 14:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779890432001,"66":27930,"3":206,"85":37632,"24":34,"16":305723550315053056,"44":-3464112507297306624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-06-02 14:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779890432001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:21:35] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-02 14:21:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305723550315053056,"km_value":305723550315053.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:21:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3464112507297306624,"description":"Unknown IO ID 44"} 
[2026-06-02 14:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779890432001,"power":27930,"unknown_3":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3464112507297306624}} 
[2026-06-02 14:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":89748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:21:35] local.INFO: GPS data processed {"connection_id":89748,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:21:35] local.INFO: Acknowledgment sent {"connection_id":89748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:21:39] local.INFO: TCP Data received {"connection_id":89748,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8786ccf8012ccfe900073cd630000d01662a..."} 
[2026-06-02 14:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8786ccf8012ccfe900073cd630000d01662a..."} 
[2026-06-02 14:21:39] local.INFO: Processing buffer {"connection_id":89748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8786ccf8012ccfe900073cd630000d01662a..."} 
[2026-06-02 14:21:39] local.INFO: Packet analysis {"connection_id":89748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:39] local.INFO: Extracted packet for processing {"connection_id":89748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:39] local.INFO: GPS Element Parsed {"raw_longitude":751823104,"raw_latitude":121427504,"longitude_deg":75.1823104,"latitude_deg":12.1427504,"altitude":13,"angle":358,"satellites":42,"speed":30,"hex_longitude":"2ccfe900","hex_latitude":"073cd630","is_valid_coordinates":true} 
[2026-06-02 14:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779893248001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305723996991651840,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3464816194736746496,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:39] 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-06-02 14:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780390219000,"timestamp_ms":1780390219000,"timestamp_seconds":1780390219,"priority":1,"record_length":96,"hex_timestamp":"0000019e8786ccf8"} 
[2026-06-02 14:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:21: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-06-02 14:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:21:39] 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-06-02 14:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779893248001,"66":27908,"3":206,"85":37632,"24":30,"16":305723996991651840,"44":-3464816194736746496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-06-02 14:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779893248001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:21:39] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-02 14:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305723996991651840,"km_value":305723996991651.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:21:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3464816194736746496,"description":"Unknown IO ID 44"} 
[2026-06-02 14:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779893248001,"power":27908,"unknown_3":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-3464816194736746496}} 
[2026-06-02 14:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":89748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:21:39] local.INFO: GPS data processed {"connection_id":89748,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:21:39] local.INFO: Acknowledgment sent {"connection_id":89748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:21:41] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87865bb0012d18d700072102d8004300a822..."} 
[2026-06-02 14:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87865bb0012d18d700072102d8004300a822..."} 
[2026-06-02 14:21:41] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87865bb0012d18d700072102d8004300a822..."} 
[2026-06-02 14:21:41] local.INFO: Packet analysis {"connection_id":89860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:41] local.INFO: Extracted packet for processing {"connection_id":89860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8786"} 
[2026-06-02 14:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603928,"longitude_deg":75.6602624,"latitude_deg":11.9603928,"altitude":67,"angle":168,"satellites":34,"speed":0,"hex_longitude":"2d18d700","hex_latitude":"072102d8","is_valid_coordinates":true} 
[2026-06-02 14:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779883264001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232390128795648,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336253440,"note":"Value kept but may cause issues"} 
[2026-06-02 14:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780390190000,"timestamp_ms":1780390190000,"timestamp_seconds":1780390190,"priority":1,"record_length":96,"hex_timestamp":"0000019e87865bb0"} 
[2026-06-02 14:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:21: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-06-02 14:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-06-02 14:21:41] 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-06-02 14:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:21:41] 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-06-02 14:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779883264001,"66":14298,"103":206,"83":41984,"24":0,"16":125232390128795648,"45":1789125351336253440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779883264001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:21:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232390128795648,"km_value":125232390128795.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336253440,"description":"Unknown IO ID 45"} 
[2026-06-02 14:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779883264001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789125351336253440}} 
[2026-06-02 14:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":89860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:21:41] local.INFO: GPS data processed {"connection_id":89860,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:21:41] local.INFO: Acknowledgment sent {"connection_id":89860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:22:05] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:05] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:05] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:22:09] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:09] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:09] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:22:09] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:09] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:09] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:22:10] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:10] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:22:10] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:22:11] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87876938012d1973800720af00002f004527..."} 
[2026-06-02 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87876938012d1973800720af00002f004527..."} 
[2026-06-02 14:22:11] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87876938012d1973800720af00002f004527..."} 
[2026-06-02 14:22:11] local.INFO: Packet analysis {"connection_id":89749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:11] local.INFO: Extracted packet for processing {"connection_id":89749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119582464,"longitude_deg":75.6642688,"latitude_deg":11.9582464,"altitude":47,"angle":69,"satellites":39,"speed":30,"hex_longitude":"2d197380","hex_latitude":"0720af00","is_valid_coordinates":true} 
[2026-06-02 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779905280001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125234730885971968,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385371535360,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780390259000,"timestamp_ms":1780390259000,"timestamp_seconds":1780390259,"priority":1,"record_length":96,"hex_timestamp":"0000019e87876938"} 
[2026-06-02 14:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:22:11] 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-06-02 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 14:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779905280001,"66":13993,"103":206,"83":41984,"24":30,"16":125234730885971968,"45":1830924385371535360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779905280001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:22:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125234730885971968,"km_value":125234730885971.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385371535360,"description":"Unknown IO ID 45"} 
[2026-06-02 14:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779905280001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1830924385371535360}} 
[2026-06-02 14:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":89749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:22:11] local.INFO: GPS data processed {"connection_id":89749,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:22:11] local.INFO: Acknowledgment sent {"connection_id":89749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:22:12] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87878490012d1989800720b3880033005427..."} 
[2026-06-02 14:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87878490012d1989800720b3880033005427..."} 
[2026-06-02 14:22:12] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87878490012d1989800720b3880033005427..."} 
[2026-06-02 14:22:12] local.INFO: Packet analysis {"connection_id":89749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:12] local.INFO: Extracted packet for processing {"connection_id":89749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583624,"longitude_deg":75.664832,"latitude_deg":11.9583624,"altitude":51,"angle":84,"satellites":39,"speed":32,"hex_longitude":"2d198980","hex_latitude":"0720b388","is_valid_coordinates":true} 
[2026-06-02 14:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779906304001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125235005763878912,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833950241371389952,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780390266000,"timestamp_ms":1780390266000,"timestamp_seconds":1780390266,"priority":1,"record_length":96,"hex_timestamp":"0000019e87878490"} 
[2026-06-02 14:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 14:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:22:12] 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-06-02 14:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779906304001,"66":14037,"103":206,"83":41984,"24":32,"16":125235005763878912,"45":1833950241371389952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779906304001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:22:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125235005763878912,"km_value":125235005763878.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833950241371389952,"description":"Unknown IO ID 45"} 
[2026-06-02 14:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779906304001,"power":14037,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1833950241371389952}} 
[2026-06-02 14:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":89749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:22:12] local.INFO: GPS data processed {"connection_id":89749,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:22:12] local.INFO: Acknowledgment sent {"connection_id":89749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:22:29] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:29] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:29] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:22:31] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:31] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:31] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:22:34] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:34] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:22:34] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:22:35] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87871b18012ccfe840073cfa90000e00092a..."} 
[2026-06-02 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87871b18012ccfe840073cfa90000e00092a..."} 
[2026-06-02 14:22:35] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87871b18012ccfe840073cfa90000e00092a..."} 
[2026-06-02 14:22:35] local.INFO: Packet analysis {"connection_id":89750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:35] local.INFO: Extracted packet for processing {"connection_id":89750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":751822912,"raw_latitude":121436816,"longitude_deg":75.1822912,"latitude_deg":12.1436816,"altitude":14,"angle":9,"satellites":42,"speed":25,"hex_longitude":"2ccfe840","hex_latitude":"073cfa90","is_valid_coordinates":true} 
[2026-06-02 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779896064001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305724452258185216,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3465238407199444992,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780390239000,"timestamp_ms":1780390239000,"timestamp_seconds":1780390239,"priority":1,"record_length":96,"hex_timestamp":"0000019e87871b18"} 
[2026-06-02 14:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779896064001,"66":27908,"175":206,"85":37632,"24":25,"16":305724452258185216,"44":-3465238407199444992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-06-02 14:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779896064001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:22:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-02 14:22:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305724452258185216,"km_value":305724452258185.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3465238407199444992,"description":"Unknown IO ID 44"} 
[2026-06-02 14:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779896064001,"power":27908,"unknown_175":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-3465238407199444992}} 
[2026-06-02 14:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":89750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:22:35] local.INFO: GPS data processed {"connection_id":89750,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:22:35] local.INFO: Acknowledgment sent {"connection_id":89750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:22:39] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87871b18012ccfe840073cfa90000e00092a..."} 
[2026-06-02 14:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87871b18012ccfe840073cfa90000e00092a..."} 
[2026-06-02 14:22:39] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87871b18012ccfe840073cfa90000e00092a..."} 
[2026-06-02 14:22:39] local.INFO: Packet analysis {"connection_id":89750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:39] local.INFO: Extracted packet for processing {"connection_id":89750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8787"} 
[2026-06-02 14:22:39] local.INFO: GPS Element Parsed {"raw_longitude":751822912,"raw_latitude":121436816,"longitude_deg":75.1822912,"latitude_deg":12.1436816,"altitude":14,"angle":9,"satellites":42,"speed":25,"hex_longitude":"2ccfe840","hex_latitude":"073cfa90","is_valid_coordinates":true} 
[2026-06-02 14:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779901184001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305724452258185216,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3465449513429594112,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780390239000,"timestamp_ms":1780390239000,"timestamp_seconds":1780390239,"priority":1,"record_length":96,"hex_timestamp":"0000019e87871b18"} 
[2026-06-02 14:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:22: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-06-02 14:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:22:39] 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-06-02 14:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779901184001,"66":27908,"175":206,"85":37632,"24":25,"16":305724452258185216,"44":-3465449513429594112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-06-02 14:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779901184001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:22:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-02 14:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305724452258185216,"km_value":305724452258185.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3465449513429594112,"description":"Unknown IO ID 44"} 
[2026-06-02 14:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779901184001,"power":27908,"unknown_175":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-3465449513429594112}} 
[2026-06-02 14:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":89750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:22:39] local.INFO: GPS data processed {"connection_id":89750,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:22:39] local.INFO: Acknowledgment sent {"connection_id":89750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:22:43] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e87881130012d19bb0007205dc8002800aa27..."} 
[2026-06-02 14:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87881130012d19bb0007205dc8002800aa27..."} 
[2026-06-02 14:22:43] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87881130012d19bb0007205dc8002800aa27..."} 
[2026-06-02 14:22:43] local.INFO: Packet analysis {"connection_id":89749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8788"} 
[2026-06-02 14:22:43] local.INFO: Extracted packet for processing {"connection_id":89749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8788"} 
[2026-06-02 14:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119561672,"longitude_deg":75.6660992,"latitude_deg":11.9561672,"altitude":40,"angle":170,"satellites":39,"speed":50,"hex_longitude":"2d19bb00","hex_latitude":"07205dc8","is_valid_coordinates":true} 
[2026-06-02 14:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779915520001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125236646441385984,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846203420672,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780390302000,"timestamp_ms":1780390302000,"timestamp_seconds":1780390302,"priority":1,"record_length":96,"hex_timestamp":"0000019e87881130"} 
[2026-06-02 14:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627501,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2273822456,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4833149650494029824,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2278731777,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2649227308,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470093927,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 14:22:43] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3758173465,"corrected_to":0} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147950754,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093635836719533,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3980066816,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4899908557768490962,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-06-02 14:22:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,237,158,234,45,128,139,43,39,10,66,230,143,42,226,1,240,60,227,135,32,4,113,205,28,202,186,8,37,239,52,2,188,7,21,25,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":3758173465,"validated":0}]} 
[2026-06-02 14:22:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954545137208721408,"timestamp_seconds":2954545137208721.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 14:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:22:43] 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-06-02 14:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779915520001,"66":14341,"103":206,"83":41984,"24":50,"16":125236646441385984,"45":1851049846203420672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779915520001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:22:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:22:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125236646441385984,"km_value":125236646441385.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846203420672,"description":"Unknown IO ID 45"} 
[2026-06-02 14:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779915520001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1851049846203420672}} 
[2026-06-02 14:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":89749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:22:43] local.INFO: GPS data processed {"connection_id":89749,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:22:43] local.INFO: Acknowledgment sent {"connection_id":89749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:23:05] local.INFO: TCP Data received {"connection_id":90932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:05] local.INFO: Processing buffer {"connection_id":90932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:05] local.INFO: IMEI packet received {"connection_id":90932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":90932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:23:06] local.INFO: TCP Data received {"connection_id":90932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:06] local.INFO: Processing buffer {"connection_id":90932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:06] local.INFO: IMEI packet received {"connection_id":90932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":90932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:23:07] local.INFO: TCP Data received {"connection_id":90932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:07] local.INFO: Processing buffer {"connection_id":90932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:07] local.INFO: IMEI packet received {"connection_id":90932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":90932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:23:08] local.INFO: TCP Data received {"connection_id":90932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:08] local.INFO: Processing buffer {"connection_id":90932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:23:08] local.INFO: IMEI packet received {"connection_id":90932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":90932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:23:13] local.INFO: TCP Data received {"connection_id":89478,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:23:13] local.INFO: Processing buffer {"connection_id":89478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:23:13] local.INFO: IMEI packet received {"connection_id":89478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":89478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:23:23] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:23] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:23] local.INFO: IMEI packet received {"connection_id":89862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":89862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:23:24] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:24] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:24] local.INFO: IMEI packet received {"connection_id":89862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":89862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:23:29] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:29] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:23:29] local.INFO: IMEI packet received {"connection_id":89862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:23:30] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87889218012ccfacc0073e8d60000d01562a..."} 
[2026-06-02 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87889218012ccfacc0073e8d60000d01562a..."} 
[2026-06-02 14:23:30] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87889218012ccfacc0073e8d60000d01562a..."} 
[2026-06-02 14:23:30] local.INFO: Packet analysis {"connection_id":89862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8788"} 
[2026-06-02 14:23:30] local.INFO: Extracted packet for processing {"connection_id":89862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8788"} 
[2026-06-02 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":751807680,"raw_latitude":121539936,"longitude_deg":75.180768,"latitude_deg":12.1539936,"altitude":13,"angle":342,"satellites":42,"speed":46,"hex_longitude":"2ccfacc0","hex_latitude":"073e8d60","is_valid_coordinates":true} 
[2026-06-02 14:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779923968001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305729567564234752,"note":"Value kept but may cause issues"} 
[2026-06-02 14:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3478467731078309888,"note":"Value kept but may cause issues"} 
[2026-06-02 14:23:30] 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-06-02 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780390335000,"timestamp_ms":1780390335000,"timestamp_seconds":1780390335,"priority":1,"record_length":96,"hex_timestamp":"0000019e87889218"} 
[2026-06-02 14:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:23:30] 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-06-02 14:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:23: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-06-02 14:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:23:30] 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-06-02 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779923968001,"66":27995,"146":206,"85":37632,"24":46,"16":305729567564234752,"44":-3478467731078309888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,85,24,16,44]} 
[2026-06-02 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779923968001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:23:30] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-02 14:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305729567564234752,"km_value":305729567564234.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3478467731078309888,"description":"Unknown IO ID 44"} 
[2026-06-02 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779923968001,"power":27995,"unknown_146":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3478467731078309888}} 
[2026-06-02 14:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":89862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:23:30] local.INFO: GPS data processed {"connection_id":89862,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:23:30] local.INFO: Acknowledgment sent {"connection_id":89862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:23:58] local.INFO: TCP Data received {"connection_id":90933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:23:58] local.INFO: Processing buffer {"connection_id":90933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:23:58] local.INFO: IMEI packet received {"connection_id":90933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":90933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:24:01] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8788b158012ccfa140073eaee0000f015528..."} 
[2026-06-02 14:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8788b158012ccfa140073eaee0000f015528..."} 
[2026-06-02 14:24:01] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8788b158012ccfa140073eaee0000f015528..."} 
[2026-06-02 14:24:01] local.INFO: Packet analysis {"connection_id":89862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8788"} 
[2026-06-02 14:24:01] local.INFO: Extracted packet for processing {"connection_id":89862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8788"} 
[2026-06-02 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":751804736,"raw_latitude":121548512,"longitude_deg":75.1804736,"latitude_deg":12.1548512,"altitude":15,"angle":341,"satellites":40,"speed":48,"hex_longitude":"2ccfa140","hex_latitude":"073eaee0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779925760001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305730005650898944,"note":"Value kept but may cause issues"} 
[2026-06-02 14:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3482197274517479424,"note":"Value kept but may cause issues"} 
[2026-06-02 14:24:01] 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-06-02 14:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780390343000,"timestamp_ms":1780390343000,"timestamp_seconds":1780390343,"priority":1,"record_length":96,"hex_timestamp":"0000019e8788b158"} 
[2026-06-02 14:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:24:01] 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-06-02 14: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-06-02 14:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:24:01] 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-06-02 14:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779925760001,"66":27974,"146":206,"85":37632,"24":48,"16":305730005650898944,"44":-3482197274517479424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,85,24,16,44]} 
[2026-06-02 14:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779925760001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:24:01] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-02 14:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305730005650898944,"km_value":305730005650898.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3482197274517479424,"description":"Unknown IO ID 44"} 
[2026-06-02 14:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779925760001,"power":27974,"unknown_146":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3482197274517479424}} 
[2026-06-02 14:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":89862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:24:01] local.INFO: GPS data processed {"connection_id":89862,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:24:01] local.INFO: Acknowledgment sent {"connection_id":89862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:24:23] local.INFO: TCP Data received {"connection_id":90934,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:24:23] local.INFO: Processing buffer {"connection_id":90934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:24:23] local.INFO: IMEI packet received {"connection_id":90934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":90934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:24:28] local.INFO: TCP Data received {"connection_id":90934,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:24:28] local.INFO: Processing buffer {"connection_id":90934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:24:28] local.INFO: IMEI packet received {"connection_id":90934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":90934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:24:28] local.INFO: TCP Data received {"connection_id":90934,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8789d650012ccf304007403428000d015c2a..."} 
[2026-06-02 14:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8789d650012ccf304007403428000d015c2a..."} 
[2026-06-02 14:24:28] local.INFO: Processing buffer {"connection_id":90934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8789d650012ccf304007403428000d015c2a..."} 
[2026-06-02 14:24:28] local.INFO: Packet analysis {"connection_id":90934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8789"} 
[2026-06-02 14:24:28] local.INFO: Extracted packet for processing {"connection_id":90934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8789"} 
[2026-06-02 14:24:28] local.INFO: GPS Element Parsed {"raw_longitude":751775808,"raw_latitude":121648168,"longitude_deg":75.1775808,"latitude_deg":12.1648168,"altitude":13,"angle":348,"satellites":42,"speed":60,"hex_longitude":"2ccf3040","hex_latitude":"07403428","is_valid_coordinates":true} 
[2026-06-02 14:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779945472001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305735065122373632,"note":"Value kept but may cause issues"} 
[2026-06-02 14:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3515200215511394304,"note":"Value kept but may cause issues"} 
[2026-06-02 14:24:28] 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-06-02 14:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780390418000,"timestamp_ms":1780390418000,"timestamp_seconds":1780390418,"priority":1,"record_length":96,"hex_timestamp":"0000019e8789d650"} 
[2026-06-02 14:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:24: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-06-02 14:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:24: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-06-02 14:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:24:28] 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-06-02 14:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779945472001,"66":27930,"28":206,"85":37632,"24":60,"16":305735065122373632,"44":-3515200215511394304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-06-02 14:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779945472001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 14:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305735065122373632,"km_value":305735065122373.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3515200215511394304,"description":"Unknown IO ID 44"} 
[2026-06-02 14:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779945472001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-3515200215511394304}} 
[2026-06-02 14:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":90934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:24:29] local.INFO: GPS data processed {"connection_id":90934,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:24:29] local.INFO: Acknowledgment sent {"connection_id":90934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:25:00] local.INFO: TCP Data received {"connection_id":90934,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8789edc0012ccf29c0074056f0000c015b28..."} 
[2026-06-02 14:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8789edc0012ccf29c0074056f0000c015b28..."} 
[2026-06-02 14:25:00] local.INFO: Processing buffer {"connection_id":90934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8789edc0012ccf29c0074056f0000c015b28..."} 
[2026-06-02 14:25:00] local.INFO: Packet analysis {"connection_id":90934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8789"} 
[2026-06-02 14:25:00] local.INFO: Extracted packet for processing {"connection_id":90934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8789"} 
[2026-06-02 14:25:00] local.INFO: GPS Element Parsed {"raw_longitude":751774144,"raw_latitude":121657072,"longitude_deg":75.1774144,"latitude_deg":12.1657072,"altitude":12,"angle":347,"satellites":40,"speed":59,"hex_longitude":"2ccf29c0","hex_latitude":"074056f0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779947008001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305735507504005120,"note":"Value kept but may cause issues"} 
[2026-06-02 14:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3517240909090248704,"note":"Value kept but may cause issues"} 
[2026-06-02 14:25: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-06-02 14:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780390424000,"timestamp_ms":1780390424000,"timestamp_seconds":1780390424,"priority":1,"record_length":96,"hex_timestamp":"0000019e8789edc0"} 
[2026-06-02 14:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:25: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-06-02 14: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-06-02 14:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:25:00] 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-06-02 14:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779947008001,"66":27865,"28":206,"85":37632,"24":59,"16":305735507504005120,"44":-3517240909090248704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-06-02 14:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779947008001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 14:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305735507504005120,"km_value":305735507504005.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3517240909090248704,"description":"Unknown IO ID 44"} 
[2026-06-02 14:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779947008001,"power":27865,"unknown_28":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3517240909090248704}} 
[2026-06-02 14:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":90934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:25:00] local.INFO: GPS data processed {"connection_id":90934,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:25:00] local.INFO: Acknowledgment sent {"connection_id":90934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:25:23] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:25:23] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:25:23] local.INFO: IMEI packet received {"connection_id":89480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":89480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:25:29] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:25:29] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:25:29] local.INFO: IMEI packet received {"connection_id":89480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":89480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:25:30] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878a0530012ccf21c007407938000b015b2a..."} 
[2026-06-02 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878a0530012ccf21c007407938000b015b2a..."} 
[2026-06-02 14:25:30] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878a0530012ccf21c007407938000b015b2a..."} 
[2026-06-02 14:25:30] local.INFO: Packet analysis {"connection_id":89480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878a"} 
[2026-06-02 14:25:30] local.INFO: Extracted packet for processing {"connection_id":89480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878a"} 
[2026-06-02 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":751772096,"raw_latitude":121665848,"longitude_deg":75.1772096,"latitude_deg":12.1665848,"altitude":11,"angle":347,"satellites":42,"speed":59,"hex_longitude":"2ccf21c0","hex_latitude":"07407938","is_valid_coordinates":true} 
[2026-06-02 14:25: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-06-02 14:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779948544001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305735941295702016,"note":"Value kept but may cause issues"} 
[2026-06-02 14:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3519070496436588544,"note":"Value kept but may cause issues"} 
[2026-06-02 14:25:30] 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-06-02 14:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780390430000,"timestamp_ms":1780390430000,"timestamp_seconds":1780390430,"priority":1,"record_length":96,"hex_timestamp":"0000019e878a0530"} 
[2026-06-02 14:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:25:30] 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-06-02 14:25: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-06-02 14:25: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-06-02 14:25: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-06-02 14:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:25:30] 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-06-02 14:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779948544001,"66":27930,"28":206,"85":37632,"24":59,"16":305735941295702016,"44":-3519070496436588544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-06-02 14:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779948544001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305735941295702016,"km_value":305735941295702.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3519070496436588544,"description":"Unknown IO ID 44"} 
[2026-06-02 14:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779948544001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3519070496436588544}} 
[2026-06-02 14:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":89480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:25:30] local.INFO: GPS data processed {"connection_id":89480,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:25:30] local.INFO: Acknowledgment sent {"connection_id":89480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:26:07] local.INFO: TCP Data received {"connection_id":89480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878b39c8012cce8ec007422e50000f015329..."} 
[2026-06-02 14:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878b39c8012cce8ec007422e50000f015329..."} 
[2026-06-02 14:26:07] local.INFO: Processing buffer {"connection_id":89480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878b39c8012cce8ec007422e50000f015329..."} 
[2026-06-02 14:26:07] local.INFO: Packet analysis {"connection_id":89480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:26:07] local.INFO: Extracted packet for processing {"connection_id":89480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:26:07] local.INFO: GPS Element Parsed {"raw_longitude":751734464,"raw_latitude":121777744,"longitude_deg":75.1734464,"latitude_deg":12.1777744,"altitude":15,"angle":339,"satellites":41,"speed":59,"hex_longitude":"2cce8ec0","hex_latitude":"07422e50","is_valid_coordinates":true} 
[2026-06-02 14:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779968768001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305741653602205696,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3559180680589105152,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:07] 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-06-02 14:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780390509000,"timestamp_ms":1780390509000,"timestamp_seconds":1780390509,"priority":1,"record_length":96,"hex_timestamp":"0000019e878b39c8"} 
[2026-06-02 14:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:26:07] 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-06-02 14:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:26:07] 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-06-02 14:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779968768001,"66":27745,"29":206,"85":37632,"24":59,"16":305741653602205696,"44":-3559180680589105152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-06-02 14:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779968768001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:26:07] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-02 14:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305741653602205696,"km_value":305741653602205.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3559180680589105152,"description":"Unknown IO ID 44"} 
[2026-06-02 14:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779968768001,"power":27745,"unknown_29":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3559180680589105152}} 
[2026-06-02 14:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":89480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:26:08] local.INFO: GPS data processed {"connection_id":89480,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:26:08] local.INFO: Acknowledgment sent {"connection_id":89480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:26:24] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:24] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:24] local.INFO: IMEI packet received {"connection_id":89754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":89754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:26:29] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:29] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:29] local.INFO: IMEI packet received {"connection_id":89754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":89754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:26:33] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:33] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:26:33] local.INFO: IMEI packet received {"connection_id":89754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":89754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:26:33] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878b5138012cce820007424f08000f015228..."} 
[2026-06-02 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878b5138012cce820007424f08000f015228..."} 
[2026-06-02 14:26:33] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878b5138012cce820007424f08000f015228..."} 
[2026-06-02 14:26:33] local.INFO: Packet analysis {"connection_id":89754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:26:33] local.INFO: Extracted packet for processing {"connection_id":89754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:26:33] local.INFO: GPS Element Parsed {"raw_longitude":751731200,"raw_latitude":121786120,"longitude_deg":75.17312,"latitude_deg":12.178612,"altitude":15,"angle":338,"satellites":40,"speed":59,"hex_longitude":"2cce8200","hex_latitude":"07424f08","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779970304001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305742091688869888,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3562699117795848192,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780390515000,"timestamp_ms":1780390515000,"timestamp_seconds":1780390515,"priority":1,"record_length":96,"hex_timestamp":"0000019e878b5138"} 
[2026-06-02 14:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:26: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-06-02 14:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 14:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:26:33] 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-06-02 14:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779970304001,"66":27908,"166":206,"85":37632,"24":59,"16":305742091688869888,"44":-3562699117795848192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,44]} 
[2026-06-02 14:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779970304001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:26:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-02 14:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305742091688869888,"km_value":305742091688869.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:26:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3562699117795848192,"description":"Unknown IO ID 44"} 
[2026-06-02 14:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779970304001,"power":27908,"unknown_166":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3562699117795848192}} 
[2026-06-02 14:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":89754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:26:33] local.INFO: GPS data processed {"connection_id":89754,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:26:33] local.INFO: Acknowledgment sent {"connection_id":89754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:26:34] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878b68a8012cce754007426f80000d015129..."} 
[2026-06-02 14:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878b68a8012cce754007426f80000d015129..."} 
[2026-06-02 14:26:34] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878b68a8012cce754007426f80000d015129..."} 
[2026-06-02 14:26:34] local.INFO: Packet analysis {"connection_id":89754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:26:34] local.INFO: Extracted packet for processing {"connection_id":89754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:26:34] local.INFO: GPS Element Parsed {"raw_longitude":751727936,"raw_latitude":121794432,"longitude_deg":75.1727936,"latitude_deg":12.1794432,"altitude":13,"angle":337,"satellites":41,"speed":58,"hex_longitude":"2cce7540","hex_latitude":"07426f80","is_valid_coordinates":true} 
[2026-06-02 14:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779971840001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305742521185599488,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3566287923746764800,"note":"Value kept but may cause issues"} 
[2026-06-02 14:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780390521000,"timestamp_ms":1780390521000,"timestamp_seconds":1780390521,"priority":1,"record_length":96,"hex_timestamp":"0000019e878b68a8"} 
[2026-06-02 14:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:26: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-06-02 14:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:26:34] 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-06-02 14:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779971840001,"66":27865,"166":206,"85":37632,"24":58,"16":305742521185599488,"44":-3566287923746764800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,44]} 
[2026-06-02 14:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779971840001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:26:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-02 14:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305742521185599488,"km_value":305742521185599.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:26:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3566287923746764800,"description":"Unknown IO ID 44"} 
[2026-06-02 14:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779971840001,"power":27865,"unknown_166":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3566287923746764800}} 
[2026-06-02 14:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":89754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:26:34] local.INFO: GPS data processed {"connection_id":89754,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:26:34] local.INFO: Acknowledgment sent {"connection_id":89754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:27:05] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878b8018012cce670007428f58000c014d28..."} 
[2026-06-02 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878b8018012cce670007428f58000c014d28..."} 
[2026-06-02 14:27:05] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878b8018012cce670007428f58000c014d28..."} 
[2026-06-02 14:27:05] local.INFO: Packet analysis {"connection_id":89754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:27:05] local.INFO: Extracted packet for processing {"connection_id":89754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:27:05] local.INFO: GPS Element Parsed {"raw_longitude":751724288,"raw_latitude":121802584,"longitude_deg":75.1724288,"latitude_deg":12.1802584,"altitude":12,"angle":333,"satellites":40,"speed":59,"hex_longitude":"2cce6700","hex_latitude":"07428f58","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779973376001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305742950682329088,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3569876729697697792,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780390527000,"timestamp_ms":1780390527000,"timestamp_seconds":1780390527,"priority":1,"record_length":96,"hex_timestamp":"0000019e878b8018"} 
[2026-06-02 14:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:27: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-06-02 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 14:27: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-06-02 14: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-06-02 14:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:27:05] 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-06-02 14:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779973376001,"66":27930,"166":206,"85":37632,"24":59,"16":305742950682329088,"44":-3569876729697697792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,44]} 
[2026-06-02 14:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779973376001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:27:05] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-02 14:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305742950682329088,"km_value":305742950682329.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3569876729697697792,"description":"Unknown IO ID 44"} 
[2026-06-02 14:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779973376001,"power":27930,"unknown_166":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3569876729697697792}} 
[2026-06-02 14:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":89754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:27:05] local.INFO: GPS data processed {"connection_id":89754,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:27:05] local.INFO: Acknowledgment sent {"connection_id":89754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:27:24] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:27:24] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:27:24] local.INFO: IMEI packet received {"connection_id":89755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:27:25] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:27:25] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:27:25] local.INFO: IMEI packet received {"connection_id":89755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":89755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:27:26] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878b9b70012cce57000742b420000b015429..."} 
[2026-06-02 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878b9b70012cce57000742b420000b015429..."} 
[2026-06-02 14:27:26] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878b9b70012cce57000742b420000b015429..."} 
[2026-06-02 14:27:26] local.INFO: Packet analysis {"connection_id":89755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:27:26] local.INFO: Extracted packet for processing {"connection_id":89755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878b"} 
[2026-06-02 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":751720192,"raw_latitude":121812000,"longitude_deg":75.1720192,"latitude_deg":12.1812,"altitude":11,"angle":340,"satellites":41,"speed":55,"hex_longitude":"2cce5700","hex_latitude":"0742b420","is_valid_coordinates":true} 
[2026-06-02 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779974912001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305743448898535424,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3573887748113737728,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780390534000,"timestamp_ms":1780390534000,"timestamp_seconds":1780390534,"priority":1,"record_length":96,"hex_timestamp":"0000019e878b9b70"} 
[2026-06-02 14:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:27: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-06-02 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:27: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-06-02 14:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779974912001,"66":27908,"166":206,"85":37632,"24":55,"16":305743448898535424,"44":-3573887748113737728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,44]} 
[2026-06-02 14:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779974912001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:27:26] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-02 14:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305743448898535424,"km_value":305743448898535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3573887748113737728,"description":"Unknown IO ID 44"} 
[2026-06-02 14:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779974912001,"power":27908,"unknown_166":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-3573887748113737728}} 
[2026-06-02 14:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":89755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:27:26] local.INFO: GPS data processed {"connection_id":89755,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:27:26] local.INFO: Acknowledgment sent {"connection_id":89755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:27:58] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878ce390012ccdedc00743db800014014f28..."} 
[2026-06-02 14:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878ce390012ccdedc00743db800014014f28..."} 
[2026-06-02 14:27:58] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878ce390012ccdedc00743db800014014f28..."} 
[2026-06-02 14:27:58] local.INFO: Packet analysis {"connection_id":89755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878c"} 
[2026-06-02 14:27:58] local.INFO: Extracted packet for processing {"connection_id":89755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878c"} 
[2026-06-02 14:27:58] local.INFO: GPS Element Parsed {"raw_longitude":751693248,"raw_latitude":121887616,"longitude_deg":75.1693248,"latitude_deg":12.1887616,"altitude":20,"angle":335,"satellites":40,"speed":36,"hex_longitude":"2ccdedc0","hex_latitude":"0743db80","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779995648001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305747340138905600,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3604287045578905600,"note":"Value kept but may cause issues"} 
[2026-06-02 14:27:58] 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-06-02 14:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780390618000,"timestamp_ms":1780390618000,"timestamp_seconds":1780390618,"priority":1,"record_length":96,"hex_timestamp":"0000019e878ce390"} 
[2026-06-02 14:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:27: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-06-02 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 14:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:27:58] 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-06-02 14:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779995648001,"66":27876,"143":206,"85":37632,"24":36,"16":305747340138905600,"44":-3604287045578905600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-06-02 14:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779995648001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:27:58] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-06-02 14:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305747340138905600,"km_value":305747340138905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:27:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3604287045578905600,"description":"Unknown IO ID 44"} 
[2026-06-02 14:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779995648001,"power":27876,"unknown_143":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3604287045578905600}} 
[2026-06-02 14:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":89755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:27:58] local.INFO: GPS data processed {"connection_id":89755,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:27:58] local.INFO: Acknowledgment sent {"connection_id":89755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:28:24] local.INFO: TCP Data received {"connection_id":89483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:24] local.INFO: Processing buffer {"connection_id":89483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:24] local.INFO: IMEI packet received {"connection_id":89483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:28:26] local.INFO: TCP Data received {"connection_id":89483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:26] local.INFO: Processing buffer {"connection_id":89483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:26] local.INFO: IMEI packet received {"connection_id":89483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":89483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:28:29] local.INFO: TCP Data received {"connection_id":89483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:29] local.INFO: Processing buffer {"connection_id":89483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:28:29] local.INFO: IMEI packet received {"connection_id":89483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":89483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:28:30] local.INFO: TCP Data received {"connection_id":89483,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878d02d0012ccde3c00743f8f80016015e27..."} 
[2026-06-02 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878d02d0012ccde3c00743f8f80016015e27..."} 
[2026-06-02 14:28:30] local.INFO: Processing buffer {"connection_id":89483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878d02d0012ccde3c00743f8f80016015e27..."} 
[2026-06-02 14:28:30] local.INFO: Packet analysis {"connection_id":89483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878d"} 
[2026-06-02 14:28:30] local.INFO: Extracted packet for processing {"connection_id":89483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878d"} 
[2026-06-02 14:28:30] local.INFO: GPS Element Parsed {"raw_longitude":751690688,"raw_latitude":121895160,"longitude_deg":75.1690688,"latitude_deg":12.189516,"altitude":22,"angle":350,"satellites":39,"speed":42,"hex_longitude":"2ccde3c0","hex_latitude":"0743f8f8","is_valid_coordinates":true} 
[2026-06-02 14:28: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-06-02 14:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455779998208001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305747726685962240,"note":"Value kept but may cause issues"} 
[2026-06-02 14:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3608016589018136576,"note":"Value kept but may cause issues"} 
[2026-06-02 14:28:30] 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-06-02 14:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780390626000,"timestamp_ms":1780390626000,"timestamp_seconds":1780390626,"priority":1,"record_length":96,"hex_timestamp":"0000019e878d02d0"} 
[2026-06-02 14:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:28:30] 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-06-02 14:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:28: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-06-02 14:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:28:30] 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-06-02 14:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455779998208001,"66":27984,"143":206,"85":37632,"24":42,"16":305747726685962240,"44":-3608016589018136576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-06-02 14:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455779998208001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:28:30] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-06-02 14:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305747726685962240,"km_value":305747726685962.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3608016589018136576,"description":"Unknown IO ID 44"} 
[2026-06-02 14:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455779998208001,"power":27984,"unknown_143":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3608016589018136576}} 
[2026-06-02 14:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":89483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:28:30] local.INFO: GPS data processed {"connection_id":89483,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:28:30] local.INFO: Acknowledgment sent {"connection_id":89483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:29:01] local.INFO: TCP Data received {"connection_id":89483,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878d0e88012ccde300074405a00016000129..."} 
[2026-06-02 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878d0e88012ccde300074405a00016000129..."} 
[2026-06-02 14:29:01] local.INFO: Processing buffer {"connection_id":89483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878d0e88012ccde300074405a00016000129..."} 
[2026-06-02 14:29:01] local.INFO: Packet analysis {"connection_id":89483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878d"} 
[2026-06-02 14:29:01] local.INFO: Extracted packet for processing {"connection_id":89483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878d"} 
[2026-06-02 14:29:01] local.INFO: GPS Element Parsed {"raw_longitude":751690496,"raw_latitude":121898400,"longitude_deg":75.1690496,"latitude_deg":12.18984,"altitude":22,"angle":1,"satellites":41,"speed":42,"hex_longitude":"2ccde300","hex_latitude":"074405a0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780000256001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305747885599752192,"note":"Value kept but may cause issues"} 
[2026-06-02 14:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3610831338783311872,"note":"Value kept but may cause issues"} 
[2026-06-02 14:29:01] 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-06-02 14:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780390629000,"timestamp_ms":1780390629000,"timestamp_seconds":1780390629,"priority":1,"record_length":96,"hex_timestamp":"0000019e878d0e88"} 
[2026-06-02 14:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 14:29:01] 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-06-02 14: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-06-02 14:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:29:01] 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-06-02 14:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780000256001,"66":27821,"143":206,"85":37632,"24":42,"16":305747885599752192,"44":-3610831338783311872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-06-02 14:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780000256001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:29:01] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-06-02 14:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305747885599752192,"km_value":305747885599752.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3610831338783311872,"description":"Unknown IO ID 44"} 
[2026-06-02 14:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780000256001,"power":27821,"unknown_143":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3610831338783311872}} 
[2026-06-02 14:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":89483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:29:01] local.INFO: GPS data processed {"connection_id":89483,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:29:01] local.INFO: Acknowledgment sent {"connection_id":89483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:29:23] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:29:23] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:29:23] local.INFO: IMEI packet received {"connection_id":89756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:29:28] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:29:28] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:29:28] local.INFO: IMEI packet received {"connection_id":89756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":89756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:29:28] local.INFO: TCP Data received {"connection_id":90936,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:29:28] local.INFO: Processing buffer {"connection_id":90936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:29:28] local.INFO: IMEI packet received {"connection_id":90936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":90936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:29:29] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878e3b50012ccd6500074484400014015628..."} 
[2026-06-02 14:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878e3b50012ccd6500074484400014015628..."} 
[2026-06-02 14:29:29] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878e3b50012ccd6500074484400014015628..."} 
[2026-06-02 14:29:29] local.INFO: Packet analysis {"connection_id":89756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878e"} 
[2026-06-02 14:29:29] local.INFO: Extracted packet for processing {"connection_id":89756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878e"} 
[2026-06-02 14:29:29] local.INFO: GPS Element Parsed {"raw_longitude":751658240,"raw_latitude":121930816,"longitude_deg":75.165824,"latitude_deg":12.1930816,"altitude":20,"angle":342,"satellites":40,"speed":21,"hex_longitude":"2ccd6500","hex_latitude":"07448440","is_valid_coordinates":true} 
[2026-06-02 14:29: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-06-02 14:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780015360001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305750462580129792,"note":"Value kept but may cause issues"} 
[2026-06-02 14:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3643341698586316800,"note":"Value kept but may cause issues"} 
[2026-06-02 14:29:29] 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-06-02 14:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780390706000,"timestamp_ms":1780390706000,"timestamp_seconds":1780390706,"priority":1,"record_length":96,"hex_timestamp":"0000019e878e3b50"} 
[2026-06-02 14:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:29: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-06-02 14:29: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-06-02 14:29: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-06-02 14:29: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-06-02 14:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:29:29] 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-06-02 14:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780015360001,"66":27865,"237":206,"85":37632,"24":21,"16":305750462580129792,"44":-3643341698586316800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-06-02 14:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780015360001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:29:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-02 14:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305750462580129792,"km_value":305750462580129.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3643341698586316800,"description":"Unknown IO ID 44"} 
[2026-06-02 14:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780015360001,"power":27865,"unknown_237":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3643341698586316800}} 
[2026-06-02 14:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":89756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:29:29] local.INFO: GPS data processed {"connection_id":89756,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:29:29] local.INFO: Acknowledgment sent {"connection_id":89756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:30:01] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878e4320012ccd6480074488380014016529..."} 
[2026-06-02 14:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878e4320012ccd6480074488380014016529..."} 
[2026-06-02 14:30:01] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878e4320012ccd6480074488380014016529..."} 
[2026-06-02 14:30:01] local.INFO: Packet analysis {"connection_id":89756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878e"} 
[2026-06-02 14:30:01] local.INFO: Extracted packet for processing {"connection_id":89756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878e"} 
[2026-06-02 14:30:01] local.INFO: GPS Element Parsed {"raw_longitude":751658112,"raw_latitude":121931832,"longitude_deg":75.1658112,"latitude_deg":12.1931832,"altitude":20,"angle":357,"satellites":41,"speed":20,"hex_longitude":"2ccd6480","hex_latitude":"07448838","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780020736001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305750509824770048,"note":"Value kept but may cause issues"} 
[2026-06-02 14:30:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646508292072259584,"note":"Value kept but may cause issues"} 
[2026-06-02 14:30:01] 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-06-02 14:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780390708000,"timestamp_ms":1780390708000,"timestamp_seconds":1780390708,"priority":1,"record_length":96,"hex_timestamp":"0000019e878e4320"} 
[2026-06-02 14:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:30: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-06-02 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 14:30: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-06-02 14: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-06-02 14:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:30:01] 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-06-02 14:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780020736001,"66":27865,"237":206,"85":37632,"24":20,"16":305750509824770048,"44":-3646508292072259584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-06-02 14:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780020736001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:30:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-02 14:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305750509824770048,"km_value":305750509824770.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:30:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646508292072259584,"description":"Unknown IO ID 44"} 
[2026-06-02 14:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780020736001,"power":27865,"unknown_237":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-3646508292072259584}} 
[2026-06-02 14:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":89756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:30:01] local.INFO: GPS data processed {"connection_id":89756,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:30:01] local.INFO: Acknowledgment sent {"connection_id":89756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:30:03] local.INFO: TCP Data received {"connection_id":89864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:30:03] local.INFO: Processing buffer {"connection_id":89864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:30:03] local.INFO: IMEI packet received {"connection_id":89864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":89864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:30:22] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:22] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:22] local.INFO: IMEI packet received {"connection_id":89865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":89865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:30:23] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:23] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:23] local.INFO: IMEI packet received {"connection_id":89865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":89865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:30:29] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:29] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:30:29] local.INFO: IMEI packet received {"connection_id":89865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":89865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:30:30] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878e4708012ccd650007448a100014001028..."} 
[2026-06-02 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878e4708012ccd650007448a100014001028..."} 
[2026-06-02 14:30:30] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878e4708012ccd650007448a100014001028..."} 
[2026-06-02 14:30:30] local.INFO: Packet analysis {"connection_id":89865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878e"} 
[2026-06-02 14:30:30] local.INFO: Extracted packet for processing {"connection_id":89865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878e"} 
[2026-06-02 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":751658240,"raw_latitude":121932304,"longitude_deg":75.165824,"latitude_deg":12.1932304,"altitude":20,"angle":16,"satellites":40,"speed":20,"hex_longitude":"2ccd6500","hex_latitude":"07448a10","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780021248001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305750535594573824,"note":"Value kept but may cause issues"} 
[2026-06-02 14:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646649029560354816,"note":"Value kept but may cause issues"} 
[2026-06-02 14:30:30] 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-06-02 14:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780390709000,"timestamp_ms":1780390709000,"timestamp_seconds":1780390709,"priority":1,"record_length":96,"hex_timestamp":"0000019e878e4708"} 
[2026-06-02 14:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:30: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-06-02 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 14:30: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-06-02 14: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-06-02 14:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:30:30] 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-06-02 14:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780021248001,"66":27865,"237":206,"85":37632,"24":20,"16":305750535594573824,"44":-3646649029560354816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-06-02 14:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780021248001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305750535594573824,"km_value":305750535594573.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646649029560354816,"description":"Unknown IO ID 44"} 
[2026-06-02 14:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780021248001,"power":27865,"unknown_237":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-3646649029560354816}} 
[2026-06-02 14:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":89865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:30:30] local.INFO: GPS data processed {"connection_id":89865,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:30:30] local.INFO: Acknowledgment sent {"connection_id":89865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:31:00] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e878fe130012cccce0007461df8001c014f2a..."} 
[2026-06-02 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e878fe130012cccce0007461df8001c014f2a..."} 
[2026-06-02 14:31:00] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e878fe130012cccce0007461df8001c014f2a..."} 
[2026-06-02 14:31:00] local.INFO: Packet analysis {"connection_id":89865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e878f"} 
[2026-06-02 14:31:00] local.INFO: Extracted packet for processing {"connection_id":89865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e878f"} 
[2026-06-02 14:31:00] local.INFO: GPS Element Parsed {"raw_longitude":751619584,"raw_latitude":122035704,"longitude_deg":75.1619584,"latitude_deg":12.2035704,"altitude":28,"angle":335,"satellites":42,"speed":44,"hex_longitude":"2cccce00","hex_latitude":"07461df8","is_valid_coordinates":true} 
[2026-06-02 14:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780047616001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305755921483563008,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3687885113622667264,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:00] 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-06-02 14:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780390814000,"timestamp_ms":1780390814000,"timestamp_seconds":1780390814,"priority":1,"record_length":96,"hex_timestamp":"0000019e878fe130"} 
[2026-06-02 14:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14: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-06-02 14:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:31: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-06-02 14:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:31:00] 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-06-02 14:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780047616001,"66":27919,"74":206,"85":37632,"24":44,"16":305755921483563008,"44":-3687885113622667264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780047616001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:31:00] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305755921483563008,"km_value":305755921483563.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3687885113622667264,"description":"Unknown IO ID 44"} 
[2026-06-02 14:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780047616001,"power":27919,"unknown_74":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3687885113622667264}} 
[2026-06-02 14:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":89865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:31:00] local.INFO: GPS data processed {"connection_id":89865,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:31:00] local.INFO: Acknowledgment sent {"connection_id":89865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:31:27] local.INFO: TCP Data received {"connection_id":90938,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:27] local.INFO: Processing buffer {"connection_id":90938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:27] local.INFO: IMEI packet received {"connection_id":90938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":90938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:31:28] local.INFO: TCP Data received {"connection_id":90938,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:28] local.INFO: Processing buffer {"connection_id":90938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:28] local.INFO: IMEI packet received {"connection_id":90938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":90938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:31:33] local.INFO: TCP Data received {"connection_id":90938,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:33] local.INFO: Processing buffer {"connection_id":90938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:31:33] local.INFO: IMEI packet received {"connection_id":90938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":90938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:31:35] local.INFO: TCP Data received {"connection_id":90938,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87900070012cccba8007463dc8001e014329..."} 
[2026-06-02 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87900070012cccba8007463dc8001e014329..."} 
[2026-06-02 14:31:35] local.INFO: Processing buffer {"connection_id":90938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87900070012cccba8007463dc8001e014329..."} 
[2026-06-02 14:31:35] local.INFO: Packet analysis {"connection_id":90938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8790"} 
[2026-06-02 14:31:35] local.INFO: Extracted packet for processing {"connection_id":90938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8790"} 
[2026-06-02 14:31:35] local.INFO: GPS Element Parsed {"raw_longitude":751614592,"raw_latitude":122043848,"longitude_deg":75.1614592,"latitude_deg":12.2043848,"altitude":30,"angle":323,"satellites":41,"speed":48,"hex_longitude":"2cccba80","hex_latitude":"07463dc8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780048384001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305756381045063680,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3689011013528717312,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:35] 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-06-02 14:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780390822000,"timestamp_ms":1780390822000,"timestamp_seconds":1780390822,"priority":1,"record_length":96,"hex_timestamp":"0000019e87900070"} 
[2026-06-02 14:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 14:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780048384001,"66":27930,"74":206,"85":37632,"24":48,"16":305756381045063680,"44":-3689011013528717312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780048384001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:31:35] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305756381045063680,"km_value":305756381045063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3689011013528717312,"description":"Unknown IO ID 44"} 
[2026-06-02 14:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780048384001,"power":27930,"unknown_74":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3689011013528717312}} 
[2026-06-02 14:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":90938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:31:35] local.INFO: GPS data processed {"connection_id":90938,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:31:35] local.INFO: Acknowledgment sent {"connection_id":90938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:31:36] local.INFO: TCP Data received {"connection_id":90938,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87900070012cccba8007463dc8001e014329..."} 
[2026-06-02 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87900070012cccba8007463dc8001e014329..."} 
[2026-06-02 14:31:36] local.INFO: Processing buffer {"connection_id":90938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87900070012cccba8007463dc8001e014329..."} 
[2026-06-02 14:31:36] local.INFO: Packet analysis {"connection_id":90938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8790"} 
[2026-06-02 14:31:36] local.INFO: Extracted packet for processing {"connection_id":90938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8790"} 
[2026-06-02 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":751614592,"raw_latitude":122043848,"longitude_deg":75.1614592,"latitude_deg":12.2043848,"altitude":30,"angle":323,"satellites":41,"speed":48,"hex_longitude":"2cccba80","hex_latitude":"07463dc8","is_valid_coordinates":true} 
[2026-06-02 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780050432001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305756381045063680,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3694499775572490240,"note":"Value kept but may cause issues"} 
[2026-06-02 14:31:36] 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-06-02 14:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780390822000,"timestamp_ms":1780390822000,"timestamp_seconds":1780390822,"priority":1,"record_length":96,"hex_timestamp":"0000019e87900070"} 
[2026-06-02 14:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":90938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":90938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":90938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:31:36] 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-06-02 14:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780050432001,"66":27930,"74":206,"85":37632,"24":48,"16":305756381045063680,"44":-3694499775572490240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780050432001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:31:36] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305756381045063680,"km_value":305756381045063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:31:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3694499775572490240,"description":"Unknown IO ID 44"} 
[2026-06-02 14:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780050432001,"power":27930,"unknown_74":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3694499775572490240}} 
[2026-06-02 14:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":90938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:31:36] local.INFO: GPS data processed {"connection_id":90938,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:31:36] local.INFO: Acknowledgment sent {"connection_id":90938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:32:06] local.INFO: TCP Data received {"connection_id":90938,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879017e0012ccca7c0074654780021013829..."} 
[2026-06-02 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879017e0012ccca7c0074654780021013829..."} 
[2026-06-02 14:32:06] local.INFO: Processing buffer {"connection_id":90938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879017e0012ccca7c0074654780021013829..."} 
[2026-06-02 14:32:06] local.INFO: Packet analysis {"connection_id":90938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8790"} 
[2026-06-02 14:32:06] local.INFO: Extracted packet for processing {"connection_id":90938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8790"} 
[2026-06-02 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":751609792,"raw_latitude":122049656,"longitude_deg":75.1609792,"latitude_deg":12.2049656,"altitude":33,"angle":312,"satellites":41,"speed":45,"hex_longitude":"2ccca7c0","hex_latitude":"07465478","is_valid_coordinates":true} 
[2026-06-02 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780050432001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305756746117283840,"note":"Value kept but may cause issues"} 
[2026-06-02 14:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3694499775572490240,"note":"Value kept but may cause issues"} 
[2026-06-02 14:32:06] 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-06-02 14:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780390828000,"timestamp_ms":1780390828000,"timestamp_seconds":1780390828,"priority":1,"record_length":96,"hex_timestamp":"0000019e879017e0"} 
[2026-06-02 14:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:32: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-06-02 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780050432001,"66":27930,"74":206,"85":37632,"24":45,"16":305756746117283840,"44":-3694499775572490240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780050432001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:32:06] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305756746117283840,"km_value":305756746117283.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3694499775572490240,"description":"Unknown IO ID 44"} 
[2026-06-02 14:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780050432001,"power":27930,"unknown_74":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3694499775572490240}} 
[2026-06-02 14:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":90938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:32:06] local.INFO: GPS data processed {"connection_id":90938,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:32:06] local.INFO: Acknowledgment sent {"connection_id":90938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:32:20] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:20] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:20] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:32:21] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:21] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:21] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:32:23] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:23] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:23] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:32:29] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:29] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:32:29] local.INFO: IMEI packet received {"connection_id":89484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":89484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:32:29] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87911d98012ccc6640074795280007015427..."} 
[2026-06-02 14:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87911d98012ccc6640074795280007015427..."} 
[2026-06-02 14:32:29] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87911d98012ccc6640074795280007015427..."} 
[2026-06-02 14:32:29] local.INFO: Packet analysis {"connection_id":89484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8791"} 
[2026-06-02 14:32:29] local.INFO: Extracted packet for processing {"connection_id":89484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8791"} 
[2026-06-02 14:32:29] local.INFO: GPS Element Parsed {"raw_longitude":751593024,"raw_latitude":122131752,"longitude_deg":75.1593024,"latitude_deg":12.2131752,"altitude":7,"angle":340,"satellites":39,"speed":37,"hex_longitude":"2ccc6640","hex_latitude":"07479528","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780067072001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305760886465757184,"note":"Value kept but may cause issues"} 
[2026-06-02 14:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3715610398805551104,"note":"Value kept but may cause issues"} 
[2026-06-02 14:32:29] 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-06-02 14:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780390895000,"timestamp_ms":1780390895000,"timestamp_seconds":1780390895,"priority":1,"record_length":96,"hex_timestamp":"0000019e87911d98"} 
[2026-06-02 14:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:32: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-06-02 14: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":173,"data_length":795,"current_offset":136} 
[2026-06-02 14:32:29] 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-06-02 14: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-06-02 14:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:32:29] 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-06-02 14:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780067072001,"66":27876,"2":206,"85":37632,"24":37,"16":305760886465757184,"44":-3715610398805551104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-06-02 14:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780067072001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305760886465757184,"km_value":305760886465757.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3715610398805551104,"description":"Unknown IO ID 44"} 
[2026-06-02 14:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780067072001,"power":27876,"power_alt":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3715610398805551104}} 
[2026-06-02 14:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":89484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:32:29] local.INFO: GPS data processed {"connection_id":89484,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:32:29] local.INFO: Acknowledgment sent {"connection_id":89484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:33:01] local.INFO: TCP Data received {"connection_id":89484,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87912950012ccc61c007479dd00006014128..."} 
[2026-06-02 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87912950012ccc61c007479dd00006014128..."} 
[2026-06-02 14:33:01] local.INFO: Processing buffer {"connection_id":89484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87912950012ccc61c007479dd00006014128..."} 
[2026-06-02 14:33:01] local.INFO: Packet analysis {"connection_id":89484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8791"} 
[2026-06-02 14:33:01] local.INFO: Extracted packet for processing {"connection_id":89484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8791"} 
[2026-06-02 14:33:01] local.INFO: GPS Element Parsed {"raw_longitude":751591872,"raw_latitude":122133968,"longitude_deg":75.1591872,"latitude_deg":12.2133968,"altitude":6,"angle":321,"satellites":40,"speed":29,"hex_longitude":"2ccc61c0","hex_latitude":"07479dd0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780069120001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305761006724841472,"note":"Value kept but may cause issues"} 
[2026-06-02 14:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3718214042337859584,"note":"Value kept but may cause issues"} 
[2026-06-02 14:33:01] 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-06-02 14:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780390898000,"timestamp_ms":1780390898000,"timestamp_seconds":1780390898,"priority":1,"record_length":96,"hex_timestamp":"0000019e87912950"} 
[2026-06-02 14:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:33: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-06-02 14: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:33:01] 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-06-02 14: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-06-02 14:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:33:01] 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-06-02 14:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780069120001,"66":27908,"2":206,"85":37632,"24":29,"16":305761006724841472,"44":-3718214042337859584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-06-02 14:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780069120001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305761006724841472,"km_value":305761006724841.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3718214042337859584,"description":"Unknown IO ID 44"} 
[2026-06-02 14:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780069120001,"power":27908,"power_alt":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3718214042337859584}} 
[2026-06-02 14:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":89484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:33:01] local.INFO: GPS data processed {"connection_id":89484,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:33:01] local.INFO: Acknowledgment sent {"connection_id":89484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:33:23] local.INFO: TCP Data received {"connection_id":89757,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:23] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:23] local.INFO: IMEI packet received {"connection_id":89757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":89757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:33:24] local.INFO: TCP Data received {"connection_id":89757,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:24] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:24] local.INFO: IMEI packet received {"connection_id":89757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":89757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:33:29] local.INFO: TCP Data received {"connection_id":89757,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:29] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:33:29] local.INFO: IMEI packet received {"connection_id":89757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":89757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:33:30] local.INFO: TCP Data received {"connection_id":89757,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87913120012ccc5e000747a1500006012d29..."} 
[2026-06-02 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87913120012ccc5e000747a1500006012d29..."} 
[2026-06-02 14:33:30] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87913120012ccc5e000747a1500006012d29..."} 
[2026-06-02 14:33:30] local.INFO: Packet analysis {"connection_id":89757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8791"} 
[2026-06-02 14:33:30] local.INFO: Extracted packet for processing {"connection_id":89757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8791"} 
[2026-06-02 14:33:30] local.INFO: GPS Element Parsed {"raw_longitude":751590912,"raw_latitude":122134864,"longitude_deg":75.1590912,"latitude_deg":12.2134864,"altitude":6,"angle":301,"satellites":41,"speed":24,"hex_longitude":"2ccc5e00","hex_latitude":"0747a150","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780069888001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305761071149350912,"note":"Value kept but may cause issues"} 
[2026-06-02 14:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3719480679732490240,"note":"Value kept but may cause issues"} 
[2026-06-02 14:33:30] 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-06-02 14:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780390900000,"timestamp_ms":1780390900000,"timestamp_seconds":1780390900,"priority":1,"record_length":96,"hex_timestamp":"0000019e87913120"} 
[2026-06-02 14:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:33:30] 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-06-02 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:33:30] 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-06-02 14:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780069888001,"66":27930,"2":206,"85":37632,"24":24,"16":305761071149350912,"44":-3719480679732490240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-06-02 14:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780069888001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305761071149350912,"km_value":305761071149350.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3719480679732490240,"description":"Unknown IO ID 44"} 
[2026-06-02 14:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780069888001,"power":27930,"power_alt":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-3719480679732490240}} 
[2026-06-02 14:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:33:30] local.INFO: GPS data processed {"connection_id":89757,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:33:30] local.INFO: Acknowledgment sent {"connection_id":89757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:34:01] local.INFO: TCP Data received {"connection_id":89757,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87927d28012ccc2d000748aac0000800132a..."} 
[2026-06-02 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87927d28012ccc2d000748aac0000800132a..."} 
[2026-06-02 14:34:01] local.INFO: Processing buffer {"connection_id":89757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87927d28012ccc2d000748aac0000800132a..."} 
[2026-06-02 14:34:01] local.INFO: Packet analysis {"connection_id":89757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8792"} 
[2026-06-02 14:34:01] local.INFO: Extracted packet for processing {"connection_id":89757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8792"} 
[2026-06-02 14:34:01] local.INFO: GPS Element Parsed {"raw_longitude":751578368,"raw_latitude":122202816,"longitude_deg":75.1578368,"latitude_deg":12.2202816,"altitude":8,"angle":19,"satellites":42,"speed":42,"hex_longitude":"2ccc2d00","hex_latitude":"0748aac0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780089600001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305764567252729856,"note":"Value kept but may cause issues"} 
[2026-06-02 14:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737565446970863616,"note":"Value kept but may cause issues"} 
[2026-06-02 14:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780390985000,"timestamp_ms":1780390985000,"timestamp_seconds":1780390985,"priority":1,"record_length":96,"hex_timestamp":"0000019e87927d28"} 
[2026-06-02 14:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":195,"data_length":795,"current_offset":136} 
[2026-06-02 14:34: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-06-02 14: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-06-02 14:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:34:01] 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-06-02 14:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780089600001,"66":27843,"102":206,"85":37632,"24":42,"16":305764567252729856,"44":-3737565446970863616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,44]} 
[2026-06-02 14:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780089600001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:34:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305764567252729856,"km_value":305764567252729.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737565446970863616,"description":"Unknown IO ID 44"} 
[2026-06-02 14:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780089600001,"power":27843,"unknown_102":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3737565446970863616}} 
[2026-06-02 14:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":89757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:34:01] local.INFO: GPS data processed {"connection_id":89757,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:34:01] local.INFO: Acknowledgment sent {"connection_id":89757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:34:23] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:23] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:23] local.INFO: IMEI packet received {"connection_id":89867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":89867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:34:26] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:26] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:26] local.INFO: IMEI packet received {"connection_id":89867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":89867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:34:29] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:29] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:34:29] local.INFO: IMEI packet received {"connection_id":89867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":89867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:34:29] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87929c68012ccc36c00748cc88000a000b29..."} 
[2026-06-02 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87929c68012ccc36c00748cc88000a000b29..."} 
[2026-06-02 14:34:29] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87929c68012ccc36c00748cc88000a000b29..."} 
[2026-06-02 14:34:29] local.INFO: Packet analysis {"connection_id":89867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8792"} 
[2026-06-02 14:34:29] local.INFO: Extracted packet for processing {"connection_id":89867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8792"} 
[2026-06-02 14:34:29] local.INFO: GPS Element Parsed {"raw_longitude":751580864,"raw_latitude":122211464,"longitude_deg":75.1580864,"latitude_deg":12.2211464,"altitude":10,"angle":11,"satellites":41,"speed":46,"hex_longitude":"2ccc36c0","hex_latitude":"0748cc88","is_valid_coordinates":true} 
[2026-06-02 14:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780092160001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305765001044426752,"note":"Value kept but may cause issues"} 
[2026-06-02 14:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3734328484736352256,"note":"Value kept but may cause issues"} 
[2026-06-02 14:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780390993000,"timestamp_ms":1780390993000,"timestamp_seconds":1780390993,"priority":1,"record_length":96,"hex_timestamp":"0000019e87929c68"} 
[2026-06-02 14:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 14:34: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-06-02 14:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:34:29] 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-06-02 14:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780092160001,"66":27995,"102":206,"85":37632,"24":46,"16":305765001044426752,"44":-3734328484736352256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,44]} 
[2026-06-02 14:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780092160001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:34:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305765001044426752,"km_value":305765001044426.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3734328484736352256,"description":"Unknown IO ID 44"} 
[2026-06-02 14:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780092160001,"power":27995,"unknown_102":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3734328484736352256}} 
[2026-06-02 14:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":89867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:34:29] local.INFO: GPS data processed {"connection_id":89867,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:34:29] local.INFO: Acknowledgment sent {"connection_id":89867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:35:00] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8792bba8012ccc3b800748f2d0000c000428..."} 
[2026-06-02 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8792bba8012ccc3b800748f2d0000c000428..."} 
[2026-06-02 14:35:00] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8792bba8012ccc3b800748f2d0000c000428..."} 
[2026-06-02 14:35:00] local.INFO: Packet analysis {"connection_id":89867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8792"} 
[2026-06-02 14:35:00] local.INFO: Extracted packet for processing {"connection_id":89867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8792"} 
[2026-06-02 14:35:00] local.INFO: GPS Element Parsed {"raw_longitude":751582080,"raw_latitude":122221264,"longitude_deg":75.158208,"latitude_deg":12.2221264,"altitude":12,"angle":4,"satellites":40,"speed":50,"hex_longitude":"2ccc3b80","hex_latitude":"0748f2d0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780094208001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305765482080763904,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3731584103711209472,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780391001000,"timestamp_ms":1780391001000,"timestamp_seconds":1780391001,"priority":1,"record_length":96,"hex_timestamp":"0000019e8792bba8"} 
[2026-06-02 14:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14: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-06-02 14: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:35:00] 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-06-02 14: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-06-02 14:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:35:00] 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-06-02 14:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780094208001,"66":27908,"102":206,"85":37632,"24":50,"16":305765482080763904,"44":-3731584103711209472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,44]} 
[2026-06-02 14:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780094208001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:35:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 14:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305765482080763904,"km_value":305765482080763.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3731584103711209472,"description":"Unknown IO ID 44"} 
[2026-06-02 14:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780094208001,"power":27908,"unknown_102":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3731584103711209472}} 
[2026-06-02 14:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":89867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:35:00] local.INFO: GPS data processed {"connection_id":89867,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:35:00] local.INFO: Acknowledgment sent {"connection_id":89867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:35:26] local.INFO: TCP Data received {"connection_id":89758,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:26] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:26] local.INFO: IMEI packet received {"connection_id":89758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":89758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:35:29] local.INFO: TCP Data received {"connection_id":89758,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:29] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:29] local.INFO: IMEI packet received {"connection_id":89758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":89758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:35:29] local.INFO: TCP Data received {"connection_id":89758,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:29] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:29] local.INFO: IMEI packet received {"connection_id":89758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":89758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:35:32] local.INFO: TCP Data received {"connection_id":89758,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:32] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:35:32] local.INFO: IMEI packet received {"connection_id":89758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":89758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:35:33] local.INFO: TCP Data received {"connection_id":89758,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8793b990012ccb9700074a16d0000d015a28..."} 
[2026-06-02 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8793b990012ccb9700074a16d0000d015a28..."} 
[2026-06-02 14:35:33] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8793b990012ccb9700074a16d0000d015a28..."} 
[2026-06-02 14:35:33] local.INFO: Packet analysis {"connection_id":89758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:35:33] local.INFO: Extracted packet for processing {"connection_id":89758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":751539968,"raw_latitude":122296016,"longitude_deg":75.1539968,"latitude_deg":12.2296016,"altitude":13,"angle":346,"satellites":40,"speed":54,"hex_longitude":"2ccb9700","hex_latitude":"074a16d0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780112128001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305769966026620928,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3774931250104025088,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:33] 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-06-02 14:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780391066000,"timestamp_ms":1780391066000,"timestamp_seconds":1780391066,"priority":1,"record_length":96,"hex_timestamp":"0000019e8793b990"} 
[2026-06-02 14:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:35: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-06-02 14: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 14:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:35:33] 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-06-02 14:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780112128001,"66":27930,"74":206,"85":37632,"24":54,"16":305769966026620928,"44":-3774931250104025088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780112128001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:35:33] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305769966026620928,"km_value":305769966026620.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:35:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3774931250104025088,"description":"Unknown IO ID 44"} 
[2026-06-02 14:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780112128001,"power":27930,"unknown_74":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3774931250104025088}} 
[2026-06-02 14:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":89758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:35:33] local.INFO: GPS data processed {"connection_id":89758,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:35:33] local.INFO: Acknowledgment sent {"connection_id":89758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:35:33] local.INFO: TCP Data received {"connection_id":89486,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:35:33] local.INFO: Processing buffer {"connection_id":89486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:35:33] local.INFO: IMEI packet received {"connection_id":89486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":89486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:35:34] local.INFO: TCP Data received {"connection_id":89758,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8793c548012ccb9540074a2540000c000127..."} 
[2026-06-02 14:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8793c548012ccb9540074a2540000c000127..."} 
[2026-06-02 14:35:34] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8793c548012ccb9540074a2540000c000127..."} 
[2026-06-02 14:35:34] local.INFO: Packet analysis {"connection_id":89758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:35:34] local.INFO: Extracted packet for processing {"connection_id":89758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:35:34] local.INFO: GPS Element Parsed {"raw_longitude":751539520,"raw_latitude":122299712,"longitude_deg":75.153952,"latitude_deg":12.2299712,"altitude":12,"angle":1,"satellites":39,"speed":44,"hex_longitude":"2ccb9540","hex_latitude":"074a2540","is_valid_coordinates":true} 
[2026-06-02 14:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780112896001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305770146415247360,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776549731219091456,"note":"Value kept but may cause issues"} 
[2026-06-02 14:35:34] 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-06-02 14:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780391069000,"timestamp_ms":1780391069000,"timestamp_seconds":1780391069,"priority":1,"record_length":96,"hex_timestamp":"0000019e8793c548"} 
[2026-06-02 14:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:35: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-06-02 14:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:35:34] 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-06-02 14:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780112896001,"66":27995,"74":206,"85":37632,"24":44,"16":305770146415247360,"44":-3776549731219091456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780112896001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:35:34] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305770146415247360,"km_value":305770146415247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:35:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776549731219091456,"description":"Unknown IO ID 44"} 
[2026-06-02 14:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780112896001,"power":27995,"unknown_74":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3776549731219091456}} 
[2026-06-02 14:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":89758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:35:34] local.INFO: GPS data processed {"connection_id":89758,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:35:34] local.INFO: Acknowledgment sent {"connection_id":89758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:35:58] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:35:58] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:35:58] local.INFO: IMEI packet received {"connection_id":89759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":89759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:36:05] local.INFO: TCP Data received {"connection_id":89758,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8793cd18012ccb9680074a2da8000b000d26..."} 
[2026-06-02 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8793cd18012ccb9680074a2da8000b000d26..."} 
[2026-06-02 14:36:05] local.INFO: Processing buffer {"connection_id":89758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8793cd18012ccb9680074a2da8000b000d26..."} 
[2026-06-02 14:36:05] local.INFO: Packet analysis {"connection_id":89758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:36:05] local.INFO: Extracted packet for processing {"connection_id":89758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":751539840,"raw_latitude":122301864,"longitude_deg":75.153984,"latitude_deg":12.2301864,"altitude":11,"angle":13,"satellites":38,"speed":42,"hex_longitude":"2ccb9680","hex_latitude":"074a2da8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780113664001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305770253789429760,"note":"Value kept but may cause issues"} 
[2026-06-02 14:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777042312427388928,"note":"Value kept but may cause issues"} 
[2026-06-02 14:36:05] 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-06-02 14:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780391071000,"timestamp_ms":1780391071000,"timestamp_seconds":1780391071,"priority":1,"record_length":96,"hex_timestamp":"0000019e8793cd18"} 
[2026-06-02 14:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:36: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-06-02 14:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:36:05] 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-06-02 14:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780113664001,"66":27876,"74":206,"85":37632,"24":42,"16":305770253789429760,"44":-3777042312427388928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780113664001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:36:05] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305770253789429760,"km_value":305770253789429.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777042312427388928,"description":"Unknown IO ID 44"} 
[2026-06-02 14:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780113664001,"power":27876,"unknown_74":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3777042312427388928}} 
[2026-06-02 14:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":89758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:36:05] local.INFO: GPS data processed {"connection_id":89758,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:36:05] local.INFO: Acknowledgment sent {"connection_id":89758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:36:23] local.INFO: TCP Data received {"connection_id":89487,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:36:23] local.INFO: Processing buffer {"connection_id":89487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:36:23] local.INFO: IMEI packet received {"connection_id":89487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":89487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:36:29] local.INFO: TCP Data received {"connection_id":89487,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:36:29] local.INFO: Processing buffer {"connection_id":89487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:36:29] local.INFO: IMEI packet received {"connection_id":89487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":89487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:36:30] local.INFO: TCP Data received {"connection_id":89487,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8793f040012ccba1c0074a52280009001126..."} 
[2026-06-02 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8793f040012ccba1c0074a52280009001126..."} 
[2026-06-02 14:36:30] local.INFO: Processing buffer {"connection_id":89487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8793f040012ccba1c0074a52280009001126..."} 
[2026-06-02 14:36:30] local.INFO: Packet analysis {"connection_id":89487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:36:30] local.INFO: Extracted packet for processing {"connection_id":89487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8793"} 
[2026-06-02 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":751542720,"raw_latitude":122311208,"longitude_deg":75.154272,"latitude_deg":12.2311208,"altitude":9,"angle":17,"satellites":38,"speed":45,"hex_longitude":"2ccba1c0","hex_latitude":"074a5228","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780114176001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305770726235832320,"note":"Value kept but may cause issues"} 
[2026-06-02 14:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776690468705949696,"note":"Value kept but may cause issues"} 
[2026-06-02 14:36:30] 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-06-02 14:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780391080000,"timestamp_ms":1780391080000,"timestamp_seconds":1780391080,"priority":1,"record_length":96,"hex_timestamp":"0000019e8793f040"} 
[2026-06-02 14:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:36:30] 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-06-02 14: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:36:30] 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-06-02 14:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780114176001,"66":27995,"74":206,"85":37632,"24":45,"16":305770726235832320,"44":-3776690468705949696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-06-02 14:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780114176001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305770726235832320,"km_value":305770726235832.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776690468705949696,"description":"Unknown IO ID 44"} 
[2026-06-02 14:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780114176001,"power":27995,"unknown_74":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3776690468705949696}} 
[2026-06-02 14:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":89487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:36:30] local.INFO: GPS data processed {"connection_id":89487,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:36:30] local.INFO: Acknowledgment sent {"connection_id":89487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:37:01] local.INFO: TCP Data received {"connection_id":89487,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87951920012ccb3240074af7200007013e28..."} 
[2026-06-02 14:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87951920012ccb3240074af7200007013e28..."} 
[2026-06-02 14:37:01] local.INFO: Processing buffer {"connection_id":89487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87951920012ccb3240074af7200007013e28..."} 
[2026-06-02 14:37:01] local.INFO: Packet analysis {"connection_id":89487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:37:01] local.INFO: Extracted packet for processing {"connection_id":89487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:37:01] local.INFO: GPS Element Parsed {"raw_longitude":751514176,"raw_latitude":122353440,"longitude_deg":75.1514176,"latitude_deg":12.235344,"altitude":7,"angle":318,"satellites":40,"speed":39,"hex_longitude":"2ccb3240","hex_latitude":"074af720","is_valid_coordinates":true} 
[2026-06-02 14:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780134912001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305773599568953344,"note":"Value kept but may cause issues"} 
[2026-06-02 14:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3801952847853172736,"note":"Value kept but may cause issues"} 
[2026-06-02 14:37:01] 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-06-02 14:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780391156000,"timestamp_ms":1780391156000,"timestamp_seconds":1780391156,"priority":1,"record_length":96,"hex_timestamp":"0000019e87951920"} 
[2026-06-02 14:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:37: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-06-02 14:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:37:01] 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-06-02 14:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780134912001,"66":27908,"103":206,"85":37632,"24":39,"16":305773599568953344,"44":-3801952847853172736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780134912001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:37:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305773599568953344,"km_value":305773599568953.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3801952847853172736,"description":"Unknown IO ID 44"} 
[2026-06-02 14:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780134912001,"power":27908,"unknown_103":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3801952847853172736}} 
[2026-06-02 14:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":89487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:37:01] local.INFO: GPS data processed {"connection_id":89487,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:37:01] local.INFO: Acknowledgment sent {"connection_id":89487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:37:24] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:37:24] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:37:24] local.INFO: IMEI packet received {"connection_id":89760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":89760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:37:29] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:37:29] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:37:29] local.INFO: IMEI packet received {"connection_id":89760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":89760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:37:29] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87953478012ccb23c0074b0878000a014f28..."} 
[2026-06-02 14:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87953478012ccb23c0074b0878000a014f28..."} 
[2026-06-02 14:37:29] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87953478012ccb23c0074b0878000a014f28..."} 
[2026-06-02 14:37:29] local.INFO: Packet analysis {"connection_id":89760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:37:29] local.INFO: Extracted packet for processing {"connection_id":89760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:37:29] local.INFO: GPS Element Parsed {"raw_longitude":751510464,"raw_latitude":122357880,"longitude_deg":75.1510464,"latitude_deg":12.235788,"altitude":10,"angle":335,"satellites":40,"speed":27,"hex_longitude":"2ccb23c0","hex_latitude":"074b0878","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780135936001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305773883036794880,"note":"Value kept but may cause issues"} 
[2026-06-02 14:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3804908335107989504,"note":"Value kept but may cause issues"} 
[2026-06-02 14:37: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-06-02 14:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391163000,"timestamp_ms":1780391163000,"timestamp_seconds":1780391163,"priority":1,"record_length":96,"hex_timestamp":"0000019e87953478"} 
[2026-06-02 14:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:37: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-06-02 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:37:29] 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-06-02 14:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780135936001,"66":27843,"103":206,"85":37632,"24":27,"16":305773883036794880,"44":-3804908335107989504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780135936001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:37:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305773883036794880,"km_value":305773883036794.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3804908335107989504,"description":"Unknown IO ID 44"} 
[2026-06-02 14:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780135936001,"power":27843,"unknown_103":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3804908335107989504}} 
[2026-06-02 14:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":89760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:37:29] local.INFO: GPS data processed {"connection_id":89760,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:37:29] local.INFO: Acknowledgment sent {"connection_id":89760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:38:00] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879557a0012ccb1d80074b1ce8000f015a29..."} 
[2026-06-02 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879557a0012ccb1d80074b1ce8000f015a29..."} 
[2026-06-02 14:38:00] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879557a0012ccb1d80074b1ce8000f015a29..."} 
[2026-06-02 14:38:00] local.INFO: Packet analysis {"connection_id":89760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:38:00] local.INFO: Extracted packet for processing {"connection_id":89760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":751508864,"raw_latitude":122363112,"longitude_deg":75.1508864,"latitude_deg":12.2363112,"altitude":15,"angle":346,"satellites":41,"speed":24,"hex_longitude":"2ccb1d80","hex_latitude":"074b1ce8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780137728001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305774149324767232,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3808989722269157376,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38: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-06-02 14:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780391172000,"timestamp_ms":1780391172000,"timestamp_seconds":1780391172,"priority":1,"record_length":96,"hex_timestamp":"0000019e879557a0"} 
[2026-06-02 14:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":195,"data_length":795,"current_offset":136} 
[2026-06-02 14:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:38:00] 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-06-02 14:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780137728001,"66":27876,"103":206,"85":37632,"24":24,"16":305774149324767232,"44":-3808989722269157376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780137728001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:38:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305774149324767232,"km_value":305774149324767.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3808989722269157376,"description":"Unknown IO ID 44"} 
[2026-06-02 14:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780137728001,"power":27876,"unknown_103":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-3808989722269157376}} 
[2026-06-02 14:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":89760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:38:00] local.INFO: GPS data processed {"connection_id":89760,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:38:00] local.INFO: Acknowledgment sent {"connection_id":89760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:38:24] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:38:24] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:38:24] local.INFO: IMEI packet received {"connection_id":89489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":89489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:38:28] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:38:28] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:38:28] local.INFO: IMEI packet received {"connection_id":89489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":89489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:38:29] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87958298012ccb1480074b4168000e015b2a..."} 
[2026-06-02 14:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87958298012ccb1480074b4168000e015b2a..."} 
[2026-06-02 14:38:29] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87958298012ccb1480074b4168000e015b2a..."} 
[2026-06-02 14:38:29] local.INFO: Packet analysis {"connection_id":89489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:38:29] local.INFO: Extracted packet for processing {"connection_id":89489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8795"} 
[2026-06-02 14:38:29] local.INFO: GPS Element Parsed {"raw_longitude":751506560,"raw_latitude":122372456,"longitude_deg":75.150656,"latitude_deg":12.2372456,"altitude":14,"angle":347,"satellites":42,"speed":44,"hex_longitude":"2ccb1480","hex_latitude":"074b4168","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780140032001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305774613181235200,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3810748940872259584,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38: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-06-02 14:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391183000,"timestamp_ms":1780391183000,"timestamp_seconds":1780391183,"priority":1,"record_length":96,"hex_timestamp":"0000019e87958298"} 
[2026-06-02 14:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:38: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-06-02 14: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:38: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-06-02 14: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-06-02 14:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:38:29] 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-06-02 14:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780140032001,"66":27832,"103":206,"85":37632,"24":44,"16":305774613181235200,"44":-3810748940872259584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780140032001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:38:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305774613181235200,"km_value":305774613181235.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3810748940872259584,"description":"Unknown IO ID 44"} 
[2026-06-02 14:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780140032001,"power":27832,"unknown_103":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3810748940872259584}} 
[2026-06-02 14:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":89489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:38:29] local.INFO: GPS data processed {"connection_id":89489,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:38:29] local.INFO: Acknowledgment sent {"connection_id":89489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:38:59] local.INFO: TCP Data received {"connection_id":89489,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879714f0012cca1180074c27480012011b28..."} 
[2026-06-02 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879714f0012cca1180074c27480012011b28..."} 
[2026-06-02 14:38:59] local.INFO: Processing buffer {"connection_id":89489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879714f0012cca1180074c27480012011b28..."} 
[2026-06-02 14:38:59] local.INFO: Packet analysis {"connection_id":89489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8797"} 
[2026-06-02 14:38:59] local.INFO: Extracted packet for processing {"connection_id":89489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8797"} 
[2026-06-02 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":751440256,"raw_latitude":122431304,"longitude_deg":75.1440256,"latitude_deg":12.2431304,"altitude":18,"angle":283,"satellites":40,"speed":61,"hex_longitude":"2cca1180","hex_latitude":"074c2748","is_valid_coordinates":true} 
[2026-06-02 14:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780167168001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305779440724475904,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3873588229405839360,"note":"Value kept but may cause issues"} 
[2026-06-02 14:38:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 14:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780391286000,"timestamp_ms":1780391286000,"timestamp_seconds":1780391286,"priority":1,"record_length":96,"hex_timestamp":"0000019e879714f0"} 
[2026-06-02 14:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:38: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-06-02 14:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:38: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-06-02 14:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:38:59] 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-06-02 14:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780167168001,"66":27843,"16":305779440724475904,"85":37632,"24":61,"44":-3873588229405839360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-06-02 14:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780167168001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305779440724475904,"km_value":305779440724475.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:38:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3873588229405839360,"description":"Unknown IO ID 44"} 
[2026-06-02 14:38:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455780167168001,"power":27843,"odometer":null,"unknown_85":37632,"ignition":61,"unknown_44":-3873588229405839360}} 
[2026-06-02 14:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":89489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:38:59] local.INFO: GPS data processed {"connection_id":89489,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:38:59] local.INFO: Acknowledgment sent {"connection_id":89489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:39:24] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:24] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:24] local.INFO: IMEI packet received {"connection_id":89762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":89762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:39:26] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:26] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:26] local.INFO: IMEI packet received {"connection_id":89762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":89762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:39:29] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:29] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:39:29] local.INFO: IMEI packet received {"connection_id":89762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:39:30] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87973048012cc9e880074c3588000f012427..."} 
[2026-06-02 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87973048012cc9e880074c3588000f012427..."} 
[2026-06-02 14:39:30] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87973048012cc9e880074c3588000f012427..."} 
[2026-06-02 14:39:30] local.INFO: Packet analysis {"connection_id":89762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8797"} 
[2026-06-02 14:39:30] local.INFO: Extracted packet for processing {"connection_id":89762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8797"} 
[2026-06-02 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":751429760,"raw_latitude":122434952,"longitude_deg":75.142976,"latitude_deg":12.2434952,"altitude":15,"angle":292,"satellites":39,"speed":62,"hex_longitude":"2cc9e880","hex_latitude":"074c3588","is_valid_coordinates":true} 
[2026-06-02 14:39: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-06-02 14:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780169216001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305779969005453312,"note":"Value kept but may cause issues"} 
[2026-06-02 14:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3886184234613258240,"note":"Value kept but may cause issues"} 
[2026-06-02 14:39:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 14:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780391293000,"timestamp_ms":1780391293000,"timestamp_seconds":1780391293,"priority":1,"record_length":96,"hex_timestamp":"0000019e87973048"} 
[2026-06-02 14:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:39: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-06-02 14:39: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-06-02 14:39: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-06-02 14:39: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-06-02 14:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:39:30] 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-06-02 14:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780169216001,"66":27876,"16":305779969005453312,"85":37632,"24":62,"44":-3886184234613258240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-06-02 14:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780169216001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305779969005453312,"km_value":305779969005453.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3886184234613258240,"description":"Unknown IO ID 44"} 
[2026-06-02 14:39:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455780169216001,"power":27876,"odometer":null,"unknown_85":37632,"ignition":62,"unknown_44":-3886184234613258240}} 
[2026-06-02 14:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":89762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:39:30] local.INFO: GPS data processed {"connection_id":89762,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:39:30] local.INFO: Acknowledgment sent {"connection_id":89762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:39:31] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879747b8012cc9c6c0074c4400000e012525..."} 
[2026-06-02 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879747b8012cc9c6c0074c4400000e012525..."} 
[2026-06-02 14:39:31] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879747b8012cc9c6c0074c4400000e012525..."} 
[2026-06-02 14:39:31] local.INFO: Packet analysis {"connection_id":89762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8797"} 
[2026-06-02 14:39:31] local.INFO: Extracted packet for processing {"connection_id":89762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8797"} 
[2026-06-02 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":751421120,"raw_latitude":122438656,"longitude_deg":75.142112,"latitude_deg":12.2438656,"altitude":14,"angle":293,"satellites":37,"speed":61,"hex_longitude":"2cc9c6c0","hex_latitude":"074c4400","is_valid_coordinates":true} 
[2026-06-02 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780171008001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305780415682052096,"note":"Value kept but may cause issues"} 
[2026-06-02 14:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3897724708657461248,"note":"Value kept but may cause issues"} 
[2026-06-02 14:39:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 14:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780391299000,"timestamp_ms":1780391299000,"timestamp_seconds":1780391299,"priority":1,"record_length":96,"hex_timestamp":"0000019e879747b8"} 
[2026-06-02 14:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:39: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-06-02 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:39:31] 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-06-02 14:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:39:31] 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-06-02 14:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780171008001,"66":27974,"16":305780415682052096,"85":37632,"24":61,"44":-3897724708657461248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-06-02 14:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780171008001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305780415682052096,"km_value":305780415682052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3897724708657461248,"description":"Unknown IO ID 44"} 
[2026-06-02 14:39:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455780171008001,"power":27974,"odometer":null,"unknown_85":37632,"ignition":61,"unknown_44":-3897724708657461248}} 
[2026-06-02 14:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":89762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:39:31] local.INFO: GPS data processed {"connection_id":89762,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:39:31] local.INFO: Acknowledgment sent {"connection_id":89762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:40:02] local.INFO: TCP Data received {"connection_id":89762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879812d8012cc8ae40074c6198000e01482b..."} 
[2026-06-02 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879812d8012cc8ae40074c6198000e01482b..."} 
[2026-06-02 14:40:02] local.INFO: Processing buffer {"connection_id":89762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879812d8012cc8ae40074c6198000e01482b..."} 
[2026-06-02 14:40:02] local.INFO: Packet analysis {"connection_id":89762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:02] local.INFO: Extracted packet for processing {"connection_id":89762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":751349312,"raw_latitude":122446232,"longitude_deg":75.1349312,"latitude_deg":12.2446232,"altitude":14,"angle":328,"satellites":43,"speed":59,"hex_longitude":"2cc8ae40","hex_latitude":"074c6198","is_valid_coordinates":true} 
[2026-06-02 14:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780184576001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305784169483468800,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3980970933018251264,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:02] 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-06-02 14:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780391351000,"timestamp_ms":1780391351000,"timestamp_seconds":1780391351,"priority":1,"record_length":96,"hex_timestamp":"0000019e879812d8"} 
[2026-06-02 14:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:40: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-06-02 14:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:40: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-06-02 14:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780184576001,"66":27974,"88":206,"85":37632,"24":59,"16":305784169483468800,"44":-3980970933018251264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-02 14:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780184576001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:40:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 14:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305784169483468800,"km_value":305784169483468.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3980970933018251264,"description":"Unknown IO ID 44"} 
[2026-06-02 14:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780184576001,"power":27974,"unknown_88":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3980970933018251264}} 
[2026-06-02 14:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":89762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:40:02] local.INFO: GPS data processed {"connection_id":89762,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:40:02] local.INFO: Acknowledgment sent {"connection_id":89762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:40:23] local.INFO: TCP Data received {"connection_id":90941,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:40:23] local.INFO: Processing buffer {"connection_id":90941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:40:23] local.INFO: IMEI packet received {"connection_id":90941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":90941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:40:24] local.INFO: TCP Data received {"connection_id":90941,"ip":"42.106.6.42","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90941,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:40:24] local.INFO: Processing buffer {"connection_id":90941,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:40:24] local.INFO: IMEI packet received {"connection_id":90941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":90941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:40:29] local.INFO: TCP Data received {"connection_id":90941,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:40:29] local.INFO: Processing buffer {"connection_id":90941,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-02 14:40:29] local.INFO: IMEI packet received {"connection_id":90941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":90941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:40:30] local.INFO: TCP Data received {"connection_id":90941,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87982a48012cc89f80074c8190000d01522b..."} 
[2026-06-02 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87982a48012cc89f80074c8190000d01522b..."} 
[2026-06-02 14:40:30] local.INFO: Processing buffer {"connection_id":90941,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e87..."} 
[2026-06-02 14:40:30] local.INFO: IMEI packet received {"connection_id":90941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":90941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:40:32] local.INFO: TCP Data received {"connection_id":90941,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879841b8012cc89240074ca230000e015129..."} 
[2026-06-02 14:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879841b8012cc89240074ca230000e015129..."} 
[2026-06-02 14:40:32] local.INFO: Processing buffer {"connection_id":90941,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e87982a48012cc89f80074c8190000d01522b..."} 
[2026-06-02 14:40:32] local.INFO: Packet analysis {"connection_id":90941,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:32] local.INFO: Extracted packet for processing {"connection_id":90941,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":751345536,"raw_latitude":122454416,"longitude_deg":75.1345536,"latitude_deg":12.2454416,"altitude":13,"angle":338,"satellites":43,"speed":59,"hex_longitude":"2cc89f80","hex_latitude":"074c8190","is_valid_coordinates":true} 
[2026-06-02 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780185856001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305784603275165696,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3986178220085897216,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:32] 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-06-02 14:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780391357000,"timestamp_ms":1780391357000,"timestamp_seconds":1780391357,"priority":1,"record_length":96,"hex_timestamp":"0000019e87982a48"} 
[2026-06-02 14:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:40:32] 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-06-02 14:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780185856001,"66":27984,"88":206,"85":37632,"24":59,"16":305784603275165696,"44":-3986178220085897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-02 14:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780185856001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305784603275165696,"km_value":305784603275165.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3986178220085897216,"description":"Unknown IO ID 44"} 
[2026-06-02 14:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780185856001,"power":27984,"unknown_88":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3986178220085897216}} 
[2026-06-02 14:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":90941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:40:32] local.INFO: GPS data processed {"connection_id":90941,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:40:32] local.INFO: Acknowledgment sent {"connection_id":90941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:40:32] local.INFO: Packet analysis {"connection_id":90941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:32] local.INFO: Extracted packet for processing {"connection_id":90941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":751342144,"raw_latitude":122462768,"longitude_deg":75.1342144,"latitude_deg":12.2462768,"altitude":14,"angle":337,"satellites":41,"speed":59,"hex_longitude":"2cc89240","hex_latitude":"074ca230","is_valid_coordinates":true} 
[2026-06-02 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780187392001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305785041361829888,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3990329975990284288,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:32] 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-06-02 14:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780391363000,"timestamp_ms":1780391363000,"timestamp_seconds":1780391363,"priority":1,"record_length":96,"hex_timestamp":"0000019e879841b8"} 
[2026-06-02 14:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 14:40:32] 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-06-02 14:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:40:32] 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-06-02 14:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780187392001,"66":27876,"88":206,"85":37632,"24":59,"16":305785041361829888,"44":-3990329975990284288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-02 14:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780187392001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305785041361829888,"km_value":305785041361829.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3990329975990284288,"description":"Unknown IO ID 44"} 
[2026-06-02 14:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780187392001,"power":27876,"unknown_88":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3990329975990284288}} 
[2026-06-02 14:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":90941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:40:32] local.INFO: GPS data processed {"connection_id":90941,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:40:32] local.INFO: Acknowledgment sent {"connection_id":90941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:40:40] local.INFO: TCP Data received {"connection_id":90942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:40:40] local.INFO: Processing buffer {"connection_id":90942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:40:40] local.INFO: IMEI packet received {"connection_id":90942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":90942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:40:45] local.INFO: TCP Data received {"connection_id":90942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:40:45] local.INFO: Processing buffer {"connection_id":90942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:40:45] local.INFO: IMEI packet received {"connection_id":90942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":90942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:40:46] local.INFO: TCP Data received {"connection_id":90942,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879841b8012d19ea80071ffd78002f012f1f..."} 
[2026-06-02 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879841b8012d19ea80071ffd78002f012f1f..."} 
[2026-06-02 14:40:46] local.INFO: Processing buffer {"connection_id":90942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879841b8012d19ea80071ffd78002f012f1f..."} 
[2026-06-02 14:40:46] local.INFO: Packet analysis {"connection_id":90942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:46] local.INFO: Extracted packet for processing {"connection_id":90942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756673152,"raw_latitude":119537016,"longitude_deg":75.6673152,"latitude_deg":11.9537016,"altitude":47,"angle":303,"satellites":31,"speed":23,"hex_longitude":"2d19ea80","hex_latitude":"071ffd78","is_valid_coordinates":true} 
[2026-06-02 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-06-02 14:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780188416001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125254723958734848,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868642032239212544,"note":"Value kept but may cause issues"} 
[2026-06-02 14:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780391363000,"timestamp_ms":1780391363000,"timestamp_seconds":1780391363,"priority":1,"record_length":96,"hex_timestamp":"0000019e879841b8"} 
[2026-06-02 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-06-02 14:40: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-06-02 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 14:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 14:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:40: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-06-02 14:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780188416001,"66":13830,"170":206,"187":32768,"24":23,"16":125254723958734848,"45":1868642032239212544},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,187,24,16,45]} 
[2026-06-02 14:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780188416001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:40:46] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 14:40:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-06-02 14:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125254723958734848,"km_value":125254723958734.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868642032239212544,"description":"Unknown IO ID 45"} 
[2026-06-02 14:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780188416001,"power":13830,"unknown_170":206,"unknown_187":32768,"ignition":23,"odometer":null,"unknown_45":1868642032239212544}} 
[2026-06-02 14:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":90942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:40:46] local.INFO: GPS data processed {"connection_id":90942,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:40:46] local.INFO: Acknowledgment sent {"connection_id":90942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:41:03] local.INFO: TCP Data received {"connection_id":90941,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87985928012cc88540074cc2d0000e015129..."} 
[2026-06-02 14:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87985928012cc88540074cc2d0000e015129..."} 
[2026-06-02 14:41:03] local.INFO: Processing buffer {"connection_id":90941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87985928012cc88540074cc2d0000e015129..."} 
[2026-06-02 14:41:03] local.INFO: Packet analysis {"connection_id":90941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:41:03] local.INFO: Extracted packet for processing {"connection_id":90941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:41:03] local.INFO: GPS Element Parsed {"raw_longitude":751338816,"raw_latitude":122471120,"longitude_deg":75.1338816,"latitude_deg":12.247112,"altitude":14,"angle":337,"satellites":41,"speed":59,"hex_longitude":"2cc88540","hex_latitude":"074cc2d0","is_valid_coordinates":true} 
[2026-06-02 14:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780188928001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305785475153526784,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3994059519429562368,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:03] 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-06-02 14:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780391369000,"timestamp_ms":1780391369000,"timestamp_seconds":1780391369,"priority":1,"record_length":96,"hex_timestamp":"0000019e87985928"} 
[2026-06-02 14:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:41: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-06-02 14:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:41:03] 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-06-02 14:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780188928001,"66":27930,"88":206,"85":37632,"24":59,"16":305785475153526784,"44":-3994059519429562368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-02 14:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780188928001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305785475153526784,"km_value":305785475153526.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3994059519429562368,"description":"Unknown IO ID 44"} 
[2026-06-02 14:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780188928001,"power":27930,"unknown_88":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3994059519429562368}} 
[2026-06-02 14:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":90941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:41:03] local.INFO: GPS data processed {"connection_id":90941,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:41:03] local.INFO: Acknowledgment sent {"connection_id":90941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:41:11] local.INFO: TCP Data received {"connection_id":89490,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:41:11] local.INFO: Processing buffer {"connection_id":89490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:41:11] local.INFO: IMEI packet received {"connection_id":89490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":89490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:41:16] local.INFO: TCP Data received {"connection_id":89490,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:41:16] local.INFO: Processing buffer {"connection_id":89490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:41:16] local.INFO: IMEI packet received {"connection_id":89490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":89490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:41:18] local.INFO: TCP Data received {"connection_id":89490,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879845a0012d19e900071fff00002f013c1f..."} 
[2026-06-02 14:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879845a0012d19e900071fff00002f013c1f..."} 
[2026-06-02 14:41:18] local.INFO: Processing buffer {"connection_id":89490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879845a0012d19e900071fff00002f013c1f..."} 
[2026-06-02 14:41:18] local.INFO: Packet analysis {"connection_id":89490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:41:18] local.INFO: Extracted packet for processing {"connection_id":89490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756672768,"raw_latitude":119537408,"longitude_deg":75.6672768,"latitude_deg":11.9537408,"altitude":47,"angle":316,"satellites":31,"speed":22,"hex_longitude":"2d19e900","hex_latitude":"071fff00","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780188928001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125254749728538624,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867445763588323328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780391364000,"timestamp_ms":1780391364000,"timestamp_seconds":1780391364,"priority":1,"record_length":96,"hex_timestamp":"0000019e879845a0"} 
[2026-06-02 14:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:41: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-06-02 14: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":6,"data_length":795,"current_offset":136} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147489792,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9288682837180416,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2274855456,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3935305775,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2546251777,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":464126158,"corrected_to":0} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2147950556,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3741371675,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4248502272,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":134,"raw_value":4035556332546295583,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-8070393352725725152,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,170,187,24,241,16,254,158,57,45,192,251,46,31,10,66,34,252,231,1,240,6,135,4,113,205,38,153,87,176,26,239,56,2,188,7,52,33,134,217],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":464126158,"validated":0}]} 
[2026-06-02 14:41:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387040204951322624,"timestamp_seconds":3387040204951322.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 14:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:41:18] 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-06-02 14:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780188928001,"66":13798,"170":206,"187":32768,"24":22,"16":125254749728538624,"45":1867445763588323328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,187,24,16,45]} 
[2026-06-02 14:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780188928001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:41:18] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 14:41:18] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-06-02 14:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125254749728538624,"km_value":125254749728538.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867445763588323328,"description":"Unknown IO ID 45"} 
[2026-06-02 14:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780188928001,"power":13798,"unknown_170":206,"unknown_187":32768,"ignition":22,"odometer":null,"unknown_45":1867445763588323328}} 
[2026-06-02 14:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":89490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:41:19] local.INFO: GPS data processed {"connection_id":89490,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:41:19] local.INFO: Acknowledgment sent {"connection_id":89490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:41:25] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:25] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:25] local.INFO: IMEI packet received {"connection_id":89764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":89764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:41:28] local.INFO: TCP Data received {"connection_id":89868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:41:28] local.INFO: Processing buffer {"connection_id":89868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:41:28] local.INFO: IMEI packet received {"connection_id":89868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:41:29] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:29] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:29] local.INFO: IMEI packet received {"connection_id":89764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":89764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:41:29] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:29] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:29] local.INFO: IMEI packet received {"connection_id":89764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":89764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:41:32] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:32] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:41:32] local.INFO: IMEI packet received {"connection_id":89764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":89764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:41:33] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879989d8012cc778c0074d2c18000b011f25..."} 
[2026-06-02 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879989d8012cc778c0074d2c18000b011f25..."} 
[2026-06-02 14:41:33] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879989d8012cc778c0074d2c18000b011f25..."} 
[2026-06-02 14:41:33] local.INFO: Packet analysis {"connection_id":89764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:41:33] local.INFO: Extracted packet for processing {"connection_id":89764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":751270080,"raw_latitude":122498072,"longitude_deg":75.127008,"latitude_deg":12.2498072,"altitude":11,"angle":287,"satellites":37,"speed":19,"hex_longitude":"2cc778c0","hex_latitude":"074d2c18","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305789357803962368,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4068580019504865280,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:33] 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-06-02 14:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780391447000,"timestamp_ms":1780391447000,"timestamp_seconds":1780391447,"priority":1,"record_length":96,"hex_timestamp":"0000019e879989d8"} 
[2026-06-02 14:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:41: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-06-02 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:41:33] 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-06-02 14: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-06-02 14:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:41:33] 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-06-02 14:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780208640001,"66":27908,"88":206,"85":37632,"24":19,"16":305789357803962368,"44":-4068580019504865280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-02 14:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305789357803962368,"km_value":305789357803962.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:41:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4068580019504865280,"description":"Unknown IO ID 44"} 
[2026-06-02 14:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780208640001,"power":27908,"unknown_88":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4068580019504865280}} 
[2026-06-02 14:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":89764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:41:33] local.INFO: GPS data processed {"connection_id":89764,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:41:33] local.INFO: Acknowledgment sent {"connection_id":89764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:41:34] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87999978012cc772c0074d2e900009012a28..."} 
[2026-06-02 14:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87999978012cc772c0074d2e900009012a28..."} 
[2026-06-02 14:41:34] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87999978012cc772c0074d2e900009012a28..."} 
[2026-06-02 14:41:34] local.INFO: Packet analysis {"connection_id":89764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:41:34] local.INFO: Extracted packet for processing {"connection_id":89764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:41:34] local.INFO: GPS Element Parsed {"raw_longitude":751268544,"raw_latitude":122498704,"longitude_deg":75.1268544,"latitude_deg":12.2498704,"altitude":9,"angle":298,"satellites":40,"speed":13,"hex_longitude":"2cc772c0","hex_latitude":"074d2e90","is_valid_coordinates":true} 
[2026-06-02 14:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780210432001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305789435113373696,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4073294725364574208,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:34] 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-06-02 14:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780391451000,"timestamp_ms":1780391451000,"timestamp_seconds":1780391451,"priority":1,"record_length":96,"hex_timestamp":"0000019e87999978"} 
[2026-06-02 14:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:41: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-06-02 14:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:41:34] 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-06-02 14:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780210432001,"66":27930,"89":206,"85":37632,"24":13,"16":305789435113373696,"44":-4073294725364574208},"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-06-02 14:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780210432001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:41:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 14:41:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305789435113373696,"km_value":305789435113373.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:41:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4073294725364574208,"description":"Unknown IO ID 44"} 
[2026-06-02 14:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780210432001,"power":27930,"unknown_89":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4073294725364574208}} 
[2026-06-02 14:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":89764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:41:34] local.INFO: GPS data processed {"connection_id":89764,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:41:34] local.INFO: Acknowledgment sent {"connection_id":89764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:41:50] local.INFO: TCP Data received {"connection_id":89490,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87984988012d19e84007200090002f014a21..."} 
[2026-06-02 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87984988012d19e84007200090002f014a21..."} 
[2026-06-02 14:41:50] local.INFO: Processing buffer {"connection_id":89490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87984988012d19e84007200090002f014a21..."} 
[2026-06-02 14:41:50] local.INFO: Packet analysis {"connection_id":89490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:41:50] local.INFO: Extracted packet for processing {"connection_id":89490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8798"} 
[2026-06-02 14:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756672576,"raw_latitude":119537808,"longitude_deg":75.6672576,"latitude_deg":11.9537808,"altitude":47,"angle":330,"satellites":33,"speed":16,"hex_longitude":"2d19e840","hex_latitude":"07200090","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780189184001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125254771203375104,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867023551123357696,"note":"Value kept but may cause issues"} 
[2026-06-02 14:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780391365000,"timestamp_ms":1780391365000,"timestamp_seconds":1780391365,"priority":1,"record_length":96,"hex_timestamp":"0000019e87984988"} 
[2026-06-02 14:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:41: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-06-02 14: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 14:41:50] 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-06-02 14: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-06-02 14:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:41:50] 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-06-02 14:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780189184001,"66":13798,"170":206,"187":32768,"24":16,"16":125254771203375104,"45":1867023551123357696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,187,24,16,45]} 
[2026-06-02 14:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780189184001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:41:50] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 14:41:50] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-06-02 14:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125254771203375104,"km_value":125254771203375.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867023551123357696,"description":"Unknown IO ID 45"} 
[2026-06-02 14:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780189184001,"power":13798,"unknown_170":206,"unknown_187":32768,"ignition":16,"odometer":null,"unknown_45":1867023551123357696}} 
[2026-06-02 14:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":89490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:41:50] local.INFO: GPS data processed {"connection_id":89490,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:41:50] local.INFO: Acknowledgment sent {"connection_id":89490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:41:59] local.INFO: TCP Data received {"connection_id":90943,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:41:59] local.INFO: Processing buffer {"connection_id":90943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:41:59] local.INFO: IMEI packet received {"connection_id":90943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":90943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:42:05] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8799a530012cc76fc0074d30b80009013729..."} 
[2026-06-02 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8799a530012cc76fc0074d30b80009013729..."} 
[2026-06-02 14:42:05] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8799a530012cc76fc0074d30b80009013729..."} 
[2026-06-02 14:42:05] local.INFO: Packet analysis {"connection_id":89764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:42:05] local.INFO: Extracted packet for processing {"connection_id":89764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":751267776,"raw_latitude":122499256,"longitude_deg":75.1267776,"latitude_deg":12.2499256,"altitude":9,"angle":311,"satellites":41,"speed":12,"hex_longitude":"2cc76fc0","hex_latitude":"074d30b8","is_valid_coordinates":true} 
[2026-06-02 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780211456001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305789482358013952,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4074983575224676352,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:05] 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-06-02 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780391454000,"timestamp_ms":1780391454000,"timestamp_seconds":1780391454,"priority":1,"record_length":96,"hex_timestamp":"0000019e8799a530"} 
[2026-06-02 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:42: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-06-02 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:42:05] 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-06-02 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780211456001,"66":27919,"89":206,"85":37632,"24":12,"16":305789482358013952,"44":-4074983575224676352},"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-06-02 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780211456001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:42:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 14:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305789482358013952,"km_value":305789482358013.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4074983575224676352,"description":"Unknown IO ID 44"} 
[2026-06-02 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780211456001,"power":27919,"unknown_89":206,"unknown_85":37632,"ignition":12,"odometer":null,"unknown_44":-4074983575224676352}} 
[2026-06-02 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":89764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:42:05] local.INFO: GPS data processed {"connection_id":89764,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:42:05] local.INFO: Acknowledgment sent {"connection_id":89764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:42:05] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:05] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:05] local.INFO: IMEI packet received {"connection_id":89491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":89491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:42:06] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:06] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:06] local.INFO: IMEI packet received {"connection_id":89491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":89491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:42:07] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:07] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:07] local.INFO: IMEI packet received {"connection_id":89491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":89491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:42:11] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:11] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:42:11] local.INFO: IMEI packet received {"connection_id":89491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":89491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:42:12] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8799f350012d19b90007206408002b015b1e..."} 
[2026-06-02 14:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8799f350012d19b90007206408002b015b1e..."} 
[2026-06-02 14:42:12] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8799f350012d19b90007206408002b015b1e..."} 
[2026-06-02 14:42:12] local.INFO: Packet analysis {"connection_id":89491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:42:12] local.INFO: Extracted packet for processing {"connection_id":89491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119563272,"longitude_deg":75.666048,"latitude_deg":11.9563272,"altitude":43,"angle":347,"satellites":30,"speed":45,"hex_longitude":"2d19b900","hex_latitude":"07206408","is_valid_coordinates":true} 
[2026-06-02 14:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780215296001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125256218607353856,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283408177152,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780391474000,"timestamp_ms":1780391474000,"timestamp_seconds":1780391474,"priority":1,"record_length":96,"hex_timestamp":"0000019e8799f350"} 
[2026-06-02 14:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 14:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:42:12] 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-06-02 14:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780215296001,"66":14004,"103":206,"83":41984,"24":45,"16":125256218607353856,"45":1854568283408177152},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780215296001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:42:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125256218607353856,"km_value":125256218607353.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283408177152,"description":"Unknown IO ID 45"} 
[2026-06-02 14:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780215296001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1854568283408177152}} 
[2026-06-02 14:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":89491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:42:12] local.INFO: GPS data processed {"connection_id":89491,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:42:12] local.INFO: Acknowledgment sent {"connection_id":89491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:42:24] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:42:24] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:42:24] local.INFO: IMEI packet received {"connection_id":89492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":89492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:42:28] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:42:28] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:42:28] local.INFO: IMEI packet received {"connection_id":89492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":89492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:42:29] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8799c858012cc76580074d39c0000b012b2a..."} 
[2026-06-02 14:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8799c858012cc76580074d39c0000b012b2a..."} 
[2026-06-02 14:42:29] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8799c858012cc76580074d39c0000b012b2a..."} 
[2026-06-02 14:42:29] local.INFO: Packet analysis {"connection_id":89492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:42:29] local.INFO: Extracted packet for processing {"connection_id":89492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:42:29] local.INFO: GPS Element Parsed {"raw_longitude":751265152,"raw_latitude":122501568,"longitude_deg":75.1265152,"latitude_deg":12.2501568,"altitude":11,"angle":299,"satellites":42,"speed":23,"hex_longitude":"2cc76580","hex_latitude":"074d39c0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780212224001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305789649861738496,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4075828000154667008,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:29] 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-06-02 14:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391463000,"timestamp_ms":1780391463000,"timestamp_seconds":1780391463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8799c858"} 
[2026-06-02 14:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:42: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-06-02 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 14:42: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-06-02 14: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-06-02 14:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:42:29] 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-06-02 14:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780212224001,"66":27908,"89":206,"85":37632,"24":23,"16":305789649861738496,"44":-4075828000154667008},"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-06-02 14:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780212224001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:42:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 14:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305789649861738496,"km_value":305789649861738.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4075828000154667008,"description":"Unknown IO ID 44"} 
[2026-06-02 14:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780212224001,"power":27908,"unknown_89":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-4075828000154667008}} 
[2026-06-02 14:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":89492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:42:29] local.INFO: GPS data processed {"connection_id":89492,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:42:29] local.INFO: Acknowledgment sent {"connection_id":89492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:42:42] local.INFO: TCP Data received {"connection_id":89491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879a1290012d19ae40072085b0002d015a1e..."} 
[2026-06-02 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879a1290012d19ae40072085b0002d015a1e..."} 
[2026-06-02 14:42:42] local.INFO: Processing buffer {"connection_id":89491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879a1290012d19ae40072085b0002d015a1e..."} 
[2026-06-02 14:42:42] local.INFO: Packet analysis {"connection_id":89491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:42:42] local.INFO: Extracted packet for processing {"connection_id":89491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119571888,"longitude_deg":75.6657728,"latitude_deg":11.9571888,"altitude":45,"angle":346,"satellites":30,"speed":42,"hex_longitude":"2d19ae40","hex_latitude":"072085b0","is_valid_coordinates":true} 
[2026-06-02 14:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780217344001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125256656694018048,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752247867392,"note":"Value kept but may cause issues"} 
[2026-06-02 14:42: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-06-02 14:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780391482000,"timestamp_ms":1780391482000,"timestamp_seconds":1780391482,"priority":1,"record_length":96,"hex_timestamp":"0000019e879a1290"} 
[2026-06-02 14:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:42: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-06-02 14:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-02 14:42:42] 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-06-02 14:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:42:42] 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-06-02 14:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780217344001,"66":13798,"103":206,"83":41984,"24":42,"16":125256656694018048,"45":1853512752247867392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780217344001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:42:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125256656694018048,"km_value":125256656694018.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752247867392,"description":"Unknown IO ID 45"} 
[2026-06-02 14:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780217344001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1853512752247867392}} 
[2026-06-02 14:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":89491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:42:43] local.INFO: GPS data processed {"connection_id":89491,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:42:43] local.INFO: Acknowledgment sent {"connection_id":89491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:43:00] local.INFO: TCP Data received {"connection_id":89492,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8799dfc8012cc75bc0074d3dc8000a011d2a..."} 
[2026-06-02 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8799dfc8012cc75bc0074d3dc8000a011d2a..."} 
[2026-06-02 14:43:00] local.INFO: Processing buffer {"connection_id":89492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8799dfc8012cc75bc0074d3dc8000a011d2a..."} 
[2026-06-02 14:43:00] local.INFO: Packet analysis {"connection_id":89492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:43:00] local.INFO: Extracted packet for processing {"connection_id":89492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8799"} 
[2026-06-02 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":751262656,"raw_latitude":122502600,"longitude_deg":75.1262656,"latitude_deg":12.25026,"altitude":10,"angle":285,"satellites":42,"speed":12,"hex_longitude":"2cc75bc0","hex_latitude":"074d3dc8","is_valid_coordinates":true} 
[2026-06-02 14:43: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-06-02 14:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780214528001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305789778710757376,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4078713118665359360,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43: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-06-02 14:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780391469000,"timestamp_ms":1780391469000,"timestamp_seconds":1780391469,"priority":1,"record_length":96,"hex_timestamp":"0000019e8799dfc8"} 
[2026-06-02 14:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:43: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-06-02 14:43: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-06-02 14:43: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-06-02 14:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:43:00] 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-06-02 14:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780214528001,"66":27463,"89":206,"85":37632,"24":12,"16":305789778710757376,"44":-4078713118665359360},"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-06-02 14:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780214528001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:43:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 14:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305789778710757376,"km_value":305789778710757.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4078713118665359360,"description":"Unknown IO ID 44"} 
[2026-06-02 14:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780214528001,"power":27463,"unknown_89":206,"unknown_85":37632,"ignition":12,"odometer":null,"unknown_44":-4078713118665359360}} 
[2026-06-02 14:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":89492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:43:00] local.INFO: GPS data processed {"connection_id":89492,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:43:00] local.INFO: Acknowledgment sent {"connection_id":89492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:43:05] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:05] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:05] local.INFO: IMEI packet received {"connection_id":89765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":89765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:43:09] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:09] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:09] local.INFO: IMEI packet received {"connection_id":89765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":89765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:43:10] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:10] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:43:10] local.INFO: IMEI packet received {"connection_id":89765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":89765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:43:11] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879aba88012d1959c00720aa10002e010b1d..."} 
[2026-06-02 14:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879aba88012d1959c00720aa10002e010b1d..."} 
[2026-06-02 14:43:11] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879aba88012d1959c00720aa10002e010b1d..."} 
[2026-06-02 14:43:11] local.INFO: Packet analysis {"connection_id":89765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:43:11] local.INFO: Extracted packet for processing {"connection_id":89765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756636096,"raw_latitude":119581200,"longitude_deg":75.6636096,"latitude_deg":11.95812,"altitude":46,"angle":267,"satellites":29,"speed":44,"hex_longitude":"2d1959c0","hex_latitude":"0720aa10","is_valid_coordinates":true} 
[2026-06-02 14:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780230400001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125258357501067264,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826702260720766976,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780391525000,"timestamp_ms":1780391525000,"timestamp_seconds":1780391525,"priority":1,"record_length":96,"hex_timestamp":"0000019e879aba88"} 
[2026-06-02 14:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-02 14:43:11] 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-06-02 14:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:43:11] 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-06-02 14:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780230400001,"66":13656,"103":206,"83":41984,"24":44,"16":125258357501067264,"45":1826702260720766976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780230400001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:43:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125258357501067264,"km_value":125258357501067.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826702260720766976,"description":"Unknown IO ID 45"} 
[2026-06-02 14:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780230400001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1826702260720766976}} 
[2026-06-02 14:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":89765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:43:12] local.INFO: GPS data processed {"connection_id":89765,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:43:12] local.INFO: Acknowledgment sent {"connection_id":89765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:43:24] local.INFO: TCP Data received {"connection_id":89869,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:24] local.INFO: Processing buffer {"connection_id":89869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:24] local.INFO: IMEI packet received {"connection_id":89869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":89869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:43:29] local.INFO: TCP Data received {"connection_id":89869,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:29] local.INFO: Processing buffer {"connection_id":89869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:29] local.INFO: IMEI packet received {"connection_id":89869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":89869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:43:34] local.INFO: TCP Data received {"connection_id":89869,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:34] local.INFO: Processing buffer {"connection_id":89869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:43:34] local.INFO: IMEI packet received {"connection_id":89869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":89869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:43:34] local.INFO: TCP Data received {"connection_id":89869,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879a0ac0012cc74dc0074d42500009012b28..."} 
[2026-06-02 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879a0ac0012cc74dc0074d42500009012b28..."} 
[2026-06-02 14:43:34] local.INFO: Processing buffer {"connection_id":89869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879a0ac0012cc74dc0074d42500009012b28..."} 
[2026-06-02 14:43:34] local.INFO: Packet analysis {"connection_id":89869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:43:34] local.INFO: Extracted packet for processing {"connection_id":89869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":751259072,"raw_latitude":122503760,"longitude_deg":75.1259072,"latitude_deg":12.250376,"altitude":9,"angle":299,"satellites":40,"speed":10,"hex_longitude":"2cc74dc0","hex_latitude":"074d4250","is_valid_coordinates":true} 
[2026-06-02 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305789959099383808,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4081457499688024064,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:34] 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-06-02 14:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780391480000,"timestamp_ms":1780391480000,"timestamp_seconds":1780391480,"priority":1,"record_length":96,"hex_timestamp":"0000019e879a0ac0"} 
[2026-06-02 14:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:43: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-06-02 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 14:43:34] 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-06-02 14:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:43:34] 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-06-02 14:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780216064001,"66":27908,"89":206,"85":37632,"24":10,"16":305789959099383808,"44":-4081457499688024064},"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-06-02 14:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305789959099383808,"km_value":305789959099383.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4081457499688024064,"description":"Unknown IO ID 44"} 
[2026-06-02 14:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780216064001,"power":27908,"unknown_89":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-4081457499688024064}} 
[2026-06-02 14:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":89869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:43:34] local.INFO: GPS data processed {"connection_id":89869,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:43:34] local.INFO: Acknowledgment sent {"connection_id":89869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:43:43] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879ac640012d194c800720ab48002e011a1c..."} 
[2026-06-02 14:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879ac640012d194c800720ab48002e011a1c..."} 
[2026-06-02 14:43:43] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879ac640012d194c800720ab48002e011a1c..."} 
[2026-06-02 14:43:43] local.INFO: Packet analysis {"connection_id":89765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:43:43] local.INFO: Extracted packet for processing {"connection_id":89765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756632704,"raw_latitude":119581512,"longitude_deg":75.6632704,"latitude_deg":11.9581512,"altitude":46,"angle":282,"satellites":28,"speed":44,"hex_longitude":"2d194c80","hex_latitude":"0720ab48","is_valid_coordinates":true} 
[2026-06-02 14:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780230400001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125258520709824512,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826702260720766976,"note":"Value kept but may cause issues"} 
[2026-06-02 14:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780391528000,"timestamp_ms":1780391528000,"timestamp_seconds":1780391528,"priority":1,"record_length":96,"hex_timestamp":"0000019e879ac640"} 
[2026-06-02 14:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:43: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-06-02 14:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-02 14:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:43:43] 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-06-02 14:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780230400001,"66":14428,"103":206,"83":41984,"24":44,"16":125258520709824512,"45":1826702260720766976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780230400001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:43:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125258520709824512,"km_value":125258520709824.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826702260720766976,"description":"Unknown IO ID 45"} 
[2026-06-02 14:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780230400001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1826702260720766976}} 
[2026-06-02 14:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":89765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:43:43] local.INFO: GPS data processed {"connection_id":89765,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:43:43] local.INFO: Acknowledgment sent {"connection_id":89765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:44:09] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:09] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:09] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:44:10] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:10] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:10] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:44:11] local.INFO: TCP Data received {"connection_id":89869,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879a5cc8012cc73440074d5140000b012c2a..."} 
[2026-06-02 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879a5cc8012cc73440074d5140000b012c2a..."} 
[2026-06-02 14:44:11] local.INFO: Processing buffer {"connection_id":89869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879a5cc8012cc73440074d5140000b012c2a..."} 
[2026-06-02 14:44:11] local.INFO: Packet analysis {"connection_id":89869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:44:11] local.INFO: Extracted packet for processing {"connection_id":89869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879a"} 
[2026-06-02 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":751252544,"raw_latitude":122507584,"longitude_deg":75.1252544,"latitude_deg":12.2507584,"altitude":11,"angle":300,"satellites":42,"speed":14,"hex_longitude":"2cc73440","hex_latitude":"074d5140","is_valid_coordinates":true} 
[2026-06-02 14:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780218880001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305790319876636672,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4085398149361676288,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:11] 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-06-02 14:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780391501000,"timestamp_ms":1780391501000,"timestamp_seconds":1780391501,"priority":1,"record_length":96,"hex_timestamp":"0000019e879a5cc8"} 
[2026-06-02 14:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:44: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-06-02 14:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:44:11] 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-06-02 14:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780218880001,"66":27919,"89":206,"85":37632,"24":14,"16":305790319876636672,"44":-4085398149361676288},"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-06-02 14:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780218880001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:44:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-02 14:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305790319876636672,"km_value":305790319876636.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4085398149361676288,"description":"Unknown IO ID 44"} 
[2026-06-02 14:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780218880001,"power":27919,"unknown_89":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-4085398149361676288}} 
[2026-06-02 14:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":89869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:44:11] local.INFO: GPS data processed {"connection_id":89869,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:44:11] local.INFO: Acknowledgment sent {"connection_id":89869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:44:11] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:11] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:44:11] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:44:12] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879bb488012d18cf8007212e50003f014d1a..."} 
[2026-06-02 14:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879bb488012d18cf8007212e50003f014d1a..."} 
[2026-06-02 14:44:12] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879bb488012d18cf8007212e50003f014d1a..."} 
[2026-06-02 14:44:12] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879b"} 
[2026-06-02 14:44:12] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879b"} 
[2026-06-02 14:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756600704,"raw_latitude":119615056,"longitude_deg":75.6600704,"latitude_deg":11.9615056,"altitude":63,"angle":333,"satellites":26,"speed":34,"hex_longitude":"2d18cf80","hex_latitude":"07212e50","is_valid_coordinates":true} 
[2026-06-02 14:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780246272001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125260930186477568,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640561152,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780391589000,"timestamp_ms":1780391589000,"timestamp_seconds":1780391589,"priority":1,"record_length":96,"hex_timestamp":"0000019e879bb488"} 
[2026-06-02 14:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 14:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:44:12] 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-06-02 14:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780246272001,"66":12798,"103":206,"83":41984,"24":34,"16":125260930186477568,"45":1788492032640561152},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 14:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780246272001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:44:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125260930186477568,"km_value":125260930186477.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640561152,"description":"Unknown IO ID 45"} 
[2026-06-02 14:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780246272001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788492032640561152}} 
[2026-06-02 14:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:44:12] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:44:12] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:44:13] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879bcbf8012d18c640072140900040015c1c..."} 
[2026-06-02 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879bcbf8012d18c640072140900040015c1c..."} 
[2026-06-02 14:44:13] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879bcbf8012d18c640072140900040015c1c..."} 
[2026-06-02 14:44:13] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879b"} 
[2026-06-02 14:44:13] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879b"} 
[2026-06-02 14:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119619728,"longitude_deg":75.6598336,"latitude_deg":11.9619728,"altitude":64,"angle":348,"satellites":28,"speed":36,"hex_longitude":"2d18c640","hex_latitude":"07214090","is_valid_coordinates":true} 
[2026-06-02 14:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780246784001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125261183589548032,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787788345199185920,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780391595000,"timestamp_ms":1780391595000,"timestamp_seconds":1780391595,"priority":1,"record_length":96,"hex_timestamp":"0000019e879bcbf8"} 
[2026-06-02 14:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:44: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-06-02 14:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 14:44:13] 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-06-02 14:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:44:13] 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-06-02 14:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780246784001,"66":13852,"106":206,"83":41984,"24":36,"16":125261183589548032,"45":1787788345199185920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 14:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780246784001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:44:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 14:44:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125261183589548032,"km_value":125261183589548.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787788345199185920,"description":"Unknown IO ID 45"} 
[2026-06-02 14:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780246784001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1787788345199185920}} 
[2026-06-02 14:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:44:13] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:44:13] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:44:20] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:20] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:20] local.INFO: IMEI packet received {"connection_id":89766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":89766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:44:24] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:24] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:24] local.INFO: IMEI packet received {"connection_id":89766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":89766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:44:26] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:26] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:44:26] local.INFO: IMEI packet received {"connection_id":89766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":89766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:44:27] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879c02a8012cc62d00074df6c0001101512b..."} 
[2026-06-02 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879c02a8012cc62d00074df6c0001101512b..."} 
[2026-06-02 14:44:27] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879c02a8012cc62d00074df6c0001101512b..."} 
[2026-06-02 14:44:27] local.INFO: Packet analysis {"connection_id":89766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:44:27] local.INFO: Extracted packet for processing {"connection_id":89766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:44:27] local.INFO: GPS Element Parsed {"raw_longitude":751185152,"raw_latitude":122549952,"longitude_deg":75.1185152,"latitude_deg":12.2549952,"altitude":17,"angle":337,"satellites":43,"speed":51,"hex_longitude":"2cc62d00","hex_latitude":"074df6c0","is_valid_coordinates":true} 
[2026-06-02 14:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780249856001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305794288426418176,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4162240817994090496,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780391609000,"timestamp_ms":1780391609000,"timestamp_seconds":1780391609,"priority":1,"record_length":96,"hex_timestamp":"0000019e879c02a8"} 
[2026-06-02 14:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:44: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-06-02 14:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:44: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-06-02 14:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:44:27] 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-06-02 14:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780249856001,"66":27865,"119":206,"85":37632,"24":51,"16":305794288426418176,"44":-4162240817994090496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-06-02 14:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780249856001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:44:27] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-02 14:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305794288426418176,"km_value":305794288426418.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:44:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4162240817994090496,"description":"Unknown IO ID 44"} 
[2026-06-02 14:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780249856001,"power":27865,"unknown_119":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-4162240817994090496}} 
[2026-06-02 14:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":89766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:44:27] local.INFO: GPS data processed {"connection_id":89766,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:44:27] local.INFO: Acknowledgment sent {"connection_id":89766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:44:29] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879c1e00012cc61d40074e1950000f014f2a..."} 
[2026-06-02 14:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879c1e00012cc61d40074e1950000f014f2a..."} 
[2026-06-02 14:44:29] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879c1e00012cc61d40074e1950000f014f2a..."} 
[2026-06-02 14:44:29] local.INFO: Packet analysis {"connection_id":89766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:44:29] local.INFO: Extracted packet for processing {"connection_id":89766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:44:29] local.INFO: GPS Element Parsed {"raw_longitude":751181120,"raw_latitude":122558800,"longitude_deg":75.118112,"latitude_deg":12.25588,"altitude":15,"angle":335,"satellites":42,"speed":56,"hex_longitude":"2cc61d40","hex_latitude":"074e1950","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780251904001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305794760872820736,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4166674048875053056,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391616000,"timestamp_ms":1780391616000,"timestamp_seconds":1780391616,"priority":1,"record_length":96,"hex_timestamp":"0000019e879c1e00"} 
[2026-06-02 14:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:44: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-06-02 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 14:44: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-06-02 14: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-06-02 14:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:44:29] 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-06-02 14:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780251904001,"66":27843,"119":206,"85":37632,"24":56,"16":305794760872820736,"44":-4166674048875053056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-06-02 14:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780251904001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:44:29] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-02 14:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305794760872820736,"km_value":305794760872820.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4166674048875053056,"description":"Unknown IO ID 44"} 
[2026-06-02 14:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780251904001,"power":27843,"unknown_119":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4166674048875053056}} 
[2026-06-02 14:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":89766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:44:29] local.INFO: GPS data processed {"connection_id":89766,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:44:29] local.INFO: Acknowledgment sent {"connection_id":89766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:44:44] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879be368012d18c280072154d80043014d1c..."} 
[2026-06-02 14:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879be368012d18c280072154d80043014d1c..."} 
[2026-06-02 14:44:44] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879be368012d18c280072154d80043014d1c..."} 
[2026-06-02 14:44:44] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879b"} 
[2026-06-02 14:44:44] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879b"} 
[2026-06-02 14:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624920,"longitude_deg":75.6597376,"latitude_deg":11.962492,"altitude":67,"angle":333,"satellites":28,"speed":33,"hex_longitude":"2d18c280","hex_latitude":"072154d8","is_valid_coordinates":true} 
[2026-06-02 14:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780248320001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125261445582553088,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665808384,"note":"Value kept but may cause issues"} 
[2026-06-02 14:44: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-06-02 14:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780391601000,"timestamp_ms":1780391601000,"timestamp_seconds":1780391601,"priority":1,"record_length":96,"hex_timestamp":"0000019e879be368"} 
[2026-06-02 14:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 14:44:44] 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-06-02 14:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:44:44] 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-06-02 14:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780248320001,"66":13287,"106":206,"83":41984,"24":33,"16":125261445582553088,"45":1785184701665808384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 14:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780248320001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:44:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 14:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125261445582553088,"km_value":125261445582553.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665808384,"description":"Unknown IO ID 45"} 
[2026-06-02 14:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780248320001,"power":13287,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1785184701665808384}} 
[2026-06-02 14:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:44:44] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:44:44] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:45:00] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879c3958012cc60c40074e3e50000e014f2a..."} 
[2026-06-02 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879c3958012cc60c40074e3e50000e014f2a..."} 
[2026-06-02 14:45:00] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879c3958012cc60c40074e3e50000e014f2a..."} 
[2026-06-02 14:45:00] local.INFO: Packet analysis {"connection_id":89766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:45:00] local.INFO: Extracted packet for processing {"connection_id":89766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":751176768,"raw_latitude":122568272,"longitude_deg":75.1176768,"latitude_deg":12.2568272,"altitude":14,"angle":335,"satellites":42,"speed":61,"hex_longitude":"2cc60c40","hex_latitude":"074e3e50","is_valid_coordinates":true} 
[2026-06-02 14:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780253696001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305795263383994368,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4171107279755980800,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780391623000,"timestamp_ms":1780391623000,"timestamp_seconds":1780391623,"priority":1,"record_length":96,"hex_timestamp":"0000019e879c3958"} 
[2026-06-02 14:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:45: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-06-02 14:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 14:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:45:00] 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-06-02 14:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780253696001,"66":27876,"119":206,"85":37632,"24":61,"16":305795263383994368,"44":-4171107279755980800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-06-02 14:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780253696001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:45:00] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-02 14:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305795263383994368,"km_value":305795263383994.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:45:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4171107279755980800,"description":"Unknown IO ID 44"} 
[2026-06-02 14:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780253696001,"power":27876,"unknown_119":206,"unknown_85":37632,"ignition":61,"odometer":null,"unknown_44":-4171107279755980800}} 
[2026-06-02 14:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":89766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:45:00] local.INFO: GPS data processed {"connection_id":89766,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:45:00] local.INFO: Acknowledgment sent {"connection_id":89766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:45:02] local.INFO: TCP Data received {"connection_id":89767,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:02] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:02] local.INFO: IMEI packet received {"connection_id":89767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":89767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:45:05] local.INFO: TCP Data received {"connection_id":89767,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:05] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:05] local.INFO: IMEI packet received {"connection_id":89767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":89767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:45:10] local.INFO: TCP Data received {"connection_id":89767,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:10] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:45:10] local.INFO: IMEI packet received {"connection_id":89767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":89767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:45:12] local.INFO: TCP Data received {"connection_id":89767,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879c0a78012d18afc007216f900048013e1d..."} 
[2026-06-02 14:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879c0a78012d18afc007216f900048013e1d..."} 
[2026-06-02 14:45:12] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879c0a78012d18afc007216f900048013e1d..."} 
[2026-06-02 14:45:12] local.INFO: Packet analysis {"connection_id":89767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:45:12] local.INFO: Extracted packet for processing {"connection_id":89767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119631760,"longitude_deg":75.6592576,"latitude_deg":11.963176,"altitude":72,"angle":318,"satellites":29,"speed":29,"hex_longitude":"2d18afc0","hex_latitude":"07216f90","is_valid_coordinates":true} 
[2026-06-02 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780249856001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125261845014511616,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504472576,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780391611000,"timestamp_ms":1780391611000,"timestamp_seconds":1780391611,"priority":1,"record_length":96,"hex_timestamp":"0000019e879c0a78"} 
[2026-06-02 14:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-06-02 14:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:45:12] 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-06-02 14:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780249856001,"66":13961,"106":206,"83":41984,"24":29,"16":125261845014511616,"45":1784129170504472576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 14:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780249856001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:45:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 14:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125261845014511616,"km_value":125261845014511.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504472576,"description":"Unknown IO ID 45"} 
[2026-06-02 14:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780249856001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784129170504472576}} 
[2026-06-02 14:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":89767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:45:12] local.INFO: GPS data processed {"connection_id":89767,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:45:12] local.INFO: Acknowledgment sent {"connection_id":89767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:45:24] local.INFO: TCP Data received {"connection_id":89495,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:45:24] local.INFO: Processing buffer {"connection_id":89495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:45:24] local.INFO: IMEI packet received {"connection_id":89495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:45:28] local.INFO: TCP Data received {"connection_id":89495,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:45:28] local.INFO: Processing buffer {"connection_id":89495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:45:28] local.INFO: IMEI packet received {"connection_id":89495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":89495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:45:29] local.INFO: TCP Data received {"connection_id":89495,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879c50c8012cc5fd40074e5ed8000e01502a..."} 
[2026-06-02 14:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879c50c8012cc5fd40074e5ed8000e01502a..."} 
[2026-06-02 14:45:29] local.INFO: Processing buffer {"connection_id":89495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879c50c8012cc5fd40074e5ed8000e01502a..."} 
[2026-06-02 14:45:29] local.INFO: Packet analysis {"connection_id":89495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:45:29] local.INFO: Extracted packet for processing {"connection_id":89495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:45:29] local.INFO: GPS Element Parsed {"raw_longitude":751172928,"raw_latitude":122576600,"longitude_deg":75.1172928,"latitude_deg":12.25766,"altitude":14,"angle":336,"satellites":42,"speed":59,"hex_longitude":"2cc5fd40","hex_latitude":"074e5ed8","is_valid_coordinates":true} 
[2026-06-02 14:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780255488001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305795705765625856,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4175892354357637120,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:29] 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-06-02 14:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391629000,"timestamp_ms":1780391629000,"timestamp_seconds":1780391629,"priority":1,"record_length":96,"hex_timestamp":"0000019e879c50c8"} 
[2026-06-02 14:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:45: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-06-02 14:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:45: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-06-02 14:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:45:29] 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-06-02 14:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780255488001,"66":27930,"121":206,"85":37632,"24":59,"16":305795705765625856,"44":-4175892354357637120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-06-02 14:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780255488001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:45:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-02 14:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305795705765625856,"km_value":305795705765625.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4175892354357637120,"description":"Unknown IO ID 44"} 
[2026-06-02 14:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780255488001,"power":27930,"unknown_121":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4175892354357637120}} 
[2026-06-02 14:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":89495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:45:29] local.INFO: GPS data processed {"connection_id":89495,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:45:29] local.INFO: Acknowledgment sent {"connection_id":89495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:45:43] local.INFO: TCP Data received {"connection_id":89767,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879d1be8012d1820000721acc0004d001e21..."} 
[2026-06-02 14:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879d1be8012d1820000721acc0004d001e21..."} 
[2026-06-02 14:45:43] local.INFO: Processing buffer {"connection_id":89767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879d1be8012d1820000721acc0004d001e21..."} 
[2026-06-02 14:45:43] local.INFO: Packet analysis {"connection_id":89767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879d"} 
[2026-06-02 14:45:43] local.INFO: Extracted packet for processing {"connection_id":89767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879d"} 
[2026-06-02 14:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119647424,"longitude_deg":75.6555776,"latitude_deg":11.9647424,"altitude":77,"angle":30,"satellites":33,"speed":19,"hex_longitude":"2d182000","hex_latitude":"0721acc0","is_valid_coordinates":true} 
[2026-06-02 14:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780269824001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125263885123977216,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329489408,"note":"Value kept but may cause issues"} 
[2026-06-02 14:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780391681000,"timestamp_ms":1780391681000,"timestamp_seconds":1780391681,"priority":1,"record_length":96,"hex_timestamp":"0000019e879d1be8"} 
[2026-06-02 14:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 14:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:45:43] 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-06-02 14:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780269824001,"66":14026,"105":206,"83":41984,"24":19,"16":125263885123977216,"45":1737967274329489408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780269824001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:45:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125263885123977216,"km_value":125263885123977.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329489408,"description":"Unknown IO ID 45"} 
[2026-06-02 14:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780269824001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1737967274329489408}} 
[2026-06-02 14:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":89767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:45:43] local.INFO: GPS data processed {"connection_id":89767,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:45:43] local.INFO: Acknowledgment sent {"connection_id":89767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:46:01] local.INFO: TCP Data received {"connection_id":89495,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879c6838012cc5ee80074e7ed8000f014f2a..."} 
[2026-06-02 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879c6838012cc5ee80074e7ed8000f014f2a..."} 
[2026-06-02 14:46:01] local.INFO: Processing buffer {"connection_id":89495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879c6838012cc5ee80074e7ed8000f014f2a..."} 
[2026-06-02 14:46:01] local.INFO: Packet analysis {"connection_id":89495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:46:01] local.INFO: Extracted packet for processing {"connection_id":89495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:46:01] local.INFO: GPS Element Parsed {"raw_longitude":751169152,"raw_latitude":122584792,"longitude_deg":75.1169152,"latitude_deg":12.2584792,"altitude":15,"angle":335,"satellites":42,"speed":59,"hex_longitude":"2cc5ee80","hex_latitude":"074e7ed8","is_valid_coordinates":true} 
[2026-06-02 14:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780257024001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305796139557322752,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4180114479006164992,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:01] 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-06-02 14:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780391635000,"timestamp_ms":1780391635000,"timestamp_seconds":1780391635,"priority":1,"record_length":96,"hex_timestamp":"0000019e879c6838"} 
[2026-06-02 14:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:46: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-06-02 14:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:46:01] 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-06-02 14:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:46:01] 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-06-02 14:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780257024001,"66":27767,"121":206,"85":37632,"24":59,"16":305796139557322752,"44":-4180114479006164992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-06-02 14:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780257024001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:46:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-02 14:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305796139557322752,"km_value":305796139557322.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4180114479006164992,"description":"Unknown IO ID 44"} 
[2026-06-02 14:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780257024001,"power":27767,"unknown_121":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4180114479006164992}} 
[2026-06-02 14:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":89495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:46:01] local.INFO: GPS data processed {"connection_id":89495,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:46:01] local.INFO: Acknowledgment sent {"connection_id":89495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:46:05] local.INFO: TCP Data received {"connection_id":90946,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:46:05] local.INFO: Processing buffer {"connection_id":90946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:46:05] local.INFO: IMEI packet received {"connection_id":90946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":90946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:46:10] local.INFO: TCP Data received {"connection_id":90946,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:46:10] local.INFO: Processing buffer {"connection_id":90946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:46:10] local.INFO: IMEI packet received {"connection_id":90946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":90946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:46:12] local.INFO: TCP Data received {"connection_id":90946,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879d4eb0012d1833c00721cb38004c001e20..."} 
[2026-06-02 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879d4eb0012d1833c00721cb38004c001e20..."} 
[2026-06-02 14:46:12] local.INFO: Processing buffer {"connection_id":90946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879d4eb0012d1833c00721cb38004c001e20..."} 
[2026-06-02 14:46:12] local.INFO: Packet analysis {"connection_id":90946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879d"} 
[2026-06-02 14:46:12] local.INFO: Extracted packet for processing {"connection_id":90946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879d"} 
[2026-06-02 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756560832,"raw_latitude":119655224,"longitude_deg":75.6560832,"latitude_deg":11.9655224,"altitude":76,"angle":30,"satellites":32,"speed":34,"hex_longitude":"2d1833c0","hex_latitude":"0721cb38","is_valid_coordinates":true} 
[2026-06-02 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780270336001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125264331800576000,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794752000,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780391694000,"timestamp_ms":1780391694000,"timestamp_seconds":1780391694,"priority":1,"record_length":96,"hex_timestamp":"0000019e879d4eb0"} 
[2026-06-02 14:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 14:46:12] 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-06-02 14:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:46:12] 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-06-02 14:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780270336001,"66":14026,"105":206,"83":41984,"24":34,"16":125264331800576000,"45":1738389486794752000},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780270336001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:46:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125264331800576000,"km_value":125264331800576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794752000,"description":"Unknown IO ID 45"} 
[2026-06-02 14:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780270336001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1738389486794752000}} 
[2026-06-02 14:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":90946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:46:12] local.INFO: GPS data processed {"connection_id":90946,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:46:12] local.INFO: Acknowledgment sent {"connection_id":90946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:46:24] local.INFO: TCP Data received {"connection_id":89496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:46:24] local.INFO: Processing buffer {"connection_id":89496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:46:24] local.INFO: IMEI packet received {"connection_id":89496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":89496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:46:28] local.INFO: TCP Data received {"connection_id":89496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:46:28] local.INFO: Processing buffer {"connection_id":89496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:46:28] local.INFO: IMEI packet received {"connection_id":89496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:46:29] local.INFO: TCP Data received {"connection_id":89496,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879c7fa8012cc5e100074e9f60000f01552a..."} 
[2026-06-02 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879c7fa8012cc5e100074e9f60000f01552a..."} 
[2026-06-02 14:46:29] local.INFO: Processing buffer {"connection_id":89496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879c7fa8012cc5e100074e9f60000f01552a..."} 
[2026-06-02 14:46:29] local.INFO: Packet analysis {"connection_id":89496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:46:29] local.INFO: Extracted packet for processing {"connection_id":89496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879c"} 
[2026-06-02 14:46:29] local.INFO: GPS Element Parsed {"raw_longitude":751165696,"raw_latitude":122593120,"longitude_deg":75.1165696,"latitude_deg":12.259312,"altitude":15,"angle":341,"satellites":42,"speed":59,"hex_longitude":"2cc5e100","hex_latitude":"074e9f60","is_valid_coordinates":true} 
[2026-06-02 14:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780258560001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305796577643986944,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4184266234910550016,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:29] 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-06-02 14:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391641000,"timestamp_ms":1780391641000,"timestamp_seconds":1780391641,"priority":1,"record_length":96,"hex_timestamp":"0000019e879c7fa8"} 
[2026-06-02 14:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:46: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-06-02 14:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 14:46: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-06-02 14:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:46:29] 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-06-02 14:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780258560001,"66":27865,"121":206,"85":37632,"24":59,"16":305796577643986944,"44":-4184266234910550016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-06-02 14:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780258560001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:46:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-02 14:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305796577643986944,"km_value":305796577643986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4184266234910550016,"description":"Unknown IO ID 44"} 
[2026-06-02 14:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780258560001,"power":27865,"unknown_121":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4184266234910550016}} 
[2026-06-02 14:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":89496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:46:29] local.INFO: GPS data processed {"connection_id":89496,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:46:29] local.INFO: Acknowledgment sent {"connection_id":89496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:46:52] local.INFO: TCP Data received {"connection_id":90946,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e879d75c0012d1847c00721e8d0004e002320..."} 
[2026-06-02 14:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879d75c0012d1847c00721e8d0004e002320..."} 
[2026-06-02 14:46:52] local.INFO: Processing buffer {"connection_id":90946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879d75c0012d1847c00721e8d0004e002320..."} 
[2026-06-02 14:46:52] local.INFO: Packet analysis {"connection_id":90946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879d"} 
[2026-06-02 14:46:52] local.INFO: Extracted packet for processing {"connection_id":90946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879d"} 
[2026-06-02 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756565952,"raw_latitude":119662800,"longitude_deg":75.6565952,"latitude_deg":11.96628,"altitude":78,"angle":35,"satellites":32,"speed":38,"hex_longitude":"2d1847c0","hex_latitude":"0721e8d0","is_valid_coordinates":true} 
[2026-06-02 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780273664001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125264774182207488,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743948617586784256,"note":"Value kept but may cause issues"} 
[2026-06-02 14:46: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-06-02 14:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780391704000,"timestamp_ms":1780391704000,"timestamp_seconds":1780391704,"priority":1,"record_length":96,"hex_timestamp":"0000019e879d75c0"} 
[2026-06-02 14:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:46: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-06-02 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 14:46:52] 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-06-02 14:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":90946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":90946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":90946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:46:52] 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-06-02 14:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780273664001,"66":13993,"105":206,"83":41984,"24":38,"16":125264774182207488,"45":1743948617586784256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 14:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780273664001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:46:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 14:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125264774182207488,"km_value":125264774182207.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743948617586784256,"description":"Unknown IO ID 45"} 
[2026-06-02 14:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780273664001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1743948617586784256}} 
[2026-06-02 14:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":90946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:46:52] local.INFO: GPS data processed {"connection_id":90946,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:46:52] local.INFO: Acknowledgment sent {"connection_id":90946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:47:00] local.INFO: TCP Data received {"connection_id":89496,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879e3cf8012cc5580007500f28001101512a..."} 
[2026-06-02 14:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879e3cf8012cc5580007500f28001101512a..."} 
[2026-06-02 14:47:00] local.INFO: Processing buffer {"connection_id":89496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879e3cf8012cc5580007500f28001101512a..."} 
[2026-06-02 14:47:00] local.INFO: Packet analysis {"connection_id":89496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:47:00] local.INFO: Extracted packet for processing {"connection_id":89496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:47:00] local.INFO: GPS Element Parsed {"raw_longitude":751130624,"raw_latitude":122687272,"longitude_deg":75.1130624,"latitude_deg":12.2687272,"altitude":17,"angle":337,"satellites":42,"speed":33,"hex_longitude":"2cc55800","hex_latitude":"07500f28","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780286208001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305801456726835200,"note":"Value kept but may cause issues"} 
[2026-06-02 14:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4222194987998298112,"note":"Value kept but may cause issues"} 
[2026-06-02 14:47: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-06-02 14:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780391755000,"timestamp_ms":1780391755000,"timestamp_seconds":1780391755,"priority":1,"record_length":96,"hex_timestamp":"0000019e879e3cf8"} 
[2026-06-02 14:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:47: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-06-02 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 14:47: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-06-02 14: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-06-02 14:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:47:00] 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-06-02 14:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780286208001,"66":27919,"171":206,"85":37632,"24":33,"16":305801456726835200,"44":-4222194987998298112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-02 14:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780286208001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:47:00] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 14:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305801456726835200,"km_value":305801456726835.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4222194987998298112,"description":"Unknown IO ID 44"} 
[2026-06-02 14:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780286208001,"power":27919,"unknown_171":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-4222194987998298112}} 
[2026-06-02 14:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":89496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:47:00] local.INFO: GPS data processed {"connection_id":89496,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:47:00] local.INFO: Acknowledgment sent {"connection_id":89496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:47:16] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:47:16] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:47:16] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:47:23] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:47:23] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:47:23] local.INFO: IMEI packet received {"connection_id":89768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":89768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:47:28] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:47:28] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:47:28] local.INFO: IMEI packet received {"connection_id":89768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":89768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:47:29] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879e6bd8012cc54ac007503230001401552b..."} 
[2026-06-02 14:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879e6bd8012cc54ac007503230001401552b..."} 
[2026-06-02 14:47:29] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879e6bd8012cc54ac007503230001401552b..."} 
[2026-06-02 14:47:29] local.INFO: Packet analysis {"connection_id":89768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:47:29] local.INFO: Extracted packet for processing {"connection_id":89768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:47:29] local.INFO: GPS Element Parsed {"raw_longitude":751127232,"raw_latitude":122696240,"longitude_deg":75.1127232,"latitude_deg":12.269624,"altitude":20,"angle":341,"satellites":43,"speed":28,"hex_longitude":"2cc54ac0","hex_latitude":"07503230","is_valid_coordinates":true} 
[2026-06-02 14:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780289280001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305801920583303168,"note":"Value kept but may cause issues"} 
[2026-06-02 14:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4226628218879268864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:47:29] 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-06-02 14:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391767000,"timestamp_ms":1780391767000,"timestamp_seconds":1780391767,"priority":1,"record_length":96,"hex_timestamp":"0000019e879e6bd8"} 
[2026-06-02 14:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:47: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-06-02 14:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 14:47: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-06-02 14:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:47:29] 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-06-02 14:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780289280001,"66":27843,"171":206,"85":37632,"24":28,"16":305801920583303168,"44":-4226628218879268864},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-02 14:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780289280001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:47:29] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 14:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305801920583303168,"km_value":305801920583303.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4226628218879268864,"description":"Unknown IO ID 44"} 
[2026-06-02 14:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780289280001,"power":27843,"unknown_171":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-4226628218879268864}} 
[2026-06-02 14:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":89768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:47:29] local.INFO: GPS data processed {"connection_id":89768,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:47:29] local.INFO: Acknowledgment sent {"connection_id":89768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:47:33] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:47:33] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:47:33] local.INFO: IMEI packet received {"connection_id":89871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":89871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:47:39] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:47:39] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:47:39] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:47:40] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:47:40] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:47:40] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:47:58] local.INFO: TCP Data received {"connection_id":90947,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:47:58] local.INFO: Processing buffer {"connection_id":90947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:47:58] local.INFO: IMEI packet received {"connection_id":90947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":90947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:48:00] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879ea670012cc53e40075056c0001501542b..."} 
[2026-06-02 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879ea670012cc53e40075056c0001501542b..."} 
[2026-06-02 14:48:00] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879ea670012cc53e40075056c0001501542b..."} 
[2026-06-02 14:48:00] local.INFO: Packet analysis {"connection_id":89768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:48:00] local.INFO: Extracted packet for processing {"connection_id":89768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:48:00] local.INFO: GPS Element Parsed {"raw_longitude":751124032,"raw_latitude":122705600,"longitude_deg":75.1124032,"latitude_deg":12.27056,"altitude":21,"angle":340,"satellites":43,"speed":27,"hex_longitude":"2cc53e40","hex_latitude":"075056c0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780292352001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305802397324673024,"note":"Value kept but may cause issues"} 
[2026-06-02 14:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4230357762318389248,"note":"Value kept but may cause issues"} 
[2026-06-02 14:48: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-06-02 14:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780391782000,"timestamp_ms":1780391782000,"timestamp_seconds":1780391782,"priority":1,"record_length":96,"hex_timestamp":"0000019e879ea670"} 
[2026-06-02 14:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:48: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-06-02 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 14:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:48:00] 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-06-02 14:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780292352001,"66":27767,"171":206,"85":37632,"24":27,"16":305802397324673024,"44":-4230357762318389248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-02 14:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780292352001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:48:00] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 14:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305802397324673024,"km_value":305802397324673.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4230357762318389248,"description":"Unknown IO ID 44"} 
[2026-06-02 14:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780292352001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-4230357762318389248}} 
[2026-06-02 14:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":89768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:48:00] local.INFO: GPS data processed {"connection_id":89768,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:48:00] local.INFO: Acknowledgment sent {"connection_id":89768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:48:23] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:23] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:23] local.INFO: IMEI packet received {"connection_id":89873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":89873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:48:26] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:26] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:26] local.INFO: IMEI packet received {"connection_id":89873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":89873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:48:28] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:28] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:48:28] local.INFO: IMEI packet received {"connection_id":89873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":89873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:48:29] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879ed550012cc52e0007507c300015014b2b..."} 
[2026-06-02 14:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879ed550012cc52e0007507c300015014b2b..."} 
[2026-06-02 14:48:29] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879ed550012cc52e0007507c300015014b2b..."} 
[2026-06-02 14:48:29] local.INFO: Packet analysis {"connection_id":89873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:48:29] local.INFO: Extracted packet for processing {"connection_id":89873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:48:29] local.INFO: GPS Element Parsed {"raw_longitude":751119872,"raw_latitude":122715184,"longitude_deg":75.1119872,"latitude_deg":12.2715184,"altitude":21,"angle":331,"satellites":43,"speed":38,"hex_longitude":"2cc52e00","hex_latitude":"07507c30","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780296192001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305802904130813952,"note":"Value kept but may cause issues"} 
[2026-06-02 14:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4233876199524876288,"note":"Value kept but may cause issues"} 
[2026-06-02 14:48:29] 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-06-02 14:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391794000,"timestamp_ms":1780391794000,"timestamp_seconds":1780391794,"priority":1,"record_length":96,"hex_timestamp":"0000019e879ed550"} 
[2026-06-02 14:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:48: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-06-02 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 14:48: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-06-02 14: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-06-02 14:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:48:29] 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-06-02 14:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780296192001,"66":27876,"171":206,"85":37632,"24":38,"16":305802904130813952,"44":-4233876199524876288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-02 14:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780296192001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:48:29] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-02 14:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305802904130813952,"km_value":305802904130813.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4233876199524876288,"description":"Unknown IO ID 44"} 
[2026-06-02 14:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780296192001,"power":27876,"unknown_171":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-4233876199524876288}} 
[2026-06-02 14:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":89873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:48:29] local.INFO: GPS data processed {"connection_id":89873,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:48:29] local.INFO: Acknowledgment sent {"connection_id":89873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:49:00] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e879efc60012cc51d400750a1e8001301562b..."} 
[2026-06-02 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e879efc60012cc51d400750a1e8001301562b..."} 
[2026-06-02 14:49:00] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e879efc60012cc51d400750a1e8001301562b..."} 
[2026-06-02 14:49:00] local.INFO: Packet analysis {"connection_id":89873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:49:00] local.INFO: Extracted packet for processing {"connection_id":89873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e879e"} 
[2026-06-02 14:49:00] local.INFO: GPS Element Parsed {"raw_longitude":751115584,"raw_latitude":122724840,"longitude_deg":75.1115584,"latitude_deg":12.272484,"altitude":19,"angle":342,"satellites":43,"speed":41,"hex_longitude":"2cc51d40","hex_latitude":"0750a1e8","is_valid_coordinates":true} 
[2026-06-02 14:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780299264001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305803415231922176,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4238450167893970944,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:00] 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-06-02 14:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780391804000,"timestamp_ms":1780391804000,"timestamp_seconds":1780391804,"priority":1,"record_length":96,"hex_timestamp":"0000019e879efc60"} 
[2026-06-02 14:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:49: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-06-02 14:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:49: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-06-02 14:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:49:00] 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-06-02 14:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780299264001,"66":27908,"183":206,"85":37632,"24":41,"16":305803415231922176,"44":-4238450167893970944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-06-02 14:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780299264001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:49:00] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-02 14:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305803415231922176,"km_value":305803415231922.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4238450167893970944,"description":"Unknown IO ID 44"} 
[2026-06-02 14:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780299264001,"power":27908,"unknown_183":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-4238450167893970944}} 
[2026-06-02 14:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":89873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:49:00] local.INFO: GPS data processed {"connection_id":89873,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:49:00] local.INFO: Acknowledgment sent {"connection_id":89873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:49:28] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:49:28] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:49:28] local.INFO: IMEI packet received {"connection_id":89497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:49:30] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:49:30] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:49:30] local.INFO: IMEI packet received {"connection_id":89497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":89497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:49:31] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a092a0012cc48cc007521c48000d01502a..."} 
[2026-06-02 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a092a0012cc48cc007521c48000d01502a..."} 
[2026-06-02 14:49:31] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a092a0012cc48cc007521c48000d01502a..."} 
[2026-06-02 14:49:31] local.INFO: Packet analysis {"connection_id":89497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:49:31] local.INFO: Extracted packet for processing {"connection_id":89497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":751078592,"raw_latitude":122821704,"longitude_deg":75.1078592,"latitude_deg":12.2821704,"altitude":13,"angle":336,"satellites":42,"speed":59,"hex_longitude":"2cc48cc0","hex_latitude":"07521c48","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780326912001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305808436048691200,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4279826989445285888,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:31] 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-06-02 14:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780391908000,"timestamp_ms":1780391908000,"timestamp_seconds":1780391908,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a092a0"} 
[2026-06-02 14:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:49: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-06-02 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:49:31] 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-06-02 14: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-06-02 14:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:49:31] 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-06-02 14:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780326912001,"66":27974,"4":206,"85":37632,"24":59,"16":305808436048691200,"44":-4279826989445285888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-02 14:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780326912001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:49:31] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-02 14:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305808436048691200,"km_value":305808436048691.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4279826989445285888,"description":"Unknown IO ID 44"} 
[2026-06-02 14:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780326912001,"power":27974,"unknown_4":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4279826989445285888}} 
[2026-06-02 14:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":89497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:49:31] local.INFO: GPS data processed {"connection_id":89497,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:49:31] local.INFO: Acknowledgment sent {"connection_id":89497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:49:34] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a0aa10012cc47f0007523ca8000c01522b..."} 
[2026-06-02 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a0aa10012cc47f0007523ca8000c01522b..."} 
[2026-06-02 14:49:34] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a0aa10012cc47f0007523ca8000c01522b..."} 
[2026-06-02 14:49:34] local.INFO: Packet analysis {"connection_id":89497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:49:34] local.INFO: Extracted packet for processing {"connection_id":89497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:49:34] local.INFO: GPS Element Parsed {"raw_longitude":751075072,"raw_latitude":122829992,"longitude_deg":75.1075072,"latitude_deg":12.2829992,"altitude":12,"angle":338,"satellites":43,"speed":58,"hex_longitude":"2cc47f00","hex_latitude":"07523ca8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780328448001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305808869840388096,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4283838007861295104,"note":"Value kept but may cause issues"} 
[2026-06-02 14:49:34] 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-06-02 14:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780391914000,"timestamp_ms":1780391914000,"timestamp_seconds":1780391914,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a0aa10"} 
[2026-06-02 14:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:49: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-06-02 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:49:34] 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-06-02 14:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780328448001,"66":27767,"4":206,"85":37632,"24":58,"16":305808869840388096,"44":-4283838007861295104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-02 14:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780328448001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:49:34] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-02 14:49:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305808869840388096,"km_value":305808869840388.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4283838007861295104,"description":"Unknown IO ID 44"} 
[2026-06-02 14:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780328448001,"power":27767,"unknown_4":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4283838007861295104}} 
[2026-06-02 14:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":89497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:49:34] local.INFO: GPS data processed {"connection_id":89497,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:49:34] local.INFO: Acknowledgment sent {"connection_id":89497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:50:05] local.INFO: TCP Data received {"connection_id":89497,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a0c180012cc4710007525d40000d014f2a..."} 
[2026-06-02 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a0c180012cc4710007525d40000d014f2a..."} 
[2026-06-02 14:50:05] local.INFO: Processing buffer {"connection_id":89497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a0c180012cc4710007525d40000d014f2a..."} 
[2026-06-02 14:50:05] local.INFO: Packet analysis {"connection_id":89497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:50:05] local.INFO: Extracted packet for processing {"connection_id":89497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:50:05] local.INFO: GPS Element Parsed {"raw_longitude":751071488,"raw_latitude":122838336,"longitude_deg":75.1071488,"latitude_deg":12.2838336,"altitude":13,"angle":335,"satellites":42,"speed":59,"hex_longitude":"2cc47100","hex_latitude":"07525d40","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780329984001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305809307927052288,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4287708288788944896,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50: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-06-02 14:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780391920000,"timestamp_ms":1780391920000,"timestamp_seconds":1780391920,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a0c180"} 
[2026-06-02 14:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 14:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14: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-06-02 14:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:50:05] 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-06-02 14:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780329984001,"66":27930,"4":206,"85":37632,"24":59,"16":305809307927052288,"44":-4287708288788944896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-02 14:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780329984001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305809307927052288,"km_value":305809307927052.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4287708288788944896,"description":"Unknown IO ID 44"} 
[2026-06-02 14:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780329984001,"power":27930,"unknown_4":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4287708288788944896}} 
[2026-06-02 14:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":89497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:50:05] local.INFO: GPS data processed {"connection_id":89497,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:50:05] local.INFO: Acknowledgment sent {"connection_id":89497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:50:23] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:50:23] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:50:23] local.INFO: IMEI packet received {"connection_id":89772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":89772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:50:27] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:50:27] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:50:27] local.INFO: IMEI packet received {"connection_id":89772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":89772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:50:28] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a0d8f0012cc462c007527d80000d015129..."} 
[2026-06-02 14:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a0d8f0012cc462c007527d80000d015129..."} 
[2026-06-02 14:50:28] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a0d8f0012cc462c007527d80000d015129..."} 
[2026-06-02 14:50:28] local.INFO: Packet analysis {"connection_id":89772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:50:28] local.INFO: Extracted packet for processing {"connection_id":89772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:50:28] local.INFO: GPS Element Parsed {"raw_longitude":751067840,"raw_latitude":122846592,"longitude_deg":75.106784,"latitude_deg":12.2846592,"altitude":13,"angle":337,"satellites":41,"speed":59,"hex_longitude":"2cc462c0","hex_latitude":"07527d80","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780331520001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305809746013716480,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4291648938460758016,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:28] 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-06-02 14:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780391926000,"timestamp_ms":1780391926000,"timestamp_seconds":1780391926,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a0d8f0"} 
[2026-06-02 14:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:50:28] 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-06-02 14: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-06-02 14:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:50:28] 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-06-02 14:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780331520001,"66":27843,"4":206,"85":37632,"24":59,"16":305809746013716480,"44":-4291648938460758016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-02 14:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780331520001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:50:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-02 14:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305809746013716480,"km_value":305809746013716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4291648938460758016,"description":"Unknown IO ID 44"} 
[2026-06-02 14:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780331520001,"power":27843,"unknown_4":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4291648938460758016}} 
[2026-06-02 14:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":89772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:50:28] local.INFO: GPS data processed {"connection_id":89772,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:50:28] local.INFO: Acknowledgment sent {"connection_id":89772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:50:59] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a0f448012cc453800752a230000d015029..."} 
[2026-06-02 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a0f448012cc453800752a230000d015029..."} 
[2026-06-02 14:50:59] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a0f448012cc453800752a230000d015029..."} 
[2026-06-02 14:50:59] local.INFO: Packet analysis {"connection_id":89772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:50:59] local.INFO: Extracted packet for processing {"connection_id":89772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a0"} 
[2026-06-02 14:50:59] local.INFO: GPS Element Parsed {"raw_longitude":751063936,"raw_latitude":122855984,"longitude_deg":75.1063936,"latitude_deg":12.2855984,"altitude":13,"angle":336,"satellites":41,"speed":49,"hex_longitude":"2cc45380","hex_latitude":"0752a230","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780333056001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305810235639988224,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4295659956876771328,"note":"Value kept but may cause issues"} 
[2026-06-02 14:50:59] 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-06-02 14:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780391933000,"timestamp_ms":1780391933000,"timestamp_seconds":1780391933,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a0f448"} 
[2026-06-02 14:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:50: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-06-02 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 14:50: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-06-02 14: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-06-02 14:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:50:59] 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-06-02 14:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780333056001,"66":27800,"4":206,"85":37632,"24":49,"16":305810235639988224,"44":-4295659956876771328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-02 14:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780333056001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:50:59] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-02 14:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305810235639988224,"km_value":305810235639988.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:50:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4295659956876771328,"description":"Unknown IO ID 44"} 
[2026-06-02 14:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780333056001,"power":27800,"unknown_4":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-4295659956876771328}} 
[2026-06-02 14:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":89772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:50:59] local.INFO: GPS data processed {"connection_id":89772,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:50:59] local.INFO: Acknowledgment sent {"connection_id":89772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:51:24] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:51:24] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:51:24] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:51:29] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:51:29] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:51:29] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:51:29] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a107d0012cc44b000752b1a8000c013f2a..."} 
[2026-06-02 14:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a107d0012cc44b000752b1a8000c013f2a..."} 
[2026-06-02 14:51:29] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a107d0012cc44b000752b1a8000c013f2a..."} 
[2026-06-02 14:51:29] local.INFO: Packet analysis {"connection_id":89773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a1"} 
[2026-06-02 14:51:29] local.INFO: Extracted packet for processing {"connection_id":89773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a1"} 
[2026-06-02 14:51:29] local.INFO: GPS Element Parsed {"raw_longitude":751061760,"raw_latitude":122859944,"longitude_deg":75.106176,"latitude_deg":12.2859944,"altitude":12,"angle":319,"satellites":42,"speed":25,"hex_longitude":"2cc44b00","hex_latitude":"0752b1a8","is_valid_coordinates":true} 
[2026-06-02 14:51: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-06-02 14:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780334848001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305810454683320320,"note":"Value kept but may cause issues"} 
[2026-06-02 14:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4299952450269204480,"note":"Value kept but may cause issues"} 
[2026-06-02 14:51:29] 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-06-02 14:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780391938000,"timestamp_ms":1780391938000,"timestamp_seconds":1780391938,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a107d0"} 
[2026-06-02 14:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:51: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-06-02 14:51: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 14:51:29] 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-06-02 14:51: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-06-02 14:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:51:29] 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-06-02 14:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780334848001,"66":27713,"4":206,"85":37632,"24":25,"16":305810454683320320,"44":-4299952450269204480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-02 14:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780334848001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:51:29] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-02 14:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305810454683320320,"km_value":305810454683320.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4299952450269204480,"description":"Unknown IO ID 44"} 
[2026-06-02 14:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780334848001,"power":27713,"unknown_4":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-4299952450269204480}} 
[2026-06-02 14:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":89773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:51:29] local.INFO: GPS data processed {"connection_id":89773,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:51:29] local.INFO: Acknowledgment sent {"connection_id":89773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:52:02] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a2e848012cc3b6c007541b48000d016325..."} 
[2026-06-02 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a2e848012cc3b6c007541b48000d016325..."} 
[2026-06-02 14:52:02] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a2e848012cc3b6c007541b48000d016325..."} 
[2026-06-02 14:52:02] local.INFO: Packet analysis {"connection_id":89773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a2"} 
[2026-06-02 14:52:02] local.INFO: Extracted packet for processing {"connection_id":89773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a2"} 
[2026-06-02 14:52:02] local.INFO: GPS Element Parsed {"raw_longitude":751023808,"raw_latitude":122952520,"longitude_deg":75.1023808,"latitude_deg":12.295252,"altitude":13,"angle":355,"satellites":37,"speed":22,"hex_longitude":"2cc3b6c0","hex_latitude":"07541b48","is_valid_coordinates":true} 
[2026-06-02 14:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780365824001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305815299406430208,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4342947752938311680,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780392061000,"timestamp_ms":1780392061000,"timestamp_seconds":1780392061,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a2e848"} 
[2026-06-02 14:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:52: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-06-02 14:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 14:52: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-06-02 14:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:52: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-06-02 14:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780365824001,"66":27974,"5":206,"85":37632,"24":22,"16":305815299406430208,"44":-4342947752938311680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-06-02 14:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780365824001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:52:02] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-02 14:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305815299406430208,"km_value":305815299406430.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4342947752938311680,"description":"Unknown IO ID 44"} 
[2026-06-02 14:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780365824001,"power":27974,"unknown_5":206,"unknown_85":37632,"ignition":22,"odometer":null,"unknown_44":-4342947752938311680}} 
[2026-06-02 14:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":89773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:52:02] local.INFO: GPS data processed {"connection_id":89773,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:52:02] local.INFO: Acknowledgment sent {"connection_id":89773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:52:21] local.INFO: TCP Data received {"connection_id":90950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:21] local.INFO: Processing buffer {"connection_id":90950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:21] local.INFO: IMEI packet received {"connection_id":90950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":90950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:52:23] local.INFO: TCP Data received {"connection_id":90950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:23] local.INFO: Processing buffer {"connection_id":90950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:23] local.INFO: IMEI packet received {"connection_id":90950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":90950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:52:27] local.INFO: TCP Data received {"connection_id":90950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:27] local.INFO: Processing buffer {"connection_id":90950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:52:27] local.INFO: IMEI packet received {"connection_id":90950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":90950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:52:28] local.INFO: TCP Data received {"connection_id":90950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a30f58012cc3b50007542af80010014424..."} 
[2026-06-02 14:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a30f58012cc3b50007542af80010014424..."} 
[2026-06-02 14:52:28] local.INFO: Processing buffer {"connection_id":90950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a30f58012cc3b50007542af80010014424..."} 
[2026-06-02 14:52:28] local.INFO: Packet analysis {"connection_id":90950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:52:28] local.INFO: Extracted packet for processing {"connection_id":90950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:52:28] local.INFO: GPS Element Parsed {"raw_longitude":751023360,"raw_latitude":122956536,"longitude_deg":75.102336,"latitude_deg":12.2956536,"altitude":16,"angle":324,"satellites":36,"speed":15,"hex_longitude":"2cc3b500","hex_latitude":"07542af8","is_valid_coordinates":true} 
[2026-06-02 14:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780367616001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305815501269893120,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344073652843886592,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:28] 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-06-02 14:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780392071000,"timestamp_ms":1780392071000,"timestamp_seconds":1780392071,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a30f58"} 
[2026-06-02 14:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:52: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-06-02 14:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:52:28] 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-06-02 14:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780367616001,"66":27865,"178":206,"85":37632,"24":15,"16":305815501269893120,"44":-4344073652843886592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-02 14:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780367616001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:52:28] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-02 14:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305815501269893120,"km_value":305815501269893.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:52:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344073652843886592,"description":"Unknown IO ID 44"} 
[2026-06-02 14:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780367616001,"power":27865,"unknown_178":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4344073652843886592}} 
[2026-06-02 14:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":90950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:52:28] local.INFO: GPS data processed {"connection_id":90950,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:52:28] local.INFO: Acknowledgment sent {"connection_id":90950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:52:40] local.INFO: TCP Data received {"connection_id":89877,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:52:40] local.INFO: Processing buffer {"connection_id":89877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:52:40] local.INFO: IMEI packet received {"connection_id":89877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":89877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:52:41] local.INFO: TCP Data received {"connection_id":89877,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a2f400012d1b58c00724ce580028000518..."} 
[2026-06-02 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a2f400012d1b58c00724ce580028000518..."} 
[2026-06-02 14:52:41] local.INFO: Processing buffer {"connection_id":89877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a2f400012d1b58c00724ce580028000518..."} 
[2026-06-02 14:52:41] local.INFO: Packet analysis {"connection_id":89877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a2"} 
[2026-06-02 14:52:41] local.INFO: Extracted packet for processing {"connection_id":89877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a2"} 
[2026-06-02 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119852632,"longitude_deg":75.6766912,"latitude_deg":11.9852632,"altitude":40,"angle":5,"satellites":24,"speed":27,"hex_longitude":"2d1b58c0","hex_latitude":"0724ce58","is_valid_coordinates":true} 
[2026-06-02 14:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780367360001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125279389955915776,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130167812096,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780392064000,"timestamp_ms":1780392064000,"timestamp_seconds":1780392064,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a2f400"} 
[2026-06-02 14:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-02 14:52:41] 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-06-02 14:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:52:41] 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-06-02 14:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780367360001,"66":14428,"44":206,"83":41984,"24":27,"16":125279389955915776,"45":1970184130167812096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 14:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780367360001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125279389955915776,"km_value":125279389955915.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130167812096,"description":"Unknown IO ID 45"} 
[2026-06-02 14:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780367360001,"power":14428,"unknown_44":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1970184130167812096}} 
[2026-06-02 14:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":89877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:52:41] local.INFO: GPS data processed {"connection_id":89877,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:52:41] local.INFO: Acknowledgment sent {"connection_id":89877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:52:59] local.INFO: TCP Data received {"connection_id":90950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a326c8012cc3ae40075435780010015028..."} 
[2026-06-02 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a326c8012cc3ae40075435780010015028..."} 
[2026-06-02 14:52:59] local.INFO: Processing buffer {"connection_id":90950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a326c8012cc3ae40075435780010015028..."} 
[2026-06-02 14:52:59] local.INFO: Packet analysis {"connection_id":90950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:52:59] local.INFO: Extracted packet for processing {"connection_id":90950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:52:59] local.INFO: GPS Element Parsed {"raw_longitude":751021632,"raw_latitude":122959224,"longitude_deg":75.1021632,"latitude_deg":12.2959224,"altitude":16,"angle":336,"satellites":40,"speed":28,"hex_longitude":"2cc3ae40","hex_latitude":"07543578","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780370176001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305815651593748480,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344566234052102144,"note":"Value kept but may cause issues"} 
[2026-06-02 14:52:59] 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-06-02 14:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780392077000,"timestamp_ms":1780392077000,"timestamp_seconds":1780392077,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a326c8"} 
[2026-06-02 14:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14: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-06-02 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 14:52: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-06-02 14: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-06-02 14:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:52:59] 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-06-02 14:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780370176001,"66":27800,"178":206,"85":37632,"24":28,"16":305815651593748480,"44":-4344566234052102144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-02 14:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780370176001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:52:59] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-02 14:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305815651593748480,"km_value":305815651593748.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:52:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344566234052102144,"description":"Unknown IO ID 44"} 
[2026-06-02 14:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780370176001,"power":27800,"unknown_178":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-4344566234052102144}} 
[2026-06-02 14:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":90950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:52:59] local.INFO: GPS data processed {"connection_id":90950,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:52:59] local.INFO: Acknowledgment sent {"connection_id":90950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:53:10] local.INFO: TCP Data received {"connection_id":90951,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:53:10] local.INFO: Processing buffer {"connection_id":90951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:53:10] local.INFO: IMEI packet received {"connection_id":90951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":90951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:53:11] local.INFO: TCP Data received {"connection_id":90951,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90951,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:53:11] local.INFO: Processing buffer {"connection_id":90951,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:53:11] local.INFO: IMEI packet received {"connection_id":90951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":90951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:53:12] local.INFO: TCP Data received {"connection_id":90951,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a31b10012d1b59800724e6180026016119..."} 
[2026-06-02 14:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a31b10012d1b59800724e6180026016119..."} 
[2026-06-02 14:53:12] local.INFO: Processing buffer {"connection_id":90951,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019e87..."} 
[2026-06-02 14:53:12] local.INFO: IMEI packet received {"connection_id":90951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":90951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:53:13] local.INFO: TCP Data received {"connection_id":90951,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a37100012d1b57000724fe580028016613..."} 
[2026-06-02 14:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a37100012d1b57000724fe580028016613..."} 
[2026-06-02 14:53:13] local.INFO: Processing buffer {"connection_id":90951,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e87a31b10012d1b59800724e6180026016119..."} 
[2026-06-02 14:53:13] local.INFO: Packet analysis {"connection_id":90951,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:13] local.INFO: Extracted packet for processing {"connection_id":90951,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119858712,"longitude_deg":75.6767104,"latitude_deg":11.9858712,"altitude":38,"angle":353,"satellites":25,"speed":15,"hex_longitude":"2d1b5980","hex_latitude":"0724e618","is_valid_coordinates":true} 
[2026-06-02 14:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780368384001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125279682013691904,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973889398784,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780392074000,"timestamp_ms":1780392074000,"timestamp_seconds":1780392074,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a31b10"} 
[2026-06-02 14:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 14:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":90951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53:13] 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-06-02 14:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780368384001,"66":14483,"44":206,"83":41984,"24":15,"16":125279682013691904,"45":1970535973889398784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 14:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780368384001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125279682013691904,"km_value":125279682013691.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973889398784,"description":"Unknown IO ID 45"} 
[2026-06-02 14:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780368384001,"power":14483,"unknown_44":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1970535973889398784}} 
[2026-06-02 14:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":90951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:53:13] local.INFO: GPS data processed {"connection_id":90951,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:53:13] local.INFO: Acknowledgment sent {"connection_id":90951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:53:13] local.INFO: Packet analysis {"connection_id":90951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:13] local.INFO: Extracted packet for processing {"connection_id":90951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119864920,"longitude_deg":75.6766464,"latitude_deg":11.986492,"altitude":40,"angle":358,"satellites":19,"speed":13,"hex_longitude":"2d1b5700","hex_latitude":"0724fe58","is_valid_coordinates":true} 
[2026-06-02 14:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780370944001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125279991251337216,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080123488256,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780392096000,"timestamp_ms":1780392096000,"timestamp_seconds":1780392096,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a37100"} 
[2026-06-02 14:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 14:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":90951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53:13] 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-06-02 14:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780370944001,"66":14428,"44":206,"83":41984,"24":13,"16":125279991251337216,"45":1970747080123488256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 14:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780370944001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125279991251337216,"km_value":125279991251337.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080123488256,"description":"Unknown IO ID 45"} 
[2026-06-02 14:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780370944001,"power":14428,"unknown_44":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1970747080123488256}} 
[2026-06-02 14:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":90951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:53:13] local.INFO: GPS data processed {"connection_id":90951,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:53:13] local.INFO: Acknowledgment sent {"connection_id":90951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:53:13] local.INFO: TCP Data received {"connection_id":89498,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:53:13] local.INFO: Processing buffer {"connection_id":89498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:53:13] local.INFO: IMEI packet received {"connection_id":89498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":89498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:53:15] local.INFO: TCP Data received {"connection_id":90951,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a39bf8012d1b5780072506980028000a1a..."} 
[2026-06-02 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a39bf8012d1b5780072506980028000a1a..."} 
[2026-06-02 14:53:15] local.INFO: Processing buffer {"connection_id":90951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a39bf8012d1b5780072506980028000a1a..."} 
[2026-06-02 14:53:15] local.INFO: Packet analysis {"connection_id":90951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:15] local.INFO: Extracted packet for processing {"connection_id":90951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756766592,"raw_latitude":119867032,"longitude_deg":75.6766592,"latitude_deg":11.9867032,"altitude":40,"angle":10,"satellites":26,"speed":12,"hex_longitude":"2d1b5780","hex_latitude":"07250698","is_valid_coordinates":true} 
[2026-06-02 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780376576001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125280094330552320,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392683300864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780392107000,"timestamp_ms":1780392107000,"timestamp_seconds":1780392107,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a39bf8"} 
[2026-06-02 14:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 14:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53:15] 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-06-02 14:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780376576001,"66":14189,"44":206,"83":41984,"24":12,"16":125280094330552320,"45":1970043392683300864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 14:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780376576001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 14:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125280094330552320,"km_value":125280094330552.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392683300864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780376576001,"power":14189,"unknown_44":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1970043392683300864}} 
[2026-06-02 14:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":90951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:53:15] local.INFO: GPS data processed {"connection_id":90951,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:53:15] local.INFO: Acknowledgment sent {"connection_id":90951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:53:23] local.INFO: TCP Data received {"connection_id":90952,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:23] local.INFO: Processing buffer {"connection_id":90952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:23] local.INFO: IMEI packet received {"connection_id":90952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":90952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:53:23] local.INFO: TCP Data received {"connection_id":90952,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:23] local.INFO: Processing buffer {"connection_id":90952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:23] local.INFO: IMEI packet received {"connection_id":90952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":90952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:53:29] local.INFO: TCP Data received {"connection_id":90952,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:29] local.INFO: Processing buffer {"connection_id":90952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:53:29] local.INFO: IMEI packet received {"connection_id":90952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":90952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:53:30] local.INFO: TCP Data received {"connection_id":90952,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a351c0012cc3a040075459a0000e014f2b..."} 
[2026-06-02 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a351c0012cc3a040075459a0000e014f2b..."} 
[2026-06-02 14:53:30] local.INFO: Processing buffer {"connection_id":90952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a351c0012cc3a040075459a0000e014f2b..."} 
[2026-06-02 14:53:30] local.INFO: Packet analysis {"connection_id":90952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:30] local.INFO: Extracted packet for processing {"connection_id":90952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:30] local.INFO: GPS Element Parsed {"raw_longitude":751018048,"raw_latitude":122968480,"longitude_deg":75.1018048,"latitude_deg":12.296848,"altitude":14,"angle":335,"satellites":43,"speed":44,"hex_longitude":"2cc3a040","hex_latitude":"075459a0","is_valid_coordinates":true} 
[2026-06-02 14:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780371712001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305816132630085632,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346466190144210944,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:30] 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-06-02 14:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780392088000,"timestamp_ms":1780392088000,"timestamp_seconds":1780392088,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a351c0"} 
[2026-06-02 14:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:53: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-06-02 14:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 14:53:30] 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-06-02 14:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:53:30] 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-06-02 14:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780371712001,"66":27995,"178":206,"85":37632,"24":44,"16":305816132630085632,"44":-4346466190144210944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-02 14:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780371712001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:53:30] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-02 14:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305816132630085632,"km_value":305816132630085.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346466190144210944,"description":"Unknown IO ID 44"} 
[2026-06-02 14:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780371712001,"power":27995,"unknown_178":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-4346466190144210944}} 
[2026-06-02 14:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":90952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:53:30] local.INFO: GPS data processed {"connection_id":90952,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:53:30] local.INFO: Acknowledgment sent {"connection_id":90952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:53:46] local.INFO: TCP Data received {"connection_id":90951,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a3de60012d1b5e4007252ac0002b000b1d..."} 
[2026-06-02 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a3de60012d1b5e4007252ac0002b000b1d..."} 
[2026-06-02 14:53:46] local.INFO: Processing buffer {"connection_id":90951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a3de60012d1b5e4007252ac0002b000b1d..."} 
[2026-06-02 14:53:46] local.INFO: Packet analysis {"connection_id":90951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:46] local.INFO: Extracted packet for processing {"connection_id":90951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756768320,"raw_latitude":119876288,"longitude_deg":75.676832,"latitude_deg":11.9876288,"altitude":43,"angle":11,"satellites":29,"speed":30,"hex_longitude":"2d1b5e40","hex_latitude":"07252ac0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 14:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780379392001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125280553892052992,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130172196864,"note":"Value kept but may cause issues"} 
[2026-06-02 14:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780392124000,"timestamp_ms":1780392124000,"timestamp_seconds":1780392124,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a3de60"} 
[2026-06-02 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-06-02 14:53: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-06-02 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-02 14:53: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-06-02 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-06-02 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-06-02 14:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:53: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-06-02 14:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780379392001,"66":14352,"43":206,"83":41984,"24":30,"16":125280553892052992,"45":1970184130172196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 14:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780379392001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:53:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 14:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 14:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125280553892052992,"km_value":125280553892052.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130172196864,"description":"Unknown IO ID 45"} 
[2026-06-02 14:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780379392001,"power":14352,"unknown_43":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1970184130172196864}} 
[2026-06-02 14:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":90951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:53:46] local.INFO: GPS data processed {"connection_id":90951,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:53:46] local.INFO: Acknowledgment sent {"connection_id":90951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:53:58] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:53:58] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:53:58] local.INFO: IMEI packet received {"connection_id":89878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":89878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:54:02] local.INFO: TCP Data received {"connection_id":90952,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a37100012cc3924007547b20000e015228..."} 
[2026-06-02 14:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a37100012cc3924007547b20000e015228..."} 
[2026-06-02 14:54:02] local.INFO: Processing buffer {"connection_id":90952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a37100012cc3924007547b20000e015228..."} 
[2026-06-02 14:54:02] local.INFO: Packet analysis {"connection_id":90952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:54:02] local.INFO: Extracted packet for processing {"connection_id":90952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a3"} 
[2026-06-02 14:54:02] local.INFO: GPS Element Parsed {"raw_longitude":751014464,"raw_latitude":122977056,"longitude_deg":75.1014464,"latitude_deg":12.2977056,"altitude":14,"angle":338,"satellites":40,"speed":48,"hex_longitude":"2cc39240","hex_latitude":"07547b20","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780374528001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305816583601651712,"note":"Value kept but may cause issues"} 
[2026-06-02 14:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350406839815790592,"note":"Value kept but may cause issues"} 
[2026-06-02 14:54:02] 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-06-02 14:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780392096000,"timestamp_ms":1780392096000,"timestamp_seconds":1780392096,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a37100"} 
[2026-06-02 14:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:54: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-06-02 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:54:02] 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-06-02 14: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-06-02 14:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:54: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-06-02 14:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780374528001,"66":27821,"178":206,"85":37632,"24":48,"16":305816583601651712,"44":-4350406839815790592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-02 14:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780374528001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:54:02] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-02 14:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-02 14:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305816583601651712,"km_value":305816583601651.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350406839815790592,"description":"Unknown IO ID 44"} 
[2026-06-02 14:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780374528001,"power":27821,"unknown_178":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4350406839815790592}} 
[2026-06-02 14:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":90952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:54:02] local.INFO: GPS data processed {"connection_id":90952,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:54:02] local.INFO: Acknowledgment sent {"connection_id":90952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:54:07] local.INFO: TCP Data received {"connection_id":89879,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:54:07] local.INFO: Processing buffer {"connection_id":89879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:54:07] local.INFO: IMEI packet received {"connection_id":89879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":89879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:54:08] local.INFO: TCP Data received {"connection_id":89879,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:54:08] local.INFO: Processing buffer {"connection_id":89879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:54:08] local.INFO: IMEI packet received {"connection_id":89879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":89879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:54:12] local.INFO: TCP Data received {"connection_id":89879,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89879,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:54:12] local.INFO: Processing buffer {"connection_id":89879,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 14:54:12] local.INFO: IMEI packet received {"connection_id":89879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 14:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":89879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:54:23] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:23] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:23] local.INFO: IMEI packet received {"connection_id":89774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":89774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:54:24] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:24] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:24] local.INFO: IMEI packet received {"connection_id":89774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":89774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:54:29] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:29] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:54:29] local.INFO: IMEI packet received {"connection_id":89774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":89774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:54:29] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a4fb88012cc306800755c0480010014a2a..."} 
[2026-06-02 14:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a4fb88012cc306800755c0480010014a2a..."} 
[2026-06-02 14:54:29] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a4fb88012cc306800755c0480010014a2a..."} 
[2026-06-02 14:54:29] local.INFO: Packet analysis {"connection_id":89774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a4"} 
[2026-06-02 14:54:29] local.INFO: Extracted packet for processing {"connection_id":89774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a4"} 
[2026-06-02 14:54:29] local.INFO: GPS Element Parsed {"raw_longitude":750978688,"raw_latitude":123060296,"longitude_deg":75.0978688,"latitude_deg":12.3060296,"altitude":16,"angle":330,"satellites":42,"speed":35,"hex_longitude":"2cc30680","hex_latitude":"0755c048","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780399104001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305820968763260928,"note":"Value kept but may cause issues"} 
[2026-06-02 14:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4388968911603679232,"note":"Value kept but may cause issues"} 
[2026-06-02 14:54:29] 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-06-02 14:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392197000,"timestamp_ms":1780392197000,"timestamp_seconds":1780392197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a4fb88"} 
[2026-06-02 14:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:54: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-06-02 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 14:54: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-06-02 14: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-06-02 14:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:54:29] 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-06-02 14:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780399104001,"66":27908,"84":206,"85":37120,"24":35,"16":305820968763260928,"44":-4388968911603679232},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-02 14:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780399104001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:54:29] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 14:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305820968763260928,"km_value":305820968763260.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4388968911603679232,"description":"Unknown IO ID 44"} 
[2026-06-02 14:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780399104001,"power":27908,"unknown_84":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4388968911603679232}} 
[2026-06-02 14:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":89774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:54:29] local.INFO: GPS data processed {"connection_id":89774,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:54:29] local.INFO: Acknowledgment sent {"connection_id":89774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:55:01] local.INFO: TCP Data received {"connection_id":89774,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a52680012cc2f4400755de380011014829..."} 
[2026-06-02 14:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a52680012cc2f4400755de380011014829..."} 
[2026-06-02 14:55:01] local.INFO: Processing buffer {"connection_id":89774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a52680012cc2f4400755de380011014829..."} 
[2026-06-02 14:55:01] local.INFO: Packet analysis {"connection_id":89774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:55:01] local.INFO: Extracted packet for processing {"connection_id":89774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:55:01] local.INFO: GPS Element Parsed {"raw_longitude":750974016,"raw_latitude":123067960,"longitude_deg":75.0974016,"latitude_deg":12.306796,"altitude":17,"angle":328,"satellites":41,"speed":33,"hex_longitude":"2cc2f440","hex_latitude":"0755de38","is_valid_coordinates":true} 
[2026-06-02 14:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780402432001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305821398259990528,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4393683617461549056,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:01] 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-06-02 14:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780392208000,"timestamp_ms":1780392208000,"timestamp_seconds":1780392208,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a52680"} 
[2026-06-02 14:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:55: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-06-02 14:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 14:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:55:01] 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-06-02 14:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780402432001,"66":27876,"84":206,"85":37120,"24":33,"16":305821398259990528,"44":-4393683617461549056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-02 14:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780402432001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:55:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 14:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305821398259990528,"km_value":305821398259990.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4393683617461549056,"description":"Unknown IO ID 44"} 
[2026-06-02 14:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780402432001,"power":27876,"unknown_84":206,"unknown_85":37120,"ignition":33,"odometer":null,"unknown_44":-4393683617461549056}} 
[2026-06-02 14:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":89774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:55:01] local.INFO: GPS data processed {"connection_id":89774,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:55:01] local.INFO: Acknowledgment sent {"connection_id":89774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:55:29] local.INFO: TCP Data received {"connection_id":90953,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:55:29] local.INFO: Processing buffer {"connection_id":90953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:55:29] local.INFO: IMEI packet received {"connection_id":90953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":90953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:55:30] local.INFO: TCP Data received {"connection_id":90953,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:55:30] local.INFO: Processing buffer {"connection_id":90953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:55:30] local.INFO: IMEI packet received {"connection_id":90953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":90953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:55:31] local.INFO: TCP Data received {"connection_id":90953,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a53a08012cc2ea000755eb400010013c2a..."} 
[2026-06-02 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a53a08012cc2ea000755eb400010013c2a..."} 
[2026-06-02 14:55:31] local.INFO: Processing buffer {"connection_id":90953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a53a08012cc2ea000755eb400010013c2a..."} 
[2026-06-02 14:55:31] local.INFO: Packet analysis {"connection_id":90953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:55:31] local.INFO: Extracted packet for processing {"connection_id":90953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":750971392,"raw_latitude":123071296,"longitude_deg":75.0971392,"latitude_deg":12.3071296,"altitude":16,"angle":316,"satellites":42,"speed":30,"hex_longitude":"2cc2ea00","hex_latitude":"0755eb40","is_valid_coordinates":true} 
[2026-06-02 14:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780405248001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305821604418420736,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398820535784556544,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:31] 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-06-02 14:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780392213000,"timestamp_ms":1780392213000,"timestamp_seconds":1780392213,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a53a08"} 
[2026-06-02 14:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:55: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-06-02 14:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 14:55:31] 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-06-02 14:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:55:31] 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-06-02 14:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780405248001,"66":27930,"84":206,"85":37120,"24":30,"16":305821604418420736,"44":-4398820535784556544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-02 14:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780405248001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:55:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 14:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305821604418420736,"km_value":305821604418420.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398820535784556544,"description":"Unknown IO ID 44"} 
[2026-06-02 14:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780405248001,"power":27930,"unknown_84":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4398820535784556544}} 
[2026-06-02 14:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":90953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:55:31] local.INFO: GPS data processed {"connection_id":90953,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:55:31] local.INFO: Acknowledgment sent {"connection_id":90953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:55:35] local.INFO: TCP Data received {"connection_id":90953,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a56cd0012cc2d000075606e0001001442c..."} 
[2026-06-02 14:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a56cd0012cc2d000075606e0001001442c..."} 
[2026-06-02 14:55:35] local.INFO: Processing buffer {"connection_id":90953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a56cd0012cc2d000075606e0001001442c..."} 
[2026-06-02 14:55:35] local.INFO: Packet analysis {"connection_id":90953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:55:35] local.INFO: Extracted packet for processing {"connection_id":90953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:55:35] local.INFO: GPS Element Parsed {"raw_longitude":750964736,"raw_latitude":123078368,"longitude_deg":75.0964736,"latitude_deg":12.3078368,"altitude":16,"angle":324,"satellites":44,"speed":31,"hex_longitude":"2cc2d000","hex_latitude":"075606e0","is_valid_coordinates":true} 
[2026-06-02 14:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780406528001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305822072569856000,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401705654294986752,"note":"Value kept but may cause issues"} 
[2026-06-02 14:55:35] 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-06-02 14:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780392226000,"timestamp_ms":1780392226000,"timestamp_seconds":1780392226,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a56cd0"} 
[2026-06-02 14:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:55: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-06-02 14:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780406528001,"66":27930,"84":206,"85":37120,"24":31,"16":305822072569856000,"44":-4401705654294986752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-02 14:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780406528001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:55:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 14:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305822072569856000,"km_value":305822072569856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401705654294986752,"description":"Unknown IO ID 44"} 
[2026-06-02 14:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780406528001,"power":27930,"unknown_84":206,"unknown_85":37120,"ignition":31,"odometer":null,"unknown_44":-4401705654294986752}} 
[2026-06-02 14:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":90953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:55:35] local.INFO: GPS data processed {"connection_id":90953,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:55:35] local.INFO: Acknowledgment sent {"connection_id":90953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:56:06] local.INFO: TCP Data received {"connection_id":90953,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a59bb0012cc2bbc0075625700011014b2a..."} 
[2026-06-02 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a59bb0012cc2bbc0075625700011014b2a..."} 
[2026-06-02 14:56:06] local.INFO: Processing buffer {"connection_id":90953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a59bb0012cc2bbc0075625700011014b2a..."} 
[2026-06-02 14:56:06] local.INFO: Packet analysis {"connection_id":90953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:56:06] local.INFO: Extracted packet for processing {"connection_id":90953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a5"} 
[2026-06-02 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":750959552,"raw_latitude":123086192,"longitude_deg":75.0959552,"latitude_deg":12.3086192,"altitude":17,"angle":331,"satellites":42,"speed":25,"hex_longitude":"2cc2bbc0","hex_latitude":"07562570","is_valid_coordinates":true} 
[2026-06-02 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780409856001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305822523541422080,"note":"Value kept but may cause issues"} 
[2026-06-02 14:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4409024003687653376,"note":"Value kept but may cause issues"} 
[2026-06-02 14:56:06] 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-06-02 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780392238000,"timestamp_ms":1780392238000,"timestamp_seconds":1780392238,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a59bb0"} 
[2026-06-02 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:56: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-06-02 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 14:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 14:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780409856001,"66":27876,"84":206,"85":37120,"24":25,"16":305822523541422080,"44":-4409024003687653376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-02 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780409856001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:56:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-02 14:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305822523541422080,"km_value":305822523541422.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4409024003687653376,"description":"Unknown IO ID 44"} 
[2026-06-02 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780409856001,"power":27876,"unknown_84":206,"unknown_85":37120,"ignition":25,"odometer":null,"unknown_44":-4409024003687653376}} 
[2026-06-02 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":90953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:56:06] local.INFO: GPS data processed {"connection_id":90953,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:56:06] local.INFO: Acknowledgment sent {"connection_id":90953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:56:24] local.INFO: TCP Data received {"connection_id":90955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:56:24] local.INFO: Processing buffer {"connection_id":90955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:56:24] local.INFO: IMEI packet received {"connection_id":90955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":90955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:56:29] local.INFO: TCP Data received {"connection_id":90955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:56:29] local.INFO: Processing buffer {"connection_id":90955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:56:29] local.INFO: IMEI packet received {"connection_id":90955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":90955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:56:30] local.INFO: TCP Data received {"connection_id":90955,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a6dfe8012cc249400756b9f80013014126..."} 
[2026-06-02 14:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a6dfe8012cc249400756b9f80013014126..."} 
[2026-06-02 14:56:30] local.INFO: Processing buffer {"connection_id":90955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a6dfe8012cc249400756b9f80013014126..."} 
[2026-06-02 14:56:30] local.INFO: Packet analysis {"connection_id":90955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a6"} 
[2026-06-02 14:56:30] local.INFO: Extracted packet for processing {"connection_id":90955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a6"} 
[2026-06-02 14:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750930240,"raw_latitude":123124216,"longitude_deg":75.093024,"latitude_deg":12.3124216,"altitude":19,"angle":321,"satellites":38,"speed":9,"hex_longitude":"2cc24940","hex_latitude":"0756b9f8","is_valid_coordinates":true} 
[2026-06-02 14:56: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-06-02 14:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780431360001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305824898658336768,"note":"Value kept but may cause issues"} 
[2026-06-02 14:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4443152844602830848,"note":"Value kept but may cause issues"} 
[2026-06-02 14:56:30] 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-06-02 14:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780392321000,"timestamp_ms":1780392321000,"timestamp_seconds":1780392321,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a6dfe8"} 
[2026-06-02 14:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:56: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-06-02 14:56: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":91,"data_length":795,"current_offset":136} 
[2026-06-02 14:56:30] 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-06-02 14:56: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-06-02 14:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:56:30] 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-06-02 14:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780431360001,"66":27713,"83":206,"85":37120,"24":9,"16":305824898658336768,"44":-4443152844602830848},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-06-02 14:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780431360001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-02 14:56:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305824898658336768,"km_value":305824898658336.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4443152844602830848,"description":"Unknown IO ID 44"} 
[2026-06-02 14:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780431360001,"power":27713,"unknown_83":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4443152844602830848}} 
[2026-06-02 14:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":90955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:56:30] local.INFO: GPS data processed {"connection_id":90955,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:56:30] local.INFO: Acknowledgment sent {"connection_id":90955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:57:01] local.INFO: TCP Data received {"connection_id":90955,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a731f0012cc233400756d6300016014125..."} 
[2026-06-02 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a731f0012cc233400756d6300016014125..."} 
[2026-06-02 14:57:01] local.INFO: Processing buffer {"connection_id":90955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a731f0012cc233400756d6300016014125..."} 
[2026-06-02 14:57:01] local.INFO: Packet analysis {"connection_id":90955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a7"} 
[2026-06-02 14:57:01] local.INFO: Extracted packet for processing {"connection_id":90955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a7"} 
[2026-06-02 14:57:01] local.INFO: GPS Element Parsed {"raw_longitude":750924608,"raw_latitude":123131440,"longitude_deg":75.0924608,"latitude_deg":12.313144,"altitude":22,"angle":321,"satellites":37,"speed":9,"hex_longitude":"2cc23340","hex_latitude":"0756d630","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780434176001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305825341039968256,"note":"Value kept but may cause issues"} 
[2026-06-02 14:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4446952756787677184,"note":"Value kept but may cause issues"} 
[2026-06-02 14:57:01] 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-06-02 14:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780392342000,"timestamp_ms":1780392342000,"timestamp_seconds":1780392342,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a731f0"} 
[2026-06-02 14:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":65,"data_length":795,"current_offset":136} 
[2026-06-02 14:57: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-06-02 14: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-06-02 14:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:57:01] 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-06-02 14:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780434176001,"66":27767,"103":206,"85":37120,"24":9,"16":305825341039968256,"44":-4446952756787677184},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780434176001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:57:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305825341039968256,"km_value":305825341039968.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4446952756787677184,"description":"Unknown IO ID 44"} 
[2026-06-02 14:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780434176001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4446952756787677184}} 
[2026-06-02 14:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":90955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:57:01] local.INFO: GPS data processed {"connection_id":90955,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:57:01] local.INFO: Acknowledgment sent {"connection_id":90955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:57:24] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:57:24] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:57:24] local.INFO: IMEI packet received {"connection_id":89502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":89502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:57:29] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:57:29] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:57:29] local.INFO: IMEI packet received {"connection_id":89502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":89502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:57:29] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a731f0012cc233400756d6300016014125..."} 
[2026-06-02 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a731f0012cc233400756d6300016014125..."} 
[2026-06-02 14:57:29] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a731f0012cc233400756d6300016014125..."} 
[2026-06-02 14:57:29] local.INFO: Packet analysis {"connection_id":89502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a7"} 
[2026-06-02 14:57:29] local.INFO: Extracted packet for processing {"connection_id":89502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a7"} 
[2026-06-02 14:57:29] local.INFO: GPS Element Parsed {"raw_longitude":750924608,"raw_latitude":123131440,"longitude_deg":75.0924608,"latitude_deg":12.313144,"altitude":22,"angle":321,"satellites":37,"speed":9,"hex_longitude":"2cc23340","hex_latitude":"0756d630","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780439552001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305825341039968256,"note":"Value kept but may cause issues"} 
[2026-06-02 14:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4453145206273462272,"note":"Value kept but may cause issues"} 
[2026-06-02 14:57: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-06-02 14:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392342000,"timestamp_ms":1780392342000,"timestamp_seconds":1780392342,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a731f0"} 
[2026-06-02 14:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:57: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-06-02 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 14:57: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-06-02 14: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-06-02 14:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:57:29] 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-06-02 14:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780439552001,"66":27767,"103":206,"85":37120,"24":9,"16":305825341039968256,"44":-4453145206273462272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780439552001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:57:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305825341039968256,"km_value":305825341039968.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4453145206273462272,"description":"Unknown IO ID 44"} 
[2026-06-02 14:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780439552001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4453145206273462272}} 
[2026-06-02 14:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":89502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:57:29] local.INFO: GPS data processed {"connection_id":89502,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:57:29] local.INFO: Acknowledgment sent {"connection_id":89502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:58:00] local.INFO: TCP Data received {"connection_id":89502,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a78010012cc21d400756f1d80018014026..."} 
[2026-06-02 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a78010012cc21d400756f1d80018014026..."} 
[2026-06-02 14:58:00] local.INFO: Processing buffer {"connection_id":89502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a78010012cc21d400756f1d80018014026..."} 
[2026-06-02 14:58:00] local.INFO: Packet analysis {"connection_id":89502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a7"} 
[2026-06-02 14:58:00] local.INFO: Extracted packet for processing {"connection_id":89502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a7"} 
[2026-06-02 14:58:00] local.INFO: GPS Element Parsed {"raw_longitude":750918976,"raw_latitude":123138520,"longitude_deg":75.0918976,"latitude_deg":12.313852,"altitude":24,"angle":320,"satellites":38,"speed":30,"hex_longitude":"2cc21d40","hex_latitude":"0756f1d8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780439552001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305825774831665152,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4453145206273462272,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58: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-06-02 14:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780392362000,"timestamp_ms":1780392362000,"timestamp_seconds":1780392362,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a78010"} 
[2026-06-02 14:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:58: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-06-02 14: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 14:58: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-06-02 14: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-06-02 14:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:58:00] 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-06-02 14:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780439552001,"66":27767,"103":206,"85":37120,"24":30,"16":305825774831665152,"44":-4453145206273462272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780439552001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:58:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305825774831665152,"km_value":305825774831665.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4453145206273462272,"description":"Unknown IO ID 44"} 
[2026-06-02 14:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780439552001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4453145206273462272}} 
[2026-06-02 14:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":89502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:58:00] local.INFO: GPS data processed {"connection_id":89502,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:58:00] local.INFO: Acknowledgment sent {"connection_id":89502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:58:23] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:58:23] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:58:23] local.INFO: IMEI packet received {"connection_id":89882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":89882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:58:28] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:58:28] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:58:28] local.INFO: IMEI packet received {"connection_id":89882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":89882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:58:28] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a8b4a8012cc1dd80075729480012011f29..."} 
[2026-06-02 14:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a8b4a8012cc1dd80075729480012011f29..."} 
[2026-06-02 14:58:28] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a8b4a8012cc1dd80075729480012011f29..."} 
[2026-06-02 14:58:28] local.INFO: Packet analysis {"connection_id":89882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a8"} 
[2026-06-02 14:58:28] local.INFO: Extracted packet for processing {"connection_id":89882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a8"} 
[2026-06-02 14:58:28] local.INFO: GPS Element Parsed {"raw_longitude":750902656,"raw_latitude":123152712,"longitude_deg":75.0902656,"latitude_deg":12.3152712,"altitude":18,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2cc1dd80","hex_latitude":"07572948","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780459520001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305826943062769664,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477070579288158208,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:28] 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-06-02 14:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780392441000,"timestamp_ms":1780392441000,"timestamp_seconds":1780392441,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a8b4a8"} 
[2026-06-02 14:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:58: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-06-02 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:58: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-06-02 14: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-06-02 14:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:58:28] 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-06-02 14:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780459520001,"66":27974,"103":206,"85":37120,"24":0,"16":305826943062769664,"44":-4477070579288158208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780459520001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:58:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305826943062769664,"km_value":305826943062769.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477070579288158208,"description":"Unknown IO ID 44"} 
[2026-06-02 14:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780459520001,"power":27974,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477070579288158208}} 
[2026-06-02 14:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":89882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:58:28] local.INFO: GPS data processed {"connection_id":89882,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:58:28] local.INFO: Acknowledgment sent {"connection_id":89882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:58:59] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a906b0012cc1dac0075727200014011f2a..."} 
[2026-06-02 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a906b0012cc1dac0075727200014011f2a..."} 
[2026-06-02 14:58:59] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a906b0012cc1dac0075727200014011f2a..."} 
[2026-06-02 14:58:59] local.INFO: Packet analysis {"connection_id":89882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 14:58:59] local.INFO: Extracted packet for processing {"connection_id":89882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 14:58:59] local.INFO: GPS Element Parsed {"raw_longitude":750901952,"raw_latitude":123152160,"longitude_deg":75.0901952,"latitude_deg":12.315216,"altitude":20,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2cc1dac0","hex_latitude":"07572720","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780464896001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305826986012442624,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477281685520955392,"note":"Value kept but may cause issues"} 
[2026-06-02 14:58:59] 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-06-02 14:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780392462000,"timestamp_ms":1780392462000,"timestamp_seconds":1780392462,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a906b0"} 
[2026-06-02 14:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14: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-06-02 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 14:58: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-06-02 14: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-06-02 14:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:58:59] 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-06-02 14:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780464896001,"66":27800,"103":206,"85":37120,"24":0,"16":305826986012442624,"44":-4477281685520955392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780464896001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:58:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305826986012442624,"km_value":305826986012442.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:58:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477281685520955392,"description":"Unknown IO ID 44"} 
[2026-06-02 14:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780464896001,"power":27800,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477281685520955392}} 
[2026-06-02 14:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":89882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:58:59] local.INFO: GPS data processed {"connection_id":89882,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:58:59] local.INFO: Acknowledgment sent {"connection_id":89882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:59:14] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:59:15] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 14:59:15] local.INFO: IMEI packet received {"connection_id":89883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 14:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":89883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:59:16] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a88d98012d1b40800725c5f0002f00ed25..."} 
[2026-06-02 14:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a88d98012d1b40800725c5f0002f00ed25..."} 
[2026-06-02 14:59:16] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a88d98012d1b40800725c5f0002f00ed25..."} 
[2026-06-02 14:59:16] local.INFO: Packet analysis {"connection_id":89883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a8"} 
[2026-06-02 14:59:16] local.INFO: Extracted packet for processing {"connection_id":89883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a8"} 
[2026-06-02 14:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119916016,"longitude_deg":75.6760704,"latitude_deg":11.9916016,"altitude":47,"angle":237,"satellites":37,"speed":0,"hex_longitude":"2d1b4080","hex_latitude":"0725c5f0","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780456960001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125283186707005440,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205720391680,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780392431000,"timestamp_ms":1780392431000,"timestamp_seconds":1780392431,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a88d98"} 
[2026-06-02 14:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 14:59:16] 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-06-02 14: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-06-02 14:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:59:16] 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-06-02 14:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780456960001,"66":12819,"175":206,"83":42752,"24":0,"16":125283186707005440,"45":1963710205720391680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-06-02 14:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780456960001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:59:16] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-02 14:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 14:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125283186707005440,"km_value":125283186707005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205720391680,"description":"Unknown IO ID 45"} 
[2026-06-02 14:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780456960001,"power":12819,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963710205720391680}} 
[2026-06-02 14:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":89883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:59:16] local.INFO: GPS data processed {"connection_id":89883,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:59:16] local.INFO: Acknowledgment sent {"connection_id":89883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:59:18] local.INFO: TCP Data received {"connection_id":89777,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:59:18] local.INFO: Processing buffer {"connection_id":89777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 14:59:18] local.INFO: IMEI packet received {"connection_id":89777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 14:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":89777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:59:23] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:59:23] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:59:23] local.INFO: IMEI packet received {"connection_id":89503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 14:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":89503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 14:59:28] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:59:28] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 14:59:28] local.INFO: IMEI packet received {"connection_id":89503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 14:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":89503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 14:59:29] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a92208012cc1db00075727d80019014e2a..."} 
[2026-06-02 14:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a92208012cc1db00075727d80019014e2a..."} 
[2026-06-02 14:59:29] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a92208012cc1db00075727d80019014e2a..."} 
[2026-06-02 14:59:29] local.INFO: Packet analysis {"connection_id":89503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 14:59:29] local.INFO: Extracted packet for processing {"connection_id":89503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 14:59:29] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123152344,"longitude_deg":75.0902016,"latitude_deg":12.3152344,"altitude":25,"angle":334,"satellites":42,"speed":6,"hex_longitude":"2cc1db00","hex_latitude":"075727d8","is_valid_coordinates":true} 
[2026-06-02 14: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-06-02 14:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780470272001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827016077213696,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59: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-06-02 14:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392469000,"timestamp_ms":1780392469000,"timestamp_seconds":1780392469,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a92208"} 
[2026-06-02 14:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 14:59: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-06-02 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 14:59:29] 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-06-02 14: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-06-02 14:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 14:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 14:59:29] 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-06-02 14:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 14:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 14:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780470272001,"66":27919,"103":206,"85":37120,"24":6,"16":305827016077213696,"44":-4478055741707051008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 14:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 14:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 14:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780470272001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:59:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 14:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 14:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827016077213696,"km_value":305827016077213.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-06-02 14:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780470272001,"power":27919,"unknown_103":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-06-02 14:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":89503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:59:29] local.INFO: GPS data processed {"connection_id":89503,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:59:29] local.INFO: Acknowledgment sent {"connection_id":89503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 14:59:47] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a8dfa0012d1b40800725c5f0002f00ed26..."} 
[2026-06-02 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a8dfa0012d1b40800725c5f0002f00ed26..."} 
[2026-06-02 14:59:47] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a8dfa0012d1b40800725c5f0002f00ed26..."} 
[2026-06-02 14:59:47] local.INFO: Packet analysis {"connection_id":89883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a8"} 
[2026-06-02 14:59:47] local.INFO: Extracted packet for processing {"connection_id":89883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a8"} 
[2026-06-02 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119916016,"longitude_deg":75.6760704,"latitude_deg":11.9916016,"altitude":47,"angle":237,"satellites":38,"speed":0,"hex_longitude":"2d1b4080","hex_latitude":"0725c5f0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780462336001,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125283186707005440,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205720391680,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 14:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780392452000,"timestamp_ms":1780392452000,"timestamp_seconds":1780392452,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a8dfa0"} 
[2026-06-02 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-06-02 14:59: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-06-02 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2275844456,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":13230342366298368,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505511297089536,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-6462841382085377920,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3320840239,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7699185924133290008,"corrected_to":0} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147952069,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612040395010477,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2721845433394588963,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84753932903458245,"note":"Value kept but may cause issues"} 
[2026-06-02 14:59:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,175,83,24,241,157,16,158,59,45,128,197,47,38,10,66,233,36,151,1,240,63,227,135,37,4,113,205,243,64,35,239,50,43,2,189,7,167,101,69,88],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7699185924133290008,"validated":0}]} 
[2026-06-02 14:59:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386967662952185856,"timestamp_seconds":3386967662952186.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 14:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 14:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 14:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 14:59:47] 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-06-02 14:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 14:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 14:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780462336001,"66":12635,"175":206,"83":42752,"24":0,"16":125283186707005440,"45":1963710205720391680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-06-02 14:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 14:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 14:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780462336001,"description":"Unknown IO ID 0"} 
[2026-06-02 14:59:47] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-02 14:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 14:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125283186707005440,"km_value":125283186707005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 14:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205720391680,"description":"Unknown IO ID 45"} 
[2026-06-02 14:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780462336001,"power":12635,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963710205720391680}} 
[2026-06-02 14:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":89883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 14:59:47] local.INFO: GPS data processed {"connection_id":89883,"processed":1,"errors":0,"total":1} 
[2026-06-02 14:59:47] local.INFO: Acknowledgment sent {"connection_id":89883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:00:00] local.INFO: TCP Data received {"connection_id":89503,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a925f0012cc1dac0075728a80019015a2a..."} 
[2026-06-02 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a925f0012cc1dac0075728a80019015a2a..."} 
[2026-06-02 15:00:00] local.INFO: Processing buffer {"connection_id":89503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a925f0012cc1dac0075728a80019015a2a..."} 
[2026-06-02 15:00:00] local.INFO: Packet analysis {"connection_id":89503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:00] local.INFO: Extracted packet for processing {"connection_id":89503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:00] local.INFO: GPS Element Parsed {"raw_longitude":750901952,"raw_latitude":123152552,"longitude_deg":75.0901952,"latitude_deg":12.3152552,"altitude":25,"angle":346,"satellites":42,"speed":7,"hex_longitude":"2cc1dac0","hex_latitude":"075728a8","is_valid_coordinates":true} 
[2026-06-02 15:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472064001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827028962115584,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962826240,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00: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-06-02 15:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780392470000,"timestamp_ms":1780392470000,"timestamp_seconds":1780392470,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a925f0"} 
[2026-06-02 15:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:00: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-06-02 15:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 15:00: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-06-02 15:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:00:00] 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-06-02 15:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472064001,"66":27767,"103":206,"85":37120,"24":7,"16":305827028962115584,"44":-4477985372962826240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472064001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:00:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827028962115584,"km_value":305827028962115.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:00:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962826240,"description":"Unknown IO ID 44"} 
[2026-06-02 15:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472064001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4477985372962826240}} 
[2026-06-02 15:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":89503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:00:00] local.INFO: GPS data processed {"connection_id":89503,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:00:00] local.INFO: Acknowledgment sent {"connection_id":89503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:00:03] local.INFO: TCP Data received {"connection_id":90957,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:00:03] local.INFO: Processing buffer {"connection_id":90957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:00:03] local.INFO: IMEI packet received {"connection_id":90957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":90957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:00:08] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:08] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:08] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:00:13] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:13] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:13] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:00:13] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:13] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:00:13] local.INFO: IMEI packet received {"connection_id":89504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":89504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:00:14] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a931a8012d1b40800725c5f0002f00ed24..."} 
[2026-06-02 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a931a8012d1b40800725c5f0002f00ed24..."} 
[2026-06-02 15:00:14] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a931a8012d1b40800725c5f0002f00ed24..."} 
[2026-06-02 15:00:14] local.INFO: Packet analysis {"connection_id":89504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:14] local.INFO: Extracted packet for processing {"connection_id":89504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119916016,"longitude_deg":75.6760704,"latitude_deg":11.9916016,"altitude":47,"angle":237,"satellites":36,"speed":0,"hex_longitude":"2d1b4080","hex_latitude":"0725c5f0","is_valid_coordinates":true} 
[2026-06-02 15:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780467712001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125283186707005440,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205720391680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780392473000,"timestamp_ms":1780392473000,"timestamp_seconds":1780392473,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a931a8"} 
[2026-06-02 15:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 15:00:14] 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-06-02 15:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:00:14] 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-06-02 15:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780467712001,"66":14135,"175":206,"83":42752,"24":0,"16":125283186707005440,"45":1963710205720391680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-06-02 15:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780467712001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:00:14] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-02 15:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125283186707005440,"km_value":125283186707005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205720391680,"description":"Unknown IO ID 45"} 
[2026-06-02 15:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780467712001,"power":14135,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963710205720391680}} 
[2026-06-02 15:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":89504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:00:14] local.INFO: GPS data processed {"connection_id":89504,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:00:14] local.INFO: Acknowledgment sent {"connection_id":89504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:00:15] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a983b0012d1b40800725c5f0002f00ed22..."} 
[2026-06-02 15:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a983b0012d1b40800725c5f0002f00ed22..."} 
[2026-06-02 15:00:15] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a983b0012d1b40800725c5f0002f00ed22..."} 
[2026-06-02 15:00:15] local.INFO: Packet analysis {"connection_id":89504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:15] local.INFO: Extracted packet for processing {"connection_id":89504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119916016,"longitude_deg":75.6760704,"latitude_deg":11.9916016,"altitude":47,"angle":237,"satellites":34,"speed":0,"hex_longitude":"2d1b4080","hex_latitude":"0725c5f0","is_valid_coordinates":true} 
[2026-06-02 15:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473088001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125283186707005440,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205720391680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780392494000,"timestamp_ms":1780392494000,"timestamp_seconds":1780392494,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a983b0"} 
[2026-06-02 15:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-02 15:00: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-06-02 15:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:00:15] 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-06-02 15:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473088001,"66":13852,"175":206,"83":42752,"24":0,"16":125283186707005440,"45":1963710205720391680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-06-02 15:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473088001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:00:15] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-02 15:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125283186707005440,"km_value":125283186707005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205720391680,"description":"Unknown IO ID 45"} 
[2026-06-02 15:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473088001,"power":13852,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963710205720391680}} 
[2026-06-02 15:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":89504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:00:16] local.INFO: GPS data processed {"connection_id":89504,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:00:16] local.INFO: Acknowledgment sent {"connection_id":89504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:00:23] local.INFO: TCP Data received {"connection_id":90958,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:00:23] local.INFO: Processing buffer {"connection_id":90958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:00:23] local.INFO: IMEI packet received {"connection_id":90958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":90958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:00:28] local.INFO: TCP Data received {"connection_id":90958,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:00:28] local.INFO: Processing buffer {"connection_id":90958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:00:28] local.INFO: IMEI packet received {"connection_id":90958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":90958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:00:29] local.INFO: TCP Data received {"connection_id":90958,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:00:29] local.INFO: Processing buffer {"connection_id":90958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:00:29] local.INFO: Packet analysis {"connection_id":90958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:29] local.INFO: Extracted packet for processing {"connection_id":90958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:00:29] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152992,"longitude_deg":75.0902144,"latitude_deg":12.3152992,"altitude":27,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a60","is_valid_coordinates":true} 
[2026-06-02 15:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741706950656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00: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-06-02 15:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392474000,"timestamp_ms":1780392474000,"timestamp_seconds":1780392474,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a93590"} 
[2026-06-02 15:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:00: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-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:00: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-06-02 15: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-06-02 15:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:00:29] 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-06-02 15:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472320001,"66":27310,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4478055741706950656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:00:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741706950656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472320001,"power":27310,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741706950656}} 
[2026-06-02 15:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":90958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:00:29] local.INFO: GPS data processed {"connection_id":90958,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:00:29] local.INFO: Acknowledgment sent {"connection_id":90958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:00:47] local.INFO: TCP Data received {"connection_id":89504,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87aaeb10012d1b5fc007252b08002400bf24..."} 
[2026-06-02 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87aaeb10012d1b5fc007252b08002400bf24..."} 
[2026-06-02 15:00:47] local.INFO: Processing buffer {"connection_id":89504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87aaeb10012d1b5fc007252b08002400bf24..."} 
[2026-06-02 15:00:47] local.INFO: Packet analysis {"connection_id":89504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87aa"} 
[2026-06-02 15:00:47] local.INFO: Extracted packet for processing {"connection_id":89504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87aa"} 
[2026-06-02 15:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119876360,"longitude_deg":75.6768704,"latitude_deg":11.987636,"altitude":36,"angle":191,"satellites":36,"speed":32,"hex_longitude":"2d1b5fc0","hex_latitude":"07252b08","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780499200001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125285321305751552,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975039573525233664,"note":"Value kept but may cause issues"} 
[2026-06-02 15:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780392586000,"timestamp_ms":1780392586000,"timestamp_seconds":1780392586,"priority":1,"record_length":96,"hex_timestamp":"0000019e87aaeb10"} 
[2026-06-02 15:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:00: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-06-02 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 15:00: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-06-02 15: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-06-02 15:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:00:47] 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-06-02 15:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780499200001,"66":14396,"43":206,"83":41984,"24":32,"16":125285321305751552,"45":1975039573525233664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 15:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780499200001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:00:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 15:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125285321305751552,"km_value":125285321305751.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975039573525233664,"description":"Unknown IO ID 45"} 
[2026-06-02 15:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780499200001,"power":14396,"unknown_43":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1975039573525233664}} 
[2026-06-02 15:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":89504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:00:47] local.INFO: GPS data processed {"connection_id":89504,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:00:47] local.INFO: Acknowledgment sent {"connection_id":89504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:01:00] local.INFO: TCP Data received {"connection_id":90958,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:00] local.INFO: Processing buffer {"connection_id":90958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:00] local.INFO: Packet analysis {"connection_id":90958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:01:00] local.INFO: Extracted packet for processing {"connection_id":90958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152992,"longitude_deg":75.0902144,"latitude_deg":12.3152992,"altitude":27,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a60","is_valid_coordinates":true} 
[2026-06-02 15:01: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-06-02 15:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741706950656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01: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-06-02 15:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780392474000,"timestamp_ms":1780392474000,"timestamp_seconds":1780392474,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a93590"} 
[2026-06-02 15:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:01: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-06-02 15: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:01: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-06-02 15: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-06-02 15:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472320001,"66":27310,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4478055741706950656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:01:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741706950656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472320001,"power":27310,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741706950656}} 
[2026-06-02 15:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":90958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:01:00] local.INFO: GPS data processed {"connection_id":90958,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:01:00] local.INFO: Acknowledgment sent {"connection_id":90958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:01:05] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:01:05] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:01:05] local.INFO: IMEI packet received {"connection_id":89505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":89505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:01:12] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:01:12] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:01:12] local.INFO: IMEI packet received {"connection_id":89505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":89505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:01:15] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ab19f0012d1b5980072508b8002500bd24..."} 
[2026-06-02 15:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ab19f0012d1b5980072508b8002500bd24..."} 
[2026-06-02 15:01:15] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ab19f0012d1b5980072508b8002500bd24..."} 
[2026-06-02 15:01:15] local.INFO: Packet analysis {"connection_id":89505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:01:15] local.INFO: Extracted packet for processing {"connection_id":89505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119867576,"longitude_deg":75.6767104,"latitude_deg":11.9867576,"altitude":37,"angle":189,"satellites":36,"speed":15,"hex_longitude":"2d1b5980","hex_latitude":"072508b8","is_valid_coordinates":true} 
[2026-06-02 15:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780502016001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125285755097448448,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732447744,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780392598000,"timestamp_ms":1780392598000,"timestamp_seconds":1780392598,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ab19f0"} 
[2026-06-02 15:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 15:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:01:15] 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-06-02 15:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780502016001,"66":14363,"43":206,"83":41984,"24":15,"16":125285755097448448,"45":1972506298732447744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 15:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780502016001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:01:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 15:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125285755097448448,"km_value":125285755097448.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732447744,"description":"Unknown IO ID 45"} 
[2026-06-02 15:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780502016001,"power":14363,"unknown_43":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1972506298732447744}} 
[2026-06-02 15:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":89505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:01:15] local.INFO: GPS data processed {"connection_id":89505,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:01:15] local.INFO: Acknowledgment sent {"connection_id":89505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:01:28] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:01:28] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:01:28] local.INFO: IMEI packet received {"connection_id":89506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":89506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:01:34] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:01:34] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:01:34] local.INFO: IMEI packet received {"connection_id":89506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":89506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:01:34] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:34] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:34] local.INFO: Packet analysis {"connection_id":89506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:01:34] local.INFO: Extracted packet for processing {"connection_id":89506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152992,"longitude_deg":75.0902144,"latitude_deg":12.3152992,"altitude":27,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a60","is_valid_coordinates":true} 
[2026-06-02 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741706950656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:34] 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-06-02 15:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780392474000,"timestamp_ms":1780392474000,"timestamp_seconds":1780392474,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a93590"} 
[2026-06-02 15:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:01: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-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472320001,"66":27310,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4478055741706950656},"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-06-02 15:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:01:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:01:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741706950656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472320001,"power":27310,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741706950656}} 
[2026-06-02 15:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":89506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:01:34] local.INFO: GPS data processed {"connection_id":89506,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:01:34] local.INFO: Acknowledgment sent {"connection_id":89506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:01:39] local.INFO: TCP Data received {"connection_id":89506,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:39] local.INFO: Processing buffer {"connection_id":89506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:01:39] local.INFO: Packet analysis {"connection_id":89506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:01:39] local.INFO: Extracted packet for processing {"connection_id":89506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:01:39] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152992,"longitude_deg":75.0902144,"latitude_deg":12.3152992,"altitude":27,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a60","is_valid_coordinates":true} 
[2026-06-02 15:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741706950656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:39] 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-06-02 15:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780392474000,"timestamp_ms":1780392474000,"timestamp_seconds":1780392474,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a93590"} 
[2026-06-02 15:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:01: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-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472320001,"66":27310,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4478055741706950656},"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-06-02 15:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:01:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741706950656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472320001,"power":27310,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741706950656}} 
[2026-06-02 15:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":89506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:01:39] local.INFO: GPS data processed {"connection_id":89506,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:01:39] local.INFO: Acknowledgment sent {"connection_id":89506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:01:46] local.INFO: TCP Data received {"connection_id":89505,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ab3548012d1b58c00724fd88002700b025..."} 
[2026-06-02 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ab3548012d1b58c00724fd88002700b025..."} 
[2026-06-02 15:01:46] local.INFO: Processing buffer {"connection_id":89505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ab3548012d1b58c00724fd88002700b025..."} 
[2026-06-02 15:01:46] local.INFO: Packet analysis {"connection_id":89505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:01:46] local.INFO: Extracted packet for processing {"connection_id":89505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119864712,"longitude_deg":75.6766912,"latitude_deg":11.9864712,"altitude":39,"angle":176,"satellites":37,"speed":21,"hex_longitude":"2d1b58c0","hex_latitude":"0724fd88","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780505088001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125285896831369216,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080125757440,"note":"Value kept but may cause issues"} 
[2026-06-02 15:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780392605000,"timestamp_ms":1780392605000,"timestamp_seconds":1780392605,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ab3548"} 
[2026-06-02 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-06-02 15:01: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-06-02 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-02 15:01: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-06-02 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-06-02 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-06-02 15:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:01: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-06-02 15:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780505088001,"66":14374,"43":206,"83":41984,"24":21,"16":125285896831369216,"45":1970747080125757440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 15:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780505088001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:01:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 15:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125285896831369216,"km_value":125285896831369.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080125757440,"description":"Unknown IO ID 45"} 
[2026-06-02 15:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780505088001,"power":14374,"unknown_43":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1970747080125757440}} 
[2026-06-02 15:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":89505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:01:46] local.INFO: GPS data processed {"connection_id":89505,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:01:46] local.INFO: Acknowledgment sent {"connection_id":89505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:02:06] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:02:06] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:02:06] local.INFO: IMEI packet received {"connection_id":89779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":89779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:02:10] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:02:10] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:02:10] local.INFO: IMEI packet received {"connection_id":89779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":89779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:02:11] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ab44e8012d1b5a400724f470002700a523..."} 
[2026-06-02 15:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ab44e8012d1b5a400724f470002700a523..."} 
[2026-06-02 15:02:11] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ab44e8012d1b5a400724f470002700a523..."} 
[2026-06-02 15:02:11] local.INFO: Packet analysis {"connection_id":89779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:02:11] local.INFO: Extracted packet for processing {"connection_id":89779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756767296,"raw_latitude":119862384,"longitude_deg":75.6767296,"latitude_deg":11.9862384,"altitude":39,"angle":165,"satellites":35,"speed":25,"hex_longitude":"2d1b5a40","hex_latitude":"0724f470","is_valid_coordinates":true} 
[2026-06-02 15:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780506880001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125286012795486208,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973892491264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:11] 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-06-02 15:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780392609000,"timestamp_ms":1780392609000,"timestamp_seconds":1780392609,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ab44e8"} 
[2026-06-02 15:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 15:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:02:11] 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-06-02 15:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780506880001,"66":14363,"136":206,"83":42752,"24":25,"16":125286012795486208,"45":1970535973892491264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-06-02 15:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780506880001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:02:11] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-02 15:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125286012795486208,"km_value":125286012795486.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973892491264,"description":"Unknown IO ID 45"} 
[2026-06-02 15:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780506880001,"power":14363,"unknown_136":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1970535973892491264}} 
[2026-06-02 15:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":89779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:02:11] local.INFO: GPS data processed {"connection_id":89779,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:02:11] local.INFO: Acknowledgment sent {"connection_id":89779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:02:23] local.INFO: TCP Data received {"connection_id":89507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:02:23] local.INFO: Processing buffer {"connection_id":89507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:02:23] local.INFO: IMEI packet received {"connection_id":89507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":89507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:02:29] local.INFO: TCP Data received {"connection_id":89507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:02:29] local.INFO: Processing buffer {"connection_id":89507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:02:29] local.INFO: IMEI packet received {"connection_id":89507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":89507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:02:30] local.INFO: TCP Data received {"connection_id":89507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:02:30] local.INFO: Processing buffer {"connection_id":89507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:02:30] local.INFO: Packet analysis {"connection_id":89507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:02:30] local.INFO: Extracted packet for processing {"connection_id":89507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152992,"longitude_deg":75.0902144,"latitude_deg":12.3152992,"altitude":27,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a60","is_valid_coordinates":true} 
[2026-06-02 15:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741706950656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:30] 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-06-02 15:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780392474000,"timestamp_ms":1780392474000,"timestamp_seconds":1780392474,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a93590"} 
[2026-06-02 15:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:02: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-06-02 15:02: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:02: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-06-02 15:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:02:30] 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-06-02 15:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472320001,"66":27310,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4478055741706950656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:02:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741706950656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472320001,"power":27310,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741706950656}} 
[2026-06-02 15:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":89507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:02:30] local.INFO: GPS data processed {"connection_id":89507,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:02:30] local.INFO: Acknowledgment sent {"connection_id":89507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:02:43] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ab6040012d1b5cc00724e358002600b124..."} 
[2026-06-02 15:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ab6040012d1b5cc00724e358002600b124..."} 
[2026-06-02 15:02:43] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ab6040012d1b5cc00724e358002600b124..."} 
[2026-06-02 15:02:43] local.INFO: Packet analysis {"connection_id":89779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:02:43] local.INFO: Extracted packet for processing {"connection_id":89779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119858008,"longitude_deg":75.6767936,"latitude_deg":11.9858008,"altitude":38,"angle":177,"satellites":36,"speed":27,"hex_longitude":"2d1b5cc0","hex_latitude":"0724e358","is_valid_coordinates":true} 
[2026-06-02 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780507904001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125286227543851008,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186356961280,"note":"Value kept but may cause issues"} 
[2026-06-02 15:02:43] 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-06-02 15:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780392616000,"timestamp_ms":1780392616000,"timestamp_seconds":1780392616,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ab6040"} 
[2026-06-02 15:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:02: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-06-02 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-02 15:02:43] 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-06-02 15:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:02:43] 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-06-02 15:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780507904001,"66":14396,"136":206,"83":42752,"24":27,"16":125286227543851008,"45":1970958186356961280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-06-02 15:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780507904001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125286227543851008,"km_value":125286227543851.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186356961280,"description":"Unknown IO ID 45"} 
[2026-06-02 15:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780507904001,"power":14396,"unknown_136":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1970958186356961280}} 
[2026-06-02 15:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":89779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:02:43] local.INFO: GPS data processed {"connection_id":89779,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:02:43] local.INFO: Acknowledgment sent {"connection_id":89779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:03:01] local.INFO: TCP Data received {"connection_id":89507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:03:01] local.INFO: Processing buffer {"connection_id":89507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:03:01] local.INFO: Packet analysis {"connection_id":89507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:03:01] local.INFO: Extracted packet for processing {"connection_id":89507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:03:01] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152992,"longitude_deg":75.0902144,"latitude_deg":12.3152992,"altitude":27,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a60","is_valid_coordinates":true} 
[2026-06-02 15:03: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-06-02 15:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741706950656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:01] 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-06-02 15:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780392474000,"timestamp_ms":1780392474000,"timestamp_seconds":1780392474,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a93590"} 
[2026-06-02 15:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:03: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-06-02 15: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:03: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-06-02 15: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-06-02 15:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:03: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-06-02 15:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472320001,"66":27310,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4478055741706950656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:03:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741706950656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472320001,"power":27310,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741706950656}} 
[2026-06-02 15:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":89507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:03:01] local.INFO: GPS data processed {"connection_id":89507,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:03:01] local.INFO: Acknowledgment sent {"connection_id":89507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:03:05] local.INFO: TCP Data received {"connection_id":89781,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:03:05] local.INFO: Processing buffer {"connection_id":89781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:03:05] local.INFO: IMEI packet received {"connection_id":89781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":89781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:03:10] local.INFO: TCP Data received {"connection_id":89781,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:03:10] local.INFO: Processing buffer {"connection_id":89781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:03:10] local.INFO: IMEI packet received {"connection_id":89781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":89781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:03:11] local.INFO: TCP Data received {"connection_id":89781,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ab73c8012d1b5c000724d530002600bd22..."} 
[2026-06-02 15:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ab73c8012d1b5c000724d530002600bd22..."} 
[2026-06-02 15:03:11] local.INFO: Processing buffer {"connection_id":89781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ab73c8012d1b5c000724d530002600bd22..."} 
[2026-06-02 15:03:11] local.INFO: Packet analysis {"connection_id":89781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:03:11] local.INFO: Extracted packet for processing {"connection_id":89781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ab"} 
[2026-06-02 15:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756767744,"raw_latitude":119854384,"longitude_deg":75.6767744,"latitude_deg":11.9854384,"altitude":38,"angle":189,"satellites":34,"speed":30,"hex_longitude":"2d1b5c00","hex_latitude":"0724d530","is_valid_coordinates":true} 
[2026-06-02 15:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780509696001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125286403637510144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971661873797617664,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:11] 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-06-02 15:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780392621000,"timestamp_ms":1780392621000,"timestamp_seconds":1780392621,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ab73c8"} 
[2026-06-02 15:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 15:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:03:11] 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-06-02 15:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780509696001,"66":13896,"136":206,"83":42752,"24":30,"16":125286403637510144,"45":1971661873797617664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-06-02 15:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780509696001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:03:11] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-02 15:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125286403637510144,"km_value":125286403637510.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971661873797617664,"description":"Unknown IO ID 45"} 
[2026-06-02 15:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780509696001,"power":13896,"unknown_136":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1971661873797617664}} 
[2026-06-02 15:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":89781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:03:12] local.INFO: GPS data processed {"connection_id":89781,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:03:12] local.INFO: Acknowledgment sent {"connection_id":89781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:03:23] local.INFO: TCP Data received {"connection_id":90960,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:03:23] local.INFO: Processing buffer {"connection_id":90960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:03:23] local.INFO: IMEI packet received {"connection_id":90960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":90960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:03:29] local.INFO: TCP Data received {"connection_id":90960,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:03:29] local.INFO: Processing buffer {"connection_id":90960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:03:29] local.INFO: IMEI packet received {"connection_id":90960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":90960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:03:30] local.INFO: TCP Data received {"connection_id":90960,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:03:30] local.INFO: Processing buffer {"connection_id":90960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87a93590012cc1db8007572a60001b015a2a..."} 
[2026-06-02 15:03:30] local.INFO: Packet analysis {"connection_id":90960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:03:30] local.INFO: Extracted packet for processing {"connection_id":90960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87a9"} 
[2026-06-02 15:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152992,"longitude_deg":75.0902144,"latitude_deg":12.3152992,"altitude":27,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a60","is_valid_coordinates":true} 
[2026-06-02 15:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780472320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741706950656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:30] 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-06-02 15:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780392474000,"timestamp_ms":1780392474000,"timestamp_seconds":1780392474,"priority":1,"record_length":96,"hex_timestamp":"0000019e87a93590"} 
[2026-06-02 15:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:03: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-06-02 15:03: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:03: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-06-02 15:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:03:30] 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-06-02 15:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780472320001,"66":27310,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4478055741706950656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780472320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:03:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741706950656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780472320001,"power":27310,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741706950656}} 
[2026-06-02 15:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":90960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:03:30] local.INFO: GPS data processed {"connection_id":90960,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:03:30] local.INFO: Acknowledgment sent {"connection_id":90960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:03:43] local.INFO: TCP Data received {"connection_id":89781,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87adb9d0012d1a6cc0072406a0002e00eb25..."} 
[2026-06-02 15:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87adb9d0012d1a6cc0072406a0002e00eb25..."} 
[2026-06-02 15:03:43] local.INFO: Processing buffer {"connection_id":89781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87adb9d0012d1a6cc0072406a0002e00eb25..."} 
[2026-06-02 15:03:43] local.INFO: Packet analysis {"connection_id":89781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:03:43] local.INFO: Extracted packet for processing {"connection_id":89781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119801504,"longitude_deg":75.6706496,"latitude_deg":11.9801504,"altitude":46,"angle":235,"satellites":37,"speed":33,"hex_longitude":"2d1a6cc0","hex_latitude":"072406a0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780545536001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125290445201735680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913466922349383680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780392770000,"timestamp_ms":1780392770000,"timestamp_seconds":1780392770,"priority":1,"record_length":96,"hex_timestamp":"0000019e87adb9d0"} 
[2026-06-02 15:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:03: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-06-02 15: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":169,"data_length":795,"current_offset":136} 
[2026-06-02 15:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:03:43] 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-06-02 15:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780545536001,"66":13993,"43":206,"83":42752,"24":33,"16":125290445201735680,"45":1913466922349383680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 15:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780545536001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:03:43] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 15:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125290445201735680,"km_value":125290445201735.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913466922349383680,"description":"Unknown IO ID 45"} 
[2026-06-02 15:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780545536001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1913466922349383680}} 
[2026-06-02 15:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":89781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:03:43] local.INFO: GPS data processed {"connection_id":89781,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:03:43] local.INFO: Acknowledgment sent {"connection_id":89781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:04:00] local.INFO: TCP Data received {"connection_id":90960,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:04:00] local.INFO: Processing buffer {"connection_id":90960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:04:00] local.INFO: Packet analysis {"connection_id":90960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:00] local.INFO: Extracted packet for processing {"connection_id":90960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:00] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:04: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-06-02 15:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04: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-06-02 15:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:04: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-06-02 15:04: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":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:04:00] 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-06-02 15:04: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-06-02 15:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:04:00] 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-06-02 15:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:04:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":90960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:04:00] local.INFO: GPS data processed {"connection_id":90960,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:04:00] local.INFO: Acknowledgment sent {"connection_id":90960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:04:09] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:04:09] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:04:09] local.INFO: IMEI packet received {"connection_id":89782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":89782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:04:19] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 15:04:19] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 15:04:19] local.INFO: IMEI packet received {"connection_id":89782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":89782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:04:21] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87adc970012d1a62000723fd80002e00de25..."} 
[2026-06-02 15:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87adc970012d1a62000723fd80002e00de25..."} 
[2026-06-02 15:04:21] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019e87..."} 
[2026-06-02 15:04:21] local.INFO: IMEI packet received {"connection_id":89782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":89782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:04:22] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ade4c8012d1a51400723e7e8002f00d224..."} 
[2026-06-02 15:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ade4c8012d1a51400723e7e8002f00d224..."} 
[2026-06-02 15:04:22] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e87adc970012d1a62000723fd80002e00de25..."} 
[2026-06-02 15:04:22] local.INFO: Packet analysis {"connection_id":89782,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:22] local.INFO: Extracted packet for processing {"connection_id":89782,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756703744,"raw_latitude":119799168,"longitude_deg":75.6703744,"latitude_deg":11.9799168,"altitude":46,"angle":222,"satellites":37,"speed":37,"hex_longitude":"2d1a6200","hex_latitude":"0723fd80","is_valid_coordinates":true} 
[2026-06-02 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780549120001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125290621295394816,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879372595200,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04: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-06-02 15:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780392774000,"timestamp_ms":1780392774000,"timestamp_seconds":1780392774,"priority":1,"record_length":96,"hex_timestamp":"0000019e87adc970"} 
[2026-06-02 15:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:04: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-06-02 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 15:04:22] 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-06-02 15:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":89782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:04: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-06-02 15:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780549120001,"66":13961,"42":206,"83":42752,"24":37,"16":125290621295394816,"45":1904107879372595200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 15:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780549120001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125290621295394816,"km_value":125290621295394.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879372595200,"description":"Unknown IO ID 45"} 
[2026-06-02 15:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780549120001,"power":13961,"unknown_42":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1904107879372595200}} 
[2026-06-02 15:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":89782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:04:22] local.INFO: GPS data processed {"connection_id":89782,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:04:22] local.INFO: Acknowledgment sent {"connection_id":89782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:04:22] local.INFO: Packet analysis {"connection_id":89782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:22] local.INFO: Extracted packet for processing {"connection_id":89782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756699456,"raw_latitude":119793640,"longitude_deg":75.6699456,"latitude_deg":11.979364,"altitude":47,"angle":210,"satellites":36,"speed":41,"hex_longitude":"2d1a5140","hex_latitude":"0723e7e8","is_valid_coordinates":true} 
[2026-06-02 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780550144001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125290956302843904,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901082023372357632,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04: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-06-02 15:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780392781000,"timestamp_ms":1780392781000,"timestamp_seconds":1780392781,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ade4c8"} 
[2026-06-02 15:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:04: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-06-02 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 15:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":89782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:04: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-06-02 15:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780550144001,"66":13928,"42":206,"83":42752,"24":41,"16":125290956302843904,"45":1901082023372357632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 15:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780550144001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125290956302843904,"km_value":125290956302843.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901082023372357632,"description":"Unknown IO ID 45"} 
[2026-06-02 15:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780550144001,"power":13928,"unknown_42":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1901082023372357632}} 
[2026-06-02 15:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":89782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:04:22] local.INFO: GPS data processed {"connection_id":89782,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:04:22] local.INFO: Acknowledgment sent {"connection_id":89782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:04:23] local.INFO: TCP Data received {"connection_id":89782,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ae07f0012d1a3d400723c730003100d924..."} 
[2026-06-02 15:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ae07f0012d1a3d400723c730003100d924..."} 
[2026-06-02 15:04:23] local.INFO: Processing buffer {"connection_id":89782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ae07f0012d1a3d400723c730003100d924..."} 
[2026-06-02 15:04:23] local.INFO: Packet analysis {"connection_id":89782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ae"} 
[2026-06-02 15:04:23] local.INFO: Extracted packet for processing {"connection_id":89782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ae"} 
[2026-06-02 15:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756694336,"raw_latitude":119785264,"longitude_deg":75.6694336,"latitude_deg":11.9785264,"altitude":49,"angle":217,"satellites":36,"speed":43,"hex_longitude":"2d1a3d40","hex_latitude":"0723c730","is_valid_coordinates":true} 
[2026-06-02 15:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780551936001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125291428749246464,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896367317511038976,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:23] 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-06-02 15:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780392790000,"timestamp_ms":1780392790000,"timestamp_seconds":1780392790,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ae07f0"} 
[2026-06-02 15:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 15:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":89782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":89782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780551936001,"66":13928,"42":206,"83":42752,"24":43,"16":125291428749246464,"45":1896367317511038976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 15:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780551936001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:04:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 15:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 15:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125291428749246464,"km_value":125291428749246.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896367317511038976,"description":"Unknown IO ID 45"} 
[2026-06-02 15:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780551936001,"power":13928,"unknown_42":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1896367317511038976}} 
[2026-06-02 15:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":89782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:04:23] local.INFO: GPS data processed {"connection_id":89782,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:04:23] local.INFO: Acknowledgment sent {"connection_id":89782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:04:23] local.INFO: TCP Data received {"connection_id":90961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:04:23] local.INFO: Processing buffer {"connection_id":90961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:04:23] local.INFO: IMEI packet received {"connection_id":90961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":90961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:04:29] local.INFO: TCP Data received {"connection_id":90961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:04:29] local.INFO: Processing buffer {"connection_id":90961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:04:29] local.INFO: IMEI packet received {"connection_id":90961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":90961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:04:29] local.INFO: TCP Data received {"connection_id":90961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:04:29] local.INFO: Processing buffer {"connection_id":90961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:04:29] local.INFO: Packet analysis {"connection_id":90961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:29] local.INFO: Extracted packet for processing {"connection_id":90961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:04:29] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:04: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-06-02 15:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:04:29] 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-06-02 15: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:04:29] 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-06-02 15: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-06-02 15:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:04:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":90961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:04:29] local.INFO: GPS data processed {"connection_id":90961,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:04:29] local.INFO: Acknowledgment sent {"connection_id":90961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:05:01] local.INFO: TCP Data received {"connection_id":90961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:01] local.INFO: Processing buffer {"connection_id":90961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:01] local.INFO: Packet analysis {"connection_id":90961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:05:01] local.INFO: Extracted packet for processing {"connection_id":90961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:01] 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-06-02 15:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 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-06-02 15:05: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-06-02 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:05:01] 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-06-02 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-06-02 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-06-02 15:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:05:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":90961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:05:01] local.INFO: GPS data processed {"connection_id":90961,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:05:01] local.INFO: Acknowledgment sent {"connection_id":90961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:05:17] local.INFO: TCP Data received {"connection_id":89783,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:05:17] local.INFO: Processing buffer {"connection_id":89783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:05:17] local.INFO: IMEI packet received {"connection_id":89783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":89783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:05:18] local.INFO: TCP Data received {"connection_id":89783,"ip":"42.106.6.26","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 15:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89783,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 15:05:18] local.INFO: Processing buffer {"connection_id":89783,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 15:05:18] local.INFO: IMEI packet received {"connection_id":89783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":89783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:05:29] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:05:29] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:05:29] local.INFO: IMEI packet received {"connection_id":89885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":89885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:05:33] local.INFO: TCP Data received {"connection_id":89508,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:05:33] local.INFO: Processing buffer {"connection_id":89508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:05:33] local.INFO: IMEI packet received {"connection_id":89508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":89508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:05:34] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:05:34] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:05:34] local.INFO: IMEI packet received {"connection_id":89885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":89885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:05:34] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:34] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:34] local.INFO: Packet analysis {"connection_id":89885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:05:34] local.INFO: Extracted packet for processing {"connection_id":89885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:34] 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-06-02 15:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:05:34] 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-06-02 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:05:34] 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-06-02 15: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-06-02 15:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:05:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:05:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":89885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:05:34] local.INFO: GPS data processed {"connection_id":89885,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:05:34] local.INFO: Acknowledgment sent {"connection_id":89885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:05:40] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:40] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:05:40] local.INFO: Packet analysis {"connection_id":89885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:05:40] local.INFO: Extracted packet for processing {"connection_id":89885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:05:40] 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-06-02 15:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:05:40] 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-06-02 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:05:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":89885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:05:41] local.INFO: GPS data processed {"connection_id":89885,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:05:41] local.INFO: Acknowledgment sent {"connection_id":89885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:05:58] local.INFO: TCP Data received {"connection_id":89509,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:05:58] local.INFO: Processing buffer {"connection_id":89509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:05:58] local.INFO: IMEI packet received {"connection_id":89509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":89509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:06:24] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:06:24] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:06:24] local.INFO: IMEI packet received {"connection_id":89510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":89510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:06:29] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:06:29] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:06:29] local.INFO: IMEI packet received {"connection_id":89510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":89510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:06:29] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:06:29] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:06:29] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:06:29] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:06:29] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:06: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-06-02 15:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:06:29] 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-06-02 15: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:06:29] 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-06-02 15: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-06-02 15:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:06:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:06:29] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:06:29] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:07:00] local.INFO: TCP Data received {"connection_id":89510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:07:00] local.INFO: Processing buffer {"connection_id":89510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:07:00] local.INFO: Packet analysis {"connection_id":89510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:07:00] local.INFO: Extracted packet for processing {"connection_id":89510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:07:00] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:07:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:07: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-06-02 15:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:07: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-06-02 15:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:07:00] 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-06-02 15:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:07:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:07:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":89510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:07:00] local.INFO: GPS data processed {"connection_id":89510,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:07:00] local.INFO: Acknowledgment sent {"connection_id":89510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:07:24] local.INFO: TCP Data received {"connection_id":90962,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:07:24] local.INFO: Processing buffer {"connection_id":90962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:07:24] local.INFO: IMEI packet received {"connection_id":90962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":90962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:07:29] local.INFO: TCP Data received {"connection_id":90962,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:07:29] local.INFO: Processing buffer {"connection_id":90962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:07:29] local.INFO: IMEI packet received {"connection_id":90962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":90962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:07:29] local.INFO: TCP Data received {"connection_id":90962,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:07:29] local.INFO: Processing buffer {"connection_id":90962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:07:29] local.INFO: Packet analysis {"connection_id":90962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:07:29] local.INFO: Extracted packet for processing {"connection_id":90962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:07:29] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:07: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-06-02 15:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:07:29] 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-06-02 15: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:07:29] 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-06-02 15: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-06-02 15:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:07:29] 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-06-02 15:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:07:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":90962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:07:29] local.INFO: GPS data processed {"connection_id":90962,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:07:29] local.INFO: Acknowledgment sent {"connection_id":90962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:08:01] local.INFO: TCP Data received {"connection_id":90962,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:08:01] local.INFO: Processing buffer {"connection_id":90962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:08:01] local.INFO: Packet analysis {"connection_id":90962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:08:01] local.INFO: Extracted packet for processing {"connection_id":90962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:08:01] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:08:01] 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-06-02 15:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:08: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-06-02 15: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:08:01] 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-06-02 15: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-06-02 15:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:08:01] 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-06-02 15:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:08:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":90962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:08:01] local.INFO: GPS data processed {"connection_id":90962,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:08:01] local.INFO: Acknowledgment sent {"connection_id":90962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:08:23] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:08:23] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:08:23] local.INFO: IMEI packet received {"connection_id":89787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":89787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:08:29] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:08:29] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:08:29] local.INFO: IMEI packet received {"connection_id":89787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":89787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:08:29] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:08:29] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87add140012cc1de0007572e70001d015a25..."} 
[2026-06-02 15:08:29] local.INFO: Packet analysis {"connection_id":89787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:08:29] local.INFO: Extracted packet for processing {"connection_id":89787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ad"} 
[2026-06-02 15:08:29] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":29,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:08: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-06-02 15:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780473344001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474305024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:08: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-06-02 15:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780392776000,"timestamp_ms":1780392776000,"timestamp_seconds":1780392776,"priority":1,"record_length":96,"hex_timestamp":"0000019e87add140"} 
[2026-06-02 15:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:08:29] 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-06-02 15:08: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":174,"data_length":795,"current_offset":136} 
[2026-06-02 15:08:29] 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-06-02 15:08: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-06-02 15:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780473344001,"66":26321,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477844635474305024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780473344001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:08:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474305024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780473344001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474305024}} 
[2026-06-02 15:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":89787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:08:29] local.INFO: GPS data processed {"connection_id":89787,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:08:29] local.INFO: Acknowledgment sent {"connection_id":89787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:09:00] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:09:00] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:09:00] local.INFO: Packet analysis {"connection_id":89787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:09:00] local.INFO: Extracted packet for processing {"connection_id":89787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":14,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780550656001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477140948032262144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:09: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-06-02 15:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780393077000,"timestamp_ms":1780393077000,"timestamp_seconds":1780393077,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b26908"} 
[2026-06-02 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-06-02 15:09: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-06-02 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 15:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 15:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780550656001,"66":26158,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477140948032262144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-02 15:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780550656001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:09:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477140948032262144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780550656001,"power":26158,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477140948032262144}} 
[2026-06-02 15:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":89787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:09:00] local.INFO: GPS data processed {"connection_id":89787,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:09:00] local.INFO: Acknowledgment sent {"connection_id":89787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:09:23] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:09:23] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:09:23] local.INFO: IMEI packet received {"connection_id":89511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":89511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:09:29] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:09:29] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:09:29] local.INFO: IMEI packet received {"connection_id":89511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":89511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:09:29] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:09:29] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:09:29] local.INFO: Packet analysis {"connection_id":89511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:09:29] local.INFO: Extracted packet for processing {"connection_id":89511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:09:29] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":14,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780550656001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477140948032262144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:09: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-06-02 15:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780393077000,"timestamp_ms":1780393077000,"timestamp_seconds":1780393077,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b26908"} 
[2026-06-02 15:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 15:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:09: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-06-02 15:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780550656001,"66":26158,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477140948032262144},"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-06-02 15:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780550656001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:09:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477140948032262144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780550656001,"power":26158,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477140948032262144}} 
[2026-06-02 15:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":89511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:09:29] local.INFO: GPS data processed {"connection_id":89511,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:09:29] local.INFO: Acknowledgment sent {"connection_id":89511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:10:00] local.INFO: TCP Data received {"connection_id":89511,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:10:00] local.INFO: Processing buffer {"connection_id":89511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:10:00] local.INFO: Packet analysis {"connection_id":89511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:10:00] local.INFO: Extracted packet for processing {"connection_id":89511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:10:00] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":14,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780550656001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477140948032262144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10: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-06-02 15:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780393077000,"timestamp_ms":1780393077000,"timestamp_seconds":1780393077,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b26908"} 
[2026-06-02 15:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:10: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-06-02 15:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 15:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:10: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-06-02 15:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780550656001,"66":26158,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477140948032262144},"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-06-02 15:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780550656001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:10:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477140948032262144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780550656001,"power":26158,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477140948032262144}} 
[2026-06-02 15:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":89511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:10:01] local.INFO: GPS data processed {"connection_id":89511,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:10:01] local.INFO: Acknowledgment sent {"connection_id":89511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:10:20] local.INFO: TCP Data received {"connection_id":89889,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:10:20] local.INFO: Processing buffer {"connection_id":89889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:10:20] local.INFO: IMEI packet received {"connection_id":89889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":89889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:10:21] local.INFO: TCP Data received {"connection_id":89889,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b16350012d1824c00721b418004d00f124..."} 
[2026-06-02 15:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b16350012d1824c00721b418004d00f124..."} 
[2026-06-02 15:10:21] local.INFO: Processing buffer {"connection_id":89889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b16350012d1824c00721b418004d00f124..."} 
[2026-06-02 15:10:21] local.INFO: Packet analysis {"connection_id":89889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:10:21] local.INFO: Extracted packet for processing {"connection_id":89889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119649304,"longitude_deg":75.6556992,"latitude_deg":11.9649304,"altitude":77,"angle":241,"satellites":36,"speed":7,"hex_longitude":"2d1824c0","hex_latitude":"0721b418","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780610304001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301899879514112,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167166464,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780393010000,"timestamp_ms":1780393010000,"timestamp_seconds":1780393010,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b16350"} 
[2026-06-02 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-06-02 15:10: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-06-02 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 15:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 15:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:10:21] 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-06-02 15:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780610304001,"66":13820,"105":206,"83":41984,"24":7,"16":125301899879514112,"45":1739937599167166464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780610304001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:10:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301899879514112,"km_value":125301899879514.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167166464,"description":"Unknown IO ID 45"} 
[2026-06-02 15:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780610304001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739937599167166464}} 
[2026-06-02 15:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":89889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:10:21] local.INFO: GPS data processed {"connection_id":89889,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:10:21] local.INFO: Acknowledgment sent {"connection_id":89889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:10:29] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:10:29] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:10:29] local.INFO: IMEI packet received {"connection_id":89512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":89512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:10:34] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:10:34] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:10:34] local.INFO: IMEI packet received {"connection_id":89512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":89512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:10:34] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:10:34] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:10:34] local.INFO: Packet analysis {"connection_id":89512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:10:34] local.INFO: Extracted packet for processing {"connection_id":89512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:10:34] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":14,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780550656001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477140948032262144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:10:34] 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-06-02 15:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780393077000,"timestamp_ms":1780393077000,"timestamp_seconds":1780393077,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b26908"} 
[2026-06-02 15:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 15:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780550656001,"66":26158,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477140948032262144},"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-06-02 15:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780550656001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:10:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477140948032262144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780550656001,"power":26158,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477140948032262144}} 
[2026-06-02 15:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":89512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:10:34] local.INFO: GPS data processed {"connection_id":89512,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:10:34] local.INFO: Acknowledgment sent {"connection_id":89512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:11:06] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:11:06] local.INFO: TCP Data received {"connection_id":89512,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:11:06] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:11:06] local.INFO: IMEI packet received {"connection_id":89890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":89890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:11:06] local.INFO: Processing buffer {"connection_id":89512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b26908012cc1de0007572e70000e015a28..."} 
[2026-06-02 15:11:06] local.INFO: Packet analysis {"connection_id":89512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:11:06] local.INFO: Extracted packet for processing {"connection_id":89512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b2"} 
[2026-06-02 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":14,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780550656001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477140948032262144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:06] 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-06-02 15:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780393077000,"timestamp_ms":1780393077000,"timestamp_seconds":1780393077,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b26908"} 
[2026-06-02 15:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 15:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:11: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-06-02 15:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780550656001,"66":26158,"103":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477140948032262144},"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-06-02 15:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780550656001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:11:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477140948032262144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780550656001,"power":26158,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477140948032262144}} 
[2026-06-02 15:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":89512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:11:06] local.INFO: GPS data processed {"connection_id":89512,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:11:06] local.INFO: Acknowledgment sent {"connection_id":89512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:11:10] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:11:10] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:11:10] local.INFO: IMEI packet received {"connection_id":89890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":89890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:11:11] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b172f0012d1822800721b2e8004e00e524..."} 
[2026-06-02 15:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b172f0012d1822800721b2e8004e00e524..."} 
[2026-06-02 15:11:11] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b172f0012d1822800721b2e8004e00e524..."} 
[2026-06-02 15:11:11] local.INFO: Packet analysis {"connection_id":89890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:11:11] local.INFO: Extracted packet for processing {"connection_id":89890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649000,"longitude_deg":75.6556416,"latitude_deg":11.9649,"altitude":78,"angle":229,"satellites":36,"speed":5,"hex_longitude":"2d182280","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780610560001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301934239252480,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934608896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393014000,"timestamp_ms":1780393014000,"timestamp_seconds":1780393014,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b172f0"} 
[2026-06-02 15:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 15:11:11] 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-06-02 15:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:11:11] 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-06-02 15:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780610560001,"66":12841,"105":206,"83":41984,"24":5,"16":125301934239252480,"45":1739726492934608896},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780610560001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:11:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301934239252480,"km_value":125301934239252.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934608896,"description":"Unknown IO ID 45"} 
[2026-06-02 15:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780610560001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739726492934608896}} 
[2026-06-02 15:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":89890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:11:11] local.INFO: GPS data processed {"connection_id":89890,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:11:11] local.INFO: Acknowledgment sent {"connection_id":89890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:11:16] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b1bd28012d1821c00721b1c0004d002327..."} 
[2026-06-02 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b1bd28012d1821c00721b1c0004d002327..."} 
[2026-06-02 15:11:16] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b1bd28012d1821c00721b1c0004d002327..."} 
[2026-06-02 15:11:16] local.INFO: Packet analysis {"connection_id":89890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:11:16] local.INFO: Extracted packet for processing {"connection_id":89890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648704,"longitude_deg":75.6556224,"latitude_deg":11.9648704,"altitude":77,"angle":35,"satellites":39,"speed":2,"hex_longitude":"2d1821c0","hex_latitude":"0721b1c0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780611584001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301972893958144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236932096,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11: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-06-02 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780393033000,"timestamp_ms":1780393033000,"timestamp_seconds":1780393033,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b1bd28"} 
[2026-06-02 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-06-02 15:11: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-06-02 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 15:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:11:16] 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-06-02 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780611584001,"66":13004,"105":206,"83":41984,"24":2,"16":125301972893958144,"45":1739093174236932096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780611584001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:11:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301972893958144,"km_value":125301972893958.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236932096,"description":"Unknown IO ID 45"} 
[2026-06-02 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780611584001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739093174236932096}} 
[2026-06-02 15:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":89890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:11:16] local.INFO: GPS data processed {"connection_id":89890,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:11:16] local.INFO: Acknowledgment sent {"connection_id":89890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:11:24] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:11:24] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:11:24] local.INFO: IMEI packet received {"connection_id":89790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":89790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:11:29] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:11:29] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:11:29] local.INFO: IMEI packet received {"connection_id":89790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":89790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:11:29] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b4d620012cc1de0007572e70000e015a27..."} 
[2026-06-02 15:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b4d620012cc1de0007572e70000e015a27..."} 
[2026-06-02 15:11:29] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b4d620012cc1de0007572e70000e015a27..."} 
[2026-06-02 15:11:29] local.INFO: Packet analysis {"connection_id":89790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b4"} 
[2026-06-02 15:11:29] local.INFO: Extracted packet for processing {"connection_id":89790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b4"} 
[2026-06-02 15:11:29] local.INFO: GPS Element Parsed {"raw_longitude":750902784,"raw_latitude":123154032,"longitude_deg":75.0902784,"latitude_deg":12.3154032,"altitude":14,"angle":346,"satellites":39,"speed":0,"hex_longitude":"2cc1de00","hex_latitude":"07572e70","is_valid_coordinates":true} 
[2026-06-02 15:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780627712001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477140948032262144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780393236000,"timestamp_ms":1780393236000,"timestamp_seconds":1780393236,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b4d620"} 
[2026-06-02 15:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 15:11:29] 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-06-02 15: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-06-02 15:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:11: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-06-02 15:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780627712001,"66":26082,"104":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477140948032262144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-06-02 15:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780627712001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:11:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-02 15:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477140948032262144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780627712001,"power":26082,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477140948032262144}} 
[2026-06-02 15:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":89790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:11:29] local.INFO: GPS data processed {"connection_id":89790,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:11:29] local.INFO: Acknowledgment sent {"connection_id":89790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:11:31] local.INFO: TCP Data received {"connection_id":89789,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:11:31] local.INFO: Processing buffer {"connection_id":89789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:11:31] local.INFO: IMEI packet received {"connection_id":89789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":89789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:11:47] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b1c4f8012d1821c00721b200004d001326..."} 
[2026-06-02 15:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b1c4f8012d1821c00721b200004d001326..."} 
[2026-06-02 15:11:47] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b1c4f8012d1821c00721b200004d001326..."} 
[2026-06-02 15:11:47] local.INFO: Packet analysis {"connection_id":89890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:11:47] local.INFO: Extracted packet for processing {"connection_id":89890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648768,"longitude_deg":75.6556224,"latitude_deg":11.9648768,"altitude":77,"angle":19,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780616448001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301972893958144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004323328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:11: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-06-02 15:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780393035000,"timestamp_ms":1780393035000,"timestamp_seconds":1780393035,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b1c4f8"} 
[2026-06-02 15:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:11: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-06-02 15: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":204,"data_length":795,"current_offset":136} 
[2026-06-02 15:11: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-06-02 15: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-06-02 15:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:11:47] 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-06-02 15:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780616448001,"66":12972,"105":206,"83":41984,"24":0,"16":125301972893958144,"45":1738882068004323328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780616448001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:11:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301972893958144,"km_value":125301972893958.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004323328,"description":"Unknown IO ID 45"} 
[2026-06-02 15:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780616448001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004323328}} 
[2026-06-02 15:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":89890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:11:47] local.INFO: GPS data processed {"connection_id":89890,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:11:47] local.INFO: Acknowledgment sent {"connection_id":89890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:11:58] local.INFO: TCP Data received {"connection_id":90964,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:11:58] local.INFO: Processing buffer {"connection_id":90964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:11:58] local.INFO: IMEI packet received {"connection_id":90964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":90964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:12:00] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b4e9a8012cc1e00007573718000e010025..."} 
[2026-06-02 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b4e9a8012cc1e00007573718000e010025..."} 
[2026-06-02 15:12:00] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b4e9a8012cc1e00007573718000e010025..."} 
[2026-06-02 15:12:00] local.INFO: Packet analysis {"connection_id":89790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b4"} 
[2026-06-02 15:12:00] local.INFO: Extracted packet for processing {"connection_id":89790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b4"} 
[2026-06-02 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":750903296,"raw_latitude":123156248,"longitude_deg":75.0903296,"latitude_deg":12.3156248,"altitude":14,"angle":256,"satellites":37,"speed":0,"hex_longitude":"2cc1e000","hex_latitude":"07573718","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780668416001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305827050436952064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477140948032262144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780393241000,"timestamp_ms":1780393241000,"timestamp_seconds":1780393241,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b4e9a8"} 
[2026-06-02 15:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 15:12: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-06-02 15: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-06-02 15:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15: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-06-02 15:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780668416001,"66":27767,"104":206,"85":37120,"24":0,"16":305827050436952064,"44":-4477140948032262144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-06-02 15:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780668416001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:12:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-02 15:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305827050436952064,"km_value":305827050436952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477140948032262144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780668416001,"power":27767,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477140948032262144}} 
[2026-06-02 15:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":89790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:12:00] local.INFO: GPS data processed {"connection_id":89790,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:12:00] local.INFO: Acknowledgment sent {"connection_id":89790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:12:05] local.INFO: TCP Data received {"connection_id":90965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:12:05] local.INFO: Processing buffer {"connection_id":90965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:12:05] local.INFO: IMEI packet received {"connection_id":90965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":90965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:12:11] local.INFO: TCP Data received {"connection_id":90965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:12:11] local.INFO: Processing buffer {"connection_id":90965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:12:11] local.INFO: IMEI packet received {"connection_id":90965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":90965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:12:11] local.INFO: TCP Data received {"connection_id":90965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b1fba8012d1821800721b288004d00df27..."} 
[2026-06-02 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b1fba8012d1821800721b288004d00df27..."} 
[2026-06-02 15:12:11] local.INFO: Processing buffer {"connection_id":90965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b1fba8012d1821800721b288004d00df27..."} 
[2026-06-02 15:12:11] local.INFO: Packet analysis {"connection_id":90965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:12:11] local.INFO: Extracted packet for processing {"connection_id":90965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b1"} 
[2026-06-02 15:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":39,"speed":1,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780616960001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301981483892736,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004339712,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393049000,"timestamp_ms":1780393049000,"timestamp_seconds":1780393049,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b1fba8"} 
[2026-06-02 15:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:12:11] 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-06-02 15:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:12:11] 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-06-02 15:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780616960001,"66":13004,"105":206,"83":41984,"24":1,"16":125301981483892736,"45":1738882068004339712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780616960001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:12:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301981483892736,"km_value":125301981483892.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004339712,"description":"Unknown IO ID 45"} 
[2026-06-02 15:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780616960001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738882068004339712}} 
[2026-06-02 15:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":90965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:12:12] local.INFO: GPS data processed {"connection_id":90965,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:12:12] local.INFO: Acknowledgment sent {"connection_id":90965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:12:23] local.INFO: TCP Data received {"connection_id":89513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:23] local.INFO: Processing buffer {"connection_id":89513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:23] local.INFO: IMEI packet received {"connection_id":89513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":89513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:12:24] local.INFO: TCP Data received {"connection_id":89513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:24] local.INFO: Processing buffer {"connection_id":89513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:24] local.INFO: IMEI packet received {"connection_id":89513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":89513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:12:25] local.INFO: TCP Data received {"connection_id":89513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:25] local.INFO: Processing buffer {"connection_id":89513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:25] local.INFO: IMEI packet received {"connection_id":89513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":89513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:12:26] local.INFO: TCP Data received {"connection_id":89513,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:26] local.INFO: Processing buffer {"connection_id":89513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:12:26] local.INFO: IMEI packet received {"connection_id":89513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":89513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:12:43] local.INFO: TCP Data received {"connection_id":90965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b58200012d1821800721b288004d00df2a..."} 
[2026-06-02 15:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b58200012d1821800721b288004d00df2a..."} 
[2026-06-02 15:12:43] local.INFO: Processing buffer {"connection_id":90965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b58200012d1821800721b288004d00df2a..."} 
[2026-06-02 15:12:43] local.INFO: Packet analysis {"connection_id":90965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b5"} 
[2026-06-02 15:12:43] local.INFO: Extracted packet for processing {"connection_id":90965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b5"} 
[2026-06-02 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780674304001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780393280000,"timestamp_ms":1780393280000,"timestamp_seconds":1780393280,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b58200"} 
[2026-06-02 15:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:12: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-06-02 15:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2276672456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-5552445754287054464,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428152683979398951,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 15:12:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,41,158,221,45,128,178,77,40,10,66,139,57,1,240,52,227,135,33,4,113,205,149,136,39,239,50,2,189,7,164,127],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 15:12:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548680103812136960,"timestamp_seconds":5548680103812137.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:12:43] 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-06-02 15:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780674304001,"66":12798,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780674304001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:12:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:12:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780674304001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":90965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:12:43] local.INFO: GPS data processed {"connection_id":90965,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:12:43] local.INFO: Acknowledgment sent {"connection_id":90965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:13:05] local.INFO: TCP Data received {"connection_id":89515,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:13:05] local.INFO: Processing buffer {"connection_id":89515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:13:05] local.INFO: IMEI packet received {"connection_id":89515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":89515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:13:10] local.INFO: TCP Data received {"connection_id":89515,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:13:10] local.INFO: Processing buffer {"connection_id":89515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:13:10] local.INFO: IMEI packet received {"connection_id":89515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":89515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:13:11] local.INFO: TCP Data received {"connection_id":89515,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b5d408012d1821800721b288004d00df28..."} 
[2026-06-02 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b5d408012d1821800721b288004d00df28..."} 
[2026-06-02 15:13:11] local.INFO: Processing buffer {"connection_id":89515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b5d408012d1821800721b288004d00df28..."} 
[2026-06-02 15:13:11] local.INFO: Packet analysis {"connection_id":89515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b5"} 
[2026-06-02 15:13:11] local.INFO: Extracted packet for processing {"connection_id":89515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b5"} 
[2026-06-02 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780679680001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393301000,"timestamp_ms":1780393301000,"timestamp_seconds":1780393301,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b5d408"} 
[2026-06-02 15:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 15:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:13:11] 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-06-02 15:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780679680001,"66":12743,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780679680001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:13:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780679680001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":89515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:13:11] local.INFO: GPS data processed {"connection_id":89515,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:13:11] local.INFO: Acknowledgment sent {"connection_id":89515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:13:42] local.INFO: TCP Data received {"connection_id":89515,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b62610012d1821800721b288004d00df25..."} 
[2026-06-02 15:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b62610012d1821800721b288004d00df25..."} 
[2026-06-02 15:13:42] local.INFO: Processing buffer {"connection_id":89515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b62610012d1821800721b288004d00df25..."} 
[2026-06-02 15:13:42] local.INFO: Packet analysis {"connection_id":89515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b6"} 
[2026-06-02 15:13:42] local.INFO: Extracted packet for processing {"connection_id":89515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b6"} 
[2026-06-02 15:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780685056001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780393322000,"timestamp_ms":1780393322000,"timestamp_seconds":1780393322,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b62610"} 
[2026-06-02 15:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 15:13:42] 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-06-02 15:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:13:42] 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-06-02 15:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780685056001,"66":12776,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780685056001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:13:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780685056001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":89515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:13:42] local.INFO: GPS data processed {"connection_id":89515,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:13:42] local.INFO: Acknowledgment sent {"connection_id":89515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:14:04] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:04] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:04] local.INFO: IMEI packet received {"connection_id":89892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":89892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:14:05] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:05] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:05] local.INFO: IMEI packet received {"connection_id":89892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":89892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:14:11] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:11] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:14:11] local.INFO: IMEI packet received {"connection_id":89892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":89892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:14:12] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b67818012d1821800721b288004d00df29..."} 
[2026-06-02 15:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b67818012d1821800721b288004d00df29..."} 
[2026-06-02 15:14:12] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b67818012d1821800721b288004d00df29..."} 
[2026-06-02 15:14:12] local.INFO: Packet analysis {"connection_id":89892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b6"} 
[2026-06-02 15:14:12] local.INFO: Extracted packet for processing {"connection_id":89892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b6"} 
[2026-06-02 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780690432001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780393343000,"timestamp_ms":1780393343000,"timestamp_seconds":1780393343,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b67818"} 
[2026-06-02 15:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:14: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-06-02 15:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 15:14:12] 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-06-02 15:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:14:12] 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-06-02 15:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780690432001,"66":12743,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780690432001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:14:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780690432001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":89892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:14:12] local.INFO: GPS data processed {"connection_id":89892,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:14:12] local.INFO: Acknowledgment sent {"connection_id":89892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:14:43] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b6ca20012d1821800721b288004d00df29..."} 
[2026-06-02 15:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b6ca20012d1821800721b288004d00df29..."} 
[2026-06-02 15:14:43] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b6ca20012d1821800721b288004d00df29..."} 
[2026-06-02 15:14:43] local.INFO: Packet analysis {"connection_id":89892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b6"} 
[2026-06-02 15:14:43] local.INFO: Extracted packet for processing {"connection_id":89892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b6"} 
[2026-06-02 15:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780695808001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780393364000,"timestamp_ms":1780393364000,"timestamp_seconds":1780393364,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b6ca20"} 
[2026-06-02 15:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:14: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-06-02 15:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 15:14:43] 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-06-02 15:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:14:43] 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-06-02 15:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780695808001,"66":12722,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780695808001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:14:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780695808001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":89892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:14:43] local.INFO: GPS data processed {"connection_id":89892,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:14:43] local.INFO: Acknowledgment sent {"connection_id":89892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:15:05] local.INFO: TCP Data received {"connection_id":89792,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:05] local.INFO: Processing buffer {"connection_id":89792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:05] local.INFO: IMEI packet received {"connection_id":89792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":89792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:15:07] local.INFO: TCP Data received {"connection_id":89792,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:07] local.INFO: Processing buffer {"connection_id":89792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:07] local.INFO: IMEI packet received {"connection_id":89792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":89792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:15:10] local.INFO: TCP Data received {"connection_id":89792,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:10] local.INFO: Processing buffer {"connection_id":89792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:15:10] local.INFO: IMEI packet received {"connection_id":89792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":89792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:15:11] local.INFO: TCP Data received {"connection_id":89792,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b71c28012d1821800721b288004d00df28..."} 
[2026-06-02 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b71c28012d1821800721b288004d00df28..."} 
[2026-06-02 15:15:11] local.INFO: Processing buffer {"connection_id":89792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b71c28012d1821800721b288004d00df28..."} 
[2026-06-02 15:15:11] local.INFO: Packet analysis {"connection_id":89792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b7"} 
[2026-06-02 15:15:11] local.INFO: Extracted packet for processing {"connection_id":89792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b7"} 
[2026-06-02 15:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780701184001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393385000,"timestamp_ms":1780393385000,"timestamp_seconds":1780393385,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b71c28"} 
[2026-06-02 15:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 15:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:15:11] 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-06-02 15:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780701184001,"66":12711,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780701184001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:15:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780701184001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":89792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:15:11] local.INFO: GPS data processed {"connection_id":89792,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:15:11] local.INFO: Acknowledgment sent {"connection_id":89792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:15:42] local.INFO: TCP Data received {"connection_id":89792,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b76e30012d1821800721b288004d00df28..."} 
[2026-06-02 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b76e30012d1821800721b288004d00df28..."} 
[2026-06-02 15:15:42] local.INFO: Processing buffer {"connection_id":89792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b76e30012d1821800721b288004d00df28..."} 
[2026-06-02 15:15:42] local.INFO: Packet analysis {"connection_id":89792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b7"} 
[2026-06-02 15:15:42] local.INFO: Extracted packet for processing {"connection_id":89792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b7"} 
[2026-06-02 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780706560001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780393406000,"timestamp_ms":1780393406000,"timestamp_seconds":1780393406,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b76e30"} 
[2026-06-02 15:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 15:15:42] 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-06-02 15:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:15:42] 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-06-02 15:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780706560001,"66":12689,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780706560001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:15:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780706560001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":89792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:15:43] local.INFO: GPS data processed {"connection_id":89792,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:15:43] local.INFO: Acknowledgment sent {"connection_id":89792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:16:10] local.INFO: TCP Data received {"connection_id":90970,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:10] local.INFO: Processing buffer {"connection_id":90970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:10] local.INFO: IMEI packet received {"connection_id":90970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":90970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:16:11] local.INFO: TCP Data received {"connection_id":90970,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:11] local.INFO: Processing buffer {"connection_id":90970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:11] local.INFO: IMEI packet received {"connection_id":90970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":90970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:16:15] local.INFO: TCP Data received {"connection_id":90970,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:15] local.INFO: Processing buffer {"connection_id":90970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:16:15] local.INFO: IMEI packet received {"connection_id":90970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":90970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:16:16] local.INFO: TCP Data received {"connection_id":90970,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b7c038012d1821800721b288004d00df27..."} 
[2026-06-02 15:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b7c038012d1821800721b288004d00df27..."} 
[2026-06-02 15:16:16] local.INFO: Processing buffer {"connection_id":90970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b7c038012d1821800721b288004d00df27..."} 
[2026-06-02 15:16:16] local.INFO: Packet analysis {"connection_id":90970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b7"} 
[2026-06-02 15:16:16] local.INFO: Extracted packet for processing {"connection_id":90970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b7"} 
[2026-06-02 15:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780711936001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:16: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-06-02 15:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780393427000,"timestamp_ms":1780393427000,"timestamp_seconds":1780393427,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b7c038"} 
[2026-06-02 15:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:16: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-06-02 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 15:16:16] 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-06-02 15: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-06-02 15:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:16:16] 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-06-02 15:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780711936001,"66":12689,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780711936001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:16:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780711936001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":90970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:16:16] local.INFO: GPS data processed {"connection_id":90970,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:16:16] local.INFO: Acknowledgment sent {"connection_id":90970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:16:21] local.INFO: TCP Data received {"connection_id":90970,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b81240012d1821800721b288004d00df2b..."} 
[2026-06-02 15:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b81240012d1821800721b288004d00df2b..."} 
[2026-06-02 15:16:21] local.INFO: Processing buffer {"connection_id":90970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b81240012d1821800721b288004d00df2b..."} 
[2026-06-02 15:16:21] local.INFO: Packet analysis {"connection_id":90970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b8"} 
[2026-06-02 15:16:21] local.INFO: Extracted packet for processing {"connection_id":90970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b8"} 
[2026-06-02 15:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780717312001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780393448000,"timestamp_ms":1780393448000,"timestamp_seconds":1780393448,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b81240"} 
[2026-06-02 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-06-02 15:16: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-06-02 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 15:16:21] 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-06-02 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-06-02 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-06-02 15:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:16:21] 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-06-02 15:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780717312001,"66":12678,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780717312001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:16:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780717312001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":90970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:16:21] local.INFO: GPS data processed {"connection_id":90970,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:16:21] local.INFO: Acknowledgment sent {"connection_id":90970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:17:06] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:17:06] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:17:06] local.INFO: IMEI packet received {"connection_id":89894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":89894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:17:11] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:17:11] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:17:11] local.INFO: IMEI packet received {"connection_id":89894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":89894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:17:11] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b86448012d1821800721b288004d00df29..."} 
[2026-06-02 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b86448012d1821800721b288004d00df29..."} 
[2026-06-02 15:17:11] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b86448012d1821800721b288004d00df29..."} 
[2026-06-02 15:17:11] local.INFO: Packet analysis {"connection_id":89894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b8"} 
[2026-06-02 15:17:11] local.INFO: Extracted packet for processing {"connection_id":89894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b8"} 
[2026-06-02 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780722688001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393469000,"timestamp_ms":1780393469000,"timestamp_seconds":1780393469,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b86448"} 
[2026-06-02 15:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-02 15:17:11] 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-06-02 15:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:17:11] 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-06-02 15:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780722688001,"66":12645,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780722688001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:17:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780722688001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":89894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:17:11] local.INFO: GPS data processed {"connection_id":89894,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:17:11] local.INFO: Acknowledgment sent {"connection_id":89894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:17:14] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b8b650012d1821800721b288004d00df2a..."} 
[2026-06-02 15:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b8b650012d1821800721b288004d00df2a..."} 
[2026-06-02 15:17:14] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b8b650012d1821800721b288004d00df2a..."} 
[2026-06-02 15:17:14] local.INFO: Packet analysis {"connection_id":89894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b8"} 
[2026-06-02 15:17:14] local.INFO: Extracted packet for processing {"connection_id":89894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b8"} 
[2026-06-02 15:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780728064001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780393490000,"timestamp_ms":1780393490000,"timestamp_seconds":1780393490,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b8b650"} 
[2026-06-02 15:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 15:17:14] 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-06-02 15:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:17:14] 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-06-02 15:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780728064001,"66":12558,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780728064001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:17:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780728064001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":89894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:17:14] local.INFO: GPS data processed {"connection_id":89894,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:17:14] local.INFO: Acknowledgment sent {"connection_id":89894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:17:23] local.INFO: TCP Data received {"connection_id":89893,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:17:23] local.INFO: Processing buffer {"connection_id":89893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:17:23] local.INFO: IMEI packet received {"connection_id":89893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":89893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:17:29] local.INFO: TCP Data received {"connection_id":89895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:17:29] local.INFO: Processing buffer {"connection_id":89895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:17:29] local.INFO: IMEI packet received {"connection_id":89895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":89895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:17:30] local.INFO: TCP Data received {"connection_id":89895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b93f08012cc123c007587b48000c014d28..."} 
[2026-06-02 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b93f08012cc123c007587b48000c014d28..."} 
[2026-06-02 15:17:30] local.INFO: Processing buffer {"connection_id":89895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b93f08012cc123c007587b48000c014d28..."} 
[2026-06-02 15:17:30] local.INFO: Packet analysis {"connection_id":89895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:17:30] local.INFO: Extracted packet for processing {"connection_id":89895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750855104,"raw_latitude":123239240,"longitude_deg":75.0855104,"latitude_deg":12.323924,"altitude":12,"angle":333,"satellites":40,"speed":18,"hex_longitude":"2cc123c0","hex_latitude":"07587b48","is_valid_coordinates":true} 
[2026-06-02 15:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780737536001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305832058368819200,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4525625012750979072,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780393525000,"timestamp_ms":1780393525000,"timestamp_seconds":1780393525,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b93f08"} 
[2026-06-02 15:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:17: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-06-02 15:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 15:17: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-06-02 15:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:17: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-06-02 15:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780737536001,"66":27767,"114":206,"85":37120,"24":18,"16":305832058368819200,"44":-4525625012750979072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,44]} 
[2026-06-02 15:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780737536001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:17:30] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-02 15:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305832058368819200,"km_value":305832058368819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4525625012750979072,"description":"Unknown IO ID 44"} 
[2026-06-02 15:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780737536001,"power":27767,"unknown_114":206,"unknown_85":37120,"ignition":18,"odometer":null,"unknown_44":-4525625012750979072}} 
[2026-06-02 15:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":89895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:17:30] local.INFO: GPS data processed {"connection_id":89895,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:17:30] local.INFO: Acknowledgment sent {"connection_id":89895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:17:45] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b90858012d1821800721b288004d00df2a..."} 
[2026-06-02 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b90858012d1821800721b288004d00df2a..."} 
[2026-06-02 15:17:45] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b90858012d1821800721b288004d00df2a..."} 
[2026-06-02 15:17:45] local.INFO: Packet analysis {"connection_id":89894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:17:45] local.INFO: Extracted packet for processing {"connection_id":89894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780733440001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780393511000,"timestamp_ms":1780393511000,"timestamp_seconds":1780393511,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b90858"} 
[2026-06-02 15:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2276903456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906992264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3077451777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 15:17:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,41,158,100,45,128,178,77,10,66,18,43,192,1,240,145,227,135,33,4,113,205,28,136,40,239,49,2,189,7,106,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 15:17:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548680112402071552,"timestamp_seconds":5548680112402072.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:17:45] 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-06-02 15:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780733440001,"66":12548,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780733440001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:17:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780733440001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":89894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:17:45] local.INFO: GPS data processed {"connection_id":89894,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:17:45] local.INFO: Acknowledgment sent {"connection_id":89894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:17:57] local.INFO: TCP Data received {"connection_id":89517,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:17:57] local.INFO: Processing buffer {"connection_id":89517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:17:57] local.INFO: IMEI packet received {"connection_id":89517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":89517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:18:01] local.INFO: TCP Data received {"connection_id":89895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b99110012cc11d8007588710000d014629..."} 
[2026-06-02 15:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b99110012cc11d8007588710000d014629..."} 
[2026-06-02 15:18:01] local.INFO: Processing buffer {"connection_id":89895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b99110012cc11d8007588710000d014629..."} 
[2026-06-02 15:18:01] local.INFO: Packet analysis {"connection_id":89895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:01] local.INFO: Extracted packet for processing {"connection_id":89895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:01] local.INFO: GPS Element Parsed {"raw_longitude":750853504,"raw_latitude":123242256,"longitude_deg":75.0853504,"latitude_deg":12.3242256,"altitude":13,"angle":326,"satellites":41,"speed":3,"hex_longitude":"2cc11d80","hex_latitude":"07588710","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780742400001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305832225872543744,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4529565662422808576,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780393546000,"timestamp_ms":1780393546000,"timestamp_seconds":1780393546,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b99110"} 
[2026-06-02 15:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:18: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-06-02 15: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-06-02 15:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:18: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-06-02 15:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780742400001,"66":27865,"114":206,"85":37120,"24":3,"16":305832225872543744,"44":-4529565662422808576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,44]} 
[2026-06-02 15:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780742400001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:18:01] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-02 15:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305832225872543744,"km_value":305832225872543.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4529565662422808576,"description":"Unknown IO ID 44"} 
[2026-06-02 15:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780742400001,"power":27865,"unknown_114":206,"unknown_85":37120,"ignition":3,"odometer":null,"unknown_44":-4529565662422808576}} 
[2026-06-02 15:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":89895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:18:01] local.INFO: GPS data processed {"connection_id":89895,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:18:01] local.INFO: Acknowledgment sent {"connection_id":89895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:18:05] local.INFO: TCP Data received {"connection_id":90972,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:18:05] local.INFO: Processing buffer {"connection_id":90972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:18:05] local.INFO: IMEI packet received {"connection_id":90972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":90972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:18:10] local.INFO: TCP Data received {"connection_id":90972,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:18:10] local.INFO: Processing buffer {"connection_id":90972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:18:10] local.INFO: IMEI packet received {"connection_id":90972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":90972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:18:11] local.INFO: TCP Data received {"connection_id":90972,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b95a60012d1821800721b288004d00df2a..."} 
[2026-06-02 15:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b95a60012d1821800721b288004d00df2a..."} 
[2026-06-02 15:18:11] local.INFO: Processing buffer {"connection_id":90972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b95a60012d1821800721b288004d00df2a..."} 
[2026-06-02 15:18:11] local.INFO: Packet analysis {"connection_id":90972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:11] local.INFO: Extracted packet for processing {"connection_id":90972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648904,"longitude_deg":75.655616,"latitude_deg":11.9648904,"altitude":77,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780738816001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125301990073827328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393532000,"timestamp_ms":1780393532000,"timestamp_seconds":1780393532,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b95a60"} 
[2026-06-02 15:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2276924456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3082827777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,41,158,182,45,128,178,77,42,10,66,100,18,1,240,134,227,135,33,4,113,205,110,136,40,239,49,2,189,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 15:18:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548680112402071552,"timestamp_seconds":5548680112402072.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:18:11] 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-06-02 15:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780738816001,"66":12613,"105":206,"83":41984,"24":0,"16":125301990073827328,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780738816001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:18:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125301990073827328,"km_value":125301990073827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780738816001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":90972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:18:11] local.INFO: GPS data processed {"connection_id":90972,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:18:11] local.INFO: Acknowledgment sent {"connection_id":90972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:18:24] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:24] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:24] local.INFO: IMEI packet received {"connection_id":89793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":89793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:18:24] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:24] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:24] local.INFO: IMEI packet received {"connection_id":89793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":89793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:18:28] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:28] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:18:28] local.INFO: IMEI packet received {"connection_id":89793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":89793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:18:29] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b9b820012cc11a8007588ce0000e01542a..."} 
[2026-06-02 15:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b9b820012cc11a8007588ce0000e01542a..."} 
[2026-06-02 15:18:29] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b9b820012cc11a8007588ce0000e01542a..."} 
[2026-06-02 15:18:29] local.INFO: Packet analysis {"connection_id":89793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:29] local.INFO: Extracted packet for processing {"connection_id":89793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:29] local.INFO: GPS Element Parsed {"raw_longitude":750852736,"raw_latitude":123243744,"longitude_deg":75.0852736,"latitude_deg":12.3243744,"altitude":14,"angle":340,"satellites":42,"speed":13,"hex_longitude":"2cc11a80","hex_latitude":"07588ce0","is_valid_coordinates":true} 
[2026-06-02 15:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780747776001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305832307476922368,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4531324881026478080,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780393556000,"timestamp_ms":1780393556000,"timestamp_seconds":1780393556,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b9b820"} 
[2026-06-02 15:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:18: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-06-02 15:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 15:18: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-06-02 15:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:18: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-06-02 15:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780747776001,"66":27865,"115":206,"85":37120,"24":13,"16":305832307476922368,"44":-4531324881026478080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,44]} 
[2026-06-02 15:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780747776001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:18:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-02 15:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305832307476922368,"km_value":305832307476922.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4531324881026478080,"description":"Unknown IO ID 44"} 
[2026-06-02 15:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780747776001,"power":27865,"unknown_115":206,"unknown_85":37120,"ignition":13,"odometer":null,"unknown_44":-4531324881026478080}} 
[2026-06-02 15:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":89793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:18:29] local.INFO: GPS data processed {"connection_id":89793,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:18:29] local.INFO: Acknowledgment sent {"connection_id":89793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:18:42] local.INFO: TCP Data received {"connection_id":90972,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b9ac68012d1821000721b120004f00e029..."} 
[2026-06-02 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b9ac68012d1821000721b120004f00e029..."} 
[2026-06-02 15:18:42] local.INFO: Processing buffer {"connection_id":90972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b9ac68012d1821000721b120004f00e029..."} 
[2026-06-02 15:18:42] local.INFO: Packet analysis {"connection_id":90972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:42] local.INFO: Extracted packet for processing {"connection_id":90972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780744192001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260196864,"note":"Value kept but may cause issues"} 
[2026-06-02 15:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780393553000,"timestamp_ms":1780393553000,"timestamp_seconds":1780393553,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b9ac68"} 
[2026-06-02 15:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 15:18:42] 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-06-02 15:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:18:42] 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-06-02 15:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780744192001,"66":12613,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738811699260196864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780744192001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:18:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260196864,"description":"Unknown IO ID 45"} 
[2026-06-02 15:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780744192001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260196864}} 
[2026-06-02 15:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":90972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:18:42] local.INFO: GPS data processed {"connection_id":90972,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:18:42] local.INFO: Acknowledgment sent {"connection_id":90972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:19:01] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bb8ce0012cc096800759a7580010015328..."} 
[2026-06-02 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bb8ce0012cc096800759a7580010015328..."} 
[2026-06-02 15:19:01] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bb8ce0012cc096800759a7580010015328..."} 
[2026-06-02 15:19:01] local.INFO: Packet analysis {"connection_id":89793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:19:01] local.INFO: Extracted packet for processing {"connection_id":89793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:19:01] local.INFO: GPS Element Parsed {"raw_longitude":750818944,"raw_latitude":123316056,"longitude_deg":75.0818944,"latitude_deg":12.3316056,"altitude":16,"angle":339,"satellites":40,"speed":37,"hex_longitude":"2cc09680","hex_latitude":"0759a758","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780778496001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305836168652521472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4565242615703527424,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780393676000,"timestamp_ms":1780393676000,"timestamp_seconds":1780393676,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bb8ce0"} 
[2026-06-02 15:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:19: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-06-02 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:19: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-06-02 15: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-06-02 15:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:19: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-06-02 15:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780778496001,"66":27865,"94":206,"85":37120,"24":37,"16":305836168652521472,"44":-4565242615703527424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,44]} 
[2026-06-02 15:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780778496001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:19:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-02 15:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305836168652521472,"km_value":305836168652521.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4565242615703527424,"description":"Unknown IO ID 44"} 
[2026-06-02 15:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780778496001,"power":27865,"unknown_94":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4565242615703527424}} 
[2026-06-02 15:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":89793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:19:01] local.INFO: GPS data processed {"connection_id":89793,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:19:01] local.INFO: Acknowledgment sent {"connection_id":89793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:19:05] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:19:05] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:19:05] local.INFO: IMEI packet received {"connection_id":89794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":89794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:19:10] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:19:10] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:19:10] local.INFO: IMEI packet received {"connection_id":89794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":89794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:19:12] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87b9fe70012d1821000721b120004f00e029..."} 
[2026-06-02 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87b9fe70012d1821000721b120004f00e029..."} 
[2026-06-02 15:19:12] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87b9fe70012d1821000721b120004f00e029..."} 
[2026-06-02 15:19:12] local.INFO: Packet analysis {"connection_id":89794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:19:12] local.INFO: Extracted packet for processing {"connection_id":89794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87b9"} 
[2026-06-02 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780749568001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780393574000,"timestamp_ms":1780393574000,"timestamp_seconds":1780393574,"priority":1,"record_length":96,"hex_timestamp":"0000019e87b9fe70"} 
[2026-06-02 15:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:19: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-06-02 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 15:19:12] 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-06-02 15:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:19:12] 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-06-02 15:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780749568001,"66":12558,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780749568001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:19:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780749568001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":89794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:19:12] local.INFO: GPS data processed {"connection_id":89794,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:19:12] local.INFO: Acknowledgment sent {"connection_id":89794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:19:24] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:24] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:24] local.INFO: IMEI packet received {"connection_id":89520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":89520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:19:28] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:28] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:28] local.INFO: IMEI packet received {"connection_id":89520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:19:28] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:28] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:19:28] local.INFO: IMEI packet received {"connection_id":89520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:19:29] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bbb3f0012cc087400759c7100010014b2b..."} 
[2026-06-02 15:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bbb3f0012cc087400759c7100010014b2b..."} 
[2026-06-02 15:19:29] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bbb3f0012cc087400759c7100010014b2b..."} 
[2026-06-02 15:19:29] local.INFO: Packet analysis {"connection_id":89520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:19:29] local.INFO: Extracted packet for processing {"connection_id":89520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:19:29] local.INFO: GPS Element Parsed {"raw_longitude":750815040,"raw_latitude":123324176,"longitude_deg":75.081504,"latitude_deg":12.3324176,"altitude":16,"angle":331,"satellites":43,"speed":35,"hex_longitude":"2cc08740","hex_latitude":"0759c710","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780781056001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305836606739185664,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4569324002863523840,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780393686000,"timestamp_ms":1780393686000,"timestamp_seconds":1780393686,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bbb3f0"} 
[2026-06-02 15:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:19: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-06-02 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 15:19: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-06-02 15: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-06-02 15:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:19: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-06-02 15:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780781056001,"66":27767,"94":206,"85":37120,"24":35,"16":305836606739185664,"44":-4569324002863523840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,44]} 
[2026-06-02 15:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780781056001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:19:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-02 15:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305836606739185664,"km_value":305836606739185.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4569324002863523840,"description":"Unknown IO ID 44"} 
[2026-06-02 15:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780781056001,"power":27767,"unknown_94":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4569324002863523840}} 
[2026-06-02 15:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":89520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:19:29] local.INFO: GPS data processed {"connection_id":89520,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:19:29] local.INFO: Acknowledgment sent {"connection_id":89520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:19:34] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bbdee8012cc073000759e530000e01502b..."} 
[2026-06-02 15:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bbdee8012cc073000759e530000e01502b..."} 
[2026-06-02 15:19:34] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bbdee8012cc073000759e530000e01502b..."} 
[2026-06-02 15:19:34] local.INFO: Packet analysis {"connection_id":89520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:19:34] local.INFO: Extracted packet for processing {"connection_id":89520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:19:34] local.INFO: GPS Element Parsed {"raw_longitude":750809856,"raw_latitude":123331888,"longitude_deg":75.0809856,"latitude_deg":12.3331888,"altitude":14,"angle":336,"satellites":43,"speed":27,"hex_longitude":"2cc07300","hex_latitude":"0759e530","is_valid_coordinates":true} 
[2026-06-02 15:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780783616001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305837053415784448,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4573616496256282624,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780393697000,"timestamp_ms":1780393697000,"timestamp_seconds":1780393697,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bbdee8"} 
[2026-06-02 15:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:19: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-06-02 15:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780783616001,"66":27800,"94":206,"85":37120,"24":27,"16":305837053415784448,"44":-4573616496256282624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,44]} 
[2026-06-02 15:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780783616001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:19:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-02 15:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305837053415784448,"km_value":305837053415784.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4573616496256282624,"description":"Unknown IO ID 44"} 
[2026-06-02 15:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780783616001,"power":27800,"unknown_94":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4573616496256282624}} 
[2026-06-02 15:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":89520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:19:34] local.INFO: GPS data processed {"connection_id":89520,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:19:34] local.INFO: Acknowledgment sent {"connection_id":89520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:19:43] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ba5078012d1821000721b120004f00e028..."} 
[2026-06-02 15:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ba5078012d1821000721b120004f00e028..."} 
[2026-06-02 15:19:43] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ba5078012d1821000721b120004f00e028..."} 
[2026-06-02 15:19:43] local.INFO: Packet analysis {"connection_id":89794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ba"} 
[2026-06-02 15:19:43] local.INFO: Extracted packet for processing {"connection_id":89794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ba"} 
[2026-06-02 15:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780754944001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780393595000,"timestamp_ms":1780393595000,"timestamp_seconds":1780393595,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ba5078"} 
[2026-06-02 15:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:19: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-06-02 15:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2276987456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906992264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3098955777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 15:19:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,41,158,172,45,177,79,10,66,90,128,178,77,42,8,1,240,4,227,135,33,113,205,100,136,239,49,2,189,7,106,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 15:19:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692796395694587904,"timestamp_seconds":5692796395694588.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:19:43] 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-06-02 15:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780754944001,"66":12406,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780754944001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:19:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780754944001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":89794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:19:43] local.INFO: GPS data processed {"connection_id":89794,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:19:43] local.INFO: Acknowledgment sent {"connection_id":89794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:20:05] local.INFO: TCP Data received {"connection_id":89520,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bc09e0012cc06540075a0940001301522b..."} 
[2026-06-02 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bc09e0012cc06540075a0940001301522b..."} 
[2026-06-02 15:20:05] local.INFO: Processing buffer {"connection_id":89520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bc09e0012cc06540075a0940001301522b..."} 
[2026-06-02 15:20:05] local.INFO: Packet analysis {"connection_id":89520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:20:05] local.INFO: Extracted packet for processing {"connection_id":89520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":750806336,"raw_latitude":123341120,"longitude_deg":75.0806336,"latitude_deg":12.334112,"altitude":19,"angle":338,"satellites":43,"speed":42,"hex_longitude":"2cc06540","hex_latitude":"075a0940","is_valid_coordinates":true} 
[2026-06-02 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780786432001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305837530157154304,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4579316364532699136,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:05] 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-06-02 15:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780393708000,"timestamp_ms":1780393708000,"timestamp_seconds":1780393708,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bc09e0"} 
[2026-06-02 15:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:20: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-06-02 15:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780786432001,"66":27800,"93":206,"85":37120,"24":42,"16":305837530157154304,"44":-4579316364532699136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-06-02 15:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780786432001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:20:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-02 15:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305837530157154304,"km_value":305837530157154.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4579316364532699136,"description":"Unknown IO ID 44"} 
[2026-06-02 15:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780786432001,"power":27800,"unknown_93":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4579316364532699136}} 
[2026-06-02 15:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":89520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:20:05] local.INFO: GPS data processed {"connection_id":89520,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:20:05] local.INFO: Acknowledgment sent {"connection_id":89520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:20:06] local.INFO: TCP Data received {"connection_id":90973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:20:06] local.INFO: Processing buffer {"connection_id":90973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:20:06] local.INFO: IMEI packet received {"connection_id":90973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":90973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:20:10] local.INFO: TCP Data received {"connection_id":90973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:20:11] local.INFO: Processing buffer {"connection_id":90973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:20:11] local.INFO: IMEI packet received {"connection_id":90973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":90973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:20:11] local.INFO: TCP Data received {"connection_id":90973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87baa280012d1821000721b120004f00e02a..."} 
[2026-06-02 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87baa280012d1821000721b120004f00e02a..."} 
[2026-06-02 15:20:11] local.INFO: Processing buffer {"connection_id":90973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87baa280012d1821000721b120004f00e02a..."} 
[2026-06-02 15:20:11] local.INFO: Packet analysis {"connection_id":90973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ba"} 
[2026-06-02 15:20:11] local.INFO: Extracted packet for processing {"connection_id":90973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ba"} 
[2026-06-02 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780760320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393616000,"timestamp_ms":1780393616000,"timestamp_seconds":1780393616,"priority":1,"record_length":96,"hex_timestamp":"0000019e87baa280"} 
[2026-06-02 15:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 15:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:20:11] 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-06-02 15:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780760320001,"66":12558,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780760320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:20:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780760320001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":90973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:20:11] local.INFO: GPS data processed {"connection_id":90973,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:20:11] local.INFO: Acknowledgment sent {"connection_id":90973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:20:28] local.INFO: TCP Data received {"connection_id":89796,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:28] local.INFO: Processing buffer {"connection_id":89796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:28] local.INFO: IMEI packet received {"connection_id":89796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":89796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:20:30] local.INFO: TCP Data received {"connection_id":89796,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:30] local.INFO: Processing buffer {"connection_id":89796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:30] local.INFO: IMEI packet received {"connection_id":89796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":89796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:20:34] local.INFO: TCP Data received {"connection_id":89796,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:34] local.INFO: Processing buffer {"connection_id":89796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:20:34] local.INFO: IMEI packet received {"connection_id":89796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":89796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:20:34] local.INFO: TCP Data received {"connection_id":89796,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bc34d8012cc058c0075a2c60001001582a..."} 
[2026-06-02 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bc34d8012cc058c0075a2c60001001582a..."} 
[2026-06-02 15:20:34] local.INFO: Processing buffer {"connection_id":89796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bc34d8012cc058c0075a2c60001001582a..."} 
[2026-06-02 15:20:34] local.INFO: Packet analysis {"connection_id":89796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:20:34] local.INFO: Extracted packet for processing {"connection_id":89796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":750803136,"raw_latitude":123350112,"longitude_deg":75.0803136,"latitude_deg":12.3350112,"altitude":16,"angle":344,"satellites":42,"speed":28,"hex_longitude":"2cc058c0","hex_latitude":"075a2c60","is_valid_coordinates":true} 
[2026-06-02 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780789248001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305837994013622272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4583186645460107264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:34] 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-06-02 15:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780393719000,"timestamp_ms":1780393719000,"timestamp_seconds":1780393719,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bc34d8"} 
[2026-06-02 15:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:20:34] 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-06-02 15:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780789248001,"66":27821,"93":206,"85":37120,"24":28,"16":305837994013622272,"44":-4583186645460107264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-06-02 15:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780789248001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:20:34] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-02 15:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305837994013622272,"km_value":305837994013622.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4583186645460107264,"description":"Unknown IO ID 44"} 
[2026-06-02 15:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780789248001,"power":27821,"unknown_93":206,"unknown_85":37120,"ignition":28,"odometer":null,"unknown_44":-4583186645460107264}} 
[2026-06-02 15:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":89796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:20:34] local.INFO: GPS data processed {"connection_id":89796,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:20:34] local.INFO: Acknowledgment sent {"connection_id":89796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:20:39] local.INFO: TCP Data received {"connection_id":89796,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bc5fd0012cc04ec0075a4af00010014a2a..."} 
[2026-06-02 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bc5fd0012cc04ec0075a4af00010014a2a..."} 
[2026-06-02 15:20:39] local.INFO: Processing buffer {"connection_id":89796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bc5fd0012cc04ec0075a4af00010014a2a..."} 
[2026-06-02 15:20:39] local.INFO: Packet analysis {"connection_id":89796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:20:39] local.INFO: Extracted packet for processing {"connection_id":89796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":750800576,"raw_latitude":123357936,"longitude_deg":75.0800576,"latitude_deg":12.3357936,"altitude":16,"angle":330,"satellites":42,"speed":26,"hex_longitude":"2cc04ec0","hex_latitude":"075a4af0","is_valid_coordinates":true} 
[2026-06-02 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780792064001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305838393445580800,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4586705082666688512,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20: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-06-02 15:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780393730000,"timestamp_ms":1780393730000,"timestamp_seconds":1780393730,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bc5fd0"} 
[2026-06-02 15:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780792064001,"66":27832,"95":206,"85":37120,"24":26,"16":305838393445580800,"44":-4586705082666688512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-06-02 15:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780792064001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305838393445580800,"km_value":305838393445580.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4586705082666688512,"description":"Unknown IO ID 44"} 
[2026-06-02 15:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780792064001,"power":27832,"unknown_95":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4586705082666688512}} 
[2026-06-02 15:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":89796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:20:39] local.INFO: GPS data processed {"connection_id":89796,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:20:39] local.INFO: Acknowledgment sent {"connection_id":89796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:20:42] local.INFO: TCP Data received {"connection_id":90973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87baf488012d1821000721b120004f00e02a..."} 
[2026-06-02 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87baf488012d1821000721b120004f00e02a..."} 
[2026-06-02 15:20:42] local.INFO: Processing buffer {"connection_id":90973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87baf488012d1821000721b120004f00e02a..."} 
[2026-06-02 15:20:42] local.INFO: Packet analysis {"connection_id":90973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ba"} 
[2026-06-02 15:20:42] local.INFO: Extracted packet for processing {"connection_id":90973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ba"} 
[2026-06-02 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780765696001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780393637000,"timestamp_ms":1780393637000,"timestamp_seconds":1780393637,"priority":1,"record_length":96,"hex_timestamp":"0000019e87baf488"} 
[2026-06-02 15:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2277029456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906992264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3109707777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 15:20:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,41,158,80,45,177,79,40,10,66,254,172,1,240,69,227,135,33,4,113,205,8,136,42,239,49,2,189,7,77,106,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 15:20:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692796399989555200,"timestamp_seconds":5692796399989555.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:20:42] 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-06-02 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780765696001,"66":12537,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780765696001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:20:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780765696001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":90973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:20:42] local.INFO: GPS data processed {"connection_id":90973,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:20:42] local.INFO: Acknowledgment sent {"connection_id":90973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:21:05] local.INFO: TCP Data received {"connection_id":90974,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:21:05] local.INFO: Processing buffer {"connection_id":90974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:21:05] local.INFO: IMEI packet received {"connection_id":90974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":90974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:21:11] local.INFO: TCP Data received {"connection_id":90974,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:21:11] local.INFO: Processing buffer {"connection_id":90974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:21:11] local.INFO: IMEI packet received {"connection_id":90974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":90974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:21:11] local.INFO: TCP Data received {"connection_id":90974,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bb4690012d1821000721b120004f00e02b..."} 
[2026-06-02 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bb4690012d1821000721b120004f00e02b..."} 
[2026-06-02 15:21:11] local.INFO: Processing buffer {"connection_id":90974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bb4690012d1821000721b120004f00e02b..."} 
[2026-06-02 15:21:11] local.INFO: Packet analysis {"connection_id":90974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:21:11] local.INFO: Extracted packet for processing {"connection_id":90974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780771072001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393658000,"timestamp_ms":1780393658000,"timestamp_seconds":1780393658,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bb4690"} 
[2026-06-02 15:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 15:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:21:11] 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-06-02 15:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780771072001,"66":12558,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780771072001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:21:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780771072001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":90974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:21:12] local.INFO: GPS data processed {"connection_id":90974,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:21:12] local.INFO: Acknowledgment sent {"connection_id":90974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:21:24] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:21:24] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:21:24] local.INFO: IMEI packet received {"connection_id":89798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":89798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:21:28] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:21:28] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:21:28] local.INFO: IMEI packet received {"connection_id":89798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":89798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:21:30] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bdd2e8012cbf9540075b7c100011014f29..."} 
[2026-06-02 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bdd2e8012cbf9540075b7c100011014f29..."} 
[2026-06-02 15:21:30] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bdd2e8012cbf9540075b7c100011014f29..."} 
[2026-06-02 15:21:30] local.INFO: Packet analysis {"connection_id":89798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:21:30] local.INFO: Extracted packet for processing {"connection_id":89798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750753088,"raw_latitude":123436048,"longitude_deg":75.0753088,"latitude_deg":12.3436048,"altitude":17,"angle":335,"satellites":41,"speed":47,"hex_longitude":"2cbf9540","hex_latitude":"075b7c10","is_valid_coordinates":true} 
[2026-06-02 15:21: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-06-02 15:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780817152001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305842812966928384,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4637018734733920256,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780393825000,"timestamp_ms":1780393825000,"timestamp_seconds":1780393825,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bdd2e8"} 
[2026-06-02 15:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:21: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-06-02 15:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:21: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-06-02 15:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:21: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-06-02 15:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780817152001,"66":27767,"248":206,"85":37120,"24":47,"16":305842812966928384,"44":-4637018734733920256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-06-02 15:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780817152001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305842812966928384,"km_value":305842812966928.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4637018734733920256,"description":"Unknown IO ID 44"} 
[2026-06-02 15:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780817152001,"power":27767,"tamper_alert":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4637018734733920256}} 
[2026-06-02 15:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":89798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:21:30] local.INFO: GPS data processed {"connection_id":89798,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:21:30] local.INFO: Acknowledgment sent {"connection_id":89798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:21:31] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bdf228012cbf8780075b9ef00010015228..."} 
[2026-06-02 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bdf228012cbf8780075b9ef00010015228..."} 
[2026-06-02 15:21:31] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bdf228012cbf8780075b9ef00010015228..."} 
[2026-06-02 15:21:31] local.INFO: Packet analysis {"connection_id":89798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:21:31] local.INFO: Extracted packet for processing {"connection_id":89798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":750749568,"raw_latitude":123444976,"longitude_deg":75.0749568,"latitude_deg":12.3444976,"altitude":16,"angle":338,"satellites":40,"speed":46,"hex_longitude":"2cbf8780","hex_latitude":"075b9ef0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780819200001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305843276823396352,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4641733440591622144,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780393833000,"timestamp_ms":1780393833000,"timestamp_seconds":1780393833,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bdf228"} 
[2026-06-02 15:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:21: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-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780819200001,"66":27800,"248":206,"85":37120,"24":46,"16":305843276823396352,"44":-4641733440591622144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-06-02 15:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780819200001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305843276823396352,"km_value":305843276823396.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4641733440591622144,"description":"Unknown IO ID 44"} 
[2026-06-02 15:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780819200001,"power":27800,"tamper_alert":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4641733440591622144}} 
[2026-06-02 15:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":89798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:21:31] local.INFO: GPS data processed {"connection_id":89798,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:21:31] local.INFO: Acknowledgment sent {"connection_id":89798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:21:43] local.INFO: TCP Data received {"connection_id":90974,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bb9898012d1821000721b120004f00e02a..."} 
[2026-06-02 15:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bb9898012d1821000721b120004f00e02a..."} 
[2026-06-02 15:21:43] local.INFO: Processing buffer {"connection_id":90974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bb9898012d1821000721b120004f00e02a..."} 
[2026-06-02 15:21:43] local.INFO: Packet analysis {"connection_id":90974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:21:43] local.INFO: Extracted packet for processing {"connection_id":90974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780776448001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780393679000,"timestamp_ms":1780393679000,"timestamp_seconds":1780393679,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bb9898"} 
[2026-06-02 15:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:21: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-06-02 15:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2277071456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906992264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3120459777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 15:21:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,41,158,244,45,177,79,42,10,66,162,80,1,240,118,227,135,33,4,113,205,172,32,239,49,2,189,7,77,106,76,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 15:21:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692796404284522496,"timestamp_seconds":5692796404284522.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:21:43] 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-06-02 15:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780776448001,"66":12526,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780776448001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:21:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780776448001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":90974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:21:43] local.INFO: GPS data processed {"connection_id":90974,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:21:43] local.INFO: Acknowledgment sent {"connection_id":90974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:22:01] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87be1168012cbf7c00075bbfe0000e015627..."} 
[2026-06-02 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87be1168012cbf7c00075bbfe0000e015627..."} 
[2026-06-02 15:22:01] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87be1168012cbf7c00075bbfe0000e015627..."} 
[2026-06-02 15:22:01] local.INFO: Packet analysis {"connection_id":89798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:22:01] local.INFO: Extracted packet for processing {"connection_id":89798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":750746624,"raw_latitude":123453408,"longitude_deg":75.0746624,"latitude_deg":12.3453408,"altitude":14,"angle":342,"satellites":39,"speed":42,"hex_longitude":"2cbf7c00","hex_latitude":"075bbfe0","is_valid_coordinates":true} 
[2026-06-02 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780821248001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305843710615093248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4645603721519108096,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780393841000,"timestamp_ms":1780393841000,"timestamp_seconds":1780393841,"priority":1,"record_length":96,"hex_timestamp":"0000019e87be1168"} 
[2026-06-02 15:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:22: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-06-02 15:22:01] local.INFO: IO Element 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-06-02 15:22: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-06-02 15:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:22: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-06-02 15:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780821248001,"66":27876,"248":206,"85":37120,"24":42,"16":305843710615093248,"44":-4645603721519108096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-06-02 15:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780821248001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305843710615093248,"km_value":305843710615093.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4645603721519108096,"description":"Unknown IO ID 44"} 
[2026-06-02 15:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780821248001,"power":27876,"tamper_alert":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4645603721519108096}} 
[2026-06-02 15:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":89798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:22:01] local.INFO: GPS data processed {"connection_id":89798,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:22:01] local.INFO: Acknowledgment sent {"connection_id":89798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:22:07] local.INFO: TCP Data received {"connection_id":89799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:07] local.INFO: Processing buffer {"connection_id":89799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:07] local.INFO: IMEI packet received {"connection_id":89799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":89799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:22:11] local.INFO: TCP Data received {"connection_id":89799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:11] local.INFO: Processing buffer {"connection_id":89799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:11] local.INFO: IMEI packet received {"connection_id":89799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":89799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:22:15] local.INFO: TCP Data received {"connection_id":89799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:15] local.INFO: Processing buffer {"connection_id":89799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:22:15] local.INFO: IMEI packet received {"connection_id":89799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":89799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:22:16] local.INFO: TCP Data received {"connection_id":89799,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bbeaa0012d1821000721b120004f00e027..."} 
[2026-06-02 15:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bbeaa0012d1821000721b120004f00e027..."} 
[2026-06-02 15:22:16] local.INFO: Processing buffer {"connection_id":89799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bbeaa0012d1821000721b120004f00e027..."} 
[2026-06-02 15:22:16] local.INFO: Packet analysis {"connection_id":89799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:22:16] local.INFO: Extracted packet for processing {"connection_id":89799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bb"} 
[2026-06-02 15:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780781824001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22: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-06-02 15:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780393700000,"timestamp_ms":1780393700000,"timestamp_seconds":1780393700,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bbeaa0"} 
[2026-06-02 15:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:22: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-06-02 15:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 15:22:16] 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-06-02 15:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:22:16] 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-06-02 15:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780781824001,"66":12558,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780781824001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:22:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780781824001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":89799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:22:16] local.INFO: GPS data processed {"connection_id":89799,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:22:16] local.INFO: Acknowledgment sent {"connection_id":89799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:22:20] local.INFO: TCP Data received {"connection_id":89799,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bc3ca8012d1821000721b120004f00e027..."} 
[2026-06-02 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bc3ca8012d1821000721b120004f00e027..."} 
[2026-06-02 15:22:20] local.INFO: Processing buffer {"connection_id":89799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bc3ca8012d1821000721b120004f00e027..."} 
[2026-06-02 15:22:20] local.INFO: Packet analysis {"connection_id":89799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:22:20] local.INFO: Extracted packet for processing {"connection_id":89799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780787200001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780393721000,"timestamp_ms":1780393721000,"timestamp_seconds":1780393721,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bc3ca8"} 
[2026-06-02 15:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2277113456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178016,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3131211777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:20] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,41,158,152,45,177,79,42,10,66,70,43,244,1,240,249,227,135,33,4,113,205,80,32,40,239,48,2,189,7,106,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 15:22:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692796387104653312,"timestamp_seconds":5692796387104653.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:22:20] 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-06-02 15:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780787200001,"66":12537,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780787200001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:22:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780787200001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":89799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:22:20] local.INFO: GPS data processed {"connection_id":89799,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:22:20] local.INFO: Acknowledgment sent {"connection_id":89799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:22:23] local.INFO: TCP Data received {"connection_id":90975,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:22:23] local.INFO: Processing buffer {"connection_id":90975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:22:23] local.INFO: IMEI packet received {"connection_id":90975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":90975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:22:29] local.INFO: TCP Data received {"connection_id":90975,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:22:29] local.INFO: Processing buffer {"connection_id":90975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:22:29] local.INFO: IMEI packet received {"connection_id":90975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":90975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:22:30] local.INFO: TCP Data received {"connection_id":90975,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87be3490012cbf7140075be4f8000c015929..."} 
[2026-06-02 15:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87be3490012cbf7140075be4f8000c015929..."} 
[2026-06-02 15:22:30] local.INFO: Processing buffer {"connection_id":90975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87be3490012cbf7140075be4f8000c015929..."} 
[2026-06-02 15:22:30] local.INFO: Packet analysis {"connection_id":90975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:22:30] local.INFO: Extracted packet for processing {"connection_id":90975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750743872,"raw_latitude":123462904,"longitude_deg":75.0743872,"latitude_deg":12.3462904,"altitude":12,"angle":345,"satellites":41,"speed":45,"hex_longitude":"2cbf7140","hex_latitude":"075be4f8","is_valid_coordinates":true} 
[2026-06-02 15:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780823296001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305844187356463104,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4648840683749122048,"note":"Value kept but may cause issues"} 
[2026-06-02 15:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780393850000,"timestamp_ms":1780393850000,"timestamp_seconds":1780393850,"priority":1,"record_length":96,"hex_timestamp":"0000019e87be3490"} 
[2026-06-02 15:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:22: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-06-02 15:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780823296001,"66":27800,"248":206,"85":37120,"24":45,"16":305844187356463104,"44":-4648840683749122048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-06-02 15:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780823296001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305844187356463104,"km_value":305844187356463.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4648840683749122048,"description":"Unknown IO ID 44"} 
[2026-06-02 15:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780823296001,"power":27800,"tamper_alert":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4648840683749122048}} 
[2026-06-02 15:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":90975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:22:30] local.INFO: GPS data processed {"connection_id":90975,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:22:30] local.INFO: Acknowledgment sent {"connection_id":90975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:23:01] local.INFO: TCP Data received {"connection_id":90975,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87be53d0012cbf6680075c07a8000d015329..."} 
[2026-06-02 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87be53d0012cbf6680075c07a8000d015329..."} 
[2026-06-02 15:23:01] local.INFO: Processing buffer {"connection_id":90975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87be53d0012cbf6680075c07a8000d015329..."} 
[2026-06-02 15:23:01] local.INFO: Packet analysis {"connection_id":90975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:23:01] local.INFO: Extracted packet for processing {"connection_id":90975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":750741120,"raw_latitude":123471784,"longitude_deg":75.074112,"latitude_deg":12.3471784,"altitude":13,"angle":339,"satellites":41,"speed":45,"hex_longitude":"2cbf6680","hex_latitude":"075c07a8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780825600001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305844638328029184,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4651866539746330624,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780393858000,"timestamp_ms":1780393858000,"timestamp_seconds":1780393858,"priority":1,"record_length":96,"hex_timestamp":"0000019e87be53d0"} 
[2026-06-02 15:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:23: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-06-02 15: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-06-02 15:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:23: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-06-02 15:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780825600001,"66":27843,"122":206,"85":37120,"24":45,"16":305844638328029184,"44":-4651866539746330624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,44]} 
[2026-06-02 15:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780825600001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:23:01] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 15:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305844638328029184,"km_value":305844638328029.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4651866539746330624,"description":"Unknown IO ID 44"} 
[2026-06-02 15:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780825600001,"power":27843,"unknown_122":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4651866539746330624}} 
[2026-06-02 15:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":90975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:23:01] local.INFO: GPS data processed {"connection_id":90975,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:23:01] local.INFO: Acknowledgment sent {"connection_id":90975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:23:05] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:23:05] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:23:05] local.INFO: IMEI packet received {"connection_id":89800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":89800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:23:10] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:23:10] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:23:10] local.INFO: IMEI packet received {"connection_id":89800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":89800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:23:11] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bc8eb0012d1821000721b120004f00e027..."} 
[2026-06-02 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bc8eb0012d1821000721b120004f00e027..."} 
[2026-06-02 15:23:11] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bc8eb0012d1821000721b120004f00e027..."} 
[2026-06-02 15:23:11] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:23:11] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780792576001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393742000,"timestamp_ms":1780393742000,"timestamp_seconds":1780393742,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bc8eb0"} 
[2026-06-02 15:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 15:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:23:11] 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-06-02 15:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780792576001,"66":12537,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780792576001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:23:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780792576001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:23:11] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:23:11] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:23:23] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:23:23] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:23:23] local.INFO: IMEI packet received {"connection_id":89523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":89523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:23:25] local.INFO: TCP Data received {"connection_id":89522,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:23:25] local.INFO: Processing buffer {"connection_id":89522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:23:25] local.INFO: IMEI packet received {"connection_id":89522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":89522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:23:29] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:23:29] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:23:29] local.INFO: IMEI packet received {"connection_id":89523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:23:31] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87be7310012cbf5a40075c2a30000e015628..."} 
[2026-06-02 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87be7310012cbf5a40075c2a30000e015628..."} 
[2026-06-02 15:23:31] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87be7310012cbf5a40075c2a30000e015628..."} 
[2026-06-02 15:23:31] local.INFO: Packet analysis {"connection_id":89523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:23:31] local.INFO: Extracted packet for processing {"connection_id":89523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87be"} 
[2026-06-02 15:23:31] local.INFO: GPS Element Parsed {"raw_longitude":750737984,"raw_latitude":123480624,"longitude_deg":75.0737984,"latitude_deg":12.3480624,"altitude":14,"angle":342,"satellites":40,"speed":44,"hex_longitude":"2cbf5a40","hex_latitude":"075c2a30","is_valid_coordinates":true} 
[2026-06-02 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780827648001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305845093594562560,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4654892395743696896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780393866000,"timestamp_ms":1780393866000,"timestamp_seconds":1780393866,"priority":1,"record_length":96,"hex_timestamp":"0000019e87be7310"} 
[2026-06-02 15:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:23: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-06-02 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780827648001,"66":27767,"122":206,"85":37120,"24":44,"16":305845093594562560,"44":-4654892395743696896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,44]} 
[2026-06-02 15:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780827648001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:23:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-02 15:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305845093594562560,"km_value":305845093594562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4654892395743696896,"description":"Unknown IO ID 44"} 
[2026-06-02 15:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780827648001,"power":27767,"unknown_122":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4654892395743696896}} 
[2026-06-02 15:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":89523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:23:31] local.INFO: GPS data processed {"connection_id":89523,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:23:31] local.INFO: Acknowledgment sent {"connection_id":89523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:23:42] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bce0b8012d1821000721b120004f00e029..."} 
[2026-06-02 15:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bce0b8012d1821000721b120004f00e029..."} 
[2026-06-02 15:23:42] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bce0b8012d1821000721b120004f00e029..."} 
[2026-06-02 15:23:42] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:23:42] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bc"} 
[2026-06-02 15:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780797952001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780393763000,"timestamp_ms":1780393763000,"timestamp_seconds":1780393763,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bce0b8"} 
[2026-06-02 15:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 15:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:23:42] 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-06-02 15:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780797952001,"66":12537,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780797952001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:23:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780797952001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:23:42] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:23:42] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:23:58] local.INFO: TCP Data received {"connection_id":90976,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:23:58] local.INFO: Processing buffer {"connection_id":90976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:23:58] local.INFO: IMEI packet received {"connection_id":90976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":90976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:24:02] local.INFO: TCP Data received {"connection_id":89523,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c02890012cbe67c0075da2300010013d2b..."} 
[2026-06-02 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c02890012cbe67c0075da2300010013d2b..."} 
[2026-06-02 15:24:02] local.INFO: Processing buffer {"connection_id":89523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c02890012cbe67c0075da2300010013d2b..."} 
[2026-06-02 15:24:02] local.INFO: Packet analysis {"connection_id":89523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:24:02] local.INFO: Extracted packet for processing {"connection_id":89523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":750675904,"raw_latitude":123576880,"longitude_deg":75.0675904,"latitude_deg":12.357688,"altitude":16,"angle":317,"satellites":43,"speed":44,"hex_longitude":"2cbe67c0","hex_latitude":"075da230","is_valid_coordinates":true} 
[2026-06-02 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780856320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305850638397341696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4719842746594584576,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780393978000,"timestamp_ms":1780393978000,"timestamp_seconds":1780393978,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c02890"} 
[2026-06-02 15:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:24: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-06-02 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:24: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-06-02 15:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780856320001,"66":27821,"123":206,"85":37120,"24":44,"16":305850638397341696,"44":-4719842746594584576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-06-02 15:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780856320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305850638397341696,"km_value":305850638397341.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4719842746594584576,"description":"Unknown IO ID 44"} 
[2026-06-02 15:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780856320001,"power":27821,"unknown_123":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4719842746594584576}} 
[2026-06-02 15:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":89523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:24:02] local.INFO: GPS data processed {"connection_id":89523,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:24:02] local.INFO: Acknowledgment sent {"connection_id":89523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:24:05] local.INFO: TCP Data received {"connection_id":90977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:05] local.INFO: Processing buffer {"connection_id":90977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:05] local.INFO: IMEI packet received {"connection_id":90977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":90977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:24:06] local.INFO: TCP Data received {"connection_id":90977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:06] local.INFO: Processing buffer {"connection_id":90977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:06] local.INFO: IMEI packet received {"connection_id":90977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":90977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:24:10] local.INFO: TCP Data received {"connection_id":90977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:10] local.INFO: Processing buffer {"connection_id":90977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:24:10] local.INFO: IMEI packet received {"connection_id":90977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":90977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:24:11] local.INFO: TCP Data received {"connection_id":90977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bd32c0012d1821000721b120004f00e026..."} 
[2026-06-02 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bd32c0012d1821000721b120004f00e026..."} 
[2026-06-02 15:24:11] local.INFO: Processing buffer {"connection_id":90977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bd32c0012d1821000721b120004f00e026..."} 
[2026-06-02 15:24:11] local.INFO: Packet analysis {"connection_id":90977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:24:11] local.INFO: Extracted packet for processing {"connection_id":90977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780803328001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780393784000,"timestamp_ms":1780393784000,"timestamp_seconds":1780393784,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bd32c0"} 
[2026-06-02 15:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 15:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:24:11] 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-06-02 15:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780803328001,"66":12526,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780803328001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:24:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780803328001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":90977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:24:11] local.INFO: GPS data processed {"connection_id":90977,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:24:11] local.INFO: Acknowledgment sent {"connection_id":90977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:24:23] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:23] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:23] local.INFO: IMEI packet received {"connection_id":89896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":89896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:24:26] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:26] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:26] local.INFO: IMEI packet received {"connection_id":89896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":89896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:24:28] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:28] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:24:28] local.INFO: IMEI packet received {"connection_id":89896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":89896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:24:29] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c04bb8012cbe4c40075dbb90001101322a..."} 
[2026-06-02 15:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c04bb8012cbe4c40075dbb90001101322a..."} 
[2026-06-02 15:24:29] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c04bb8012cbe4c40075dbb90001101322a..."} 
[2026-06-02 15:24:29] local.INFO: Packet analysis {"connection_id":89896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:24:29] local.INFO: Extracted packet for processing {"connection_id":89896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:24:29] local.INFO: GPS Element Parsed {"raw_longitude":750668864,"raw_latitude":123583376,"longitude_deg":75.0668864,"latitude_deg":12.3583376,"altitude":17,"angle":306,"satellites":42,"speed":41,"hex_longitude":"2cbe4c40","hex_latitude":"075dbb90","is_valid_coordinates":true} 
[2026-06-02 15:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780858368001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305851097958842368,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4726598146033831936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780393987000,"timestamp_ms":1780393987000,"timestamp_seconds":1780393987,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c04bb8"} 
[2026-06-02 15:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:24: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-06-02 15:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:24:29] 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-06-02 15:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:24: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-06-02 15:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780858368001,"66":27800,"123":206,"85":37120,"24":41,"16":305851097958842368,"44":-4726598146033831936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-06-02 15:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780858368001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:24:29] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-02 15:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305851097958842368,"km_value":305851097958842.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4726598146033831936,"description":"Unknown IO ID 44"} 
[2026-06-02 15:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780858368001,"power":27800,"unknown_123":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4726598146033831936}} 
[2026-06-02 15:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":89896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:24:29] local.INFO: GPS data processed {"connection_id":89896,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:24:29] local.INFO: Acknowledgment sent {"connection_id":89896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:24:42] local.INFO: TCP Data received {"connection_id":90977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87bd84c8012d1821000721b120004f00e028..."} 
[2026-06-02 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87bd84c8012d1821000721b120004f00e028..."} 
[2026-06-02 15:24:42] local.INFO: Processing buffer {"connection_id":90977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87bd84c8012d1821000721b120004f00e028..."} 
[2026-06-02 15:24:42] local.INFO: Packet analysis {"connection_id":90977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:24:42] local.INFO: Extracted packet for processing {"connection_id":90977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87bd"} 
[2026-06-02 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648544,"longitude_deg":75.6556032,"latitude_deg":11.9648544,"altitude":79,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-06-02 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780808704001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302011548663808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771749376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780393805000,"timestamp_ms":1780393805000,"timestamp_seconds":1780393805,"priority":1,"record_length":96,"hex_timestamp":"0000019e87bd84c8"} 
[2026-06-02 15:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 15:24:42] 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-06-02 15:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:24:42] 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-06-02 15:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780808704001,"66":12526,"105":206,"83":41984,"24":0,"16":125302011548663808,"45":1738670961771749376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780808704001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:24:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302011548663808,"km_value":125302011548663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771749376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780808704001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771749376}} 
[2026-06-02 15:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":90977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:24:42] local.INFO: GPS data processed {"connection_id":90977,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:24:42] local.INFO: Acknowledgment sent {"connection_id":90977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:25:00] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c06ee0012cbe2ec0075dd0280010012f26..."} 
[2026-06-02 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c06ee0012cbe2ec0075dd0280010012f26..."} 
[2026-06-02 15:25:00] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c06ee0012cbe2ec0075dd0280010012f26..."} 
[2026-06-02 15:25:00] local.INFO: Packet analysis {"connection_id":89896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:00] local.INFO: Extracted packet for processing {"connection_id":89896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:00] local.INFO: GPS Element Parsed {"raw_longitude":750661312,"raw_latitude":123588648,"longitude_deg":75.0661312,"latitude_deg":12.3588648,"altitude":16,"angle":303,"satellites":38,"speed":41,"hex_longitude":"2cbe2ec0","hex_latitude":"075dd028","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780860672001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305851540340473856,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4734338707891712000,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780393996000,"timestamp_ms":1780393996000,"timestamp_seconds":1780393996,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c06ee0"} 
[2026-06-02 15:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:25: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-06-02 15: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-06-02 15:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:25: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-06-02 15:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780860672001,"66":27843,"123":206,"85":37120,"24":41,"16":305851540340473856,"44":-4734338707891712000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-06-02 15:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780860672001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:25:00] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-02 15:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305851540340473856,"km_value":305851540340473.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4734338707891712000,"description":"Unknown IO ID 44"} 
[2026-06-02 15:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780860672001,"power":27843,"unknown_123":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4734338707891712000}} 
[2026-06-02 15:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":89896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:25:00] local.INFO: GPS data processed {"connection_id":89896,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:25:00] local.INFO: Acknowledgment sent {"connection_id":89896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:25:05] local.INFO: TCP Data received {"connection_id":90978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:25:05] local.INFO: Processing buffer {"connection_id":90978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:25:05] local.INFO: IMEI packet received {"connection_id":90978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":90978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:25:08] local.INFO: TCP Data received {"connection_id":90978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:25:08] local.INFO: Processing buffer {"connection_id":90978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:25:08] local.INFO: IMEI packet received {"connection_id":90978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":90978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:25:09] local.INFO: TCP Data received {"connection_id":90978,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c0ebe0012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c0ebe0012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:25:09] local.INFO: Processing buffer {"connection_id":90978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c0ebe0012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:25:09] local.INFO: Packet analysis {"connection_id":90978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:09] local.INFO: Extracted packet for processing {"connection_id":90978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780865792001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562393088,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780394028000,"timestamp_ms":1780394028000,"timestamp_seconds":1780394028,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c0ebe0"} 
[2026-06-02 15:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:25: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-06-02 15:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 15:25: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-06-02 15:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":90978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":90978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":90978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:25:09] 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-06-02 15:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780865792001,"66":12504,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738178380562393088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780865792001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:25:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562393088,"description":"Unknown IO ID 45"} 
[2026-06-02 15:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780865792001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562393088}} 
[2026-06-02 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":90978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:25:09] local.INFO: GPS data processed {"connection_id":90978,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:25:09] local.INFO: Acknowledgment sent {"connection_id":90978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:25:28] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:25:28] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:25:28] local.INFO: IMEI packet received {"connection_id":89801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":89801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:25:34] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:25:34] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:25:34] local.INFO: IMEI packet received {"connection_id":89801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":89801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:25:34] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c09208012cbe0e00075de4b8000c01312b..."} 
[2026-06-02 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c09208012cbe0e00075de4b8000c01312b..."} 
[2026-06-02 15:25:34] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c09208012cbe0e00075de4b8000c01312b..."} 
[2026-06-02 15:25:34] local.INFO: Packet analysis {"connection_id":89801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:34] local.INFO: Extracted packet for processing {"connection_id":89801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":750652928,"raw_latitude":123593912,"longitude_deg":75.0652928,"latitude_deg":12.3593912,"altitude":12,"angle":305,"satellites":43,"speed":42,"hex_longitude":"2cbe0e00","hex_latitude":"075de4b8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780862976001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305852012786876416,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4742642219703326720,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780394005000,"timestamp_ms":1780394005000,"timestamp_seconds":1780394005,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c09208"} 
[2026-06-02 15:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:25: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-06-02 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780862976001,"66":27767,"123":206,"85":37120,"24":42,"16":305852012786876416,"44":-4742642219703326720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-06-02 15:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780862976001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:25:34] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-02 15:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305852012786876416,"km_value":305852012786876.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4742642219703326720,"description":"Unknown IO ID 44"} 
[2026-06-02 15:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780862976001,"power":27767,"unknown_123":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4742642219703326720}} 
[2026-06-02 15:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":89801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:25:34] local.INFO: GPS data processed {"connection_id":89801,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:25:34] local.INFO: Acknowledgment sent {"connection_id":89801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:25:38] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c0a590012cbdfcc0075df2d8000a013d2b..."} 
[2026-06-02 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c0a590012cbdfcc0075df2d8000a013d2b..."} 
[2026-06-02 15:25:38] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c0a590012cbdfcc0075df2d8000a013d2b..."} 
[2026-06-02 15:25:38] local.INFO: Packet analysis {"connection_id":89801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:38] local.INFO: Extracted packet for processing {"connection_id":89801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c0"} 
[2026-06-02 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":750648512,"raw_latitude":123597528,"longitude_deg":75.0648512,"latitude_deg":12.3597528,"altitude":10,"angle":317,"satellites":43,"speed":46,"hex_longitude":"2cbdfcc0","hex_latitude":"075df2d8","is_valid_coordinates":true} 
[2026-06-02 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780865280001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305852283369816064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4751860525189253120,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780394010000,"timestamp_ms":1780394010000,"timestamp_seconds":1780394010,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c0a590"} 
[2026-06-02 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780865280001,"66":27876,"123":206,"85":37120,"24":46,"16":305852283369816064,"44":-4751860525189253120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-06-02 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780865280001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:25:38] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-02 15:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305852283369816064,"km_value":305852283369816.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:25:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4751860525189253120,"description":"Unknown IO ID 44"} 
[2026-06-02 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780865280001,"power":27876,"unknown_123":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4751860525189253120}} 
[2026-06-02 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":89801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:25:38] local.INFO: GPS data processed {"connection_id":89801,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:25:38] local.INFO: Acknowledgment sent {"connection_id":89801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:25:40] local.INFO: TCP Data received {"connection_id":90978,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c13de8012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c13de8012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:25:40] local.INFO: Processing buffer {"connection_id":90978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c13de8012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:25:40] local.INFO: Packet analysis {"connection_id":90978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c1"} 
[2026-06-02 15:25:40] local.INFO: Extracted packet for processing {"connection_id":90978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c1"} 
[2026-06-02 15:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780871168001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780394049000,"timestamp_ms":1780394049000,"timestamp_seconds":1780394049,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c13de8"} 
[2026-06-02 15:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 15:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:25:40] 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-06-02 15:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780871168001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780871168001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:25:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780871168001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":90978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:25:40] local.INFO: GPS data processed {"connection_id":90978,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:25:40] local.INFO: Acknowledgment sent {"connection_id":90978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:26:06] local.INFO: TCP Data received {"connection_id":89897,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:26:06] local.INFO: Processing buffer {"connection_id":89897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:26:06] local.INFO: IMEI packet received {"connection_id":89897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":89897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:26:10] local.INFO: TCP Data received {"connection_id":89897,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:26:10] local.INFO: Processing buffer {"connection_id":89897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:26:10] local.INFO: IMEI packet received {"connection_id":89897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":89897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:26:11] local.INFO: TCP Data received {"connection_id":89897,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c18ff0012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c18ff0012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:26:11] local.INFO: Processing buffer {"connection_id":89897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c18ff0012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:26:11] local.INFO: Packet analysis {"connection_id":89897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c1"} 
[2026-06-02 15:26:11] local.INFO: Extracted packet for processing {"connection_id":89897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c1"} 
[2026-06-02 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780876544001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394070000,"timestamp_ms":1780394070000,"timestamp_seconds":1780394070,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c18ff0"} 
[2026-06-02 15:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:26:11] 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-06-02 15:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780876544001,"66":12428,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780876544001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:26:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780876544001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":89897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:26:11] local.INFO: GPS data processed {"connection_id":89897,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:26:11] local.INFO: Acknowledgment sent {"connection_id":89897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:26:24] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:26:24] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:26:24] local.INFO: IMEI packet received {"connection_id":89803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":89803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:26:27] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:26:27] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:26:27] local.INFO: IMEI packet received {"connection_id":89803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":89803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:26:27] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c25340012cbd1ec0075f2710000a01592b..."} 
[2026-06-02 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c25340012cbd1ec0075f2710000a01592b..."} 
[2026-06-02 15:26:27] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c25340012cbd1ec0075f2710000a01592b..."} 
[2026-06-02 15:26:27] local.INFO: Packet analysis {"connection_id":89803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:26:27] local.INFO: Extracted packet for processing {"connection_id":89803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":123676432,"longitude_deg":75.059168,"latitude_deg":12.3676432,"altitude":10,"angle":345,"satellites":43,"speed":35,"hex_longitude":"2cbd1ec0","hex_latitude":"075f2710","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780893696001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305857115208024064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817936775951716352,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780394120000,"timestamp_ms":1780394120000,"timestamp_seconds":1780394120,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c25340"} 
[2026-06-02 15:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:26: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-06-02 15: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-06-02 15:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:26: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-06-02 15:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780893696001,"66":27658,"112":206,"85":37120,"24":35,"16":305857115208024064,"44":-4817936775951716352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,44]} 
[2026-06-02 15:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780893696001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:26:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-02 15:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305857115208024064,"km_value":305857115208024.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817936775951716352,"description":"Unknown IO ID 44"} 
[2026-06-02 15:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780893696001,"power":27658,"unknown_112":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4817936775951716352}} 
[2026-06-02 15:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":89803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:26:27] local.INFO: GPS data processed {"connection_id":89803,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:26:27] local.INFO: Acknowledgment sent {"connection_id":89803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:26:42] local.INFO: TCP Data received {"connection_id":89897,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c1e1f8012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c1e1f8012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:26:42] local.INFO: Processing buffer {"connection_id":89897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c1e1f8012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:26:42] local.INFO: Packet analysis {"connection_id":89897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c1"} 
[2026-06-02 15:26:42] local.INFO: Extracted packet for processing {"connection_id":89897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c1"} 
[2026-06-02 15:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780881920001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780394091000,"timestamp_ms":1780394091000,"timestamp_seconds":1780394091,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c1e1f8"} 
[2026-06-02 15:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 15:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:26:42] 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-06-02 15:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780881920001,"66":12406,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780881920001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:26:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780881920001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":89897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:26:42] local.INFO: GPS data processed {"connection_id":89897,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:26:42] local.INFO: Acknowledgment sent {"connection_id":89897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:26:58] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c26e98012cbd1640075f4068000b014b2c..."} 
[2026-06-02 15:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c26e98012cbd1640075f4068000b014b2c..."} 
[2026-06-02 15:26:58] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c26e98012cbd1640075f4068000b014b2c..."} 
[2026-06-02 15:26:58] local.INFO: Packet analysis {"connection_id":89803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:26:58] local.INFO: Extracted packet for processing {"connection_id":89803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:26:58] local.INFO: GPS Element Parsed {"raw_longitude":750589504,"raw_latitude":123682920,"longitude_deg":75.0589504,"latitude_deg":12.368292,"altitude":11,"angle":331,"satellites":44,"speed":38,"hex_longitude":"2cbd1640","hex_latitude":"075f4068","is_valid_coordinates":true} 
[2026-06-02 15:26: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-06-02 15:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780894720001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305857445920505856,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413346152448,"note":"Value kept but may cause issues"} 
[2026-06-02 15:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780394127000,"timestamp_ms":1780394127000,"timestamp_seconds":1780394127,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c26e98"} 
[2026-06-02 15:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:26: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-06-02 15:26: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":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:26:58] 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-06-02 15:26: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-06-02 15:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:26: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-06-02 15:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780894720001,"66":27865,"113":206,"85":37120,"24":38,"16":305857445920505856,"44":-4819203413346152448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,44]} 
[2026-06-02 15:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780894720001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:26:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-02 15:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-02 15:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305857445920505856,"km_value":305857445920505.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413346152448,"description":"Unknown IO ID 44"} 
[2026-06-02 15:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780894720001,"power":27865,"unknown_113":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4819203413346152448}} 
[2026-06-02 15:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":89803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:26:58] local.INFO: GPS data processed {"connection_id":89803,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:26:58] local.INFO: Acknowledgment sent {"connection_id":89803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:27:05] local.INFO: TCP Data received {"connection_id":90980,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:27:05] local.INFO: Processing buffer {"connection_id":90980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:27:05] local.INFO: IMEI packet received {"connection_id":90980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":90980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:27:11] local.INFO: TCP Data received {"connection_id":90980,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:27:11] local.INFO: Processing buffer {"connection_id":90980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:27:11] local.INFO: IMEI packet received {"connection_id":90980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":90980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:27:11] local.INFO: TCP Data received {"connection_id":90980,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c23400012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c23400012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:27:11] local.INFO: Processing buffer {"connection_id":90980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c23400012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:27:11] local.INFO: Packet analysis {"connection_id":90980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:27:11] local.INFO: Extracted packet for processing {"connection_id":90980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780887296001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394112000,"timestamp_ms":1780394112000,"timestamp_seconds":1780394112,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c23400"} 
[2026-06-02 15:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 15:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:27:11] 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-06-02 15:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780887296001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780887296001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:27:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780887296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":90980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:27:12] local.INFO: GPS data processed {"connection_id":90980,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:27:12] local.INFO: Acknowledgment sent {"connection_id":90980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:27:24] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:24] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:24] local.INFO: IMEI packet received {"connection_id":89804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:27:24] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:24] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:24] local.INFO: IMEI packet received {"connection_id":89804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":89804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:27:28] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:28] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:27:28] local.INFO: IMEI packet received {"connection_id":89804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":89804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:27:29] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c360c8012cbc50c0075ffe08000e015f2a..."} 
[2026-06-02 15:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c360c8012cbc50c0075ffe08000e015f2a..."} 
[2026-06-02 15:27:29] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c360c8012cbc50c0075ffe08000e015f2a..."} 
[2026-06-02 15:27:29] local.INFO: Packet analysis {"connection_id":89804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:27:29] local.INFO: Extracted packet for processing {"connection_id":89804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:27:29] local.INFO: GPS Element Parsed {"raw_longitude":750538944,"raw_latitude":123731464,"longitude_deg":75.0538944,"latitude_deg":12.3731464,"altitude":14,"angle":351,"satellites":42,"speed":38,"hex_longitude":"2cbc50c0","hex_latitude":"075ffe08","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780911360001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305860877599375360,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4875920621140297728,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780394189000,"timestamp_ms":1780394189000,"timestamp_seconds":1780394189,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c360c8"} 
[2026-06-02 15:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":184,"data_length":795,"current_offset":136} 
[2026-06-02 15:27:29] 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-06-02 15: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-06-02 15:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15: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-06-02 15:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780911360001,"66":27865,"218":206,"85":37888,"24":38,"16":305860877599375360,"44":-4875920621140297728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,44]} 
[2026-06-02 15:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780911360001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:27:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 15:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305860877599375360,"km_value":305860877599375.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4875920621140297728,"description":"Unknown IO ID 44"} 
[2026-06-02 15:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780911360001,"power":27865,"unknown_218":206,"unknown_85":37888,"ignition":38,"odometer":null,"unknown_44":-4875920621140297728}} 
[2026-06-02 15:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":89804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:27:29] local.INFO: GPS data processed {"connection_id":89804,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:27:29] local.INFO: Acknowledgment sent {"connection_id":89804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:27:31] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c387d8012cbc4f8007602470000f01672b..."} 
[2026-06-02 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c387d8012cbc4f8007602470000f01672b..."} 
[2026-06-02 15:27:31] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c387d8012cbc4f8007602470000f01672b..."} 
[2026-06-02 15:27:31] local.INFO: Packet analysis {"connection_id":89804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:27:31] local.INFO: Extracted packet for processing {"connection_id":89804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":750538624,"raw_latitude":123741296,"longitude_deg":75.0538624,"latitude_deg":12.3741296,"altitude":15,"angle":359,"satellites":43,"speed":40,"hex_longitude":"2cbc4f80","hex_latitude":"07602470","is_valid_coordinates":true} 
[2026-06-02 15:27: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-06-02 15:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780912384001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305861354340745216,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4877187258534459392,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780394199000,"timestamp_ms":1780394199000,"timestamp_seconds":1780394199,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c387d8"} 
[2026-06-02 15:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:27: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-06-02 15:27: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-06-02 15:27: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-06-02 15:27: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-06-02 15:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780912384001,"66":27800,"218":206,"85":37888,"24":40,"16":305861354340745216,"44":-4877187258534459392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,44]} 
[2026-06-02 15:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780912384001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:27:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 15:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305861354340745216,"km_value":305861354340745.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4877187258534459392,"description":"Unknown IO ID 44"} 
[2026-06-02 15:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780912384001,"power":27800,"unknown_218":206,"unknown_85":37888,"ignition":40,"odometer":null,"unknown_44":-4877187258534459392}} 
[2026-06-02 15:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":89804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:27:31] local.INFO: GPS data processed {"connection_id":89804,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:27:31] local.INFO: Acknowledgment sent {"connection_id":89804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:27:33] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:33] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:33] local.INFO: IMEI packet received {"connection_id":90981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":90981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:27:34] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:34] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:34] local.INFO: IMEI packet received {"connection_id":90981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":90981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:27:38] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:38] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:27:38] local.INFO: IMEI packet received {"connection_id":90981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":90981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:27:39] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-02 15:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-02 15:27:39] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-02 15:27:39] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 15:27:39] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 15:27: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-06-02 15:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:27: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-06-02 15:27:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 15:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 15:27:39] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 15:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 15:27:39] local.ERROR: GPS data processing failed {"connection_id":90981,"error":"No valid data to process"} 
[2026-06-02 15:27:39] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 15:27:43] local.INFO: TCP Data received {"connection_id":90980,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c28608012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c28608012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:27:43] local.INFO: Processing buffer {"connection_id":90980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c28608012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:27:43] local.INFO: Packet analysis {"connection_id":90980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:27:43] local.INFO: Extracted packet for processing {"connection_id":90980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780892672001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780394133000,"timestamp_ms":1780394133000,"timestamp_seconds":1780394133,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c28608"} 
[2026-06-02 15:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:27:43] 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-06-02 15:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:27:43] 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-06-02 15:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780892672001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780892672001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:27:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:27:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780892672001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":90980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:27:43] local.INFO: GPS data processed {"connection_id":90980,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:27:43] local.INFO: Acknowledgment sent {"connection_id":90980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:28:03] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c3a330012cbc4dc0076040e0000f015b2b..."} 
[2026-06-02 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c3a330012cbc4dc0076040e0000f015b2b..."} 
[2026-06-02 15:28:03] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c3a330012cbc4dc0076040e0000f015b2b..."} 
[2026-06-02 15:28:03] local.INFO: Packet analysis {"connection_id":89804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:28:03] local.INFO: Extracted packet for processing {"connection_id":89804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":750538176,"raw_latitude":123748576,"longitude_deg":75.0538176,"latitude_deg":12.3748576,"altitude":15,"angle":347,"satellites":43,"speed":41,"hex_longitude":"2cbc4dc0","hex_latitude":"076040e0","is_valid_coordinates":true} 
[2026-06-02 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780914944001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305861706528063488,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4877539102252830720,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780394206000,"timestamp_ms":1780394206000,"timestamp_seconds":1780394206,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c3a330"} 
[2026-06-02 15:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:28: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-06-02 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:28: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-06-02 15:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:28: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-06-02 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780914944001,"66":27821,"218":206,"85":37888,"24":41,"16":305861706528063488,"44":-4877539102252830720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,44]} 
[2026-06-02 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780914944001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:28:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 15:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305861706528063488,"km_value":305861706528063.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4877539102252830720,"description":"Unknown IO ID 44"} 
[2026-06-02 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780914944001,"power":27821,"unknown_218":206,"unknown_85":37888,"ignition":41,"odometer":null,"unknown_44":-4877539102252830720}} 
[2026-06-02 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":89804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:28:03] local.INFO: GPS data processed {"connection_id":89804,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:28:03] local.INFO: Acknowledgment sent {"connection_id":89804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:28:10] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:28:10] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:28:10] local.INFO: IMEI packet received {"connection_id":89898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":89898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:28:10] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-02 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-02 15:28:10] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-02 15:28:10] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-02 15:28:10] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-02 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 15:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:28:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:28:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 15:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 15:28:10] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 15:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 15:28:10] local.ERROR: GPS data processing failed {"connection_id":90981,"error":"No valid data to process"} 
[2026-06-02 15:28:10] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 15:28:15] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:28:15] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:28:15] local.INFO: IMEI packet received {"connection_id":89898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":89898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:28:16] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c2d810012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c2d810012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:28:16] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c2d810012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:28:16] local.INFO: Packet analysis {"connection_id":89898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:28:16] local.INFO: Extracted packet for processing {"connection_id":89898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c2"} 
[2026-06-02 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780898048001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28: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-06-02 15:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780394154000,"timestamp_ms":1780394154000,"timestamp_seconds":1780394154,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c2d810"} 
[2026-06-02 15:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:28: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-06-02 15:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:28: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-06-02 15:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:28:16] 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-06-02 15:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780898048001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780898048001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:28:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780898048001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":89898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:28:16] local.INFO: GPS data processed {"connection_id":89898,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:28:16] local.INFO: Acknowledgment sent {"connection_id":89898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:28:24] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:24] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:24] local.INFO: IMEI packet received {"connection_id":89899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:28:24] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:24] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:24] local.INFO: IMEI packet received {"connection_id":89899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":89899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:28:28] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:28] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:28:28] local.INFO: IMEI packet received {"connection_id":89899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":89899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:28:29] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c3baa0012cbc458007605978000e014e29..."} 
[2026-06-02 15:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c3baa0012cbc458007605978000e014e29..."} 
[2026-06-02 15:28:29] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c3baa0012cbc458007605978000e014e29..."} 
[2026-06-02 15:28:29] local.INFO: Packet analysis {"connection_id":89899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:28:29] local.INFO: Extracted packet for processing {"connection_id":89899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:28:29] local.INFO: GPS Element Parsed {"raw_longitude":750536064,"raw_latitude":123754872,"longitude_deg":75.0536064,"latitude_deg":12.3754872,"altitude":14,"angle":334,"satellites":41,"speed":46,"hex_longitude":"2cbc4580","hex_latitude":"07605978","is_valid_coordinates":true} 
[2026-06-02 15:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780916736001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305862028650610688,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4878031683460210688,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780394212000,"timestamp_ms":1780394212000,"timestamp_seconds":1780394212,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c3baa0"} 
[2026-06-02 15:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:28: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-06-02 15:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:28:29] 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-06-02 15:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:28: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-06-02 15:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780916736001,"66":27767,"218":206,"85":37888,"24":46,"16":305862028650610688,"44":-4878031683460210688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,44]} 
[2026-06-02 15:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780916736001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:28:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-02 15:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305862028650610688,"km_value":305862028650610.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4878031683460210688,"description":"Unknown IO ID 44"} 
[2026-06-02 15:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780916736001,"power":27767,"unknown_218":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4878031683460210688}} 
[2026-06-02 15:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":89899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:28:29] local.INFO: GPS data processed {"connection_id":89899,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:28:29] local.INFO: Acknowledgment sent {"connection_id":89899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:28:41] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-06-02 15:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-06-02 15:28:41] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-06-02 15:28:41] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-02 15:28:41] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-02 15:28: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-06-02 15:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:28:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:28:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 15:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 15:28:41] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 15:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 15:28:41] local.ERROR: GPS data processing failed {"connection_id":90981,"error":"No valid data to process"} 
[2026-06-02 15:28:41] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 15:28:47] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c32a18012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c32a18012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:28:47] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c32a18012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:28:47] local.INFO: Packet analysis {"connection_id":89898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:28:47] local.INFO: Extracted packet for processing {"connection_id":89898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780903424001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:28: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-06-02 15:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780394175000,"timestamp_ms":1780394175000,"timestamp_seconds":1780394175,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c32a18"} 
[2026-06-02 15:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:28: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-06-02 15:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:28: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-06-02 15:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:28:47] 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-06-02 15:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780903424001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780903424001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:28:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780903424001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":89898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:28:47] local.INFO: GPS data processed {"connection_id":89898,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:28:47] local.INFO: Acknowledgment sent {"connection_id":89898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:29:00] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c3d9e0012cbc32c007607b30000d014729..."} 
[2026-06-02 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c3d9e0012cbc32c007607b30000d014729..."} 
[2026-06-02 15:29:00] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c3d9e0012cbc32c007607b30000d014729..."} 
[2026-06-02 15:29:00] local.INFO: Packet analysis {"connection_id":89899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:29:00] local.INFO: Extracted packet for processing {"connection_id":89899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:29:00] local.INFO: GPS Element Parsed {"raw_longitude":750531264,"raw_latitude":123763504,"longitude_deg":75.0531264,"latitude_deg":12.3763504,"altitude":13,"angle":327,"satellites":41,"speed":48,"hex_longitude":"2cbc32c0","hex_latitude":"07607b30","is_valid_coordinates":true} 
[2026-06-02 15:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780918272001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305862505391980544,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4880353852016461824,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780394220000,"timestamp_ms":1780394220000,"timestamp_seconds":1780394220,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c3d9e0"} 
[2026-06-02 15:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:29: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-06-02 15:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:29: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-06-02 15:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:29: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-06-02 15:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780918272001,"66":27800,"162":206,"85":37888,"24":48,"16":305862505391980544,"44":-4880353852016461824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,44]} 
[2026-06-02 15:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780918272001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:29:00] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-02 15:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305862505391980544,"km_value":305862505391980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4880353852016461824,"description":"Unknown IO ID 44"} 
[2026-06-02 15:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780918272001,"power":27800,"unknown_162":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4880353852016461824}} 
[2026-06-02 15:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":89899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:29:00] local.INFO: GPS data processed {"connection_id":89899,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:29:00] local.INFO: Acknowledgment sent {"connection_id":89899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:29:05] local.INFO: TCP Data received {"connection_id":90982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:29:05] local.INFO: Processing buffer {"connection_id":90982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:29:05] local.INFO: IMEI packet received {"connection_id":90982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":90982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:29:10] local.INFO: TCP Data received {"connection_id":90982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:29:10] local.INFO: Processing buffer {"connection_id":90982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:29:10] local.INFO: IMEI packet received {"connection_id":90982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":90982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:29:11] local.INFO: TCP Data received {"connection_id":90982,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c37c20012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c37c20012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:29:11] local.INFO: Processing buffer {"connection_id":90982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c37c20012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:29:11] local.INFO: Packet analysis {"connection_id":90982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:29:11] local.INFO: Extracted packet for processing {"connection_id":90982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780908800001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394196000,"timestamp_ms":1780394196000,"timestamp_seconds":1780394196,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c37c20"} 
[2026-06-02 15:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:29:11] 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-06-02 15:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780908800001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780908800001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:29:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780908800001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":90982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:29:11] local.INFO: GPS data processed {"connection_id":90982,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:29:11] local.INFO: Acknowledgment sent {"connection_id":90982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:29:12] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c53970012d7a508005eb9a800000014406..."} 
[2026-06-02 15:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c53970012d7a508005eb9a800000014406..."} 
[2026-06-02 15:29:12] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c53970012d7a508005eb9a800000014406..."} 
[2026-06-02 15:29:12] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:29:12] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:29:12] local.INFO: GPS Element Parsed {"raw_longitude":762990720,"raw_latitude":99326592,"longitude_deg":76.299072,"latitude_deg":9.9326592,"altitude":0,"angle":324,"satellites":6,"speed":9,"hex_longitude":"2d7a5080","hex_latitude":"05eb9a80","is_valid_coordinates":true} 
[2026-06-02 15:29: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-06-02 15:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831200734904320,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780394310000,"timestamp_ms":1780394310000,"timestamp_seconds":1780394310,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c53970"} 
[2026-06-02 15:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:29:12] 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-06-02 15:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 15:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:29:12] 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-06-02 15:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13102,"163":206,"87":13824,"24":9,"16":87831200734904320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16]} 
[2026-06-02 15:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 15:29:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 15:29:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831200734904320,"km_value":87831200734904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:29:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13102,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null}} 
[2026-06-02 15:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:29:12] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:29:12] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:29:18] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:29:18] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:29:18] local.INFO: IMEI packet received {"connection_id":89900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":89900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:29:23] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:29:23] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:29:23] local.INFO: IMEI packet received {"connection_id":89526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:29:28] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:29:28] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:29:28] local.INFO: IMEI packet received {"connection_id":89526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":89526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:29:29] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c54cf8012cbb42800761c2800019013b29..."} 
[2026-06-02 15:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c54cf8012cbb42800761c2800019013b29..."} 
[2026-06-02 15:29:29] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c54cf8012cbb42800761c2800019013b29..."} 
[2026-06-02 15:29:29] local.INFO: Packet analysis {"connection_id":89526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:29:29] local.INFO: Extracted packet for processing {"connection_id":89526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:29:29] local.INFO: GPS Element Parsed {"raw_longitude":750469760,"raw_latitude":123847296,"longitude_deg":75.046976,"latitude_deg":12.3847296,"altitude":25,"angle":315,"satellites":41,"speed":44,"hex_longitude":"2cbb4280","hex_latitude":"0761c280","is_valid_coordinates":true} 
[2026-06-02 15:29: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-06-02 15:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780942336001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305867547683586048,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4945656046591275008,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780394315000,"timestamp_ms":1780394315000,"timestamp_seconds":1780394315,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c54cf8"} 
[2026-06-02 15:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:29: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-06-02 15:29: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-06-02 15:29: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-06-02 15:29: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-06-02 15:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:29: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-06-02 15:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780942336001,"66":27832,"163":206,"85":37888,"24":44,"16":305867547683586048,"44":-4945656046591275008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,44]} 
[2026-06-02 15:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780942336001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:29:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 15:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305867547683586048,"km_value":305867547683586.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4945656046591275008,"description":"Unknown IO ID 44"} 
[2026-06-02 15:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780942336001,"power":27832,"unknown_163":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4945656046591275008}} 
[2026-06-02 15:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":89526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:29:29] local.INFO: GPS data processed {"connection_id":89526,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:29:29] local.INFO: Acknowledgment sent {"connection_id":89526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:29:42] local.INFO: TCP Data received {"connection_id":90982,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c3ce28012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c3ce28012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:29:42] local.INFO: Processing buffer {"connection_id":90982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c3ce28012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:29:42] local.INFO: Packet analysis {"connection_id":90982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:29:42] local.INFO: Extracted packet for processing {"connection_id":90982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c3"} 
[2026-06-02 15:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780914176001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780394217000,"timestamp_ms":1780394217000,"timestamp_seconds":1780394217,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c3ce28"} 
[2026-06-02 15:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:29:42] 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-06-02 15:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780914176001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780914176001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:29:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780914176001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":90982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:29:42] local.INFO: GPS data processed {"connection_id":90982,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:29:42] local.INFO: Acknowledgment sent {"connection_id":90982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:29:43] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c54528012d7a4e8005eb9ed80000015106..."} 
[2026-06-02 15:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c54528012d7a4e8005eb9ed80000015106..."} 
[2026-06-02 15:29:43] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c54528012d7a4e8005eb9ed80000015106..."} 
[2026-06-02 15:29:43] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:29:43] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:29:43] local.INFO: GPS Element Parsed {"raw_longitude":762990208,"raw_latitude":99327704,"longitude_deg":76.2990208,"latitude_deg":9.9327704,"altitude":0,"angle":337,"satellites":6,"speed":13,"hex_longitude":"2d7a4e80","hex_latitude":"05eb9ed8","is_valid_coordinates":true} 
[2026-06-02 15:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780943360001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831256569479168,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813685233680023552,"note":"Value kept but may cause issues"} 
[2026-06-02 15:29:43] 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-06-02 15:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780394313000,"timestamp_ms":1780394313000,"timestamp_seconds":1780394313,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c54528"} 
[2026-06-02 15:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 15:29:43] 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-06-02 15:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:29:43] 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-06-02 15:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780943360001,"66":13319,"163":206,"87":13824,"24":13,"16":87831256569479168,"45":8813685233680023552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 15:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780943360001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:29:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 15:29:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831256569479168,"km_value":87831256569479.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813685233680023552,"description":"Unknown IO ID 45"} 
[2026-06-02 15:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780943360001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8813685233680023552}} 
[2026-06-02 15:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:29:43] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:29:43] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:29:58] local.INFO: TCP Data received {"connection_id":89806,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:29:58] local.INFO: Processing buffer {"connection_id":89806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:29:58] local.INFO: IMEI packet received {"connection_id":89806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":89806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:30:00] local.INFO: TCP Data received {"connection_id":89526,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c56850012cbb28400761da400017013829..."} 
[2026-06-02 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c56850012cbb28400761da400017013829..."} 
[2026-06-02 15:30:00] local.INFO: Processing buffer {"connection_id":89526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c56850012cbb28400761da400017013829..."} 
[2026-06-02 15:30:00] local.INFO: Packet analysis {"connection_id":89526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:00] local.INFO: Extracted packet for processing {"connection_id":89526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":750463040,"raw_latitude":123853376,"longitude_deg":75.046304,"latitude_deg":12.3853376,"altitude":23,"angle":312,"satellites":41,"speed":54,"hex_longitude":"2cbb2840","hex_latitude":"0761da40","is_valid_coordinates":true} 
[2026-06-02 15:30: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-06-02 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780944640001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305867981475282944,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4953255870960861184,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780394322000,"timestamp_ms":1780394322000,"timestamp_seconds":1780394322,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c56850"} 
[2026-06-02 15:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:30: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-06-02 15:30: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":184,"data_length":795,"current_offset":136} 
[2026-06-02 15:30:00] 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-06-02 15:30: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-06-02 15:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:30: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-06-02 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780944640001,"66":27908,"163":206,"85":37888,"24":54,"16":305867981475282944,"44":-4953255870960861184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,44]} 
[2026-06-02 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780944640001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:30:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 15:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305867981475282944,"km_value":305867981475282.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4953255870960861184,"description":"Unknown IO ID 44"} 
[2026-06-02 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780944640001,"power":27908,"unknown_163":206,"unknown_85":37888,"ignition":54,"odometer":null,"unknown_44":-4953255870960861184}} 
[2026-06-02 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":89526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:30:00] local.INFO: GPS data processed {"connection_id":89526,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:30:00] local.INFO: Acknowledgment sent {"connection_id":89526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:30:05] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:30:05] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:30:05] local.INFO: IMEI packet received {"connection_id":89807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":89807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:30:10] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:30:10] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:30:10] local.INFO: IMEI packet received {"connection_id":89807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":89807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:30:11] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c42030012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c42030012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:30:11] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c42030012d181ec00721aee8004c00cb29..."} 
[2026-06-02 15:30:11] local.INFO: Packet analysis {"connection_id":89807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c4"} 
[2026-06-02 15:30:11] local.INFO: Extracted packet for processing {"connection_id":89807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c4"} 
[2026-06-02 15:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780919552001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394238000,"timestamp_ms":1780394238000,"timestamp_seconds":1780394238,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c42030"} 
[2026-06-02 15:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:30:11] 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-06-02 15:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780919552001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780919552001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:30:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780919552001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":89807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:30:11] local.INFO: GPS data processed {"connection_id":89807,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:30:11] local.INFO: Acknowledgment sent {"connection_id":89807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:30:14] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c558b0012d7a4a0005eba7880000014507..."} 
[2026-06-02 15:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c558b0012d7a4a0005eba7880000014507..."} 
[2026-06-02 15:30:14] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c558b0012d7a4a0005eba7880000014507..."} 
[2026-06-02 15:30:14] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:14] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:14] local.INFO: GPS Element Parsed {"raw_longitude":762989056,"raw_latitude":99329928,"longitude_deg":76.2989056,"latitude_deg":9.9329928,"altitude":0,"angle":325,"satellites":7,"speed":17,"hex_longitude":"2d7a4a00","hex_latitude":"05eba788","is_valid_coordinates":true} 
[2026-06-02 15:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780944128001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831381123530752,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813122283726886912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:14] 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-06-02 15:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780394318000,"timestamp_ms":1780394318000,"timestamp_seconds":1780394318,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c558b0"} 
[2026-06-02 15:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 15:30:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416625,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-06-02 15:30:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748800,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:14] local.WARNING: Large IO value detected {"io_id":145,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:14] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,163,87,24,241,157,16,10,158,57,45,128,154,6,66,91,9,1,240,133,227,4,113,205,27,239,2,49,56,145],"length":527,"final_offset":657,"validated_count":30,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-06-02 15:30:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":370561189216256,"timestamp_seconds":370561189216.256,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:30:14] 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-06-02 15:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780944128001,"66":13243,"163":206,"87":13824,"24":17,"16":87831381123530752,"45":8813122283726886912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 15:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780944128001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:30:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 15:30:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831381123530752,"km_value":87831381123530.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813122283726886912,"description":"Unknown IO ID 45"} 
[2026-06-02 15:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780944128001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8813122283726886912}} 
[2026-06-02 15:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:30:14] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:30:14] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:30:23] local.INFO: TCP Data received {"connection_id":89901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:23] local.INFO: Processing buffer {"connection_id":89901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:23] local.INFO: IMEI packet received {"connection_id":89901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":89901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:30:26] local.INFO: TCP Data received {"connection_id":89901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:26] local.INFO: Processing buffer {"connection_id":89901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:26] local.INFO: IMEI packet received {"connection_id":89901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":89901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:30:29] local.INFO: TCP Data received {"connection_id":89901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:29] local.INFO: Processing buffer {"connection_id":89901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:30:29] local.INFO: IMEI packet received {"connection_id":89901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":89901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:30:30] local.INFO: TCP Data received {"connection_id":89901,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c583a8012cbb0cc00761f3f80014013a29..."} 
[2026-06-02 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c583a8012cbb0cc00761f3f80014013a29..."} 
[2026-06-02 15:30:30] local.INFO: Processing buffer {"connection_id":89901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c583a8012cbb0cc00761f3f80014013a29..."} 
[2026-06-02 15:30:30] local.INFO: Packet analysis {"connection_id":89901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:30] local.INFO: Extracted packet for processing {"connection_id":89901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750456000,"raw_latitude":123859960,"longitude_deg":75.0456,"latitude_deg":12.385996,"altitude":20,"angle":314,"satellites":41,"speed":53,"hex_longitude":"2cbb0cc0","hex_latitude":"0761f3f8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780946432001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305868441036783616,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4960644589097959424,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780394329000,"timestamp_ms":1780394329000,"timestamp_seconds":1780394329,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c583a8"} 
[2026-06-02 15:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:30: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-06-02 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:30: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-06-02 15:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780946432001,"66":27213,"163":206,"85":37888,"24":53,"16":305868441036783616,"44":-4960644589097959424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,44]} 
[2026-06-02 15:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780946432001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305868441036783616,"km_value":305868441036783.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4960644589097959424,"description":"Unknown IO ID 44"} 
[2026-06-02 15:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780946432001,"power":27213,"unknown_163":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4960644589097959424}} 
[2026-06-02 15:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":89901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:30:30] local.INFO: GPS data processed {"connection_id":89901,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:30:30] local.INFO: Acknowledgment sent {"connection_id":89901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:30:30] local.INFO: TCP Data received {"connection_id":89901,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c59f00012cbaf20007620e800013013c29..."} 
[2026-06-02 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c59f00012cbaf20007620e800013013c29..."} 
[2026-06-02 15:30:30] local.INFO: Processing buffer {"connection_id":89901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c59f00012cbaf20007620e800013013c29..."} 
[2026-06-02 15:30:30] local.INFO: Packet analysis {"connection_id":89901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:30] local.INFO: Extracted packet for processing {"connection_id":89901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750449152,"raw_latitude":123866752,"longitude_deg":75.0449152,"latitude_deg":12.3866752,"altitude":19,"angle":316,"satellites":41,"speed":55,"hex_longitude":"2cbaf200","hex_latitude":"07620e80","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780948224001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305868904893251584,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4968385150955816960,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780394336000,"timestamp_ms":1780394336000,"timestamp_seconds":1780394336,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c59f00"} 
[2026-06-02 15:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:30: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-06-02 15: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 15:30:30] 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-06-02 15: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-06-02 15:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:30: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-06-02 15:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780948224001,"66":27908,"108":206,"85":37888,"24":55,"16":305868904893251584,"44":-4968385150955816960},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,85,24,16,44]} 
[2026-06-02 15:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780948224001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305868904893251584,"km_value":305868904893251.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4968385150955816960,"description":"Unknown IO ID 44"} 
[2026-06-02 15:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780948224001,"power":27908,"unknown_108":206,"unknown_85":37888,"ignition":55,"odometer":null,"unknown_44":-4968385150955816960}} 
[2026-06-02 15:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":89901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:30:30] local.INFO: GPS data processed {"connection_id":89901,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:30:30] local.INFO: Acknowledgment sent {"connection_id":89901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:30:42] local.INFO: TCP Data received {"connection_id":89807,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c47238012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c47238012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:30:42] local.INFO: Processing buffer {"connection_id":89807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c47238012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:30:42] local.INFO: Packet analysis {"connection_id":89807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c4"} 
[2026-06-02 15:30:42] local.INFO: Extracted packet for processing {"connection_id":89807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c4"} 
[2026-06-02 15:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780924928001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780394259000,"timestamp_ms":1780394259000,"timestamp_seconds":1780394259,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c47238"} 
[2026-06-02 15:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:30:42] 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-06-02 15:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780924928001,"66":12385,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780924928001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:30:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780924928001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":89807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:30:42] local.INFO: GPS data processed {"connection_id":89807,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:30:42] local.INFO: Acknowledgment sent {"connection_id":89807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:30:46] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c59348012d7a358005ebc4f00009013d07..."} 
[2026-06-02 15:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c59348012d7a358005ebc4f00009013d07..."} 
[2026-06-02 15:30:46] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c59348012d7a358005ebc4f00009013d07..."} 
[2026-06-02 15:30:46] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:46] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:30:46] local.INFO: GPS Element Parsed {"raw_longitude":762983808,"raw_latitude":99337456,"longitude_deg":76.2983808,"latitude_deg":9.9337456,"altitude":9,"angle":317,"satellites":7,"speed":21,"hex_longitude":"2d7a3580","hex_latitude":"05ebc4f0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780945408001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87831823505162240,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811855646332258304,"note":"Value kept but may cause issues"} 
[2026-06-02 15:30:46] 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-06-02 15:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780394333000,"timestamp_ms":1780394333000,"timestamp_seconds":1780394333,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c59348"} 
[2026-06-02 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-06-02 15:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 15:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 15:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:30:46] 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-06-02 15:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780945408001,"66":13330,"163":206,"87":13824,"24":21,"16":87831823505162240,"45":8811855646332258304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-02 15:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780945408001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:30:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-02 15:30:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87831823505162240,"km_value":87831823505162.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811855646332258304,"description":"Unknown IO ID 45"} 
[2026-06-02 15:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780945408001,"power":13330,"unknown_163":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8811855646332258304}} 
[2026-06-02 15:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:30:46] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:30:46] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:31:02] local.INFO: TCP Data received {"connection_id":89901,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c5ba58012cbad6c007622b780010013d29..."} 
[2026-06-02 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c5ba58012cbad6c007622b780010013d29..."} 
[2026-06-02 15:31:02] local.INFO: Processing buffer {"connection_id":89901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c5ba58012cbad6c007622b780010013d29..."} 
[2026-06-02 15:31:02] local.INFO: Packet analysis {"connection_id":89901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:31:02] local.INFO: Extracted packet for processing {"connection_id":89901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":750442176,"raw_latitude":123874168,"longitude_deg":75.0442176,"latitude_deg":12.3874168,"altitude":16,"angle":317,"satellites":41,"speed":59,"hex_longitude":"2cbad6c0","hex_latitude":"07622b78","is_valid_coordinates":true} 
[2026-06-02 15:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780950016001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305869394519523328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4975914606581088256,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780394343000,"timestamp_ms":1780394343000,"timestamp_seconds":1780394343,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c5ba58"} 
[2026-06-02 15:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:31: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-06-02 15:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:31: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-06-02 15:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:31: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-06-02 15:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780950016001,"66":27876,"108":206,"85":37888,"24":59,"16":305869394519523328,"44":-4975914606581088256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,85,24,16,44]} 
[2026-06-02 15:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780950016001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:31:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 15:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305869394519523328,"km_value":305869394519523.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4975914606581088256,"description":"Unknown IO ID 44"} 
[2026-06-02 15:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780950016001,"power":27876,"unknown_108":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4975914606581088256}} 
[2026-06-02 15:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":89901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:31:02] local.INFO: GPS data processed {"connection_id":89901,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:31:02] local.INFO: Acknowledgment sent {"connection_id":89901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:31:05] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:05] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:05] local.INFO: IMEI packet received {"connection_id":89528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":89528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:31:05] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:05] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:05] local.INFO: IMEI packet received {"connection_id":89528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":89528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:31:10] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:10] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:31:10] local.INFO: IMEI packet received {"connection_id":89528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":89528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:31:11] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c4c440012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c4c440012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:31:11] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c4c440012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:31:11] local.INFO: Packet analysis {"connection_id":89528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c4"} 
[2026-06-02 15:31:11] local.INFO: Extracted packet for processing {"connection_id":89528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c4"} 
[2026-06-02 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780930304001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394280000,"timestamp_ms":1780394280000,"timestamp_seconds":1780394280,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c4c440"} 
[2026-06-02 15:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 15:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:31:11] 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-06-02 15:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780930304001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780930304001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:31:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780930304001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":89528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:31:11] local.INFO: GPS data processed {"connection_id":89528,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:31:11] local.INFO: Acknowledgment sent {"connection_id":89528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:31:17] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7a688012d7a168005ec8050000d01280c..."} 
[2026-06-02 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7a688012d7a168005ec8050000d01280c..."} 
[2026-06-02 15:31:17] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7a688012d7a168005ec8050000d01280c..."} 
[2026-06-02 15:31:17] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:31:17] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":762975872,"raw_latitude":99385424,"longitude_deg":76.2975872,"latitude_deg":9.9385424,"altitude":13,"angle":296,"satellites":12,"speed":8,"hex_longitude":"2d7a1680","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780983808001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834606643970048,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797570791278374912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780394469000,"timestamp_ms":1780394469000,"timestamp_seconds":1780394469,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7a688"} 
[2026-06-02 15:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 15:31:17] 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-06-02 15: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-06-02 15:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:31:17] 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-06-02 15:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780983808001,"66":12982,"157":206,"87":13824,"24":8,"16":87834606643970048,"45":8797570791278374912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780983808001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:31:17] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:31:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834606643970048,"km_value":87834606643970.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797570791278374912,"description":"Unknown IO ID 45"} 
[2026-06-02 15:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780983808001,"power":12982,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8797570791278374912}} 
[2026-06-02 15:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:31:17] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:31:17] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:31:23] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:31:23] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:31:23] local.INFO: IMEI packet received {"connection_id":89529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":89529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:31:29] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:31:29] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:31:29] local.INFO: IMEI packet received {"connection_id":89529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":89529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:31:29] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c5d1c8012cbabe80076245780012013e2b..."} 
[2026-06-02 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c5d1c8012cbabe80076245780012013e2b..."} 
[2026-06-02 15:31:29] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c5d1c8012cbabe80076245780012013e2b..."} 
[2026-06-02 15:31:29] local.INFO: Packet analysis {"connection_id":89529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:31:29] local.INFO: Extracted packet for processing {"connection_id":89529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":750435968,"raw_latitude":123880824,"longitude_deg":75.0435968,"latitude_deg":12.3880824,"altitude":18,"angle":318,"satellites":43,"speed":57,"hex_longitude":"2cbabe80","hex_latitude":"07624578","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780951808001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305869832606187520,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4983584799694555136,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780394349000,"timestamp_ms":1780394349000,"timestamp_seconds":1780394349,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c5d1c8"} 
[2026-06-02 15:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:31: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-06-02 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:31: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-06-02 15: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-06-02 15:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:31: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-06-02 15:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780951808001,"66":27865,"108":206,"85":37888,"24":57,"16":305869832606187520,"44":-4983584799694555136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,85,24,16,44]} 
[2026-06-02 15:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780951808001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:31:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-02 15:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305869832606187520,"km_value":305869832606187.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4983584799694555136,"description":"Unknown IO ID 44"} 
[2026-06-02 15:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780951808001,"power":27865,"unknown_108":206,"unknown_85":37888,"ignition":57,"odometer":null,"unknown_44":-4983584799694555136}} 
[2026-06-02 15:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":89529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:31:29] local.INFO: GPS data processed {"connection_id":89529,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:31:29] local.INFO: Acknowledgment sent {"connection_id":89529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:31:42] local.INFO: TCP Data received {"connection_id":89528,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c51648012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c51648012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:31:42] local.INFO: Processing buffer {"connection_id":89528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c51648012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:31:42] local.INFO: Packet analysis {"connection_id":89528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:31:42] local.INFO: Extracted packet for processing {"connection_id":89528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780935680001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780394301000,"timestamp_ms":1780394301000,"timestamp_seconds":1780394301,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c51648"} 
[2026-06-02 15:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:31:42] 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-06-02 15:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780935680001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780935680001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:31:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780935680001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":89528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:31:42] local.INFO: GPS data processed {"connection_id":89528,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:31:42] local.INFO: Acknowledgment sent {"connection_id":89528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:31:48] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7aa70012d7a158005ec8088000c01150c..."} 
[2026-06-02 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7aa70012d7a158005ec8088000c01150c..."} 
[2026-06-02 15:31:48] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7aa70012d7a158005ec8088000c01150c..."} 
[2026-06-02 15:31:48] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:31:48] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:31:48] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":99385480,"longitude_deg":76.2975616,"latitude_deg":9.938548,"altitude":12,"angle":277,"satellites":12,"speed":9,"hex_longitude":"2d7a1580","hex_latitude":"05ec8088","is_valid_coordinates":true} 
[2026-06-02 15:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780984064001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834615233904640,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797359685045866496,"note":"Value kept but may cause issues"} 
[2026-06-02 15:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780394470000,"timestamp_ms":1780394470000,"timestamp_seconds":1780394470,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7aa70"} 
[2026-06-02 15:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 15:31:48] 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-06-02 15:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:31:48] 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-06-02 15:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780984064001,"66":13059,"157":206,"87":13824,"24":9,"16":87834615233904640,"45":8797359685045866496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780984064001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:31:48] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:31:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834615233904640,"km_value":87834615233904.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797359685045866496,"description":"Unknown IO ID 45"} 
[2026-06-02 15:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780984064001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8797359685045866496}} 
[2026-06-02 15:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:31:48] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:31:48] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:32:05] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:05] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:05] local.INFO: IMEI packet received {"connection_id":89902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":89902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:32:08] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:08] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:08] local.INFO: IMEI packet received {"connection_id":89902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":89902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:32:09] local.INFO: TCP Data received {"connection_id":89529,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c76808012cb9c18007633428000f01222c..."} 
[2026-06-02 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c76808012cb9c18007633428000f01222c..."} 
[2026-06-02 15:32:09] local.INFO: Processing buffer {"connection_id":89529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c76808012cb9c18007633428000f01222c..."} 
[2026-06-02 15:32:09] local.INFO: Packet analysis {"connection_id":89529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:09] local.INFO: Extracted packet for processing {"connection_id":89529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:09] local.INFO: GPS Element Parsed {"raw_longitude":750371200,"raw_latitude":123941928,"longitude_deg":75.03712,"latitude_deg":12.3941928,"altitude":15,"angle":290,"satellites":44,"speed":37,"hex_longitude":"2cb9c180","hex_latitude":"07633428","is_valid_coordinates":true} 
[2026-06-02 15:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780976896001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305874256422502400,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5051701744042016768,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780394453000,"timestamp_ms":1780394453000,"timestamp_seconds":1780394453,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c76808"} 
[2026-06-02 15:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:32: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-06-02 15:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 15:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:32: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-06-02 15:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780976896001,"66":27626,"109":206,"85":37888,"24":37,"16":305874256422502400,"44":-5051701744042016768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,44]} 
[2026-06-02 15:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780976896001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:32:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 15:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305874256422502400,"km_value":305874256422502.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5051701744042016768,"description":"Unknown IO ID 44"} 
[2026-06-02 15:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780976896001,"power":27626,"unknown_109":206,"unknown_85":37888,"ignition":37,"odometer":null,"unknown_44":-5051701744042016768}} 
[2026-06-02 15:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":89529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:32:09] local.INFO: GPS data processed {"connection_id":89529,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:32:09] local.INFO: Acknowledgment sent {"connection_id":89529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:32:11] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:11] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:32:11] local.INFO: IMEI packet received {"connection_id":89902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":89902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:32:12] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c56850012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c56850012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:32:12] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c56850012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:32:12] local.INFO: Packet analysis {"connection_id":89902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:32:12] local.INFO: Extracted packet for processing {"connection_id":89902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780941056001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780394322000,"timestamp_ms":1780394322000,"timestamp_seconds":1780394322,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c56850"} 
[2026-06-02 15:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:32:12] 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-06-02 15:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:32:12] 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-06-02 15:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780941056001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780941056001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:32:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780941056001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":89902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:32:12] local.INFO: GPS data processed {"connection_id":89902,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:32:12] local.INFO: Acknowledgment sent {"connection_id":89902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:32:19] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7ae58012d7a150005ec8088000c01030c..."} 
[2026-06-02 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7ae58012d7a150005ec8088000c01030c..."} 
[2026-06-02 15:32:19] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7ae58012d7a150005ec8088000c01030c..."} 
[2026-06-02 15:32:19] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:19] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:19] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385480,"longitude_deg":76.2975488,"latitude_deg":9.938548,"altitude":12,"angle":259,"satellites":12,"speed":6,"hex_longitude":"2d7a1500","hex_latitude":"05ec8088","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780984320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834623823839232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078210069170176,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780394471000,"timestamp_ms":1780394471000,"timestamp_seconds":1780394471,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7ae58"} 
[2026-06-02 15:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158264909117,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818504,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2277997456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085565,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967633408,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,157,87,24,241,16,13,158,166,45,128,12,10,66,162,64,127,1,240,85,227,135,236,4,113,205,6,21,120,239,50,2,56,5,8],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:32:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864995744716226560,"timestamp_seconds":864995744716226.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:32:19] 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-06-02 15:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780984320001,"66":13059,"157":206,"87":13824,"24":6,"16":87834623823839232,"45":8797078210069170176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780984320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:32:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:32:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834623823839232,"km_value":87834623823839.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078210069170176,"description":"Unknown IO ID 45"} 
[2026-06-02 15:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780984320001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8797078210069170176}} 
[2026-06-02 15:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:32:19] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:32:19] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:32:27] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:27] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:27] local.INFO: IMEI packet received {"connection_id":89808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":89808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:32:28] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:28] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:28] local.INFO: IMEI packet received {"connection_id":89808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":89808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:32:29] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:29] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:32:29] local.INFO: IMEI packet received {"connection_id":89808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":89808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:32:30] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c78f18012cb9a080076344780011012a2d..."} 
[2026-06-02 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c78f18012cb9a080076344780011012a2d..."} 
[2026-06-02 15:32:30] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c78f18012cb9a080076344780011012a2d..."} 
[2026-06-02 15:32:30] local.INFO: Packet analysis {"connection_id":89808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:30] local.INFO: Extracted packet for processing {"connection_id":89808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":750362752,"raw_latitude":123946104,"longitude_deg":75.0362752,"latitude_deg":12.3946104,"altitude":17,"angle":298,"satellites":45,"speed":34,"hex_longitude":"2cb9a080","hex_latitude":"07634478","is_valid_coordinates":true} 
[2026-06-02 15:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780979968001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305874703099101184,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5061623736970237952,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780394463000,"timestamp_ms":1780394463000,"timestamp_seconds":1780394463,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c78f18"} 
[2026-06-02 15:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:32: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-06-02 15:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 15:32:30] 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-06-02 15:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:32: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-06-02 15:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780979968001,"66":27876,"109":206,"85":37888,"24":34,"16":305874703099101184,"44":-5061623736970237952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,44]} 
[2026-06-02 15:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780979968001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:32:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 15:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305874703099101184,"km_value":305874703099101.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5061623736970237952,"description":"Unknown IO ID 44"} 
[2026-06-02 15:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780979968001,"power":27876,"unknown_109":206,"unknown_85":37888,"ignition":34,"odometer":null,"unknown_44":-5061623736970237952}} 
[2026-06-02 15:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":89808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:32:30] local.INFO: GPS data processed {"connection_id":89808,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:32:30] local.INFO: Acknowledgment sent {"connection_id":89808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:32:34] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7c1e0012cb98180076357b00015012f2b..."} 
[2026-06-02 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7c1e0012cb98180076357b00015012f2b..."} 
[2026-06-02 15:32:34] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7c1e0012cb98180076357b00015012f2b..."} 
[2026-06-02 15:32:34] local.INFO: Packet analysis {"connection_id":89808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:34] local.INFO: Extracted packet for processing {"connection_id":89808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":750354816,"raw_latitude":123951024,"longitude_deg":75.0354816,"latitude_deg":12.3951024,"altitude":21,"angle":303,"satellites":43,"speed":23,"hex_longitude":"2cb98180","hex_latitude":"076357b0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780982528001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305875145480732672,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5070912411200620544,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780394476000,"timestamp_ms":1780394476000,"timestamp_seconds":1780394476,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7c1e0"} 
[2026-06-02 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-06-02 15:32: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-06-02 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 15:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780982528001,"66":27995,"109":206,"85":37888,"24":23,"16":305875145480732672,"44":-5070912411200620544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,44]} 
[2026-06-02 15:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780982528001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:32:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 15:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305875145480732672,"km_value":305875145480732.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:32:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5070912411200620544,"description":"Unknown IO ID 44"} 
[2026-06-02 15:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780982528001,"power":27995,"unknown_109":206,"unknown_85":37888,"ignition":23,"odometer":null,"unknown_44":-5070912411200620544}} 
[2026-06-02 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":89808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:32:34] local.INFO: GPS data processed {"connection_id":89808,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:32:34] local.INFO: Acknowledgment sent {"connection_id":89808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:32:43] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c5ba58012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c5ba58012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:32:43] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c5ba58012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:32:43] local.INFO: Packet analysis {"connection_id":89902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:32:43] local.INFO: Extracted packet for processing {"connection_id":89902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c5"} 
[2026-06-02 15:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780946432001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780394343000,"timestamp_ms":1780394343000,"timestamp_seconds":1780394343,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c5ba58"} 
[2026-06-02 15:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:32:43] 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-06-02 15:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:32:43] 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-06-02 15:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780946432001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780946432001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:32:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780946432001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":89902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:32:43] local.INFO: GPS data processed {"connection_id":89902,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:32:43] local.INFO: Acknowledgment sent {"connection_id":89902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:32:50] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:32:50] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:32:50] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:50] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385424,"longitude_deg":76.297472,"latitude_deg":9.9385424,"altitude":12,"angle":255,"satellites":12,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-02 15:32: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-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780984576001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580814848,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780394485000,"timestamp_ms":1780394485000,"timestamp_seconds":1780394485,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7e508"} 
[2026-06-02 15:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595325,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818506,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2278000456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3349067777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967645696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3221613693,"note":"Value kept but may cause issues"} 
[2026-06-02 15:32:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,157,87,24,241,16,13,158,170,45,128,12,10,66,166,162,64,1,240,85,227,135,236,4,113,205,5,143,22,160,239,50,2,56,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:32:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864975953506729984,"timestamp_seconds":864975953506730.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:32:50] 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-06-02 15:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780984576001,"66":13298,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8796937472580814848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780984576001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:32:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:32:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580814848,"description":"Unknown IO ID 45"} 
[2026-06-02 15:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780984576001,"power":13298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580814848}} 
[2026-06-02 15:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:32:50] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:32:50] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:06] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7f4a8012cb9638007636ea0001201362c..."} 
[2026-06-02 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7f4a8012cb9638007636ea0001201362c..."} 
[2026-06-02 15:33:06] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7f4a8012cb9638007636ea0001201362c..."} 
[2026-06-02 15:33:06] local.INFO: Packet analysis {"connection_id":89808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:33:06] local.INFO: Extracted packet for processing {"connection_id":89808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":750347136,"raw_latitude":123956896,"longitude_deg":75.0347136,"latitude_deg":12.3956896,"altitude":18,"angle":310,"satellites":44,"speed":32,"hex_longitude":"2cb96380","hex_latitude":"07636ea0","is_valid_coordinates":true} 
[2026-06-02 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780985856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305875609337200640,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5079638135477391360,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780394489000,"timestamp_ms":1780394489000,"timestamp_seconds":1780394489,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7f4a8"} 
[2026-06-02 15:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 15:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:33: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-06-02 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780985856001,"66":27930,"109":206,"85":37888,"24":32,"16":305875609337200640,"44":-5079638135477391360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,44]} 
[2026-06-02 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780985856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 15:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305875609337200640,"km_value":305875609337200.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5079638135477391360,"description":"Unknown IO ID 44"} 
[2026-06-02 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780985856001,"power":27930,"unknown_109":206,"unknown_85":37888,"ignition":32,"odometer":null,"unknown_44":-5079638135477391360}} 
[2026-06-02 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":89808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:06] local.INFO: GPS data processed {"connection_id":89808,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:06] local.INFO: Acknowledgment sent {"connection_id":89808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:10] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:33:10] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:33:10] local.INFO: IMEI packet received {"connection_id":89532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":89532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:33:11] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:33:11] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:33:11] local.INFO: IMEI packet received {"connection_id":89532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":89532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:33:12] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c60c60012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c60c60012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:33:12] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c60c60012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:33:12] local.INFO: Packet analysis {"connection_id":89532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c6"} 
[2026-06-02 15:33:12] local.INFO: Extracted packet for processing {"connection_id":89532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c6"} 
[2026-06-02 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780951808001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780394364000,"timestamp_ms":1780394364000,"timestamp_seconds":1780394364,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c60c60"} 
[2026-06-02 15:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:33:12] 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-06-02 15:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:33:12] 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-06-02 15:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780951808001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780951808001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780951808001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":89532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:12] local.INFO: GPS data processed {"connection_id":89532,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:12] local.INFO: Acknowledgment sent {"connection_id":89532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:15] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c65e68012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c65e68012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:33:15] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c65e68012d181ec00721aee8004c00cb2c..."} 
[2026-06-02 15:33:15] local.INFO: Packet analysis {"connection_id":89532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c6"} 
[2026-06-02 15:33:15] local.INFO: Extracted packet for processing {"connection_id":89532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c6"} 
[2026-06-02 15:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780957184001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33: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-06-02 15:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780394385000,"timestamp_ms":1780394385000,"timestamp_seconds":1780394385,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c65e68"} 
[2026-06-02 15:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33:15] 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-06-02 15:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:33:15] 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-06-02 15:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:33:15] 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-06-02 15:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780957184001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780957184001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780957184001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":89532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:16] local.INFO: GPS data processed {"connection_id":89532,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:16] local.INFO: Acknowledgment sent {"connection_id":89532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:20] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:33:20] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:33:20] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:33:20] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385424,"longitude_deg":76.297472,"latitude_deg":9.9385424,"altitude":12,"angle":255,"satellites":12,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-02 15:33:20] 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-06-02 15:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780988160001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650668544,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780394485000,"timestamp_ms":1780394485000,"timestamp_seconds":1780394485,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7e508"} 
[2026-06-02 15:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 15:33:20] 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-06-02 15:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:33:20] 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-06-02 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780988160001,"66":13298,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8796093047650668544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780988160001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:33:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650668544,"description":"Unknown IO ID 45"} 
[2026-06-02 15:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780988160001,"power":13298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650668544}} 
[2026-06-02 15:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:20] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:20] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:23] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:23] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:23] local.INFO: IMEI packet received {"connection_id":89903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":89903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:33:24] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:24] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:24] local.INFO: IMEI packet received {"connection_id":89903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":89903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:33:29] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:29] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:33:29] local.INFO: IMEI packet received {"connection_id":89903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":89903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:33:30] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c81bb8012cb944c0076385f0000e012a2b..."} 
[2026-06-02 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c81bb8012cb944c0076385f0000e012a2b..."} 
[2026-06-02 15:33:30] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c81bb8012cb944c0076385f0000e012a2b..."} 
[2026-06-02 15:33:30] local.INFO: Packet analysis {"connection_id":89903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:33:30] local.INFO: Extracted packet for processing {"connection_id":89903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":750339264,"raw_latitude":123962864,"longitude_deg":75.0339264,"latitude_deg":12.3962864,"altitude":14,"angle":298,"satellites":43,"speed":42,"hex_longitude":"2cb944c0","hex_latitude":"076385f0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780989184001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305876081783603200,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5088082384777207808,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:30] 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-06-02 15:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780394499000,"timestamp_ms":1780394499000,"timestamp_seconds":1780394499,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c81bb8"} 
[2026-06-02 15:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33: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-06-02 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 15:33: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-06-02 15: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-06-02 15:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:33: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-06-02 15:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780989184001,"66":27821,"42":206,"85":37888,"24":42,"16":305876081783603200,"44":-5088082384777207808},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-06-02 15:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780989184001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:30] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 15:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305876081783603200,"km_value":305876081783603.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5088082384777207808,"description":"Unknown IO ID 44"} 
[2026-06-02 15:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780989184001,"power":27821,"unknown_42":206,"unknown_85":37888,"ignition":42,"odometer":null,"unknown_44":-5088082384777207808}} 
[2026-06-02 15:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:30] local.INFO: GPS data processed {"connection_id":89903,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:30] local.INFO: Acknowledgment sent {"connection_id":89903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:32] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c81bb8012cb944c0076385f0000e012a2b..."} 
[2026-06-02 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c81bb8012cb944c0076385f0000e012a2b..."} 
[2026-06-02 15:33:32] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c81bb8012cb944c0076385f0000e012a2b..."} 
[2026-06-02 15:33:32] local.INFO: Packet analysis {"connection_id":89903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:33:32] local.INFO: Extracted packet for processing {"connection_id":89903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":750339264,"raw_latitude":123962864,"longitude_deg":75.0339264,"latitude_deg":12.3962864,"altitude":14,"angle":298,"satellites":43,"speed":42,"hex_longitude":"2cb944c0","hex_latitude":"076385f0","is_valid_coordinates":true} 
[2026-06-02 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780991744001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305876081783603200,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5096737740309532672,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:32] 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-06-02 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780394499000,"timestamp_ms":1780394499000,"timestamp_seconds":1780394499,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c81bb8"} 
[2026-06-02 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780991744001,"66":27821,"42":206,"85":37888,"24":42,"16":305876081783603200,"44":-5096737740309532672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-06-02 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780991744001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 15:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305876081783603200,"km_value":305876081783603.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5096737740309532672,"description":"Unknown IO ID 44"} 
[2026-06-02 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780991744001,"power":27821,"unknown_42":206,"unknown_85":37888,"ignition":42,"odometer":null,"unknown_44":-5096737740309532672}} 
[2026-06-02 15:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":89903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:32] local.INFO: GPS data processed {"connection_id":89903,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:32] local.INFO: Acknowledgment sent {"connection_id":89903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:47] local.INFO: TCP Data received {"connection_id":89532,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c6b070012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c6b070012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:33:47] local.INFO: Processing buffer {"connection_id":89532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c6b070012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:33:47] local.INFO: Packet analysis {"connection_id":89532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c6"} 
[2026-06-02 15:33:47] local.INFO: Extracted packet for processing {"connection_id":89532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c6"} 
[2026-06-02 15:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780962560001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33: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-06-02 15:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780394406000,"timestamp_ms":1780394406000,"timestamp_seconds":1780394406,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c6b070"} 
[2026-06-02 15:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33: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-06-02 15:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:33: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-06-02 15:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:33:47] 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-06-02 15:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780962560001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780962560001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780962560001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":89532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:47] local.INFO: GPS data processed {"connection_id":89532,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:47] local.INFO: Acknowledgment sent {"connection_id":89532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:33:52] local.INFO: TCP Data received {"connection_id":90981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:33:52] local.INFO: Processing buffer {"connection_id":90981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:33:52] local.INFO: Packet analysis {"connection_id":90981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:33:52] local.INFO: Extracted packet for processing {"connection_id":90981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:33:52] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385424,"longitude_deg":76.297472,"latitude_deg":9.9385424,"altitude":12,"angle":255,"satellites":12,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-02 15:33: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-06-02 15:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780988160001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650668544,"note":"Value kept but may cause issues"} 
[2026-06-02 15:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780394485000,"timestamp_ms":1780394485000,"timestamp_seconds":1780394485,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7e508"} 
[2026-06-02 15:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 15:33:52] 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-06-02 15: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-06-02 15:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":90981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":90981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:33:52] 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-06-02 15:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780988160001,"66":13298,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8796093047650668544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780988160001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:33:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:33:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650668544,"description":"Unknown IO ID 45"} 
[2026-06-02 15:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780988160001,"power":13298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650668544}} 
[2026-06-02 15:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":90981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:33:52] local.INFO: GPS data processed {"connection_id":90981,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:33:52] local.INFO: Acknowledgment sent {"connection_id":90981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:34:03] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c83ee0012cb9240007639740000b012f29..."} 
[2026-06-02 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c83ee0012cb9240007639740000b012f29..."} 
[2026-06-02 15:34:03] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c83ee0012cb9240007639740000b012f29..."} 
[2026-06-02 15:34:03] local.INFO: Packet analysis {"connection_id":89903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:34:03] local.INFO: Extracted packet for processing {"connection_id":89903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":750330880,"raw_latitude":123967296,"longitude_deg":75.033088,"latitude_deg":12.3967296,"altitude":11,"angle":303,"satellites":41,"speed":37,"hex_longitude":"2cb92400","hex_latitude":"07639740","is_valid_coordinates":true} 
[2026-06-02 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780991744001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305876532755169280,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5096737740309532672,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:03] 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-06-02 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780394508000,"timestamp_ms":1780394508000,"timestamp_seconds":1780394508,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c83ee0"} 
[2026-06-02 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:34:03] 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-06-02 15:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:34: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-06-02 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780991744001,"66":27843,"42":206,"85":37888,"24":37,"16":305876532755169280,"44":-5096737740309532672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-06-02 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780991744001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:34:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 15:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305876532755169280,"km_value":305876532755169.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5096737740309532672,"description":"Unknown IO ID 44"} 
[2026-06-02 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780991744001,"power":27843,"unknown_42":206,"unknown_85":37888,"ignition":37,"odometer":null,"unknown_44":-5096737740309532672}} 
[2026-06-02 15:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":89903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:34:03] local.INFO: GPS data processed {"connection_id":89903,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:34:03] local.INFO: Acknowledgment sent {"connection_id":89903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:34:05] local.INFO: TCP Data received {"connection_id":89533,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:34:05] local.INFO: Processing buffer {"connection_id":89533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:34:05] local.INFO: IMEI packet received {"connection_id":89533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":89533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:34:10] local.INFO: TCP Data received {"connection_id":89533,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:34:10] local.INFO: Processing buffer {"connection_id":89533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:34:10] local.INFO: IMEI packet received {"connection_id":89533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":89533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:34:11] local.INFO: TCP Data received {"connection_id":89533,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c70278012d181ec00721aee8004c00cb28..."} 
[2026-06-02 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c70278012d181ec00721aee8004c00cb28..."} 
[2026-06-02 15:34:11] local.INFO: Processing buffer {"connection_id":89533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c70278012d181ec00721aee8004c00cb28..."} 
[2026-06-02 15:34:11] local.INFO: Packet analysis {"connection_id":89533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:34:11] local.INFO: Extracted packet for processing {"connection_id":89533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780967936001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394427000,"timestamp_ms":1780394427000,"timestamp_seconds":1780394427,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c70278"} 
[2026-06-02 15:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:34: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-06-02 15:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:34:11] 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-06-02 15:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780967936001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780967936001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:34:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780967936001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":89533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:34:11] local.INFO: GPS data processed {"connection_id":89533,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:34:11] local.INFO: Acknowledgment sent {"connection_id":89533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:34:13] local.INFO: TCP Data received {"connection_id":90983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:34:13] local.INFO: Processing buffer {"connection_id":90983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:34:13] local.INFO: IMEI packet received {"connection_id":90983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":90983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:34:18] local.INFO: TCP Data received {"connection_id":90983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:34:18] local.INFO: Processing buffer {"connection_id":90983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:34:18] local.INFO: IMEI packet received {"connection_id":90983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":90983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:34:19] local.INFO: TCP Data received {"connection_id":90983,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:34:19] local.INFO: Processing buffer {"connection_id":90983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7e508012d7a120005ec8050000c00ff0c..."} 
[2026-06-02 15:34:19] local.INFO: Packet analysis {"connection_id":90983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:34:19] local.INFO: Extracted packet for processing {"connection_id":90983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385424,"longitude_deg":76.297472,"latitude_deg":9.9385424,"altitude":12,"angle":255,"satellites":12,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-02 15:34: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-06-02 15:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780988160001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650668544,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780394485000,"timestamp_ms":1780394485000,"timestamp_seconds":1780394485,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7e508"} 
[2026-06-02 15:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 15:34:19] 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-06-02 15: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-06-02 15:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:34:19] 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-06-02 15:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780988160001,"66":13298,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8796093047650668544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780988160001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:34:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:34:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650668544,"description":"Unknown IO ID 45"} 
[2026-06-02 15:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780988160001,"power":13298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650668544}} 
[2026-06-02 15:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":90983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:34:19] local.INFO: GPS data processed {"connection_id":90983,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:34:19] local.INFO: Acknowledgment sent {"connection_id":90983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:34:24] local.INFO: TCP Data received {"connection_id":89534,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:34:24] local.INFO: Processing buffer {"connection_id":89534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:34:24] local.INFO: IMEI packet received {"connection_id":89534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":89534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:34:27] local.INFO: TCP Data received {"connection_id":89534,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:34:27] local.INFO: Processing buffer {"connection_id":89534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:34:27] local.INFO: IMEI packet received {"connection_id":89534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":89534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:34:28] local.INFO: TCP Data received {"connection_id":89534,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c9c580012cb8538007647c18000901322d..."} 
[2026-06-02 15:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c9c580012cb8538007647c18000901322d..."} 
[2026-06-02 15:34:28] local.INFO: Processing buffer {"connection_id":89534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c9c580012cb8538007647c18000901322d..."} 
[2026-06-02 15:34:28] local.INFO: Packet analysis {"connection_id":89534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c9"} 
[2026-06-02 15:34:28] local.INFO: Extracted packet for processing {"connection_id":89534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c9"} 
[2026-06-02 15:34:28] local.INFO: GPS Element Parsed {"raw_longitude":750277504,"raw_latitude":124025880,"longitude_deg":75.0277504,"latitude_deg":12.402588,"altitude":9,"angle":306,"satellites":45,"speed":30,"hex_longitude":"2cb85380","hex_latitude":"07647c18","is_valid_coordinates":true} 
[2026-06-02 15:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781015808001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5156269697868972032,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305880449765343232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780394608000,"timestamp_ms":1780394608000,"timestamp_seconds":1780394608,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c9c580"} 
[2026-06-02 15:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:34: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-06-02 15:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:34: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-06-02 15:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:34: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-06-02 15:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781015808001,"66":27843,"44":-5156269697868972032,"85":37888,"24":30,"16":305880449765343232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16]} 
[2026-06-02 15:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781015808001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:34:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5156269697868972032,"description":"Unknown IO ID 44"} 
[2026-06-02 15:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305880449765343232,"km_value":305880449765343.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:34:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455781015808001,"power":27843,"unknown_44":-5156269697868972032,"unknown_85":37888,"ignition":30,"odometer":null}} 
[2026-06-02 15:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":89534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:34:28] local.INFO: GPS data processed {"connection_id":89534,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:34:28] local.INFO: Acknowledgment sent {"connection_id":89534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:34:42] local.INFO: TCP Data received {"connection_id":89533,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c75480012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c75480012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:34:42] local.INFO: Processing buffer {"connection_id":89533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c75480012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:34:42] local.INFO: Packet analysis {"connection_id":89533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:34:42] local.INFO: Extracted packet for processing {"connection_id":89533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780973312001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780394448000,"timestamp_ms":1780394448000,"timestamp_seconds":1780394448,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c75480"} 
[2026-06-02 15:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:34:42] 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-06-02 15:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780973312001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780973312001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:34:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780973312001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":89533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:34:42] local.INFO: GPS data processed {"connection_id":89533,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:34:42] local.INFO: Acknowledgment sent {"connection_id":89533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:35:00] local.INFO: TCP Data received {"connection_id":89534,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c9dcf0012cb84580076488a80009013d2d..."} 
[2026-06-02 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c9dcf0012cb84580076488a80009013d2d..."} 
[2026-06-02 15:35:00] local.INFO: Processing buffer {"connection_id":89534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c9dcf0012cb84580076488a80009013d2d..."} 
[2026-06-02 15:35:00] local.INFO: Packet analysis {"connection_id":89534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c9"} 
[2026-06-02 15:35:00] local.INFO: Extracted packet for processing {"connection_id":89534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c9"} 
[2026-06-02 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":750273920,"raw_latitude":124029096,"longitude_deg":75.027392,"latitude_deg":12.4029096,"altitude":9,"angle":317,"satellites":45,"speed":32,"hex_longitude":"2cb84580","hex_latitude":"076488a8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781019648001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5164643578424846336,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305880681693577216,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780394614000,"timestamp_ms":1780394614000,"timestamp_seconds":1780394614,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c9dcf0"} 
[2026-06-02 15:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:35: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-06-02 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781019648001,"66":27919,"44":-5164643578424846336,"85":37888,"24":32,"16":305880681693577216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16]} 
[2026-06-02 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781019648001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5164643578424846336,"description":"Unknown IO ID 44"} 
[2026-06-02 15:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305880681693577216,"km_value":305880681693577.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455781019648001,"power":27919,"unknown_44":-5164643578424846336,"unknown_85":37888,"ignition":32,"odometer":null}} 
[2026-06-02 15:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":89534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:35:00] local.INFO: GPS data processed {"connection_id":89534,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:35:00] local.INFO: Acknowledgment sent {"connection_id":89534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:35:05] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:35:05] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:35:05] local.INFO: IMEI packet received {"connection_id":89809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":89809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:35:10] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:35:10] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:35:10] local.INFO: IMEI packet received {"connection_id":89809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":89809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:35:11] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7a688012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7a688012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:35:11] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7a688012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:35:11] local.INFO: Packet analysis {"connection_id":89809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:35:11] local.INFO: Extracted packet for processing {"connection_id":89809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780978688001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394469000,"timestamp_ms":1780394469000,"timestamp_seconds":1780394469,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7a688"} 
[2026-06-02 15:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:35: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-06-02 15:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:35:11] 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-06-02 15:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780978688001,"66":12461,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780978688001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:35:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780978688001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":89809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:35:11] local.INFO: GPS data processed {"connection_id":89809,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:35:11] local.INFO: Acknowledgment sent {"connection_id":89809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:35:23] local.INFO: TCP Data received {"connection_id":89904,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:35:23] local.INFO: Processing buffer {"connection_id":89904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:35:23] local.INFO: IMEI packet received {"connection_id":89904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":89904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:35:24] local.INFO: TCP Data received {"connection_id":90984,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:24] local.INFO: Processing buffer {"connection_id":90984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:24] local.INFO: IMEI packet received {"connection_id":90984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":90984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:35:24] local.INFO: TCP Data received {"connection_id":90984,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:24] local.INFO: Processing buffer {"connection_id":90984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:24] local.INFO: IMEI packet received {"connection_id":90984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":90984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:35:29] local.INFO: TCP Data received {"connection_id":90984,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:29] local.INFO: Processing buffer {"connection_id":90984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:35:29] local.INFO: IMEI packet received {"connection_id":90984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":90984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:35:29] local.INFO: TCP Data received {"connection_id":90984,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c9ec90012cb83d4007649310000901482c..."} 
[2026-06-02 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c9ec90012cb83d4007649310000901482c..."} 
[2026-06-02 15:35:29] local.INFO: Processing buffer {"connection_id":90984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c9ec90012cb83d4007649310000901482c..."} 
[2026-06-02 15:35:29] local.INFO: Packet analysis {"connection_id":90984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c9"} 
[2026-06-02 15:35:29] local.INFO: Extracted packet for processing {"connection_id":90984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c9"} 
[2026-06-02 15:35:29] local.INFO: GPS Element Parsed {"raw_longitude":750271808,"raw_latitude":124031760,"longitude_deg":75.0271808,"latitude_deg":12.403176,"altitude":9,"angle":328,"satellites":44,"speed":34,"hex_longitude":"2cb83d40","hex_latitude":"07649310","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781021184001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5168584228097972224,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305880844902334464,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780394618000,"timestamp_ms":1780394618000,"timestamp_seconds":1780394618,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c9ec90"} 
[2026-06-02 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-06-02 15:35: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-06-02 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 15:35: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-06-02 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-06-02 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-06-02 15:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:35: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-06-02 15:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781021184001,"66":27876,"44":-5168584228097972224,"85":37888,"24":34,"16":305880844902334464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16]} 
[2026-06-02 15:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781021184001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5168584228097972224,"description":"Unknown IO ID 44"} 
[2026-06-02 15:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305880844902334464,"km_value":305880844902334.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:35:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455781021184001,"power":27876,"unknown_44":-5168584228097972224,"unknown_85":37888,"ignition":34,"odometer":null}} 
[2026-06-02 15:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":90984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:35:29] local.INFO: GPS data processed {"connection_id":90984,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:35:29] local.INFO: Acknowledgment sent {"connection_id":90984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:35:42] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c7f890012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c7f890012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:35:42] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c7f890012d181ec00721aee8004c00cb2b..."} 
[2026-06-02 15:35:42] local.INFO: Packet analysis {"connection_id":89809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:35:42] local.INFO: Extracted packet for processing {"connection_id":89809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c7"} 
[2026-06-02 15:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780984064001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780394490000,"timestamp_ms":1780394490000,"timestamp_seconds":1780394490,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c7f890"} 
[2026-06-02 15:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:35:42] 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-06-02 15:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780984064001,"66":12406,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780984064001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:35:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780984064001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":89809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:35:42] local.INFO: GPS data processed {"connection_id":89809,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:35:42] local.INFO: Acknowledgment sent {"connection_id":89809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:35:58] local.INFO: TCP Data received {"connection_id":89905,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:35:58] local.INFO: Processing buffer {"connection_id":89905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:35:58] local.INFO: IMEI packet received {"connection_id":89905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":89905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:36:00] local.INFO: TCP Data received {"connection_id":90984,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cb4838012cb77b400765e410000a01552c..."} 
[2026-06-02 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cb4838012cb77b400765e410000a01552c..."} 
[2026-06-02 15:36:00] local.INFO: Processing buffer {"connection_id":90984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cb4838012cb77b400765e410000a01552c..."} 
[2026-06-02 15:36:00] local.INFO: Packet analysis {"connection_id":90984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:00] local.INFO: Extracted packet for processing {"connection_id":90984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":750222144,"raw_latitude":124118032,"longitude_deg":75.0222144,"latitude_deg":12.4118032,"altitude":10,"angle":341,"satellites":44,"speed":38,"hex_longitude":"2cb77b40","hex_latitude":"0765e410","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781044224001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305885646675771392,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5223964429743687680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780394707000,"timestamp_ms":1780394707000,"timestamp_seconds":1780394707,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cb4838"} 
[2026-06-02 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-06-02 15:36: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-06-02 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:36: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-06-02 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-06-02 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-06-02 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36: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-06-02 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781044224001,"66":27626,"198":206,"85":37888,"24":38,"16":305885646675771392,"44":-5223964429743687680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781044224001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:36:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305885646675771392,"km_value":305885646675771.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5223964429743687680,"description":"Unknown IO ID 44"} 
[2026-06-02 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781044224001,"power":27626,"unknown_198":206,"unknown_85":37888,"ignition":38,"odometer":null,"unknown_44":-5223964429743687680}} 
[2026-06-02 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":90984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:36:00] local.INFO: GPS data processed {"connection_id":90984,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:36:00] local.INFO: Acknowledgment sent {"connection_id":90984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:36:05] local.INFO: TCP Data received {"connection_id":90985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:36:05] local.INFO: Processing buffer {"connection_id":90985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:36:05] local.INFO: IMEI packet received {"connection_id":90985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":90985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:36:10] local.INFO: TCP Data received {"connection_id":90985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:36:10] local.INFO: Processing buffer {"connection_id":90985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:36:10] local.INFO: IMEI packet received {"connection_id":90985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":90985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:36:11] local.INFO: TCP Data received {"connection_id":90985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c84a98012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c84a98012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:36:11] local.INFO: Processing buffer {"connection_id":90985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c84a98012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:36:11] local.INFO: Packet analysis {"connection_id":90985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:36:11] local.INFO: Extracted packet for processing {"connection_id":90985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780989440001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394511000,"timestamp_ms":1780394511000,"timestamp_seconds":1780394511,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c84a98"} 
[2026-06-02 15:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 15:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:36:11] 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-06-02 15:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780989440001,"66":12406,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780989440001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:36:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780989440001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":90985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:36:11] local.INFO: GPS data processed {"connection_id":90985,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:36:11] local.INFO: Acknowledgment sent {"connection_id":90985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:36:25] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:36:25] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:36:25] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:36:27] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:36:27] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:36:27] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:36:33] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.41","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e87..."} 
[2026-06-02 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e87..."} 
[2026-06-02 15:36:33] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e87..."} 
[2026-06-02 15:36:33] local.INFO: IMEI packet received {"connection_id":89536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":89536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:36:34] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cb7b00012cb7744007661888000a01622d..."} 
[2026-06-02 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cb7b00012cb7744007661888000a01622d..."} 
[2026-06-02 15:36:34] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e87cb57d8012cb778400765f358000b01602c..."} 
[2026-06-02 15:36:34] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:34] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":750221376,"raw_latitude":124121944,"longitude_deg":75.0221376,"latitude_deg":12.4121944,"altitude":11,"angle":352,"satellites":44,"speed":39,"hex_longitude":"2cb77840","hex_latitude":"0765f358","is_valid_coordinates":true} 
[2026-06-02 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781044992001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305885839949299712,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5225512542114934784,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780394711000,"timestamp_ms":1780394711000,"timestamp_seconds":1780394711,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cb57d8"} 
[2026-06-02 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:36: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-06-02 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 15:36:34] 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-06-02 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781044992001,"66":27767,"198":206,"85":37888,"24":39,"16":305885839949299712,"44":-5225512542114934784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781044992001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305885839949299712,"km_value":305885839949299.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5225512542114934784,"description":"Unknown IO ID 44"} 
[2026-06-02 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781044992001,"power":27767,"unknown_198":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-5225512542114934784}} 
[2026-06-02 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:36:34] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:36:34] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:36:34] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:34] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":750220352,"raw_latitude":124131464,"longitude_deg":75.0220352,"latitude_deg":12.4131464,"altitude":10,"angle":354,"satellites":45,"speed":45,"hex_longitude":"2cb77440","hex_latitude":"07661888","is_valid_coordinates":true} 
[2026-06-02 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781046016001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305886303805767680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226356967044065280,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780394720000,"timestamp_ms":1780394720000,"timestamp_seconds":1780394720,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cb7b00"} 
[2026-06-02 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:36: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-06-02 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781046016001,"66":27767,"198":206,"85":37888,"24":45,"16":305886303805767680,"44":-5226356967044065280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781046016001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305886303805767680,"km_value":305886303805767.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226356967044065280,"description":"Unknown IO ID 44"} 
[2026-06-02 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781046016001,"power":27767,"unknown_198":206,"unknown_85":37888,"ignition":45,"odometer":null,"unknown_44":-5226356967044065280}} 
[2026-06-02 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:36:34] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:36:34] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:36:34] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cb9a40012cb7720007663d70000900012d..."} 
[2026-06-02 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cb9a40012cb7720007663d70000900012d..."} 
[2026-06-02 15:36:34] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cb9a40012cb7720007663d70000900012d..."} 
[2026-06-02 15:36:34] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:34] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":750219776,"raw_latitude":124140912,"longitude_deg":75.0219776,"latitude_deg":12.4140912,"altitude":9,"angle":1,"satellites":45,"speed":48,"hex_longitude":"2cb77200","hex_latitude":"07663d70","is_valid_coordinates":true} 
[2026-06-02 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781048320001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305886763367268352,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5227482866948470784,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780394728000,"timestamp_ms":1780394728000,"timestamp_seconds":1780394728,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cb9a40"} 
[2026-06-02 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:36: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-06-02 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781048320001,"66":27876,"198":206,"85":37888,"24":48,"16":305886763367268352,"44":-5227482866948470784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781048320001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305886763367268352,"km_value":305886763367268.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5227482866948470784,"description":"Unknown IO ID 44"} 
[2026-06-02 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781048320001,"power":27876,"unknown_198":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-5227482866948470784}} 
[2026-06-02 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:36:34] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:36:34] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:36:42] local.INFO: TCP Data received {"connection_id":90985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c89ca0012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c89ca0012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:36:42] local.INFO: Processing buffer {"connection_id":90985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c89ca0012d181ec00721aee8004c00cb2a..."} 
[2026-06-02 15:36:42] local.INFO: Packet analysis {"connection_id":90985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:36:42] local.INFO: Extracted packet for processing {"connection_id":90985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780994816001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780394532000,"timestamp_ms":1780394532000,"timestamp_seconds":1780394532,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c89ca0"} 
[2026-06-02 15:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 15:36:42] 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-06-02 15:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:36:42] 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-06-02 15:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780994816001,"66":12406,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780994816001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:36:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780994816001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":90985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:36:42] local.INFO: GPS data processed {"connection_id":90985,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:36:42] local.INFO: Acknowledgment sent {"connection_id":90985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:37:06] local.INFO: TCP Data received {"connection_id":89536,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cbb980012cb77480076660e8000a00062d..."} 
[2026-06-02 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cbb980012cb77480076660e8000a00062d..."} 
[2026-06-02 15:37:06] local.INFO: Processing buffer {"connection_id":89536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cbb980012cb77480076660e8000a00062d..."} 
[2026-06-02 15:37:06] local.INFO: Packet analysis {"connection_id":89536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:37:06] local.INFO: Extracted packet for processing {"connection_id":89536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":750220416,"raw_latitude":124149992,"longitude_deg":75.0220416,"latitude_deg":12.4149992,"altitude":10,"angle":6,"satellites":45,"speed":39,"hex_longitude":"2cb77480","hex_latitude":"076660e8","is_valid_coordinates":true} 
[2026-06-02 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781050368001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305887205748899840,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5228116185643651072,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780394736000,"timestamp_ms":1780394736000,"timestamp_seconds":1780394736,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cbb980"} 
[2026-06-02 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:37: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-06-02 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781050368001,"66":27876,"198":206,"85":37888,"24":39,"16":305887205748899840,"44":-5228116185643651072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781050368001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:37:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305887205748899840,"km_value":305887205748899.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5228116185643651072,"description":"Unknown IO ID 44"} 
[2026-06-02 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781050368001,"power":27876,"unknown_198":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-5228116185643651072}} 
[2026-06-02 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":89536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:37:06] local.INFO: GPS data processed {"connection_id":89536,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:37:06] local.INFO: Acknowledgment sent {"connection_id":89536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:37:06] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:37:06] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:37:06] local.INFO: IMEI packet received {"connection_id":89810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":89810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:37:10] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:37:10] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:37:10] local.INFO: IMEI packet received {"connection_id":89810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":89810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:37:11] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87c8eea8012d181ec00721aee8004c00cb24..."} 
[2026-06-02 15:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87c8eea8012d181ec00721aee8004c00cb24..."} 
[2026-06-02 15:37:11] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87c8eea8012d181ec00721aee8004c00cb24..."} 
[2026-06-02 15:37:11] local.INFO: Packet analysis {"connection_id":89810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:37:11] local.INFO: Extracted packet for processing {"connection_id":89810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87c8"} 
[2026-06-02 15:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647976,"longitude_deg":75.6555456,"latitude_deg":11.9647976,"altitude":76,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-02 15:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781000192001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302050203369472,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074004992,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780394553000,"timestamp_ms":1780394553000,"timestamp_seconds":1780394553,"priority":1,"record_length":96,"hex_timestamp":"0000019e87c8eea8"} 
[2026-06-02 15:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 15:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:37:11] 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-06-02 15:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781000192001,"66":12428,"105":206,"83":41984,"24":0,"16":125302050203369472,"45":1738037643074004992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781000192001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:37:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302050203369472,"km_value":125302050203369.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074004992,"description":"Unknown IO ID 45"} 
[2026-06-02 15:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781000192001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074004992}} 
[2026-06-02 15:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":89810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:37:11] local.INFO: GPS data processed {"connection_id":89810,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:37:11] local.INFO: Acknowledgment sent {"connection_id":89810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:37:23] local.INFO: TCP Data received {"connection_id":89538,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:37:23] local.INFO: Processing buffer {"connection_id":89538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:37:23] local.INFO: IMEI packet received {"connection_id":89538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":89538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:37:28] local.INFO: TCP Data received {"connection_id":89538,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:37:28] local.INFO: Processing buffer {"connection_id":89538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:37:28] local.INFO: IMEI packet received {"connection_id":89538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":89538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:37:29] local.INFO: TCP Data received {"connection_id":89538,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cbe090012cb77940076683a8000d00072d..."} 
[2026-06-02 15:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cbe090012cb77940076683a8000d00072d..."} 
[2026-06-02 15:37:29] local.INFO: Processing buffer {"connection_id":89538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cbe090012cb77940076683a8000d00072d..."} 
[2026-06-02 15:37:29] local.INFO: Packet analysis {"connection_id":89538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:37:29] local.INFO: Extracted packet for processing {"connection_id":89538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:37:29] local.INFO: GPS Element Parsed {"raw_longitude":750221632,"raw_latitude":124158888,"longitude_deg":75.0221632,"latitude_deg":12.4158888,"altitude":13,"angle":7,"satellites":45,"speed":35,"hex_longitude":"2cb77940","hex_latitude":"076683a8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781052416001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305887639540596736,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5227412498199549952,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780394746000,"timestamp_ms":1780394746000,"timestamp_seconds":1780394746,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cbe090"} 
[2026-06-02 15:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:37: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-06-02 15: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-06-02 15:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:37: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-06-02 15:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781052416001,"66":27908,"198":206,"85":37888,"24":35,"16":305887639540596736,"44":-5227412498199549952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781052416001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:37:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305887639540596736,"km_value":305887639540596.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5227412498199549952,"description":"Unknown IO ID 44"} 
[2026-06-02 15:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781052416001,"power":27908,"unknown_198":206,"unknown_85":37888,"ignition":35,"odometer":null,"unknown_44":-5227412498199549952}} 
[2026-06-02 15:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":89538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:37:29] local.INFO: GPS data processed {"connection_id":89538,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:37:29] local.INFO: Acknowledgment sent {"connection_id":89538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:37:43] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc4df0012d181dc00721ad58004e00d526..."} 
[2026-06-02 15:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc4df0012d181dc00721ad58004e00d526..."} 
[2026-06-02 15:37:43] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc4df0012d181dc00721ad58004e00d526..."} 
[2026-06-02 15:37:43] local.INFO: Packet analysis {"connection_id":89810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:37:43] local.INFO: Extracted packet for processing {"connection_id":89810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 15:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781056768001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780394774000,"timestamp_ms":1780394774000,"timestamp_seconds":1780394774,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc4df0"} 
[2026-06-02 15:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:37: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-06-02 15:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 15:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:37:43] 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-06-02 15:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781056768001,"66":12461,"105":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781056768001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:37:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:37:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781056768001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":89810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:37:43] local.INFO: GPS data processed {"connection_id":89810,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:37:43] local.INFO: Acknowledgment sent {"connection_id":89810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:38:00] local.INFO: TCP Data received {"connection_id":89538,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc07a0012cb77c800766a860000e01642d..."} 
[2026-06-02 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc07a0012cb77c800766a860000e01642d..."} 
[2026-06-02 15:38:00] local.INFO: Processing buffer {"connection_id":89538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc07a0012cb77c800766a860000e01642d..."} 
[2026-06-02 15:38:00] local.INFO: Packet analysis {"connection_id":89538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:00] local.INFO: Extracted packet for processing {"connection_id":89538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":750222464,"raw_latitude":124168288,"longitude_deg":75.0222464,"latitude_deg":12.4168288,"altitude":14,"angle":356,"satellites":45,"speed":35,"hex_longitude":"2cb77c80","hex_latitude":"0766a860","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781054976001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305888099102097408,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226075492057896960,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780394756000,"timestamp_ms":1780394756000,"timestamp_seconds":1780394756,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc07a0"} 
[2026-06-02 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-06-02 15:38: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-06-02 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:38: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-06-02 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-06-02 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-06-02 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:38: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-06-02 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781054976001,"66":27821,"198":206,"85":37888,"24":35,"16":305888099102097408,"44":-5226075492057896960},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781054976001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:38:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305888099102097408,"km_value":305888099102097.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226075492057896960,"description":"Unknown IO ID 44"} 
[2026-06-02 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781054976001,"power":27821,"unknown_198":206,"unknown_85":37888,"ignition":35,"odometer":null,"unknown_44":-5226075492057896960}} 
[2026-06-02 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":89538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:38:00] local.INFO: GPS data processed {"connection_id":89538,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:38:00] local.INFO: Acknowledgment sent {"connection_id":89538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:38:05] local.INFO: TCP Data received {"connection_id":90987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:38:05] local.INFO: Processing buffer {"connection_id":90987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:38:05] local.INFO: IMEI packet received {"connection_id":90987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":90987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:38:11] local.INFO: TCP Data received {"connection_id":90987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:38:11] local.INFO: Processing buffer {"connection_id":90987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:38:11] local.INFO: IMEI packet received {"connection_id":90987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":90987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:38:12] local.INFO: TCP Data received {"connection_id":90987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc9ff8012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc9ff8012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:38:12] local.INFO: Processing buffer {"connection_id":90987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc9ff8012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:38:12] local.INFO: Packet analysis {"connection_id":90987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:12] local.INFO: Extracted packet for processing {"connection_id":90987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 15:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781062144001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780394795000,"timestamp_ms":1780394795000,"timestamp_seconds":1780394795,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc9ff8"} 
[2026-06-02 15:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:38:12] 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-06-02 15:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:38:12] 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-06-02 15:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":90987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":90987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":90987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:38:12] 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-06-02 15:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781062144001,"66":12461,"105":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781062144001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:38:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781062144001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":90987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:38:12] local.INFO: GPS data processed {"connection_id":90987,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:38:12] local.INFO: Acknowledgment sent {"connection_id":90987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:38:26] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:26] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:26] local.INFO: IMEI packet received {"connection_id":89906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":89906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:38:28] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:28] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:28] local.INFO: IMEI packet received {"connection_id":89906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":89906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:38:34] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:34] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:38:34] local.INFO: IMEI packet received {"connection_id":89906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":89906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:38:35] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc07a0012cb77c800766a860000e01642d..."} 
[2026-06-02 15:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc07a0012cb77c800766a860000e01642d..."} 
[2026-06-02 15:38:35] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc07a0012cb77c800766a860000e01642d..."} 
[2026-06-02 15:38:35] local.INFO: Packet analysis {"connection_id":89906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:35] local.INFO: Extracted packet for processing {"connection_id":89906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":750222464,"raw_latitude":124168288,"longitude_deg":75.0222464,"latitude_deg":12.4168288,"altitude":14,"angle":356,"satellites":45,"speed":35,"hex_longitude":"2cb77c80","hex_latitude":"0766a860","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781057536001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305888099102097408,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5225160698381180928,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780394756000,"timestamp_ms":1780394756000,"timestamp_seconds":1780394756,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc07a0"} 
[2026-06-02 15:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781057536001,"66":27821,"198":206,"85":37888,"24":35,"16":305888099102097408,"44":-5225160698381180928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-06-02 15:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781057536001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:38:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 15:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305888099102097408,"km_value":305888099102097.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5225160698381180928,"description":"Unknown IO ID 44"} 
[2026-06-02 15:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781057536001,"power":27821,"unknown_198":206,"unknown_85":37888,"ignition":35,"odometer":null,"unknown_44":-5225160698381180928}} 
[2026-06-02 15:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":89906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:38:35] local.INFO: GPS data processed {"connection_id":89906,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:38:35] local.INFO: Acknowledgment sent {"connection_id":89906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:38:43] local.INFO: TCP Data received {"connection_id":90987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ccf200012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ccf200012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:38:43] local.INFO: Processing buffer {"connection_id":90987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ccf200012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:38:43] local.INFO: Packet analysis {"connection_id":90987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:43] local.INFO: Extracted packet for processing {"connection_id":90987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 15:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781067520001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780394816000,"timestamp_ms":1780394816000,"timestamp_seconds":1780394816,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ccf200"} 
[2026-06-02 15:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:38: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-06-02 15:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:38:43] 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-06-02 15:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:38:43] 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-06-02 15:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781067520001,"66":12461,"105":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781067520001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:38:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781067520001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":90987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:38:43] local.INFO: GPS data processed {"connection_id":90987,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:38:43] local.INFO: Acknowledgment sent {"connection_id":90987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:39:05] local.INFO: TCP Data received {"connection_id":89907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:39:05] local.INFO: Processing buffer {"connection_id":89907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:39:05] local.INFO: IMEI packet received {"connection_id":89907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":89907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:39:06] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ce0f28012cb7a20007689580001200052b..."} 
[2026-06-02 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ce0f28012cb7a20007689580001200052b..."} 
[2026-06-02 15:39:06] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ce0f28012cb7a20007689580001200052b..."} 
[2026-06-02 15:39:06] local.INFO: Packet analysis {"connection_id":89906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:39:06] local.INFO: Extracted packet for processing {"connection_id":89906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":750232064,"raw_latitude":124294528,"longitude_deg":75.0232064,"latitude_deg":12.4294528,"altitude":18,"angle":5,"satellites":43,"speed":51,"hex_longitude":"2cb7a200","hex_latitude":"07689580","is_valid_coordinates":true} 
[2026-06-02 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781089792001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305894266675134464,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215449811654688768,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780394889000,"timestamp_ms":1780394889000,"timestamp_seconds":1780394889,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ce0f28"} 
[2026-06-02 15:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 15:39: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-06-02 15:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:39: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-06-02 15:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781089792001,"66":27843,"14":206,"85":37888,"24":51,"16":305894266675134464,"44":-5215449811654688768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,44]} 
[2026-06-02 15:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781089792001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:39:06] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-02 15:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305894266675134464,"km_value":305894266675134.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215449811654688768,"description":"Unknown IO ID 44"} 
[2026-06-02 15:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781089792001,"power":27843,"unknown_14":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-5215449811654688768}} 
[2026-06-02 15:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":89906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:39:06] local.INFO: GPS data processed {"connection_id":89906,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:39:06] local.INFO: Acknowledgment sent {"connection_id":89906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:39:12] local.INFO: TCP Data received {"connection_id":89907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:39:12] local.INFO: Processing buffer {"connection_id":89907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:39:12] local.INFO: IMEI packet received {"connection_id":89907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":89907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:39:13] local.INFO: TCP Data received {"connection_id":89907,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cd4408012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cd4408012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:39:13] local.INFO: Processing buffer {"connection_id":89907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cd4408012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:39:13] local.INFO: Packet analysis {"connection_id":89907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cd"} 
[2026-06-02 15:39:13] local.INFO: Extracted packet for processing {"connection_id":89907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cd"} 
[2026-06-02 15:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 15:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781072896001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780394837000,"timestamp_ms":1780394837000,"timestamp_seconds":1780394837,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cd4408"} 
[2026-06-02 15:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:39:13] 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-06-02 15:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781072896001,"66":12385,"107":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 15:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781072896001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:39:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 15:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781072896001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":89907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:39:13] local.INFO: GPS data processed {"connection_id":89907,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:39:13] local.INFO: Acknowledgment sent {"connection_id":89907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:39:21] local.INFO: TCP Data received {"connection_id":90988,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:21] local.INFO: Processing buffer {"connection_id":90988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:21] local.INFO: IMEI packet received {"connection_id":90988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":90988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:39:23] local.INFO: TCP Data received {"connection_id":90988,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:23] local.INFO: Processing buffer {"connection_id":90988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:23] local.INFO: IMEI packet received {"connection_id":90988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":90988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:39:29] local.INFO: TCP Data received {"connection_id":90988,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:29] local.INFO: Processing buffer {"connection_id":90988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:39:29] local.INFO: IMEI packet received {"connection_id":90988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":90988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:39:30] local.INFO: TCP Data received {"connection_id":90988,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ce2a80012cb7a5000768b800001200042c..."} 
[2026-06-02 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ce2a80012cb7a5000768b800001200042c..."} 
[2026-06-02 15:39:30] local.INFO: Processing buffer {"connection_id":90988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ce2a80012cb7a5000768b800001200042c..."} 
[2026-06-02 15:39:30] local.INFO: Packet analysis {"connection_id":90988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:39:30] local.INFO: Extracted packet for processing {"connection_id":90988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750232832,"raw_latitude":124303360,"longitude_deg":75.0232832,"latitude_deg":12.430336,"altitude":18,"angle":4,"satellites":44,"speed":43,"hex_longitude":"2cb7a500","hex_latitude":"0768b800","is_valid_coordinates":true} 
[2026-06-02 15:39: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-06-02 15:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781091584001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305894696171864064,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5214605386722213888,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780394896000,"timestamp_ms":1780394896000,"timestamp_seconds":1780394896,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ce2a80"} 
[2026-06-02 15:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:39: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-06-02 15:39: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-06-02 15:39: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-06-02 15:39: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-06-02 15:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:39: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-06-02 15:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781091584001,"66":27876,"14":206,"85":37888,"24":43,"16":305894696171864064,"44":-5214605386722213888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,44]} 
[2026-06-02 15:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781091584001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:39:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-02 15:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305894696171864064,"km_value":305894696171864.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5214605386722213888,"description":"Unknown IO ID 44"} 
[2026-06-02 15:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781091584001,"power":27876,"unknown_14":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-5214605386722213888}} 
[2026-06-02 15:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":90988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:39:30] local.INFO: GPS data processed {"connection_id":90988,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:39:30] local.INFO: Acknowledgment sent {"connection_id":90988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:39:45] local.INFO: TCP Data received {"connection_id":89907,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cd9610012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cd9610012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:39:45] local.INFO: Processing buffer {"connection_id":89907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cd9610012d181dc00721ad58004e00d52b..."} 
[2026-06-02 15:39:45] local.INFO: Packet analysis {"connection_id":89907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cd"} 
[2026-06-02 15:39:45] local.INFO: Extracted packet for processing {"connection_id":89907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cd"} 
[2026-06-02 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781078272001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780394858000,"timestamp_ms":1780394858000,"timestamp_seconds":1780394858,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cd9610"} 
[2026-06-02 15:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 15:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:39:45] 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-06-02 15:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781078272001,"66":12461,"107":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 15:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781078272001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:39:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 15:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781078272001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":89907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:39:45] local.INFO: GPS data processed {"connection_id":89907,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:39:45] local.INFO: Acknowledgment sent {"connection_id":89907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:39:48] local.INFO: TCP Data received {"connection_id":89539,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:39:48] local.INFO: Processing buffer {"connection_id":89539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:39:48] local.INFO: IMEI packet received {"connection_id":89539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":89539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:39:53] local.INFO: TCP Data received {"connection_id":89539,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:39:53] local.INFO: Processing buffer {"connection_id":89539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:39:53] local.INFO: IMEI packet received {"connection_id":89539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":89539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:39:54] local.INFO: TCP Data received {"connection_id":89539,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 15:39:54] local.INFO: Processing buffer {"connection_id":89539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 15:39:54] local.INFO: Packet analysis {"connection_id":89539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ca"} 
[2026-06-02 15:39:54] local.INFO: Extracted packet for processing {"connection_id":89539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ca"} 
[2026-06-02 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":28,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15:39:54] 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-06-02 15:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455780988160001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650668544,"note":"Value kept but may cause issues"} 
[2026-06-02 15:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780394688000,"timestamp_ms":1780394688000,"timestamp_seconds":1780394688,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cafe00"} 
[2026-06-02 15:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 15:39: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-06-02 15: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-06-02 15:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:39:54] 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-06-02 15:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455780988160001,"66":5090,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8796093047650668544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455780988160001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:39:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650668544,"description":"Unknown IO ID 45"} 
[2026-06-02 15:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455780988160001,"power":5090,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650668544}} 
[2026-06-02 15:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":89539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:39:54] local.INFO: GPS data processed {"connection_id":89539,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:39:54] local.INFO: Acknowledgment sent {"connection_id":89539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:40:01] local.INFO: TCP Data received {"connection_id":90988,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ce4da8012cb7a7800768db08001200062c..."} 
[2026-06-02 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ce4da8012cb7a7800768db08001200062c..."} 
[2026-06-02 15:40:01] local.INFO: Processing buffer {"connection_id":90988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ce4da8012cb7a7800768db08001200062c..."} 
[2026-06-02 15:40:01] local.INFO: Packet analysis {"connection_id":90988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:40:01] local.INFO: Extracted packet for processing {"connection_id":90988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":750233472,"raw_latitude":124312328,"longitude_deg":75.0233472,"latitude_deg":12.4312328,"altitude":18,"angle":6,"satellites":44,"speed":42,"hex_longitude":"2cb7a780","hex_latitude":"0768db08","is_valid_coordinates":true} 
[2026-06-02 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781093376001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305895129963560960,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5213760961789820928,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780394905000,"timestamp_ms":1780394905000,"timestamp_seconds":1780394905,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ce4da8"} 
[2026-06-02 15:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:40: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-06-02 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:40:01] 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-06-02 15:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:40: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-06-02 15:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781093376001,"66":27930,"14":206,"85":37888,"24":42,"16":305895129963560960,"44":-5213760961789820928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,44]} 
[2026-06-02 15:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781093376001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:40:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-02 15:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305895129963560960,"km_value":305895129963560.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5213760961789820928,"description":"Unknown IO ID 44"} 
[2026-06-02 15:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781093376001,"power":27930,"unknown_14":206,"unknown_85":37888,"ignition":42,"odometer":null,"unknown_44":-5213760961789820928}} 
[2026-06-02 15:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":90988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:40:01] local.INFO: GPS data processed {"connection_id":90988,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:40:01] local.INFO: Acknowledgment sent {"connection_id":90988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:40:10] local.INFO: TCP Data received {"connection_id":90989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:40:10] local.INFO: Processing buffer {"connection_id":90989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:40:10] local.INFO: IMEI packet received {"connection_id":90989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":90989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:40:15] local.INFO: TCP Data received {"connection_id":90989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:40:15] local.INFO: Processing buffer {"connection_id":90989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:40:15] local.INFO: IMEI packet received {"connection_id":90989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":90989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:40:16] local.INFO: TCP Data received {"connection_id":90989,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cde818012d181dc00721ad58004e00d52a..."} 
[2026-06-02 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cde818012d181dc00721ad58004e00d52a..."} 
[2026-06-02 15:40:16] local.INFO: Processing buffer {"connection_id":90989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cde818012d181dc00721ad58004e00d52a..."} 
[2026-06-02 15:40:16] local.INFO: Packet analysis {"connection_id":90989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cd"} 
[2026-06-02 15:40:16] local.INFO: Extracted packet for processing {"connection_id":90989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cd"} 
[2026-06-02 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781083648001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780394879000,"timestamp_ms":1780394879000,"timestamp_seconds":1780394879,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cde818"} 
[2026-06-02 15:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:40: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-06-02 15:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:40:16] 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-06-02 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781083648001,"66":12461,"107":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781083648001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:40:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 15:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781083648001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":90989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:40:16] local.INFO: GPS data processed {"connection_id":90989,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:40:16] local.INFO: Acknowledgment sent {"connection_id":90989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:40:18] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:40:18] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:40:18] local.INFO: IMEI packet received {"connection_id":89909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":89909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:40:20] local.INFO: TCP Data received {"connection_id":90989,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ce3a20012d181dc00721ad58004e00d528..."} 
[2026-06-02 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ce3a20012d181dc00721ad58004e00d528..."} 
[2026-06-02 15:40:21] local.INFO: Processing buffer {"connection_id":90989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ce3a20012d181dc00721ad58004e00d528..."} 
[2026-06-02 15:40:21] local.INFO: Packet analysis {"connection_id":90989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:40:21] local.INFO: Extracted packet for processing {"connection_id":90989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781089024001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780394900000,"timestamp_ms":1780394900000,"timestamp_seconds":1780394900,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ce3a20"} 
[2026-06-02 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-06-02 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:40:21] 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-06-02 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-06-02 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-06-02 15:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:40:21] 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-06-02 15:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781089024001,"66":12461,"107":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 15:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781089024001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:40:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 15:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781089024001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":90989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:40:21] local.INFO: GPS data processed {"connection_id":90989,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:40:21] local.INFO: Acknowledgment sent {"connection_id":90989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:40:23] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:40:23] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:40:23] local.INFO: IMEI packet received {"connection_id":89909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":89909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:40:24] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 15:40:24] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 15:40:24] local.INFO: Packet analysis {"connection_id":89909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ca"} 
[2026-06-02 15:40:24] local.INFO: Extracted packet for processing {"connection_id":89909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ca"} 
[2026-06-02 15:40:24] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":28,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15:40:24] 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-06-02 15:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781040128001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780394688000,"timestamp_ms":1780394688000,"timestamp_seconds":1780394688,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cafe00"} 
[2026-06-02 15:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":19,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 15:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2327,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:40:24] 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-06-02 15:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781040128001,"66":5090,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781040128001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:40:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:40:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781040128001,"power":5090,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":89909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:40:24] local.INFO: GPS data processed {"connection_id":89909,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:40:24] local.INFO: Acknowledgment sent {"connection_id":89909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:40:24] local.INFO: TCP Data received {"connection_id":89812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:24] local.INFO: Processing buffer {"connection_id":89812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:24] local.INFO: IMEI packet received {"connection_id":89812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":89812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:40:25] local.INFO: TCP Data received {"connection_id":89812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:25] local.INFO: Processing buffer {"connection_id":89812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:25] local.INFO: IMEI packet received {"connection_id":89812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":89812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:40:28] local.INFO: TCP Data received {"connection_id":89812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:28] local.INFO: Processing buffer {"connection_id":89812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:40:28] local.INFO: IMEI packet received {"connection_id":89812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":89812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:40:29] local.INFO: TCP Data received {"connection_id":89812,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ce70d0012cb7ab00076900c0001300062c..."} 
[2026-06-02 15:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ce70d0012cb7ab00076900c0001300062c..."} 
[2026-06-02 15:40:29] local.INFO: Processing buffer {"connection_id":89812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ce70d0012cb7ab00076900c0001300062c..."} 
[2026-06-02 15:40:29] local.INFO: Packet analysis {"connection_id":89812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:40:29] local.INFO: Extracted packet for processing {"connection_id":89812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:40:29] local.INFO: GPS Element Parsed {"raw_longitude":750234368,"raw_latitude":124321984,"longitude_deg":75.0234368,"latitude_deg":12.4321984,"altitude":19,"angle":6,"satellites":44,"speed":37,"hex_longitude":"2cb7ab00","hex_latitude":"076900c0","is_valid_coordinates":true} 
[2026-06-02 15:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781095680001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305895602409963520,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5213057274345748480,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780394914000,"timestamp_ms":1780394914000,"timestamp_seconds":1780394914,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ce70d0"} 
[2026-06-02 15:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:40: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-06-02 15:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-02 15:40: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-06-02 15:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:40: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-06-02 15:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781095680001,"66":27821,"13":206,"85":37888,"24":37,"16":305895602409963520,"44":-5213057274345748480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,44]} 
[2026-06-02 15:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781095680001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:40:29] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-02 15:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305895602409963520,"km_value":305895602409963.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5213057274345748480,"description":"Unknown IO ID 44"} 
[2026-06-02 15:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781095680001,"power":27821,"unknown_13":206,"unknown_85":37888,"ignition":37,"odometer":null,"unknown_44":-5213057274345748480}} 
[2026-06-02 15:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":89812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:40:29] local.INFO: GPS data processed {"connection_id":89812,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:40:29] local.INFO: Acknowledgment sent {"connection_id":89812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:40:55] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cb9270012d7a0fc005ec8030000c00ff1f..."} 
[2026-06-02 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cb9270012d7a0fc005ec8030000c00ff1f..."} 
[2026-06-02 15:40:55] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cb9270012d7a0fc005ec8030000c00ff1f..."} 
[2026-06-02 15:40:55] local.INFO: Packet analysis {"connection_id":89909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:40:55] local.INFO: Extracted packet for processing {"connection_id":89909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:40:55] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15:40:55] 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-06-02 15:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781040128001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780394726000,"timestamp_ms":1780394726000,"timestamp_seconds":1780394726,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cb9270"} 
[2026-06-02 15:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":19,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 15:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2327,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":89909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":89909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":89909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:40: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-06-02 15:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781040128001,"66":2220,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781040128001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:40:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:40:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781040128001,"power":2220,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":89909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:40:55] local.INFO: GPS data processed {"connection_id":89909,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:40:55] local.INFO: Acknowledgment sent {"connection_id":89909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:41:00] local.INFO: TCP Data received {"connection_id":89812,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cfc890012cb7e180076a7ca0001601592d..."} 
[2026-06-02 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cfc890012cb7e180076a7ca0001601592d..."} 
[2026-06-02 15:41:00] local.INFO: Processing buffer {"connection_id":89812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cfc890012cb7e180076a7ca0001601592d..."} 
[2026-06-02 15:41:00] local.INFO: Packet analysis {"connection_id":89812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cf"} 
[2026-06-02 15:41:00] local.INFO: Extracted packet for processing {"connection_id":89812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cf"} 
[2026-06-02 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":750248320,"raw_latitude":124419232,"longitude_deg":75.024832,"latitude_deg":12.4419232,"altitude":22,"angle":345,"satellites":45,"speed":45,"hex_longitude":"2cb7e180","hex_latitude":"076a7ca0","is_valid_coordinates":true} 
[2026-06-02 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781118464001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305900412773335040,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5194902138322796544,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:00] 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-06-02 15:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780395002000,"timestamp_ms":1780395002000,"timestamp_seconds":1780395002,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cfc890"} 
[2026-06-02 15:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:41: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-06-02 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 15:41:00] 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-06-02 15:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:41: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-06-02 15:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781118464001,"66":27713,"132":206,"85":37888,"24":45,"16":305900412773335040,"44":-5194902138322796544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781118464001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:41:00] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305900412773335040,"km_value":305900412773335.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5194902138322796544,"description":"Unknown IO ID 44"} 
[2026-06-02 15:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781118464001,"power":27713,"unknown_132":206,"unknown_85":37888,"ignition":45,"odometer":null,"unknown_44":-5194902138322796544}} 
[2026-06-02 15:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":89812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:41:00] local.INFO: GPS data processed {"connection_id":89812,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:41:00] local.INFO: Acknowledgment sent {"connection_id":89812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:41:06] local.INFO: TCP Data received {"connection_id":90991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:06] local.INFO: Processing buffer {"connection_id":90991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:06] local.INFO: IMEI packet received {"connection_id":90991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":90991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:41:06] local.INFO: TCP Data received {"connection_id":90991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:06] local.INFO: Processing buffer {"connection_id":90991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:06] local.INFO: IMEI packet received {"connection_id":90991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":90991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:41:08] local.INFO: TCP Data received {"connection_id":90991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:08] local.INFO: Processing buffer {"connection_id":90991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:41:08] local.INFO: IMEI packet received {"connection_id":90991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":90991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:41:09] local.INFO: TCP Data received {"connection_id":90991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ce8c28012d181dc00721ad58004e00d52a..."} 
[2026-06-02 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ce8c28012d181dc00721ad58004e00d52a..."} 
[2026-06-02 15:41:09] local.INFO: Processing buffer {"connection_id":90991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ce8c28012d181dc00721ad58004e00d52a..."} 
[2026-06-02 15:41:09] local.INFO: Packet analysis {"connection_id":90991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:41:09] local.INFO: Extracted packet for processing {"connection_id":90991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ce"} 
[2026-06-02 15:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647576,"longitude_deg":75.65552,"latitude_deg":11.9647576,"altitude":78,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad58","is_valid_coordinates":true} 
[2026-06-02 15:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781094400001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125302075973173248,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097191936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780394921000,"timestamp_ms":1780394921000,"timestamp_seconds":1780394921,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ce8c28"} 
[2026-06-02 15:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 15:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":90991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":90991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":90991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:41:09] 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-06-02 15:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781094400001,"66":12461,"105":206,"83":41984,"24":0,"16":125302075973173248,"45":1737756168097191936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 15:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781094400001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:41:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 15:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125302075973173248,"km_value":125302075973173.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097191936,"description":"Unknown IO ID 45"} 
[2026-06-02 15:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781094400001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097191936}} 
[2026-06-02 15:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":90991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:41:09] local.INFO: GPS data processed {"connection_id":90991,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:41:09] local.INFO: Acknowledgment sent {"connection_id":90991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:41:18] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:41:18] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:41:18] local.INFO: IMEI packet received {"connection_id":89910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":89910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:41:23] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:41:23] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:41:23] local.INFO: IMEI packet received {"connection_id":89910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":89910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:41:23] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:23] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:23] local.INFO: IMEI packet received {"connection_id":89813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":89813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:41:24] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cb9270012d7a0fc005ec8030000c00ff1f..."} 
[2026-06-02 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cb9270012d7a0fc005ec8030000c00ff1f..."} 
[2026-06-02 15:41:24] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cb9270012d7a0fc005ec8030000c00ff1f..."} 
[2026-06-02 15:41:24] local.INFO: Packet analysis {"connection_id":89910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:41:24] local.INFO: Extracted packet for processing {"connection_id":89910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cb"} 
[2026-06-02 15:41:24] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15:41:24] 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-06-02 15:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781049856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780394726000,"timestamp_ms":1780394726000,"timestamp_seconds":1780394726,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cb9270"} 
[2026-06-02 15:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:41:24] 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-06-02 15:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781049856001,"66":2220,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781049856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:41:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:41:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781049856001,"power":2220,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":89910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:41:24] local.INFO: GPS data processed {"connection_id":89910,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:41:24] local.INFO: Acknowledgment sent {"connection_id":89910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:41:24] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:24] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:24] local.INFO: IMEI packet received {"connection_id":89813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":89813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:41:28] local.INFO: TCP Data received {"connection_id":90990,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:41:28] local.INFO: Processing buffer {"connection_id":90990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:41:28] local.INFO: IMEI packet received {"connection_id":90990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":90990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:41:28] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:28] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:41:28] local.INFO: IMEI packet received {"connection_id":89813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:41:28] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:41:28] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:41:28] local.INFO: Packet analysis {"connection_id":89910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:41:28] local.INFO: Extracted packet for processing {"connection_id":89910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":32,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781049856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780394786000,"timestamp_ms":1780394786000,"timestamp_seconds":1780394786,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc7cd0"} 
[2026-06-02 15:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:41: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-06-02 15:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781049856001,"66":12493,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781049856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:41:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:41:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781049856001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":89910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:41:28] local.INFO: GPS data processed {"connection_id":89910,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:41:28] local.INFO: Acknowledgment sent {"connection_id":89910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:41:29] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cfe7d0012cb7d480076a9f18001701502d..."} 
[2026-06-02 15:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cfe7d0012cb7d480076a9f18001701502d..."} 
[2026-06-02 15:41:29] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cfe7d0012cb7d480076a9f18001701502d..."} 
[2026-06-02 15:41:29] local.INFO: Packet analysis {"connection_id":89813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cf"} 
[2026-06-02 15:41:29] local.INFO: Extracted packet for processing {"connection_id":89813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cf"} 
[2026-06-02 15:41:29] local.INFO: GPS Element Parsed {"raw_longitude":750244992,"raw_latitude":124428056,"longitude_deg":75.0244992,"latitude_deg":12.4428056,"altitude":23,"angle":336,"satellites":45,"speed":47,"hex_longitude":"2cb7d480","hex_latitude":"076a9f18","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781120512001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305900872334835712,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5196731725669163008,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:29] 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-06-02 15:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395010000,"timestamp_ms":1780395010000,"timestamp_seconds":1780395010,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cfe7d0"} 
[2026-06-02 15:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:41: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-06-02 15: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":65,"data_length":795,"current_offset":136} 
[2026-06-02 15:41:29] 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-06-02 15: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-06-02 15:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:41: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-06-02 15:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781120512001,"66":27767,"132":206,"85":37888,"24":47,"16":305900872334835712,"44":-5196731725669163008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781120512001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:41:29] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305900872334835712,"km_value":305900872334835.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5196731725669163008,"description":"Unknown IO ID 44"} 
[2026-06-02 15:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781120512001,"power":27767,"unknown_132":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-5196731725669163008}} 
[2026-06-02 15:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":89813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:41:29] local.INFO: GPS data processed {"connection_id":89813,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:41:29] local.INFO: Acknowledgment sent {"connection_id":89813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:41:43] local.INFO: TCP Data received {"connection_id":90991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d08028012d18770007218180004c005426..."} 
[2026-06-02 15:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d08028012d18770007218180004c005426..."} 
[2026-06-02 15:41:43] local.INFO: Processing buffer {"connection_id":90991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d08028012d18770007218180004c005426..."} 
[2026-06-02 15:41:43] local.INFO: Packet analysis {"connection_id":90991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:41:43] local.INFO: Extracted packet for processing {"connection_id":90991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636352,"longitude_deg":75.6578048,"latitude_deg":11.9636352,"altitude":76,"angle":84,"satellites":38,"speed":44,"hex_longitude":"2d187700","hex_latitude":"07218180","is_valid_coordinates":true} 
[2026-06-02 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781131776001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125303351578460160,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758937160091803648,"note":"Value kept but may cause issues"} 
[2026-06-02 15:41:43] 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-06-02 15:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780395049000,"timestamp_ms":1780395049000,"timestamp_seconds":1780395049,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d08028"} 
[2026-06-02 15:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:41: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-06-02 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 15:41:43] 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-06-02 15:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:41:43] 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-06-02 15:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781131776001,"66":13722,"106":206,"83":41984,"24":44,"16":125303351578460160,"45":1758937160091803648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 15:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781131776001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:41:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 15:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125303351578460160,"km_value":125303351578460.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758937160091803648,"description":"Unknown IO ID 45"} 
[2026-06-02 15:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781131776001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1758937160091803648}} 
[2026-06-02 15:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":90991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:41:43] local.INFO: GPS data processed {"connection_id":90991,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:41:43] local.INFO: Acknowledgment sent {"connection_id":90991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:41:56] local.INFO: TCP Data received {"connection_id":90992,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:41:56] local.INFO: Processing buffer {"connection_id":90992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:41:56] local.INFO: IMEI packet received {"connection_id":90992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":90992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:42:00] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d00af8012cb7c440076ac1f00016014e2a..."} 
[2026-06-02 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d00af8012cb7c440076ac1f00016014e2a..."} 
[2026-06-02 15:42:00] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d00af8012cb7c440076ac1f00016014e2a..."} 
[2026-06-02 15:42:00] local.INFO: Packet analysis {"connection_id":89813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:42:00] local.INFO: Extracted packet for processing {"connection_id":89813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:42:00] local.INFO: GPS Element Parsed {"raw_longitude":750240832,"raw_latitude":124436976,"longitude_deg":75.0240832,"latitude_deg":12.4436976,"altitude":22,"angle":334,"satellites":42,"speed":41,"hex_longitude":"2cb7c440","hex_latitude":"076ac1f0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781122560001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305901344781238272,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5200390900364142592,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:00] 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-06-02 15:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780395019000,"timestamp_ms":1780395019000,"timestamp_seconds":1780395019,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d00af8"} 
[2026-06-02 15:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:42: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-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:42: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-06-02 15: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-06-02 15:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:42: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-06-02 15:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781122560001,"66":27908,"132":206,"85":37888,"24":41,"16":305901344781238272,"44":-5200390900364142592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781122560001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:42:00] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305901344781238272,"km_value":305901344781238.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5200390900364142592,"description":"Unknown IO ID 44"} 
[2026-06-02 15:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781122560001,"power":27908,"unknown_132":206,"unknown_85":37888,"ignition":41,"odometer":null,"unknown_44":-5200390900364142592}} 
[2026-06-02 15:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":89813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:42:00] local.INFO: GPS data processed {"connection_id":89813,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:42:00] local.INFO: Acknowledgment sent {"connection_id":89813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:42:03] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:03] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:03] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:42:05] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:05] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:05] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:42:05] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:05] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:05] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:42:10] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:10] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:42:10] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:42:11] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d08be0012d18848007218140004d006327..."} 
[2026-06-02 15:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d08be0012d18848007218140004d006327..."} 
[2026-06-02 15:42:11] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d08be0012d18848007218140004d006327..."} 
[2026-06-02 15:42:11] local.INFO: Packet analysis {"connection_id":89911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:42:11] local.INFO: Extracted packet for processing {"connection_id":89911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756581504,"raw_latitude":119636288,"longitude_deg":75.6581504,"latitude_deg":11.9636288,"altitude":77,"angle":99,"satellites":39,"speed":45,"hex_longitude":"2d188480","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-06-02 15:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781132544001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125303514787217408,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765744640,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:11] 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-06-02 15:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780395052000,"timestamp_ms":1780395052000,"timestamp_seconds":1780395052,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d08be0"} 
[2026-06-02 15:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:42: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-06-02 15:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-02 15:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:42:11] 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-06-02 15:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781132544001,"66":14211,"106":206,"83":41984,"24":45,"16":125303514787217408,"45":1762877809765744640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 15:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781132544001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 15:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125303514787217408,"km_value":125303514787217.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765744640,"description":"Unknown IO ID 45"} 
[2026-06-02 15:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781132544001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1762877809765744640}} 
[2026-06-02 15:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":89911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:42:11] local.INFO: GPS data processed {"connection_id":89911,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:42:11] local.INFO: Acknowledgment sent {"connection_id":89911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:42:13] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:42:13] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:42:13] local.INFO: IMEI packet received {"connection_id":89540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":89540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:42:18] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:42:18] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:42:18] local.INFO: IMEI packet received {"connection_id":89540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":89540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:42:19] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:42:19] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:42:19] local.INFO: Packet analysis {"connection_id":89540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:42:19] local.INFO: Extracted packet for processing {"connection_id":89540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:42:19] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":32,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781049856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780394786000,"timestamp_ms":1780394786000,"timestamp_seconds":1780394786,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc7cd0"} 
[2026-06-02 15:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:42:19] 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-06-02 15:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781049856001,"66":12493,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781049856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:42:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:42:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781049856001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":89540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:42:19] local.INFO: GPS data processed {"connection_id":89540,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:42:19] local.INFO: Acknowledgment sent {"connection_id":89540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:42:23] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:42:23] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:42:23] local.INFO: IMEI packet received {"connection_id":89541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":89541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:42:29] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:42:29] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:42:29] local.INFO: IMEI packet received {"connection_id":89541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":89541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:42:30] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d02e20012cb7b540076ae3c00015014f2b..."} 
[2026-06-02 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d02e20012cb7b540076ae3c00015014f2b..."} 
[2026-06-02 15:42:30] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d02e20012cb7b540076ae3c00015014f2b..."} 
[2026-06-02 15:42:30] local.INFO: Packet analysis {"connection_id":89541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:42:30] local.INFO: Extracted packet for processing {"connection_id":89541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750236992,"raw_latitude":124445632,"longitude_deg":75.0236992,"latitude_deg":12.4445632,"altitude":21,"angle":335,"satellites":43,"speed":41,"hex_longitude":"2cb7b540","hex_latitude":"076ae3c0","is_valid_coordinates":true} 
[2026-06-02 15:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781124864001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305901804342738944,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5204964868733407232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:30] 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-06-02 15:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780395028000,"timestamp_ms":1780395028000,"timestamp_seconds":1780395028,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d02e20"} 
[2026-06-02 15:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:42: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-06-02 15:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:42:30] 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-06-02 15:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781124864001,"66":27767,"132":206,"85":37888,"24":41,"16":305901804342738944,"44":-5204964868733407232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781124864001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:42:30] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305901804342738944,"km_value":305901804342738.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5204964868733407232,"description":"Unknown IO ID 44"} 
[2026-06-02 15:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781124864001,"power":27767,"unknown_132":206,"unknown_85":37888,"ignition":41,"odometer":null,"unknown_44":-5204964868733407232}} 
[2026-06-02 15:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":89541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:42:30] local.INFO: GPS data processed {"connection_id":89541,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:42:30] local.INFO: Acknowledgment sent {"connection_id":89541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:42:43] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d17258012d18fc400720d2680039008126..."} 
[2026-06-02 15:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d17258012d18fc400720d2680039008126..."} 
[2026-06-02 15:42:43] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d17258012d18fc400720d2680039008126..."} 
[2026-06-02 15:42:43] local.INFO: Packet analysis {"connection_id":89911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d1"} 
[2026-06-02 15:42:43] local.INFO: Extracted packet for processing {"connection_id":89911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d1"} 
[2026-06-02 15:42:43] local.INFO: GPS Element Parsed {"raw_longitude":756612160,"raw_latitude":119591528,"longitude_deg":75.661216,"latitude_deg":11.9591528,"altitude":57,"angle":129,"satellites":38,"speed":41,"hex_longitude":"2d18fc40","hex_latitude":"0720d268","is_valid_coordinates":true} 
[2026-06-02 15:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781146112001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125306319400861696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794051163426961408,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780395111000,"timestamp_ms":1780395111000,"timestamp_seconds":1780395111,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d17258"} 
[2026-06-02 15:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 15:42: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-06-02 15:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:42:43] 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-06-02 15:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781146112001,"66":14265,"103":206,"83":41984,"24":41,"16":125306319400861696,"45":1794051163426961408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781146112001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:42:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:42:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125306319400861696,"km_value":125306319400861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794051163426961408,"description":"Unknown IO ID 45"} 
[2026-06-02 15:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781146112001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1794051163426961408}} 
[2026-06-02 15:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":89911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:42:43] local.INFO: GPS data processed {"connection_id":89911,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:42:43] local.INFO: Acknowledgment sent {"connection_id":89911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:42:50] local.INFO: TCP Data received {"connection_id":89540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:42:50] local.INFO: Processing buffer {"connection_id":89540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:42:50] local.INFO: Packet analysis {"connection_id":89540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:42:50] local.INFO: Extracted packet for processing {"connection_id":89540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":32,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781049856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780394786000,"timestamp_ms":1780394786000,"timestamp_seconds":1780394786,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc7cd0"} 
[2026-06-02 15:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:42:50] 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-06-02 15:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781049856001,"66":12493,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781049856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:42:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:42:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781049856001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":89540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:42:50] local.INFO: GPS data processed {"connection_id":89540,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:42:50] local.INFO: Acknowledgment sent {"connection_id":89540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:43:00] local.INFO: TCP Data received {"connection_id":89541,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d04d60012cb7a680076b03e00015014f2b..."} 
[2026-06-02 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d04d60012cb7a680076b03e00015014f2b..."} 
[2026-06-02 15:43:00] local.INFO: Processing buffer {"connection_id":89541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d04d60012cb7a680076b03e00015014f2b..."} 
[2026-06-02 15:43:00] local.INFO: Packet analysis {"connection_id":89541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:43:00] local.INFO: Extracted packet for processing {"connection_id":89541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":750233216,"raw_latitude":124453856,"longitude_deg":75.0233216,"latitude_deg":12.4453856,"altitude":21,"angle":335,"satellites":43,"speed":43,"hex_longitude":"2cb7a680","hex_latitude":"076b03e0","is_valid_coordinates":true} 
[2026-06-02 15:43: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-06-02 15:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781127168001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305902242429403136,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5209186993381851136,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:00] 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-06-02 15:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780395036000,"timestamp_ms":1780395036000,"timestamp_seconds":1780395036,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d04d60"} 
[2026-06-02 15:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:43: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-06-02 15:43: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-06-02 15:43: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-06-02 15:43: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-06-02 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:43:00] 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-06-02 15:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781127168001,"66":27843,"132":206,"85":37888,"24":43,"16":305902242429403136,"44":-5209186993381851136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781127168001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:43:01] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305902242429403136,"km_value":305902242429403.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5209186993381851136,"description":"Unknown IO ID 44"} 
[2026-06-02 15:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781127168001,"power":27843,"unknown_132":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-5209186993381851136}} 
[2026-06-02 15:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":89541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:43:01] local.INFO: GPS data processed {"connection_id":89541,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:43:01] local.INFO: Acknowledgment sent {"connection_id":89541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:43:05] local.INFO: TCP Data received {"connection_id":90994,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:05] local.INFO: Processing buffer {"connection_id":90994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:05] local.INFO: IMEI packet received {"connection_id":90994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":90994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:43:06] local.INFO: TCP Data received {"connection_id":90994,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:06] local.INFO: Processing buffer {"connection_id":90994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:06] local.INFO: IMEI packet received {"connection_id":90994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":90994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:43:10] local.INFO: TCP Data received {"connection_id":90994,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:10] local.INFO: Processing buffer {"connection_id":90994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:43:10] local.INFO: IMEI packet received {"connection_id":90994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":90994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:43:11] local.INFO: TCP Data received {"connection_id":90994,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d17258012d18fc400720d2680039008126..."} 
[2026-06-02 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d17258012d18fc400720d2680039008126..."} 
[2026-06-02 15:43:11] local.INFO: Processing buffer {"connection_id":90994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d17258012d18fc400720d2680039008126..."} 
[2026-06-02 15:43:11] local.INFO: Packet analysis {"connection_id":90994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d1"} 
[2026-06-02 15:43:11] local.INFO: Extracted packet for processing {"connection_id":90994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d1"} 
[2026-06-02 15:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756612160,"raw_latitude":119591528,"longitude_deg":75.661216,"latitude_deg":11.9591528,"altitude":57,"angle":129,"satellites":38,"speed":41,"hex_longitude":"2d18fc40","hex_latitude":"0720d268","is_valid_coordinates":true} 
[2026-06-02 15:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781148416001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125306319400861696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800384350400964608,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780395111000,"timestamp_ms":1780395111000,"timestamp_seconds":1780395111,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d17258"} 
[2026-06-02 15:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 15:43:11] 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-06-02 15:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:43:11] 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-06-02 15:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781148416001,"66":14265,"103":206,"83":41984,"24":41,"16":125306319400861696,"45":1800384350400964608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781148416001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:43:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125306319400861696,"km_value":125306319400861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800384350400964608,"description":"Unknown IO ID 45"} 
[2026-06-02 15:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781148416001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1800384350400964608}} 
[2026-06-02 15:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":90994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:43:11] local.INFO: GPS data processed {"connection_id":90994,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:43:11] local.INFO: Acknowledgment sent {"connection_id":90994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:43:13] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:43:13] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:43:13] local.INFO: IMEI packet received {"connection_id":89815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":89815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:43:18] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:43:18] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:43:18] local.INFO: IMEI packet received {"connection_id":89815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":89815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:43:19] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:43:19] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:43:19] local.INFO: Packet analysis {"connection_id":89815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:43:19] local.INFO: Extracted packet for processing {"connection_id":89815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:43:19] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":32,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781049856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780394786000,"timestamp_ms":1780394786000,"timestamp_seconds":1780394786,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc7cd0"} 
[2026-06-02 15:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:43:19] 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-06-02 15:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781049856001,"66":12493,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781049856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:43:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:43:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781049856001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":89815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:43:19] local.INFO: GPS data processed {"connection_id":89815,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:43:19] local.INFO: Acknowledgment sent {"connection_id":89815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:43:23] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:43:23] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:43:23] local.INFO: IMEI packet received {"connection_id":89912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":89912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:43:28] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:43:28] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:43:28] local.INFO: IMEI packet received {"connection_id":89912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":89912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:43:29] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d07470012cb79640076b23d8001701492b..."} 
[2026-06-02 15:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d07470012cb79640076b23d8001701492b..."} 
[2026-06-02 15:43:29] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d07470012cb79640076b23d8001701492b..."} 
[2026-06-02 15:43:29] local.INFO: Packet analysis {"connection_id":89912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:43:29] local.INFO: Extracted packet for processing {"connection_id":89912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:43:29] local.INFO: GPS Element Parsed {"raw_longitude":750229056,"raw_latitude":124462040,"longitude_deg":75.0229056,"latitude_deg":12.446204,"altitude":23,"angle":329,"satellites":43,"speed":30,"hex_longitude":"2cb79640","hex_latitude":"076b23d8","is_valid_coordinates":true} 
[2026-06-02 15:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781129216001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305902684811034624,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5213338749286227968,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:29] 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-06-02 15:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395046000,"timestamp_ms":1780395046000,"timestamp_seconds":1780395046,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d07470"} 
[2026-06-02 15:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:43: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-06-02 15:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:43: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-06-02 15:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:43: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-06-02 15:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781129216001,"66":27713,"132":206,"85":37888,"24":30,"16":305902684811034624,"44":-5213338749286227968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781129216001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:43:29] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305902684811034624,"km_value":305902684811034.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5213338749286227968,"description":"Unknown IO ID 44"} 
[2026-06-02 15:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781129216001,"power":27713,"unknown_132":206,"unknown_85":37888,"ignition":30,"odometer":null,"unknown_44":-5213338749286227968}} 
[2026-06-02 15:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":89912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:43:29] local.INFO: GPS data processed {"connection_id":89912,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:43:29] local.INFO: Acknowledgment sent {"connection_id":89912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:43:42] local.INFO: TCP Data received {"connection_id":90994,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d26488012d19ae0007208e18002c00be28..."} 
[2026-06-02 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d26488012d19ae0007208e18002c00be28..."} 
[2026-06-02 15:43:42] local.INFO: Processing buffer {"connection_id":90994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d26488012d19ae0007208e18002c00be28..."} 
[2026-06-02 15:43:42] local.INFO: Packet analysis {"connection_id":90994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d2"} 
[2026-06-02 15:43:42] local.INFO: Extracted packet for processing {"connection_id":90994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d2"} 
[2026-06-02 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574040,"longitude_deg":75.6657664,"latitude_deg":11.957404,"altitude":44,"angle":190,"satellites":40,"speed":32,"hex_longitude":"2d19ae00","hex_latitude":"07208e18","is_valid_coordinates":true} 
[2026-06-02 15:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781162752001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125309201323917312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964716834816,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43: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-06-02 15:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780395173000,"timestamp_ms":1780395173000,"timestamp_seconds":1780395173,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d26488"} 
[2026-06-02 15:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6954668562,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2278697456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505511685259264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3527243777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2816475182,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692585,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485688,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84752107542356147,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.WARNING: Large IO value detected {"io_id":136,"raw_value":13229741104440576,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,47,158,73,45,64,161,41,10,66,69,163,65,1,240,185,227,135,32,4,113,205,57,186,160,38,239,55,2,189,7,206,128,136],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 15:43:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242820610515337216,"timestamp_seconds":3242820610515337.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:43:42] 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-06-02 15:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781162752001,"66":13928,"103":206,"83":41984,"24":32,"16":125309201323917312,"45":1853934964716834816},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781162752001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:43:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125309201323917312,"km_value":125309201323917.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964716834816,"description":"Unknown IO ID 45"} 
[2026-06-02 15:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781162752001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1853934964716834816}} 
[2026-06-02 15:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":90994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:43:42] local.INFO: GPS data processed {"connection_id":90994,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:43:42] local.INFO: Acknowledgment sent {"connection_id":90994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:43:50] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:43:50] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:43:50] local.INFO: Packet analysis {"connection_id":89815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:43:50] local.INFO: Extracted packet for processing {"connection_id":89815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":32,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781049856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780394786000,"timestamp_ms":1780394786000,"timestamp_seconds":1780394786,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc7cd0"} 
[2026-06-02 15:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:43:50] 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-06-02 15:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781049856001,"66":12493,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781049856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:43:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:43:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781049856001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":89815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:43:50] local.INFO: GPS data processed {"connection_id":89815,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:43:50] local.INFO: Acknowledgment sent {"connection_id":89815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:44:00] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d0a350012cb78640076b3cc0001801582d..."} 
[2026-06-02 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d0a350012cb78640076b3cc0001801582d..."} 
[2026-06-02 15:44:00] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d0a350012cb78640076b3cc0001801582d..."} 
[2026-06-02 15:44:00] local.INFO: Packet analysis {"connection_id":89912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:44:00] local.INFO: Extracted packet for processing {"connection_id":89912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":750224960,"raw_latitude":124468416,"longitude_deg":75.022496,"latitude_deg":12.4468416,"altitude":24,"angle":344,"satellites":45,"speed":20,"hex_longitude":"2cb78640","hex_latitude":"076b3cc0","is_valid_coordinates":true} 
[2026-06-02 15:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781131776001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305903049883254784,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5217912717655681024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:00] 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-06-02 15:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780395058000,"timestamp_ms":1780395058000,"timestamp_seconds":1780395058,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d0a350"} 
[2026-06-02 15:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:44: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-06-02 15: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 15:44:00] 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-06-02 15: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-06-02 15:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:44: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-06-02 15:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781131776001,"66":27658,"132":206,"85":37888,"24":20,"16":305903049883254784,"44":-5217912717655681024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781131776001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:44:00] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305903049883254784,"km_value":305903049883254.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5217912717655681024,"description":"Unknown IO ID 44"} 
[2026-06-02 15:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781131776001,"power":27658,"unknown_132":206,"unknown_85":37888,"ignition":20,"odometer":null,"unknown_44":-5217912717655681024}} 
[2026-06-02 15:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":89912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:44:00] local.INFO: GPS data processed {"connection_id":89912,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:44:00] local.INFO: Acknowledgment sent {"connection_id":89912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:44:04] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:04] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:04] local.INFO: IMEI packet received {"connection_id":89543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":89543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:44:05] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:05] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:05] local.INFO: IMEI packet received {"connection_id":89543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":89543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:44:06] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:06] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:06] local.INFO: IMEI packet received {"connection_id":89543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":89543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:44:09] local.INFO: TCP Data received {"connection_id":89543,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:09] local.INFO: Processing buffer {"connection_id":89543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:44:09] local.INFO: IMEI packet received {"connection_id":89543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":89543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:44:13] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:44:13] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:44:13] local.INFO: IMEI packet received {"connection_id":89816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":89816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:44:18] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:44:18] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:44:18] local.INFO: IMEI packet received {"connection_id":89816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":89816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:44:19] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:44:19] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cc7cd0012d7a0fc005ec8030000c00ff20..."} 
[2026-06-02 15:44:19] local.INFO: Packet analysis {"connection_id":89816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:44:19] local.INFO: Extracted packet for processing {"connection_id":89816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87cc"} 
[2026-06-02 15:44:19] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":32,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781049856001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780394786000,"timestamp_ms":1780394786000,"timestamp_seconds":1780394786,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cc7cd0"} 
[2026-06-02 15:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-02 15:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:44:19] 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-06-02 15:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781049856001,"66":12493,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781049856001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:44:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:44:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781049856001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":89816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:44:19] local.INFO: GPS data processed {"connection_id":89816,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:44:19] local.INFO: Acknowledgment sent {"connection_id":89816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:44:28] local.INFO: TCP Data received {"connection_id":90995,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:44:28] local.INFO: Processing buffer {"connection_id":90995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:44:28] local.INFO: IMEI packet received {"connection_id":90995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":90995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:44:32] local.INFO: TCP Data received {"connection_id":90995,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:44:32] local.INFO: Processing buffer {"connection_id":90995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:44:32] local.INFO: IMEI packet received {"connection_id":90995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":90995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:44:33] local.INFO: TCP Data received {"connection_id":90995,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d0ab20012cb78600076b40c0001700072d..."} 
[2026-06-02 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d0ab20012cb78600076b40c0001700072d..."} 
[2026-06-02 15:44:33] local.INFO: Processing buffer {"connection_id":90995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d0ab20012cb78600076b40c0001700072d..."} 
[2026-06-02 15:44:33] local.INFO: Packet analysis {"connection_id":90995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:44:33] local.INFO: Extracted packet for processing {"connection_id":90995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:44:33] local.INFO: GPS Element Parsed {"raw_longitude":750224896,"raw_latitude":124469440,"longitude_deg":75.0224896,"latitude_deg":12.446944,"altitude":23,"angle":7,"satellites":45,"speed":21,"hex_longitude":"2cb78600","hex_latitude":"076b40c0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781134848001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305903101422862336,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5222416317281419264,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:33] 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-06-02 15:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780395060000,"timestamp_ms":1780395060000,"timestamp_seconds":1780395060,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d0ab20"} 
[2026-06-02 15:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:44: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-06-02 15: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:44:33] 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-06-02 15:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781134848001,"66":27517,"132":206,"85":37888,"24":21,"16":305903101422862336,"44":-5222416317281419264},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781134848001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:44:33] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305903101422862336,"km_value":305903101422862.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:44:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5222416317281419264,"description":"Unknown IO ID 44"} 
[2026-06-02 15:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781134848001,"power":27517,"unknown_132":206,"unknown_85":37888,"ignition":21,"odometer":null,"unknown_44":-5222416317281419264}} 
[2026-06-02 15:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":90995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:44:33] local.INFO: GPS data processed {"connection_id":90995,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:44:33] local.INFO: Acknowledgment sent {"connection_id":90995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:44:50] local.INFO: TCP Data received {"connection_id":89816,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d3cfd0012d7a0fc005ec8030000c00ff25..."} 
[2026-06-02 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d3cfd0012d7a0fc005ec8030000c00ff25..."} 
[2026-06-02 15:44:50] local.INFO: Processing buffer {"connection_id":89816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d3cfd0012d7a0fc005ec8030000c00ff25..."} 
[2026-06-02 15:44:50] local.INFO: Packet analysis {"connection_id":89816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d3"} 
[2026-06-02 15:44:50] local.INFO: Extracted packet for processing {"connection_id":89816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d3"} 
[2026-06-02 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781065216001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780395266000,"timestamp_ms":1780395266000,"timestamp_seconds":1780395266,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d3cfd0"} 
[2026-06-02 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-06-02 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 15:44:50] 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-06-02 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-06-02 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-06-02 15:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:44:50] 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-06-02 15:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781065216001,"66":12298,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781065216001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:44:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:44:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781065216001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":89816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:44:50] local.INFO: GPS data processed {"connection_id":89816,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:44:50] local.INFO: Acknowledgment sent {"connection_id":89816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:45:04] local.INFO: TCP Data received {"connection_id":90995,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d0b2f0012cb78740076b44900017001a2d..."} 
[2026-06-02 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d0b2f0012cb78740076b44900017001a2d..."} 
[2026-06-02 15:45:04] local.INFO: Processing buffer {"connection_id":90995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d0b2f0012cb78740076b44900017001a2d..."} 
[2026-06-02 15:45:04] local.INFO: Packet analysis {"connection_id":90995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:45:04] local.INFO: Extracted packet for processing {"connection_id":90995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d0"} 
[2026-06-02 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":750225216,"raw_latitude":124470416,"longitude_deg":75.0225216,"latitude_deg":12.4470416,"altitude":23,"angle":26,"satellites":45,"speed":20,"hex_longitude":"2cb78740","hex_latitude":"076b4490","is_valid_coordinates":true} 
[2026-06-02 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781135360001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305903148667502592,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5222486686025334784,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:04] 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-06-02 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780395062000,"timestamp_ms":1780395062000,"timestamp_seconds":1780395062,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d0b2f0"} 
[2026-06-02 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:45: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-06-02 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 15:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:45: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-06-02 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781135360001,"66":27593,"132":206,"85":37888,"24":20,"16":305903148667502592,"44":-5222486686025334784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-06-02 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781135360001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305903148667502592,"km_value":305903148667502.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5222486686025334784,"description":"Unknown IO ID 44"} 
[2026-06-02 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781135360001,"power":27593,"unknown_132":206,"unknown_85":37888,"ignition":20,"odometer":null,"unknown_44":-5222486686025334784}} 
[2026-06-02 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":90995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:45:04] local.INFO: GPS data processed {"connection_id":90995,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:45:04] local.INFO: Acknowledgment sent {"connection_id":90995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:45:18] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:45:18] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:45:18] local.INFO: IMEI packet received {"connection_id":89545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":89545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:45:23] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:45:23] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:45:23] local.INFO: IMEI packet received {"connection_id":89545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":89545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:45:24] local.INFO: TCP Data received {"connection_id":89545,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d3cfd0012d7a0fc005ec8030000c00ff25..."} 
[2026-06-02 15:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d3cfd0012d7a0fc005ec8030000c00ff25..."} 
[2026-06-02 15:45:24] local.INFO: Processing buffer {"connection_id":89545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d3cfd0012d7a0fc005ec8030000c00ff25..."} 
[2026-06-02 15:45:24] local.INFO: Packet analysis {"connection_id":89545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d3"} 
[2026-06-02 15:45:24] local.INFO: Extracted packet for processing {"connection_id":89545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d3"} 
[2026-06-02 15:45:24] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781065216001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1780395266000,"timestamp_ms":1780395266000,"timestamp_seconds":1780395266,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d3cfd0"} 
[2026-06-02 15:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 15:45:24] 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-06-02 15: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-06-02 15:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":89545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":89545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":89545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:45:24] 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-06-02 15:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781065216001,"66":12298,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 15:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781065216001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:45:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:45:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 15:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781065216001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 15:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":89545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:45:24] local.INFO: GPS data processed {"connection_id":89545,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:45:24] local.INFO: Acknowledgment sent {"connection_id":89545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:45:24] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:24] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:24] local.INFO: IMEI packet received {"connection_id":89818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":89818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:45:25] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:25] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:25] local.INFO: IMEI packet received {"connection_id":89818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":89818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:45:27] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:27] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:45:27] local.INFO: IMEI packet received {"connection_id":89818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":89818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:45:28] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d3eb28012cb77a40076c09700014015c2b..."} 
[2026-06-02 15:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d3eb28012cb77a40076c09700014015c2b..."} 
[2026-06-02 15:45:28] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d3eb28012cb77a40076c09700014015c2b..."} 
[2026-06-02 15:45:28] local.INFO: Packet analysis {"connection_id":89818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d3"} 
[2026-06-02 15:45:28] local.INFO: Extracted packet for processing {"connection_id":89818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d3"} 
[2026-06-02 15:45:28] local.INFO: GPS Element Parsed {"raw_longitude":750221888,"raw_latitude":124520816,"longitude_deg":75.0221888,"latitude_deg":12.4520816,"altitude":20,"angle":348,"satellites":43,"speed":42,"hex_longitude":"2cb77a40","hex_latitude":"076c0970","is_valid_coordinates":true} 
[2026-06-02 15:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781187584001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305904716330565632,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5224245904618866688,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780395273000,"timestamp_ms":1780395273000,"timestamp_seconds":1780395273,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d3eb28"} 
[2026-06-02 15:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:45: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-06-02 15:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:45: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-06-02 15:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:45: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-06-02 15:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781187584001,"66":27376,"133":206,"85":37888,"24":42,"16":305904716330565632,"44":-5224245904618866688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-06-02 15:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781187584001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:45:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 15:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305904716330565632,"km_value":305904716330565.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:45:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5224245904618866688,"description":"Unknown IO ID 44"} 
[2026-06-02 15:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781187584001,"power":27376,"unknown_133":206,"unknown_85":37888,"ignition":42,"odometer":null,"unknown_44":-5224245904618866688}} 
[2026-06-02 15:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":89818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:45:28] local.INFO: GPS data processed {"connection_id":89818,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:45:28] local.INFO: Acknowledgment sent {"connection_id":89818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:45:29] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d40a68012cb771c0076c2c800010015729..."} 
[2026-06-02 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d40a68012cb771c0076c2c800010015729..."} 
[2026-06-02 15:45:29] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d40a68012cb771c0076c2c800010015729..."} 
[2026-06-02 15:45:29] local.INFO: Packet analysis {"connection_id":89818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d4"} 
[2026-06-02 15:45:29] local.INFO: Extracted packet for processing {"connection_id":89818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d4"} 
[2026-06-02 15:45:29] local.INFO: GPS Element Parsed {"raw_longitude":750219712,"raw_latitude":124529792,"longitude_deg":75.0219712,"latitude_deg":12.4529792,"altitude":16,"angle":343,"satellites":41,"speed":46,"hex_longitude":"2cb771c0","hex_latitude":"076c2c80","is_valid_coordinates":true} 
[2026-06-02 15:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781189888001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305905163007164416,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5225794016988532736,"note":"Value kept but may cause issues"} 
[2026-06-02 15:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395281000,"timestamp_ms":1780395281000,"timestamp_seconds":1780395281,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d40a68"} 
[2026-06-02 15:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:45: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-06-02 15:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 15:45:29] 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-06-02 15:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:45: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-06-02 15:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781189888001,"66":27908,"133":206,"85":37888,"24":46,"16":305905163007164416,"44":-5225794016988532736},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-06-02 15:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781189888001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:45:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 15:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305905163007164416,"km_value":305905163007164.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5225794016988532736,"description":"Unknown IO ID 44"} 
[2026-06-02 15:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781189888001,"power":27908,"unknown_133":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-5225794016988532736}} 
[2026-06-02 15:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":89818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:45:29] local.INFO: GPS data processed {"connection_id":89818,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:45:29] local.INFO: Acknowledgment sent {"connection_id":89818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:46:00] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d41df0012cb76940076c41a0000e014929..."} 
[2026-06-02 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d41df0012cb76940076c41a0000e014929..."} 
[2026-06-02 15:46:00] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d41df0012cb76940076c41a0000e014929..."} 
[2026-06-02 15:46:00] local.INFO: Packet analysis {"connection_id":89818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d4"} 
[2026-06-02 15:46:00] local.INFO: Extracted packet for processing {"connection_id":89818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d4"} 
[2026-06-02 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":750217536,"raw_latitude":124535200,"longitude_deg":75.0217536,"latitude_deg":12.45352,"altitude":14,"angle":329,"satellites":41,"speed":46,"hex_longitude":"2cb76940","hex_latitude":"076c41a0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781191936001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305905446475005952,"note":"Value kept but may cause issues"} 
[2026-06-02 15:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5228186554288275456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780395286000,"timestamp_ms":1780395286000,"timestamp_seconds":1780395286,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d41df0"} 
[2026-06-02 15:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:46: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-06-02 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:46: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-06-02 15: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-06-02 15:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:46: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-06-02 15:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781191936001,"66":27919,"133":206,"85":37888,"24":46,"16":305905446475005952,"44":-5228186554288275456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-06-02 15:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781191936001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:46:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 15:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305905446475005952,"km_value":305905446475005.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5228186554288275456,"description":"Unknown IO ID 44"} 
[2026-06-02 15:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781191936001,"power":27919,"unknown_133":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-5228186554288275456}} 
[2026-06-02 15:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":89818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:46:00] local.INFO: GPS data processed {"connection_id":89818,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:46:00] local.INFO: Acknowledgment sent {"connection_id":89818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:46:23] local.INFO: TCP Data received {"connection_id":90996,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:23] local.INFO: Processing buffer {"connection_id":90996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:23] local.INFO: IMEI packet received {"connection_id":90996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":90996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:46:24] local.INFO: TCP Data received {"connection_id":90996,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:24] local.INFO: Processing buffer {"connection_id":90996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:24] local.INFO: IMEI packet received {"connection_id":90996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":90996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:46:28] local.INFO: TCP Data received {"connection_id":90996,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:28] local.INFO: Processing buffer {"connection_id":90996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:46:28] local.INFO: IMEI packet received {"connection_id":90996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":90996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:46:29] local.INFO: TCP Data received {"connection_id":90996,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d429a8012cb76000076c4cf0000d01392a..."} 
[2026-06-02 15:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d429a8012cb76000076c4cf0000d01392a..."} 
[2026-06-02 15:46:29] local.INFO: Processing buffer {"connection_id":90996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d429a8012cb76000076c4cf0000d01392a..."} 
[2026-06-02 15:46:29] local.INFO: Packet analysis {"connection_id":90996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d4"} 
[2026-06-02 15:46:29] local.INFO: Extracted packet for processing {"connection_id":90996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d4"} 
[2026-06-02 15:46:29] local.INFO: GPS Element Parsed {"raw_longitude":750215168,"raw_latitude":124538096,"longitude_deg":75.0215168,"latitude_deg":12.4538096,"altitude":13,"angle":313,"satellites":42,"speed":47,"hex_longitude":"2cb76000","hex_latitude":"076c4cf0","is_valid_coordinates":true} 
[2026-06-02 15:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781193216001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305905626863632384,"note":"Value kept but may cause issues"} 
[2026-06-02 15:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5230579091588931584,"note":"Value kept but may cause issues"} 
[2026-06-02 15:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395289000,"timestamp_ms":1780395289000,"timestamp_seconds":1780395289,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d429a8"} 
[2026-06-02 15:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:46: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-06-02 15:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 15:46: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-06-02 15:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:46: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-06-02 15:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781193216001,"66":27767,"133":206,"85":37888,"24":47,"16":305905626863632384,"44":-5230579091588931584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-06-02 15:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781193216001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:46:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-02 15:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305905626863632384,"km_value":305905626863632.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5230579091588931584,"description":"Unknown IO ID 44"} 
[2026-06-02 15:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781193216001,"power":27767,"unknown_133":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-5230579091588931584}} 
[2026-06-02 15:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":90996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:46:29] local.INFO: GPS data processed {"connection_id":90996,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:46:29] local.INFO: Acknowledgment sent {"connection_id":90996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:47:01] local.INFO: TCP Data received {"connection_id":90996,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d53f00012cb63280076cc820000c013e2b..."} 
[2026-06-02 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d53f00012cb63280076cc820000c013e2b..."} 
[2026-06-02 15:47:01] local.INFO: Processing buffer {"connection_id":90996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d53f00012cb63280076cc820000c013e2b..."} 
[2026-06-02 15:47:01] local.INFO: Packet analysis {"connection_id":90996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:47:01] local.INFO: Extracted packet for processing {"connection_id":90996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:47:01] local.INFO: GPS Element Parsed {"raw_longitude":750137984,"raw_latitude":124569632,"longitude_deg":75.0137984,"latitude_deg":12.4569632,"altitude":12,"angle":318,"satellites":43,"speed":44,"hex_longitude":"2cb63280","hex_latitude":"076cc820","is_valid_coordinates":true} 
[2026-06-02 15:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781210112001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305909707082563584,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5311151303665254400,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780395360000,"timestamp_ms":1780395360000,"timestamp_seconds":1780395360,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d53f00"} 
[2026-06-02 15:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:47: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-06-02 15:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:47: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-06-02 15:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:47: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-06-02 15:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781210112001,"66":27789,"153":206,"85":37888,"24":44,"16":305909707082563584,"44":-5311151303665254400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,44]} 
[2026-06-02 15:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781210112001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:47:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 15:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305909707082563584,"km_value":305909707082563.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:47:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5311151303665254400,"description":"Unknown IO ID 44"} 
[2026-06-02 15:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781210112001,"power":27789,"unknown_153":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-5311151303665254400}} 
[2026-06-02 15:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":90996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:47:01] local.INFO: GPS data processed {"connection_id":90996,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:47:01] local.INFO: Acknowledgment sent {"connection_id":90996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:47:23] local.INFO: TCP Data received {"connection_id":90997,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:47:23] local.INFO: Processing buffer {"connection_id":90997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:47:23] local.INFO: IMEI packet received {"connection_id":90997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":90997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:47:23] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:23] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:23] local.INFO: IMEI packet received {"connection_id":89915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":89915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:47:26] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:26] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:26] local.INFO: IMEI packet received {"connection_id":89915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":89915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:47:28] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:28] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:47:28] local.INFO: IMEI packet received {"connection_id":89915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":89915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:47:29] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d56228012cb61c00076ce4e0000d01452d..."} 
[2026-06-02 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d56228012cb61c00076ce4e0000d01452d..."} 
[2026-06-02 15:47:29] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d56228012cb61c00076ce4e0000d01452d..."} 
[2026-06-02 15:47:29] local.INFO: Packet analysis {"connection_id":89915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:47:29] local.INFO: Extracted packet for processing {"connection_id":89915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:47:29] local.INFO: GPS Element Parsed {"raw_longitude":750132224,"raw_latitude":124576992,"longitude_deg":75.0132224,"latitude_deg":12.4576992,"altitude":13,"angle":325,"satellites":45,"speed":39,"hex_longitude":"2cb61c00","hex_latitude":"076ce4e0","is_valid_coordinates":true} 
[2026-06-02 15:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781212160001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305910158054129664,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5318047440592953344,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395369000,"timestamp_ms":1780395369000,"timestamp_seconds":1780395369,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d56228"} 
[2026-06-02 15:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:47: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-06-02 15:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-02 15:47:29] 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-06-02 15:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:47: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-06-02 15:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781212160001,"66":27767,"153":206,"85":37888,"24":39,"16":305910158054129664,"44":-5318047440592953344},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,44]} 
[2026-06-02 15:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781212160001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:47:29] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 15:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305910158054129664,"km_value":305910158054129.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5318047440592953344,"description":"Unknown IO ID 44"} 
[2026-06-02 15:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781212160001,"power":27767,"unknown_153":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-5318047440592953344}} 
[2026-06-02 15:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":89915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:47:29] local.INFO: GPS data processed {"connection_id":89915,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:47:29] local.INFO: Acknowledgment sent {"connection_id":89915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:47:33] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d58550012cb60780076d0390001001462d..."} 
[2026-06-02 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d58550012cb60780076d0390001001462d..."} 
[2026-06-02 15:47:33] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d58550012cb60780076d0390001001462d..."} 
[2026-06-02 15:47:33] local.INFO: Packet analysis {"connection_id":89915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:47:33] local.INFO: Extracted packet for processing {"connection_id":89915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:47:33] local.INFO: GPS Element Parsed {"raw_longitude":750126976,"raw_latitude":124584848,"longitude_deg":75.0126976,"latitude_deg":12.4584848,"altitude":16,"angle":326,"satellites":45,"speed":45,"hex_longitude":"2cb60780","hex_latitude":"076d0390","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781214464001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305910613320663040,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5324380627567058944,"note":"Value kept but may cause issues"} 
[2026-06-02 15:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780395378000,"timestamp_ms":1780395378000,"timestamp_seconds":1780395378,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d58550"} 
[2026-06-02 15:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:47:33] 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-06-02 15:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781214464001,"66":27767,"153":206,"85":37888,"24":45,"16":305910613320663040,"44":-5324380627567058944},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,44]} 
[2026-06-02 15:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781214464001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:47:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 15:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305910613320663040,"km_value":305910613320663.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5324380627567058944,"description":"Unknown IO ID 44"} 
[2026-06-02 15:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781214464001,"power":27767,"unknown_153":206,"unknown_85":37888,"ignition":45,"odometer":null,"unknown_44":-5324380627567058944}} 
[2026-06-02 15:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":89915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:47:33] local.INFO: GPS data processed {"connection_id":89915,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:47:33] local.INFO: Acknowledgment sent {"connection_id":89915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:47:58] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:47:58] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:47:58] local.INFO: IMEI packet received {"connection_id":89916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":89916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:48:04] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d5a0a8012cb5f6c0076d2020001201512b..."} 
[2026-06-02 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d5a0a8012cb5f6c0076d2020001201512b..."} 
[2026-06-02 15:48:04] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d5a0a8012cb5f6c0076d2020001201512b..."} 
[2026-06-02 15:48:04] local.INFO: Packet analysis {"connection_id":89915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:48:04] local.INFO: Extracted packet for processing {"connection_id":89915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":750122688,"raw_latitude":124592160,"longitude_deg":75.0122688,"latitude_deg":12.459216,"altitude":18,"angle":337,"satellites":43,"speed":48,"hex_longitude":"2cb5f6c0","hex_latitude":"076d2020","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781216768001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305911021342556160,"note":"Value kept but may cause issues"} 
[2026-06-02 15:48:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5330150864587616256,"note":"Value kept but may cause issues"} 
[2026-06-02 15:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780395385000,"timestamp_ms":1780395385000,"timestamp_seconds":1780395385,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d5a0a8"} 
[2026-06-02 15:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:48: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-06-02 15: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-06-02 15:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:48: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-06-02 15:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781216768001,"66":27865,"153":206,"85":37888,"24":48,"16":305911021342556160,"44":-5330150864587616256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,44]} 
[2026-06-02 15:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781216768001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:48:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-02 15:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305911021342556160,"km_value":305911021342556.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:48:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5330150864587616256,"description":"Unknown IO ID 44"} 
[2026-06-02 15:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781216768001,"power":27865,"unknown_153":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-5330150864587616256}} 
[2026-06-02 15:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":89915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:48:04] local.INFO: GPS data processed {"connection_id":89915,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:48:04] local.INFO: Acknowledgment sent {"connection_id":89915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:48:23] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:48:23] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:48:23] local.INFO: IMEI packet received {"connection_id":89918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":89918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:48:29] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:48:29] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:48:29] local.INFO: IMEI packet received {"connection_id":89918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":89918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:48:30] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d5bfe8012cb5ed40076d44900014015b2b..."} 
[2026-06-02 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d5bfe8012cb5ed40076d44900014015b2b..."} 
[2026-06-02 15:48:30] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d5bfe8012cb5ed40076d44900014015b2b..."} 
[2026-06-02 15:48:30] local.INFO: Packet analysis {"connection_id":89918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:48:30] local.INFO: Extracted packet for processing {"connection_id":89918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d5"} 
[2026-06-02 15:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750120256,"raw_latitude":124601488,"longitude_deg":75.0120256,"latitude_deg":12.4601488,"altitude":20,"angle":347,"satellites":43,"speed":49,"hex_longitude":"2cb5ed40","hex_latitude":"076d4490","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781218560001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305911489493991424,"note":"Value kept but may cause issues"} 
[2026-06-02 15:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5334865570445647872,"note":"Value kept but may cause issues"} 
[2026-06-02 15:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780395393000,"timestamp_ms":1780395393000,"timestamp_seconds":1780395393,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d5bfe8"} 
[2026-06-02 15:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 15:48: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-06-02 15: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-06-02 15:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:48: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-06-02 15:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781218560001,"66":27865,"90":206,"85":37888,"24":49,"16":305911489493991424,"44":-5334865570445647872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,44]} 
[2026-06-02 15:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781218560001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:48:30] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-02 15:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305911489493991424,"km_value":305911489493991.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5334865570445647872,"description":"Unknown IO ID 44"} 
[2026-06-02 15:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781218560001,"power":27865,"unknown_90":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-5334865570445647872}} 
[2026-06-02 15:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":89918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:48:30] local.INFO: GPS data processed {"connection_id":89918,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:48:30] local.INFO: Acknowledgment sent {"connection_id":89918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:49:00] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d73eb8012cb54740076e3bc0002d01612e..."} 
[2026-06-02 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d73eb8012cb54740076e3bc0002d01612e..."} 
[2026-06-02 15:49:00] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d73eb8012cb54740076e3bc0002d01612e..."} 
[2026-06-02 15:49:00] local.INFO: Packet analysis {"connection_id":89918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:49:00] local.INFO: Extracted packet for processing {"connection_id":89918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":750077760,"raw_latitude":124664768,"longitude_deg":75.007776,"latitude_deg":12.4664768,"altitude":45,"angle":353,"satellites":46,"speed":31,"hex_longitude":"2cb54740","hex_latitude":"076e3bc0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781244928001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305915256180310016,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5383771847631083520,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780395491000,"timestamp_ms":1780395491000,"timestamp_seconds":1780395491,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d73eb8"} 
[2026-06-02 15:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:49: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-06-02 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:49: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-06-02 15: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-06-02 15:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:49: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-06-02 15:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781244928001,"66":27745,"100":206,"85":37888,"24":31,"16":305915256180310016,"44":-5383771847631083520},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,44]} 
[2026-06-02 15:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781244928001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:49:00] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-02 15:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305915256180310016,"km_value":305915256180310.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5383771847631083520,"description":"Unknown IO ID 44"} 
[2026-06-02 15:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781244928001,"power":27745,"unknown_100":206,"unknown_85":37888,"ignition":31,"odometer":null,"unknown_44":-5383771847631083520}} 
[2026-06-02 15:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":89918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:49:00] local.INFO: GPS data processed {"connection_id":89918,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:49:00] local.INFO: Acknowledgment sent {"connection_id":89918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:49:23] local.INFO: TCP Data received {"connection_id":89548,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:49:23] local.INFO: Processing buffer {"connection_id":89548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:49:23] local.INFO: IMEI packet received {"connection_id":89548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":89548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:49:28] local.INFO: TCP Data received {"connection_id":89548,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:49:28] local.INFO: Processing buffer {"connection_id":89548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:49:28] local.INFO: IMEI packet received {"connection_id":89548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:49:30] local.INFO: TCP Data received {"connection_id":89548,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d74e58012cb54740076e4940002d00042e..."} 
[2026-06-02 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d74e58012cb54740076e4940002d00042e..."} 
[2026-06-02 15:49:30] local.INFO: Processing buffer {"connection_id":89548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d74e58012cb54740076e4940002d00042e..."} 
[2026-06-02 15:49:30] local.INFO: Packet analysis {"connection_id":89548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:49:30] local.INFO: Extracted packet for processing {"connection_id":89548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750077760,"raw_latitude":124668224,"longitude_deg":75.007776,"latitude_deg":12.4668224,"altitude":45,"angle":4,"satellites":46,"speed":36,"hex_longitude":"2cb54740","hex_latitude":"076e4940","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781245696001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305915423684034560,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5384264428839780352,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780395495000,"timestamp_ms":1780395495000,"timestamp_seconds":1780395495,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d74e58"} 
[2026-06-02 15:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:49: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-06-02 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 15:49: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-06-02 15: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-06-02 15:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:49: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-06-02 15:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781245696001,"66":27843,"100":206,"85":37888,"24":36,"16":305915423684034560,"44":-5384264428839780352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,44]} 
[2026-06-02 15:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781245696001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:49:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-02 15:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305915423684034560,"km_value":305915423684034.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5384264428839780352,"description":"Unknown IO ID 44"} 
[2026-06-02 15:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781245696001,"power":27843,"unknown_100":206,"unknown_85":37888,"ignition":36,"odometer":null,"unknown_44":-5384264428839780352}} 
[2026-06-02 15:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":89548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:49:30] local.INFO: GPS data processed {"connection_id":89548,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:49:30] local.INFO: Acknowledgment sent {"connection_id":89548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:49:31] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:49:31] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:49:31] local.INFO: IMEI packet received {"connection_id":89547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":89547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:49:32] local.INFO: TCP Data received {"connection_id":89547,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d6c1b8012d1b9bc0071e78c8004e00bb21..."} 
[2026-06-02 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d6c1b8012d1b9bc0071e78c8004e00bb21..."} 
[2026-06-02 15:49:32] local.INFO: Processing buffer {"connection_id":89547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d6c1b8012d1b9bc0071e78c8004e00bb21..."} 
[2026-06-02 15:49:32] local.INFO: Packet analysis {"connection_id":89547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d6"} 
[2026-06-02 15:49:32] local.INFO: Extracted packet for processing {"connection_id":89547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d6"} 
[2026-06-02 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756784064,"raw_latitude":119437512,"longitude_deg":75.6784064,"latitude_deg":11.9437512,"altitude":78,"angle":187,"satellites":33,"speed":6,"hex_longitude":"2d1b9bc0","hex_latitude":"071e78c8","is_valid_coordinates":true} 
[2026-06-02 15:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781236992001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125319887202549760,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989324428478685184,"note":"Value kept but may cause issues"} 
[2026-06-02 15:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780395459000,"timestamp_ms":1780395459000,"timestamp_seconds":1780395459,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d6c1b8"} 
[2026-06-02 15:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 15:49:32] 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-06-02 15:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781236992001,"66":14428,"109":206,"83":41984,"24":6,"16":125319887202549760,"45":1989324428478685184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-06-02 15:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781236992001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:49:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 15:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125319887202549760,"km_value":125319887202549.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989324428478685184,"description":"Unknown IO ID 45"} 
[2026-06-02 15:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781236992001,"power":14428,"unknown_109":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1989324428478685184}} 
[2026-06-02 15:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":89547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:49:32] local.INFO: GPS data processed {"connection_id":89547,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:49:32] local.INFO: Acknowledgment sent {"connection_id":89547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:50:00] local.INFO: TCP Data received {"connection_id":89548,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d75df8012cb54a40076e57f0002d00102e..."} 
[2026-06-02 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d75df8012cb54a40076e57f0002d00102e..."} 
[2026-06-02 15:50:00] local.INFO: Processing buffer {"connection_id":89548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d75df8012cb54a40076e57f0002d00102e..."} 
[2026-06-02 15:50:00] local.INFO: Packet analysis {"connection_id":89548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:50:00] local.INFO: Extracted packet for processing {"connection_id":89548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":750078528,"raw_latitude":124671984,"longitude_deg":75.0078528,"latitude_deg":12.4671984,"altitude":45,"angle":16,"satellites":46,"speed":39,"hex_longitude":"2cb54a40","hex_latitude":"076e57f0","is_valid_coordinates":true} 
[2026-06-02 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781246720001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305915608367628288,"note":"Value kept but may cause issues"} 
[2026-06-02 15:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5384264428838895616,"note":"Value kept but may cause issues"} 
[2026-06-02 15:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780395499000,"timestamp_ms":1780395499000,"timestamp_seconds":1780395499,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d75df8"} 
[2026-06-02 15:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:50: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-06-02 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:50: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-06-02 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781246720001,"66":27843,"100":206,"85":37888,"24":39,"16":305915608367628288,"44":-5384264428838895616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,44]} 
[2026-06-02 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781246720001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:50:00] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-02 15:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305915608367628288,"km_value":305915608367628.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5384264428838895616,"description":"Unknown IO ID 44"} 
[2026-06-02 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781246720001,"power":27843,"unknown_100":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-5384264428838895616}} 
[2026-06-02 15:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":89548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:50:00] local.INFO: GPS data processed {"connection_id":89548,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:50:00] local.INFO: Acknowledgment sent {"connection_id":89548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:50:05] local.INFO: TCP Data received {"connection_id":90999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:05] local.INFO: Processing buffer {"connection_id":90999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:05] local.INFO: IMEI packet received {"connection_id":90999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":90999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:50:06] local.INFO: TCP Data received {"connection_id":90999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:06] local.INFO: Processing buffer {"connection_id":90999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:06] local.INFO: IMEI packet received {"connection_id":90999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":90999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:50:06] local.INFO: TCP Data received {"connection_id":90999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:06] local.INFO: Processing buffer {"connection_id":90999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:06] local.INFO: IMEI packet received {"connection_id":90999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":90999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:50:07] local.INFO: TCP Data received {"connection_id":90999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:07] local.INFO: Processing buffer {"connection_id":90999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:50:07] local.INFO: IMEI packet received {"connection_id":90999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":90999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:50:23] local.INFO: TCP Data received {"connection_id":91000,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:23] local.INFO: Processing buffer {"connection_id":91000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:23] local.INFO: IMEI packet received {"connection_id":91000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":91000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:50:27] local.INFO: TCP Data received {"connection_id":91000,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:27] local.INFO: Processing buffer {"connection_id":91000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:27] local.INFO: IMEI packet received {"connection_id":91000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":91000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:50:28] local.INFO: TCP Data received {"connection_id":91000,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:28] local.INFO: Processing buffer {"connection_id":91000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:50:28] local.INFO: IMEI packet received {"connection_id":91000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":91000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:50:29] local.INFO: TCP Data received {"connection_id":91000,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d78508012cb55580076e7a50002f00132d..."} 
[2026-06-02 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d78508012cb55580076e7a50002f00132d..."} 
[2026-06-02 15:50:29] local.INFO: Processing buffer {"connection_id":91000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d78508012cb55580076e7a50002f00132d..."} 
[2026-06-02 15:50:29] local.INFO: Packet analysis {"connection_id":91000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:50:29] local.INFO: Extracted packet for processing {"connection_id":91000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d7"} 
[2026-06-02 15:50:29] local.INFO: GPS Element Parsed {"raw_longitude":750081408,"raw_latitude":124680784,"longitude_deg":75.0081408,"latitude_deg":12.4680784,"altitude":47,"angle":19,"satellites":45,"speed":31,"hex_longitude":"2cb55580","hex_latitude":"076e7a50","is_valid_coordinates":true} 
[2026-06-02 15:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781247744001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305916059339194368,"note":"Value kept but may cause issues"} 
[2026-06-02 15:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5383420003907801088,"note":"Value kept but may cause issues"} 
[2026-06-02 15:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395509000,"timestamp_ms":1780395509000,"timestamp_seconds":1780395509,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d78508"} 
[2026-06-02 15:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:50: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-06-02 15:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:50: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-06-02 15:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:50: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-06-02 15:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781247744001,"66":27908,"100":206,"85":37888,"24":31,"16":305916059339194368,"44":-5383420003907801088},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,44]} 
[2026-06-02 15:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781247744001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:50:29] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-02 15:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305916059339194368,"km_value":305916059339194.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5383420003907801088,"description":"Unknown IO ID 44"} 
[2026-06-02 15:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781247744001,"power":27908,"unknown_100":206,"unknown_85":37888,"ignition":31,"odometer":null,"unknown_44":-5383420003907801088}} 
[2026-06-02 15:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":91000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:50:29] local.INFO: GPS data processed {"connection_id":91000,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:50:29] local.INFO: Acknowledgment sent {"connection_id":91000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:51:09] local.INFO: TCP Data received {"connection_id":91000,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d8e0b0012cb56e00077009e8001401672c..."} 
[2026-06-02 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d8e0b0012cb56e00077009e8001401672c..."} 
[2026-06-02 15:51:09] local.INFO: Processing buffer {"connection_id":91000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d8e0b0012cb56e00077009e8001401672c..."} 
[2026-06-02 15:51:09] local.INFO: Packet analysis {"connection_id":91000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d8"} 
[2026-06-02 15:51:09] local.INFO: Extracted packet for processing {"connection_id":91000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d8"} 
[2026-06-02 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":750087680,"raw_latitude":124783080,"longitude_deg":75.008768,"latitude_deg":12.478308,"altitude":20,"angle":359,"satellites":44,"speed":29,"hex_longitude":"2cb56e00","hex_latitude":"077009e8","is_valid_coordinates":true} 
[2026-06-02 15:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781270528001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305921071566028800,"note":"Value kept but may cause issues"} 
[2026-06-02 15:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373146167231868928,"note":"Value kept but may cause issues"} 
[2026-06-02 15:51:09] 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-06-02 15:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780395598000,"timestamp_ms":1780395598000,"timestamp_seconds":1780395598,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d8e0b0"} 
[2026-06-02 15:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:51: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-06-02 15:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:51: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-06-02 15:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":91000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":91000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":91000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781270528001,"66":27843,"101":206,"85":37888,"24":29,"16":305921071566028800,"44":-5373146167231868928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-06-02 15:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781270528001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:51:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 15:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305921071566028800,"km_value":305921071566028.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373146167231868928,"description":"Unknown IO ID 44"} 
[2026-06-02 15:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781270528001,"power":27843,"unknown_101":206,"unknown_85":37888,"ignition":29,"odometer":null,"unknown_44":-5373146167231868928}} 
[2026-06-02 15:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":91000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:51:09] local.INFO: GPS data processed {"connection_id":91000,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:51:09] local.INFO: Acknowledgment sent {"connection_id":91000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:52:13] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:52:13] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:52:13] local.INFO: IMEI packet received {"connection_id":89920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":89920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:52:18] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:52:18] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:52:18] local.INFO: IMEI packet received {"connection_id":89920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":89920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:52:31] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87d90f90012cb56c4007703018001501612e..."} 
[2026-06-02 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87d90f90012cb56c4007703018001501612e..."} 
[2026-06-02 15:52:31] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87d90f90012cb56c4007703018001501612e..."} 
[2026-06-02 15:52:31] local.INFO: Packet analysis {"connection_id":89920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87d9"} 
[2026-06-02 15:52:31] local.INFO: Extracted packet for processing {"connection_id":89920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87d9"} 
[2026-06-02 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":750087232,"raw_latitude":124792856,"longitude_deg":75.0087232,"latitude_deg":12.4792856,"altitude":21,"angle":353,"satellites":46,"speed":38,"hex_longitude":"2cb56c40","hex_latitude":"07703018","is_valid_coordinates":true} 
[2026-06-02 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781273088001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305921544012431360,"note":"Value kept but may cause issues"} 
[2026-06-02 15:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373357273461954560,"note":"Value kept but may cause issues"} 
[2026-06-02 15:52:31] 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-06-02 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780395610000,"timestamp_ms":1780395610000,"timestamp_seconds":1780395610,"priority":1,"record_length":96,"hex_timestamp":"0000019e87d90f90"} 
[2026-06-02 15:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:52: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-06-02 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:52:31] 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-06-02 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781273088001,"66":27789,"101":206,"85":37888,"24":38,"16":305921544012431360,"44":-5373357273461954560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-06-02 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781273088001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:52:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 15:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305921544012431360,"km_value":305921544012431.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373357273461954560,"description":"Unknown IO ID 44"} 
[2026-06-02 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781273088001,"power":27789,"unknown_101":206,"unknown_85":37888,"ignition":38,"odometer":null,"unknown_44":-5373357273461954560}} 
[2026-06-02 15:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":89920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:52:31] local.INFO: GPS data processed {"connection_id":89920,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:52:31] local.INFO: Acknowledgment sent {"connection_id":89920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:53:03] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:53:03] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:53:03] local.INFO: IMEI packet received {"connection_id":89823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":89823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:53:05] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87dae068012cb47f4007721b38000801562e..."} 
[2026-06-02 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87dae068012cb47f4007721b38000801562e..."} 
[2026-06-02 15:53:05] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87dae068012cb47f4007721b38000801562e..."} 
[2026-06-02 15:53:05] local.INFO: Packet analysis {"connection_id":89920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87da"} 
[2026-06-02 15:53:05] local.INFO: Extracted packet for processing {"connection_id":89920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87da"} 
[2026-06-02 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":750026560,"raw_latitude":124918584,"longitude_deg":75.002656,"latitude_deg":12.4918584,"altitude":8,"angle":342,"satellites":46,"speed":50,"hex_longitude":"2cb47f40","hex_latitude":"07721b38","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781304576001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305928420255072256,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5436548405701212160,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:05] 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-06-02 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780395729000,"timestamp_ms":1780395729000,"timestamp_seconds":1780395729,"priority":1,"record_length":96,"hex_timestamp":"0000019e87dae068"} 
[2026-06-02 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-02 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:53: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-06-02 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781304576001,"66":27604,"107":206,"85":37888,"24":50,"16":305928420255072256,"44":-5436548405701212160},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-06-02 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781304576001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:53:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 15:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305928420255072256,"km_value":305928420255072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5436548405701212160,"description":"Unknown IO ID 44"} 
[2026-06-02 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781304576001,"power":27604,"unknown_107":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-5436548405701212160}} 
[2026-06-02 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":89920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:53:05] local.INFO: GPS data processed {"connection_id":89920,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:53:05] local.INFO: Acknowledgment sent {"connection_id":89920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:53:23] local.INFO: TCP Data received {"connection_id":89551,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:23] local.INFO: Processing buffer {"connection_id":89551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:23] local.INFO: IMEI packet received {"connection_id":89551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":89551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:53:28] local.INFO: TCP Data received {"connection_id":89551,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:28] local.INFO: Processing buffer {"connection_id":89551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:28] local.INFO: IMEI packet received {"connection_id":89551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":89551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:53:28] local.INFO: TCP Data received {"connection_id":89551,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:28] local.INFO: Processing buffer {"connection_id":89551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:53:28] local.INFO: IMEI packet received {"connection_id":89551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":89551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:53:29] local.INFO: TCP Data received {"connection_id":89551,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87dafbc0012cb475c007723e280007015b2e..."} 
[2026-06-02 15:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87dafbc0012cb475c007723e280007015b2e..."} 
[2026-06-02 15:53:29] local.INFO: Processing buffer {"connection_id":89551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87dafbc0012cb475c007723e280007015b2e..."} 
[2026-06-02 15:53:29] local.INFO: Packet analysis {"connection_id":89551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87da"} 
[2026-06-02 15:53:29] local.INFO: Extracted packet for processing {"connection_id":89551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87da"} 
[2026-06-02 15:53:29] local.INFO: GPS Element Parsed {"raw_longitude":750024128,"raw_latitude":124927528,"longitude_deg":75.0024128,"latitude_deg":12.4927528,"altitude":7,"angle":347,"satellites":46,"speed":55,"hex_longitude":"2cb475c0","hex_latitude":"07723e28","is_valid_coordinates":true} 
[2026-06-02 15:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781306624001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305928871226638336,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440559424116934656,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:29] 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-06-02 15:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395736000,"timestamp_ms":1780395736000,"timestamp_seconds":1780395736,"priority":1,"record_length":96,"hex_timestamp":"0000019e87dafbc0"} 
[2026-06-02 15:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:53: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-06-02 15:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-02 15:53:29] 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-06-02 15:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:53: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-06-02 15:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781306624001,"66":27908,"107":206,"85":37888,"24":55,"16":305928871226638336,"44":-5440559424116934656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-06-02 15:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781306624001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:53:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 15:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-06-02 15:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305928871226638336,"km_value":305928871226638.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5440559424116934656,"description":"Unknown IO ID 44"} 
[2026-06-02 15:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781306624001,"power":27908,"unknown_107":206,"unknown_85":37888,"ignition":55,"odometer":null,"unknown_44":-5440559424116934656}} 
[2026-06-02 15:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":89551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:53:29] local.INFO: GPS data processed {"connection_id":89551,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:53:29] local.INFO: Acknowledgment sent {"connection_id":89551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:53:33] local.INFO: TCP Data received {"connection_id":89551,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87db1718012cb46e80077264600006015f2d..."} 
[2026-06-02 15:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87db1718012cb46e80077264600006015f2d..."} 
[2026-06-02 15:53:33] local.INFO: Processing buffer {"connection_id":89551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87db1718012cb46e80077264600006015f2d..."} 
[2026-06-02 15:53:33] local.INFO: Packet analysis {"connection_id":89551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:53:33] local.INFO: Extracted packet for processing {"connection_id":89551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:53:33] local.INFO: GPS Element Parsed {"raw_longitude":750022272,"raw_latitude":124937312,"longitude_deg":75.0022272,"latitude_deg":12.4937312,"altitude":6,"angle":351,"satellites":45,"speed":55,"hex_longitude":"2cb46e80","hex_latitude":"07726460","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781308416001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305929352262975488,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5443233436393396224,"note":"Value kept but may cause issues"} 
[2026-06-02 15:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780395743000,"timestamp_ms":1780395743000,"timestamp_seconds":1780395743,"priority":1,"record_length":96,"hex_timestamp":"0000019e87db1718"} 
[2026-06-02 15:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:53: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-06-02 15:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 15:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:53:33] 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-06-02 15:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781308416001,"66":27865,"174":206,"85":36608,"24":55,"16":305929352262975488,"44":-5443233436393396224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-06-02 15:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781308416001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:53:33] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 15:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305929352262975488,"km_value":305929352262975.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:53:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5443233436393396224,"description":"Unknown IO ID 44"} 
[2026-06-02 15:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781308416001,"power":27865,"unknown_174":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-5443233436393396224}} 
[2026-06-02 15:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":89551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:53:33] local.INFO: GPS data processed {"connection_id":89551,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:53:33] local.INFO: Acknowledgment sent {"connection_id":89551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:53:58] local.INFO: TCP Data received {"connection_id":89552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:53:58] local.INFO: Processing buffer {"connection_id":89552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:53:58] local.INFO: IMEI packet received {"connection_id":89552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":89552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:54:05] local.INFO: TCP Data received {"connection_id":89551,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87db3270012cb46ac0077286e0000501622e..."} 
[2026-06-02 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87db3270012cb46ac0077286e0000501622e..."} 
[2026-06-02 15:54:05] local.INFO: Processing buffer {"connection_id":89551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87db3270012cb46ac0077286e0000501622e..."} 
[2026-06-02 15:54:05] local.INFO: Packet analysis {"connection_id":89551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:54:05] local.INFO: Extracted packet for processing {"connection_id":89551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":750021312,"raw_latitude":124946144,"longitude_deg":75.0021312,"latitude_deg":12.4946144,"altitude":5,"angle":354,"satellites":46,"speed":42,"hex_longitude":"2cb46ac0","hex_latitude":"077286e0","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781310208001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305929781759705088,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5445274129972043776,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780395750000,"timestamp_ms":1780395750000,"timestamp_seconds":1780395750,"priority":1,"record_length":96,"hex_timestamp":"0000019e87db3270"} 
[2026-06-02 15:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 15:54: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-06-02 15: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-06-02 15:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:54: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-06-02 15:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781310208001,"66":27832,"174":206,"85":36608,"24":42,"16":305929781759705088,"44":-5445274129972043776},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-06-02 15:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781310208001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:54:05] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 15:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305929781759705088,"km_value":305929781759705.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5445274129972043776,"description":"Unknown IO ID 44"} 
[2026-06-02 15:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781310208001,"power":27832,"unknown_174":206,"unknown_85":36608,"ignition":42,"odometer":null,"unknown_44":-5445274129972043776}} 
[2026-06-02 15:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":89551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:54:05] local.INFO: GPS data processed {"connection_id":89551,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:54:05] local.INFO: Acknowledgment sent {"connection_id":89551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:54:15] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:54:15] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:54:15] local.INFO: IMEI packet received {"connection_id":91002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":91002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:54:20] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:54:20] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 15:54:20] local.INFO: IMEI packet received {"connection_id":91002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":91002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:54:21] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-06-02 15:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-06-02 15:54:21] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-06-02 15:54:21] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 15:54:21] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 15:54: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-06-02 15:54:21] 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-06-02 15:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:21] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-06-02 15:54:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:54:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 15:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 15:54:21] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 15:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 15:54:21] local.ERROR: GPS data processing failed {"connection_id":91002,"error":"No valid data to process"} 
[2026-06-02 15:54:21] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 15:54:28] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:54:28] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:54:28] local.INFO: IMEI packet received {"connection_id":89553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":89553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:54:33] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:54:33] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:54:33] local.INFO: IMEI packet received {"connection_id":89553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":89553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:54:34] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87db51b0012cb467400772ab78000701662d..."} 
[2026-06-02 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87db51b0012cb467400772ab78000701662d..."} 
[2026-06-02 15:54:34] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87db51b0012cb467400772ab78000701662d..."} 
[2026-06-02 15:54:34] local.INFO: Packet analysis {"connection_id":89553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:54:34] local.INFO: Extracted packet for processing {"connection_id":89553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:54:34] local.INFO: GPS Element Parsed {"raw_longitude":750020416,"raw_latitude":124955512,"longitude_deg":75.0020416,"latitude_deg":12.4955512,"altitude":7,"angle":358,"satellites":45,"speed":47,"hex_longitude":"2cb46740","hex_latitude":"0772ab78","is_valid_coordinates":true} 
[2026-06-02 15:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781312000001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305930241321205760,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5446329661132447744,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780395758000,"timestamp_ms":1780395758000,"timestamp_seconds":1780395758,"priority":1,"record_length":96,"hex_timestamp":"0000019e87db51b0"} 
[2026-06-02 15:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:54: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-06-02 15:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 15:54:34] 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-06-02 15:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781312000001,"66":27865,"174":206,"85":36608,"24":47,"16":305930241321205760,"44":-5446329661132447744},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-06-02 15:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781312000001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:54:34] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 15:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305930241321205760,"km_value":305930241321205.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5446329661132447744,"description":"Unknown IO ID 44"} 
[2026-06-02 15:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781312000001,"power":27865,"unknown_174":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-5446329661132447744}} 
[2026-06-02 15:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":89553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:54:34] local.INFO: GPS data processed {"connection_id":89553,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:54:34] local.INFO: Acknowledgment sent {"connection_id":89553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:54:38] local.INFO: TCP Data received {"connection_id":89553,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87db6920012cb463400772c7980007015a2d..."} 
[2026-06-02 15:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87db6920012cb463400772c7980007015a2d..."} 
[2026-06-02 15:54:38] local.INFO: Processing buffer {"connection_id":89553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87db6920012cb463400772c7980007015a2d..."} 
[2026-06-02 15:54:38] local.INFO: Packet analysis {"connection_id":89553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:54:38] local.INFO: Extracted packet for processing {"connection_id":89553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:54:38] local.INFO: GPS Element Parsed {"raw_longitude":750019392,"raw_latitude":124962712,"longitude_deg":75.0019392,"latitude_deg":12.4962712,"altitude":7,"angle":346,"satellites":45,"speed":49,"hex_longitude":"2cb46340","hex_latitude":"0772c798","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781314048001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305930593508524032,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447314823548536832,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780395764000,"timestamp_ms":1780395764000,"timestamp_seconds":1780395764,"priority":1,"record_length":96,"hex_timestamp":"0000019e87db6920"} 
[2026-06-02 15:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 15:54: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-06-02 15: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-06-02 15:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781314048001,"66":27843,"174":206,"85":36608,"24":49,"16":305930593508524032,"44":-5447314823548536832},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-06-02 15:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781314048001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:54:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 15:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305930593508524032,"km_value":305930593508524.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447314823548536832,"description":"Unknown IO ID 44"} 
[2026-06-02 15:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781314048001,"power":27843,"unknown_174":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5447314823548536832}} 
[2026-06-02 15:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":89553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:54:38] local.INFO: GPS data processed {"connection_id":89553,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:54:38] local.INFO: Acknowledgment sent {"connection_id":89553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:54:52] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-06-02 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-06-02 15:54:52] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-06-02 15:54:52] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 15:54:52] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-02 15:54:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 15:54: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-06-02 15:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:54:52] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-06-02 15:54:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:54:52] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 15:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 15:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 15:54:52] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 15:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 15:54:52] local.ERROR: GPS data processing failed {"connection_id":91002,"error":"No valid data to process"} 
[2026-06-02 15:54:52] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 15:55:10] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:55:10] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:55:10] local.INFO: IMEI packet received {"connection_id":89824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":89824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:55:11] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87dcd080012d1a6d000720d200004400a225..."} 
[2026-06-02 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87dcd080012d1a6d000720d200004400a225..."} 
[2026-06-02 15:55:11] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87dcd080012d1a6d000720d200004400a225..."} 
[2026-06-02 15:55:11] local.INFO: Packet analysis {"connection_id":89824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dc"} 
[2026-06-02 15:55:11] local.INFO: Extracted packet for processing {"connection_id":89824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dc"} 
[2026-06-02 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756706560,"raw_latitude":119591424,"longitude_deg":75.670656,"latitude_deg":11.9591424,"altitude":68,"angle":162,"satellites":37,"speed":11,"hex_longitude":"2d1a6d00","hex_latitude":"0720d200","is_valid_coordinates":true} 
[2026-06-02 15:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781338368001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125333841551294464,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903404191877261312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780395856000,"timestamp_ms":1780395856000,"timestamp_seconds":1780395856,"priority":1,"record_length":96,"hex_timestamp":"0000019e87dcd080"} 
[2026-06-02 15:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:55: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-06-02 15:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 15:55:11] 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-06-02 15:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:55:11] 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-06-02 15:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781338368001,"66":13852,"103":206,"83":41984,"24":11,"16":125333841551294464,"45":1903404191877261312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781338368001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:55:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125333841551294464,"km_value":125333841551294.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903404191877261312,"description":"Unknown IO ID 45"} 
[2026-06-02 15:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781338368001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1903404191877261312}} 
[2026-06-02 15:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":89824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:55:11] local.INFO: GPS data processed {"connection_id":89824,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:55:11] local.INFO: Acknowledgment sent {"connection_id":89824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:55:23] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:55:23] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:55:23] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:55:23] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:55:23] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99384968,"longitude_deg":76.297536,"latitude_deg":9.9384968,"altitude":38,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec7e88","is_valid_coordinates":true} 
[2026-06-02 15:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780395912000,"timestamp_ms":1780395912000,"timestamp_seconds":1780395912,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddab40"} 
[2026-06-02 15:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055301,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":624875329799651534,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8661668448563267057,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":426857008340926719,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":12,"raw_value":71810203921695232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:23] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3553611777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:24] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2150629388,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:55:24] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:24] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221613696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439381821,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967823872,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:24] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,13,31,10,66,158,186,45,192,128,12,37,157,87,240,42,227,135,236,4,113,205,124,15,48,32,239,1,2,56,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:55:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":66,"timestamp_seconds":0.066,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12211,"157":206,"87":13824,"24":0,"16":87834662478544896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16]} 
[2026-06-02 15:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 15:55:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:55:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:55:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12211,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 15:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:55:24] local.INFO: GPS data processed {"connection_id":91002,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:55:24] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:55:28] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:55:28] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:55:28] local.INFO: IMEI packet received {"connection_id":89825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":89825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:55:35] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:55:35] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:55:35] local.INFO: IMEI packet received {"connection_id":89825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":89825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:55:36] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87db7ca8012cb45a400772df580006014e2b..."} 
[2026-06-02 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87db7ca8012cb45a400772df580006014e2b..."} 
[2026-06-02 15:55:36] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87db7ca8012cb45a400772df580006014e2b..."} 
[2026-06-02 15:55:36] local.INFO: Packet analysis {"connection_id":89825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:55:36] local.INFO: Extracted packet for processing {"connection_id":89825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":750017088,"raw_latitude":124968792,"longitude_deg":75.0017088,"latitude_deg":12.4968792,"altitude":6,"angle":334,"satellites":43,"speed":53,"hex_longitude":"2cb45a40","hex_latitude":"0772df58","is_valid_coordinates":true} 
[2026-06-02 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781315584001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305930907041136640,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448440723453536256,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780395769000,"timestamp_ms":1780395769000,"timestamp_seconds":1780395769,"priority":1,"record_length":96,"hex_timestamp":"0000019e87db7ca8"} 
[2026-06-02 15:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 15:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:55:36] 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-06-02 15:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781315584001,"66":27800,"174":206,"85":36608,"24":53,"16":305930907041136640,"44":-5448440723453536256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-06-02 15:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781315584001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:55:36] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 15:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305930907041136640,"km_value":305930907041136.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448440723453536256,"description":"Unknown IO ID 44"} 
[2026-06-02 15:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781315584001,"power":27800,"unknown_174":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-5448440723453536256}} 
[2026-06-02 15:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":89825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:55:36] local.INFO: GPS data processed {"connection_id":89825,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:55:36] local.INFO: Acknowledgment sent {"connection_id":89825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:55:38] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87db9030012cb44c400772f5280005013e2a..."} 
[2026-06-02 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87db9030012cb44c400772f5280005013e2a..."} 
[2026-06-02 15:55:38] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87db9030012cb44c400772f5280005013e2a..."} 
[2026-06-02 15:55:38] local.INFO: Packet analysis {"connection_id":89825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:55:38] local.INFO: Extracted packet for processing {"connection_id":89825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87db"} 
[2026-06-02 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":750013504,"raw_latitude":124974376,"longitude_deg":75.0013504,"latitude_deg":12.4974376,"altitude":5,"angle":318,"satellites":42,"speed":51,"hex_longitude":"2cb44c40","hex_latitude":"0772f528","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781316864001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305931229163683840,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5450973998242375680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780395774000,"timestamp_ms":1780395774000,"timestamp_seconds":1780395774,"priority":1,"record_length":96,"hex_timestamp":"0000019e87db9030"} 
[2026-06-02 15:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:55: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-06-02 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 15:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15: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-06-02 15:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781316864001,"66":27865,"174":206,"85":36608,"24":51,"16":305931229163683840,"44":-5450973998242375680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-06-02 15:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781316864001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:55:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-02 15:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305931229163683840,"km_value":305931229163683.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:55:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5450973998242375680,"description":"Unknown IO ID 44"} 
[2026-06-02 15:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781316864001,"power":27865,"unknown_174":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5450973998242375680}} 
[2026-06-02 15:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":89825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:55:38] local.INFO: GPS data processed {"connection_id":89825,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:55:38] local.INFO: Acknowledgment sent {"connection_id":89825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:55:42] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87dcd468012d1a6d000720d0e8004400b827..."} 
[2026-06-02 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87dcd468012d1a6d000720d0e8004400b827..."} 
[2026-06-02 15:55:42] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87dcd468012d1a6d000720d0e8004400b827..."} 
[2026-06-02 15:55:42] local.INFO: Packet analysis {"connection_id":89824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dc"} 
[2026-06-02 15:55:42] local.INFO: Extracted packet for processing {"connection_id":89824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dc"} 
[2026-06-02 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756706560,"raw_latitude":119591144,"longitude_deg":75.670656,"latitude_deg":11.9591144,"altitude":68,"angle":184,"satellites":39,"speed":10,"hex_longitude":"2d1a6d00","hex_latitude":"0720d0e8","is_valid_coordinates":true} 
[2026-06-02 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781339136001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125333854436196352,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904178248062992384,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55: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-06-02 15:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780395857000,"timestamp_ms":1780395857000,"timestamp_seconds":1780395857,"priority":1,"record_length":96,"hex_timestamp":"0000019e87dcd468"} 
[2026-06-02 15:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 15:55:42] 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-06-02 15:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:55:42] 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-06-02 15:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781339136001,"66":13852,"103":206,"83":41984,"24":10,"16":125333854436196352,"45":1904178248062992384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781339136001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:55:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125333854436196352,"km_value":125333854436196.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904178248062992384,"description":"Unknown IO ID 45"} 
[2026-06-02 15:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781339136001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1904178248062992384}} 
[2026-06-02 15:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":89824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:55:42] local.INFO: GPS data processed {"connection_id":89824,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:55:42] local.INFO: Acknowledgment sent {"connection_id":89824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:55:55] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:55:55] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:55:55] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:55:55] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99384968,"longitude_deg":76.297536,"latitude_deg":9.9384968,"altitude":38,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec7e88","is_valid_coordinates":true} 
[2026-06-02 15:55:55] 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-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1780395912000,"timestamp_ms":1780395912000,"timestamp_seconds":1780395912,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddab40"} 
[2026-06-02 15:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055301,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":624875329799651534,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8661668448563267057,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":192,"raw_value":426857008340926719,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":12,"raw_value":71810203921695232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3553611777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2150629388,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221613696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439381821,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967823872,"note":"Value kept but may cause issues"} 
[2026-06-02 15:55:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,13,31,10,66,158,186,45,192,128,12,37,157,87,240,42,227,135,236,4,113,205,124,15,48,32,239,1,2,56,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:55:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":66,"timestamp_seconds":0.066,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12211,"157":206,"87":13824,"24":0,"16":87834662478544896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16]} 
[2026-06-02 15:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 15:55:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:55:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:55:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12211,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 15:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:55:55] local.INFO: GPS data processed {"connection_id":91002,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:55:55] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:56:03] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:03] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:03] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:56:05] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:05] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:05] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:56:10] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:10] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:56:10] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:56:11] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddd250012d1a69c00720b7c80048009428..."} 
[2026-06-02 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddd250012d1a69c00720b7c80048009428..."} 
[2026-06-02 15:56:11] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddd250012d1a69c00720b7c80048009428..."} 
[2026-06-02 15:56:11] local.INFO: Packet analysis {"connection_id":89922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:11] local.INFO: Extracted packet for processing {"connection_id":89922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119584712,"longitude_deg":75.6705728,"latitude_deg":11.9584712,"altitude":72,"angle":148,"satellites":40,"speed":2,"hex_longitude":"2d1a69c0","hex_latitude":"0720b7c8","is_valid_coordinates":true} 
[2026-06-02 15:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781355520001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334202328547328,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716898654208,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780395922000,"timestamp_ms":1780395922000,"timestamp_seconds":1780395922,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddd250"} 
[2026-06-02 15:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:56: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-06-02 15:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-02 15:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:56:11] 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-06-02 15:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781355520001,"66":13906,"103":206,"83":41984,"24":2,"16":125334202328547328,"45":1903122716898654208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781355520001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:56:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334202328547328,"km_value":125334202328547.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716898654208,"description":"Unknown IO ID 45"} 
[2026-06-02 15:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781355520001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1903122716898654208}} 
[2026-06-02 15:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":89922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:56:11] local.INFO: GPS data processed {"connection_id":89922,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:56:11] local.INFO: Acknowledgment sent {"connection_id":89922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:56:26] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:56:26] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:56:26] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:26] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99384968,"longitude_deg":76.297536,"latitude_deg":9.9384968,"altitude":38,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec7e88","is_valid_coordinates":true} 
[2026-06-02 15:56:26] 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-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780395912000,"timestamp_ms":1780395912000,"timestamp_seconds":1780395912,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddab40"} 
[2026-06-02 15:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055301,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":624875329799651534,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8661668448563267057,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":192,"raw_value":426857008340926719,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":12,"raw_value":71810203921695232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3553611777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2150629388,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221613696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439381821,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967823872,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:26] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,13,31,10,66,158,186,45,192,128,12,37,157,87,240,42,227,135,236,4,113,205,124,15,48,32,239,1,2,56,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:56:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":66,"timestamp_seconds":0.066,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12211,"157":206,"87":13824,"24":0,"16":87834662478544896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16]} 
[2026-06-02 15:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 15:56:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:56:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:56:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12211,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 15:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:56:26] local.INFO: GPS data processed {"connection_id":91002,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:56:26] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:56:29] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:56:29] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:56:29] local.INFO: IMEI packet received {"connection_id":89923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":89923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:56:34] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:56:34] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:56:34] local.INFO: IMEI packet received {"connection_id":89923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":89923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:56:35] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddbec8012cb339000773c1380022013b27..."} 
[2026-06-02 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddbec8012cb339000773c1380022013b27..."} 
[2026-06-02 15:56:35] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddbec8012cb339000773c1380022013b27..."} 
[2026-06-02 15:56:35] local.INFO: Packet analysis {"connection_id":89923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:35] local.INFO: Extracted packet for processing {"connection_id":89923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":749943040,"raw_latitude":125026616,"longitude_deg":74.994304,"latitude_deg":12.5026616,"altitude":34,"angle":315,"satellites":39,"speed":39,"hex_longitude":"2cb33900","hex_latitude":"0773c138","is_valid_coordinates":true} 
[2026-06-02 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781353216001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305935485476274176,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5528238879335960576,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780395917000,"timestamp_ms":1780395917000,"timestamp_seconds":1780395917,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddbec8"} 
[2026-06-02 15:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 15:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781353216001,"66":27995,"184":206,"85":36608,"24":39,"16":305935485476274176,"44":-5528238879335960576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 15:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781353216001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305935485476274176,"km_value":305935485476274.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5528238879335960576,"description":"Unknown IO ID 44"} 
[2026-06-02 15:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781353216001,"power":27995,"unknown_184":206,"unknown_85":36608,"ignition":39,"odometer":null,"unknown_44":-5528238879335960576}} 
[2026-06-02 15:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":89923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:56:35] local.INFO: GPS data processed {"connection_id":89923,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:56:35] local.INFO: Acknowledgment sent {"connection_id":89923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:56:42] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddd638012d1a69c00720b7880048009f28..."} 
[2026-06-02 15:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddd638012d1a69c00720b7880048009f28..."} 
[2026-06-02 15:56:42] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddd638012d1a69c00720b7880048009f28..."} 
[2026-06-02 15:56:42] local.INFO: Packet analysis {"connection_id":89922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:42] local.INFO: Extracted packet for processing {"connection_id":89922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119584648,"longitude_deg":75.6705728,"latitude_deg":11.9584648,"altitude":72,"angle":159,"satellites":40,"speed":2,"hex_longitude":"2d1a69c0","hex_latitude":"0720b788","is_valid_coordinates":true} 
[2026-06-02 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781356032001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334206623514624,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454386964480,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56: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-06-02 15:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780395923000,"timestamp_ms":1780395923000,"timestamp_seconds":1780395923,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddd638"} 
[2026-06-02 15:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 15:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:56:42] 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-06-02 15:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781356032001,"66":13906,"103":206,"83":41984,"24":2,"16":125334206623514624,"45":1903263454386964480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781356032001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:56:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334206623514624,"km_value":125334206623514.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454386964480,"description":"Unknown IO ID 45"} 
[2026-06-02 15:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781356032001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1903263454386964480}} 
[2026-06-02 15:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":89922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:56:42] local.INFO: GPS data processed {"connection_id":89922,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:56:42] local.INFO: Acknowledgment sent {"connection_id":89922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:56:57] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:56:57] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:56:57] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:57] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:56:57] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99384968,"longitude_deg":76.297536,"latitude_deg":9.9384968,"altitude":38,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec7e88","is_valid_coordinates":true} 
[2026-06-02 15:56:57] 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-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1780395912000,"timestamp_ms":1780395912000,"timestamp_seconds":1780395912,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddab40"} 
[2026-06-02 15:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055301,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":624875329799651534,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8661668448563267057,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":192,"raw_value":426857008340926719,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":12,"raw_value":71810203921695232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3553611777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2150629388,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221613696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439381821,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967823872,"note":"Value kept but may cause issues"} 
[2026-06-02 15:56:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,13,31,10,66,158,186,45,192,128,12,37,157,87,240,42,227,135,236,4,113,205,124,15,48,32,239,1,2,56,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:56:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":66,"timestamp_seconds":0.066,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12211,"157":206,"87":13824,"24":0,"16":87834662478544896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16]} 
[2026-06-02 15:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 15:56:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:56:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:56:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12211,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 15:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:56:57] local.INFO: GPS data processed {"connection_id":91002,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:56:57] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:57:05] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:57:05] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:57:05] local.INFO: IMEI packet received {"connection_id":89924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":89924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:57:06] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddd638012cb327800773cf90001f012e2c..."} 
[2026-06-02 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddd638012cb327800773cf90001f012e2c..."} 
[2026-06-02 15:57:06] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddd638012cb327800773cf90001f012e2c..."} 
[2026-06-02 15:57:06] local.INFO: Packet analysis {"connection_id":89923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:06] local.INFO: Extracted packet for processing {"connection_id":89923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":749938560,"raw_latitude":125030288,"longitude_deg":74.993856,"latitude_deg":12.5030288,"altitude":31,"angle":302,"satellites":44,"speed":30,"hex_longitude":"2cb32780","hex_latitude":"0773cf90","is_valid_coordinates":true} 
[2026-06-02 15:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781354752001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305935760354181120,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5532390635241129984,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780395923000,"timestamp_ms":1780395923000,"timestamp_seconds":1780395923,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddd638"} 
[2026-06-02 15:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 15:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781354752001,"66":27876,"184":206,"85":36608,"24":30,"16":305935760354181120,"44":-5532390635241129984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 15:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781354752001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:57:06] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 15:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305935760354181120,"km_value":305935760354181.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5532390635241129984,"description":"Unknown IO ID 44"} 
[2026-06-02 15:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781354752001,"power":27876,"unknown_184":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5532390635241129984}} 
[2026-06-02 15:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":89923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:57:06] local.INFO: GPS data processed {"connection_id":89923,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:57:06] local.INFO: Acknowledgment sent {"connection_id":89923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:57:10] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:57:10] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:57:10] local.INFO: IMEI packet received {"connection_id":89924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":89924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:57:11] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddda20012d1a69c00720b738004800ab28..."} 
[2026-06-02 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddda20012d1a69c00720b738004800ab28..."} 
[2026-06-02 15:57:11] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddda20012d1a69c00720b738004800ab28..."} 
[2026-06-02 15:57:11] local.INFO: Packet analysis {"connection_id":89924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:11] local.INFO: Extracted packet for processing {"connection_id":89924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119584568,"longitude_deg":75.6705728,"latitude_deg":11.9584568,"altitude":72,"angle":171,"satellites":40,"speed":2,"hex_longitude":"2d1a69c0","hex_latitude":"0720b738","is_valid_coordinates":true} 
[2026-06-02 15:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781356288001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334210918481920,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454386948096,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780395924000,"timestamp_ms":1780395924000,"timestamp_seconds":1780395924,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddda20"} 
[2026-06-02 15:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:57: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-06-02 15:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 15:57:11] 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-06-02 15:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:57:11] 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-06-02 15:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781356288001,"66":13015,"103":206,"83":41984,"24":2,"16":125334210918481920,"45":1903263454386948096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781356288001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334210918481920,"km_value":125334210918481.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454386948096,"description":"Unknown IO ID 45"} 
[2026-06-02 15:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781356288001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1903263454386948096}} 
[2026-06-02 15:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":89924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:57:11] local.INFO: GPS data processed {"connection_id":89924,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:57:11] local.INFO: Acknowledgment sent {"connection_id":89924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:57:22] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:22] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:22] local.INFO: IMEI packet received {"connection_id":89925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":89925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:57:23] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:23] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:23] local.INFO: IMEI packet received {"connection_id":89925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":89925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:57:28] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:57:28] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:57:28] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:28] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:28] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99384968,"longitude_deg":76.297536,"latitude_deg":9.9384968,"altitude":38,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec7e88","is_valid_coordinates":true} 
[2026-06-02 15:57:28] 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-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780395912000,"timestamp_ms":1780395912000,"timestamp_seconds":1780395912,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddab40"} 
[2026-06-02 15:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055301,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":624875329799651534,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8661668448563267057,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":192,"raw_value":426857008340926719,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":12,"raw_value":71810203921695232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3553611777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2150629388,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221613696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439381821,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967823872,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:28] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,13,31,10,66,158,186,45,192,128,12,37,157,87,240,42,227,135,236,4,113,205,124,15,48,32,239,1,2,56,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:57:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":66,"timestamp_seconds":0.066,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12211,"157":206,"87":13824,"24":0,"16":87834662478544896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16]} 
[2026-06-02 15:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 15:57:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:57:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:57:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12211,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 15:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:57:28] local.INFO: GPS data processed {"connection_id":91002,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:57:28] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:57:28] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:28] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:57:28] local.INFO: IMEI packet received {"connection_id":89925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:57:29] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87de2840012cb30c400773dfd8001e012822..."} 
[2026-06-02 15:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87de2840012cb30c400773dfd8001e012822..."} 
[2026-06-02 15:57:29] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87de2840012cb30c400773dfd8001e012822..."} 
[2026-06-02 15:57:29] local.INFO: Packet analysis {"connection_id":89925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:57:29] local.INFO: Extracted packet for processing {"connection_id":89925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:57:29] local.INFO: GPS Element Parsed {"raw_longitude":749931584,"raw_latitude":125034456,"longitude_deg":74.9931584,"latitude_deg":12.5034456,"altitude":30,"angle":296,"satellites":34,"speed":0,"hex_longitude":"2cb30c40","hex_latitude":"0773dfd8","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781356288001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305936151196205056,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5537316447332626432,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780395944000,"timestamp_ms":1780395944000,"timestamp_seconds":1780395944,"priority":1,"record_length":96,"hex_timestamp":"0000019e87de2840"} 
[2026-06-02 15:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 15:57: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-06-02 15: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-06-02 15:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:57: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-06-02 15:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781356288001,"66":27397,"184":206,"85":36608,"24":0,"16":305936151196205056,"44":-5537316447332626432},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 15:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781356288001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:57:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 15:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305936151196205056,"km_value":305936151196205.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5537316447332626432,"description":"Unknown IO ID 44"} 
[2026-06-02 15:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781356288001,"power":27397,"unknown_184":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5537316447332626432}} 
[2026-06-02 15:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":89925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:57:29] local.INFO: GPS data processed {"connection_id":89925,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:57:29] local.INFO: Acknowledgment sent {"connection_id":89925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:57:42] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddde08012d1a69400720b6f0004800b728..."} 
[2026-06-02 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddde08012d1a69400720b6f0004800b728..."} 
[2026-06-02 15:57:42] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddde08012d1a69400720b6f0004800b728..."} 
[2026-06-02 15:57:42] local.INFO: Packet analysis {"connection_id":89924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:42] local.INFO: Extracted packet for processing {"connection_id":89924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119584496,"longitude_deg":75.67056,"latitude_deg":11.9584496,"altitude":72,"angle":183,"satellites":40,"speed":2,"hex_longitude":"2d1a6940","hex_latitude":"0720b6f0","is_valid_coordinates":true} 
[2026-06-02 15:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781356544001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334215213449216,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454386927616,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57: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-06-02 15:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780395925000,"timestamp_ms":1780395925000,"timestamp_seconds":1780395925,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddde08"} 
[2026-06-02 15:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 15:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:57:42] 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-06-02 15:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781356544001,"66":13015,"103":206,"83":41984,"24":2,"16":125334215213449216,"45":1903263454386927616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781356544001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:57:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334215213449216,"km_value":125334215213449.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454386927616,"description":"Unknown IO ID 45"} 
[2026-06-02 15:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781356544001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1903263454386927616}} 
[2026-06-02 15:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":89924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:57:42] local.INFO: GPS data processed {"connection_id":89924,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:57:42] local.INFO: Acknowledgment sent {"connection_id":89924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:57:59] local.INFO: TCP Data received {"connection_id":91002,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:57:59] local.INFO: Processing buffer {"connection_id":91002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddab40012d7a148005ec7e880026000008..."} 
[2026-06-02 15:57:59] local.INFO: Packet analysis {"connection_id":91002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:59] local.INFO: Extracted packet for processing {"connection_id":91002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:57:59] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99384968,"longitude_deg":76.297536,"latitude_deg":9.9384968,"altitude":38,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec7e88","is_valid_coordinates":true} 
[2026-06-02 15:57:59] 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-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 15:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780395912000,"timestamp_ms":1780395912000,"timestamp_seconds":1780395912,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddab40"} 
[2026-06-02 15:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 15:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185912,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2954361355555045377,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055301,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":624875329799651534,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8661668448563267057,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":192,"raw_value":426857008340926719,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":12,"raw_value":71810203921695232,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3553611777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2150629388,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221613696,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3439381821,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967823872,"note":"Value kept but may cause issues"} 
[2026-06-02 15:57:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,13,31,10,66,158,186,45,192,128,12,37,157,87,240,42,227,135,236,4,113,205,124,15,48,32,239,1,2,56,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-02 15:57:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":66,"timestamp_seconds":0.066,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 15:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 15:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 15:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 15:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12211,"157":206,"87":13824,"24":0,"16":87834662478544896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16]} 
[2026-06-02 15:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 15:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 15:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-02 15:57:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 15:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 15:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:57:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12211,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-06-02 15:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":91002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:57:59] local.INFO: GPS data processed {"connection_id":91002,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:57:59] local.INFO: Acknowledgment sent {"connection_id":91002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:58:01] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87df7448012cb3338007745280002601172c..."} 
[2026-06-02 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87df7448012cb3338007745280002601172c..."} 
[2026-06-02 15:58:01] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87df7448012cb3338007745280002601172c..."} 
[2026-06-02 15:58:01] local.INFO: Packet analysis {"connection_id":89925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87df"} 
[2026-06-02 15:58:01] local.INFO: Extracted packet for processing {"connection_id":89925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87df"} 
[2026-06-02 15:58:01] local.INFO: GPS Element Parsed {"raw_longitude":749941632,"raw_latitude":125063808,"longitude_deg":74.9941632,"latitude_deg":12.5063808,"altitude":38,"angle":279,"satellites":44,"speed":13,"hex_longitude":"2cb33380","hex_latitude":"07745280","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781383168001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305937843413319680,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533516535138471936,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:01] 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-06-02 15:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780396029000,"timestamp_ms":1780396029000,"timestamp_seconds":1780396029,"priority":1,"record_length":96,"hex_timestamp":"0000019e87df7448"} 
[2026-06-02 15:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:58:01] 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-06-02 15: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-06-02 15:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:58: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-06-02 15:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781383168001,"66":27658,"88":206,"85":36608,"24":13,"16":305937843413319680,"44":-5533516535138471936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-02 15:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781383168001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:58:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 15:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305937843413319680,"km_value":305937843413319.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533516535138471936,"description":"Unknown IO ID 44"} 
[2026-06-02 15:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781383168001,"power":27658,"unknown_88":206,"unknown_85":36608,"ignition":13,"odometer":null,"unknown_44":-5533516535138471936}} 
[2026-06-02 15:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":89925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:58:01] local.INFO: GPS data processed {"connection_id":89925,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:58:01] local.INFO: Acknowledgment sent {"connection_id":89925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:58:05] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:58:05] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:58:05] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:58:10] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:58:10] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:58:10] local.INFO: IMEI packet received {"connection_id":89555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":89555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:58:11] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ddf960012d1a68c00720b440004800c428..."} 
[2026-06-02 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ddf960012d1a68c00720b440004800c428..."} 
[2026-06-02 15:58:11] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ddf960012d1a68c00720b440004800c428..."} 
[2026-06-02 15:58:11] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:58:11] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87dd"} 
[2026-06-02 15:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119583808,"longitude_deg":75.6705472,"latitude_deg":11.9583808,"altitude":72,"angle":196,"satellites":40,"speed":3,"hex_longitude":"2d1a68c0","hex_latitude":"0720b440","is_valid_coordinates":true} 
[2026-06-02 15:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334249573187584,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716898553856,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780395932000,"timestamp_ms":1780395932000,"timestamp_seconds":1780395932,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ddf960"} 
[2026-06-02 15:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:58: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-06-02 15:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 15:58:11] 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-06-02 15:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:58:11] 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-06-02 15:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781356800001,"66":13102,"103":206,"83":41984,"24":3,"16":125334249573187584,"45":1903122716898553856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:58:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334249573187584,"km_value":125334249573187.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716898553856,"description":"Unknown IO ID 45"} 
[2026-06-02 15:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781356800001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1903122716898553856}} 
[2026-06-02 15:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:58:11] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:58:11] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:58:23] local.INFO: TCP Data received {"connection_id":91003,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:58:23] local.INFO: Processing buffer {"connection_id":91003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:58:23] local.INFO: IMEI packet received {"connection_id":91003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":91003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:58:28] local.INFO: TCP Data received {"connection_id":91003,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:58:28] local.INFO: Processing buffer {"connection_id":91003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:58:28] local.INFO: IMEI packet received {"connection_id":91003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":91003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:58:29] local.INFO: TCP Data received {"connection_id":91003,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87df7c18012cb3314007745240002601022f..."} 
[2026-06-02 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87df7c18012cb3314007745240002601022f..."} 
[2026-06-02 15:58:29] local.INFO: Processing buffer {"connection_id":91003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87df7c18012cb3314007745240002601022f..."} 
[2026-06-02 15:58:29] local.INFO: Packet analysis {"connection_id":91003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87df"} 
[2026-06-02 15:58:29] local.INFO: Extracted packet for processing {"connection_id":91003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87df"} 
[2026-06-02 15:58:29] local.INFO: GPS Element Parsed {"raw_longitude":749941056,"raw_latitude":125063744,"longitude_deg":74.9941056,"latitude_deg":12.5063744,"altitude":38,"angle":258,"satellites":47,"speed":12,"hex_longitude":"2cb33140","hex_latitude":"07745240","is_valid_coordinates":true} 
[2026-06-02 15:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781383424001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305937873478090752,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533938747603517440,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:29] 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-06-02 15:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780396031000,"timestamp_ms":1780396031000,"timestamp_seconds":1780396031,"priority":1,"record_length":96,"hex_timestamp":"0000019e87df7c18"} 
[2026-06-02 15:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:58: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-06-02 15:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 15:58:29] 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-06-02 15:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:58: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-06-02 15:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781383424001,"66":27593,"88":206,"85":36608,"24":12,"16":305937873478090752,"44":-5533938747603517440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-02 15:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781383424001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:58:29] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-02 15:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305937873478090752,"km_value":305937873478090.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533938747603517440,"description":"Unknown IO ID 44"} 
[2026-06-02 15:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781383424001,"power":27593,"unknown_88":206,"unknown_85":36608,"ignition":12,"odometer":null,"unknown_44":-5533938747603517440}} 
[2026-06-02 15:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":91003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:58:29] local.INFO: GPS data processed {"connection_id":91003,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:58:29] local.INFO: Acknowledgment sent {"connection_id":91003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:58:42] local.INFO: TCP Data received {"connection_id":89555,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87de33f8012d1a68c00720b1880047000b28..."} 
[2026-06-02 15:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87de33f8012d1a68c00720b1880047000b28..."} 
[2026-06-02 15:58:42] local.INFO: Processing buffer {"connection_id":89555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87de33f8012d1a68c00720b1880047000b28..."} 
[2026-06-02 15:58:42] local.INFO: Packet analysis {"connection_id":89555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:58:42] local.INFO: Extracted packet for processing {"connection_id":89555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119583112,"longitude_deg":75.6705472,"latitude_deg":11.9583112,"altitude":71,"angle":11,"satellites":40,"speed":3,"hex_longitude":"2d1a68c0","hex_latitude":"0720b188","is_valid_coordinates":true} 
[2026-06-02 15:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781358592001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334305407762432,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902981979410022400,"note":"Value kept but may cause issues"} 
[2026-06-02 15:58: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-06-02 15:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780395947000,"timestamp_ms":1780395947000,"timestamp_seconds":1780395947,"priority":1,"record_length":96,"hex_timestamp":"0000019e87de33f8"} 
[2026-06-02 15:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 15:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:58:42] 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-06-02 15:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781358592001,"66":13059,"103":206,"83":41984,"24":3,"16":125334305407762432,"45":1902981979410022400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781358592001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:58:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334305407762432,"km_value":125334305407762.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902981979410022400,"description":"Unknown IO ID 45"} 
[2026-06-02 15:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781358592001,"power":13059,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1902981979410022400}} 
[2026-06-02 15:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":89555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:58:42] local.INFO: GPS data processed {"connection_id":89555,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:58:42] local.INFO: Acknowledgment sent {"connection_id":89555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:59:00] local.INFO: TCP Data received {"connection_id":91003,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87df8bb8012cb3290007744f68002500f72d..."} 
[2026-06-02 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87df8bb8012cb3290007744f68002500f72d..."} 
[2026-06-02 15:59:00] local.INFO: Processing buffer {"connection_id":91003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87df8bb8012cb3290007744f68002500f72d..."} 
[2026-06-02 15:59:00] local.INFO: Packet analysis {"connection_id":91003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87df"} 
[2026-06-02 15:59:00] local.INFO: Extracted packet for processing {"connection_id":91003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87df"} 
[2026-06-02 15:59:00] local.INFO: GPS Element Parsed {"raw_longitude":749938944,"raw_latitude":125063016,"longitude_deg":74.9938944,"latitude_deg":12.5063016,"altitude":37,"angle":247,"satellites":45,"speed":27,"hex_longitude":"2cb32900","hex_latitude":"07744f68","is_valid_coordinates":true} 
[2026-06-02 15: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-06-02 15:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781383936001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305937976557305856,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5534572066301132800,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780396035000,"timestamp_ms":1780396035000,"timestamp_seconds":1780396035,"priority":1,"record_length":96,"hex_timestamp":"0000019e87df8bb8"} 
[2026-06-02 15:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15: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-06-02 15: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-02 15:59:00] 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-06-02 15: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-06-02 15:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:59: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-06-02 15:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781383936001,"66":27821,"231":206,"85":36608,"24":27,"16":305937976557305856,"44":-5534572066301132800},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-06-02 15:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781383936001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:59:00] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-02 15:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305937976557305856,"km_value":305937976557305.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5534572066301132800,"description":"Unknown IO ID 44"} 
[2026-06-02 15:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781383936001,"power":27821,"unknown_231":206,"unknown_85":36608,"ignition":27,"odometer":null,"unknown_44":-5534572066301132800}} 
[2026-06-02 15:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":91003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:59:00] local.INFO: GPS data processed {"connection_id":91003,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:59:00] local.INFO: Acknowledgment sent {"connection_id":91003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:59:03] local.INFO: TCP Data received {"connection_id":89556,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:59:03] local.INFO: Processing buffer {"connection_id":89556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 15:59:03] local.INFO: IMEI packet received {"connection_id":89556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 15:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":89556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:59:10] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:59:10] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:59:10] local.INFO: IMEI packet received {"connection_id":89927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":89927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:59:15] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:59:15] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 15:59:15] local.INFO: IMEI packet received {"connection_id":89927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 15:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":89927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:59:16] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87de4398012d1a69000720b138004600b327..."} 
[2026-06-02 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87de4398012d1a69000720b138004600b327..."} 
[2026-06-02 15:59:16] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87de4398012d1a69000720b138004600b327..."} 
[2026-06-02 15:59:16] local.INFO: Packet analysis {"connection_id":89927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:59:16] local.INFO: Extracted packet for processing {"connection_id":89927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756705536,"raw_latitude":119583032,"longitude_deg":75.6705536,"latitude_deg":11.9583032,"altitude":70,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a6900","hex_latitude":"0720b138","is_valid_coordinates":true} 
[2026-06-02 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781362432001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334313997697024,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902981979409844224,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59: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-06-02 15:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780395951000,"timestamp_ms":1780395951000,"timestamp_seconds":1780395951,"priority":1,"record_length":96,"hex_timestamp":"0000019e87de4398"} 
[2026-06-02 15:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303172491988344,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58075809043709954,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2279459456,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3721803777,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3079143496,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 15:59:16] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692599,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4718740,"corrected_to":0} 
[2026-06-02 15:59:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,70,158,249,45,192,180,72,40,10,66,222,64,182,218,1,240,215,227,135,32,4,113,205,2,210,105,200,239,54,189,7,73],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":4718740,"validated":0}]} 
[2026-06-02 15:59:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116101443119677440,"timestamp_seconds":5116101443119677.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 15:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:59:16] 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-06-02 15:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781362432001,"66":13080,"103":206,"83":41984,"24":0,"16":125334313997697024,"45":1902981979409844224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781362432001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:59:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334313997697024,"km_value":125334313997697.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902981979409844224,"description":"Unknown IO ID 45"} 
[2026-06-02 15:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781362432001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902981979409844224}} 
[2026-06-02 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":89927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:59:16] local.INFO: GPS data processed {"connection_id":89927,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:59:16] local.INFO: Acknowledgment sent {"connection_id":89927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:59:23] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:59:23] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:59:23] local.INFO: IMEI packet received {"connection_id":89928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 15:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":89928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 15:59:29] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:59:29] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 15:59:29] local.INFO: IMEI packet received {"connection_id":89928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 15:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":89928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 15:59:30] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e0bc68012cb2490007748bd8001600002a..."} 
[2026-06-02 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e0bc68012cb2490007748bd8001600002a..."} 
[2026-06-02 15:59:30] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e0bc68012cb2490007748bd8001600002a..."} 
[2026-06-02 15:59:30] local.INFO: Packet analysis {"connection_id":89928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e0"} 
[2026-06-02 15:59:30] local.INFO: Extracted packet for processing {"connection_id":89928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e0"} 
[2026-06-02 15:59:30] local.INFO: GPS Element Parsed {"raw_longitude":749881600,"raw_latitude":125078488,"longitude_deg":74.98816,"latitude_deg":12.5078488,"altitude":22,"angle":0,"satellites":42,"speed":15,"hex_longitude":"2cb24900","hex_latitude":"07748bd8","is_valid_coordinates":true} 
[2026-06-02 15:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 15:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781404672001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305940948674674688,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5600014998382696448,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 15:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780396113000,"timestamp_ms":1780396113000,"timestamp_seconds":1780396113,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e0bc68"} 
[2026-06-02 15:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 15:59: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-06-02 15:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 15:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 15:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 15:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 15:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 15:59: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-06-02 15:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 15:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 15:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781404672001,"66":27767,"184":206,"85":36608,"24":15,"16":305940948674674688,"44":-5600014998382696448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 15:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 15:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 15:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781404672001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:59:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 15:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 15:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305940948674674688,"km_value":305940948674674.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5600014998382696448,"description":"Unknown IO ID 44"} 
[2026-06-02 15:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781404672001,"power":27767,"unknown_184":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-5600014998382696448}} 
[2026-06-02 15:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":89928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:59:30] local.INFO: GPS data processed {"connection_id":89928,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:59:30] local.INFO: Acknowledgment sent {"connection_id":89928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 15:59:47] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87de4f50012d1a68c00720b020004600c128..."} 
[2026-06-02 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87de4f50012d1a68c00720b020004600c128..."} 
[2026-06-02 15:59:47] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87de4f50012d1a68c00720b020004600c128..."} 
[2026-06-02 15:59:47] local.INFO: Packet analysis {"connection_id":89927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:59:47] local.INFO: Extracted packet for processing {"connection_id":89927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119582752,"longitude_deg":75.6705472,"latitude_deg":11.9582752,"altitude":70,"angle":193,"satellites":40,"speed":3,"hex_longitude":"2d1a68c0","hex_latitude":"0720b020","is_valid_coordinates":true} 
[2026-06-02 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-06-02 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781363456001,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334331177566208,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903052348154001408,"note":"Value kept but may cause issues"} 
[2026-06-02 15:59: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-06-02 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780395954000,"timestamp_ms":1780395954000,"timestamp_seconds":1780395954,"priority":1,"record_length":96,"hex_timestamp":"0000019e87de4f50"} 
[2026-06-02 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-06-02 15:59: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-06-02 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-02 15:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 15:59:47] 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-06-02 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781363456001,"66":13015,"103":206,"83":41984,"24":3,"16":125334331177566208,"45":1903052348154001408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781363456001,"description":"Unknown IO ID 0"} 
[2026-06-02 15:59:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 15:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334331177566208,"km_value":125334331177566.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 15:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903052348154001408,"description":"Unknown IO ID 45"} 
[2026-06-02 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781363456001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1903052348154001408}} 
[2026-06-02 15:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":89927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 15:59:47] local.INFO: GPS data processed {"connection_id":89927,"processed":1,"errors":0,"total":1} 
[2026-06-02 15:59:47] local.INFO: Acknowledgment sent {"connection_id":89927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:00:01] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e0c050012cb2494007748d480015000c2a..."} 
[2026-06-02 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e0c050012cb2494007748d480015000c2a..."} 
[2026-06-02 16:00:01] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e0c050012cb2494007748d480015000c2a..."} 
[2026-06-02 16:00:01] local.INFO: Packet analysis {"connection_id":89928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e0"} 
[2026-06-02 16:00:01] local.INFO: Extracted packet for processing {"connection_id":89928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e0"} 
[2026-06-02 16:00:01] local.INFO: GPS Element Parsed {"raw_longitude":749881664,"raw_latitude":125078856,"longitude_deg":74.9881664,"latitude_deg":12.5078856,"altitude":21,"angle":12,"satellites":42,"speed":14,"hex_longitude":"2cb24940","hex_latitude":"07748d48","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781404928001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305940965854543872,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599944629638408192,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780396114000,"timestamp_ms":1780396114000,"timestamp_seconds":1780396114,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e0c050"} 
[2026-06-02 16:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:00: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-06-02 16: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":119,"data_length":795,"current_offset":136} 
[2026-06-02 16:00: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-06-02 16: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-06-02 16:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:00: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-06-02 16:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781404928001,"66":27767,"184":206,"85":36608,"24":14,"16":305940965854543872,"44":-5599944629638408192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781404928001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:00:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305940965854543872,"km_value":305940965854543.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599944629638408192,"description":"Unknown IO ID 44"} 
[2026-06-02 16:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781404928001,"power":27767,"unknown_184":206,"unknown_85":36608,"ignition":14,"odometer":null,"unknown_44":-5599944629638408192}} 
[2026-06-02 16:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":89928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:00:01] local.INFO: GPS data processed {"connection_id":89928,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:00:01] local.INFO: Acknowledgment sent {"connection_id":89928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:00:05] local.INFO: TCP Data received {"connection_id":89558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:00:05] local.INFO: Processing buffer {"connection_id":89558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:00:05] local.INFO: IMEI packet received {"connection_id":89558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":89558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:00:10] local.INFO: TCP Data received {"connection_id":89558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:00:10] local.INFO: Processing buffer {"connection_id":89558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:00:10] local.INFO: IMEI packet received {"connection_id":89558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":89558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:00:11] local.INFO: TCP Data received {"connection_id":89558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87dea158012d1a68400720ae10004500c427..."} 
[2026-06-02 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87dea158012d1a68400720ae10004500c427..."} 
[2026-06-02 16:00:11] local.INFO: Processing buffer {"connection_id":89558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87dea158012d1a68400720ae10004500c427..."} 
[2026-06-02 16:00:11] local.INFO: Packet analysis {"connection_id":89558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 16:00:11] local.INFO: Extracted packet for processing {"connection_id":89558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 16:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119582224,"longitude_deg":75.6705344,"latitude_deg":11.9582224,"altitude":69,"angle":196,"satellites":39,"speed":0,"hex_longitude":"2d1a6840","hex_latitude":"0720ae10","is_valid_coordinates":true} 
[2026-06-02 16:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781364224001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334356947369984,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902981979409752064,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780395975000,"timestamp_ms":1780395975000,"timestamp_seconds":1780395975,"priority":1,"record_length":96,"hex_timestamp":"0000019e87dea158"} 
[2026-06-02 16:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:00: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-06-02 16:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 16:00:11] 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-06-02 16:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:00:11] 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-06-02 16:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781364224001,"66":13048,"103":206,"83":41984,"24":0,"16":125334356947369984,"45":1902981979409752064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781364224001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:00:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334356947369984,"km_value":125334356947369.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902981979409752064,"description":"Unknown IO ID 45"} 
[2026-06-02 16:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781364224001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902981979409752064}} 
[2026-06-02 16:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":89558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:00:11] local.INFO: GPS data processed {"connection_id":89558,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:00:11] local.INFO: Acknowledgment sent {"connection_id":89558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:00:28] local.INFO: TCP Data received {"connection_id":91004,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:00:28] local.INFO: Processing buffer {"connection_id":91004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:00:28] local.INFO: IMEI packet received {"connection_id":91004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":91004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:00:29] local.INFO: TCP Data received {"connection_id":91004,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:00:29] local.INFO: Processing buffer {"connection_id":91004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:00:29] local.INFO: IMEI packet received {"connection_id":91004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":91004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:00:30] local.INFO: TCP Data received {"connection_id":91004,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e0c438012cb24a4007748e800014001929..."} 
[2026-06-02 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e0c438012cb24a4007748e800014001929..."} 
[2026-06-02 16:00:30] local.INFO: Processing buffer {"connection_id":91004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e0c438012cb24a4007748e800014001929..."} 
[2026-06-02 16:00:30] local.INFO: Packet analysis {"connection_id":91004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e0"} 
[2026-06-02 16:00:30] local.INFO: Extracted packet for processing {"connection_id":91004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e0"} 
[2026-06-02 16:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749881920,"raw_latitude":125079168,"longitude_deg":74.988192,"latitude_deg":12.5079168,"altitude":20,"angle":25,"satellites":41,"speed":13,"hex_longitude":"2cb24a40","hex_latitude":"07748e80","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781405184001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305940983034413056,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599874260894136320,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780396115000,"timestamp_ms":1780396115000,"timestamp_seconds":1780396115,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e0c438"} 
[2026-06-02 16:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:00: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-06-02 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 16:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":91004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":91004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":91004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:00: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-06-02 16:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781405184001,"66":27767,"184":206,"85":36608,"24":13,"16":305940983034413056,"44":-5599874260894136320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781405184001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305940983034413056,"km_value":305940983034413.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599874260894136320,"description":"Unknown IO ID 44"} 
[2026-06-02 16:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781405184001,"power":27767,"unknown_184":206,"unknown_85":36608,"ignition":13,"odometer":null,"unknown_44":-5599874260894136320}} 
[2026-06-02 16:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":91004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:00:30] local.INFO: GPS data processed {"connection_id":91004,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:00:30] local.INFO: Acknowledgment sent {"connection_id":91004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:00:34] local.INFO: TCP Data received {"connection_id":91004,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e10a88012cb25d800774aca8001300212c..."} 
[2026-06-02 16:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e10a88012cb25d800774aca8001300212c..."} 
[2026-06-02 16:00:34] local.INFO: Processing buffer {"connection_id":91004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e10a88012cb25d800774aca8001300212c..."} 
[2026-06-02 16:00:34] local.INFO: Packet analysis {"connection_id":91004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:00:34] local.INFO: Extracted packet for processing {"connection_id":91004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:00:34] local.INFO: GPS Element Parsed {"raw_longitude":749886848,"raw_latitude":125086888,"longitude_deg":74.9886848,"latitude_deg":12.5086888,"altitude":19,"angle":33,"satellites":44,"speed":25,"hex_longitude":"2cb25d80","hex_latitude":"0774aca8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781405440001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305941425416044544,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599592785917345792,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780396133000,"timestamp_ms":1780396133000,"timestamp_seconds":1780396133,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e10a88"} 
[2026-06-02 16:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:00: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-06-02 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 16:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781405440001,"66":27713,"184":206,"85":36608,"24":25,"16":305941425416044544,"44":-5599592785917345792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781405440001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:00:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305941425416044544,"km_value":305941425416044.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599592785917345792,"description":"Unknown IO ID 44"} 
[2026-06-02 16:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781405440001,"power":27713,"unknown_184":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5599592785917345792}} 
[2026-06-02 16:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":91004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:00:34] local.INFO: GPS data processed {"connection_id":91004,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:00:34] local.INFO: Acknowledgment sent {"connection_id":91004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:00:42] local.INFO: TCP Data received {"connection_id":89558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87def360012d1a68400720ae10004500c426..."} 
[2026-06-02 16:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87def360012d1a68400720ae10004500c426..."} 
[2026-06-02 16:00:42] local.INFO: Processing buffer {"connection_id":89558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87def360012d1a68400720ae10004500c426..."} 
[2026-06-02 16:00:42] local.INFO: Packet analysis {"connection_id":89558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 16:00:42] local.INFO: Extracted packet for processing {"connection_id":89558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87de"} 
[2026-06-02 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119582224,"longitude_deg":75.6705344,"latitude_deg":11.9582224,"altitude":69,"angle":196,"satellites":38,"speed":0,"hex_longitude":"2d1a6840","hex_latitude":"0720ae10","is_valid_coordinates":true} 
[2026-06-02 16:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781369600001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334356947369984,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241921261568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:00: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-06-02 16:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780395996000,"timestamp_ms":1780395996000,"timestamp_seconds":1780395996,"priority":1,"record_length":96,"hex_timestamp":"0000019e87def360"} 
[2026-06-02 16:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 16:00:42] 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-06-02 16:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:00:42] 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-06-02 16:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781369600001,"66":13015,"103":206,"83":41984,"24":0,"16":125334356947369984,"45":1902841241921261568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781369600001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:00:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334356947369984,"km_value":125334356947369.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241921261568,"description":"Unknown IO ID 45"} 
[2026-06-02 16:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781369600001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902841241921261568}} 
[2026-06-02 16:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":89558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:00:42] local.INFO: GPS data processed {"connection_id":89558,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:00:42] local.INFO: Acknowledgment sent {"connection_id":89558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:01:04] local.INFO: TCP Data received {"connection_id":91004,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e14138012cb270800774cbc80016001e2b..."} 
[2026-06-02 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e14138012cb270800774cbc80016001e2b..."} 
[2026-06-02 16:01:04] local.INFO: Processing buffer {"connection_id":91004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e14138012cb270800774cbc80016001e2b..."} 
[2026-06-02 16:01:04] local.INFO: Packet analysis {"connection_id":91004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:01:04] local.INFO: Extracted packet for processing {"connection_id":91004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":749891712,"raw_latitude":125094856,"longitude_deg":74.9891712,"latitude_deg":12.5094856,"altitude":22,"angle":30,"satellites":43,"speed":30,"hex_longitude":"2cb27080","hex_latitude":"0774cbc8","is_valid_coordinates":true} 
[2026-06-02 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781410048001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305941876387610624,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5594174392613689344,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:04] 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-06-02 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780396147000,"timestamp_ms":1780396147000,"timestamp_seconds":1780396147,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e14138"} 
[2026-06-02 16:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 16:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":91004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":91004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":91004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:01: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-06-02 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781410048001,"66":27745,"215":206,"85":36608,"24":30,"16":305941876387610624,"44":-5594174392613689344},"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-06-02 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781410048001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:01:04] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305941876387610624,"km_value":305941876387610.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5594174392613689344,"description":"Unknown IO ID 44"} 
[2026-06-02 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781410048001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5594174392613689344}} 
[2026-06-02 16:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":91004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:01:05] local.INFO: GPS data processed {"connection_id":91004,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:01:05] local.INFO: Acknowledgment sent {"connection_id":91004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:01:05] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:01:05] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:01:05] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:01:10] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:01:10] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:01:10] local.INFO: IMEI packet received {"connection_id":89559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":89559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:01:13] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e227b0012d1a68400720af400043000624..."} 
[2026-06-02 16:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e227b0012d1a68400720af400043000624..."} 
[2026-06-02 16:01:13] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e227b0012d1a68400720af400043000624..."} 
[2026-06-02 16:01:13] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:01:13] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119582528,"longitude_deg":75.6705344,"latitude_deg":11.9582528,"altitude":67,"angle":6,"satellites":36,"speed":3,"hex_longitude":"2d1a6840","hex_latitude":"0720af40","is_valid_coordinates":true} 
[2026-06-02 16:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781428736001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334374127239168,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241921339392,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01: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-06-02 16:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780396206000,"timestamp_ms":1780396206000,"timestamp_seconds":1780396206,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e227b0"} 
[2026-06-02 16:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627590,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":70,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2279619456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4807892768892387328,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3772747777,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2920284229,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629373415225447,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2281778458,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051012485549,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":26,"raw_value":7512012015394619461,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,70,158,213,45,64,174,69,41,10,66,131,40,49,1,240,227,135,32,4,113,205,141,104,39,239,50,2,189,7,26,164],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 16:01:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827865552229957632,"timestamp_seconds":4827865552229958.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:01:13] 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-06-02 16:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781428736001,"66":13580,"103":206,"83":41984,"24":3,"16":125334374127239168,"45":1902841241921339392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781428736001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334374127239168,"km_value":125334374127239.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241921339392,"description":"Unknown IO ID 45"} 
[2026-06-02 16:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781428736001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1902841241921339392}} 
[2026-06-02 16:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:01:13] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:01:13] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:01:23] local.INFO: TCP Data received {"connection_id":89827,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:01:23] local.INFO: Processing buffer {"connection_id":89827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:01:23] local.INFO: IMEI packet received {"connection_id":89827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":89827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:01:28] local.INFO: TCP Data received {"connection_id":89827,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:01:28] local.INFO: Processing buffer {"connection_id":89827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:01:28] local.INFO: IMEI packet received {"connection_id":89827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":89827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:01:29] local.INFO: TCP Data received {"connection_id":89827,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e16c30012cb284800774ea80001b00202a..."} 
[2026-06-02 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e16c30012cb284800774ea80001b00202a..."} 
[2026-06-02 16:01:29] local.INFO: Processing buffer {"connection_id":89827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e16c30012cb284800774ea80001b00202a..."} 
[2026-06-02 16:01:29] local.INFO: Packet analysis {"connection_id":89827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:01:29] local.INFO: Extracted packet for processing {"connection_id":89827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":749896832,"raw_latitude":125102720,"longitude_deg":74.9896832,"latitude_deg":12.510272,"altitude":27,"angle":32,"satellites":42,"speed":33,"hex_longitude":"2cb28480","hex_latitude":"0774ea80","is_valid_coordinates":true} 
[2026-06-02 16:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781413632001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942327359176704,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588826368054147072,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:29] 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-06-02 16:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780396158000,"timestamp_ms":1780396158000,"timestamp_seconds":1780396158,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e16c30"} 
[2026-06-02 16:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:01: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-06-02 16:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:01: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-06-02 16:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:01:29] 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-06-02 16:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781413632001,"66":27832,"215":206,"85":36608,"24":33,"16":305942327359176704,"44":-5588826368054147072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781413632001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:01:29] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942327359176704,"km_value":305942327359176.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588826368054147072,"description":"Unknown IO ID 44"} 
[2026-06-02 16:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781413632001,"power":27832,"unknown_215":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-5588826368054147072}} 
[2026-06-02 16:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":89827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:01:29] local.INFO: GPS data processed {"connection_id":89827,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:01:29] local.INFO: Acknowledgment sent {"connection_id":89827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:01:45] local.INFO: TCP Data received {"connection_id":89559,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e26248012d1a69400720b7280044001326..."} 
[2026-06-02 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e26248012d1a69400720b7280044001326..."} 
[2026-06-02 16:01:45] local.INFO: Processing buffer {"connection_id":89559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e26248012d1a69400720b7280044001326..."} 
[2026-06-02 16:01:45] local.INFO: Packet analysis {"connection_id":89559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:01:45] local.INFO: Extracted packet for processing {"connection_id":89559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119584552,"longitude_deg":75.67056,"latitude_deg":11.9584552,"altitude":68,"angle":19,"satellites":38,"speed":6,"hex_longitude":"2d1a6940","hex_latitude":"0720b728","is_valid_coordinates":true} 
[2026-06-02 16:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781428736001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334477206454272,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241921339392,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01: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-06-02 16:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780396221000,"timestamp_ms":1780396221000,"timestamp_seconds":1780396221,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e26248"} 
[2026-06-02 16:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:01:45] 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-06-02 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627590,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":70,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2279640456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4807892768892387328,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3778123777,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2920284229,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632689129977959,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":26,"raw_value":7512012015394619461,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":47,"raw_value":5836891034080038483,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 16:01:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,70,158,39,45,64,175,67,36,10,66,213,174,69,41,131,1,240,88,227,135,32,4,113,205,223,104,38,239,50,2,189,7,26,47,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 16:01:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827865552229957632,"timestamp_seconds":4827865552229958.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:01:45] 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-06-02 16:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781428736001,"66":14428,"103":206,"83":41984,"24":6,"16":125334477206454272,"45":1902841241921339392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781428736001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:01:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334477206454272,"km_value":125334477206454.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241921339392,"description":"Unknown IO ID 45"} 
[2026-06-02 16:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781428736001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1902841241921339392}} 
[2026-06-02 16:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":89559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:01:45] local.INFO: GPS data processed {"connection_id":89559,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:01:45] local.INFO: Acknowledgment sent {"connection_id":89559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:02:00] local.INFO: TCP Data received {"connection_id":89827,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e19b10012cb29ac0077508c0001e00292b..."} 
[2026-06-02 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e19b10012cb29ac0077508c0001e00292b..."} 
[2026-06-02 16:02:00] local.INFO: Processing buffer {"connection_id":89827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e19b10012cb29ac0077508c0001e00292b..."} 
[2026-06-02 16:02:00] local.INFO: Packet analysis {"connection_id":89827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:02:00] local.INFO: Extracted packet for processing {"connection_id":89827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125110464,"longitude_deg":74.9902528,"latitude_deg":12.5110464,"altitude":30,"angle":41,"satellites":43,"speed":28,"hex_longitude":"2cb29ac0","hex_latitude":"077508c0","is_valid_coordinates":true} 
[2026-06-02 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781416448001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942791215644672,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5583196868517920768,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02: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-06-02 16:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780396170000,"timestamp_ms":1780396170000,"timestamp_seconds":1780396170,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e19b10"} 
[2026-06-02 16:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:02: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-06-02 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 16:02:00] 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-06-02 16:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:02:00] 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-06-02 16:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781416448001,"66":27930,"215":206,"85":36608,"24":28,"16":305942791215644672,"44":-5583196868517920768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781416448001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:02:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942791215644672,"km_value":305942791215644.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5583196868517920768,"description":"Unknown IO ID 44"} 
[2026-06-02 16:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781416448001,"power":27930,"unknown_215":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-5583196868517920768}} 
[2026-06-02 16:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":89827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:02:00] local.INFO: GPS data processed {"connection_id":89827,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:02:00] local.INFO: Acknowledgment sent {"connection_id":89827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:02:04] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:04] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:04] local.INFO: IMEI packet received {"connection_id":89560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":89560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:02:05] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:05] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:05] local.INFO: IMEI packet received {"connection_id":89560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":89560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:02:10] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:10] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:02:10] local.INFO: IMEI packet received {"connection_id":89560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":89560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:02:11] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e26e00012d1a69c00720b9200044000226..."} 
[2026-06-02 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e26e00012d1a69c00720b9200044000226..."} 
[2026-06-02 16:02:11] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e26e00012d1a69c00720b9200044000226..."} 
[2026-06-02 16:02:11] local.INFO: Packet analysis {"connection_id":89560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:02:11] local.INFO: Extracted packet for processing {"connection_id":89560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119585056,"longitude_deg":75.6705728,"latitude_deg":11.9585056,"altitude":68,"angle":2,"satellites":38,"speed":6,"hex_longitude":"2d1a69c0","hex_latitude":"0720b920","is_valid_coordinates":true} 
[2026-06-02 16:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781432576001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125334502976258048,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716898568192,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780396224000,"timestamp_ms":1780396224000,"timestamp_seconds":1780396224,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e26e00"} 
[2026-06-02 16:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:02: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-06-02 16:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 16:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:02:11] 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-06-02 16:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781432576001,"66":14374,"103":206,"83":41984,"24":6,"16":125334502976258048,"45":1903122716898568192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781432576001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:02:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125334502976258048,"km_value":125334502976258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716898568192,"description":"Unknown IO ID 45"} 
[2026-06-02 16:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781432576001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1903122716898568192}} 
[2026-06-02 16:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":89560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:02:11] local.INFO: GPS data processed {"connection_id":89560,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:02:11] local.INFO: Acknowledgment sent {"connection_id":89560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:02:23] local.INFO: TCP Data received {"connection_id":91006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:02:23] local.INFO: Processing buffer {"connection_id":91006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:02:23] local.INFO: IMEI packet received {"connection_id":91006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":91006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:02:28] local.INFO: TCP Data received {"connection_id":91006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:02:29] local.INFO: Processing buffer {"connection_id":91006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:02:29] local.INFO: IMEI packet received {"connection_id":91006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":91006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:02:29] local.INFO: TCP Data received {"connection_id":91006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e1ed18012cb2a380077512c8001c00262e..."} 
[2026-06-02 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e1ed18012cb2a380077512c8001c00262e..."} 
[2026-06-02 16:02:29] local.INFO: Processing buffer {"connection_id":91006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e1ed18012cb2a380077512c8001c00262e..."} 
[2026-06-02 16:02:29] local.INFO: Packet analysis {"connection_id":91006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:02:29] local.INFO: Extracted packet for processing {"connection_id":91006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e1"} 
[2026-06-02 16:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113032,"longitude_deg":74.9904768,"latitude_deg":12.5113032,"altitude":28,"angle":38,"satellites":46,"speed":3,"hex_longitude":"2cb2a380","hex_latitude":"077512c8","is_valid_coordinates":true} 
[2026-06-02 16:02: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-06-02 16:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781419520001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942958719369216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050284126208,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:29] 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-06-02 16:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780396191000,"timestamp_ms":1780396191000,"timestamp_seconds":1780396191,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e1ed18"} 
[2026-06-02 16:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:02: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-06-02 16:02: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-06-02 16:02: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-06-02 16:02: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-06-02 16:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781419520001,"66":28028,"215":206,"85":36608,"24":3,"16":305942958719369216,"44":-5576934050284126208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781419520001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:02:29] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942958719369216,"km_value":305942958719369.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050284126208,"description":"Unknown IO ID 44"} 
[2026-06-02 16:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781419520001,"power":28028,"unknown_215":206,"unknown_85":36608,"ignition":3,"odometer":null,"unknown_44":-5576934050284126208}} 
[2026-06-02 16:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":91006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:02:29] local.INFO: GPS data processed {"connection_id":91006,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:02:29] local.INFO: Acknowledgment sent {"connection_id":91006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:02:42] local.INFO: TCP Data received {"connection_id":89560,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e3c9a8012d1a3d400720f3e0003b00d426..."} 
[2026-06-02 16:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e3c9a8012d1a3d400720f3e0003b00d426..."} 
[2026-06-02 16:02:42] local.INFO: Processing buffer {"connection_id":89560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e3c9a8012d1a3d400720f3e0003b00d426..."} 
[2026-06-02 16:02:42] local.INFO: Packet analysis {"connection_id":89560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e3"} 
[2026-06-02 16:02:42] local.INFO: Extracted packet for processing {"connection_id":89560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e3"} 
[2026-06-02 16:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756694336,"raw_latitude":119600096,"longitude_deg":75.6694336,"latitude_deg":11.9600096,"altitude":59,"angle":212,"satellites":38,"speed":12,"hex_longitude":"2d1a3d40","hex_latitude":"0720f3e0","is_valid_coordinates":true} 
[2026-06-02 16:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781455872001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125335568128147456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555415687168,"note":"Value kept but may cause issues"} 
[2026-06-02 16:02: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-06-02 16:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780396313000,"timestamp_ms":1780396313000,"timestamp_seconds":1780396313,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e3c9a8"} 
[2026-06-02 16:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-02 16:02:42] 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-06-02 16:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:02:42] 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-06-02 16:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781455872001,"66":13004,"103":206,"83":41984,"24":12,"16":125335568128147456,"45":1890878555415687168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781455872001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:02:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125335568128147456,"km_value":125335568128147.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555415687168,"description":"Unknown IO ID 45"} 
[2026-06-02 16:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781455872001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1890878555415687168}} 
[2026-06-02 16:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":89560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:02:42] local.INFO: GPS data processed {"connection_id":89560,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:02:42] local.INFO: Acknowledgment sent {"connection_id":89560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:03:00] local.INFO: TCP Data received {"connection_id":91006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:03:00] local.INFO: Processing buffer {"connection_id":91006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:03:00] local.INFO: Packet analysis {"connection_id":91006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:03:00] local.INFO: Extracted packet for processing {"connection_id":91006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113472,"longitude_deg":74.9905088,"latitude_deg":12.5113472,"altitude":28,"angle":38,"satellites":46,"speed":1,"hex_longitude":"2cb2a4c0","hex_latitude":"07751480","is_valid_coordinates":true} 
[2026-06-02 16:03: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-06-02 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781424896001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237250560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03: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-06-02 16:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780396197000,"timestamp_ms":1780396197000,"timestamp_seconds":1780396197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e20488"} 
[2026-06-02 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-06-02 16:03: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-06-02 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 16:03:00] 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-06-02 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-06-02 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-06-02 16:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781424896001,"66":27615,"215":206,"85":36608,"24":1,"16":305942988784140288,"44":-5574471144237250560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781424896001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:03:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237250560,"description":"Unknown IO ID 44"} 
[2026-06-02 16:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781424896001,"power":27615,"unknown_215":206,"unknown_85":36608,"ignition":1,"odometer":null,"unknown_44":-5574471144237250560}} 
[2026-06-02 16:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":91006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:03:00] local.INFO: GPS data processed {"connection_id":91006,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:03:00] local.INFO: Acknowledgment sent {"connection_id":91006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:03:05] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:05] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:05] local.INFO: IMEI packet received {"connection_id":89829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":89829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:03:05] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:05] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:05] local.INFO: IMEI packet received {"connection_id":89829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":89829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:03:10] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:10] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:03:10] local.INFO: IMEI packet received {"connection_id":89829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":89829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:03:11] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e3dd30012d1a39000720ede8003c00c728..."} 
[2026-06-02 16:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e3dd30012d1a39000720ede8003c00c728..."} 
[2026-06-02 16:03:11] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e3dd30012d1a39000720ede8003c00c728..."} 
[2026-06-02 16:03:11] local.INFO: Packet analysis {"connection_id":89829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e3"} 
[2026-06-02 16:03:11] local.INFO: Extracted packet for processing {"connection_id":89829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e3"} 
[2026-06-02 16:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756693248,"raw_latitude":119598568,"longitude_deg":75.6693248,"latitude_deg":11.9598568,"altitude":60,"angle":199,"satellites":40,"speed":20,"hex_longitude":"2d1a3900","hex_latitude":"0720ede8","is_valid_coordinates":true} 
[2026-06-02 16:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781456128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125335658322460672,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890737817927278592,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780396318000,"timestamp_ms":1780396318000,"timestamp_seconds":1780396318,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e3dd30"} 
[2026-06-02 16:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:03: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-06-02 16:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-02 16:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:03:11] 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-06-02 16:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781456128001,"66":13287,"103":206,"83":41984,"24":20,"16":125335658322460672,"45":1890737817927278592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781456128001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:03:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125335658322460672,"km_value":125335658322460.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890737817927278592,"description":"Unknown IO ID 45"} 
[2026-06-02 16:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781456128001,"power":13287,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1890737817927278592}} 
[2026-06-02 16:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":89829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:03:11] local.INFO: GPS data processed {"connection_id":89829,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:03:11] local.INFO: Acknowledgment sent {"connection_id":89829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:03:23] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:03:23] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:03:23] local.INFO: IMEI packet received {"connection_id":89830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":89830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:03:28] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:03:28] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:03:28] local.INFO: IMEI packet received {"connection_id":89830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":89830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:03:29] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:03:29] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:03:29] local.INFO: Packet analysis {"connection_id":89830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:03:29] local.INFO: Extracted packet for processing {"connection_id":89830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:03:29] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113472,"longitude_deg":74.9905088,"latitude_deg":12.5113472,"altitude":28,"angle":38,"satellites":46,"speed":1,"hex_longitude":"2cb2a4c0","hex_latitude":"07751480","is_valid_coordinates":true} 
[2026-06-02 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781424896001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237250560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:29] 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-06-02 16:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780396197000,"timestamp_ms":1780396197000,"timestamp_seconds":1780396197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e20488"} 
[2026-06-02 16:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:03: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-06-02 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 16:03:29] 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-06-02 16:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781424896001,"66":27615,"215":206,"85":36608,"24":1,"16":305942988784140288,"44":-5574471144237250560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781424896001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:03:29] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237250560,"description":"Unknown IO ID 44"} 
[2026-06-02 16:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781424896001,"power":27615,"unknown_215":206,"unknown_85":36608,"ignition":1,"odometer":null,"unknown_44":-5574471144237250560}} 
[2026-06-02 16:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":89830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:03:29] local.INFO: GPS data processed {"connection_id":89830,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:03:29] local.INFO: Acknowledgment sent {"connection_id":89830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:03:42] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e4b7f0012d19c5400720a370002f010f22..."} 
[2026-06-02 16:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e4b7f0012d19c5400720a370002f010f22..."} 
[2026-06-02 16:03:42] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e4b7f0012d19c5400720a370002f010f22..."} 
[2026-06-02 16:03:42] local.INFO: Packet analysis {"connection_id":89829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:03:42] local.INFO: Extracted packet for processing {"connection_id":89829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119579504,"longitude_deg":75.6663616,"latitude_deg":11.9579504,"altitude":47,"angle":271,"satellites":34,"speed":22,"hex_longitude":"2d19c540","hex_latitude":"0720a370","is_valid_coordinates":true} 
[2026-06-02 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781471232001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125337440733888512,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720623595520,"note":"Value kept but may cause issues"} 
[2026-06-02 16:03: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-06-02 16:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780396374000,"timestamp_ms":1780396374000,"timestamp_seconds":1780396374,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e4b7f0"} 
[2026-06-02 16:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 16:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:03:42] 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-06-02 16:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781471232001,"66":13863,"103":206,"83":41984,"24":22,"16":125337440733888512,"45":1858086720623595520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781471232001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:03:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125337440733888512,"km_value":125337440733888.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720623595520,"description":"Unknown IO ID 45"} 
[2026-06-02 16:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781471232001,"power":13863,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1858086720623595520}} 
[2026-06-02 16:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":89829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:03:42] local.INFO: GPS data processed {"connection_id":89829,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:03:42] local.INFO: Acknowledgment sent {"connection_id":89829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:04:00] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:04:00] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:04:00] local.INFO: Packet analysis {"connection_id":89830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:04:00] local.INFO: Extracted packet for processing {"connection_id":89830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:04:00] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113472,"longitude_deg":74.9905088,"latitude_deg":12.5113472,"altitude":28,"angle":38,"satellites":46,"speed":1,"hex_longitude":"2cb2a4c0","hex_latitude":"07751480","is_valid_coordinates":true} 
[2026-06-02 16:04: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-06-02 16:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781424896001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237250560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04: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-06-02 16:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780396197000,"timestamp_ms":1780396197000,"timestamp_seconds":1780396197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e20488"} 
[2026-06-02 16:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:04: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-06-02 16:04: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":124,"data_length":795,"current_offset":136} 
[2026-06-02 16:04:00] 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-06-02 16:04: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-06-02 16:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781424896001,"66":27615,"215":206,"85":36608,"24":1,"16":305942988784140288,"44":-5574471144237250560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781424896001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:04:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237250560,"description":"Unknown IO ID 44"} 
[2026-06-02 16:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781424896001,"power":27615,"unknown_215":206,"unknown_85":36608,"ignition":1,"odometer":null,"unknown_44":-5574471144237250560}} 
[2026-06-02 16:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":89830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:04:00] local.INFO: GPS data processed {"connection_id":89830,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:04:00] local.INFO: Acknowledgment sent {"connection_id":89830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:04:06] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:06] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:06] local.INFO: IMEI packet received {"connection_id":89561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":89561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:04:10] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:10] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:10] local.INFO: IMEI packet received {"connection_id":89561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":89561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:04:12] local.INFO: TCP Data received {"connection_id":89832,"ip":"66.132.224.235","data_length":243,"data_hex":"16030100ee010000ea0303b346b2dd3b8317232499bcc101c9dedd51b9a4bf70..."} 
[2026-06-02 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89832,"packet_length":243,"packet_hex":"16030100ee010000ea0303b346b2dd3b8317232499bcc101c9dedd51b9a4bf70..."} 
[2026-06-02 16:04:12] local.INFO: Processing buffer {"connection_id":89832,"buffer_length":243,"buffer_hex":"16030100ee010000ea0303b346b2dd3b8317232499bcc101c9dedd51b9a4bf70..."} 
[2026-06-02 16:04:12] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":89832,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea0303b346b2dd3b"} 
[2026-06-02 16:04:12] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:12] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:04:12] local.INFO: IMEI packet received {"connection_id":89561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":89561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:04:13] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e4bfc0012d19c1000720a468002f011c22..."} 
[2026-06-02 16:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e4bfc0012d19c1000720a468002f011c22..."} 
[2026-06-02 16:04:13] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e4bfc0012d19c1000720a468002f011c22..."} 
[2026-06-02 16:04:13] local.INFO: Packet analysis {"connection_id":89561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:04:13] local.INFO: Extracted packet for processing {"connection_id":89561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756662528,"raw_latitude":119579752,"longitude_deg":75.6662528,"latitude_deg":11.9579752,"altitude":47,"angle":284,"satellites":34,"speed":21,"hex_longitude":"2d19c100","hex_latitude":"0720a468","is_valid_coordinates":true} 
[2026-06-02 16:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781471744001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125337492273496064,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820716728320,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04: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-06-02 16:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780396376000,"timestamp_ms":1780396376000,"timestamp_seconds":1780396376,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e4bfc0"} 
[2026-06-02 16:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-02 16:04:13] 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-06-02 16:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:04:13] 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-06-02 16:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781471744001,"66":14396,"103":206,"83":41984,"24":21,"16":125337492273496064,"45":1856960820716728320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781471744001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:04:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125337492273496064,"km_value":125337492273496.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820716728320,"description":"Unknown IO ID 45"} 
[2026-06-02 16:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781471744001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1856960820716728320}} 
[2026-06-02 16:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":89561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:04:13] local.INFO: GPS data processed {"connection_id":89561,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:04:13] local.INFO: Acknowledgment sent {"connection_id":89561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:04:15] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e4c790012d19bd800720a658002f012e23..."} 
[2026-06-02 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e4c790012d19bd800720a658002f012e23..."} 
[2026-06-02 16:04:15] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e4c790012d19bd800720a658002f012e23..."} 
[2026-06-02 16:04:15] local.INFO: Packet analysis {"connection_id":89561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:04:15] local.INFO: Extracted packet for processing {"connection_id":89561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119580248,"longitude_deg":75.6661632,"latitude_deg":11.9580248,"altitude":47,"angle":302,"satellites":35,"speed":20,"hex_longitude":"2d19bd80","hex_latitude":"0720a658","is_valid_coordinates":true} 
[2026-06-02 16:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781472256001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125337543813103616,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855764552065771520,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780396378000,"timestamp_ms":1780396378000,"timestamp_seconds":1780396378,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e4c790"} 
[2026-06-02 16:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:04: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-06-02 16:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 16:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:04:15] 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-06-02 16:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781472256001,"66":13537,"103":206,"83":41984,"24":20,"16":125337543813103616,"45":1855764552065771520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781472256001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:04:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125337543813103616,"km_value":125337543813103.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855764552065771520,"description":"Unknown IO ID 45"} 
[2026-06-02 16:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781472256001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1855764552065771520}} 
[2026-06-02 16:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":89561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:04:15] local.INFO: GPS data processed {"connection_id":89561,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:04:15] local.INFO: Acknowledgment sent {"connection_id":89561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:04:24] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:04:24] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:04:24] local.INFO: IMEI packet received {"connection_id":89932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":89932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:04:28] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:04:28] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:04:28] local.INFO: IMEI packet received {"connection_id":89932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":89932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:04:29] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:04:29] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:04:29] local.INFO: Packet analysis {"connection_id":89932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:04:29] local.INFO: Extracted packet for processing {"connection_id":89932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113472,"longitude_deg":74.9905088,"latitude_deg":12.5113472,"altitude":28,"angle":38,"satellites":46,"speed":1,"hex_longitude":"2cb2a4c0","hex_latitude":"07751480","is_valid_coordinates":true} 
[2026-06-02 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781424896001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237250560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:29] 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-06-02 16:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780396197000,"timestamp_ms":1780396197000,"timestamp_seconds":1780396197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e20488"} 
[2026-06-02 16:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:04: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-06-02 16: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 16:04:29] 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-06-02 16: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-06-02 16:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:04:29] 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-06-02 16:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781424896001,"66":27615,"215":206,"85":36608,"24":1,"16":305942988784140288,"44":-5574471144237250560},"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-06-02 16:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781424896001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237250560,"description":"Unknown IO ID 44"} 
[2026-06-02 16:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781424896001,"power":27615,"unknown_215":206,"unknown_85":36608,"ignition":1,"odometer":null,"unknown_44":-5574471144237250560}} 
[2026-06-02 16:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":89932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:04:29] local.INFO: GPS data processed {"connection_id":89932,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:04:29] local.INFO: Acknowledgment sent {"connection_id":89932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:04:38] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:04:38] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:04:38] local.INFO: IMEI packet received {"connection_id":89930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":89930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:04:46] local.INFO: TCP Data received {"connection_id":89561,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e4e6d0012d19acc00720ae40002f011f25..."} 
[2026-06-02 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e4e6d0012d19acc00720ae40002f011f25..."} 
[2026-06-02 16:04:46] local.INFO: Processing buffer {"connection_id":89561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e4e6d0012d19acc00720ae40002f011f25..."} 
[2026-06-02 16:04:46] local.INFO: Packet analysis {"connection_id":89561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:04:46] local.INFO: Extracted packet for processing {"connection_id":89561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e4"} 
[2026-06-02 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119582272,"longitude_deg":75.6657344,"latitude_deg":11.9582272,"altitude":47,"angle":287,"satellites":37,"speed":22,"hex_longitude":"2d19acc0","hex_latitude":"0720ae40","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781472768001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125337767151403008,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389647411200,"note":"Value kept but may cause issues"} 
[2026-06-02 16:04: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-06-02 16:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780396386000,"timestamp_ms":1780396386000,"timestamp_seconds":1780396386,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e4e6d0"} 
[2026-06-02 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-06-02 16:04: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-06-02 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-06-02 16:04:46] 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-06-02 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-06-02 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-06-02 16:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:04: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-06-02 16:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781472768001,"66":14396,"103":206,"83":41984,"24":22,"16":125337767151403008,"45":1854779389647411200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781472768001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:04:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125337767151403008,"km_value":125337767151403.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389647411200,"description":"Unknown IO ID 45"} 
[2026-06-02 16:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781472768001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854779389647411200}} 
[2026-06-02 16:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":89561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:04:46] local.INFO: GPS data processed {"connection_id":89561,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:04:46] local.INFO: Acknowledgment sent {"connection_id":89561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:04:58] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:04:58] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:04:58] local.INFO: IMEI packet received {"connection_id":89933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":89933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:05:01] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:05:01] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:05:01] local.INFO: Packet analysis {"connection_id":89932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:05:01] local.INFO: Extracted packet for processing {"connection_id":89932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113472,"longitude_deg":74.9905088,"latitude_deg":12.5113472,"altitude":28,"angle":38,"satellites":46,"speed":1,"hex_longitude":"2cb2a4c0","hex_latitude":"07751480","is_valid_coordinates":true} 
[2026-06-02 16:05: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-06-02 16:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781424896001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237250560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:01] 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-06-02 16:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780396197000,"timestamp_ms":1780396197000,"timestamp_seconds":1780396197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e20488"} 
[2026-06-02 16:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:05: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-06-02 16:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 16:05: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-06-02 16: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-06-02 16:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:05: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-06-02 16:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781424896001,"66":27615,"215":206,"85":36608,"24":1,"16":305942988784140288,"44":-5574471144237250560},"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-06-02 16:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781424896001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:05:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237250560,"description":"Unknown IO ID 44"} 
[2026-06-02 16:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781424896001,"power":27615,"unknown_215":206,"unknown_85":36608,"ignition":1,"odometer":null,"unknown_44":-5574471144237250560}} 
[2026-06-02 16:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":89932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:05:01] local.INFO: GPS data processed {"connection_id":89932,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:05:01] local.INFO: Acknowledgment sent {"connection_id":89932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:05:02] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:02] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:02] local.INFO: IMEI packet received {"connection_id":91008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":91008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:05:05] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:05] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:05] local.INFO: IMEI packet received {"connection_id":91008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":91008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:05:06] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:06] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:06] local.INFO: IMEI packet received {"connection_id":91008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":91008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:05:10] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:10] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:05:10] local.INFO: IMEI packet received {"connection_id":91008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":91008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:05:11] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e5e4b8012d18e9c00720e7f00037014923..."} 
[2026-06-02 16:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e5e4b8012d18e9c00720e7f00037014923..."} 
[2026-06-02 16:05:11] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e5e4b8012d18e9c00720e7f00037014923..."} 
[2026-06-02 16:05:11] local.INFO: Packet analysis {"connection_id":91008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e5"} 
[2026-06-02 16:05:11] local.INFO: Extracted packet for processing {"connection_id":91008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e5"} 
[2026-06-02 16:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756607424,"raw_latitude":119597040,"longitude_deg":75.6607424,"latitude_deg":11.959704,"altitude":55,"angle":329,"satellites":35,"speed":31,"hex_longitude":"2d18e9c0","hex_latitude":"0720e7f0","is_valid_coordinates":true} 
[2026-06-02 16:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781490176001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125340404261322752,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797428863146059776,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780396451000,"timestamp_ms":1780396451000,"timestamp_seconds":1780396451,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e5e4b8"} 
[2026-06-02 16:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:05: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-06-02 16:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 16:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:11] 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-06-02 16:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781490176001,"66":13993,"103":206,"83":41984,"24":31,"16":125340404261322752,"45":1797428863146059776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781490176001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:05:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125340404261322752,"km_value":125340404261322.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797428863146059776,"description":"Unknown IO ID 45"} 
[2026-06-02 16:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781490176001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1797428863146059776}} 
[2026-06-02 16:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":91008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:05:11] local.INFO: GPS data processed {"connection_id":91008,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:05:11] local.INFO: Acknowledgment sent {"connection_id":91008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:05:12] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e5f840012d18e1400720f4d0003a013d27..."} 
[2026-06-02 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e5f840012d18e1400720f4d0003a013d27..."} 
[2026-06-02 16:05:12] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e5f840012d18e1400720f4d0003a013d27..."} 
[2026-06-02 16:05:12] local.INFO: Packet analysis {"connection_id":91008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e5"} 
[2026-06-02 16:05:12] local.INFO: Extracted packet for processing {"connection_id":91008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e5"} 
[2026-06-02 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756605248,"raw_latitude":119600336,"longitude_deg":75.6605248,"latitude_deg":11.9600336,"altitude":58,"angle":317,"satellites":39,"speed":31,"hex_longitude":"2d18e140","hex_latitude":"0720f4d0","is_valid_coordinates":true} 
[2026-06-02 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781491456001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125340597534851072,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063333228544,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780396456000,"timestamp_ms":1780396456000,"timestamp_seconds":1780396456,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e5f840"} 
[2026-06-02 16:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:05: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-06-02 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 16:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":91008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:12] 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-06-02 16:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781491456001,"66":13993,"103":206,"83":41984,"24":31,"16":125340597534851072,"45":1795177063333228544},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781491456001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125340597534851072,"km_value":125340597534851.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063333228544,"description":"Unknown IO ID 45"} 
[2026-06-02 16:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781491456001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1795177063333228544}} 
[2026-06-02 16:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":91008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:05:12] local.INFO: GPS data processed {"connection_id":91008,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:05:12] local.INFO: Acknowledgment sent {"connection_id":91008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:05:12] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e60bc8012d18d6c0072101a8003c014f22..."} 
[2026-06-02 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e60bc8012d18d6c0072101a8003c014f22..."} 
[2026-06-02 16:05:12] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e60bc8012d18d6c0072101a8003c014f22..."} 
[2026-06-02 16:05:12] local.INFO: Packet analysis {"connection_id":91008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:05:12] local.INFO: Extracted packet for processing {"connection_id":91008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603624,"longitude_deg":75.660256,"latitude_deg":11.9603624,"altitude":60,"angle":335,"satellites":34,"speed":36,"hex_longitude":"2d18d6c0","hex_latitude":"072101a8","is_valid_coordinates":true} 
[2026-06-02 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781492736001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125340803693281280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792784526032031744,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780396461000,"timestamp_ms":1780396461000,"timestamp_seconds":1780396461,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e60bc8"} 
[2026-06-02 16:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:05: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-06-02 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 16:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":91008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:12] 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-06-02 16:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781492736001,"66":13993,"103":206,"83":41984,"24":36,"16":125340803693281280,"45":1792784526032031744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781492736001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125340803693281280,"km_value":125340803693281.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792784526032031744,"description":"Unknown IO ID 45"} 
[2026-06-02 16:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781492736001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1792784526032031744}} 
[2026-06-02 16:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":91008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:05:13] local.INFO: GPS data processed {"connection_id":91008,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:05:13] local.INFO: Acknowledgment sent {"connection_id":91008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:05:23] local.INFO: TCP Data received {"connection_id":91009,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:05:23] local.INFO: Processing buffer {"connection_id":91009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:05:23] local.INFO: IMEI packet received {"connection_id":91009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":91009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:05:28] local.INFO: TCP Data received {"connection_id":91009,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:05:28] local.INFO: Processing buffer {"connection_id":91009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:05:28] local.INFO: IMEI packet received {"connection_id":91009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":91009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:05:29] local.INFO: TCP Data received {"connection_id":91009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:05:29] local.INFO: Processing buffer {"connection_id":91009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e20488012cb2a4c007751480001c00262e..."} 
[2026-06-02 16:05:29] local.INFO: Packet analysis {"connection_id":91009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:05:29] local.INFO: Extracted packet for processing {"connection_id":91009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e2"} 
[2026-06-02 16:05:29] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113472,"longitude_deg":74.9905088,"latitude_deg":12.5113472,"altitude":28,"angle":38,"satellites":46,"speed":1,"hex_longitude":"2cb2a4c0","hex_latitude":"07751480","is_valid_coordinates":true} 
[2026-06-02 16:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781424896001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237250560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:29] 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-06-02 16:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780396197000,"timestamp_ms":1780396197000,"timestamp_seconds":1780396197,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e20488"} 
[2026-06-02 16:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:05: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-06-02 16: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":124,"data_length":795,"current_offset":136} 
[2026-06-02 16:05:29] 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-06-02 16: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-06-02 16:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:05:29] 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-06-02 16:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781424896001,"66":27615,"215":206,"85":36608,"24":1,"16":305942988784140288,"44":-5574471144237250560},"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-06-02 16:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781424896001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:05:29] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237250560,"description":"Unknown IO ID 44"} 
[2026-06-02 16:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781424896001,"power":27615,"unknown_215":206,"unknown_85":36608,"ignition":1,"odometer":null,"unknown_44":-5574471144237250560}} 
[2026-06-02 16:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":91009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:05:29] local.INFO: GPS data processed {"connection_id":91009,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:05:29] local.INFO: Acknowledgment sent {"connection_id":91009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:05:44] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:44] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:44] local.INFO: IMEI packet received {"connection_id":89934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":89934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:05:44] local.INFO: TCP Data received {"connection_id":91008,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e61780012d18d38007210bf8003d015b22..."} 
[2026-06-02 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e61780012d18d38007210bf8003d015b22..."} 
[2026-06-02 16:05:44] local.INFO: Processing buffer {"connection_id":91008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e61780012d18d38007210bf8003d015b22..."} 
[2026-06-02 16:05:44] local.INFO: Packet analysis {"connection_id":91008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:05:44] local.INFO: Extracted packet for processing {"connection_id":91008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119606264,"longitude_deg":75.6601728,"latitude_deg":11.9606264,"altitude":61,"angle":347,"satellites":34,"speed":36,"hex_longitude":"2d18d380","hex_latitude":"07210bf8","is_valid_coordinates":true} 
[2026-06-02 16:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781494016001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125340936837267456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777411584,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780396464000,"timestamp_ms":1780396464000,"timestamp_seconds":1780396464,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e61780"} 
[2026-06-02 16:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:05: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-06-02 16:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 16:05:44] 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-06-02 16:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":91008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":91008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:05:44] 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-06-02 16:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781494016001,"66":13993,"103":206,"83":41984,"24":36,"16":125340936837267456,"45":1789829038777411584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781494016001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:05:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125340936837267456,"km_value":125340936837267.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777411584,"description":"Unknown IO ID 45"} 
[2026-06-02 16:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781494016001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1789829038777411584}} 
[2026-06-02 16:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":91008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:05:44] local.INFO: GPS data processed {"connection_id":91008,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:05:44] local.INFO: Acknowledgment sent {"connection_id":91008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:05:44] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:44] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:44] local.INFO: IMEI packet received {"connection_id":89934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":89934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:05:49] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:49] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:05:49] local.INFO: IMEI packet received {"connection_id":89934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":89934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:05:54] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 16:05:54] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87cafe00012d7a0fc005ec8030000c00ff1c..."} 
[2026-06-02 16:05:54] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ca"} 
[2026-06-02 16:05:54] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ca"} 
[2026-06-02 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385392,"longitude_deg":76.2974144,"latitude_deg":9.9385392,"altitude":12,"angle":255,"satellites":28,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-06-02 16:05: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-06-02 16:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781040128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 16:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1780394688000,"timestamp_ms":1780394688000,"timestamp_seconds":1780394688,"priority":1,"record_length":96,"hex_timestamp":"0000019e87cafe00"} 
[2026-06-02 16:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4864,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":19,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-06-02 16:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2327,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781040128001,"66":5090,"157":206,"87":13824,"24":0,"16":87834662478544896,"45":8795459728953061376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 16:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781040128001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:05:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 16:05:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87834662478544896,"km_value":87834662478544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953061376,"description":"Unknown IO ID 45"} 
[2026-06-02 16:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781040128001,"power":5090,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953061376}} 
[2026-06-02 16:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:05:54] local.INFO: GPS data processed {"connection_id":89934,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:05:54] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:06:00] local.INFO: TCP Data received {"connection_id":91009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:06:00] local.INFO: Processing buffer {"connection_id":91009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:06:00] local.INFO: Packet analysis {"connection_id":91009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:00] local.INFO: Extracted packet for processing {"connection_id":91009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06: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-06-02 16:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:06:00] 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-06-02 16:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:06: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-06-02 16:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"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-06-02 16:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:06:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:06:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":91009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:06:00] local.INFO: GPS data processed {"connection_id":91009,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:06:00] local.INFO: Acknowledgment sent {"connection_id":91009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:06:05] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:06:05] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:06:05] local.INFO: IMEI packet received {"connection_id":89833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":89833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:06:10] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:06:10] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:06:10] local.INFO: IMEI packet received {"connection_id":89833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":89833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:06:11] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6b7a8012d1895c0072179c0004b012721..."} 
[2026-06-02 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6b7a8012d1895c0072179c0004b012721..."} 
[2026-06-02 16:06:11] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6b7a8012d1895c0072179c0004b012721..."} 
[2026-06-02 16:06:11] local.INFO: Packet analysis {"connection_id":89833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:11] local.INFO: Extracted packet for processing {"connection_id":89833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756585920,"raw_latitude":119634368,"longitude_deg":75.658592,"latitude_deg":11.9634368,"altitude":75,"angle":295,"satellites":33,"speed":36,"hex_longitude":"2d1895c0","hex_latitude":"072179c0","is_valid_coordinates":true} 
[2026-06-02 16:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781504256001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125342629054382080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077484390400,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:11] 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-06-02 16:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780396505000,"timestamp_ms":1780396505000,"timestamp_seconds":1780396505,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6b7a8"} 
[2026-06-02 16:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:06: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-06-02 16:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-02 16:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:06:11] 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-06-02 16:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781504256001,"66":13798,"106":206,"83":41984,"24":36,"16":125342629054382080,"45":1775333077484390400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 16:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781504256001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:06:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 16:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125342629054382080,"km_value":125342629054382.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077484390400,"description":"Unknown IO ID 45"} 
[2026-06-02 16:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781504256001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1775333077484390400}} 
[2026-06-02 16:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":89833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:06:11] local.INFO: GPS data processed {"connection_id":89833,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:06:11] local.INFO: Acknowledgment sent {"connection_id":89833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:06:23] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:06:23] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:06:23] local.INFO: IMEI packet received {"connection_id":89563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":89563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:06:25] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":561,"data_hex":"00000000000002258e0700000000000109a00100000000000000000000000000..."} 
[2026-06-02 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":561,"packet_hex":"00000000000002258e0700000000000109a00100000000000000000000000000..."} 
[2026-06-02 16:06:25] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":561,"buffer_hex":"00000000000002258e0700000000000109a00100000000000000000000000000..."} 
[2026-06-02 16:06:25] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e07000000000001"} 
[2026-06-02 16:06:25] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e07000000000001"} 
[2026-06-02 16:06: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-06-02 16:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-06-02 16:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781040128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953061376,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:06: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-06-02 16:06:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":7,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:06:25] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":7,"crc_valid":false} 
[2026-06-02 16:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:06:25] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:06:25] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:06:25] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":7,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:06:28] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:06:28] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:06:28] local.INFO: IMEI packet received {"connection_id":89563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":89563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:06:30] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:06:30] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:06:30] local.INFO: Packet analysis {"connection_id":89563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:30] local.INFO: Extracted packet for processing {"connection_id":89563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:30] 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-06-02 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:06: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-06-02 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:06:30] 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-06-02 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"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-06-02 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":89563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:06:30] local.INFO: GPS data processed {"connection_id":89563,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:06:30] local.INFO: Acknowledgment sent {"connection_id":89563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:06:42] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6cb30012d18844007218050004b011b21..."} 
[2026-06-02 16:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6cb30012d18844007218050004b011b21..."} 
[2026-06-02 16:06:42] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6cb30012d18844007218050004b011b21..."} 
[2026-06-02 16:06:42] local.INFO: Packet analysis {"connection_id":89833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:42] local.INFO: Extracted packet for processing {"connection_id":89833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756581440,"raw_latitude":119636048,"longitude_deg":75.658144,"latitude_deg":11.9636048,"altitude":75,"angle":283,"satellites":33,"speed":36,"hex_longitude":"2d188440","hex_latitude":"07218050","is_valid_coordinates":true} 
[2026-06-02 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781505280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125342856687648768,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771533165299089408,"note":"Value kept but may cause issues"} 
[2026-06-02 16:06:42] 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-06-02 16:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780396510000,"timestamp_ms":1780396510000,"timestamp_seconds":1780396510,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6cb30"} 
[2026-06-02 16:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 16:06:42] 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-06-02 16:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:06:42] 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-06-02 16:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781505280001,"66":13798,"106":206,"83":41984,"24":36,"16":125342856687648768,"45":1771533165299089408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 16:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781505280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:06:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 16:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125342856687648768,"km_value":125342856687648.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771533165299089408,"description":"Unknown IO ID 45"} 
[2026-06-02 16:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781505280001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1771533165299089408}} 
[2026-06-02 16:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":89833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:06:42] local.INFO: GPS data processed {"connection_id":89833,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:06:42] local.INFO: Acknowledgment sent {"connection_id":89833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:06:56] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":93,"data_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-06-02 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":93,"packet_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-06-02 16:06:56] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-06-02 16:06:56] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-06-02 16:06:56] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-06-02 16:06: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-06-02 16: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":93,"current_offset":40} 
[2026-06-02 16:06:56] 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-06-02 16:06:56] 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-06-02 16:06:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:06:56] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 16:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:06:56] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:06:56] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:06:56] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:07:01] local.INFO: TCP Data received {"connection_id":89563,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:07:01] local.INFO: Processing buffer {"connection_id":89563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:07:01] local.INFO: Packet analysis {"connection_id":89563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:07:01] local.INFO: Extracted packet for processing {"connection_id":89563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:07:01] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:01] 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-06-02 16:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:07: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-06-02 16:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:07:01] 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-06-02 16:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:07:01] 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-06-02 16:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"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-06-02 16:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:07:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:07:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":89563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:07:01] local.INFO: GPS data processed {"connection_id":89563,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:07:01] local.INFO: Acknowledgment sent {"connection_id":89563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:07:05] local.INFO: TCP Data received {"connection_id":91011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:07:05] local.INFO: Processing buffer {"connection_id":91011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:07:05] local.INFO: IMEI packet received {"connection_id":91011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":91011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:07:08] local.INFO: TCP Data received {"connection_id":91011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:07:08] local.INFO: Processing buffer {"connection_id":91011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:07:08] local.INFO: IMEI packet received {"connection_id":91011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":91011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:07:09] local.INFO: TCP Data received {"connection_id":91011,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6d300012d187cc007218110004b010e22..."} 
[2026-06-02 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6d300012d187cc007218110004b010e22..."} 
[2026-06-02 16:07:09] local.INFO: Processing buffer {"connection_id":91011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6d300012d187cc007218110004b010e22..."} 
[2026-06-02 16:07:09] local.INFO: Packet analysis {"connection_id":91011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:07:09] local.INFO: Extracted packet for processing {"connection_id":91011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":756579520,"raw_latitude":119636240,"longitude_deg":75.657952,"latitude_deg":11.963624,"altitude":75,"angle":270,"satellites":34,"speed":36,"hex_longitude":"2d187cc0","hex_latitude":"07218110","is_valid_coordinates":true} 
[2026-06-02 16:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781506560001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125342946881961984,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766607353207083008,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780396512000,"timestamp_ms":1780396512000,"timestamp_seconds":1780396512,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6d300"} 
[2026-06-02 16:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-02 16:07: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-06-02 16:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":91011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":91011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":91011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:07:09] 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-06-02 16:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781506560001,"66":13820,"105":206,"83":41984,"24":36,"16":125342946881961984,"45":1766607353207083008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781506560001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:07:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:07:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125342946881961984,"km_value":125342946881961.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766607353207083008,"description":"Unknown IO ID 45"} 
[2026-06-02 16:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781506560001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1766607353207083008}} 
[2026-06-02 16:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":91011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:07:09] local.INFO: GPS data processed {"connection_id":91011,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:07:09] local.INFO: Acknowledgment sent {"connection_id":91011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:07:23] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:07:23] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:07:23] local.INFO: IMEI packet received {"connection_id":89564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":89564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:07:26] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":93,"data_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-06-02 16:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":93,"packet_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-06-02 16:07:26] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-06-02 16:07:26] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-06-02 16:07:26] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-06-02 16:07: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-06-02 16:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-02 16:07:26] 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-06-02 16:07:26] 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-06-02 16:07:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:07:26] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 16:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:07:26] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:07:26] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:07:26] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:07:28] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:07:28] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:07:28] local.INFO: IMEI packet received {"connection_id":89564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":89564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:07:30] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:07:30] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:07:30] local.INFO: Packet analysis {"connection_id":89564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:07:30] local.INFO: Extracted packet for processing {"connection_id":89564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:30] 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-06-02 16:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:07: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-06-02 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:07:30] 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-06-02 16:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:07: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-06-02 16:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"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-06-02 16:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":89564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:07:30] local.INFO: GPS data processed {"connection_id":89564,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:07:30] local.INFO: Acknowledgment sent {"connection_id":89564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:07:40] local.INFO: TCP Data received {"connection_id":91011,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e803b0012d1845800721e740005a002323..."} 
[2026-06-02 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e803b0012d1845800721e740005a002323..."} 
[2026-06-02 16:07:40] local.INFO: Processing buffer {"connection_id":91011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e803b0012d1845800721e740005a002323..."} 
[2026-06-02 16:07:40] local.INFO: Packet analysis {"connection_id":91011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e8"} 
[2026-06-02 16:07:40] local.INFO: Extracted packet for processing {"connection_id":91011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e8"} 
[2026-06-02 16:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756565376,"raw_latitude":119662400,"longitude_deg":75.6565376,"latitude_deg":11.96624,"altitude":90,"angle":35,"satellites":35,"speed":32,"hex_longitude":"2d184580","hex_latitude":"0721e740","is_valid_coordinates":true} 
[2026-06-02 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781523968001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125345167380054016,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743104192656420864,"note":"Value kept but may cause issues"} 
[2026-06-02 16:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780396590000,"timestamp_ms":1780396590000,"timestamp_seconds":1780396590,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e803b0"} 
[2026-06-02 16:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-02 16:07:40] 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-06-02 16:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":91011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":91011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":91011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:07:40] 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-06-02 16:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781523968001,"66":14048,"105":206,"83":41984,"24":32,"16":125345167380054016,"45":1743104192656420864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781523968001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:07:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125345167380054016,"km_value":125345167380054.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743104192656420864,"description":"Unknown IO ID 45"} 
[2026-06-02 16:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781523968001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1743104192656420864}} 
[2026-06-02 16:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":91011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:07:40] local.INFO: GPS data processed {"connection_id":91011,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:07:40] local.INFO: Acknowledgment sent {"connection_id":91011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:07:58] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":93,"data_hex":"00000000000000518e01000000000001ffb80100000000000000000000000000..."} 
[2026-06-02 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":93,"packet_hex":"00000000000000518e01000000000001ffb80100000000000000000000000000..."} 
[2026-06-02 16:07:58] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000001ffb80100000000000000000000000000..."} 
[2026-06-02 16:07:58] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-06-02 16:07:58] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-06-02 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 16: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":93,"current_offset":40} 
[2026-06-02 16:07:58] 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-06-02 16:07:58] 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-06-02 16:07:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:07:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 16:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:07:58] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:07:58] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:07:58] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:08:01] local.INFO: TCP Data received {"connection_id":89564,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:08:01] local.INFO: Processing buffer {"connection_id":89564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:08:01] local.INFO: Packet analysis {"connection_id":89564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:08:01] local.INFO: Extracted packet for processing {"connection_id":89564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:01] 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-06-02 16:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16: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-06-02 16: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:08:01] 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-06-02 16: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-06-02 16:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:08: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-06-02 16:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"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-06-02 16:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:08:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":89564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:08:01] local.INFO: GPS data processed {"connection_id":89564,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:08:01] local.INFO: Acknowledgment sent {"connection_id":89564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:08:20] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:08:20] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:08:20] local.INFO: IMEI packet received {"connection_id":89936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":89936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:08:24] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:08:24] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:08:24] local.INFO: IMEI packet received {"connection_id":89565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":89565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:08:25] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:08:25] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:08:25] local.INFO: IMEI packet received {"connection_id":89936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":89936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:08:26] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e82ea8012d185a4007220580005d002027..."} 
[2026-06-02 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e82ea8012d185a4007220580005d002027..."} 
[2026-06-02 16:08:26] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e82ea8012d185a4007220580005d002027..."} 
[2026-06-02 16:08:26] local.INFO: Packet analysis {"connection_id":89936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e8"} 
[2026-06-02 16:08:26] local.INFO: Extracted packet for processing {"connection_id":89936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e8"} 
[2026-06-02 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":756570688,"raw_latitude":119670144,"longitude_deg":75.6570688,"latitude_deg":11.9670144,"altitude":93,"angle":32,"satellites":39,"speed":33,"hex_longitude":"2d185a40","hex_latitude":"07220580","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781527040001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125345618351620096,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748944798425235456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780396601000,"timestamp_ms":1780396601000,"timestamp_seconds":1780396601,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e82ea8"} 
[2026-06-02 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-06-02 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 16:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 16:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:08:26] 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-06-02 16:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781527040001,"66":13993,"105":206,"83":41984,"24":33,"16":125345618351620096,"45":1748944798425235456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781527040001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:08:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:08:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125345618351620096,"km_value":125345618351620.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748944798425235456,"description":"Unknown IO ID 45"} 
[2026-06-02 16:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781527040001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1748944798425235456}} 
[2026-06-02 16:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":89936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:08:26] local.INFO: GPS data processed {"connection_id":89936,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:08:26] local.INFO: Acknowledgment sent {"connection_id":89936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:08:28] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:08:28] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:08:28] local.INFO: IMEI packet received {"connection_id":89565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":89565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:08:30] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":93,"data_hex":"00000000000000518e0100000000000251c00100000000000000000000000000..."} 
[2026-06-02 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":93,"packet_hex":"00000000000000518e0100000000000251c00100000000000000000000000000..."} 
[2026-06-02 16:08:30] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000251c00100000000000000000000000000..."} 
[2026-06-02 16:08:30] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000002"} 
[2026-06-02 16:08:30] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000002"} 
[2026-06-02 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 16:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-02 16:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:08:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:08:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 16:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:08:30] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:08:30] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:08:30] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:08:32] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:08:32] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:08:32] local.INFO: Packet analysis {"connection_id":89565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:08:32] local.INFO: Extracted packet for processing {"connection_id":89565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:08: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-06-02 16:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:08:32] 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-06-02 16:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:08:32] 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-06-02 16:08: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-06-02 16:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:08:32] 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-06-02 16:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:08:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":89565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:08:32] local.INFO: GPS data processed {"connection_id":89565,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:08:32] local.INFO: Acknowledgment sent {"connection_id":89565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:09:03] local.INFO: TCP Data received {"connection_id":89565,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:09:03] local.INFO: Processing buffer {"connection_id":89565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:09:03] local.INFO: Packet analysis {"connection_id":89565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:09:03] local.INFO: Extracted packet for processing {"connection_id":89565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:09:03] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:03] 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-06-02 16:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:09:03] 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-06-02 16: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-06-02 16:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:09:03] 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-06-02 16:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:09:03] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":89565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:09:03] local.INFO: GPS data processed {"connection_id":89565,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:09:03] local.INFO: Acknowledgment sent {"connection_id":89565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:09:05] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":171,"data_hex":"000000000000009f8e02000000000002a3c80100000000000000000000000000..."} 
[2026-06-02 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":171,"packet_hex":"000000000000009f8e02000000000002a3c80100000000000000000000000000..."} 
[2026-06-02 16:09:05] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":171,"buffer_hex":"000000000000009f8e02000000000002a3c80100000000000000000000000000..."} 
[2026-06-02 16:09:05] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000000000002"} 
[2026-06-02 16:09:05] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000000000002"} 
[2026-06-02 16:09: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-06-02 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-06-02 16:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:09:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":173000,"timestamp_seconds":173,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:09:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":2,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:09:05] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":2,"crc_valid":false} 
[2026-06-02 16:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:09:05] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:09:05] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:09:05] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":2,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:09:24] local.INFO: TCP Data received {"connection_id":89566,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:09:24] local.INFO: Processing buffer {"connection_id":89566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:09:24] local.INFO: IMEI packet received {"connection_id":89566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":89566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:09:28] local.INFO: TCP Data received {"connection_id":89566,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:09:28] local.INFO: Processing buffer {"connection_id":89566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:09:28] local.INFO: IMEI packet received {"connection_id":89566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":89566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:09:30] local.INFO: TCP Data received {"connection_id":89566,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:09:30] local.INFO: Processing buffer {"connection_id":89566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:09:30] local.INFO: Packet analysis {"connection_id":89566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:09:30] local.INFO: Extracted packet for processing {"connection_id":89566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:30] 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-06-02 16:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:09: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-06-02 16: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:09:30] 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-06-02 16: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-06-02 16:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:09:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":89566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:09:30] local.INFO: GPS data processed {"connection_id":89566,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:09:30] local.INFO: Acknowledgment sent {"connection_id":89566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:09:36] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":249,"data_hex":"00000000000000ed8e03000000000002f5d00100000000000000000000000000..."} 
[2026-06-02 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":249,"packet_hex":"00000000000000ed8e03000000000002f5d00100000000000000000000000000..."} 
[2026-06-02 16:09:36] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000000000002f5d00100000000000000000000000000..."} 
[2026-06-02 16:09:36] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000000000002"} 
[2026-06-02 16:09:36] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000000000002"} 
[2026-06-02 16:09: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-06-02 16: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":249,"current_offset":40} 
[2026-06-02 16:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:09:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194000,"timestamp_seconds":194,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:09:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":3,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:09:36] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":3,"crc_valid":false} 
[2026-06-02 16:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:09:36] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:09:36] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:09:36] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":3,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:09:40] local.INFO: TCP Data received {"connection_id":89937,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:09:40] local.INFO: Processing buffer {"connection_id":89937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:09:40] local.INFO: IMEI packet received {"connection_id":89937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":89937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:09:41] local.INFO: TCP Data received {"connection_id":89937,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89937,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 16:09:41] local.INFO: Processing buffer {"connection_id":89937,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 16:09:41] local.INFO: IMEI packet received {"connection_id":89937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":89937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:09:45] local.INFO: TCP Data received {"connection_id":89937,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:09:45] local.INFO: Processing buffer {"connection_id":89937,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-02 16:09:45] local.INFO: IMEI packet received {"connection_id":89937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":89937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:09:46] local.INFO: TCP Data received {"connection_id":89937,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ea3630012d192ec0072334800053002d1f..."} 
[2026-06-02 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ea3630012d192ec0072334800053002d1f..."} 
[2026-06-02 16:09:46] local.INFO: Processing buffer {"connection_id":89937,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019e87..."} 
[2026-06-02 16:09:46] local.INFO: IMEI packet received {"connection_id":89937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":89937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:09:47] local.INFO: TCP Data received {"connection_id":89937,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ea5570012d194800072352e8004c002220..."} 
[2026-06-02 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ea5570012d194800072352e8004c002220..."} 
[2026-06-02 16:09:47] local.INFO: Processing buffer {"connection_id":89937,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e87ea3630012d192ec0072334800053002d1f..."} 
[2026-06-02 16:09:47] local.INFO: Packet analysis {"connection_id":89937,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:09:47] local.INFO: Extracted packet for processing {"connection_id":89937,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756625088,"raw_latitude":119747712,"longitude_deg":75.6625088,"latitude_deg":11.9747712,"altitude":83,"angle":45,"satellites":31,"speed":46,"hex_longitude":"2d192ec0","hex_latitude":"07233480","is_valid_coordinates":true} 
[2026-06-02 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781561856001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125350849621786624,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807421224857096192,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780396734000,"timestamp_ms":1780396734000,"timestamp_seconds":1780396734,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ea3630"} 
[2026-06-02 16:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:09: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-06-02 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 16:09: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-06-02 16:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:09:47] 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-06-02 16:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781561856001,"66":13928,"186":206,"83":42752,"24":46,"16":125350849621786624,"45":1807421224857096192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 16:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781561856001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:09:47] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 16:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125350849621786624,"km_value":125350849621786.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807421224857096192,"description":"Unknown IO ID 45"} 
[2026-06-02 16:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781561856001,"power":13928,"unknown_186":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1807421224857096192}} 
[2026-06-02 16:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":89937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:09:48] local.INFO: GPS data processed {"connection_id":89937,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:09:48] local.INFO: Acknowledgment sent {"connection_id":89937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:09:48] local.INFO: Packet analysis {"connection_id":89937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:09:48] local.INFO: Extracted packet for processing {"connection_id":89937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756631552,"raw_latitude":119755496,"longitude_deg":75.6631552,"latitude_deg":11.9755496,"altitude":76,"angle":34,"satellites":32,"speed":52,"hex_longitude":"2d194800","hex_latitude":"072352e8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781563904001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125351339248058368,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814598836764835840,"note":"Value kept but may cause issues"} 
[2026-06-02 16:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780396742000,"timestamp_ms":1780396742000,"timestamp_seconds":1780396742,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ea5570"} 
[2026-06-02 16:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:09: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-06-02 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 16:09:48] 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-06-02 16: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-06-02 16:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:09:48] 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-06-02 16:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781563904001,"66":13396,"186":206,"83":42752,"24":52,"16":125351339248058368,"45":1814598836764835840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 16:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781563904001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:09:48] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 16:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125351339248058368,"km_value":125351339248058.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814598836764835840,"description":"Unknown IO ID 45"} 
[2026-06-02 16:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781563904001,"power":13396,"unknown_186":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":1814598836764835840}} 
[2026-06-02 16:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":89937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:09:48] local.INFO: GPS data processed {"connection_id":89937,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:09:48] local.INFO: Acknowledgment sent {"connection_id":89937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:10:01] local.INFO: TCP Data received {"connection_id":89566,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:10:01] local.INFO: Processing buffer {"connection_id":89566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:10:01] local.INFO: Packet analysis {"connection_id":89566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:10:01] local.INFO: Extracted packet for processing {"connection_id":89566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:10:01] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:01] 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-06-02 16:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:10: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-06-02 16:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:10:01] 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-06-02 16:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-06-02 16:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:10:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":89566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:10:01] local.INFO: GPS data processed {"connection_id":89566,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:10:01] local.INFO: Acknowledgment sent {"connection_id":89566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:10:07] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.42","data_length":327,"data_hex":"000000000000013b8e0400000000000347d80100000000000000000000000000..."} 
[2026-06-02 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":327,"packet_hex":"000000000000013b8e0400000000000347d80100000000000000000000000000..."} 
[2026-06-02 16:10:07] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":327,"buffer_hex":"000000000000013b8e0400000000000347d80100000000000000000000000000..."} 
[2026-06-02 16:10:07] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000000000003"} 
[2026-06-02 16:10:07] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000000000003"} 
[2026-06-02 16:10: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-06-02 16:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-06-02 16:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:10:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":215000,"timestamp_seconds":215,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:10:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":4,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:10:07] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":0,"avl_records_expected":4,"crc_valid":false} 
[2026-06-02 16:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:10:07] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:10:07] local.ERROR: GPS data processing failed {"connection_id":89934,"error":"No valid data to process"} 
[2026-06-02 16:10:07] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":0,"records_expected":4,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:10:10] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:10] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:10] local.INFO: IMEI packet received {"connection_id":89835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":89835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:10:14] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:14] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:14] local.INFO: IMEI packet received {"connection_id":89835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":89835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:10:15] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:15] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:10:15] local.INFO: IMEI packet received {"connection_id":89835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":89835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:10:16] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ea5570012d194800072352e8004c002220..."} 
[2026-06-02 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ea5570012d194800072352e8004c002220..."} 
[2026-06-02 16:10:16] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ea5570012d194800072352e8004c002220..."} 
[2026-06-02 16:10:16] local.INFO: Packet analysis {"connection_id":89835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:10:16] local.INFO: Extracted packet for processing {"connection_id":89835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756631552,"raw_latitude":119755496,"longitude_deg":75.6631552,"latitude_deg":11.9755496,"altitude":76,"angle":34,"satellites":32,"speed":52,"hex_longitude":"2d194800","hex_latitude":"072352e8","is_valid_coordinates":true} 
[2026-06-02 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781565952001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125351339248058368,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821706079928772608,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780396742000,"timestamp_ms":1780396742000,"timestamp_seconds":1780396742,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ea5570"} 
[2026-06-02 16:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-02 16:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:10:16] 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-06-02 16:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781565952001,"66":13396,"186":206,"83":42752,"24":52,"16":125351339248058368,"45":1821706079928772608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-06-02 16:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781565952001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:10:16] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-02 16:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125351339248058368,"km_value":125351339248058.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821706079928772608,"description":"Unknown IO ID 45"} 
[2026-06-02 16:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781565952001,"power":13396,"unknown_186":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":1821706079928772608}} 
[2026-06-02 16:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":89835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:10:16] local.INFO: GPS data processed {"connection_id":89835,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:10:16] local.INFO: Acknowledgment sent {"connection_id":89835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:10:20] local.INFO: TCP Data received {"connection_id":89835,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ea70c8012d195c00072373a00048001b1f..."} 
[2026-06-02 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ea70c8012d195c00072373a00048001b1f..."} 
[2026-06-02 16:10:20] local.INFO: Processing buffer {"connection_id":89835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ea70c8012d195c00072373a00048001b1f..."} 
[2026-06-02 16:10:20] local.INFO: Packet analysis {"connection_id":89835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:10:20] local.INFO: Extracted packet for processing {"connection_id":89835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ea"} 
[2026-06-02 16:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756636672,"raw_latitude":119763872,"longitude_deg":75.6636672,"latitude_deg":11.9763872,"altitude":72,"angle":27,"satellites":31,"speed":57,"hex_longitude":"2d195c00","hex_latitude":"072373a0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781565952001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125351811694460928,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821706079928772608,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:20] 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-06-02 16:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780396749000,"timestamp_ms":1780396749000,"timestamp_seconds":1780396749,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ea70c8"} 
[2026-06-02 16:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-02 16:10:20] 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-06-02 16: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-06-02 16:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:10:20] 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-06-02 16:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781565952001,"66":14428,"177":206,"83":42752,"24":57,"16":125351811694460928,"45":1821706079928772608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-06-02 16:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781565952001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:10:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-02 16:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125351811694460928,"km_value":125351811694460.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821706079928772608,"description":"Unknown IO ID 45"} 
[2026-06-02 16:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781565952001,"power":14428,"unknown_177":206,"unknown_83":42752,"ignition":57,"odometer":null,"unknown_45":1821706079928772608}} 
[2026-06-02 16:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":89835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:10:21] local.INFO: GPS data processed {"connection_id":89835,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:10:21] local.INFO: Acknowledgment sent {"connection_id":89835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:10:23] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:10:23] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:10:23] local.INFO: IMEI packet received {"connection_id":89939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":89939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:10:23] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:10:23] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:10:23] local.INFO: IMEI packet received {"connection_id":89938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":89938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:10:28] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:10:28] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:10:28] local.INFO: IMEI packet received {"connection_id":89939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":89939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:10:29] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:10:29] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:10:29] local.INFO: IMEI packet received {"connection_id":89938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":89938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:10:29] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.42","data_length":405,"data_hex":"00000000000001898e0500000000000399e00100000000000000000000000000..."} 
[2026-06-02 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":405,"packet_hex":"00000000000001898e0500000000000399e00100000000000000000000000000..."} 
[2026-06-02 16:10:29] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":405,"buffer_hex":"00000000000001898e0500000000000399e00100000000000000000000000000..."} 
[2026-06-02 16:10:29] local.INFO: Packet analysis {"connection_id":89938,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000000000003"} 
[2026-06-02 16:10:29] local.INFO: Extracted packet for processing {"connection_id":89938,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000000000003"} 
[2026-06-02 16:10: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-06-02 16:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-06-02 16:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:10:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":236000,"timestamp_seconds":236,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:10:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":5,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:10:29] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89938,"avl_records_parsed":0,"avl_records_expected":5,"crc_valid":false} 
[2026-06-02 16:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:10:29] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":89938,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:10:29] local.ERROR: GPS data processing failed {"connection_id":89938,"error":"No valid data to process"} 
[2026-06-02 16:10:29] local.INFO: Acknowledgment sent {"connection_id":89938,"records_acknowledged":0,"records_expected":5,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:10:30] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:10:30] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87e6a808012cb2a4c0077514b8001c00262e..."} 
[2026-06-02 16:10:30] local.INFO: Packet analysis {"connection_id":89939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:10:30] local.INFO: Extracted packet for processing {"connection_id":89939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87e6"} 
[2026-06-02 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781426432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516249600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:10:30] 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-06-02 16:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780396501000,"timestamp_ms":1780396501000,"timestamp_seconds":1780396501,"priority":1,"record_length":96,"hex_timestamp":"0000019e87e6a808"} 
[2026-06-02 16:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:10: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-06-02 16: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-02 16:10:30] 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-06-02 16: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-06-02 16:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781426432001,"66":26321,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516249600},"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-06-02 16:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781426432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:10:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516249600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781426432001,"power":26321,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516249600}} 
[2026-06-02 16:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":89939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:10:30] local.INFO: GPS data processed {"connection_id":89939,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:10:30] local.INFO: Acknowledgment sent {"connection_id":89939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:10:58] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:10:58] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:10:58] local.INFO: IMEI packet received {"connection_id":89940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":89940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:11:00] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.42","data_length":483,"data_hex":"00000000000001d78e06000000000003ebe80100000000000000000000000000..."} 
[2026-06-02 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":483,"packet_hex":"00000000000001d78e06000000000003ebe80100000000000000000000000000..."} 
[2026-06-02 16:11:00] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":483,"buffer_hex":"00000000000001d78e06000000000003ebe80100000000000000000000000000..."} 
[2026-06-02 16:11:00] local.INFO: Packet analysis {"connection_id":89938,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000000000003"} 
[2026-06-02 16:11:00] local.INFO: Extracted packet for processing {"connection_id":89938,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000000000003"} 
[2026-06-02 16:11: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-06-02 16:11: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":483,"current_offset":40} 
[2026-06-02 16:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:11:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":257000,"timestamp_seconds":257,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:11:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":6,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:11:00] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89938,"avl_records_parsed":0,"avl_records_expected":6,"crc_valid":false} 
[2026-06-02 16:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:11:00] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":89938,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:11:00] local.ERROR: GPS data processing failed {"connection_id":89938,"error":"No valid data to process"} 
[2026-06-02 16:11:00] local.INFO: Acknowledgment sent {"connection_id":89938,"records_acknowledged":0,"records_expected":6,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:11:02] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:02] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:02] local.INFO: Packet analysis {"connection_id":89939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:02] local.INFO: Extracted packet for processing {"connection_id":89939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":45,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781504256001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516235264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:02] 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-06-02 16:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780396802000,"timestamp_ms":1780396802000,"timestamp_seconds":1780396802,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eb3fd0"} 
[2026-06-02 16:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 16:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:11: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-06-02 16:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781504256001,"66":26136,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516235264},"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-06-02 16:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781504256001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:11:02] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516235264,"description":"Unknown IO ID 44"} 
[2026-06-02 16:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781504256001,"power":26136,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516235264}} 
[2026-06-02 16:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":89939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:11:02] local.INFO: GPS data processed {"connection_id":89939,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:11:02] local.INFO: Acknowledgment sent {"connection_id":89939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:11:07] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:07] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:07] local.INFO: IMEI packet received {"connection_id":89836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":89836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:11:11] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:11] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:11] local.INFO: IMEI packet received {"connection_id":89836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":89836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:11:15] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:15] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:11:15] local.INFO: IMEI packet received {"connection_id":89836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":89836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:11:16] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eb3be8012d1a47000723d8f8002e001e28..."} 
[2026-06-02 16:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eb3be8012d1a47000723d8f8002e001e28..."} 
[2026-06-02 16:11:16] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eb3be8012d1a47000723d8f8002e001e28..."} 
[2026-06-02 16:11:16] local.INFO: Packet analysis {"connection_id":89836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:16] local.INFO: Extracted packet for processing {"connection_id":89836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756696832,"raw_latitude":119789816,"longitude_deg":75.6696832,"latitude_deg":11.9789816,"altitude":46,"angle":30,"satellites":40,"speed":34,"hex_longitude":"2d1a4700","hex_latitude":"0723d8f8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781579264001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125355123114246144,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889260074346704896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780396801000,"timestamp_ms":1780396801000,"timestamp_seconds":1780396801,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eb3be8"} 
[2026-06-02 16:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:11: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-06-02 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-02 16:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:11:16] 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-06-02 16:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781579264001,"66":14396,"43":206,"83":42752,"24":34,"16":125355123114246144,"45":1889260074346704896},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-06-02 16:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781579264001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:11:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 16:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125355123114246144,"km_value":125355123114246.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889260074346704896,"description":"Unknown IO ID 45"} 
[2026-06-02 16:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781579264001,"power":14396,"unknown_43":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1889260074346704896}} 
[2026-06-02 16:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":89836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:11:16] local.INFO: GPS data processed {"connection_id":89836,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:11:16] local.INFO: Acknowledgment sent {"connection_id":89836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:11:19] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eb62f8012d1a5b000723f6d0002c002227..."} 
[2026-06-02 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eb62f8012d1a5b000723f6d0002c002227..."} 
[2026-06-02 16:11:19] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eb62f8012d1a5b000723f6d0002c002227..."} 
[2026-06-02 16:11:19] local.INFO: Packet analysis {"connection_id":89836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:19] local.INFO: Extracted packet for processing {"connection_id":89836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756701952,"raw_latitude":119797456,"longitude_deg":75.6701952,"latitude_deg":11.9797456,"altitude":44,"angle":34,"satellites":39,"speed":43,"hex_longitude":"2d1a5b00","hex_latitude":"0723f6d0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781581056001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125355565495877632,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893482198998775808,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:19] 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-06-02 16:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780396811000,"timestamp_ms":1780396811000,"timestamp_seconds":1780396811,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eb62f8"} 
[2026-06-02 16:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 16:11: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-06-02 16: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-06-02 16:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:11:19] 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-06-02 16:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781581056001,"66":14515,"137":206,"83":42752,"24":43,"16":125355565495877632,"45":1893482198998775808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 16:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781581056001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:11:19] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 16:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125355565495877632,"km_value":125355565495877.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893482198998775808,"description":"Unknown IO ID 45"} 
[2026-06-02 16:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781581056001,"power":14515,"unknown_137":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1893482198998775808}} 
[2026-06-02 16:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":89836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:11:19] local.INFO: GPS data processed {"connection_id":89836,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:11:19] local.INFO: Acknowledgment sent {"connection_id":89836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:11:28] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:11:28] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:11:28] local.INFO: IMEI packet received {"connection_id":89837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":89837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:11:31] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.42","data_length":561,"data_hex":"00000000000002258e070000000000043df00100000000000000000000000000..."} 
[2026-06-02 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":561,"packet_hex":"00000000000002258e070000000000043df00100000000000000000000000000..."} 
[2026-06-02 16:11:31] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":561,"buffer_hex":"00000000000002258e070000000000043df00100000000000000000000000000..."} 
[2026-06-02 16:11:31] local.INFO: Packet analysis {"connection_id":89938,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e07000000000004"} 
[2026-06-02 16:11:31] local.INFO: Extracted packet for processing {"connection_id":89938,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e07000000000004"} 
[2026-06-02 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 16: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":561,"current_offset":40} 
[2026-06-02 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:11:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":278000,"timestamp_seconds":278,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:11:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":7,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89938,"avl_records_parsed":0,"avl_records_expected":7,"crc_valid":false} 
[2026-06-02 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:11:31] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":89938,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:11:31] local.ERROR: GPS data processing failed {"connection_id":89938,"error":"No valid data to process"} 
[2026-06-02 16:11:31] local.INFO: Acknowledgment sent {"connection_id":89938,"records_acknowledged":0,"records_expected":7,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:11:33] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:11:33] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:11:33] local.INFO: IMEI packet received {"connection_id":89837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":89837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:11:35] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:35] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:35] local.INFO: Packet analysis {"connection_id":89837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:35] local.INFO: Extracted packet for processing {"connection_id":89837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":45,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781504256001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516235264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:35] 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-06-02 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780396802000,"timestamp_ms":1780396802000,"timestamp_seconds":1780396802,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eb3fd0"} 
[2026-06-02 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-06-02 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781504256001,"66":26136,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516235264},"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-06-02 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781504256001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:11:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516235264,"description":"Unknown IO ID 44"} 
[2026-06-02 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781504256001,"power":26136,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516235264}} 
[2026-06-02 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":89837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:11:35] local.INFO: GPS data processed {"connection_id":89837,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:11:35] local.INFO: Acknowledgment sent {"connection_id":89837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:11:40] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:40] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eb3fd0012cb2a4c0077514b8001c00262d..."} 
[2026-06-02 16:11:40] local.INFO: Packet analysis {"connection_id":89837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:40] local.INFO: Extracted packet for processing {"connection_id":89837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":45,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781504256001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516235264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:40] 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-06-02 16:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780396802000,"timestamp_ms":1780396802000,"timestamp_seconds":1780396802,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eb3fd0"} 
[2026-06-02 16:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-02 16:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781504256001,"66":26136,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516235264},"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-06-02 16:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781504256001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:11:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516235264,"description":"Unknown IO ID 44"} 
[2026-06-02 16:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781504256001,"power":26136,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516235264}} 
[2026-06-02 16:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":89837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:11:40] local.INFO: GPS data processed {"connection_id":89837,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:11:40] local.INFO: Acknowledgment sent {"connection_id":89837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:11:50] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eb7298012d1a668007240410002b002e26..."} 
[2026-06-02 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eb7298012d1a668007240410002b002e26..."} 
[2026-06-02 16:11:50] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eb7298012d1a668007240410002b002e26..."} 
[2026-06-02 16:11:50] local.INFO: Packet analysis {"connection_id":89836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:50] local.INFO: Extracted packet for processing {"connection_id":89836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756704896,"raw_latitude":119800848,"longitude_deg":75.6704896,"latitude_deg":11.9800848,"altitude":43,"angle":46,"satellites":38,"speed":43,"hex_longitude":"2d1a6680","hex_latitude":"07240410","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781583616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125355780244242432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899111698534944768,"note":"Value kept but may cause issues"} 
[2026-06-02 16:11:50] 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-06-02 16:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780396815000,"timestamp_ms":1780396815000,"timestamp_seconds":1780396815,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eb7298"} 
[2026-06-02 16:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:11: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-06-02 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 16:11: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-06-02 16: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-06-02 16:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:11:50] 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-06-02 16:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781583616001,"66":14461,"137":206,"83":42752,"24":43,"16":125355780244242432,"45":1899111698534944768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 16:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781583616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:11:50] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 16:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125355780244242432,"km_value":125355780244242.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899111698534944768,"description":"Unknown IO ID 45"} 
[2026-06-02 16:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781583616001,"power":14461,"unknown_137":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1899111698534944768}} 
[2026-06-02 16:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":89836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:11:50] local.INFO: GPS data processed {"connection_id":89836,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:11:50] local.INFO: Acknowledgment sent {"connection_id":89836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:12:03] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.42","data_length":639,"data_hex":"00000000000002738e080000000000048ff80100000000000000000000000000..."} 
[2026-06-02 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":639,"packet_hex":"00000000000002738e080000000000048ff80100000000000000000000000000..."} 
[2026-06-02 16:12:03] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":639,"buffer_hex":"00000000000002738e080000000000048ff80100000000000000000000000000..."} 
[2026-06-02 16:12:03] local.INFO: Packet analysis {"connection_id":89938,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000000000004"} 
[2026-06-02 16:12:03] local.INFO: Extracted packet for processing {"connection_id":89938,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000000000004"} 
[2026-06-02 16:12:03] 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-06-02 16: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":639,"current_offset":40} 
[2026-06-02 16:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:12:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":299000,"timestamp_seconds":299,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:12:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":8,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:12:03] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89938,"avl_records_parsed":0,"avl_records_expected":8,"crc_valid":false} 
[2026-06-02 16:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89938,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:12:03] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":89938,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:12:03] local.ERROR: GPS data processing failed {"connection_id":89938,"error":"No valid data to process"} 
[2026-06-02 16:12:03] local.INFO: Acknowledgment sent {"connection_id":89938,"records_acknowledged":0,"records_expected":8,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:12:17] local.INFO: TCP Data received {"connection_id":89942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:17] local.INFO: Processing buffer {"connection_id":89942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:17] local.INFO: IMEI packet received {"connection_id":89942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":89942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:12:20] local.INFO: TCP Data received {"connection_id":89942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:20] local.INFO: Processing buffer {"connection_id":89942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:20] local.INFO: IMEI packet received {"connection_id":89942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":89942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:12:23] local.INFO: TCP Data received {"connection_id":91013,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:12:23] local.INFO: Processing buffer {"connection_id":91013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:12:23] local.INFO: IMEI packet received {"connection_id":91013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":91013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:12:24] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:12:24] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:12:24] local.INFO: IMEI packet received {"connection_id":89567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":89567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:12:24] local.INFO: TCP Data received {"connection_id":89942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:24] local.INFO: Processing buffer {"connection_id":89942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:12:24] local.INFO: IMEI packet received {"connection_id":89942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":89942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:12:25] local.INFO: TCP Data received {"connection_id":89942,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eb8238012d1a730007240d50002b003925..."} 
[2026-06-02 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eb8238012d1a730007240d50002b003925..."} 
[2026-06-02 16:12:25] local.INFO: Processing buffer {"connection_id":89942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eb8238012d1a730007240d50002b003925..."} 
[2026-06-02 16:12:25] local.INFO: Packet analysis {"connection_id":89942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:12:25] local.INFO: Extracted packet for processing {"connection_id":89942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756708096,"raw_latitude":119803216,"longitude_deg":75.6708096,"latitude_deg":11.9803216,"altitude":43,"angle":57,"satellites":37,"speed":35,"hex_longitude":"2d1a7300","hex_latitude":"07240d50","is_valid_coordinates":true} 
[2026-06-02 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781584640001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125355969222803456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902348660767985664,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:25] 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-06-02 16:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1780396819000,"timestamp_ms":1780396819000,"timestamp_seconds":1780396819,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eb8238"} 
[2026-06-02 16:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 16:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":89942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":89942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":89942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:12:25] 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-06-02 16:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781584640001,"66":14450,"137":206,"83":42752,"24":35,"16":125355969222803456,"45":1902348660767985664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 16:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781584640001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:12:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 16:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125355969222803456,"km_value":125355969222803.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902348660767985664,"description":"Unknown IO ID 45"} 
[2026-06-02 16:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781584640001,"power":14450,"unknown_137":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1902348660767985664}} 
[2026-06-02 16:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":89942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:12:25] local.INFO: GPS data processed {"connection_id":89942,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:12:25] local.INFO: Acknowledgment sent {"connection_id":89942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:12:26] local.INFO: TCP Data received {"connection_id":89942,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eba178012d1a89c0072417b0002d004822..."} 
[2026-06-02 16:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eba178012d1a89c0072417b0002d004822..."} 
[2026-06-02 16:12:26] local.INFO: Processing buffer {"connection_id":89942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eba178012d1a89c0072417b0002d004822..."} 
[2026-06-02 16:12:26] local.INFO: Packet analysis {"connection_id":89942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:12:26] local.INFO: Extracted packet for processing {"connection_id":89942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:12:26] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119805872,"longitude_deg":75.671392,"latitude_deg":11.9805872,"altitude":45,"angle":72,"satellites":34,"speed":23,"hex_longitude":"2d1a89c0","hex_latitude":"072417b0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781585664001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125356278460448768,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905867097977475072,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780396827000,"timestamp_ms":1780396827000,"timestamp_seconds":1780396827,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eba178"} 
[2026-06-02 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-06-02 16:12:26] 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-06-02 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-02 16:12:26] 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-06-02 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-06-02 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-06-02 16:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:12:26] 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-06-02 16:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781585664001,"66":13896,"137":206,"83":42752,"24":23,"16":125356278460448768,"45":1905867097977475072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 16:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781585664001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:12:26] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 16:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125356278460448768,"km_value":125356278460448.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905867097977475072,"description":"Unknown IO ID 45"} 
[2026-06-02 16:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781585664001,"power":13896,"unknown_137":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1905867097977475072}} 
[2026-06-02 16:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":89942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:12:26] local.INFO: GPS data processed {"connection_id":89942,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:12:26] local.INFO: Acknowledgment sent {"connection_id":89942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:12:28] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:12:28] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:12:28] local.INFO: IMEI packet received {"connection_id":89567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":89567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:12:29] local.INFO: TCP Data received {"connection_id":91013,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:12:29] local.INFO: Processing buffer {"connection_id":91013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:12:29] local.INFO: IMEI packet received {"connection_id":91013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":91013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:12:30] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ec68b0012cb2a4c0077514b8001c00262c..."} 
[2026-06-02 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ec68b0012cb2a4c0077514b8001c00262c..."} 
[2026-06-02 16:12:30] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ec68b0012cb2a4c0077514b8001c00262c..."} 
[2026-06-02 16:12:30] local.INFO: Packet analysis {"connection_id":89567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ec"} 
[2026-06-02 16:12:30] local.INFO: Extracted packet for processing {"connection_id":89567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ec"} 
[2026-06-02 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113528,"longitude_deg":74.9905088,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":44,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781581312001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516235264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:30] 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-06-02 16:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780396878000,"timestamp_ms":1780396878000,"timestamp_seconds":1780396878,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ec68b0"} 
[2026-06-02 16:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:12: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-02 16:12:30] 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-06-02 16:12: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-06-02 16:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:12:30] 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-06-02 16:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781581312001,"66":26115,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516235264},"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-06-02 16:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781581312001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516235264,"description":"Unknown IO ID 44"} 
[2026-06-02 16:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781581312001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516235264}} 
[2026-06-02 16:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":89567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:12:30] local.INFO: GPS data processed {"connection_id":89567,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:12:30] local.INFO: Acknowledgment sent {"connection_id":89567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:12:33] local.INFO: TCP Data received {"connection_id":91013,"ip":"42.106.6.42","data_length":717,"data_hex":"00000000000002c18e09000000000004e2000100000000000000000000000000..."} 
[2026-06-02 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91013,"packet_length":717,"packet_hex":"00000000000002c18e09000000000004e2000100000000000000000000000000..."} 
[2026-06-02 16:12:33] local.INFO: Processing buffer {"connection_id":91013,"buffer_length":717,"buffer_hex":"00000000000002c18e09000000000004e2000100000000000000000000000000..."} 
[2026-06-02 16:12:33] local.INFO: Packet analysis {"connection_id":91013,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e09000000000004"} 
[2026-06-02 16:12:33] local.INFO: Extracted packet for processing {"connection_id":91013,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e09000000000004"} 
[2026-06-02 16:12: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-06-02 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":717,"current_offset":40} 
[2026-06-02 16:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:12:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:12:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":320000,"timestamp_seconds":320,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:12:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":9,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:12:33] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 16:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91013,"avl_records_parsed":0,"avl_records_expected":9,"crc_valid":false} 
[2026-06-02 16:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91013,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91013,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-02 16:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 16:12:33] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 16:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":91013,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 16:12:33] local.ERROR: GPS data processing failed {"connection_id":91013,"error":"No valid data to process"} 
[2026-06-02 16:12:33] local.INFO: Acknowledgment sent {"connection_id":91013,"records_acknowledged":0,"records_expected":9,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 16:13:01] local.INFO: TCP Data received {"connection_id":89567,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ecc288012cb2a500077514b8001c00262d..."} 
[2026-06-02 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ecc288012cb2a500077514b8001c00262d..."} 
[2026-06-02 16:13:01] local.INFO: Processing buffer {"connection_id":89567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ecc288012cb2a500077514b8001c00262d..."} 
[2026-06-02 16:13:01] local.INFO: Packet analysis {"connection_id":89567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ec"} 
[2026-06-02 16:13:01] local.INFO: Extracted packet for processing {"connection_id":89567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ec"} 
[2026-06-02 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":749905152,"raw_latitude":125113528,"longitude_deg":74.9905152,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":45,"speed":0,"hex_longitude":"2cb2a500","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781600768001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516235264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:01] 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-06-02 16:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780396901000,"timestamp_ms":1780396901000,"timestamp_seconds":1780396901,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ecc288"} 
[2026-06-02 16:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:13: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-06-02 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 16:13: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-06-02 16: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-06-02 16:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:13:01] 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-06-02 16:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781600768001,"66":27745,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574119300516235264},"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-06-02 16:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781600768001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:13:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516235264,"description":"Unknown IO ID 44"} 
[2026-06-02 16:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781600768001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516235264}} 
[2026-06-02 16:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":89567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:13:01] local.INFO: GPS data processed {"connection_id":89567,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:13:01] local.INFO: Acknowledgment sent {"connection_id":89567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:13:05] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:05] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:05] local.INFO: IMEI packet received {"connection_id":89568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":89568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:13:06] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:06] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:06] local.INFO: IMEI packet received {"connection_id":89568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":89568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:13:08] local.INFO: TCP Data received {"connection_id":91013,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ebc8880100000000000000000000000000..."} 
[2026-06-02 16:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ebc8880100000000000000000000000000..."} 
[2026-06-02 16:13:08] local.INFO: Processing buffer {"connection_id":91013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ebc8880100000000000000000000000000..."} 
[2026-06-02 16:13:08] local.INFO: Packet analysis {"connection_id":91013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:13:08] local.INFO: Extracted packet for processing {"connection_id":91013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:13:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 16:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780396837000,"timestamp_ms":1780396837000,"timestamp_seconds":1780396837,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ebc888"} 
[2026-06-02 16:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:13:08] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 16:13:08] 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-06-02 16:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":91013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":91013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":91013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":91013,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 16:13:08] local.INFO: GPS data processed {"connection_id":91013,"processed":0,"errors":0,"total":1} 
[2026-06-02 16:13:08] local.INFO: Acknowledgment sent {"connection_id":91013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:13:15] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:15] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:13:15] local.INFO: IMEI packet received {"connection_id":89568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":89568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:13:17] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eba948012d1a8e0007241970002d003d25..."} 
[2026-06-02 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eba948012d1a8e0007241970002d003d25..."} 
[2026-06-02 16:13:17] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eba948012d1a8e0007241970002d003d25..."} 
[2026-06-02 16:13:17] local.INFO: Packet analysis {"connection_id":89568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:13:17] local.INFO: Extracted packet for processing {"connection_id":89568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87eb"} 
[2026-06-02 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756715008,"raw_latitude":119806320,"longitude_deg":75.6715008,"latitude_deg":11.980632,"altitude":45,"angle":61,"satellites":37,"speed":24,"hex_longitude":"2d1a8e00","hex_latitude":"07241970","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781587712001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125356334295023616,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653698322432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:17] 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-06-02 16:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780396829000,"timestamp_ms":1780396829000,"timestamp_seconds":1780396829,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eba948"} 
[2026-06-02 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-06-02 16:13: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-06-02 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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-06-02 16:13:17] 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-06-02 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-06-02 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-06-02 16:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:13: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-06-02 16:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781587712001,"66":14461,"137":206,"83":42752,"24":24,"16":125356334295023616,"45":1912270653698322432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-06-02 16:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781587712001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:13:17] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-02 16:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125356334295023616,"km_value":125356334295023.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653698322432,"description":"Unknown IO ID 45"} 
[2026-06-02 16:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781587712001,"power":14461,"unknown_137":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1912270653698322432}} 
[2026-06-02 16:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":89568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:13:17] local.INFO: GPS data processed {"connection_id":89568,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:13:17] local.INFO: Acknowledgment sent {"connection_id":89568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:13:18] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ed7638012d1b48000724b030002e003328..."} 
[2026-06-02 16:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ed7638012d1b48000724b030002e003328..."} 
[2026-06-02 16:13:18] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ed7638012d1b48000724b030002e003328..."} 
[2026-06-02 16:13:18] local.INFO: Packet analysis {"connection_id":89568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:13:18] local.INFO: Extracted packet for processing {"connection_id":89568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119844912,"longitude_deg":75.6762624,"latitude_deg":11.9844912,"altitude":46,"angle":51,"satellites":40,"speed":24,"hex_longitude":"2d1b4800","hex_latitude":"0724b030","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781614080001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125359332182196224,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957447387468910592,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13: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-06-02 16:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780396947000,"timestamp_ms":1780396947000,"timestamp_seconds":1780396947,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ed7638"} 
[2026-06-02 16:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:13: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-06-02 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 16:13: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-06-02 16: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-06-02 16:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:13:18] 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-06-02 16:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781614080001,"66":13863,"136":206,"83":42752,"24":24,"16":125359332182196224,"45":1957447387468910592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-06-02 16:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781614080001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:13:18] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-02 16:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125359332182196224,"km_value":125359332182196.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957447387468910592,"description":"Unknown IO ID 45"} 
[2026-06-02 16:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781614080001,"power":13863,"unknown_136":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1957447387468910592}} 
[2026-06-02 16:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":89568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:13:18] local.INFO: GPS data processed {"connection_id":89568,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:13:18] local.INFO: Acknowledgment sent {"connection_id":89568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:13:26] local.INFO: TCP Data received {"connection_id":89569,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:13:26] local.INFO: Processing buffer {"connection_id":89569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:13:26] local.INFO: IMEI packet received {"connection_id":89569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":89569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:13:28] local.INFO: TCP Data received {"connection_id":89569,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:13:28] local.INFO: Processing buffer {"connection_id":89569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:13:28] local.INFO: IMEI packet received {"connection_id":89569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":89569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:13:29] local.INFO: TCP Data received {"connection_id":89569,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ed1490012cb2a500077514b8001c00262c..."} 
[2026-06-02 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ed1490012cb2a500077514b8001c00262c..."} 
[2026-06-02 16:13:29] local.INFO: Processing buffer {"connection_id":89569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ed1490012cb2a500077514b8001c00262c..."} 
[2026-06-02 16:13:29] local.INFO: Packet analysis {"connection_id":89569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:13:29] local.INFO: Extracted packet for processing {"connection_id":89569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749905152,"raw_latitude":125113528,"longitude_deg":74.9905152,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":44,"speed":0,"hex_longitude":"2cb2a500","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781606656001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574048931772057600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:29] 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-06-02 16:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780396922000,"timestamp_ms":1780396922000,"timestamp_seconds":1780396922,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ed1490"} 
[2026-06-02 16:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:13: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-06-02 16:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:13: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-06-02 16:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:13:29] 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-06-02 16:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781606656001,"66":27800,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574048931772057600},"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-06-02 16:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781606656001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:13:29] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574048931772057600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781606656001,"power":27800,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574048931772057600}} 
[2026-06-02 16:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":89569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:13:29] local.INFO: GPS data processed {"connection_id":89569,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:13:29] local.INFO: Acknowledgment sent {"connection_id":89569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:13:58] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:13:58] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:13:58] local.INFO: IMEI packet received {"connection_id":89571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":89571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:13:59] local.INFO: TCP Data received {"connection_id":89568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ed89c0012d1b4fc00724b758002d002524..."} 
[2026-06-02 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ed89c0012d1b4fc00724b758002d002524..."} 
[2026-06-02 16:13:59] local.INFO: Processing buffer {"connection_id":89568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ed89c0012d1b4fc00724b758002d002524..."} 
[2026-06-02 16:13:59] local.INFO: Packet analysis {"connection_id":89568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:13:59] local.INFO: Extracted packet for processing {"connection_id":89568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119846744,"longitude_deg":75.6764608,"latitude_deg":11.9846744,"altitude":45,"angle":37,"satellites":36,"speed":17,"hex_longitude":"2d1b4fc0","hex_latitude":"0724b758","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781618432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125359461031215104,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268027518976,"note":"Value kept but may cause issues"} 
[2026-06-02 16:13:59] 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-06-02 16:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780396952000,"timestamp_ms":1780396952000,"timestamp_seconds":1780396952,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ed89c0"} 
[2026-06-02 16:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-02 16:13:59] 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-06-02 16: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-06-02 16:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:13:59] 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-06-02 16:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781618432001,"66":14613,"136":206,"83":42752,"24":17,"16":125359461031215104,"45":1965821268027518976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-06-02 16:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781618432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:13:59] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-02 16:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125359461031215104,"km_value":125359461031215.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268027518976,"description":"Unknown IO ID 45"} 
[2026-06-02 16:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781618432001,"power":14613,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1965821268027518976}} 
[2026-06-02 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":89568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:14:00] local.INFO: GPS data processed {"connection_id":89568,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:14:00] local.INFO: Acknowledgment sent {"connection_id":89568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:14:00] local.INFO: TCP Data received {"connection_id":89569,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ed6698012cb2a500077514b8001c00262d..."} 
[2026-06-02 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ed6698012cb2a500077514b8001c00262d..."} 
[2026-06-02 16:14:00] local.INFO: Processing buffer {"connection_id":89569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ed6698012cb2a500077514b8001c00262d..."} 
[2026-06-02 16:14:00] local.INFO: Packet analysis {"connection_id":89569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:00] local.INFO: Extracted packet for processing {"connection_id":89569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":749905152,"raw_latitude":125113528,"longitude_deg":74.9905152,"latitude_deg":12.5113528,"altitude":28,"angle":38,"satellites":45,"speed":0,"hex_longitude":"2cb2a500","hex_latitude":"077514b8","is_valid_coordinates":true} 
[2026-06-02 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781612032001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305942988784140288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574048931772057600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14: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-06-02 16:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780396943000,"timestamp_ms":1780396943000,"timestamp_seconds":1780396943,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ed6698"} 
[2026-06-02 16:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:14: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-06-02 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 16:14: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-06-02 16:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:14:00] 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-06-02 16:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781612032001,"66":27745,"215":206,"85":36608,"24":0,"16":305942988784140288,"44":-5574048931772057600},"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-06-02 16:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781612032001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:14:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305942988784140288,"km_value":305942988784140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574048931772057600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781612032001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574048931772057600}} 
[2026-06-02 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":89569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:14:00] local.INFO: GPS data processed {"connection_id":89569,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:14:00] local.INFO: Acknowledgment sent {"connection_id":89569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:14:04] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:04] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:04] local.INFO: IMEI packet received {"connection_id":89571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":89571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:14:04] local.INFO: TCP Data received {"connection_id":89571,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ec1a900100000000000000000000000000..."} 
[2026-06-02 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ec1a900100000000000000000000000000..."} 
[2026-06-02 16:14:04] local.INFO: Processing buffer {"connection_id":89571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ec1a900100000000000000000000000000..."} 
[2026-06-02 16:14:04] local.INFO: Packet analysis {"connection_id":89571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ec"} 
[2026-06-02 16:14:04] local.INFO: Extracted packet for processing {"connection_id":89571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ec"} 
[2026-06-02 16:14:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87834662478544896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-02 16:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780396858000,"timestamp_ms":1780396858000,"timestamp_seconds":1780396858,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ec1a90"} 
[2026-06-02 16:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:14:04] 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-06-02 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 16:14:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416627,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-06-02 16:14:04] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3758161920,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-734085639749763072,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733693,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:04] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57770110463399734,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:04] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,163,87,24,241,157,16,13,226,10,66,143,61,1,240,29,227,4,113,205,153,239,2,50,156,56,133],"length":527,"final_offset":657,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-06-02 16:14:04] 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-06-02 16:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":89571,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-02 16:14:04] local.INFO: GPS data processed {"connection_id":89571,"processed":0,"errors":0,"total":1} 
[2026-06-02 16:14:04] local.INFO: Acknowledgment sent {"connection_id":89571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:14:05] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:14:05] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:14:05] local.INFO: IMEI packet received {"connection_id":89944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":89944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:14:10] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:14:10] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:14:10] local.INFO: IMEI packet received {"connection_id":89944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":89944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:14:11] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eda130012d1b54800724beb8002c001a24..."} 
[2026-06-02 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eda130012d1b54800724beb8002c001a24..."} 
[2026-06-02 16:14:11] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eda130012d1b54800724beb8002c001a24..."} 
[2026-06-02 16:14:11] local.INFO: Packet analysis {"connection_id":89944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:11] local.INFO: Extracted packet for processing {"connection_id":89944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756765824,"raw_latitude":119848632,"longitude_deg":75.6765824,"latitude_deg":11.9848632,"altitude":44,"angle":26,"satellites":36,"speed":16,"hex_longitude":"2d1b5480","hex_latitude":"0724beb8","is_valid_coordinates":true} 
[2026-06-02 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781619712001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125359568405397504,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699097495552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:11] 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-06-02 16:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780396958000,"timestamp_ms":1780396958000,"timestamp_seconds":1780396958,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eda130"} 
[2026-06-02 16:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:14: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-06-02 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-06-02 16:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:14:11] 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-06-02 16:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781619712001,"66":13961,"136":206,"83":42752,"24":16,"16":125359568405397504,"45":1968002699097495552},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-06-02 16:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781619712001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:14:11] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-02 16:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125359568405397504,"km_value":125359568405397.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699097495552,"description":"Unknown IO ID 45"} 
[2026-06-02 16:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781619712001,"power":13961,"unknown_136":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1968002699097495552}} 
[2026-06-02 16:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":89944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:14:11] local.INFO: GPS data processed {"connection_id":89944,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:14:11] local.INFO: Acknowledgment sent {"connection_id":89944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:14:28] local.INFO: TCP Data received {"connection_id":91015,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:28] local.INFO: Processing buffer {"connection_id":91015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:28] local.INFO: IMEI packet received {"connection_id":91015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":91015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:14:28] local.INFO: TCP Data received {"connection_id":91014,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:14:28] local.INFO: Processing buffer {"connection_id":91014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:14:28] local.INFO: IMEI packet received {"connection_id":91014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":91014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:14:32] local.INFO: TCP Data received {"connection_id":91015,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:32] local.INFO: Processing buffer {"connection_id":91015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:32] local.INFO: IMEI packet received {"connection_id":91015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":91015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:14:33] local.INFO: TCP Data received {"connection_id":91015,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:33] local.INFO: Processing buffer {"connection_id":91015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:14:33] local.INFO: IMEI packet received {"connection_id":91015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":91015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:14:33] local.INFO: TCP Data received {"connection_id":91014,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:14:33] local.INFO: Processing buffer {"connection_id":91014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:14:33] local.INFO: IMEI packet received {"connection_id":91014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":91014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:14:34] local.INFO: TCP Data received {"connection_id":91014,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eda900012cb2a80007751680001600382d..."} 
[2026-06-02 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eda900012cb2a80007751680001600382d..."} 
[2026-06-02 16:14:34] local.INFO: Processing buffer {"connection_id":91014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eda900012cb2a80007751680001600382d..."} 
[2026-06-02 16:14:34] local.INFO: Packet analysis {"connection_id":91014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:34] local.INFO: Extracted packet for processing {"connection_id":91014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":749905920,"raw_latitude":125113984,"longitude_deg":74.990592,"latitude_deg":12.5113984,"altitude":22,"angle":56,"satellites":45,"speed":6,"hex_longitude":"2cb2a800","hex_latitude":"07751680","is_valid_coordinates":true} 
[2026-06-02 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781617408001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305943027438845952,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574048931772057600,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:34] 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-06-02 16:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780396960000,"timestamp_ms":1780396960000,"timestamp_seconds":1780396960,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eda900"} 
[2026-06-02 16:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:14: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-06-02 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:14:34] 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-06-02 16:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781617408001,"66":27800,"215":206,"85":36608,"24":6,"16":305943027438845952,"44":-5574048931772057600},"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-06-02 16:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781617408001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305943027438845952,"km_value":305943027438845.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574048931772057600,"description":"Unknown IO ID 44"} 
[2026-06-02 16:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781617408001,"power":27800,"unknown_215":206,"unknown_85":36608,"ignition":6,"odometer":null,"unknown_44":-5574048931772057600}} 
[2026-06-02 16:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":91014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:14:34] local.INFO: GPS data processed {"connection_id":91014,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:14:34] local.INFO: Acknowledgment sent {"connection_id":91014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:14:34] local.INFO: TCP Data received {"connection_id":91015,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87eec628012d7bd30005ec29a00006004b0f..."} 
[2026-06-02 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87eec628012d7bd30005ec29a00006004b0f..."} 
[2026-06-02 16:14:34] local.INFO: Processing buffer {"connection_id":91015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87eec628012d7bd30005ec29a00006004b0f..."} 
[2026-06-02 16:14:34] local.INFO: Packet analysis {"connection_id":91015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ee"} 
[2026-06-02 16:14:34] local.INFO: Extracted packet for processing {"connection_id":91015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ee"} 
[2026-06-02 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763089664,"raw_latitude":99363232,"longitude_deg":76.3089664,"latitude_deg":9.9363232,"altitude":6,"angle":75,"satellites":15,"speed":19,"hex_longitude":"2d7bd300","hex_latitude":"05ec29a0","is_valid_coordinates":true} 
[2026-06-02 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781635328001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87837591646240768,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913538481676914688,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780397033000,"timestamp_ms":1780397033000,"timestamp_seconds":1780397033,"priority":1,"record_length":96,"hex_timestamp":"0000019e87eec628"} 
[2026-06-02 16:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:14:34] 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-06-02 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 16:14: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-06-02 16:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781635328001,"66":13189,"198":206,"87":13824,"24":19,"16":87837591646240768,"45":8913538481676914688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781635328001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87837591646240768,"km_value":87837591646240.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913538481676914688,"description":"Unknown IO ID 45"} 
[2026-06-02 16:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781635328001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8913538481676914688}} 
[2026-06-02 16:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":91015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:14:34] local.INFO: GPS data processed {"connection_id":91015,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:14:34] local.INFO: Acknowledgment sent {"connection_id":91015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:14:36] local.INFO: TCP Data received {"connection_id":91014,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87edb4b8012cb2aa00077518500017002c2d..."} 
[2026-06-02 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87edb4b8012cb2aa00077518500017002c2d..."} 
[2026-06-02 16:14:36] local.INFO: Processing buffer {"connection_id":91014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87edb4b8012cb2aa00077518500017002c2d..."} 
[2026-06-02 16:14:36] local.INFO: Packet analysis {"connection_id":91014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:36] local.INFO: Extracted packet for processing {"connection_id":91014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":749906432,"raw_latitude":125114448,"longitude_deg":74.9906432,"latitude_deg":12.5114448,"altitude":23,"angle":44,"satellites":45,"speed":12,"hex_longitude":"2cb2aa00","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-06-02 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781621760001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305943061798584320,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573204506841808896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:36] 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-06-02 16:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780396963000,"timestamp_ms":1780396963000,"timestamp_seconds":1780396963,"priority":1,"record_length":96,"hex_timestamp":"0000019e87edb4b8"} 
[2026-06-02 16:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 16:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":91014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":91014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":91014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:14:36] 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-06-02 16:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781621760001,"66":27691,"215":206,"85":36608,"24":12,"16":305943061798584320,"44":-5573204506841808896},"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-06-02 16:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781621760001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:14:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-02 16:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305943061798584320,"km_value":305943061798584.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573204506841808896,"description":"Unknown IO ID 44"} 
[2026-06-02 16:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781621760001,"power":27691,"unknown_215":206,"unknown_85":36608,"ignition":12,"odometer":null,"unknown_44":-5573204506841808896}} 
[2026-06-02 16:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":91014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:14:36] local.INFO: GPS data processed {"connection_id":91014,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:14:36] local.INFO: Acknowledgment sent {"connection_id":91014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:14:43] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87edace8012d1b56400724c3c8002b000e28..."} 
[2026-06-02 16:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87edace8012d1b56400724c3c8002b000e28..."} 
[2026-06-02 16:14:43] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87edace8012d1b56400724c3c8002b000e28..."} 
[2026-06-02 16:14:43] local.INFO: Packet analysis {"connection_id":89944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:43] local.INFO: Extracted packet for processing {"connection_id":89944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119849928,"longitude_deg":75.6766272,"latitude_deg":11.9849928,"altitude":43,"angle":14,"satellites":40,"speed":20,"hex_longitude":"2d1b5640","hex_latitude":"0724c3c8","is_valid_coordinates":true} 
[2026-06-02 16:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781621248001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125359637124874240,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705237354496,"note":"Value kept but may cause issues"} 
[2026-06-02 16:14:43] 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-06-02 16:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780396961000,"timestamp_ms":1780396961000,"timestamp_seconds":1780396961,"priority":1,"record_length":96,"hex_timestamp":"0000019e87edace8"} 
[2026-06-02 16:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-02 16:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:14:43] 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-06-02 16:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781621248001,"66":14026,"136":206,"83":42752,"24":20,"16":125359637124874240,"45":1969339705237354496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-06-02 16:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781621248001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:14:43] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-02 16:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125359637124874240,"km_value":125359637124874.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705237354496,"description":"Unknown IO ID 45"} 
[2026-06-02 16:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781621248001,"power":14026,"unknown_136":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1969339705237354496}} 
[2026-06-02 16:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":89944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:14:43] local.INFO: GPS data processed {"connection_id":89944,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:14:43] local.INFO: Acknowledgment sent {"connection_id":89944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:05] local.INFO: TCP Data received {"connection_id":89572,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:15:05] local.INFO: Processing buffer {"connection_id":89572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:15:05] local.INFO: IMEI packet received {"connection_id":89572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":89572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:15:06] local.INFO: TCP Data received {"connection_id":91015,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ef00c0012d7bf6c005ec31080005005210..."} 
[2026-06-02 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ef00c0012d7bf6c005ec31080005005210..."} 
[2026-06-02 16:15:06] local.INFO: Processing buffer {"connection_id":91015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ef00c0012d7bf6c005ec31080005005210..."} 
[2026-06-02 16:15:06] local.INFO: Packet analysis {"connection_id":91015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:06] local.INFO: Extracted packet for processing {"connection_id":91015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763098816,"raw_latitude":99365128,"longitude_deg":76.3098816,"latitude_deg":9.9365128,"altitude":5,"angle":82,"satellites":16,"speed":27,"hex_longitude":"2d7bf6c0","hex_latitude":"05ec3108","is_valid_coordinates":true} 
[2026-06-02 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781640448001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87838038322839552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922475312188071936,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780397048000,"timestamp_ms":1780397048000,"timestamp_seconds":1780397048,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ef00c0"} 
[2026-06-02 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":91015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":91015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":91015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781640448001,"66":13059,"198":206,"87":13824,"24":27,"16":87838038322839552,"45":8922475312188071936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781640448001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:15:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87838038322839552,"km_value":87838038322839.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922475312188071936,"description":"Unknown IO ID 45"} 
[2026-06-02 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781640448001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8922475312188071936}} 
[2026-06-02 16:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":91015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:06] local.INFO: GPS data processed {"connection_id":91015,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:06] local.INFO: Acknowledgment sent {"connection_id":91015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:07] local.INFO: TCP Data received {"connection_id":91014,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87edf338012cb2c00007753520001800222e..."} 
[2026-06-02 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87edf338012cb2c00007753520001800222e..."} 
[2026-06-02 16:15:07] local.INFO: Processing buffer {"connection_id":91014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87edf338012cb2c00007753520001800222e..."} 
[2026-06-02 16:15:07] local.INFO: Packet analysis {"connection_id":91014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:15:07] local.INFO: Extracted packet for processing {"connection_id":91014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":749912064,"raw_latitude":125121824,"longitude_deg":74.9912064,"latitude_deg":12.5121824,"altitude":24,"angle":34,"satellites":46,"speed":34,"hex_longitude":"2cb2c000","hex_latitude":"07753520","is_valid_coordinates":true} 
[2026-06-02 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781622528001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305943508475183104,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572641556888268800,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780396979000,"timestamp_ms":1780396979000,"timestamp_seconds":1780396979,"priority":1,"record_length":96,"hex_timestamp":"0000019e87edf338"} 
[2026-06-02 16:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-02 16:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":91014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":91014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":91014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:07] 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-06-02 16:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781622528001,"66":27767,"213":206,"85":36608,"24":34,"16":305943508475183104,"44":-5572641556888268800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-06-02 16:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781622528001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305943508475183104,"km_value":305943508475183.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572641556888268800,"description":"Unknown IO ID 44"} 
[2026-06-02 16:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781622528001,"power":27767,"unknown_213":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5572641556888268800}} 
[2026-06-02 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":91014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:07] local.INFO: GPS data processed {"connection_id":91014,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:07] local.INFO: Acknowledgment sent {"connection_id":91014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:09] local.INFO: TCP Data received {"connection_id":89572,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:15:09] local.INFO: Processing buffer {"connection_id":89572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:15:09] local.INFO: IMEI packet received {"connection_id":89572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":89572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:15:10] local.INFO: TCP Data received {"connection_id":89572,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87edd7e0012d1b59000724d9800027000229..."} 
[2026-06-02 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87edd7e0012d1b59000724d9800027000229..."} 
[2026-06-02 16:15:10] local.INFO: Processing buffer {"connection_id":89572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87edd7e0012d1b59000724d9800027000229..."} 
[2026-06-02 16:15:10] local.INFO: Packet analysis {"connection_id":89572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:15:10] local.INFO: Extracted packet for processing {"connection_id":89572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ed"} 
[2026-06-02 16:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756766976,"raw_latitude":119855488,"longitude_deg":75.6766976,"latitude_deg":11.9855488,"altitude":39,"angle":2,"satellites":41,"speed":20,"hex_longitude":"2d1b5900","hex_latitude":"0724d980","is_valid_coordinates":true} 
[2026-06-02 16:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781622016001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125359907707813888,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286446929920,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780396972000,"timestamp_ms":1780396972000,"timestamp_seconds":1780396972,"priority":1,"record_length":96,"hex_timestamp":"0000019e87edd7e0"} 
[2026-06-02 16:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 16:15:10] 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-06-02 16:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:15:10] 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-06-02 16:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781622016001,"66":14396,"44":206,"83":41984,"24":20,"16":125359907707813888,"45":1969832286446929920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-06-02 16:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781622016001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-06-02 16:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125359907707813888,"km_value":125359907707813.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286446929920,"description":"Unknown IO ID 45"} 
[2026-06-02 16:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781622016001,"power":14396,"unknown_44":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1969832286446929920}} 
[2026-06-02 16:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":89572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:10] local.INFO: GPS data processed {"connection_id":89572,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:10] local.INFO: Acknowledgment sent {"connection_id":89572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:23] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:15:23] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:15:23] local.INFO: IMEI packet received {"connection_id":89838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":89838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:15:25] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:15:25] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:15:25] local.INFO: IMEI packet received {"connection_id":89838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":89838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:15:26] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ee1e30012cb2d50007755268001700252f..."} 
[2026-06-02 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ee1e30012cb2d50007755268001700252f..."} 
[2026-06-02 16:15:26] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ee1e30012cb2d50007755268001700252f..."} 
[2026-06-02 16:15:26] local.INFO: Packet analysis {"connection_id":89838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ee"} 
[2026-06-02 16:15:26] local.INFO: Extracted packet for processing {"connection_id":89838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ee"} 
[2026-06-02 16:15:26] local.INFO: GPS Element Parsed {"raw_longitude":749917440,"raw_latitude":125129320,"longitude_deg":74.991744,"latitude_deg":12.512932,"altitude":23,"angle":37,"satellites":47,"speed":30,"hex_longitude":"2cb2d500","hex_latitude":"07755268","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781626624001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305943955151781888,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5566449107398746112,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780396990000,"timestamp_ms":1780396990000,"timestamp_seconds":1780396990,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ee1e30"} 
[2026-06-02 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-06-02 16:15: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-06-02 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":119,"data_length":795,"current_offset":136} 
[2026-06-02 16:15: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-06-02 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-06-02 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-06-02 16:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781626624001,"66":27843,"213":206,"85":36608,"24":30,"16":305943955151781888,"44":-5566449107398746112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-06-02 16:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781626624001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:26] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-02 16:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305943955151781888,"km_value":305943955151781.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5566449107398746112,"description":"Unknown IO ID 44"} 
[2026-06-02 16:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781626624001,"power":27843,"unknown_213":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5566449107398746112}} 
[2026-06-02 16:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":89838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:26] local.INFO: GPS data processed {"connection_id":89838,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:26] local.INFO: Acknowledgment sent {"connection_id":89838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:27] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ee4d10012cb2ec8007756d30001400202f..."} 
[2026-06-02 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ee4d10012cb2ec8007756d30001400202f..."} 
[2026-06-02 16:15:27] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ee4d10012cb2ec8007756d30001400202f..."} 
[2026-06-02 16:15:27] local.INFO: Packet analysis {"connection_id":89838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ee"} 
[2026-06-02 16:15:27] local.INFO: Extracted packet for processing {"connection_id":89838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ee"} 
[2026-06-02 16:15:27] local.INFO: GPS Element Parsed {"raw_longitude":749923456,"raw_latitude":125136176,"longitude_deg":74.9923456,"latitude_deg":12.5136176,"altitude":20,"angle":32,"satellites":47,"speed":25,"hex_longitude":"2cb2ec80","hex_latitude":"07756d30","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781629440001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305944393238446080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5560538132885903360,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:27] 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-06-02 16:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780397002000,"timestamp_ms":1780397002000,"timestamp_seconds":1780397002,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ee4d10"} 
[2026-06-02 16:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16: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-06-02 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 16:15: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-06-02 16: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-06-02 16:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:27] 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-06-02 16:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781629440001,"66":27767,"64":206,"85":36608,"24":25,"16":305944393238446080,"44":-5560538132885903360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,44]} 
[2026-06-02 16:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781629440001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:27] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-02 16:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305944393238446080,"km_value":305944393238446.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5560538132885903360,"description":"Unknown IO ID 44"} 
[2026-06-02 16:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781629440001,"power":27767,"unknown_64":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5560538132885903360}} 
[2026-06-02 16:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":89838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:27] local.INFO: GPS data processed {"connection_id":89838,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:27] local.INFO: Acknowledgment sent {"connection_id":89838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:29] local.INFO: TCP Data received {"connection_id":91016,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:15:29] local.INFO: Processing buffer {"connection_id":91016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:15:29] local.INFO: IMEI packet received {"connection_id":91016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":91016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:15:31] local.INFO: TCP Data received {"connection_id":91016,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:15:31] local.INFO: Processing buffer {"connection_id":91016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:15:31] local.INFO: IMEI packet received {"connection_id":91016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":91016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:15:34] local.INFO: TCP Data received {"connection_id":91016,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ef2bb8012d7c1a8005ec33980006005810..."} 
[2026-06-02 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ef2bb8012d7c1a8005ec33980006005810..."} 
[2026-06-02 16:15:34] local.INFO: Processing buffer {"connection_id":91016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ef2bb8012d7c1a8005ec33980006005810..."} 
[2026-06-02 16:15:34] local.INFO: Packet analysis {"connection_id":91016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:34] local.INFO: Extracted packet for processing {"connection_id":91016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763107968,"raw_latitude":99365784,"longitude_deg":76.3107968,"latitude_deg":9.9365784,"altitude":6,"angle":88,"satellites":16,"speed":32,"hex_longitude":"2d7c1a80","hex_latitude":"05ec3398","is_valid_coordinates":true} 
[2026-06-02 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781644288001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87838476409503744,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932538042605963264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780397059000,"timestamp_ms":1780397059000,"timestamp_seconds":1780397059,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ef2bb8"} 
[2026-06-02 16:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:15:34] 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-06-02 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418365,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2280501456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3995211777,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391933,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818512,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3958228992,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,198,87,24,241,157,16,158,45,41,6,15,10,66,120,64,32,9,13,77,1,240,133,227,135,236,4,113,205,28,239,74,216,12,51,156,2,56,5,11],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-06-02 16:15:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360378198864363520,"timestamp_seconds":360378198864363.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781644288001,"66":13222,"198":206,"87":13824,"24":32,"16":87838476409503744,"45":8932538042605963264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781644288001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87838476409503744,"km_value":87838476409503.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932538042605963264,"description":"Unknown IO ID 45"} 
[2026-06-02 16:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781644288001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8932538042605963264}} 
[2026-06-02 16:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":91016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:34] local.INFO: GPS data processed {"connection_id":91016,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:34] local.INFO: Acknowledgment sent {"connection_id":91016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:35] local.INFO: TCP Data received {"connection_id":91016,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ef56b0012d7c3e4005ec34a80007005810..."} 
[2026-06-02 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ef56b0012d7c3e4005ec34a80007005810..."} 
[2026-06-02 16:15:35] local.INFO: Processing buffer {"connection_id":91016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ef56b0012d7c3e4005ec34a80007005810..."} 
[2026-06-02 16:15:35] local.INFO: Packet analysis {"connection_id":91016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:35] local.INFO: Extracted packet for processing {"connection_id":91016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":99366056,"longitude_deg":76.311712,"latitude_deg":9.9366056,"altitude":7,"angle":88,"satellites":16,"speed":30,"hex_longitude":"2d7c3e40","hex_latitude":"05ec34a8","is_valid_coordinates":true} 
[2026-06-02 16:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781647104001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87838914496167936,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942600773023537152,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:35] 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-06-02 16:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780397070000,"timestamp_ms":1780397070000,"timestamp_seconds":1780397070,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ef56b0"} 
[2026-06-02 16:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:15:35] 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-06-02 16:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 16:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":91016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":91016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":91016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781647104001,"66":13341,"198":206,"87":13824,"24":30,"16":87838914496167936,"45":8942600773023537152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781647104001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:15:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87838914496167936,"km_value":87838914496167.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942600773023537152,"description":"Unknown IO ID 45"} 
[2026-06-02 16:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781647104001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8942600773023537152}} 
[2026-06-02 16:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":91016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:35] local.INFO: GPS data processed {"connection_id":91016,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:35] local.INFO: Acknowledgment sent {"connection_id":91016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:41] local.INFO: TCP Data received {"connection_id":89572,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87ef6268012d1b6000072566e00029014a25..."} 
[2026-06-02 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87ef6268012d1b6000072566e00029014a25..."} 
[2026-06-02 16:15:41] local.INFO: Processing buffer {"connection_id":89572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87ef6268012d1b6000072566e00029014a25..."} 
[2026-06-02 16:15:41] local.INFO: Packet analysis {"connection_id":89572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:41] local.INFO: Extracted packet for processing {"connection_id":89572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756768768,"raw_latitude":119891680,"longitude_deg":75.6768768,"latitude_deg":11.989168,"altitude":41,"angle":330,"satellites":37,"speed":19,"hex_longitude":"2d1b6000","hex_latitude":"072566e0","is_valid_coordinates":true} 
[2026-06-02 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781650176001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125361711594078208,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511201212416,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780397073000,"timestamp_ms":1780397073000,"timestamp_seconds":1780397073,"priority":1,"record_length":96,"hex_timestamp":"0000019e87ef6268"} 
[2026-06-02 16:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-02 16:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:15:41] 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-06-02 16:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781650176001,"66":13939,"217":206,"83":42752,"24":19,"16":125361711594078208,"45":1972928511201212416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-06-02 16:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781650176001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-02 16:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125361711594078208,"km_value":125361711594078.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511201212416,"description":"Unknown IO ID 45"} 
[2026-06-02 16:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781650176001,"power":13939,"unknown_217":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1972928511201212416}} 
[2026-06-02 16:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":89572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:41] local.INFO: GPS data processed {"connection_id":89572,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:41] local.INFO: Acknowledgment sent {"connection_id":89572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:15:58] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87efcfc8012cb3388007763988001900132f..."} 
[2026-06-02 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87efcfc8012cb3388007763988001900132f..."} 
[2026-06-02 16:15:58] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87efcfc8012cb3388007763988001900132f..."} 
[2026-06-02 16:15:58] local.INFO: Packet analysis {"connection_id":89838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:58] local.INFO: Extracted packet for processing {"connection_id":89838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:15:58] local.INFO: GPS Element Parsed {"raw_longitude":749942912,"raw_latitude":125188488,"longitude_deg":74.9942912,"latitude_deg":12.5188488,"altitude":25,"angle":19,"satellites":47,"speed":21,"hex_longitude":"2cb33880","hex_latitude":"07763988","is_valid_coordinates":true} 
[2026-06-02 16:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781657344001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305947223621894144,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533023953897537536,"note":"Value kept but may cause issues"} 
[2026-06-02 16:15:58] 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-06-02 16:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780397101000,"timestamp_ms":1780397101000,"timestamp_seconds":1780397101,"priority":1,"record_length":96,"hex_timestamp":"0000019e87efcfc8"} 
[2026-06-02 16:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:15: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-06-02 16:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 16:15:58] 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-06-02 16:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:15:58] 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-06-02 16:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781657344001,"66":27843,"63":206,"85":36608,"24":21,"16":305947223621894144,"44":-5533023953897537536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-06-02 16:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781657344001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:15:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 16:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305947223621894144,"km_value":305947223621894.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533023953897537536,"description":"Unknown IO ID 44"} 
[2026-06-02 16:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781657344001,"power":27843,"unknown_63":206,"unknown_85":36608,"ignition":21,"odometer":null,"unknown_44":-5533023953897537536}} 
[2026-06-02 16:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":89838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:15:58] local.INFO: GPS data processed {"connection_id":89838,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:15:58] local.INFO: Acknowledgment sent {"connection_id":89838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:16:04] local.INFO: TCP Data received {"connection_id":91017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:04] local.INFO: Processing buffer {"connection_id":91017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:04] local.INFO: IMEI packet received {"connection_id":91017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":91017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:16:05] local.INFO: TCP Data received {"connection_id":91017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:05] local.INFO: Processing buffer {"connection_id":91017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:05] local.INFO: IMEI packet received {"connection_id":91017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":91017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:16:05] local.INFO: TCP Data received {"connection_id":91017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:05] local.INFO: Processing buffer {"connection_id":91017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:05] local.INFO: IMEI packet received {"connection_id":91017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":91017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:16:06] local.INFO: TCP Data received {"connection_id":91017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:06] local.INFO: Processing buffer {"connection_id":91017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:16:06] local.INFO: IMEI packet received {"connection_id":91017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":91017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:16:08] local.INFO: TCP Data received {"connection_id":91016,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f0ae70012d7d1cc005ec41100003013b11..."} 
[2026-06-02 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f0ae70012d7d1cc005ec41100003013b11..."} 
[2026-06-02 16:16:08] local.INFO: Processing buffer {"connection_id":91016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f0ae70012d7d1cc005ec41100003013b11..."} 
[2026-06-02 16:16:08] local.INFO: Packet analysis {"connection_id":91016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:16:08] local.INFO: Extracted packet for processing {"connection_id":91016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99369232,"longitude_deg":76.317408,"latitude_deg":9.9369232,"altitude":3,"angle":315,"satellites":17,"speed":7,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec4110","is_valid_coordinates":true} 
[2026-06-02 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781672192001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87841684750073856,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248263168,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780397158000,"timestamp_ms":1780397158000,"timestamp_seconds":1780397158,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f0ae70"} 
[2026-06-02 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-02 16:16:08] 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-06-02 16:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":91016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":91016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":91016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781672192001,"66":13102,"110":206,"87":13824,"24":7,"16":87841684750073856,"45":9015432423248263168},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-02 16:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781672192001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:16:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 16:16:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87841684750073856,"km_value":87841684750073.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248263168,"description":"Unknown IO ID 45"} 
[2026-06-02 16:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781672192001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015432423248263168}} 
[2026-06-02 16:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":91016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:16:08] local.INFO: GPS data processed {"connection_id":91016,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:16:08] local.INFO: Acknowledgment sent {"connection_id":91016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:16:18] local.INFO: TCP Data received {"connection_id":89840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:16:18] local.INFO: Processing buffer {"connection_id":89840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:16:18] local.INFO: IMEI packet received {"connection_id":89840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":89840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:16:23] local.INFO: TCP Data received {"connection_id":91018,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:16:23] local.INFO: Processing buffer {"connection_id":91018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:16:23] local.INFO: IMEI packet received {"connection_id":91018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":91018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:16:24] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:16:24] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:16:24] local.INFO: IMEI packet received {"connection_id":89841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":89841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:16:28] local.INFO: TCP Data received {"connection_id":91018,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:16:28] local.INFO: Processing buffer {"connection_id":91018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:16:28] local.INFO: IMEI packet received {"connection_id":91018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":91018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:16:29] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:16:29] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:16:29] local.INFO: IMEI packet received {"connection_id":89841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":89841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:16:29] local.INFO: TCP Data received {"connection_id":91018,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87efe350012cb33c4007764568001800062d..."} 
[2026-06-02 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87efe350012cb33c4007764568001800062d..."} 
[2026-06-02 16:16:29] local.INFO: Processing buffer {"connection_id":91018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87efe350012cb33c4007764568001800062d..."} 
[2026-06-02 16:16:29] local.INFO: Packet analysis {"connection_id":91018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:16:29] local.INFO: Extracted packet for processing {"connection_id":91018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87ef"} 
[2026-06-02 16:16:29] local.INFO: GPS Element Parsed {"raw_longitude":749943872,"raw_latitude":125191528,"longitude_deg":74.9943872,"latitude_deg":12.5191528,"altitude":24,"angle":6,"satellites":45,"speed":27,"hex_longitude":"2cb33c40","hex_latitude":"07764568","is_valid_coordinates":true} 
[2026-06-02 16:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781657856001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305947378240716800,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5532531372688046080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:29] 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-06-02 16:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397106000,"timestamp_ms":1780397106000,"timestamp_seconds":1780397106,"priority":1,"record_length":96,"hex_timestamp":"0000019e87efe350"} 
[2026-06-02 16:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:16: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-06-02 16:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 16:16: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-06-02 16:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:16:29] 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-06-02 16:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781657856001,"66":27713,"63":206,"85":36608,"24":27,"16":305947378240716800,"44":-5532531372688046080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-06-02 16:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781657856001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:16:29] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-02 16:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305947378240716800,"km_value":305947378240716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5532531372688046080,"description":"Unknown IO ID 44"} 
[2026-06-02 16:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781657856001,"power":27713,"unknown_63":206,"unknown_85":36608,"ignition":27,"odometer":null,"unknown_44":-5532531372688046080}} 
[2026-06-02 16:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":91018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:16:29] local.INFO: GPS data processed {"connection_id":91018,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:16:29] local.INFO: Acknowledgment sent {"connection_id":91018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:16:31] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f0b258012d7d1bc005ec41780002012112..."} 
[2026-06-02 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f0b258012d7d1bc005ec41780002012112..."} 
[2026-06-02 16:16:31] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f0b258012d7d1bc005ec41780002012112..."} 
[2026-06-02 16:16:31] local.INFO: Packet analysis {"connection_id":89841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:16:31] local.INFO: Extracted packet for processing {"connection_id":89841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99369336,"longitude_deg":76.3173824,"latitude_deg":9.9369336,"altitude":2,"angle":289,"satellites":18,"speed":10,"hex_longitude":"2d7d1bc0","hex_latitude":"05ec4178","is_valid_coordinates":true} 
[2026-06-02 16:16: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-06-02 16:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781672448001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87841697634975744,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759946752,"note":"Value kept but may cause issues"} 
[2026-06-02 16:16:31] 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-06-02 16:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780397159000,"timestamp_ms":1780397159000,"timestamp_seconds":1780397159,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f0b258"} 
[2026-06-02 16:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:16:31] 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-06-02 16:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 16:16:31] 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-06-02 16:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781672448001,"66":13102,"110":206,"87":13824,"24":10,"16":87841697634975744,"45":9015291685759946752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-02 16:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781672448001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:16:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 16:16:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87841697634975744,"km_value":87841697634975.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759946752,"description":"Unknown IO ID 45"} 
[2026-06-02 16:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781672448001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015291685759946752}} 
[2026-06-02 16:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":89841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:16:31] local.INFO: GPS data processed {"connection_id":89841,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:16:31] local.INFO: Acknowledgment sent {"connection_id":89841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:16:58] local.INFO: TCP Data received {"connection_id":89573,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:16:58] local.INFO: Processing buffer {"connection_id":89573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:16:58] local.INFO: IMEI packet received {"connection_id":89573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":89573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:17:02] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f0b640012d7d1ac005ec41900003011312..."} 
[2026-06-02 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f0b640012d7d1ac005ec41900003011312..."} 
[2026-06-02 16:17:02] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f0b640012d7d1ac005ec41900003011312..."} 
[2026-06-02 16:17:02] local.INFO: Packet analysis {"connection_id":89841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:02] local.INFO: Extracted packet for processing {"connection_id":89841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99369360,"longitude_deg":76.3173568,"latitude_deg":9.936936,"altitude":3,"angle":275,"satellites":18,"speed":11,"hex_longitude":"2d7d1ac0","hex_latitude":"05ec4190","is_valid_coordinates":true} 
[2026-06-02 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781672704001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87841710519877632,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210783262720,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780397160000,"timestamp_ms":1780397160000,"timestamp_seconds":1780397160,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f0b640"} 
[2026-06-02 16:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:17:02] 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-06-02 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 16:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781672704001,"66":13276,"110":206,"87":13824,"24":11,"16":87841710519877632,"45":9015010210783262720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-02 16:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781672704001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87841710519877632,"km_value":87841710519877.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210783262720,"description":"Unknown IO ID 45"} 
[2026-06-02 16:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781672704001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9015010210783262720}} 
[2026-06-02 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":89841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:17:02] local.INFO: GPS data processed {"connection_id":89841,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:17:02] local.INFO: Acknowledgment sent {"connection_id":89841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:17:02] local.INFO: TCP Data received {"connection_id":91018,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f01618012cb3428007766920001400092c..."} 
[2026-06-02 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f01618012cb3428007766920001400092c..."} 
[2026-06-02 16:17:02] local.INFO: Processing buffer {"connection_id":91018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f01618012cb3428007766920001400092c..."} 
[2026-06-02 16:17:02] local.INFO: Packet analysis {"connection_id":91018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:02] local.INFO: Extracted packet for processing {"connection_id":91018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":749945472,"raw_latitude":125200672,"longitude_deg":74.9945472,"latitude_deg":12.5200672,"altitude":20,"angle":9,"satellites":44,"speed":24,"hex_longitude":"2cb34280","hex_latitude":"07766920","is_valid_coordinates":true} 
[2026-06-02 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781659136001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305947829212282880,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5531475841524602880,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780397119000,"timestamp_ms":1780397119000,"timestamp_seconds":1780397119,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f01618"} 
[2026-06-02 16:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:17: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-06-02 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 16:17:02] 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-06-02 16:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:17:02] 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-06-02 16:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781659136001,"66":27767,"40":206,"85":36608,"24":24,"16":305947829212282880,"44":-5531475841524602880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,44]} 
[2026-06-02 16:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781659136001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305947829212282880,"km_value":305947829212282.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:17:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5531475841524602880,"description":"Unknown IO ID 44"} 
[2026-06-02 16:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781659136001,"power":27767,"unknown_40":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5531475841524602880}} 
[2026-06-02 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":91018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:17:02] local.INFO: GPS data processed {"connection_id":91018,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:17:02] local.INFO: Acknowledgment sent {"connection_id":91018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:17:23] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:17:23] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:17:23] local.INFO: IMEI packet received {"connection_id":89842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":89842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:17:23] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:23] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:23] local.INFO: IMEI packet received {"connection_id":89575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":89575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:17:24] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:24] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:24] local.INFO: IMEI packet received {"connection_id":89575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":89575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:17:27] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:17:27] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:17:27] local.INFO: IMEI packet received {"connection_id":89842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":89842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:17:27] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f0ecf0012d7cf58005ec41380002010c12..."} 
[2026-06-02 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f0ecf0012d7cf58005ec41380002010c12..."} 
[2026-06-02 16:17:27] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f0ecf0012d7cf58005ec41380002010c12..."} 
[2026-06-02 16:17:27] local.INFO: Packet analysis {"connection_id":89842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:27] local.INFO: Extracted packet for processing {"connection_id":89842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":99369272,"longitude_deg":76.3164032,"latitude_deg":9.9369272,"altitude":2,"angle":268,"satellites":18,"speed":26,"hex_longitude":"2d7cf580","hex_latitude":"05ec4138","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781672960001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87842165786411008,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735806558208,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17: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-06-02 16:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780397174000,"timestamp_ms":1780397174000,"timestamp_seconds":1780397174,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f0ecf0"} 
[2026-06-02 16:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:17:27] 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-06-02 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 16:17:27] 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-06-02 16: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-06-02 16:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781672960001,"66":13178,"110":206,"87":13824,"24":26,"16":87842165786411008,"45":9014728735806558208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-02 16:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781672960001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:17:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 16:17:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87842165786411008,"km_value":87842165786411.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735806558208,"description":"Unknown IO ID 45"} 
[2026-06-02 16:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781672960001,"power":13178,"unknown_110":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9014728735806558208}} 
[2026-06-02 16:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":89842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:17:28] local.INFO: GPS data processed {"connection_id":89842,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:17:28] local.INFO: Acknowledgment sent {"connection_id":89842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:17:28] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:28] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:17:28] local.INFO: IMEI packet received {"connection_id":89575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":89575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:17:29] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f050b0012cb3470007768de8001600042f..."} 
[2026-06-02 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f050b0012cb3470007768de8001600042f..."} 
[2026-06-02 16:17:29] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f050b0012cb3470007768de8001600042f..."} 
[2026-06-02 16:17:29] local.INFO: Packet analysis {"connection_id":89575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:29] local.INFO: Extracted packet for processing {"connection_id":89575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":749946624,"raw_latitude":125210088,"longitude_deg":74.9946624,"latitude_deg":12.5210088,"altitude":22,"angle":4,"satellites":47,"speed":26,"hex_longitude":"2cb34700","hex_latitude":"07768de8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781662464001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305948288773783552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529716622917820416,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397134000,"timestamp_ms":1780397134000,"timestamp_seconds":1780397134,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f050b0"} 
[2026-06-02 16:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:17: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-06-02 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 16:17: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-06-02 16: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-06-02 16:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:17:29] 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-06-02 16:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781662464001,"66":27767,"40":206,"85":36608,"24":26,"16":305948288773783552,"44":-5529716622917820416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,44]} 
[2026-06-02 16:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781662464001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:17:29] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 16:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305948288773783552,"km_value":305948288773783.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529716622917820416,"description":"Unknown IO ID 44"} 
[2026-06-02 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781662464001,"power":27767,"unknown_40":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5529716622917820416}} 
[2026-06-02 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":89575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:17:29] local.INFO: GPS data processed {"connection_id":89575,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:17:29] local.INFO: Acknowledgment sent {"connection_id":89575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:17:59] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f123a0012d7cd04005ec40b00002010a11..."} 
[2026-06-02 16:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f123a0012d7cd04005ec40b00002010a11..."} 
[2026-06-02 16:17:59] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f123a0012d7cd04005ec40b00002010a11..."} 
[2026-06-02 16:17:59] local.INFO: Packet analysis {"connection_id":89842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f1"} 
[2026-06-02 16:17:59] local.INFO: Extracted packet for processing {"connection_id":89842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f1"} 
[2026-06-02 16:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763154496,"raw_latitude":99369136,"longitude_deg":76.3154496,"latitude_deg":9.9369136,"altitude":2,"angle":266,"satellites":17,"speed":19,"hex_longitude":"2d7cd040","hex_latitude":"05ec40b0","is_valid_coordinates":true} 
[2026-06-02 16:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781676544001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87842621052944384,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004243792924063744,"note":"Value kept but may cause issues"} 
[2026-06-02 16:17: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-06-02 16:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780397188000,"timestamp_ms":1780397188000,"timestamp_seconds":1780397188,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f123a0"} 
[2026-06-02 16:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:17:59] 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-06-02 16:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 16:17:59] 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-06-02 16:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781676544001,"66":13102,"110":206,"87":13824,"24":19,"16":87842621052944384,"45":9004243792924063744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-02 16:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781676544001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:17:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-02 16:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87842621052944384,"km_value":87842621052944.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004243792924063744,"description":"Unknown IO ID 45"} 
[2026-06-02 16:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781676544001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9004243792924063744}} 
[2026-06-02 16:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":89842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:17:59] local.INFO: GPS data processed {"connection_id":89842,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:17:59] local.INFO: Acknowledgment sent {"connection_id":89842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:18:01] local.INFO: TCP Data received {"connection_id":89575,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f08f30012cb34b000776b1d8002100042e..."} 
[2026-06-02 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f08f30012cb34b000776b1d8002100042e..."} 
[2026-06-02 16:18:01] local.INFO: Processing buffer {"connection_id":89575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f08f30012cb34b000776b1d8002100042e..."} 
[2026-06-02 16:18:01] local.INFO: Packet analysis {"connection_id":89575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:18:01] local.INFO: Extracted packet for processing {"connection_id":89575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f0"} 
[2026-06-02 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":749947648,"raw_latitude":125219288,"longitude_deg":74.9947648,"latitude_deg":12.5219288,"altitude":33,"angle":4,"satellites":46,"speed":25,"hex_longitude":"2cb34b00","hex_latitude":"0776b1d8","is_valid_coordinates":true} 
[2026-06-02 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781666304001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305948739745349632,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5528449985520211968,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780397150000,"timestamp_ms":1780397150000,"timestamp_seconds":1780397150,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f08f30"} 
[2026-06-02 16:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:18: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-06-02 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 16:18: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-06-02 16:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:18:01] 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-06-02 16:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781666304001,"66":27908,"39":206,"85":36608,"24":25,"16":305948739745349632,"44":-5528449985520211968},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,44]} 
[2026-06-02 16:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781666304001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:18:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 16:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305948739745349632,"km_value":305948739745349.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5528449985520211968,"description":"Unknown IO ID 44"} 
[2026-06-02 16:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781666304001,"power":27908,"unknown_39":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5528449985520211968}} 
[2026-06-02 16:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":89575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:18:01] local.INFO: GPS data processed {"connection_id":89575,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:18:01] local.INFO: Acknowledgment sent {"connection_id":89575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:18:21] local.INFO: TCP Data received {"connection_id":91020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:21] local.INFO: Processing buffer {"connection_id":91020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:21] local.INFO: IMEI packet received {"connection_id":91020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":91020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:18:23] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:23] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:23] local.INFO: IMEI packet received {"connection_id":89577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":89577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:18:24] local.INFO: TCP Data received {"connection_id":91020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:24] local.INFO: Processing buffer {"connection_id":91020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:24] local.INFO: IMEI packet received {"connection_id":91020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":91020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:18:24] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:24] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:24] local.INFO: IMEI packet received {"connection_id":89577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":89577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:18:25] local.INFO: TCP Data received {"connection_id":91020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:25] local.INFO: Processing buffer {"connection_id":91020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:25] local.INFO: IMEI packet received {"connection_id":91020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":91020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:18:26] local.INFO: TCP Data received {"connection_id":91020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:26] local.INFO: Processing buffer {"connection_id":91020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:18:26] local.INFO: IMEI packet received {"connection_id":91020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":91020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:18:27] local.INFO: TCP Data received {"connection_id":91020,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f1f690012cb3bdc00777cc90002800262e..."} 
[2026-06-02 16:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f1f690012cb3bdc00777cc90002800262e..."} 
[2026-06-02 16:18:27] local.INFO: Processing buffer {"connection_id":91020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f1f690012cb3bdc00777cc90002800262e..."} 
[2026-06-02 16:18:27] local.INFO: Packet analysis {"connection_id":91020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f1"} 
[2026-06-02 16:18:27] local.INFO: Extracted packet for processing {"connection_id":91020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f1"} 
[2026-06-02 16:18:27] local.INFO: GPS Element Parsed {"raw_longitude":749977024,"raw_latitude":125291664,"longitude_deg":74.9977024,"latitude_deg":12.5291664,"altitude":40,"angle":38,"satellites":46,"speed":31,"hex_longitude":"2cb3bdc0","hex_latitude":"0777cc90","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781691904001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305952605215916032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5498191425504450560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780397242000,"timestamp_ms":1780397242000,"timestamp_seconds":1780397242,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f1f690"} 
[2026-06-02 16:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:18: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-06-02 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:18: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-06-02 16: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-06-02 16:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":91020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":91020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":91020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:18:27] 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-06-02 16:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781691904001,"66":27767,"252":206,"85":36608,"24":31,"16":305952605215916032,"44":-5498191425504450560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,85,24,16,44]} 
[2026-06-02 16:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781691904001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:18:27] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-06-02 16:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305952605215916032,"km_value":305952605215916.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:18:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5498191425504450560,"description":"Unknown IO ID 44"} 
[2026-06-02 16:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781691904001,"power":27767,"unknown_252":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5498191425504450560}} 
[2026-06-02 16:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":91020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:18:27] local.INFO: GPS data processed {"connection_id":91020,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:18:27] local.INFO: Acknowledgment sent {"connection_id":91020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:18:28] local.INFO: TCP Data received {"connection_id":91020,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f1fa78012cb3c0400777ceb8002800332f..."} 
[2026-06-02 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f1fa78012cb3c0400777ceb8002800332f..."} 
[2026-06-02 16:18:28] local.INFO: Processing buffer {"connection_id":91020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f1fa78012cb3c0400777ceb8002800332f..."} 
[2026-06-02 16:18:28] local.INFO: Packet analysis {"connection_id":91020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f1"} 
[2026-06-02 16:18:28] local.INFO: Extracted packet for processing {"connection_id":91020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f1"} 
[2026-06-02 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":749977664,"raw_latitude":125292216,"longitude_deg":74.9977664,"latitude_deg":12.5292216,"altitude":40,"angle":51,"satellites":47,"speed":31,"hex_longitude":"2cb3c040","hex_latitude":"0777ceb8","is_valid_coordinates":true} 
[2026-06-02 16:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781693952001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305952643870621696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5495024832014938112,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780397243000,"timestamp_ms":1780397243000,"timestamp_seconds":1780397243,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f1fa78"} 
[2026-06-02 16:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:18: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-06-02 16:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 16:18: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-06-02 16:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:18:28] 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-06-02 16:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781693952001,"66":27767,"252":206,"85":36608,"24":31,"16":305952643870621696,"44":-5495024832014938112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,85,24,16,44]} 
[2026-06-02 16:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781693952001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:18:28] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-06-02 16:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305952643870621696,"km_value":305952643870621.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5495024832014938112,"description":"Unknown IO ID 44"} 
[2026-06-02 16:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781693952001,"power":27767,"unknown_252":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5495024832014938112}} 
[2026-06-02 16:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":91020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:18:28] local.INFO: GPS data processed {"connection_id":91020,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:18:28] local.INFO: Acknowledgment sent {"connection_id":91020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:18:29] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:29] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:18:29] local.INFO: IMEI packet received {"connection_id":89577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:18:30] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f29e88012d7be4c005ec3230000600c812..."} 
[2026-06-02 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f29e88012d7be4c005ec3230000600c812..."} 
[2026-06-02 16:18:30] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f29e88012d7be4c005ec3230000600c812..."} 
[2026-06-02 16:18:30] local.INFO: Packet analysis {"connection_id":89577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:18:30] local.INFO: Extracted packet for processing {"connection_id":89577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99365424,"longitude_deg":76.3094208,"latitude_deg":9.9365424,"altitude":6,"angle":200,"satellites":18,"speed":11,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3230","is_valid_coordinates":true} 
[2026-06-02 16:18: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-06-02 16:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781704704001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87845524450836480,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230513664000,"note":"Value kept but may cause issues"} 
[2026-06-02 16:18:30] 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-06-02 16:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780397285000,"timestamp_ms":1780397285000,"timestamp_seconds":1780397285,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f29e88"} 
[2026-06-02 16:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:18:30] 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-06-02 16:18: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":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:18:30] 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-06-02 16:18: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-06-02 16:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781704704001,"66":12885,"198":206,"87":13824,"24":11,"16":87845524450836480,"45":8927612230513664000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781704704001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87845524450836480,"km_value":87845524450836.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230513664000,"description":"Unknown IO ID 45"} 
[2026-06-02 16:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781704704001,"power":12885,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927612230513664000}} 
[2026-06-02 16:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":89577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:18:30] local.INFO: GPS data processed {"connection_id":89577,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:18:30] local.INFO: Acknowledgment sent {"connection_id":89577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:19:01] local.INFO: TCP Data received {"connection_id":89577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f2a270012d7be44005ec3100000500ba12..."} 
[2026-06-02 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f2a270012d7be44005ec3100000500ba12..."} 
[2026-06-02 16:19:01] local.INFO: Processing buffer {"connection_id":89577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f2a270012d7be44005ec3100000500ba12..."} 
[2026-06-02 16:19:01] local.INFO: Packet analysis {"connection_id":89577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:01] local.INFO: Extracted packet for processing {"connection_id":89577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":99365120,"longitude_deg":76.309408,"latitude_deg":9.936512,"altitude":5,"angle":186,"satellites":18,"speed":12,"hex_longitude":"2d7be440","hex_latitude":"05ec3100","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781704960001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87845537335738368,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025247232,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:01] 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-06-02 16:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780397286000,"timestamp_ms":1780397286000,"timestamp_seconds":1780397286,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f2a270"} 
[2026-06-02 16:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:19:01] 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-06-02 16:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781704960001,"66":12798,"198":206,"87":13824,"24":12,"16":87845537335738368,"45":8927471493025247232},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781704960001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:19:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:19:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87845537335738368,"km_value":87845537335738.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025247232,"description":"Unknown IO ID 45"} 
[2026-06-02 16:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781704960001,"power":12798,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8927471493025247232}} 
[2026-06-02 16:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":89577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:19:01] local.INFO: GPS data processed {"connection_id":89577,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:19:01] local.INFO: Acknowledgment sent {"connection_id":89577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:19:02] local.INFO: TCP Data received {"connection_id":91020,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f2aa40012cb3df4007784718001c00102c..."} 
[2026-06-02 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f2aa40012cb3df4007784718001c00102c..."} 
[2026-06-02 16:19:02] local.INFO: Processing buffer {"connection_id":91020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f2aa40012cb3df4007784718001c00102c..."} 
[2026-06-02 16:19:02] local.INFO: Packet analysis {"connection_id":91020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:02] local.INFO: Extracted packet for processing {"connection_id":91020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":749985600,"raw_latitude":125323032,"longitude_deg":74.99856,"latitude_deg":12.5323032,"altitude":28,"angle":16,"satellites":44,"speed":49,"hex_longitude":"2cb3df40","hex_latitude":"07784718","is_valid_coordinates":true} 
[2026-06-02 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781703936001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305954413397147648,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486439845219532800,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:02] 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-06-02 16:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780397288000,"timestamp_ms":1780397288000,"timestamp_seconds":1780397288,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f2aa40"} 
[2026-06-02 16:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:19: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-06-02 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 16:19: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-06-02 16:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:19:02] 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-06-02 16:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781703936001,"66":27658,"251":206,"85":36608,"24":49,"16":305954413397147648,"44":-5486439845219532800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-06-02 16:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781703936001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305954413397147648,"km_value":305954413397147.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486439845219532800,"description":"Unknown IO ID 44"} 
[2026-06-02 16:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781703936001,"power":27658,"unknown_251":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5486439845219532800}} 
[2026-06-02 16:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":91020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:19:02] local.INFO: GPS data processed {"connection_id":91020,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:19:02] local.INFO: Acknowledgment sent {"connection_id":91020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:19:23] local.INFO: TCP Data received {"connection_id":89844,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:23] local.INFO: Processing buffer {"connection_id":89844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:23] local.INFO: IMEI packet received {"connection_id":89844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":89844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:19:24] local.INFO: TCP Data received {"connection_id":91023,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:24] local.INFO: Processing buffer {"connection_id":91023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:24] local.INFO: IMEI packet received {"connection_id":91023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":91023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:19:24] local.INFO: TCP Data received {"connection_id":89844,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:24] local.INFO: Processing buffer {"connection_id":89844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:24] local.INFO: IMEI packet received {"connection_id":89844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":89844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:19:24] local.INFO: TCP Data received {"connection_id":91023,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:24] local.INFO: Processing buffer {"connection_id":91023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:24] local.INFO: IMEI packet received {"connection_id":91023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":91023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:19:25] local.INFO: TCP Data received {"connection_id":89844,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:25] local.INFO: Processing buffer {"connection_id":89844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:25] local.INFO: IMEI packet received {"connection_id":89844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":89844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:19:28] local.INFO: TCP Data received {"connection_id":89844,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:28] local.INFO: Processing buffer {"connection_id":89844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:19:28] local.INFO: IMEI packet received {"connection_id":89844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:19:28] local.INFO: TCP Data received {"connection_id":91023,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:28] local.INFO: Processing buffer {"connection_id":91023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:19:28] local.INFO: IMEI packet received {"connection_id":91023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":91023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:19:29] local.INFO: TCP Data received {"connection_id":91023,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f2b210012cb3e2c007785048001b001c2c..."} 
[2026-06-02 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f2b210012cb3e2c007785048001b001c2c..."} 
[2026-06-02 16:19:29] local.INFO: Processing buffer {"connection_id":91023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f2b210012cb3e2c007785048001b001c2c..."} 
[2026-06-02 16:19:29] local.INFO: Packet analysis {"connection_id":91023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:29] local.INFO: Extracted packet for processing {"connection_id":91023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":749986496,"raw_latitude":125325384,"longitude_deg":74.9986496,"latitude_deg":12.5325384,"altitude":27,"angle":28,"satellites":44,"speed":49,"hex_longitude":"2cb3e2c0","hex_latitude":"07785048","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781705728001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305954537951199232,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5485595420287100928,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:29] 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-06-02 16:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397290000,"timestamp_ms":1780397290000,"timestamp_seconds":1780397290,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f2b210"} 
[2026-06-02 16:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:19: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-06-02 16: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 16:19:29] 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-06-02 16: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-06-02 16:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:19:29] 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-06-02 16:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781705728001,"66":27658,"251":206,"85":36608,"24":49,"16":305954537951199232,"44":-5485595420287100928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-06-02 16:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781705728001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305954537951199232,"km_value":305954537951199.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5485595420287100928,"description":"Unknown IO ID 44"} 
[2026-06-02 16:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781705728001,"power":27658,"unknown_251":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5485595420287100928}} 
[2026-06-02 16:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":91023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:19:29] local.INFO: GPS data processed {"connection_id":91023,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:19:29] local.INFO: Acknowledgment sent {"connection_id":91023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:19:29] local.INFO: TCP Data received {"connection_id":89844,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f2aa40012d7be58005ec2db80004009e12..."} 
[2026-06-02 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f2aa40012d7be58005ec2db80004009e12..."} 
[2026-06-02 16:19:29] local.INFO: Processing buffer {"connection_id":89844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f2aa40012d7be58005ec2db80004009e12..."} 
[2026-06-02 16:19:29] local.INFO: Packet analysis {"connection_id":89844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:29] local.INFO: Extracted packet for processing {"connection_id":89844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763094400,"raw_latitude":99364280,"longitude_deg":76.30944,"latitude_deg":9.936428,"altitude":4,"angle":158,"satellites":18,"speed":15,"hex_longitude":"2d7be580","hex_latitude":"05ec2db8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781705216001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87845580285411328,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755536814080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:19:29] 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-06-02 16:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397288000,"timestamp_ms":1780397288000,"timestamp_seconds":1780397288,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f2aa40"} 
[2026-06-02 16:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 16:19:29] 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-06-02 16: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-06-02 16:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781705216001,"66":12863,"198":206,"87":13824,"24":15,"16":87845580285411328,"45":8927330755536814080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781705216001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87845580285411328,"km_value":87845580285411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755536814080,"description":"Unknown IO ID 45"} 
[2026-06-02 16:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781705216001,"power":12863,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8927330755536814080}} 
[2026-06-02 16:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":89844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:19:29] local.INFO: GPS data processed {"connection_id":89844,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:19:29] local.INFO: Acknowledgment sent {"connection_id":89844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:20:00] local.INFO: TCP Data received {"connection_id":91023,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f39888012cb42dc00778fd20001a01542b..."} 
[2026-06-02 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f39888012cb42dc00778fd20001a01542b..."} 
[2026-06-02 16:20:00] local.INFO: Processing buffer {"connection_id":91023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f39888012cb42dc00778fd20001a01542b..."} 
[2026-06-02 16:20:00] local.INFO: Packet analysis {"connection_id":91023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f3"} 
[2026-06-02 16:20:00] local.INFO: Extracted packet for processing {"connection_id":91023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f3"} 
[2026-06-02 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":750005696,"raw_latitude":125369632,"longitude_deg":75.0005696,"latitude_deg":12.5369632,"altitude":26,"angle":340,"satellites":43,"speed":13,"hex_longitude":"2cb42dc0","hex_latitude":"0778fd20","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781720832001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305956986082557952,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463288528371079168,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:00] 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-06-02 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780397349000,"timestamp_ms":1780397349000,"timestamp_seconds":1780397349,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f39888"} 
[2026-06-02 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:20: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-06-02 16: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-02 16:20:00] 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-06-02 16: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-06-02 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:20:00] 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-06-02 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781720832001,"66":27745,"251":206,"85":36608,"24":13,"16":305956986082557952,"44":-5463288528371079168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-06-02 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781720832001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:20:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-02 16:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-06-02 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305956986082557952,"km_value":305956986082557.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463288528371079168,"description":"Unknown IO ID 44"} 
[2026-06-02 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781720832001,"power":27745,"unknown_251":206,"unknown_85":36608,"ignition":13,"odometer":null,"unknown_44":-5463288528371079168}} 
[2026-06-02 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":91023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:20:00] local.INFO: GPS data processed {"connection_id":91023,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:20:00] local.INFO: Acknowledgment sent {"connection_id":91023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:20:03] local.INFO: TCP Data received {"connection_id":89844,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f2e0f0012d7bef4005ec18f8000000a912..."} 
[2026-06-02 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f2e0f0012d7bef4005ec18f8000000a912..."} 
[2026-06-02 16:20:03] local.INFO: Processing buffer {"connection_id":89844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f2e0f0012d7bef4005ec18f8000000a912..."} 
[2026-06-02 16:20:03] local.INFO: Packet analysis {"connection_id":89844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:20:03] local.INFO: Extracted packet for processing {"connection_id":89844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f2"} 
[2026-06-02 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763096896,"raw_latitude":99358968,"longitude_deg":76.3096896,"latitude_deg":9.9358968,"altitude":0,"angle":169,"satellites":18,"speed":11,"hex_longitude":"2d7bef40","hex_latitude":"05ec18f8","is_valid_coordinates":true} 
[2026-06-02 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781705728001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87845868048220160,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599257487360,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780397302000,"timestamp_ms":1780397302000,"timestamp_seconds":1780397302,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f2e0f0"} 
[2026-06-02 16:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 16:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781705728001,"66":13200,"198":206,"87":13824,"24":11,"16":87845868048220160,"45":8927682599257487360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781705728001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:20:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87845868048220160,"km_value":87845868048220.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599257487360,"description":"Unknown IO ID 45"} 
[2026-06-02 16:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781705728001,"power":13200,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927682599257487360}} 
[2026-06-02 16:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":89844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:20:03] local.INFO: GPS data processed {"connection_id":89844,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:20:03] local.INFO: Acknowledgment sent {"connection_id":89844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:20:23] local.INFO: TCP Data received {"connection_id":91025,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:23] local.INFO: Processing buffer {"connection_id":91025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:23] local.INFO: IMEI packet received {"connection_id":91025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":91025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:20:23] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:23] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:23] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:20:23] local.INFO: TCP Data received {"connection_id":91025,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:23] local.INFO: Processing buffer {"connection_id":91025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:23] local.INFO: IMEI packet received {"connection_id":91025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":91025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:20:24] local.INFO: TCP Data received {"connection_id":91025,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:24] local.INFO: Processing buffer {"connection_id":91025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:24] local.INFO: IMEI packet received {"connection_id":91025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":91025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:20:24] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:24] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:24] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:20:25] local.INFO: TCP Data received {"connection_id":91025,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:25] local.INFO: Processing buffer {"connection_id":91025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:20:25] local.INFO: IMEI packet received {"connection_id":91025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":91025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:20:27] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:27] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:27] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:20:28] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:28] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:20:28] local.INFO: IMEI packet received {"connection_id":89578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":89578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:20:29] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f32740012d7bf54005ebf6a8000000a812..."} 
[2026-06-02 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f32740012d7bf54005ebf6a8000000a812..."} 
[2026-06-02 16:20:29] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f32740012d7bf54005ebf6a8000000a812..."} 
[2026-06-02 16:20:29] local.INFO: Packet analysis {"connection_id":89578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f3"} 
[2026-06-02 16:20:29] local.INFO: Extracted packet for processing {"connection_id":89578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f3"} 
[2026-06-02 16:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763098432,"raw_latitude":99350184,"longitude_deg":76.3098432,"latitude_deg":9.9350184,"altitude":0,"angle":168,"satellites":18,"speed":18,"hex_longitude":"2d7bf540","hex_latitude":"05ebf6a8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781709312001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87846301839917056,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930426980279056384,"note":"Value kept but may cause issues"} 
[2026-06-02 16:20:29] 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-06-02 16:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397320000,"timestamp_ms":1780397320000,"timestamp_seconds":1780397320,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f32740"} 
[2026-06-02 16:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:20:29] 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-06-02 16: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 16:20:29] 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-06-02 16: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-06-02 16:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781709312001,"66":12939,"198":206,"87":13824,"24":18,"16":87846301839917056,"45":8930426980279056384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-02 16:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781709312001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:20:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-02 16:20:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87846301839917056,"km_value":87846301839917.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930426980279056384,"description":"Unknown IO ID 45"} 
[2026-06-02 16:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781709312001,"power":12939,"unknown_198":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8930426980279056384}} 
[2026-06-02 16:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":89578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:20:29] local.INFO: GPS data processed {"connection_id":89578,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:20:29] local.INFO: Acknowledgment sent {"connection_id":89578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:21:00] local.INFO: TCP Data received {"connection_id":89578,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f4fc00012d7c3c4005eb06b00000009813..."} 
[2026-06-02 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f4fc00012d7c3c4005eb06b00000009813..."} 
[2026-06-02 16:21:00] local.INFO: Processing buffer {"connection_id":89578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f4fc00012d7c3c4005eb06b00000009813..."} 
[2026-06-02 16:21:00] local.INFO: Packet analysis {"connection_id":89578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f4"} 
[2026-06-02 16:21:00] local.INFO: Extracted packet for processing {"connection_id":89578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f4"} 
[2026-06-02 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763116608,"raw_latitude":99288752,"longitude_deg":76.3116608,"latitude_deg":9.9288752,"altitude":0,"angle":152,"satellites":19,"speed":24,"hex_longitude":"2d7c3c40","hex_latitude":"05eb06b0","is_valid_coordinates":true} 
[2026-06-02 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781743616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87849458640879616,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334863833088,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:00] 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-06-02 16:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780397440000,"timestamp_ms":1780397440000,"timestamp_seconds":1780397440,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f4fc00"} 
[2026-06-02 16:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 16:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781743616001,"66":13243,"8":206,"87":13824,"24":24,"16":87849458640879616,"45":8950341334863833088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781743616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:21:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:21:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87849458640879616,"km_value":87849458640879.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334863833088,"description":"Unknown IO ID 45"} 
[2026-06-02 16:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781743616001,"power":13243,"unknown_8":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8950341334863833088}} 
[2026-06-02 16:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":89578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:21:00] local.INFO: GPS data processed {"connection_id":89578,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:21:00] local.INFO: Acknowledgment sent {"connection_id":89578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:21:10] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:21:10] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:21:10] local.INFO: IMEI packet received {"connection_id":89947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":89947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:21:11] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f313b8012d1b4d000724b210002d00e629..."} 
[2026-06-02 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f313b8012d1b4d000724b210002d00e629..."} 
[2026-06-02 16:21:11] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f313b8012d1b4d000724b210002d00e629..."} 
[2026-06-02 16:21:11] local.INFO: Packet analysis {"connection_id":89947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f3"} 
[2026-06-02 16:21:11] local.INFO: Extracted packet for processing {"connection_id":89947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f3"} 
[2026-06-02 16:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756763904,"raw_latitude":119845392,"longitude_deg":75.6763904,"latitude_deg":11.9845392,"altitude":45,"angle":230,"satellites":41,"speed":34,"hex_longitude":"2d1b4d00","hex_latitude":"0724b210","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781712128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125367277871693824,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968495280306675712,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:11] 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-06-02 16:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780397315000,"timestamp_ms":1780397315000,"timestamp_seconds":1780397315,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f313b8"} 
[2026-06-02 16:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:21: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-06-02 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 16:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:21:11] 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-06-02 16:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781712128001,"66":14363,"176":206,"83":42752,"24":34,"16":125367277871693824,"45":1968495280306675712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-06-02 16:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781712128001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:21:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-02 16:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125367277871693824,"km_value":125367277871693.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968495280306675712,"description":"Unknown IO ID 45"} 
[2026-06-02 16:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781712128001,"power":14363,"unknown_176":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1968495280306675712}} 
[2026-06-02 16:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":89947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:21:11] local.INFO: GPS data processed {"connection_id":89947,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:21:11] local.INFO: Acknowledgment sent {"connection_id":89947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:21:23] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:23] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:23] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:21:24] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:24] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:24] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:21:27] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:27] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:27] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:21:28] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:28] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:21:28] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:21:29] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f59c28012d7c3f0005eac5680000008a14..."} 
[2026-06-02 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f59c28012d7c3f0005eac5680000008a14..."} 
[2026-06-02 16:21:29] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f59c28012d7c3f0005eac5680000008a14..."} 
[2026-06-02 16:21:29] local.INFO: Packet analysis {"connection_id":89846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:21:29] local.INFO: Extracted packet for processing {"connection_id":89846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99272040,"longitude_deg":76.3117312,"latitude_deg":9.927204,"altitude":0,"angle":138,"satellites":20,"speed":6,"hex_longitude":"2d7c3f00","hex_latitude":"05eac568","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781754880001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87850278979633152,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952663503416981504,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:29] 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-06-02 16:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397481000,"timestamp_ms":1780397481000,"timestamp_seconds":1780397481,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f59c28"} 
[2026-06-02 16:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 16:21:29] 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-06-02 16: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-06-02 16:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781754880001,"66":12504,"8":206,"87":13824,"24":6,"16":87850278979633152,"45":8952663503416981504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781754880001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:21:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:21:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87850278979633152,"km_value":87850278979633.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952663503416981504,"description":"Unknown IO ID 45"} 
[2026-06-02 16:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781754880001,"power":12504,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8952663503416981504}} 
[2026-06-02 16:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":89846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:21:29] local.INFO: GPS data processed {"connection_id":89846,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:21:29] local.INFO: Acknowledgment sent {"connection_id":89846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:21:45] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f52ae0012d1a29800723b568003200eb28..."} 
[2026-06-02 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f52ae0012d1a29800723b568003200eb28..."} 
[2026-06-02 16:21:45] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f52ae0012d1a29800723b568003200eb28..."} 
[2026-06-02 16:21:45] local.INFO: Packet analysis {"connection_id":89947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:21:45] local.INFO: Extracted packet for processing {"connection_id":89947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756689280,"raw_latitude":119780712,"longitude_deg":75.668928,"latitude_deg":11.9780712,"altitude":50,"angle":235,"satellites":40,"speed":48,"hex_longitude":"2d1a2980","hex_latitude":"0723b568","is_valid_coordinates":true} 
[2026-06-02 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781746688001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125372118299836416,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889119336858216448,"note":"Value kept but may cause issues"} 
[2026-06-02 16:21:45] 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-06-02 16:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780397452000,"timestamp_ms":1780397452000,"timestamp_seconds":1780397452,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f52ae0"} 
[2026-06-02 16:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:21:45] 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-06-02 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 16:21: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-06-02 16:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:21:45] 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-06-02 16:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781746688001,"66":13939,"42":206,"83":42752,"24":48,"16":125372118299836416,"45":1889119336858216448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-06-02 16:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781746688001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:21:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-02 16:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-06-02 16:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125372118299836416,"km_value":125372118299836.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889119336858216448,"description":"Unknown IO ID 45"} 
[2026-06-02 16:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781746688001,"power":13939,"unknown_42":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1889119336858216448}} 
[2026-06-02 16:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":89947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:21:45] local.INFO: GPS data processed {"connection_id":89947,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:21:45] local.INFO: Acknowledgment sent {"connection_id":89947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:22:01] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f5a010012d7c3f8005eac5000000007d14..."} 
[2026-06-02 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f5a010012d7c3f8005eac5000000007d14..."} 
[2026-06-02 16:22:01] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f5a010012d7c3f8005eac5000000007d14..."} 
[2026-06-02 16:22:01] local.INFO: Packet analysis {"connection_id":89846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:22:01] local.INFO: Extracted packet for processing {"connection_id":89846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":99271936,"longitude_deg":76.311744,"latitude_deg":9.9271936,"altitude":0,"angle":125,"satellites":20,"speed":5,"hex_longitude":"2d7c3f80","hex_latitude":"05eac500","is_valid_coordinates":true} 
[2026-06-02 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781755136001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87850287569567744,"note":"Value kept but may cause issues"} 
[2026-06-02 16:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609649477632,"note":"Value kept but may cause issues"} 
[2026-06-02 16:22:01] 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-06-02 16:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780397482000,"timestamp_ms":1780397482000,"timestamp_seconds":1780397482,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f5a010"} 
[2026-06-02 16:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:22:01] 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-06-02 16:22:01] local.INFO: IO Element 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-06-02 16:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781755136001,"66":12428,"8":206,"87":13824,"24":5,"16":87850287569567744,"45":8952874609649477632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781755136001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:22:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:22:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87850287569567744,"km_value":87850287569567.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609649477632,"description":"Unknown IO ID 45"} 
[2026-06-02 16:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781755136001,"power":12428,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8952874609649477632}} 
[2026-06-02 16:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":89846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:22:01] local.INFO: GPS data processed {"connection_id":89846,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:22:01] local.INFO: Acknowledgment sent {"connection_id":89846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:22:20] local.INFO: TCP Data received {"connection_id":89580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:22:20] local.INFO: Processing buffer {"connection_id":89580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:22:20] local.INFO: IMEI packet received {"connection_id":89580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":89580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:22:23] local.INFO: TCP Data received {"connection_id":89847,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:22:23] local.INFO: Processing buffer {"connection_id":89847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:22:23] local.INFO: IMEI packet received {"connection_id":89847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":89847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:22:28] local.INFO: TCP Data received {"connection_id":89847,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:22:28] local.INFO: Processing buffer {"connection_id":89847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:22:28] local.INFO: IMEI packet received {"connection_id":89847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":89847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:22:29] local.INFO: TCP Data received {"connection_id":89847,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f5afb0012d7c418005eac5280000004d14..."} 
[2026-06-02 16:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f5afb0012d7c418005eac5280000004d14..."} 
[2026-06-02 16:22:29] local.INFO: Processing buffer {"connection_id":89847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f5afb0012d7c418005eac5280000004d14..."} 
[2026-06-02 16:22:29] local.INFO: Packet analysis {"connection_id":89847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:22:29] local.INFO: Extracted packet for processing {"connection_id":89847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763117952,"raw_latitude":99271976,"longitude_deg":76.3117952,"latitude_deg":9.9271976,"altitude":0,"angle":77,"satellites":20,"speed":6,"hex_longitude":"2d7c4180","hex_latitude":"05eac528","is_valid_coordinates":true} 
[2026-06-02 16:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781755392001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87850313339371520,"note":"Value kept but may cause issues"} 
[2026-06-02 16:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015347137806336,"note":"Value kept but may cause issues"} 
[2026-06-02 16:22:29] 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-06-02 16:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397486000,"timestamp_ms":1780397486000,"timestamp_seconds":1780397486,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f5afb0"} 
[2026-06-02 16:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 16:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781755392001,"66":13222,"8":206,"87":13824,"24":6,"16":87850313339371520,"45":8953015347137806336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781755392001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:22:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:22:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87850313339371520,"km_value":87850313339371.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015347137806336,"description":"Unknown IO ID 45"} 
[2026-06-02 16:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781755392001,"power":13222,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8953015347137806336}} 
[2026-06-02 16:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":89847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:22:29] local.INFO: GPS data processed {"connection_id":89847,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:22:29] local.INFO: Acknowledgment sent {"connection_id":89847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:22:33] local.INFO: TCP Data received {"connection_id":91027,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:22:33] local.INFO: Processing buffer {"connection_id":91027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:22:33] local.INFO: IMEI packet received {"connection_id":91027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":91027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:22:58] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:22:58] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:22:58] local.INFO: IMEI packet received {"connection_id":89948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":89948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:23:00] local.INFO: TCP Data received {"connection_id":89847,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f5e278012d7c510005eac7600000005914..."} 
[2026-06-02 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f5e278012d7c510005eac7600000005914..."} 
[2026-06-02 16:23:00] local.INFO: Processing buffer {"connection_id":89847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f5e278012d7c510005eac7600000005914..."} 
[2026-06-02 16:23:00] local.INFO: Packet analysis {"connection_id":89847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:23:00] local.INFO: Extracted packet for processing {"connection_id":89847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763121920,"raw_latitude":99272544,"longitude_deg":76.312192,"latitude_deg":9.9272544,"altitude":0,"angle":89,"satellites":20,"speed":16,"hex_longitude":"2d7c5100","hex_latitude":"05eac760","is_valid_coordinates":true} 
[2026-06-02 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781756416001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87850506612899840,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953578297091237888,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:00] 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-06-02 16:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780397499000,"timestamp_ms":1780397499000,"timestamp_seconds":1780397499,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f5e278"} 
[2026-06-02 16:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 16:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781756416001,"66":12939,"8":206,"87":13824,"24":16,"16":87850506612899840,"45":8953578297091237888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781756416001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:23:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:23:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87850506612899840,"km_value":87850506612899.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953578297091237888,"description":"Unknown IO ID 45"} 
[2026-06-02 16:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781756416001,"power":12939,"unknown_8":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8953578297091237888}} 
[2026-06-02 16:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":89847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:23:00] local.INFO: GPS data processed {"connection_id":89847,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:23:00] local.INFO: Acknowledgment sent {"connection_id":89847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:23:29] local.INFO: TCP Data received {"connection_id":89580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:29] local.INFO: Processing buffer {"connection_id":89580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:29] local.INFO: IMEI packet received {"connection_id":89580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":89580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:23:29] local.INFO: TCP Data received {"connection_id":91029,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:23:29] local.INFO: Processing buffer {"connection_id":91029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:23:29] local.INFO: IMEI packet received {"connection_id":91029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":91029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:23:35] local.INFO: TCP Data received {"connection_id":89949,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:35] local.INFO: Processing buffer {"connection_id":89949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:35] local.INFO: IMEI packet received {"connection_id":89949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":89949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:23:35] local.INFO: TCP Data received {"connection_id":91029,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:23:35] local.INFO: Processing buffer {"connection_id":91029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:23:35] local.INFO: IMEI packet received {"connection_id":91029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":91029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:23:36] local.INFO: TCP Data received {"connection_id":91029,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f5fdd0012d7c5fc005eac7d80000004914..."} 
[2026-06-02 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f5fdd0012d7c5fc005eac7d80000004914..."} 
[2026-06-02 16:23:36] local.INFO: Processing buffer {"connection_id":91029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f5fdd0012d7c5fc005eac7d80000004914..."} 
[2026-06-02 16:23:36] local.INFO: Packet analysis {"connection_id":91029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:23:36] local.INFO: Extracted packet for processing {"connection_id":91029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f5"} 
[2026-06-02 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763125696,"raw_latitude":99272664,"longitude_deg":76.3125696,"latitude_deg":9.9272664,"altitude":0,"angle":73,"satellites":20,"speed":22,"hex_longitude":"2d7c5fc0","hex_latitude":"05eac7d8","is_valid_coordinates":true} 
[2026-06-02 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781759744001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87850687001526272,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957941159230398464,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:36] 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-06-02 16:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780397506000,"timestamp_ms":1780397506000,"timestamp_seconds":1780397506,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f5fdd0"} 
[2026-06-02 16:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:23:36] 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-06-02 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 16:23:36] 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-06-02 16:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":91029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":91029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":91029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781759744001,"66":13015,"8":206,"87":13824,"24":22,"16":87850687001526272,"45":8957941159230398464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781759744001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:23:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:23:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87850687001526272,"km_value":87850687001526.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957941159230398464,"description":"Unknown IO ID 45"} 
[2026-06-02 16:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781759744001,"power":13015,"unknown_8":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8957941159230398464}} 
[2026-06-02 16:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":91029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:23:36] local.INFO: GPS data processed {"connection_id":91029,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:23:36] local.INFO: Acknowledgment sent {"connection_id":91029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:23:38] local.INFO: TCP Data received {"connection_id":91029,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f63c50012d7c7d8005eacff80000003e14..."} 
[2026-06-02 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f63c50012d7c7d8005eacff80000003e14..."} 
[2026-06-02 16:23:38] local.INFO: Processing buffer {"connection_id":91029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f63c50012d7c7d8005eacff80000003e14..."} 
[2026-06-02 16:23:38] local.INFO: Packet analysis {"connection_id":91029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f6"} 
[2026-06-02 16:23:38] local.INFO: Extracted packet for processing {"connection_id":91029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f6"} 
[2026-06-02 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763133312,"raw_latitude":99274744,"longitude_deg":76.3133312,"latitude_deg":9.9274744,"altitude":0,"angle":62,"satellites":20,"speed":5,"hex_longitude":"2d7c7d80","hex_latitude":"05eacff8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781761536001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87851064958648320,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962092915136911360,"note":"Value kept but may cause issues"} 
[2026-06-02 16:23: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-06-02 16:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780397522000,"timestamp_ms":1780397522000,"timestamp_seconds":1780397522,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f63c50"} 
[2026-06-02 16:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 16:23:38] 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-06-02 16: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-06-02 16:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781761536001,"66":12385,"8":206,"87":13824,"24":5,"16":87851064958648320,"45":8962092915136911360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781761536001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:23:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87851064958648320,"km_value":87851064958648.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962092915136911360,"description":"Unknown IO ID 45"} 
[2026-06-02 16:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781761536001,"power":12385,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8962092915136911360}} 
[2026-06-02 16:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":91029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:23:38] local.INFO: GPS data processed {"connection_id":91029,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:23:38] local.INFO: Acknowledgment sent {"connection_id":91029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:23:38] local.INFO: TCP Data received {"connection_id":89949,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:38] local.INFO: Processing buffer {"connection_id":89949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:23:38] local.INFO: IMEI packet received {"connection_id":89949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":89949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:24:20] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:20] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:20] local.INFO: IMEI packet received {"connection_id":89950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":89950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:24:24] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:24] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:24] local.INFO: IMEI packet received {"connection_id":89950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":89950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:24:28] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:28] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:24:28] local.INFO: IMEI packet received {"connection_id":89950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":89950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:24:29] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f7d678012d7cef4005eaed00000b004d14..."} 
[2026-06-02 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f7d678012d7cef4005eaed00000b004d14..."} 
[2026-06-02 16:24:29] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f7d678012d7cef4005eaed00000b004d14..."} 
[2026-06-02 16:24:29] local.INFO: Packet analysis {"connection_id":89950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f7"} 
[2026-06-02 16:24:29] local.INFO: Extracted packet for processing {"connection_id":89950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f7"} 
[2026-06-02 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763162432,"raw_latitude":99282176,"longitude_deg":76.3162432,"latitude_deg":9.9282176,"altitude":11,"angle":77,"satellites":20,"speed":17,"hex_longitude":"2d7cef40","hex_latitude":"05eaed00","is_valid_coordinates":true} 
[2026-06-02 16:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781790720001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87852525247528960,"note":"Value kept but may cause issues"} 
[2026-06-02 16:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999810562018541568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:24:29] 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-06-02 16:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397627000,"timestamp_ms":1780397627000,"timestamp_seconds":1780397627,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f7d678"} 
[2026-06-02 16:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 16:24:29] 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-06-02 16:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781790720001,"66":12939,"8":206,"87":13824,"24":17,"16":87852525247528960,"45":8999810562018541568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-02 16:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781790720001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:24:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-02 16:24:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87852525247528960,"km_value":87852525247528.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999810562018541568,"description":"Unknown IO ID 45"} 
[2026-06-02 16:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781790720001,"power":12939,"unknown_8":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8999810562018541568}} 
[2026-06-02 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":89950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:24:29] local.INFO: GPS data processed {"connection_id":89950,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:24:29] local.INFO: Acknowledgment sent {"connection_id":89950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:24:34] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f80558012d7cfe4005eaefa80009003f14..."} 
[2026-06-02 16:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f80558012d7cfe4005eaefa80009003f14..."} 
[2026-06-02 16:24:34] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f80558012d7cfe4005eaefa80009003f14..."} 
[2026-06-02 16:24:34] local.INFO: Packet analysis {"connection_id":89950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:24:34] local.INFO: Extracted packet for processing {"connection_id":89950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763166272,"raw_latitude":99282856,"longitude_deg":76.3166272,"latitude_deg":9.9282856,"altitude":9,"angle":63,"satellites":20,"speed":16,"hex_longitude":"2d7cfe40","hex_latitude":"05eaefa8","is_valid_coordinates":true} 
[2026-06-02 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781792512001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87852714226089984,"note":"Value kept but may cause issues"} 
[2026-06-02 16:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002484574297325568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:24: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-06-02 16:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780397639000,"timestamp_ms":1780397639000,"timestamp_seconds":1780397639,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f80558"} 
[2026-06-02 16:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 16:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781792512001,"66":12917,"158":206,"87":13824,"24":16,"16":87852714226089984,"45":9002484574297325568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781792512001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:24:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87852714226089984,"km_value":87852714226089.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002484574297325568,"description":"Unknown IO ID 45"} 
[2026-06-02 16:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781792512001,"power":12917,"unknown_158":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9002484574297325568}} 
[2026-06-02 16:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":89950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:24:34] local.INFO: GPS data processed {"connection_id":89950,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:24:34] local.INFO: Acknowledgment sent {"connection_id":89950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:25:05] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f847c0012d7d02c005eaf0c00009005213..."} 
[2026-06-02 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f847c0012d7d02c005eaf0c00009005213..."} 
[2026-06-02 16:25:05] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f847c0012d7d02c005eaf0c00009005213..."} 
[2026-06-02 16:25:05] local.INFO: Packet analysis {"connection_id":89950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:05] local.INFO: Extracted packet for processing {"connection_id":89950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763167424,"raw_latitude":99283136,"longitude_deg":76.3167424,"latitude_deg":9.9283136,"altitude":9,"angle":82,"satellites":19,"speed":6,"hex_longitude":"2d7d02c0","hex_latitude":"05eaf0c0","is_valid_coordinates":true} 
[2026-06-02 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781795584001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87852778650599424,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006706698948159488,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25: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-06-02 16:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780397656000,"timestamp_ms":1780397656000,"timestamp_seconds":1780397656,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f847c0"} 
[2026-06-02 16:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:25: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-06-02 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 16:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781795584001,"66":13080,"158":206,"87":13824,"24":6,"16":87852778650599424,"45":9006706698948159488},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781795584001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:25:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:25:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87852778650599424,"km_value":87852778650599.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006706698948159488,"description":"Unknown IO ID 45"} 
[2026-06-02 16:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781795584001,"power":13080,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9006706698948159488}} 
[2026-06-02 16:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":89950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:25:05] local.INFO: GPS data processed {"connection_id":89950,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:25:05] local.INFO: Acknowledgment sent {"connection_id":89950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:25:24] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:25:24] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:25:24] local.INFO: IMEI packet received {"connection_id":89851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":89851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:25:26] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:25:26] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:25:26] local.INFO: IMEI packet received {"connection_id":89851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":89851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:25:27] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f85378012d7d050005eaf1a00009003d13..."} 
[2026-06-02 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f85378012d7d050005eaf1a00009003d13..."} 
[2026-06-02 16:25:27] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f85378012d7d050005eaf1a00009003d13..."} 
[2026-06-02 16:25:27] local.INFO: Packet analysis {"connection_id":89851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:27] local.INFO: Extracted packet for processing {"connection_id":89851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763168000,"raw_latitude":99283360,"longitude_deg":76.3168,"latitude_deg":9.928336,"altitude":9,"angle":61,"satellites":19,"speed":10,"hex_longitude":"2d7d0500","hex_latitude":"05eaf1a0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781799936001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87852808715370496,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007973336343429120,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:27] 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-06-02 16:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1780397659000,"timestamp_ms":1780397659000,"timestamp_seconds":1780397659,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f85378"} 
[2026-06-02 16:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:25:27] 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-06-02 16: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-02 16:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":89851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":89851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":89851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781799936001,"66":13189,"158":206,"87":13824,"24":10,"16":87852808715370496,"45":9007973336343429120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781799936001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:25:27] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:25:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87852808715370496,"km_value":87852808715370.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007973336343429120,"description":"Unknown IO ID 45"} 
[2026-06-02 16:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781799936001,"power":13189,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9007973336343429120}} 
[2026-06-02 16:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":89851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:25:27] local.INFO: GPS data processed {"connection_id":89851,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:25:27] local.INFO: Acknowledgment sent {"connection_id":89851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:25:28] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:25:28] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:25:28] local.INFO: IMEI packet received {"connection_id":89852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":89852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:25:29] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f83050012cb358c0077bdf70001301532c..."} 
[2026-06-02 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f83050012cb358c0077bdf70001301532c..."} 
[2026-06-02 16:25:29] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f83050012cb358c0077bdf70001301532c..."} 
[2026-06-02 16:25:29] local.INFO: Packet analysis {"connection_id":89852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:29] local.INFO: Extracted packet for processing {"connection_id":89852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":749951168,"raw_latitude":125558640,"longitude_deg":74.9951168,"latitude_deg":12.555864,"altitude":19,"angle":339,"satellites":44,"speed":23,"hex_longitude":"2cb358c0","hex_latitude":"077bdf70","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781798144001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305968518069747712,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5523101960873609216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:29] 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-06-02 16:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397650000,"timestamp_ms":1780397650000,"timestamp_seconds":1780397650,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f83050"} 
[2026-06-02 16:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:25: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-06-02 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-02 16:25:29] 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-06-02 16: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-06-02 16:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:25:29] 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-06-02 16:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781798144001,"66":27365,"34":206,"85":36864,"24":23,"16":305968518069747712,"44":-5523101960873609216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-06-02 16:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781798144001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:25:29] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 16:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305968518069747712,"km_value":305968518069747.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5523101960873609216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781798144001,"power":27365,"unknown_34":206,"unknown_85":36864,"ignition":23,"odometer":null,"unknown_44":-5523101960873609216}} 
[2026-06-02 16:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":89852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:25:29] local.INFO: GPS data processed {"connection_id":89852,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:25:29] local.INFO: Acknowledgment sent {"connection_id":89852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:25:58] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f88640012d7d148005eaf8a0000b005414..."} 
[2026-06-02 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f88640012d7d148005eaf8a0000b005414..."} 
[2026-06-02 16:25:58] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f88640012d7d148005eaf8a0000b005414..."} 
[2026-06-02 16:25:58] local.INFO: Packet analysis {"connection_id":89851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:58] local.INFO: Extracted packet for processing {"connection_id":89851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763171968,"raw_latitude":99285152,"longitude_deg":76.3171968,"latitude_deg":9.9285152,"altitude":11,"angle":84,"satellites":20,"speed":5,"hex_longitude":"2d7d1480","hex_latitude":"05eaf8a0","is_valid_coordinates":true} 
[2026-06-02 16:25: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-06-02 16:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781800704001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87853019168768000,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008606655041085440,"note":"Value kept but may cause issues"} 
[2026-06-02 16:25:58] 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-06-02 16:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780397672000,"timestamp_ms":1780397672000,"timestamp_seconds":1780397672,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f88640"} 
[2026-06-02 16:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:25:58] 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-06-02 16:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 16:25:58] 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-06-02 16:25: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-06-02 16:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":89851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":89851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":89851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781800704001,"66":13330,"158":206,"87":13824,"24":5,"16":87853019168768000,"45":9008606655041085440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781800704001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:25:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87853019168768000,"km_value":87853019168768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008606655041085440,"description":"Unknown IO ID 45"} 
[2026-06-02 16:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781800704001,"power":13330,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9008606655041085440}} 
[2026-06-02 16:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":89851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:25:58] local.INFO: GPS data processed {"connection_id":89851,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:25:58] local.INFO: Acknowledgment sent {"connection_id":89851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:26:00] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f83438012cb35840077be1d8001301632c..."} 
[2026-06-02 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f83438012cb35840077be1d8001301632c..."} 
[2026-06-02 16:26:00] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f83438012cb35840077be1d8001301632c..."} 
[2026-06-02 16:26:00] local.INFO: Packet analysis {"connection_id":89852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:26:00] local.INFO: Extracted packet for processing {"connection_id":89852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f8"} 
[2026-06-02 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":749951040,"raw_latitude":125559256,"longitude_deg":74.995104,"latitude_deg":12.5559256,"altitude":19,"angle":355,"satellites":44,"speed":24,"hex_longitude":"2cb35840","hex_latitude":"077be1d8","is_valid_coordinates":true} 
[2026-06-02 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781798400001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305968548134518784,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5523453804594368512,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:00] 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-06-02 16:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780397651000,"timestamp_ms":1780397651000,"timestamp_seconds":1780397651,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f83438"} 
[2026-06-02 16:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-02 16:26:00] 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-06-02 16:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:26:00] 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-06-02 16:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781798400001,"66":27365,"34":206,"85":36864,"24":24,"16":305968548134518784,"44":-5523453804594368512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-06-02 16:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781798400001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:26:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 16:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305968548134518784,"km_value":305968548134518.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5523453804594368512,"description":"Unknown IO ID 44"} 
[2026-06-02 16:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781798400001,"power":27365,"unknown_34":206,"unknown_85":36864,"ignition":24,"odometer":null,"unknown_44":-5523453804594368512}} 
[2026-06-02 16:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":89852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:26:00] local.INFO: GPS data processed {"connection_id":89852,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:26:00] local.INFO: Acknowledgment sent {"connection_id":89852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:26:23] local.INFO: TCP Data received {"connection_id":89583,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:26:23] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:26:23] local.INFO: IMEI packet received {"connection_id":89583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":89583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:26:27] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:27] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:27] local.INFO: IMEI packet received {"connection_id":89584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":89584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:26:28] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:28] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:28] local.INFO: IMEI packet received {"connection_id":89584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":89584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:26:29] local.INFO: TCP Data received {"connection_id":89583,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:26:29] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:26:29] local.INFO: IMEI packet received {"connection_id":89583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":89583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:26:29] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:29] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:29] local.INFO: IMEI packet received {"connection_id":89584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":89584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:26:31] local.INFO: TCP Data received {"connection_id":89583,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f9ab38012d7d1d0005ea84d8000300b014..."} 
[2026-06-02 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f9ab38012d7d1d0005ea84d8000300b014..."} 
[2026-06-02 16:26:31] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f9ab38012d7d1d0005ea84d8000300b014..."} 
[2026-06-02 16:26:31] local.INFO: Packet analysis {"connection_id":89583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:26:31] local.INFO: Extracted packet for processing {"connection_id":89583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99255512,"longitude_deg":76.3174144,"latitude_deg":9.9255512,"altitude":3,"angle":176,"satellites":20,"speed":0,"hex_longitude":"2d7d1d00","hex_latitude":"05ea84d8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781818112001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87854694206013440,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423220203520,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:31] 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-06-02 16:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780397747000,"timestamp_ms":1780397747000,"timestamp_seconds":1780397747,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f9ab38"} 
[2026-06-02 16:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 16:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781818112001,"66":13363,"158":206,"87":13824,"24":0,"16":87854694206013440,"45":9015432423220203520},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781818112001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:26:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:26:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87854694206013440,"km_value":87854694206013.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423220203520,"description":"Unknown IO ID 45"} 
[2026-06-02 16:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781818112001,"power":13363,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9015432423220203520}} 
[2026-06-02 16:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":89583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:26:31] local.INFO: GPS data processed {"connection_id":89583,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:26:31] local.INFO: Acknowledgment sent {"connection_id":89583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:26:33] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:33] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:26:33] local.INFO: IMEI packet received {"connection_id":89584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":89584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:26:34] local.INFO: TCP Data received {"connection_id":89583,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f9e1e8012d7d1cc005ea7890000300bc14..."} 
[2026-06-02 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f9e1e8012d7d1cc005ea7890000300bc14..."} 
[2026-06-02 16:26:34] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f9e1e8012d7d1cc005ea7890000300bc14..."} 
[2026-06-02 16:26:34] local.INFO: Packet analysis {"connection_id":89583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:26:34] local.INFO: Extracted packet for processing {"connection_id":89583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99252368,"longitude_deg":76.317408,"latitude_deg":9.9252368,"altitude":3,"angle":188,"satellites":20,"speed":11,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea7890","is_valid_coordinates":true} 
[2026-06-02 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781823232001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87854844529868800,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054475012096,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26: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-06-02 16:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780397761000,"timestamp_ms":1780397761000,"timestamp_seconds":1780397761,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f9e1e8"} 
[2026-06-02 16:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 16:26:34] 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-06-02 16:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781823232001,"66":13341,"158":206,"87":13824,"24":11,"16":87854844529868800,"45":9015362054475012096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781823232001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87854844529868800,"km_value":87854844529868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054475012096,"description":"Unknown IO ID 45"} 
[2026-06-02 16:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781823232001,"power":13341,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9015362054475012096}} 
[2026-06-02 16:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":89583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:26:34] local.INFO: GPS data processed {"connection_id":89583,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:26:34] local.INFO: Acknowledgment sent {"connection_id":89583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:26:34] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f94d78012cb35080077d0700000b00152c..."} 
[2026-06-02 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f94d78012cb35080077d0700000b00152c..."} 
[2026-06-02 16:26:34] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f94d78012cb35080077d0700000b00152c..."} 
[2026-06-02 16:26:34] local.INFO: Packet analysis {"connection_id":89584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:26:34] local.INFO: Extracted packet for processing {"connection_id":89584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":749949056,"raw_latitude":125634304,"longitude_deg":74.9949056,"latitude_deg":12.5634304,"altitude":11,"angle":21,"satellites":44,"speed":46,"hex_longitude":"2cb35080","hex_latitude":"077d0700","is_valid_coordinates":true} 
[2026-06-02 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781815296001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305972400720183296,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529646254064986112,"note":"Value kept but may cause issues"} 
[2026-06-02 16:26:34] 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-06-02 16:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780397723000,"timestamp_ms":1780397723000,"timestamp_seconds":1780397723,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f94d78"} 
[2026-06-02 16:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:26: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-06-02 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-02 16:26:34] 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-06-02 16:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:26:34] 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-06-02 16:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781815296001,"66":27745,"34":206,"85":36864,"24":46,"16":305972400720183296,"44":-5529646254064986112},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-06-02 16:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781815296001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305972400720183296,"km_value":305972400720183.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:26:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529646254064986112,"description":"Unknown IO ID 44"} 
[2026-06-02 16:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781815296001,"power":27745,"unknown_34":206,"unknown_85":36864,"ignition":46,"odometer":null,"unknown_44":-5529646254064986112}} 
[2026-06-02 16:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":89584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:26:34] local.INFO: GPS data processed {"connection_id":89584,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:26:34] local.INFO: Acknowledgment sent {"connection_id":89584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:27:05] local.INFO: TCP Data received {"connection_id":89584,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e87f964e8012cb35b40077d1ac0000c00242d..."} 
[2026-06-02 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87f964e8012cb35b40077d1ac0000c00242d..."} 
[2026-06-02 16:27:05] local.INFO: Processing buffer {"connection_id":89584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87f964e8012cb35b40077d1ac0000c00242d..."} 
[2026-06-02 16:27:05] local.INFO: Packet analysis {"connection_id":89584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:27:05] local.INFO: Extracted packet for processing {"connection_id":89584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87f9"} 
[2026-06-02 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":749951808,"raw_latitude":125639360,"longitude_deg":74.9951808,"latitude_deg":12.563936,"altitude":12,"angle":36,"satellites":45,"speed":23,"hex_longitude":"2cb35b40","hex_latitude":"077d1ac0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781817088001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305972679893057536,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5525775973132861440,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:05] 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-06-02 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780397729000,"timestamp_ms":1780397729000,"timestamp_seconds":1780397729,"priority":1,"record_length":96,"hex_timestamp":"0000019e87f964e8"} 
[2026-06-02 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:27: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-06-02 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:27:05] 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-06-02 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781817088001,"66":27800,"34":206,"85":36864,"24":23,"16":305972679893057536,"44":-5525775973132861440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-06-02 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781817088001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305972679893057536,"km_value":305972679893057.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5525775973132861440,"description":"Unknown IO ID 44"} 
[2026-06-02 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781817088001,"power":27800,"unknown_34":206,"unknown_85":36864,"ignition":23,"odometer":null,"unknown_44":-5525775973132861440}} 
[2026-06-02 16:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":89584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:27:05] local.INFO: GPS data processed {"connection_id":89584,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:27:05] local.INFO: Acknowledgment sent {"connection_id":89584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:27:05] local.INFO: TCP Data received {"connection_id":89583,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fa2068012d7d1a8005ea5330000000b715..."} 
[2026-06-02 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fa2068012d7d1a8005ea5330000000b715..."} 
[2026-06-02 16:27:05] local.INFO: Processing buffer {"connection_id":89583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fa2068012d7d1a8005ea5330000000b715..."} 
[2026-06-02 16:27:05] local.INFO: Packet analysis {"connection_id":89583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fa"} 
[2026-06-02 16:27:05] local.INFO: Extracted packet for processing {"connection_id":89583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fa"} 
[2026-06-02 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":99242800,"longitude_deg":76.3173504,"latitude_deg":9.92428,"altitude":0,"angle":183,"satellites":21,"speed":37,"hex_longitude":"2d7d1a80","hex_latitude":"05ea5330","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781826816001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87855312681304064,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685730029568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27: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-06-02 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780397777000,"timestamp_ms":1780397777000,"timestamp_seconds":1780397777,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fa2068"} 
[2026-06-02 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:27: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-06-02 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-02 16:27:05] 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-06-02 16: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-06-02 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781826816001,"66":13015,"158":206,"87":13824,"24":37,"16":87855312681304064,"45":9015291685730029568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781826816001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87855312681304064,"km_value":87855312681304.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685730029568,"description":"Unknown IO ID 45"} 
[2026-06-02 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781826816001,"power":13015,"unknown_158":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9015291685730029568}} 
[2026-06-02 16:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":89583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:27:05] local.INFO: GPS data processed {"connection_id":89583,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:27:05] local.INFO: Acknowledgment sent {"connection_id":89583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:27:23] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:23] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:23] local.INFO: IMEI packet received {"connection_id":89853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":89853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:27:27] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:27] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:27] local.INFO: IMEI packet received {"connection_id":89853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":89853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:27:28] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:28] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:27:28] local.INFO: IMEI packet received {"connection_id":89853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":89853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:27:29] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fa6e88012d7d198005ea3250000300b215..."} 
[2026-06-02 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fa6e88012d7d198005ea3250000300b215..."} 
[2026-06-02 16:27:29] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fa6e88012d7d198005ea3250000300b215..."} 
[2026-06-02 16:27:29] local.INFO: Packet analysis {"connection_id":89853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fa"} 
[2026-06-02 16:27:29] local.INFO: Extracted packet for processing {"connection_id":89853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fa"} 
[2026-06-02 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99234384,"longitude_deg":76.3173248,"latitude_deg":9.9234384,"altitude":3,"angle":178,"satellites":21,"speed":0,"hex_longitude":"2d7d1980","hex_latitude":"05ea3250","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781830912001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87855724998164480,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658367029981184,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:29] 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-06-02 16:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397797000,"timestamp_ms":1780397797000,"timestamp_seconds":1780397797,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fa6e88"} 
[2026-06-02 16:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 16:27:29] 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-06-02 16: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-06-02 16:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781830912001,"66":13200,"158":206,"87":13824,"24":0,"16":87855724998164480,"45":9014658367029981184},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781830912001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:27:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:27:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87855724998164480,"km_value":87855724998164.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658367029981184,"description":"Unknown IO ID 45"} 
[2026-06-02 16:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781830912001,"power":13200,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014658367029981184}} 
[2026-06-02 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":89853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:27:29] local.INFO: GPS data processed {"connection_id":89853,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:27:29] local.INFO: Acknowledgment sent {"connection_id":89853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:27:33] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fa9d68012d7d18c005ea2ae0000200bd15..."} 
[2026-06-02 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fa9d68012d7d18c005ea2ae0000200bd15..."} 
[2026-06-02 16:27:33] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fa9d68012d7d18c005ea2ae0000200bd15..."} 
[2026-06-02 16:27:33] local.INFO: Packet analysis {"connection_id":89853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fa"} 
[2026-06-02 16:27:33] local.INFO: Extracted packet for processing {"connection_id":89853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fa"} 
[2026-06-02 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":99232480,"longitude_deg":76.3173056,"latitude_deg":9.923248,"altitude":2,"angle":189,"satellites":21,"speed":8,"hex_longitude":"2d7d18c0","hex_latitude":"05ea2ae0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781836032001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87855819487444992,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892051116032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780397809000,"timestamp_ms":1780397809000,"timestamp_seconds":1780397809,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fa9d68"} 
[2026-06-02 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-06-02 16:27:33] 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-06-02 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-02 16:27:33] 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-06-02 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-06-02 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-06-02 16:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781836032001,"66":13428,"158":206,"87":13824,"24":8,"16":87855819487444992,"45":9014376892051116032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-02 16:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781836032001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87855819487444992,"km_value":87855819487444.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892051116032,"description":"Unknown IO ID 45"} 
[2026-06-02 16:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781836032001,"power":13428,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9014376892051116032}} 
[2026-06-02 16:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":89853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:27:33] local.INFO: GPS data processed {"connection_id":89853,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:27:33] local.INFO: Acknowledgment sent {"connection_id":89853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:27:35] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:35] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:35] local.INFO: IMEI packet received {"connection_id":89854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":89854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:27:36] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:36] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:36] local.INFO: IMEI packet received {"connection_id":89854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":89854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:27:36] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:36] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:36] local.INFO: IMEI packet received {"connection_id":89854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":89854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:27:37] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:37] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:27:37] local.INFO: IMEI packet received {"connection_id":89854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":89854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:28:05] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fbaed8012d7cb98005ea1e180008012615..."} 
[2026-06-02 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fbaed8012d7cb98005ea1e180008012615..."} 
[2026-06-02 16:28:05] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fbaed8012d7cb98005ea1e180008012615..."} 
[2026-06-02 16:28:05] local.INFO: Packet analysis {"connection_id":89853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:28:05] local.INFO: Extracted packet for processing {"connection_id":89853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763148672,"raw_latitude":99229208,"longitude_deg":76.3148672,"latitude_deg":9.9229208,"altitude":8,"angle":294,"satellites":21,"speed":14,"hex_longitude":"2d7cb980","hex_latitude":"05ea1e18","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781856768001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87857211056848896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987636769262237696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780397879000,"timestamp_ms":1780397879000,"timestamp_seconds":1780397879,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fbaed8"} 
[2026-06-02 16:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:28:05] 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-06-02 16: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":187,"data_length":795,"current_offset":136} 
[2026-06-02 16:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781856768001,"66":13243,"126":206,"87":13824,"24":14,"16":87857211056848896,"45":8987636769262237696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 16:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781856768001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:28:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 16:28:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87857211056848896,"km_value":87857211056848.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987636769262237696,"description":"Unknown IO ID 45"} 
[2026-06-02 16:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781856768001,"power":13243,"unknown_126":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8987636769262237696}} 
[2026-06-02 16:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":89853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:28:05] local.INFO: GPS data processed {"connection_id":89853,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:28:05] local.INFO: Acknowledgment sent {"connection_id":89853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:28:23] local.INFO: TCP Data received {"connection_id":91035,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:28:23] local.INFO: Processing buffer {"connection_id":91035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:28:23] local.INFO: IMEI packet received {"connection_id":91035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":91035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:28:28] local.INFO: TCP Data received {"connection_id":91036,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:28:28] local.INFO: Processing buffer {"connection_id":91036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:28:28] local.INFO: IMEI packet received {"connection_id":91036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":91036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:28:34] local.INFO: TCP Data received {"connection_id":91036,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:28:34] local.INFO: Processing buffer {"connection_id":91036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:28:34] local.INFO: IMEI packet received {"connection_id":91036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":91036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:28:35] local.INFO: TCP Data received {"connection_id":91036,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fbb2c0012d7cb80005ea1e880008011715..."} 
[2026-06-02 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fbb2c0012d7cb80005ea1e880008011715..."} 
[2026-06-02 16:28:35] local.INFO: Processing buffer {"connection_id":91036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fbb2c0012d7cb80005ea1e880008011715..."} 
[2026-06-02 16:28:35] local.INFO: Packet analysis {"connection_id":91036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:28:35] local.INFO: Extracted packet for processing {"connection_id":91036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763148288,"raw_latitude":99229320,"longitude_deg":76.3148288,"latitude_deg":9.922932,"altitude":8,"angle":279,"satellites":21,"speed":14,"hex_longitude":"2d7cb800","hex_latitude":"05ea1e88","is_valid_coordinates":true} 
[2026-06-02 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781857024001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87857228236718080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987355294285568000,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780397880000,"timestamp_ms":1780397880000,"timestamp_seconds":1780397880,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fbb2c0"} 
[2026-06-02 16:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:28:35] 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-06-02 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 16:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":91036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":91036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":91036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781857024001,"66":13189,"126":206,"87":13824,"24":14,"16":87857228236718080,"45":8987355294285568000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 16:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781857024001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87857228236718080,"km_value":87857228236718.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987355294285568000,"description":"Unknown IO ID 45"} 
[2026-06-02 16:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781857024001,"power":13189,"unknown_126":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8987355294285568000}} 
[2026-06-02 16:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":91036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:28:35] local.INFO: GPS data processed {"connection_id":91036,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:28:35] local.INFO: Acknowledgment sent {"connection_id":91036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:28:40] local.INFO: TCP Data received {"connection_id":89585,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:28:40] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:28:40] local.INFO: IMEI packet received {"connection_id":89585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":89585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:28:41] local.INFO: TCP Data received {"connection_id":89585,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fb1680012d181d4007219280005700f516..."} 
[2026-06-02 16:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fb1680012d181d4007219280005700f516..."} 
[2026-06-02 16:28:41] local.INFO: Processing buffer {"connection_id":89585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fb1680012d181d4007219280005700f516..."} 
[2026-06-02 16:28:41] local.INFO: Packet analysis {"connection_id":89585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:28:41] local.INFO: Extracted packet for processing {"connection_id":89585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119640704,"longitude_deg":75.6555072,"latitude_deg":11.9640704,"altitude":87,"angle":245,"satellites":22,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"07219280","is_valid_coordinates":true} 
[2026-06-02 16:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781841408001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125382941617422336,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430607077376,"note":"Value kept but may cause issues"} 
[2026-06-02 16:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780397840000,"timestamp_ms":1780397840000,"timestamp_seconds":1780397840,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fb1680"} 
[2026-06-02 16:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 16:28:41] 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-06-02 16:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:28:41] 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-06-02 16:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781841408001,"66":12711,"105":206,"83":41984,"24":0,"16":125382941617422336,"45":1737615430607077376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781841408001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:28:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125382941617422336,"km_value":125382941617422.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430607077376,"description":"Unknown IO ID 45"} 
[2026-06-02 16:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781841408001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430607077376}} 
[2026-06-02 16:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":89585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:28:41] local.INFO: GPS data processed {"connection_id":89585,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:28:41] local.INFO: Acknowledgment sent {"connection_id":89585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:28:58] local.INFO: TCP Data received {"connection_id":91037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:28:58] local.INFO: Processing buffer {"connection_id":91037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:28:58] local.INFO: IMEI packet received {"connection_id":91037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":91037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:29:04] local.INFO: TCP Data received {"connection_id":89855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:04] local.INFO: Processing buffer {"connection_id":89855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:04] local.INFO: IMEI packet received {"connection_id":89855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":89855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:29:05] local.INFO: TCP Data received {"connection_id":89855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:05] local.INFO: Processing buffer {"connection_id":89855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:05] local.INFO: IMEI packet received {"connection_id":89855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":89855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:29:06] local.INFO: TCP Data received {"connection_id":91036,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fbba90012d7cb4c005ea1e580008010015..."} 
[2026-06-02 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fbba90012d7cb4c005ea1e580008010015..."} 
[2026-06-02 16:29:06] local.INFO: Processing buffer {"connection_id":91036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fbba90012d7cb4c005ea1e580008010015..."} 
[2026-06-02 16:29:06] local.INFO: Packet analysis {"connection_id":91036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:29:06] local.INFO: Extracted packet for processing {"connection_id":91036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763147456,"raw_latitude":99229272,"longitude_deg":76.3147456,"latitude_deg":9.9229272,"altitude":8,"angle":256,"satellites":21,"speed":16,"hex_longitude":"2d7cb4c0","hex_latitude":"05ea1e58","is_valid_coordinates":true} 
[2026-06-02 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781857280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87857271186391040,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986933081820530688,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780397882000,"timestamp_ms":1780397882000,"timestamp_seconds":1780397882,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fbba90"} 
[2026-06-02 16:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:29:06] 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-06-02 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 16:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":91036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":91036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":91036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781857280001,"66":12819,"126":206,"87":13824,"24":16,"16":87857271186391040,"45":8986933081820530688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 16:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781857280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:29:06] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 16:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87857271186391040,"km_value":87857271186391.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986933081820530688,"description":"Unknown IO ID 45"} 
[2026-06-02 16:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781857280001,"power":12819,"unknown_126":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8986933081820530688}} 
[2026-06-02 16:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":91036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:29:06] local.INFO: GPS data processed {"connection_id":91036,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:29:06] local.INFO: Acknowledgment sent {"connection_id":91036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:29:10] local.INFO: TCP Data received {"connection_id":89855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:10] local.INFO: Processing buffer {"connection_id":89855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:29:10] local.INFO: IMEI packet received {"connection_id":89855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":89855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:29:11] local.INFO: TCP Data received {"connection_id":89855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fb4948012d181f80072191480059004111..."} 
[2026-06-02 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fb4948012d181f80072191480059004111..."} 
[2026-06-02 16:29:11] local.INFO: Processing buffer {"connection_id":89855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fb4948012d181f80072191480059004111..."} 
[2026-06-02 16:29:11] local.INFO: Packet analysis {"connection_id":89855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:29:11] local.INFO: Extracted packet for processing {"connection_id":89855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fb"} 
[2026-06-02 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119640392,"longitude_deg":75.6555648,"latitude_deg":11.9640392,"altitude":89,"angle":65,"satellites":17,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"07219148","is_valid_coordinates":true} 
[2026-06-02 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781847040001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125382971682193408,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430607077376,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780397853000,"timestamp_ms":1780397853000,"timestamp_seconds":1780397853,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fb4948"} 
[2026-06-02 16:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 16:29:11] 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-06-02 16:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:29:11] 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-06-02 16:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781847040001,"66":12689,"105":206,"83":41984,"24":3,"16":125382971682193408,"45":1737615430607077376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781847040001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:29:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125382971682193408,"km_value":125382971682193.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430607077376,"description":"Unknown IO ID 45"} 
[2026-06-02 16:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781847040001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737615430607077376}} 
[2026-06-02 16:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":89855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:29:11] local.INFO: GPS data processed {"connection_id":89855,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:29:11] local.INFO: Acknowledgment sent {"connection_id":89855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:29:23] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:23] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:23] local.INFO: IMEI packet received {"connection_id":89857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:29:27] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:27] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:27] local.INFO: IMEI packet received {"connection_id":89857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":89857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:29:28] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:28] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:29:28] local.INFO: IMEI packet received {"connection_id":89857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":89857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:29:29] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fc08b0012d7cad4005ea1d200006010a14..."} 
[2026-06-02 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fc08b0012d7cad4005ea1d200006010a14..."} 
[2026-06-02 16:29:29] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fc08b0012d7cad4005ea1d200006010a14..."} 
[2026-06-02 16:29:29] local.INFO: Packet analysis {"connection_id":89857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:29:29] local.INFO: Extracted packet for processing {"connection_id":89857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763145536,"raw_latitude":99228960,"longitude_deg":76.3145536,"latitude_deg":9.922896,"altitude":6,"angle":266,"satellites":20,"speed":0,"hex_longitude":"2d7cad40","hex_latitude":"05ea1d20","is_valid_coordinates":true} 
[2026-06-02 16:29: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-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781857792001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87857365675671552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986018288146208768,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780397902000,"timestamp_ms":1780397902000,"timestamp_seconds":1780397902,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fc08b0"} 
[2026-06-02 16:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:29:29] 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-06-02 16:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2281412456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504940219400192,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-320969429322250944,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4900180281669255424,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5800074256326197272,"corrected_to":0} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182130925371648,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817296,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1578063068498164971,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954135609959985577,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195086592,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84861163204373017,"corrected_to":0} 
[2026-06-02 16:29:29] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2534464848662272,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:29] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,126,87,24,241,157,16,33,158,178,45,30,8,21,10,66,174,128,170,1,240,187,227,135,234,4,113,205,13,159,189,80,239,49,2,56,5,9,17,50,54,147,69,200,152],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":5800074256326197272,"validated":0},{"io_id":200,"original":84861163204373017,"validated":0}]} 
[2026-06-02 16:29:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576742317475495936,"timestamp_seconds":576742317475495.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781857792001,"66":13178,"126":206,"87":13824,"24":0,"16":87857365675671552,"45":8986018288146208768},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 16:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781857792001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:29:29] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 16:29:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87857365675671552,"km_value":87857365675671.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986018288146208768,"description":"Unknown IO ID 45"} 
[2026-06-02 16:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781857792001,"power":13178,"unknown_126":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8986018288146208768}} 
[2026-06-02 16:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":89857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:29:29] local.INFO: GPS data processed {"connection_id":89857,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:29:29] local.INFO: Acknowledgment sent {"connection_id":89857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:29:42] local.INFO: TCP Data received {"connection_id":89855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fc7de0012d18224007219150005a004f13..."} 
[2026-06-02 16:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fc7de0012d18224007219150005a004f13..."} 
[2026-06-02 16:29:42] local.INFO: Processing buffer {"connection_id":89855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fc7de0012d18224007219150005a004f13..."} 
[2026-06-02 16:29:42] local.INFO: Packet analysis {"connection_id":89855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:29:42] local.INFO: Extracted packet for processing {"connection_id":89855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119640400,"longitude_deg":75.6556352,"latitude_deg":11.96404,"altitude":90,"angle":79,"satellites":19,"speed":2,"hex_longitude":"2d182240","hex_latitude":"07219150","is_valid_coordinates":true} 
[2026-06-02 16:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781870336001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383048991604736,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068002195456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780397932000,"timestamp_ms":1780397932000,"timestamp_seconds":1780397932,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fc7de0"} 
[2026-06-02 16:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 16:29:42] 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-06-02 16:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:29:42] 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-06-02 16:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781870336001,"66":12504,"105":206,"83":41984,"24":2,"16":125383048991604736,"45":1738882068002195456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781870336001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:29:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383048991604736,"km_value":125383048991604.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068002195456,"description":"Unknown IO ID 45"} 
[2026-06-02 16:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781870336001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738882068002195456}} 
[2026-06-02 16:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":89855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:29:42] local.INFO: GPS data processed {"connection_id":89855,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:29:42] local.INFO: Acknowledgment sent {"connection_id":89855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:30:00] local.INFO: TCP Data received {"connection_id":89857,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fc5ab8012d7ca00005ea1cd80007010a15..."} 
[2026-06-02 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fc5ab8012d7ca00005ea1cd80007010a15..."} 
[2026-06-02 16:30:00] local.INFO: Processing buffer {"connection_id":89857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fc5ab8012d7ca00005ea1cd80007010a15..."} 
[2026-06-02 16:30:00] local.INFO: Packet analysis {"connection_id":89857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:00] local.INFO: Extracted packet for processing {"connection_id":89857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763142144,"raw_latitude":99228888,"longitude_deg":76.3142144,"latitude_deg":9.9228888,"altitude":7,"angle":266,"satellites":21,"speed":16,"hex_longitude":"2d7ca000","hex_latitude":"05ea1cd8","is_valid_coordinates":true} 
[2026-06-02 16:30: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-06-02 16:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781862912001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87857533179396096,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983907225820798976,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780397923000,"timestamp_ms":1780397923000,"timestamp_seconds":1780397923,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fc5ab8"} 
[2026-06-02 16:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 16:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:30: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-06-02 16:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781862912001,"66":13254,"126":206,"87":13824,"24":16,"16":87857533179396096,"45":8983907225820798976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 16:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781862912001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:30:00] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 16:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87857533179396096,"km_value":87857533179396.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983907225820798976,"description":"Unknown IO ID 45"} 
[2026-06-02 16:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781862912001,"power":13254,"unknown_126":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8983907225820798976}} 
[2026-06-02 16:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":89857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:30:01] local.INFO: GPS data processed {"connection_id":89857,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:30:01] local.INFO: Acknowledgment sent {"connection_id":89857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:30:05] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:30:05] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:30:05] local.INFO: IMEI packet received {"connection_id":89952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":89952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:30:10] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:30:10] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:30:10] local.INFO: IMEI packet received {"connection_id":89952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":89952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:30:11] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fc81c8012d18224007219180005a002112..."} 
[2026-06-02 16:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fc81c8012d18224007219180005a002112..."} 
[2026-06-02 16:30:11] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fc81c8012d18224007219180005a002112..."} 
[2026-06-02 16:30:11] local.INFO: Packet analysis {"connection_id":89952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:11] local.INFO: Extracted packet for processing {"connection_id":89952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119640448,"longitude_deg":75.6556352,"latitude_deg":11.9640448,"altitude":90,"angle":33,"satellites":18,"speed":2,"hex_longitude":"2d182240","hex_latitude":"07219180","is_valid_coordinates":true} 
[2026-06-02 16:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781870592001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383048991604736,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805490552832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780397933000,"timestamp_ms":1780397933000,"timestamp_seconds":1780397933,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fc81c8"} 
[2026-06-02 16:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:30: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-06-02 16:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 16:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:30:11] 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-06-02 16:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781870592001,"66":12504,"105":206,"83":41984,"24":2,"16":125383048991604736,"45":1739022805490552832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781870592001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:30:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383048991604736,"km_value":125383048991604.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805490552832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781870592001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739022805490552832}} 
[2026-06-02 16:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":89952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:30:11] local.INFO: GPS data processed {"connection_id":89952,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:30:11] local.INFO: Acknowledgment sent {"connection_id":89952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:30:23] local.INFO: TCP Data received {"connection_id":89953,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:30:23] local.INFO: Processing buffer {"connection_id":89953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:30:23] local.INFO: IMEI packet received {"connection_id":89953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":89953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:30:29] local.INFO: TCP Data received {"connection_id":89953,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:30:29] local.INFO: Processing buffer {"connection_id":89953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:30:29] local.INFO: IMEI packet received {"connection_id":89953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":89953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:30:30] local.INFO: TCP Data received {"connection_id":89953,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fc9d20012d7c7c4005ea1ba8000a010915..."} 
[2026-06-02 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fc9d20012d7c7c4005ea1ba8000a010915..."} 
[2026-06-02 16:30:30] local.INFO: Processing buffer {"connection_id":89953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fc9d20012d7c7c4005ea1ba8000a010915..."} 
[2026-06-02 16:30:30] local.INFO: Packet analysis {"connection_id":89953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:30] local.INFO: Extracted packet for processing {"connection_id":89953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763132992,"raw_latitude":99228584,"longitude_deg":76.3132992,"latitude_deg":9.9228584,"altitude":10,"angle":265,"satellites":21,"speed":20,"hex_longitude":"2d7c7c40","hex_latitude":"05ea1ba8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781868288001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87857971266060288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980177682379364352,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780397940000,"timestamp_ms":1780397940000,"timestamp_seconds":1780397940,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fc9d20"} 
[2026-06-02 16:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 16:30:30] 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-06-02 16: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-06-02 16:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781868288001,"66":12885,"126":206,"87":13824,"24":20,"16":87857971266060288,"45":8980177682379364352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 16:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781868288001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:30:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 16:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87857971266060288,"km_value":87857971266060.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980177682379364352,"description":"Unknown IO ID 45"} 
[2026-06-02 16:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781868288001,"power":12885,"unknown_126":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8980177682379364352}} 
[2026-06-02 16:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":89953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:30:30] local.INFO: GPS data processed {"connection_id":89953,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:30:30] local.INFO: Acknowledgment sent {"connection_id":89953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:30:42] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fc85b0012d18228007219190005a002c12..."} 
[2026-06-02 16:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fc85b0012d18228007219190005a002c12..."} 
[2026-06-02 16:30:42] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fc85b0012d18228007219190005a002c12..."} 
[2026-06-02 16:30:42] local.INFO: Packet analysis {"connection_id":89952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:42] local.INFO: Extracted packet for processing {"connection_id":89952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119640464,"longitude_deg":75.6556416,"latitude_deg":11.9640464,"altitude":90,"angle":44,"satellites":18,"speed":1,"hex_longitude":"2d182280","hex_latitude":"07219190","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781870848001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383053286572032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805490565120,"note":"Value kept but may cause issues"} 
[2026-06-02 16:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780397934000,"timestamp_ms":1780397934000,"timestamp_seconds":1780397934,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fc85b0"} 
[2026-06-02 16:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 16:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:30:42] 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-06-02 16:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781870848001,"66":12504,"105":206,"83":41984,"24":1,"16":125383053286572032,"45":1739022805490565120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781870848001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:30:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383053286572032,"km_value":125383053286572.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805490565120,"description":"Unknown IO ID 45"} 
[2026-06-02 16:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781870848001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739022805490565120}} 
[2026-06-02 16:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":89952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:30:42] local.INFO: GPS data processed {"connection_id":89952,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:30:42] local.INFO: Acknowledgment sent {"connection_id":89952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:31:02] local.INFO: TCP Data received {"connection_id":89953,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fcbc60012d7c708005ea1970000900fc15..."} 
[2026-06-02 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fcbc60012d7c708005ea1970000900fc15..."} 
[2026-06-02 16:31:02] local.INFO: Processing buffer {"connection_id":89953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fcbc60012d7c708005ea1970000900fc15..."} 
[2026-06-02 16:31:02] local.INFO: Packet analysis {"connection_id":89953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:31:02] local.INFO: Extracted packet for processing {"connection_id":89953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fc"} 
[2026-06-02 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763129984,"raw_latitude":99228016,"longitude_deg":76.3129984,"latitude_deg":9.9228016,"altitude":9,"angle":252,"satellites":21,"speed":6,"hex_longitude":"2d7c7080","hex_latitude":"05ea1970","is_valid_coordinates":true} 
[2026-06-02 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781872640001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87858121589915648,"note":"Value kept but may cause issues"} 
[2026-06-02 16:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970114951961880576,"note":"Value kept but may cause issues"} 
[2026-06-02 16:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780397948000,"timestamp_ms":1780397948000,"timestamp_seconds":1780397948,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fcbc60"} 
[2026-06-02 16:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:31:02] 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-06-02 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781872640001,"66":13037,"126":206,"87":13824,"24":6,"16":87858121589915648,"45":8970114951961880576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-02 16:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781872640001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:31:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-02 16:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87858121589915648,"km_value":87858121589915.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970114951961880576,"description":"Unknown IO ID 45"} 
[2026-06-02 16:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781872640001,"power":13037,"unknown_126":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8970114951961880576}} 
[2026-06-02 16:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":89953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:31:02] local.INFO: GPS data processed {"connection_id":89953,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:31:02] local.INFO: Acknowledgment sent {"connection_id":89953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:31:05] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:05] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:05] local.INFO: IMEI packet received {"connection_id":89860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":89860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:31:06] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:06] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:06] local.INFO: IMEI packet received {"connection_id":89860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":89860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:31:07] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:07] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:07] local.INFO: IMEI packet received {"connection_id":89860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":89860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:31:08] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:08] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:31:08] local.INFO: IMEI packet received {"connection_id":89860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":89860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:31:26] local.INFO: TCP Data received {"connection_id":91040,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:26] local.INFO: Processing buffer {"connection_id":91040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:26] local.INFO: IMEI packet received {"connection_id":91040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":91040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:31:28] local.INFO: TCP Data received {"connection_id":91040,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:28] local.INFO: Processing buffer {"connection_id":91040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:28] local.INFO: IMEI packet received {"connection_id":91040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":91040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:31:33] local.INFO: TCP Data received {"connection_id":91040,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:33] local.INFO: Processing buffer {"connection_id":91040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:31:33] local.INFO: IMEI packet received {"connection_id":91040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":91040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:31:34] local.INFO: TCP Data received {"connection_id":91040,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fe1fd8012d7c8d0005e9ae78000000ab15..."} 
[2026-06-02 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fe1fd8012d7c8d0005e9ae78000000ab15..."} 
[2026-06-02 16:31:34] local.INFO: Processing buffer {"connection_id":91040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fe1fd8012d7c8d0005e9ae78000000ab15..."} 
[2026-06-02 16:31:34] local.INFO: Packet analysis {"connection_id":91040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:31:34] local.INFO: Extracted packet for processing {"connection_id":91040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":99200632,"longitude_deg":76.313728,"latitude_deg":9.9200632,"altitude":0,"angle":171,"satellites":21,"speed":14,"hex_longitude":"2d7c8d00","hex_latitude":"05e9ae78","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781896448001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87859526044221440,"note":"Value kept but may cause issues"} 
[2026-06-02 16:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076605777920,"note":"Value kept but may cause issues"} 
[2026-06-02 16:31:34] 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-06-02 16:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780398039000,"timestamp_ms":1780398039000,"timestamp_seconds":1780398039,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fe1fd8"} 
[2026-06-02 16:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:31: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-06-02 16:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 16:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781896448001,"66":13243,"9":206,"87":13824,"24":14,"16":87859526044221440,"45":8974337076605777920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 16:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781896448001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:31:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 16:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87859526044221440,"km_value":87859526044221.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076605777920,"description":"Unknown IO ID 45"} 
[2026-06-02 16:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781896448001,"power":13243,"unknown_9":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8974337076605777920}} 
[2026-06-02 16:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":91040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:31:34] local.INFO: GPS data processed {"connection_id":91040,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:31:34] local.INFO: Acknowledgment sent {"connection_id":91040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:32:09] local.INFO: TCP Data received {"connection_id":91040,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fe6df8012d7c8ec005e99a58000000b115..."} 
[2026-06-02 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fe6df8012d7c8ec005e99a58000000b115..."} 
[2026-06-02 16:32:09] local.INFO: Processing buffer {"connection_id":91040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fe6df8012d7c8ec005e99a58000000b115..."} 
[2026-06-02 16:32:09] local.INFO: Packet analysis {"connection_id":91040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:32:09] local.INFO: Extracted packet for processing {"connection_id":91040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":99195480,"longitude_deg":76.3137728,"latitude_deg":9.919548,"altitude":0,"angle":177,"satellites":21,"speed":0,"hex_longitude":"2d7c8ec0","hex_latitude":"05e99a58","is_valid_coordinates":true} 
[2026-06-02 16:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781897984001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87859796627161088,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657814628352,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:09] 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-06-02 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780398059000,"timestamp_ms":1780398059000,"timestamp_seconds":1780398059,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fe6df8"} 
[2026-06-02 16:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 16:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":91040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":91040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":91040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781897984001,"66":13059,"9":206,"87":13824,"24":0,"16":87859796627161088,"45":8974829657814628352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781897984001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87859796627161088,"km_value":87859796627161.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657814628352,"description":"Unknown IO ID 45"} 
[2026-06-02 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781897984001,"power":13059,"unknown_9":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8974829657814628352}} 
[2026-06-02 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":91040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:32:09] local.INFO: GPS data processed {"connection_id":91040,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:32:09] local.INFO: Acknowledgment sent {"connection_id":91040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:32:23] local.INFO: TCP Data received {"connection_id":89863,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:23] local.INFO: Processing buffer {"connection_id":89863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:23] local.INFO: IMEI packet received {"connection_id":89863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":89863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:32:25] local.INFO: TCP Data received {"connection_id":89863,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:25] local.INFO: Processing buffer {"connection_id":89863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:25] local.INFO: IMEI packet received {"connection_id":89863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":89863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:32:28] local.INFO: TCP Data received {"connection_id":89863,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:28] local.INFO: Processing buffer {"connection_id":89863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:32:28] local.INFO: IMEI packet received {"connection_id":89863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":89863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:32:30] local.INFO: TCP Data received {"connection_id":89863,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87fe79b0012d7c8e8005e999f0000000d615..."} 
[2026-06-02 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87fe79b0012d7c8e8005e999f0000000d615..."} 
[2026-06-02 16:32:30] local.INFO: Processing buffer {"connection_id":89863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87fe79b0012d7c8e8005e999f0000000d615..."} 
[2026-06-02 16:32:30] local.INFO: Packet analysis {"connection_id":89863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:32:30] local.INFO: Extracted packet for processing {"connection_id":89863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763137664,"raw_latitude":99195376,"longitude_deg":76.3137664,"latitude_deg":9.9195376,"altitude":0,"angle":214,"satellites":21,"speed":1,"hex_longitude":"2d7c8e80","hex_latitude":"05e999f0","is_valid_coordinates":true} 
[2026-06-02 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781903104001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87859805217095680,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975322239022553088,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] 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-06-02 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780398062000,"timestamp_ms":1780398062000,"timestamp_seconds":1780398062,"priority":1,"record_length":96,"hex_timestamp":"0000019e87fe79b0"} 
[2026-06-02 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:32:30] 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-06-02 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157711261006,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":9,"raw_value":58079734643818506,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2281504456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":135,"raw_value":4251467777,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3854565380,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309212878,"corrected_to":0} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147871237,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3926607872,"note":"Value kept but may cause issues"} 
[2026-06-02 16:32:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,9,87,24,241,157,16,36,158,31,45,174,21,10,66,35,8,64,180,186,192,1,240,7,227,135,233,4,113,205,26,115,48,239,49,2,56,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1309212878,"validated":0}]} 
[2026-06-02 16:32:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194703752429568,"timestamp_seconds":194703752429.568,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781903104001,"66":13363,"9":206,"87":13824,"24":1,"16":87859805217095680,"45":8975322239022553088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781903104001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:32:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 16:32:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87859805217095680,"km_value":87859805217095.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975322239022553088,"description":"Unknown IO ID 45"} 
[2026-06-02 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781903104001,"power":13363,"unknown_9":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8975322239022553088}} 
[2026-06-02 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":89863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:32:30] local.INFO: GPS data processed {"connection_id":89863,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:32:30] local.INFO: Acknowledgment sent {"connection_id":89863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:32:42] local.INFO: TCP Data received {"connection_id":89864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:32:42] local.INFO: Processing buffer {"connection_id":89864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:32:42] local.INFO: IMEI packet received {"connection_id":89864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":89864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:33:02] local.INFO: TCP Data received {"connection_id":89863,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87feac78012d7c8ec005e999b00000005e16..."} 
[2026-06-02 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87feac78012d7c8ec005e999b00000005e16..."} 
[2026-06-02 16:33:02] local.INFO: Processing buffer {"connection_id":89863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87feac78012d7c8ec005e999b00000005e16..."} 
[2026-06-02 16:33:02] local.INFO: Packet analysis {"connection_id":89863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:33:02] local.INFO: Extracted packet for processing {"connection_id":89863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":99195312,"longitude_deg":76.3137728,"latitude_deg":9.9195312,"altitude":0,"angle":94,"satellites":22,"speed":1,"hex_longitude":"2d7c8ec0","hex_latitude":"05e999b0","is_valid_coordinates":true} 
[2026-06-02 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781903872001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87859818101997568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975251870278348800,"note":"Value kept but may cause issues"} 
[2026-06-02 16:33:02] 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-06-02 16:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780398075000,"timestamp_ms":1780398075000,"timestamp_seconds":1780398075,"priority":1,"record_length":96,"hex_timestamp":"0000019e87feac78"} 
[2026-06-02 16:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 16:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781903872001,"66":13352,"9":206,"87":13824,"24":1,"16":87859818101997568,"45":8975251870278348800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 16:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781903872001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:33:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 16:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87859818101997568,"km_value":87859818101997.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975251870278348800,"description":"Unknown IO ID 45"} 
[2026-06-02 16:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781903872001,"power":13352,"unknown_9":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8975251870278348800}} 
[2026-06-02 16:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":89863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:33:02] local.INFO: GPS data processed {"connection_id":89863,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:33:02] local.INFO: Acknowledgment sent {"connection_id":89863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:33:23] local.INFO: TCP Data received {"connection_id":91041,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:33:23] local.INFO: Processing buffer {"connection_id":91041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:33:23] local.INFO: IMEI packet received {"connection_id":91041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":91041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:33:29] local.INFO: TCP Data received {"connection_id":91041,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:33:29] local.INFO: Processing buffer {"connection_id":91041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:33:29] local.INFO: IMEI packet received {"connection_id":91041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":91041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:33:29] local.INFO: TCP Data received {"connection_id":91041,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e87febc18012d7c8f8005e999b80000004f16..."} 
[2026-06-02 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e87febc18012d7c8f8005e999b80000004f16..."} 
[2026-06-02 16:33:29] local.INFO: Processing buffer {"connection_id":91041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e87febc18012d7c8f8005e999b80000004f16..."} 
[2026-06-02 16:33:29] local.INFO: Packet analysis {"connection_id":91041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:33:29] local.INFO: Extracted packet for processing {"connection_id":91041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e87fe"} 
[2026-06-02 16:33:29] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99195320,"longitude_deg":76.313792,"latitude_deg":9.919532,"altitude":0,"angle":79,"satellites":22,"speed":2,"hex_longitude":"2d7c8f80","hex_latitude":"05e999b8","is_valid_coordinates":true} 
[2026-06-02 16:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781907200001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87859826691932160,"note":"Value kept but may cause issues"} 
[2026-06-02 16:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975322239022510080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:33:29] 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-06-02 16:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398079000,"timestamp_ms":1780398079000,"timestamp_seconds":1780398079,"priority":1,"record_length":96,"hex_timestamp":"0000019e87febc18"} 
[2026-06-02 16:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:33: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-06-02 16:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 16:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781907200001,"66":13254,"9":206,"87":13824,"24":2,"16":87859826691932160,"45":8975322239022510080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-02 16:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781907200001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:33:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-02 16:33:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87859826691932160,"km_value":87859826691932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975322239022510080,"description":"Unknown IO ID 45"} 
[2026-06-02 16:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781907200001,"power":13254,"unknown_9":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8975322239022510080}} 
[2026-06-02 16:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":91041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:33:29] local.INFO: GPS data processed {"connection_id":91041,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:33:29] local.INFO: Acknowledgment sent {"connection_id":91041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:34:01] local.INFO: TCP Data received {"connection_id":91041,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8800cf58012d7bd7c005e95b300006010816..."} 
[2026-06-02 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8800cf58012d7bd7c005e95b300006010816..."} 
[2026-06-02 16:34:01] local.INFO: Processing buffer {"connection_id":91041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8800cf58012d7bd7c005e95b300006010816..."} 
[2026-06-02 16:34:01] local.INFO: Packet analysis {"connection_id":91041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:34:01] local.INFO: Extracted packet for processing {"connection_id":91041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":99179312,"longitude_deg":76.309088,"latitude_deg":9.9179312,"altitude":6,"angle":264,"satellites":22,"speed":25,"hex_longitude":"2d7bd7c0","hex_latitude":"05e95b30","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781937920001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87862227578650624,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932819517535490048,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] 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-06-02 16:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780398215000,"timestamp_ms":1780398215000,"timestamp_seconds":1780398215,"priority":1,"record_length":96,"hex_timestamp":"0000019e8800cf58"} 
[2026-06-02 16:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2281642456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-65882731678237888,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2238709760,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954135579425452457,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1615499240551691498,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,87,24,241,157,16,37,158,82,45,107,9,22,10,66,12,64,120,186,1,240,29,227,36,135,233,4,113,205,21,33,121,232,239,50,154,2,56,5,6,54,76],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-06-02 16:34:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648803214343798784,"timestamp_seconds":648803214343798.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":91041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":91041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":91041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781937920001,"66":12982,"156":206,"87":13824,"24":25,"16":87862227578650624,"45":8932819517535490048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 16:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781937920001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:34:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 16:34:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87862227578650624,"km_value":87862227578650.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932819517535490048,"description":"Unknown IO ID 45"} 
[2026-06-02 16:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781937920001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8932819517535490048}} 
[2026-06-02 16:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":91041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:34:01] local.INFO: GPS data processed {"connection_id":91041,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:34:01] local.INFO: Acknowledgment sent {"connection_id":91041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:34:22] local.INFO: TCP Data received {"connection_id":89590,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:34:22] local.INFO: Processing buffer {"connection_id":89590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:34:22] local.INFO: IMEI packet received {"connection_id":89590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":89590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:34:23] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:23] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:23] local.INFO: IMEI packet received {"connection_id":89955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":89955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:34:24] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:24] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:24] local.INFO: IMEI packet received {"connection_id":89955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":89955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:34:29] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:29] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:34:29] local.INFO: IMEI packet received {"connection_id":89955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":89955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:34:30] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8800db10012d7bd0c005e95a58000600fd16..."} 
[2026-06-02 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8800db10012d7bd0c005e95a58000600fd16..."} 
[2026-06-02 16:34:30] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8800db10012d7bd0c005e95a58000600fd16..."} 
[2026-06-02 16:34:30] local.INFO: Packet analysis {"connection_id":89955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:34:30] local.INFO: Extracted packet for processing {"connection_id":89955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763089088,"raw_latitude":99179096,"longitude_deg":76.3089088,"latitude_deg":9.9179096,"altitude":6,"angle":253,"satellites":22,"speed":23,"hex_longitude":"2d7bd0c0","hex_latitude":"05e95a58","is_valid_coordinates":true} 
[2026-06-02 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781943040001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87862313477996544,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318280364032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:34:30] 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-06-02 16:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780398218000,"timestamp_ms":1780398218000,"timestamp_seconds":1780398218,"priority":1,"record_length":96,"hex_timestamp":"0000019e8800db10"} 
[2026-06-02 16:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:34:30] 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-06-02 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 16:34:30] 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-06-02 16:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781943040001,"66":12961,"156":206,"87":13824,"24":23,"16":87862313477996544,"45":8923812318280364032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 16:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781943040001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87862313477996544,"km_value":87862313477996.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318280364032,"description":"Unknown IO ID 45"} 
[2026-06-02 16:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781943040001,"power":12961,"unknown_156":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8923812318280364032}} 
[2026-06-02 16:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":89955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:34:30] local.INFO: GPS data processed {"connection_id":89955,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:34:30] local.INFO: Acknowledgment sent {"connection_id":89955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:35:01] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8800e6c8012d7bcac005e95808000500ef15..."} 
[2026-06-02 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8800e6c8012d7bcac005e95808000500ef15..."} 
[2026-06-02 16:35:01] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8800e6c8012d7bcac005e95808000500ef15..."} 
[2026-06-02 16:35:01] local.INFO: Packet analysis {"connection_id":89955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:35:01] local.INFO: Extracted packet for processing {"connection_id":89955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763087552,"raw_latitude":99178504,"longitude_deg":76.3087552,"latitude_deg":9.9178504,"altitude":5,"angle":239,"satellites":21,"speed":20,"hex_longitude":"2d7bcac0","hex_latitude":"05e95808","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781943808001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87862395082375168,"note":"Value kept but may cause issues"} 
[2026-06-02 16:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921841993443334144,"note":"Value kept but may cause issues"} 
[2026-06-02 16:35:01] 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-06-02 16:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780398221000,"timestamp_ms":1780398221000,"timestamp_seconds":1780398221,"priority":1,"record_length":96,"hex_timestamp":"0000019e8800e6c8"} 
[2026-06-02 16:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 16:35:01] 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-06-02 16: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-06-02 16:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781943808001,"66":12939,"156":206,"87":13824,"24":20,"16":87862395082375168,"45":8921841993443334144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 16:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781943808001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:35:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 16:35:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87862395082375168,"km_value":87862395082375.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921841993443334144,"description":"Unknown IO ID 45"} 
[2026-06-02 16:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781943808001,"power":12939,"unknown_156":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8921841993443334144}} 
[2026-06-02 16:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":89955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:35:01] local.INFO: GPS data processed {"connection_id":89955,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:35:01] local.INFO: Acknowledgment sent {"connection_id":89955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:35:03] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:35:03] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:35:03] local.INFO: IMEI packet received {"connection_id":89867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":89867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:35:39] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:35:39] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:35:39] local.INFO: IMEI packet received {"connection_id":89956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":89956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:35:46] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:35:46] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:35:46] local.INFO: IMEI packet received {"connection_id":89956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":89956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:35:48] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88024e28012d7b7d4005e93958000600eb16..."} 
[2026-06-02 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88024e28012d7b7d4005e93958000600eb16..."} 
[2026-06-02 16:35:48] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88024e28012d7b7d4005e93958000600eb16..."} 
[2026-06-02 16:35:48] local.INFO: Packet analysis {"connection_id":89956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:35:48] local.INFO: Extracted packet for processing {"connection_id":89956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":763067712,"raw_latitude":99170648,"longitude_deg":76.3067712,"latitude_deg":9.9170648,"altitude":6,"angle":235,"satellites":22,"speed":12,"hex_longitude":"2d7b7d40","hex_latitude":"05e93958","is_valid_coordinates":true} 
[2026-06-02 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781967616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87863477414133760,"note":"Value kept but may cause issues"} 
[2026-06-02 16:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898901782839320576,"note":"Value kept but may cause issues"} 
[2026-06-02 16:35:48] 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-06-02 16:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780398313000,"timestamp_ms":1780398313000,"timestamp_seconds":1780398313,"priority":1,"record_length":96,"hex_timestamp":"0000019e88024e28"} 
[2026-06-02 16:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:35:48] 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-06-02 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 16:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781967616001,"66":13178,"156":206,"87":13824,"24":12,"16":87863477414133760,"45":8898901782839320576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 16:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781967616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:35:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 16:35:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87863477414133760,"km_value":87863477414133.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898901782839320576,"description":"Unknown IO ID 45"} 
[2026-06-02 16:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781967616001,"power":13178,"unknown_156":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8898901782839320576}} 
[2026-06-02 16:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":89956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:35:48] local.INFO: GPS data processed {"connection_id":89956,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:35:48] local.INFO: Acknowledgment sent {"connection_id":89956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:36:10] local.INFO: TCP Data received {"connection_id":91044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:36:10] local.INFO: Processing buffer {"connection_id":91044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:36:10] local.INFO: IMEI packet received {"connection_id":91044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":91044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:36:10] local.INFO: TCP Data received {"connection_id":91044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880284d8012d1817c0072198b0005801431f..."} 
[2026-06-02 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880284d8012d1817c0072198b0005801431f..."} 
[2026-06-02 16:36:10] local.INFO: Processing buffer {"connection_id":91044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880284d8012d1817c0072198b0005801431f..."} 
[2026-06-02 16:36:10] local.INFO: Packet analysis {"connection_id":91044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:36:10] local.INFO: Extracted packet for processing {"connection_id":91044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642288,"longitude_deg":75.6553664,"latitude_deg":11.9642288,"altitude":88,"angle":323,"satellites":31,"speed":5,"hex_longitude":"2d1817c0","hex_latitude":"072198b0","is_valid_coordinates":true} 
[2026-06-02 16:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781970176001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383542912843776,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743165528064,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780398327000,"timestamp_ms":1780398327000,"timestamp_seconds":1780398327,"priority":1,"record_length":96,"hex_timestamp":"0000019e880284d8"} 
[2026-06-02 16:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 16:36:10] 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-06-02 16:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:36:10] 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-06-02 16:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781970176001,"66":12928,"107":206,"83":41984,"24":5,"16":125383542912843776,"45":1736911743165528064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 16:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781970176001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:36:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 16:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383542912843776,"km_value":125383542912843.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743165528064,"description":"Unknown IO ID 45"} 
[2026-06-02 16:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781970176001,"power":12928,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1736911743165528064}} 
[2026-06-02 16:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":91044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:36:11] local.INFO: GPS data processed {"connection_id":91044,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:36:11] local.INFO: Acknowledgment sent {"connection_id":91044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:36:24] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:24] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:24] local.INFO: IMEI packet received {"connection_id":89957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":89957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:36:24] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:24] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:24] local.INFO: IMEI packet received {"connection_id":89957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":89957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:36:28] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:28] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:36:28] local.INFO: IMEI packet received {"connection_id":89957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":89957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:36:29] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88025dc8012d7b79c005e93718000600f816..."} 
[2026-06-02 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88025dc8012d7b79c005e93718000600f816..."} 
[2026-06-02 16:36:29] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88025dc8012d7b79c005e93718000600f816..."} 
[2026-06-02 16:36:29] local.INFO: Packet analysis {"connection_id":89957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:36:29] local.INFO: Extracted packet for processing {"connection_id":89957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763066816,"raw_latitude":99170072,"longitude_deg":76.3066816,"latitude_deg":9.9170072,"altitude":6,"angle":248,"satellites":22,"speed":9,"hex_longitude":"2d7b79c0","hex_latitude":"05e93718","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781968128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87863528953741312,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898338832885831680,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:29] 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-06-02 16:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398317000,"timestamp_ms":1780398317000,"timestamp_seconds":1780398317,"priority":1,"record_length":96,"hex_timestamp":"0000019e88025dc8"} 
[2026-06-02 16:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:36:29] 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-06-02 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 16:36:29] 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-06-02 16: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-06-02 16:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781968128001,"66":13059,"156":206,"87":13824,"24":9,"16":87863528953741312,"45":8898338832885831680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 16:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781968128001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:36:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 16:36:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87863528953741312,"km_value":87863528953741.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898338832885831680,"description":"Unknown IO ID 45"} 
[2026-06-02 16:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781968128001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8898338832885831680}} 
[2026-06-02 16:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":89957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:36:29] local.INFO: GPS data processed {"connection_id":89957,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:36:29] local.INFO: Acknowledgment sent {"connection_id":89957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:36:42] local.INFO: TCP Data received {"connection_id":91044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880288c0012d18178007219940005801571f..."} 
[2026-06-02 16:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880288c0012d18178007219940005801571f..."} 
[2026-06-02 16:36:42] local.INFO: Processing buffer {"connection_id":91044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880288c0012d18178007219940005801571f..."} 
[2026-06-02 16:36:42] local.INFO: Packet analysis {"connection_id":91044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:36:42] local.INFO: Extracted packet for processing {"connection_id":91044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119642432,"longitude_deg":75.65536,"latitude_deg":11.9642432,"altitude":88,"angle":343,"satellites":31,"speed":5,"hex_longitude":"2d181780","hex_latitude":"07219940","is_valid_coordinates":true} 
[2026-06-02 16:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781971712001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383551502778368,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235574272,"note":"Value kept but may cause issues"} 
[2026-06-02 16:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780398328000,"timestamp_ms":1780398328000,"timestamp_seconds":1780398328,"priority":1,"record_length":96,"hex_timestamp":"0000019e880288c0"} 
[2026-06-02 16:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 16:36:42] 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-06-02 16:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:36:42] 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-06-02 16:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781971712001,"66":12928,"107":206,"83":41984,"24":5,"16":125383551502778368,"45":1736067318235574272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 16:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781971712001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:36:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 16:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383551502778368,"km_value":125383551502778.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235574272,"description":"Unknown IO ID 45"} 
[2026-06-02 16:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781971712001,"power":12928,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1736067318235574272}} 
[2026-06-02 16:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":91044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:36:42] local.INFO: GPS data processed {"connection_id":91044,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:36:42] local.INFO: Acknowledgment sent {"connection_id":91044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:37:00] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88028ca8012d7b640005e930780005010416..."} 
[2026-06-02 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88028ca8012d7b640005e930780005010416..."} 
[2026-06-02 16:37:00] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88028ca8012d7b640005e930780005010416..."} 
[2026-06-02 16:37:00] local.INFO: Packet analysis {"connection_id":89957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:37:00] local.INFO: Extracted packet for processing {"connection_id":89957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763061248,"raw_latitude":99168376,"longitude_deg":76.3061248,"latitude_deg":9.9168376,"altitude":5,"angle":260,"satellites":22,"speed":22,"hex_longitude":"2d7b6400","hex_latitude":"05e93078","is_valid_coordinates":true} 
[2026-06-02 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781969152001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87863808126615552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897353670467196928,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] 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-06-02 16:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398329000,"timestamp_ms":1780398329000,"timestamp_seconds":1780398329,"priority":1,"record_length":96,"hex_timestamp":"0000019e88028ca8"} 
[2026-06-02 16:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663767,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818512,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2281806456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3913803776,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,156,87,24,241,157,16,39,158,78,45,64,57,6,22,10,66,70,58,62,1,240,166,227,136,233,4,113,205,228,141,176,239,50,2,56,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-06-02 16:37:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432618337601126400,"timestamp_seconds":432618337601126.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781969152001,"66":13048,"156":206,"87":13824,"24":22,"16":87863808126615552,"45":8897353670467196928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-02 16:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781969152001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:37:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 16:37:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87863808126615552,"km_value":87863808126615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897353670467196928,"description":"Unknown IO ID 45"} 
[2026-06-02 16:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781969152001,"power":13048,"unknown_156":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8897353670467196928}} 
[2026-06-02 16:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":89957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:37:01] local.INFO: GPS data processed {"connection_id":89957,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:37:01] local.INFO: Acknowledgment sent {"connection_id":89957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:37:05] local.INFO: TCP Data received {"connection_id":91045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:37:05] local.INFO: Processing buffer {"connection_id":91045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:37:05] local.INFO: IMEI packet received {"connection_id":91045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":91045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:37:10] local.INFO: TCP Data received {"connection_id":91045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:37:10] local.INFO: Processing buffer {"connection_id":91045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:37:10] local.INFO: IMEI packet received {"connection_id":91045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":91045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:37:11] local.INFO: TCP Data received {"connection_id":91045,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88029478012d18170007219a58005701661f..."} 
[2026-06-02 16:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88029478012d18170007219a58005701661f..."} 
[2026-06-02 16:37:11] local.INFO: Processing buffer {"connection_id":91045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88029478012d18170007219a58005701661f..."} 
[2026-06-02 16:37:11] local.INFO: Packet analysis {"connection_id":91045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:37:11] local.INFO: Extracted packet for processing {"connection_id":91045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756553472,"raw_latitude":119642712,"longitude_deg":75.6553472,"latitude_deg":11.9642712,"altitude":87,"angle":358,"satellites":31,"speed":2,"hex_longitude":"2d181700","hex_latitude":"07219a58","is_valid_coordinates":true} 
[2026-06-02 16:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781971968001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383568682647552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735996949491433472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780398331000,"timestamp_ms":1780398331000,"timestamp_seconds":1780398331,"priority":1,"record_length":96,"hex_timestamp":"0000019e88029478"} 
[2026-06-02 16:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:37: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-06-02 16:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 16:37:11] 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-06-02 16:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:37:11] 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-06-02 16:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781971968001,"66":12885,"107":206,"83":41984,"24":2,"16":125383568682647552,"45":1735996949491433472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 16:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781971968001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:37:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 16:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383568682647552,"km_value":125383568682647.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735996949491433472,"description":"Unknown IO ID 45"} 
[2026-06-02 16:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781971968001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1735996949491433472}} 
[2026-06-02 16:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":91045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:37:11] local.INFO: GPS data processed {"connection_id":91045,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:37:11] local.INFO: Acknowledgment sent {"connection_id":91045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:37:25] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:37:25] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:37:25] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:37:28] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:37:28] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:37:28] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:37:42] local.INFO: TCP Data received {"connection_id":91045,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8802e680012d1816c007219a000057016622..."} 
[2026-06-02 16:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8802e680012d1816c007219a000057016622..."} 
[2026-06-02 16:37:42] local.INFO: Processing buffer {"connection_id":91045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8802e680012d1816c007219a000057016622..."} 
[2026-06-02 16:37:42] local.INFO: Packet analysis {"connection_id":91045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:37:42] local.INFO: Extracted packet for processing {"connection_id":91045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8802"} 
[2026-06-02 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119642624,"longitude_deg":75.6553408,"latitude_deg":11.9642624,"altitude":87,"angle":358,"satellites":34,"speed":0,"hex_longitude":"2d1816c0","hex_latitude":"07219a00","is_valid_coordinates":true} 
[2026-06-02 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781972736001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383572977614848,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735856212003149824,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780398352000,"timestamp_ms":1780398352000,"timestamp_seconds":1780398352,"priority":1,"record_length":96,"hex_timestamp":"0000019e8802e680"} 
[2026-06-02 16:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:37:42] 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-06-02 16:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781972736001,"66":12798,"107":206,"83":41984,"24":0,"16":125383572977614848,"45":1735856212003149824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 16:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781972736001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:37:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 16:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383572977614848,"km_value":125383572977614.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735856212003149824,"description":"Unknown IO ID 45"} 
[2026-06-02 16:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781972736001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735856212003149824}} 
[2026-06-02 16:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":91045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:37:42] local.INFO: GPS data processed {"connection_id":91045,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:37:42] local.INFO: Acknowledgment sent {"connection_id":91045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:37:48] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.42","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e88..."} 
[2026-06-02 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e88..."} 
[2026-06-02 16:37:48] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e88..."} 
[2026-06-02 16:37:48] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:37:48] local.INFO: TCP Data received {"connection_id":91046,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:37:48] local.INFO: Processing buffer {"connection_id":91046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:37:48] local.INFO: IMEI packet received {"connection_id":91046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":91046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:37:49] local.INFO: TCP Data received {"connection_id":91046,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88006db0012cb2a24007823938004801432b..."} 
[2026-06-02 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88006db0012cb2a24007823938004801432b..."} 
[2026-06-02 16:37:49] local.INFO: Processing buffer {"connection_id":91046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88006db0012cb2a24007823938004801432b..."} 
[2026-06-02 16:37:49] local.INFO: Packet analysis {"connection_id":91046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:37:49] local.INFO: Extracted packet for processing {"connection_id":91046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:37:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125974840,"longitude_deg":74.9904448,"latitude_deg":12.597484,"altitude":72,"angle":323,"satellites":43,"speed":11,"hex_longitude":"2cb2a240","hex_latitude":"07823938","is_valid_coordinates":true} 
[2026-06-02 16:37: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-06-02 16:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781936640001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737516032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780398190000,"timestamp_ms":1780398190000,"timestamp_seconds":1780398190,"priority":1,"record_length":96,"hex_timestamp":"0000019e88006db0"} 
[2026-06-02 16:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:37: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-06-02 16: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":33,"data_length":795,"current_offset":136} 
[2026-06-02 16:37: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-06-02 16: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-06-02 16:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":91046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":91046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":91046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:37: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-06-02 16:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781936640001,"66":27169,"221":206,"85":36864,"24":11,"16":305994107484897280,"44":-5574822987737516032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781936640001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:37:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:37:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737516032,"description":"Unknown IO ID 44"} 
[2026-06-02 16:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781936640001,"power":27169,"unknown_221":206,"unknown_85":36864,"ignition":11,"odometer":null,"unknown_44":-5574822987737516032}} 
[2026-06-02 16:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":91046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:37:49] local.INFO: GPS data processed {"connection_id":91046,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:37:49] local.INFO: Acknowledgment sent {"connection_id":91046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:37:56] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88043670012d7b588005e82080000000b116..."} 
[2026-06-02 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88043670012d7b588005e82080000000b116..."} 
[2026-06-02 16:37:56] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e8803f020012d7b5b8005e84478000000bc16..."} 
[2026-06-02 16:37:56] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8803"} 
[2026-06-02 16:37:56] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8803"} 
[2026-06-02 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99107960,"longitude_deg":76.3059072,"latitude_deg":9.910796,"altitude":0,"angle":188,"satellites":22,"speed":27,"hex_longitude":"2d7b5b80","hex_latitude":"05e84478","is_valid_coordinates":true} 
[2026-06-02 16:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781994496001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87867046531956736,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889190896127463424,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1780398420000,"timestamp_ms":1780398420000,"timestamp_seconds":1780398420,"priority":1,"record_length":96,"hex_timestamp":"0000019e8803f020"} 
[2026-06-02 16:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:37:56] 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-06-02 16:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 16:37:56] 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-06-02 16:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781994496001,"66":13048,"23":206,"87":13824,"24":27,"16":87867046531956736,"45":8889190896127463424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781994496001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87867046531956736,"km_value":87867046531956.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889190896127463424,"description":"Unknown IO ID 45"} 
[2026-06-02 16:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781994496001,"power":13048,"unknown_23":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8889190896127463424}} 
[2026-06-02 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:37:56] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:37:56] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:37:56] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:37:56] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99098752,"longitude_deg":76.3058304,"latitude_deg":9.9098752,"altitude":0,"angle":177,"satellites":22,"speed":20,"hex_longitude":"2d7b5880","hex_latitude":"05e82080","is_valid_coordinates":true} 
[2026-06-02 16:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781995520001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87867497503522816,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052405798912,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1780398438000,"timestamp_ms":1780398438000,"timestamp_seconds":1780398438,"priority":1,"record_length":96,"hex_timestamp":"0000019e88043670"} 
[2026-06-02 16:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:37:56] 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-06-02 16:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 16:37:56] 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-06-02 16:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781995520001,"66":12765,"23":206,"87":13824,"24":20,"16":87867497503522816,"45":8888839052405798912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781995520001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87867497503522816,"km_value":87867497503522.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052405798912,"description":"Unknown IO ID 45"} 
[2026-06-02 16:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781995520001,"power":12765,"unknown_23":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8888839052405798912}} 
[2026-06-02 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:37:56] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:37:56] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:37:57] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88043670012d7b588005e82080000000b116..."} 
[2026-06-02 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88043670012d7b588005e82080000000b116..."} 
[2026-06-02 16:37:57] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88043670012d7b588005e82080000000b116..."} 
[2026-06-02 16:37:57] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:37:57] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99098752,"longitude_deg":76.3058304,"latitude_deg":9.9098752,"altitude":0,"angle":177,"satellites":22,"speed":20,"hex_longitude":"2d7b5880","hex_latitude":"05e82080","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782000128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87867497503522816,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473309696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1780398438000,"timestamp_ms":1780398438000,"timestamp_seconds":1780398438,"priority":1,"record_length":96,"hex_timestamp":"0000019e88043670"} 
[2026-06-02 16:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 16:37:57] 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-06-02 16: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-06-02 16:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782000128001,"66":12765,"23":206,"87":13824,"24":20,"16":87867497503522816,"45":8887994627473309696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782000128001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:37:57] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:37:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87867497503522816,"km_value":87867497503522.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473309696,"description":"Unknown IO ID 45"} 
[2026-06-02 16:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782000128001,"power":12765,"unknown_23":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8887994627473309696}} 
[2026-06-02 16:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:37:57] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:37:57] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:38:04] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:04] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:04] local.INFO: IMEI packet received {"connection_id":89592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":89592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:38:05] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:05] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:05] local.INFO: IMEI packet received {"connection_id":89592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":89592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:38:10] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:10] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:38:10] local.INFO: IMEI packet received {"connection_id":89592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":89592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:38:11] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88033888012d1816c007219a000057016625..."} 
[2026-06-02 16:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88033888012d1816c007219a000057016625..."} 
[2026-06-02 16:38:11] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88033888012d1816c007219a000057016625..."} 
[2026-06-02 16:38:11] local.INFO: Packet analysis {"connection_id":89592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8803"} 
[2026-06-02 16:38:11] local.INFO: Extracted packet for processing {"connection_id":89592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8803"} 
[2026-06-02 16:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119642624,"longitude_deg":75.6553408,"latitude_deg":11.9642624,"altitude":87,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d1816c0","hex_latitude":"07219a00","is_valid_coordinates":true} 
[2026-06-02 16:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781978112001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383572977614848,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843258949632,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780398373000,"timestamp_ms":1780398373000,"timestamp_seconds":1780398373,"priority":1,"record_length":96,"hex_timestamp":"0000019e88033888"} 
[2026-06-02 16:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:38: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-06-02 16:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 16:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:38:11] 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-06-02 16:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781978112001,"66":12798,"107":206,"83":41984,"24":0,"16":125383572977614848,"45":1735785843258949632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 16:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781978112001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:38:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 16:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383572977614848,"km_value":125383572977614.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843258949632,"description":"Unknown IO ID 45"} 
[2026-06-02 16:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781978112001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735785843258949632}} 
[2026-06-02 16:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":89592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:38:11] local.INFO: GPS data processed {"connection_id":89592,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:38:11] local.INFO: Acknowledgment sent {"connection_id":89592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:38:23] local.INFO: TCP Data received {"connection_id":91048,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:38:23] local.INFO: Processing buffer {"connection_id":91048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:38:23] local.INFO: IMEI packet received {"connection_id":91048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":91048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:38:23] local.INFO: TCP Data received {"connection_id":91047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:38:23] local.INFO: Processing buffer {"connection_id":91047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:38:23] local.INFO: IMEI packet received {"connection_id":91047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":91047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:38:28] local.INFO: TCP Data received {"connection_id":91047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:38:28] local.INFO: Processing buffer {"connection_id":91047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:38:28] local.INFO: IMEI packet received {"connection_id":91047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":91047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:38:29] local.INFO: TCP Data received {"connection_id":91048,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:38:29] local.INFO: Processing buffer {"connection_id":91048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:38:29] local.INFO: IMEI packet received {"connection_id":91048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":91048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:38:29] local.INFO: TCP Data received {"connection_id":91047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88007198012cb2a1c007823a180049013729..."} 
[2026-06-02 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88007198012cb2a1c007823a180049013729..."} 
[2026-06-02 16:38:29] local.INFO: Processing buffer {"connection_id":91047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88007198012cb2a1c007823a180049013729..."} 
[2026-06-02 16:38:29] local.INFO: Packet analysis {"connection_id":91047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:38:29] local.INFO: Extracted packet for processing {"connection_id":91047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":749904320,"raw_latitude":125975064,"longitude_deg":74.990432,"latitude_deg":12.5975064,"altitude":73,"angle":311,"satellites":41,"speed":12,"hex_longitude":"2cb2a1c0","hex_latitude":"07823a18","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781936640001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737516032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398191000,"timestamp_ms":1780398191000,"timestamp_seconds":1780398191,"priority":1,"record_length":96,"hex_timestamp":"0000019e88007198"} 
[2026-06-02 16:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-02 16:38:29] 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-06-02 16: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-06-02 16:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:38:29] 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-06-02 16:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781936640001,"66":27169,"221":206,"85":36864,"24":12,"16":305994107484897280,"44":-5574822987737516032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781936640001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:38:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737516032,"description":"Unknown IO ID 44"} 
[2026-06-02 16:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781936640001,"power":27169,"unknown_221":206,"unknown_85":36864,"ignition":12,"odometer":null,"unknown_44":-5574822987737516032}} 
[2026-06-02 16:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":91047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:38:29] local.INFO: GPS data processed {"connection_id":91047,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:38:29] local.INFO: Acknowledgment sent {"connection_id":91047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:38:30] local.INFO: TCP Data received {"connection_id":91048,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88044610012d7b598005e81930000000a516..."} 
[2026-06-02 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88044610012d7b598005e81930000000a516..."} 
[2026-06-02 16:38:30] local.INFO: Processing buffer {"connection_id":91048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88044610012d7b598005e81930000000a516..."} 
[2026-06-02 16:38:30] local.INFO: Packet analysis {"connection_id":91048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:38:30] local.INFO: Extracted packet for processing {"connection_id":91048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99096880,"longitude_deg":76.305856,"latitude_deg":9.909688,"altitude":0,"angle":165,"satellites":22,"speed":17,"hex_longitude":"2d7b5980","hex_latitude":"05e81930","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782000128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87867591992803328,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473309696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780398442000,"timestamp_ms":1780398442000,"timestamp_seconds":1780398442,"priority":1,"record_length":96,"hex_timestamp":"0000019e88044610"} 
[2026-06-02 16:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 16:38:30] 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-06-02 16: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-06-02 16:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":91048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":91048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":91048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782000128001,"66":12189,"23":206,"87":13824,"24":17,"16":87867591992803328,"45":8887994627473309696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782000128001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:38:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87867591992803328,"km_value":87867591992803.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473309696,"description":"Unknown IO ID 45"} 
[2026-06-02 16:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782000128001,"power":12189,"unknown_23":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8887994627473309696}} 
[2026-06-02 16:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":91048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:38:30] local.INFO: GPS data processed {"connection_id":91048,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:38:30] local.INFO: Acknowledgment sent {"connection_id":91048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:38:42] local.INFO: TCP Data received {"connection_id":89592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8804b758012d181ec00721a5b80050006129..."} 
[2026-06-02 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8804b758012d181ec00721a5b80050006129..."} 
[2026-06-02 16:38:42] local.INFO: Processing buffer {"connection_id":89592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8804b758012d181ec00721a5b80050006129..."} 
[2026-06-02 16:38:42] local.INFO: Packet analysis {"connection_id":89592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:38:42] local.INFO: Extracted packet for processing {"connection_id":89592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645624,"longitude_deg":75.6555456,"latitude_deg":11.9645624,"altitude":80,"angle":97,"satellites":41,"speed":7,"hex_longitude":"2d181ec0","hex_latitude":"0721a5b8","is_valid_coordinates":true} 
[2026-06-02 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782007808001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383813495783424,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864198144,"note":"Value kept but may cause issues"} 
[2026-06-02 16:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780398471000,"timestamp_ms":1780398471000,"timestamp_seconds":1780398471,"priority":1,"record_length":96,"hex_timestamp":"0000019e8804b758"} 
[2026-06-02 16:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-06-02 16:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:38:42] 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-06-02 16:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782007808001,"66":14113,"105":206,"83":41984,"24":7,"16":125383813495783424,"45":1737545061864198144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782007808001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383813495783424,"km_value":125383813495783.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864198144,"description":"Unknown IO ID 45"} 
[2026-06-02 16:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782007808001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737545061864198144}} 
[2026-06-02 16:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":89592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:38:42] local.INFO: GPS data processed {"connection_id":89592,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:38:42] local.INFO: Acknowledgment sent {"connection_id":89592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:00] local.INFO: TCP Data received {"connection_id":91047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88007d50012cb29e8007823cd00048014629..."} 
[2026-06-02 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88007d50012cb29e8007823cd00048014629..."} 
[2026-06-02 16:39:00] local.INFO: Processing buffer {"connection_id":91047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88007d50012cb29e8007823cd00048014629..."} 
[2026-06-02 16:39:00] local.INFO: Packet analysis {"connection_id":91047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:39:00] local.INFO: Extracted packet for processing {"connection_id":91047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:39:00] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125975760,"longitude_deg":74.9903488,"latitude_deg":12.597576,"altitude":72,"angle":326,"satellites":41,"speed":15,"hex_longitude":"2cb29e80","hex_latitude":"07823cd0","is_valid_coordinates":true} 
[2026-06-02 16:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781936896001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574963725225814016,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398194000,"timestamp_ms":1780398194000,"timestamp_seconds":1780398194,"priority":1,"record_length":96,"hex_timestamp":"0000019e88007d50"} 
[2026-06-02 16:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:39: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-06-02 16:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:00] 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-06-02 16:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:39:00] 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-06-02 16:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781936896001,"66":27082,"221":206,"85":36864,"24":15,"16":305994107484897280,"44":-5574963725225814016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781936896001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:00] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574963725225814016,"description":"Unknown IO ID 44"} 
[2026-06-02 16:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781936896001,"power":27082,"unknown_221":206,"unknown_85":36864,"ignition":15,"odometer":null,"unknown_44":-5574963725225814016}} 
[2026-06-02 16:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":91047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:00] local.INFO: GPS data processed {"connection_id":91047,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:00] local.INFO: Acknowledgment sent {"connection_id":91047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:01] local.INFO: TCP Data received {"connection_id":91048,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88049430012d7b5c8005e812280002009f15..."} 
[2026-06-02 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88049430012d7b5c8005e812280002009f15..."} 
[2026-06-02 16:39:01] local.INFO: Processing buffer {"connection_id":91048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88049430012d7b5c8005e812280002009f15..."} 
[2026-06-02 16:39:01] local.INFO: Packet analysis {"connection_id":91048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:01] local.INFO: Extracted packet for processing {"connection_id":91048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99095080,"longitude_deg":76.3059328,"latitude_deg":9.909508,"altitude":2,"angle":159,"satellites":21,"speed":5,"hex_longitude":"2d7b5c80","hex_latitude":"05e81228","is_valid_coordinates":true} 
[2026-06-02 16:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782001152001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87867690777051136,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102449541120,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780398462000,"timestamp_ms":1780398462000,"timestamp_seconds":1780398462,"priority":1,"record_length":96,"hex_timestamp":"0000019e88049430"} 
[2026-06-02 16:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:01] 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-06-02 16:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":91048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":91048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":91048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782001152001,"66":13222,"23":206,"87":13824,"24":5,"16":87867690777051136,"45":8888276102449541120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782001152001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:39:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87867690777051136,"km_value":87867690777051.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102449541120,"description":"Unknown IO ID 45"} 
[2026-06-02 16:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782001152001,"power":13222,"unknown_23":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8888276102449541120}} 
[2026-06-02 16:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":91048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:01] local.INFO: GPS data processed {"connection_id":91048,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:01] local.INFO: Acknowledgment sent {"connection_id":91048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:05] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:05] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:05] local.INFO: IMEI packet received {"connection_id":89871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":89871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:39:09] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:09] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:09] local.INFO: IMEI packet received {"connection_id":89871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":89871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:39:10] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:10] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:39:10] local.INFO: IMEI packet received {"connection_id":89871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":89871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:39:11] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8804c310012d1821400721a5000051007c2b..."} 
[2026-06-02 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8804c310012d1821400721a5000051007c2b..."} 
[2026-06-02 16:39:11] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8804c310012d1821400721a5000051007c2b..."} 
[2026-06-02 16:39:11] local.INFO: Packet analysis {"connection_id":89871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:11] local.INFO: Extracted packet for processing {"connection_id":89871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119645440,"longitude_deg":75.6556096,"latitude_deg":11.964544,"altitude":81,"angle":124,"satellites":43,"speed":10,"hex_longitude":"2d182140","hex_latitude":"0721a500","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782008576001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383843560554496,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073402880,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780398474000,"timestamp_ms":1780398474000,"timestamp_seconds":1780398474,"priority":1,"record_length":96,"hex_timestamp":"0000019e8804c310"} 
[2026-06-02 16:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:39: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-06-02 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:11] 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-06-02 16: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-06-02 16:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:39:11] 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-06-02 16:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782008576001,"66":14135,"105":206,"83":41984,"24":10,"16":125383843560554496,"45":1738037643073402880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782008576001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383843560554496,"km_value":125383843560554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073402880,"description":"Unknown IO ID 45"} 
[2026-06-02 16:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782008576001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738037643073402880}} 
[2026-06-02 16:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":89871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:11] local.INFO: GPS data processed {"connection_id":89871,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:11] local.INFO: Acknowledgment sent {"connection_id":89871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:13] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8804d2b0012d1825000721a1a80051008827..."} 
[2026-06-02 16:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8804d2b0012d1825000721a1a80051008827..."} 
[2026-06-02 16:39:13] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8804d2b0012d1825000721a1a80051008827..."} 
[2026-06-02 16:39:13] local.INFO: Packet analysis {"connection_id":89871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:13] local.INFO: Extracted packet for processing {"connection_id":89871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119644584,"longitude_deg":75.6557056,"latitude_deg":11.9644584,"altitude":81,"angle":136,"satellites":39,"speed":15,"hex_longitude":"2d182500","hex_latitude":"0721a1a8","is_valid_coordinates":true} 
[2026-06-02 16:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782009344001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125383903690096640,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515132416,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780398478000,"timestamp_ms":1780398478000,"timestamp_seconds":1780398478,"priority":1,"record_length":96,"hex_timestamp":"0000019e8804d2b0"} 
[2026-06-02 16:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:13] 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-06-02 16:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:39:13] 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-06-02 16:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782009344001,"66":14211,"105":206,"83":41984,"24":15,"16":125383903690096640,"45":1738741330515132416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782009344001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125383903690096640,"km_value":125383903690096.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515132416,"description":"Unknown IO ID 45"} 
[2026-06-02 16:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782009344001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1738741330515132416}} 
[2026-06-02 16:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":89871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:14] local.INFO: GPS data processed {"connection_id":89871,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:14] local.INFO: Acknowledgment sent {"connection_id":89871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:23] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:39:23] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:39:23] local.INFO: IMEI packet received {"connection_id":89959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":89959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:39:28] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:39:28] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:39:28] local.INFO: IMEI packet received {"connection_id":89959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":89959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:39:29] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:39:29] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:39:29] local.INFO: IMEI packet received {"connection_id":89594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":89594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:39:29] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88008138012cb29e4007823e38004801662b..."} 
[2026-06-02 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88008138012cb29e4007823e38004801662b..."} 
[2026-06-02 16:39:29] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88008138012cb29e4007823e38004801662b..."} 
[2026-06-02 16:39:29] local.INFO: Packet analysis {"connection_id":89959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:39:29] local.INFO: Extracted packet for processing {"connection_id":89959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:39:29] local.INFO: GPS Element Parsed {"raw_longitude":749903424,"raw_latitude":125976120,"longitude_deg":74.9903424,"latitude_deg":12.597612,"altitude":72,"angle":358,"satellites":43,"speed":15,"hex_longitude":"2cb29e40","hex_latitude":"07823e38","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781937664001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899945472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398195000,"timestamp_ms":1780398195000,"timestamp_seconds":1780398195,"priority":1,"record_length":96,"hex_timestamp":"0000019e88008138"} 
[2026-06-02 16:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:29] 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-06-02 16: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-06-02 16:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:39: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-06-02 16:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781937664001,"66":27082,"221":206,"85":36864,"24":15,"16":305994107484897280,"44":-5575878518899945472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781937664001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899945472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781937664001,"power":27082,"unknown_221":206,"unknown_85":36864,"ignition":15,"odometer":null,"unknown_44":-5575878518899945472}} 
[2026-06-02 16:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":89959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:29] local.INFO: GPS data processed {"connection_id":89959,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:29] local.INFO: Acknowledgment sent {"connection_id":89959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:32] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:39:32] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:39:32] local.INFO: IMEI packet received {"connection_id":89594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":89594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:39:33] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8804a3d0012d7b5d0005e80cc0000200ab16..."} 
[2026-06-02 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8804a3d0012d7b5d0005e80cc0000200ab16..."} 
[2026-06-02 16:39:33] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8804a3d0012d7b5d0005e80cc0000200ab16..."} 
[2026-06-02 16:39:33] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:33] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763059456,"raw_latitude":99093696,"longitude_deg":76.3059456,"latitude_deg":9.9093696,"altitude":2,"angle":171,"satellites":22,"speed":15,"hex_longitude":"2d7b5d00","hex_latitude":"05e80cc0","is_valid_coordinates":true} 
[2026-06-02 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782006272001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87867759496527872,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527379212288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780398466000,"timestamp_ms":1780398466000,"timestamp_seconds":1780398466,"priority":1,"record_length":96,"hex_timestamp":"0000019e8804a3d0"} 
[2026-06-02 16:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:39: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-06-02 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782006272001,"66":12874,"23":206,"87":13824,"24":15,"16":87867759496527872,"45":8889120527379212288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782006272001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87867759496527872,"km_value":87867759496527.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527379212288,"description":"Unknown IO ID 45"} 
[2026-06-02 16:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782006272001,"power":12874,"unknown_23":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8889120527379212288}} 
[2026-06-02 16:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:33] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:33] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:34] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8804b370012d7b5dc005e80810000100b916..."} 
[2026-06-02 16:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8804b370012d7b5dc005e80810000100b916..."} 
[2026-06-02 16:39:34] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8804b370012d7b5dc005e80810000100b916..."} 
[2026-06-02 16:39:34] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:34] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763059648,"raw_latitude":99092496,"longitude_deg":76.3059648,"latitude_deg":9.9092496,"altitude":1,"angle":185,"satellites":22,"speed":6,"hex_longitude":"2d7b5dc0","hex_latitude":"05e80810","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782007296001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87867819626070016,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889261264867213312,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780398470000,"timestamp_ms":1780398470000,"timestamp_seconds":1780398470,"priority":1,"record_length":96,"hex_timestamp":"0000019e8804b370"} 
[2026-06-02 16:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16: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-06-02 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:34] 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-06-02 16: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-06-02 16:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782007296001,"66":13080,"23":206,"87":13824,"24":6,"16":87867819626070016,"45":8889261264867213312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782007296001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87867819626070016,"km_value":87867819626070.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889261264867213312,"description":"Unknown IO ID 45"} 
[2026-06-02 16:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782007296001,"power":13080,"unknown_23":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8889261264867213312}} 
[2026-06-02 16:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:34] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:34] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:39:45] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880524b8012d182ac007219c780050008a21..."} 
[2026-06-02 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880524b8012d182ac007219c780050008a21..."} 
[2026-06-02 16:39:45] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880524b8012d182ac007219c780050008a21..."} 
[2026-06-02 16:39:45] local.INFO: Packet analysis {"connection_id":89871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:39:45] local.INFO: Extracted packet for processing {"connection_id":89871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643256,"longitude_deg":75.6558528,"latitude_deg":11.9643256,"altitude":80,"angle":138,"satellites":33,"speed":4,"hex_longitude":"2d182ac0","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782010368001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125384002474344448,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677578240,"note":"Value kept but may cause issues"} 
[2026-06-02 16:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780398499000,"timestamp_ms":1780398499000,"timestamp_seconds":1780398499,"priority":1,"record_length":96,"hex_timestamp":"0000019e880524b8"} 
[2026-06-02 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-06-02 16:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-02 16:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 16:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:39:45] 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-06-02 16:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782010368001,"66":14135,"105":206,"83":41984,"24":4,"16":125384002474344448,"45":1739796861677578240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 16:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782010368001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:39:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 16:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125384002474344448,"km_value":125384002474344.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677578240,"description":"Unknown IO ID 45"} 
[2026-06-02 16:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782010368001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1739796861677578240}} 
[2026-06-02 16:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":89871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:39:45] local.INFO: GPS data processed {"connection_id":89871,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:39:45] local.INFO: Acknowledgment sent {"connection_id":89871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:00] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88008520012cb29e8007823fb8004800152b..."} 
[2026-06-02 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88008520012cb29e8007823fb8004800152b..."} 
[2026-06-02 16:40:00] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88008520012cb29e8007823fb8004800152b..."} 
[2026-06-02 16:40:00] local.INFO: Packet analysis {"connection_id":89959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:40:00] local.INFO: Extracted packet for processing {"connection_id":89959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8800"} 
[2026-06-02 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976504,"longitude_deg":74.9903488,"latitude_deg":12.5976504,"altitude":72,"angle":21,"satellites":43,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07823fb8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781937920001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575948887644030976,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398196000,"timestamp_ms":1780398196000,"timestamp_seconds":1780398196,"priority":1,"record_length":96,"hex_timestamp":"0000019e88008520"} 
[2026-06-02 16:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16: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-06-02 16: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-02 16:40:00] 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-06-02 16: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-06-02 16:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:40: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-06-02 16:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781937920001,"66":26452,"221":206,"85":36864,"24":0,"16":305994107484897280,"44":-5575948887644030976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781937920001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:00] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575948887644030976,"description":"Unknown IO ID 44"} 
[2026-06-02 16:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781937920001,"power":26452,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575948887644030976}} 
[2026-06-02 16:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":89959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:00] local.INFO: GPS data processed {"connection_id":89959,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:00] local.INFO: Acknowledgment sent {"connection_id":89959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:05] local.INFO: TCP Data received {"connection_id":89594,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8804f5d8012d7b5a0005e7e388000100b316..."} 
[2026-06-02 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8804f5d8012d7b5a0005e7e388000100b316..."} 
[2026-06-02 16:40:05] local.INFO: Processing buffer {"connection_id":89594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8804f5d8012d7b5a0005e7e388000100b316..."} 
[2026-06-02 16:40:05] local.INFO: Packet analysis {"connection_id":89594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:40:05] local.INFO: Extracted packet for processing {"connection_id":89594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8804"} 
[2026-06-02 16:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99083144,"longitude_deg":76.3058688,"latitude_deg":9.9083144,"altitude":1,"angle":179,"satellites":22,"speed":25,"hex_longitude":"2d7b5a00","hex_latitude":"05e7e388","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782008320001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87868274892603392,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889472371099439104,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780398487000,"timestamp_ms":1780398487000,"timestamp_seconds":1780398487,"priority":1,"record_length":96,"hex_timestamp":"0000019e8804f5d8"} 
[2026-06-02 16:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:40: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-06-02 16: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-02 16:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782008320001,"66":13102,"23":206,"87":13824,"24":25,"16":87868274892603392,"45":8889472371099439104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782008320001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:05] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:40:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87868274892603392,"km_value":87868274892603.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889472371099439104,"description":"Unknown IO ID 45"} 
[2026-06-02 16:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782008320001,"power":13102,"unknown_23":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8889472371099439104}} 
[2026-06-02 16:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":89594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:05] local.INFO: GPS data processed {"connection_id":89594,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:05] local.INFO: Acknowledgment sent {"connection_id":89594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:09] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:09] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:09] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:40:10] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:10] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:10] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:40:11] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:11] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:40:11] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:40:12] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88060748012d18c60007214a90004400af24..."} 
[2026-06-02 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88060748012d18c60007214a90004400af24..."} 
[2026-06-02 16:40:12] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88060748012d18c60007214a90004400af24..."} 
[2026-06-02 16:40:12] local.INFO: Packet analysis {"connection_id":89872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:40:12] local.INFO: Extracted packet for processing {"connection_id":89872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119622288,"longitude_deg":75.6598272,"latitude_deg":11.9622288,"altitude":68,"angle":175,"satellites":36,"speed":36,"hex_longitude":"2d18c600","hex_latitude":"07214a90","is_valid_coordinates":true} 
[2026-06-02 16:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782030080001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125386278807011328,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457672704,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780398557000,"timestamp_ms":1780398557000,"timestamp_seconds":1780398557,"priority":1,"record_length":96,"hex_timestamp":"0000019e88060748"} 
[2026-06-02 16:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 16:40: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-06-02 16:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:40:12] 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-06-02 16:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782030080001,"66":14428,"103":206,"83":41984,"24":36,"16":125386278807011328,"45":1784692120457672704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782030080001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125386278807011328,"km_value":125386278807011.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457672704,"description":"Unknown IO ID 45"} 
[2026-06-02 16:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782030080001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1784692120457672704}} 
[2026-06-02 16:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":89872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:12] local.INFO: GPS data processed {"connection_id":89872,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:12] local.INFO: Acknowledgment sent {"connection_id":89872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:16] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880616e8012d18c78007213c40004100a123..."} 
[2026-06-02 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880616e8012d18c78007213c40004100a123..."} 
[2026-06-02 16:40:16] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880616e8012d18c78007213c40004100a123..."} 
[2026-06-02 16:40:16] local.INFO: Packet analysis {"connection_id":89872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:40:16] local.INFO: Extracted packet for processing {"connection_id":89872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756598656,"raw_latitude":119618624,"longitude_deg":75.6598656,"latitude_deg":11.9618624,"altitude":65,"angle":161,"satellites":35,"speed":36,"hex_longitude":"2d18c780","hex_latitude":"07213c40","is_valid_coordinates":true} 
[2026-06-02 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782030592001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125386459195637760,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332922286080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40: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-06-02 16:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780398561000,"timestamp_ms":1780398561000,"timestamp_seconds":1780398561,"priority":1,"record_length":96,"hex_timestamp":"0000019e880616e8"} 
[2026-06-02 16:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:40: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-06-02 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 16:40: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-06-02 16:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:40:16] 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-06-02 16:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782030592001,"66":14428,"103":206,"83":41984,"24":36,"16":125386459195637760,"45":1785114332922286080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782030592001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125386459195637760,"km_value":125386459195637.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332922286080,"description":"Unknown IO ID 45"} 
[2026-06-02 16:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782030592001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1785114332922286080}} 
[2026-06-02 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":89872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:16] local.INFO: GPS data processed {"connection_id":89872,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:16] local.INFO: Acknowledgment sent {"connection_id":89872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:23] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:40:23] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:40:23] local.INFO: IMEI packet received {"connection_id":89960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":89960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:40:25] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:25] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:25] local.INFO: IMEI packet received {"connection_id":89873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":89873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:40:26] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:26] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:26] local.INFO: IMEI packet received {"connection_id":89873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":89873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:40:28] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:28] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:40:28] local.INFO: IMEI packet received {"connection_id":89873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":89873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:40:30] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:40:30] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:40:30] local.INFO: IMEI packet received {"connection_id":89960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":89960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:40:30] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880528a0012d7b5f0005e7c118000000ac16..."} 
[2026-06-02 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880528a0012d7b5f0005e7c118000000ac16..."} 
[2026-06-02 16:40:30] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880528a0012d7b5f0005e7c118000000ac16..."} 
[2026-06-02 16:40:30] local.INFO: Packet analysis {"connection_id":89873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:40:30] local.INFO: Extracted packet for processing {"connection_id":89873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763059968,"raw_latitude":99074328,"longitude_deg":76.3059968,"latitude_deg":9.9074328,"altitude":0,"angle":172,"satellites":22,"speed":17,"hex_longitude":"2d7b5f00","hex_latitude":"05e7c118","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782012672001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87868708684300288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839934380032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780398500000,"timestamp_ms":1780398500000,"timestamp_seconds":1780398500,"priority":1,"record_length":96,"hex_timestamp":"0000019e880528a0"} 
[2026-06-02 16:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 16:40:30] 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-06-02 16: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-06-02 16:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782012672001,"66":13091,"23":206,"87":13824,"24":17,"16":87868708684300288,"45":8888416839934380032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782012672001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87868708684300288,"km_value":87868708684300.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839934380032,"description":"Unknown IO ID 45"} 
[2026-06-02 16:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782012672001,"power":13091,"unknown_23":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8888416839934380032}} 
[2026-06-02 16:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":89873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:30] local.INFO: GPS data processed {"connection_id":89873,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:30] local.INFO: Acknowledgment sent {"connection_id":89873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:30] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88051ce8012cb29b8007823c70004900152c..."} 
[2026-06-02 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88051ce8012cb29b8007823c70004900152c..."} 
[2026-06-02 16:40:30] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88051ce8012cb29b8007823c70004900152c..."} 
[2026-06-02 16:40:30] local.INFO: Packet analysis {"connection_id":89960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:40:30] local.INFO: Extracted packet for processing {"connection_id":89960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975664,"longitude_deg":74.990272,"latitude_deg":12.5975664,"altitude":73,"angle":21,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823c70","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455781938176001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899755008,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780398497000,"timestamp_ms":1780398497000,"timestamp_seconds":1780398497,"priority":1,"record_length":96,"hex_timestamp":"0000019e88051ce8"} 
[2026-06-02 16:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-02 16:40:30] 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-06-02 16: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-06-02 16:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455781938176001,"66":26408,"221":206,"85":36864,"24":0,"16":305994107484897280,"44":-5575878518899755008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455781938176001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899755008,"description":"Unknown IO ID 44"} 
[2026-06-02 16:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455781938176001,"power":26408,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575878518899755008}} 
[2026-06-02 16:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":89960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:31] local.INFO: GPS data processed {"connection_id":89960,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:31] local.INFO: Acknowledgment sent {"connection_id":89960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:34] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880576c0012d7b620005e7adc8000200b216..."} 
[2026-06-02 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880576c0012d7b620005e7adc8000200b216..."} 
[2026-06-02 16:40:34] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880576c0012d7b620005e7adc8000200b216..."} 
[2026-06-02 16:40:34] local.INFO: Packet analysis {"connection_id":89873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:40:34] local.INFO: Extracted packet for processing {"connection_id":89873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763060736,"raw_latitude":99069384,"longitude_deg":76.3060736,"latitude_deg":9.9069384,"altitude":2,"angle":178,"satellites":22,"speed":2,"hex_longitude":"2d7b6200","hex_latitude":"05e7adc8","is_valid_coordinates":true} 
[2026-06-02 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782016000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87868953497436160,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889824214815676416,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40: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-06-02 16:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780398520000,"timestamp_ms":1780398520000,"timestamp_seconds":1780398520,"priority":1,"record_length":96,"hex_timestamp":"0000019e880576c0"} 
[2026-06-02 16:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:40: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-06-02 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 16:40: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-06-02 16:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782016000001,"66":13254,"96":206,"87":13824,"24":2,"16":87868953497436160,"45":8889824214815676416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 16:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782016000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 16:40:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87868953497436160,"km_value":87868953497436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889824214815676416,"description":"Unknown IO ID 45"} 
[2026-06-02 16:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782016000001,"power":13254,"unknown_96":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8889824214815676416}} 
[2026-06-02 16:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":89873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:34] local.INFO: GPS data processed {"connection_id":89873,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:34] local.INFO: Acknowledgment sent {"connection_id":89873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:38] local.INFO: TCP Data received {"connection_id":91049,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:40:38] local.INFO: Processing buffer {"connection_id":91049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:40:38] local.INFO: IMEI packet received {"connection_id":91049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":91049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:40:47] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8806ce80012d193a000720b4400024007a24..."} 
[2026-06-02 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8806ce80012d193a000720b4400024007a24..."} 
[2026-06-02 16:40:47] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8806ce80012d193a000720b4400024007a24..."} 
[2026-06-02 16:40:47] local.INFO: Packet analysis {"connection_id":89872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:40:47] local.INFO: Extracted packet for processing {"connection_id":89872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756627968,"raw_latitude":119583808,"longitude_deg":75.6627968,"latitude_deg":11.9583808,"altitude":36,"angle":122,"satellites":36,"speed":51,"hex_longitude":"2d193a00","hex_latitude":"0720b440","is_valid_coordinates":true} 
[2026-06-02 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782042368001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125388817132683264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810869293282168832,"note":"Value kept but may cause issues"} 
[2026-06-02 16: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-06-02 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780398608000,"timestamp_ms":1780398608000,"timestamp_seconds":1780398608,"priority":1,"record_length":96,"hex_timestamp":"0000019e8806ce80"} 
[2026-06-02 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:40: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-06-02 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-02 16:40: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-06-02 16:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:40:47] 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-06-02 16:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782042368001,"66":14396,"103":206,"83":41984,"24":51,"16":125388817132683264,"45":1810869293282168832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782042368001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:40:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125388817132683264,"km_value":125388817132683.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810869293282168832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782042368001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1810869293282168832}} 
[2026-06-02 16:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":89872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:40:47] local.INFO: GPS data processed {"connection_id":89872,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:40:47] local.INFO: Acknowledgment sent {"connection_id":89872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:40:58] local.INFO: TCP Data received {"connection_id":91050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:40:58] local.INFO: Processing buffer {"connection_id":91050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:40:58] local.INFO: IMEI packet received {"connection_id":91050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":91050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:41:01] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e880599e8012cb29b8007823c70004900152c..."} 
[2026-06-02 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880599e8012cb29b8007823c70004900152c..."} 
[2026-06-02 16:41:02] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880599e8012cb29b8007823c70004900152c..."} 
[2026-06-02 16:41:02] local.INFO: Packet analysis {"connection_id":89960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:41:02] local.INFO: Extracted packet for processing {"connection_id":89960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975664,"longitude_deg":74.990272,"latitude_deg":12.5975664,"altitude":73,"angle":21,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823c70","is_valid_coordinates":true} 
[2026-06-02 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782015232001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830102016,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780398529000,"timestamp_ms":1780398529000,"timestamp_seconds":1780398529,"priority":1,"record_length":96,"hex_timestamp":"0000019e880599e8"} 
[2026-06-02 16:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 16:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:41:02] 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-06-02 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782015232001,"66":26376,"221":206,"85":36864,"24":0,"16":305994107484897280,"44":-5576722943830102016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782015232001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:41:02] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830102016,"description":"Unknown IO ID 44"} 
[2026-06-02 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782015232001,"power":26376,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830102016}} 
[2026-06-02 16:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":89960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:41:02] local.INFO: GPS data processed {"connection_id":89960,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:41:02] local.INFO: Acknowledgment sent {"connection_id":89960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:41:05] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88072c40012d7b80c005e715100008009516..."} 
[2026-06-02 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88072c40012d7b80c005e715100008009516..."} 
[2026-06-02 16:41:05] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88072c40012d7b80c005e715100008009516..."} 
[2026-06-02 16:41:05] local.INFO: Packet analysis {"connection_id":89873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:41:05] local.INFO: Extracted packet for processing {"connection_id":89873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763068608,"raw_latitude":99030288,"longitude_deg":76.3068608,"latitude_deg":9.9030288,"altitude":8,"angle":149,"satellites":22,"speed":23,"hex_longitude":"2d7b80c0","hex_latitude":"05e71510","is_valid_coordinates":true} 
[2026-06-02 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782046976001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87870903412588544,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897424039177111552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] 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-06-02 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780398632000,"timestamp_ms":1780398632000,"timestamp_seconds":1780398632,"priority":1,"record_length":96,"hex_timestamp":"0000019e88072c40"} 
[2026-06-02 16:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:41: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-06-02 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359757,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58079734643818513,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2282070456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3886200832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2350907396,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-06-02 16:41:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040077,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,87,24,241,157,16,45,158,179,54,6,22,10,66,140,64,80,5,61,128,1,240,53,227,136,231,4,113,205,177,99,239,51,2,56,3,17],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-06-02 16:41:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432523779601596416,"timestamp_seconds":432523779601596.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782046976001,"66":13015,"96":206,"87":13824,"24":23,"16":87870903412588544,"45":8897424039177111552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782046976001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:41:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 16:41:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87870903412588544,"km_value":87870903412588.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897424039177111552,"description":"Unknown IO ID 45"} 
[2026-06-02 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782046976001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8897424039177111552}} 
[2026-06-02 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":89873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:41:05] local.INFO: GPS data processed {"connection_id":89873,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:41:05] local.INFO: Acknowledgment sent {"connection_id":89873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:41:05] local.INFO: TCP Data received {"connection_id":91051,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:41:05] local.INFO: Processing buffer {"connection_id":91051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:41:05] local.INFO: IMEI packet received {"connection_id":91051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":91051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:41:08] local.INFO: TCP Data received {"connection_id":91051,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:41:08] local.INFO: Processing buffer {"connection_id":91051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:41:08] local.INFO: IMEI packet received {"connection_id":91051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":91051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:41:09] local.INFO: TCP Data received {"connection_id":91051,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8806de20012d194a400720ac300023006b22..."} 
[2026-06-02 16:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8806de20012d194a400720ac300023006b22..."} 
[2026-06-02 16:41:09] local.INFO: Processing buffer {"connection_id":91051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8806de20012d194a400720ac300023006b22..."} 
[2026-06-02 16:41:09] local.INFO: Packet analysis {"connection_id":91051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:41:09] local.INFO: Extracted packet for processing {"connection_id":91051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119581744,"longitude_deg":75.6632128,"latitude_deg":11.9581744,"altitude":35,"angle":107,"satellites":34,"speed":42,"hex_longitude":"2d194a40","hex_latitude":"0720ac30","is_valid_coordinates":true} 
[2026-06-02 16:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782043648001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125389040470982656,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817765430210871296,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780398612000,"timestamp_ms":1780398612000,"timestamp_seconds":1780398612,"priority":1,"record_length":96,"hex_timestamp":"0000019e8806de20"} 
[2026-06-02 16:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 16:41: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-06-02 16:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":91051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":91051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":91051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:41:09] 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-06-02 16:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782043648001,"66":13917,"103":206,"83":41984,"24":42,"16":125389040470982656,"45":1817765430210871296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782043648001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:41:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125389040470982656,"km_value":125389040470982.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817765430210871296,"description":"Unknown IO ID 45"} 
[2026-06-02 16:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782043648001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1817765430210871296}} 
[2026-06-02 16:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":91051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:41:09] local.INFO: GPS data processed {"connection_id":91051,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:41:09] local.INFO: Acknowledgment sent {"connection_id":91051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:41:23] local.INFO: TCP Data received {"connection_id":91052,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:41:23] local.INFO: Processing buffer {"connection_id":91052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:41:23] local.INFO: IMEI packet received {"connection_id":91052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":91052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:41:24] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:41:24] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:41:24] local.INFO: IMEI packet received {"connection_id":89874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":89874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:41:28] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:41:28] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:41:28] local.INFO: IMEI packet received {"connection_id":89874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:41:28] local.INFO: TCP Data received {"connection_id":91052,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:41:28] local.INFO: Processing buffer {"connection_id":91052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:41:28] local.INFO: IMEI packet received {"connection_id":91052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":91052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:41:29] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88073fc8012d7b870005e70b90000a00a416..."} 
[2026-06-02 16:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88073fc8012d7b870005e70b90000a00a416..."} 
[2026-06-02 16:41:29] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88073fc8012d7b870005e70b90000a00a416..."} 
[2026-06-02 16:41:29] local.INFO: Packet analysis {"connection_id":89874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:41:29] local.INFO: Extracted packet for processing {"connection_id":89874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":99027856,"longitude_deg":76.3070208,"latitude_deg":9.9027856,"altitude":10,"angle":164,"satellites":22,"speed":23,"hex_longitude":"2d7b8700","hex_latitude":"05e70b90","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782049792001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87871045146509312,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899323995268386816,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:29] 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-06-02 16:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398637000,"timestamp_ms":1780398637000,"timestamp_seconds":1780398637,"priority":1,"record_length":96,"hex_timestamp":"0000019e88073fc8"} 
[2026-06-02 16:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 16:41:29] 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-06-02 16: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-06-02 16:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782049792001,"66":13102,"96":206,"87":13824,"24":23,"16":87871045146509312,"45":8899323995268386816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 16:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782049792001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:41:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 16:41:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87871045146509312,"km_value":87871045146509.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899323995268386816,"description":"Unknown IO ID 45"} 
[2026-06-02 16:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782049792001,"power":13102,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8899323995268386816}} 
[2026-06-02 16:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":89874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:41:29] local.INFO: GPS data processed {"connection_id":89874,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:41:29] local.INFO: Acknowledgment sent {"connection_id":89874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:41:37] local.INFO: TCP Data received {"connection_id":91052,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8805a1b8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8805a1b8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:41:37] local.INFO: Processing buffer {"connection_id":91052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8805a1b8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:41:37] local.INFO: Packet analysis {"connection_id":91052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:41:37] local.INFO: Extracted packet for processing {"connection_id":91052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782023424001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830102016,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780398531000,"timestamp_ms":1780398531000,"timestamp_seconds":1780398531,"priority":1,"record_length":96,"hex_timestamp":"0000019e8805a1b8"} 
[2026-06-02 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-02 16:41:37] 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-06-02 16:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":91052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":91052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":91052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782023424001,"66":26245,"221":206,"85":36864,"24":0,"16":305994107484897280,"44":-5576722943830102016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782023424001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:41:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830102016,"description":"Unknown IO ID 44"} 
[2026-06-02 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782023424001,"power":26245,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830102016}} 
[2026-06-02 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":91052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:41:37] local.INFO: GPS data processed {"connection_id":91052,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:41:37] local.INFO: Acknowledgment sent {"connection_id":91052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:41:40] local.INFO: TCP Data received {"connection_id":91051,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8806e9d8012d1954800720aa080022005e21..."} 
[2026-06-02 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8806e9d8012d1954800720aa080022005e21..."} 
[2026-06-02 16:41:40] local.INFO: Processing buffer {"connection_id":91051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8806e9d8012d1954800720aa080022005e21..."} 
[2026-06-02 16:41:40] local.INFO: Packet analysis {"connection_id":91051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:41:40] local.INFO: Extracted packet for processing {"connection_id":91051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8806"} 
[2026-06-02 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":756634752,"raw_latitude":119581192,"longitude_deg":75.6634752,"latitude_deg":11.9581192,"altitude":34,"angle":94,"satellites":33,"speed":35,"hex_longitude":"2d195480","hex_latitude":"0720aa08","is_valid_coordinates":true} 
[2026-06-02 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782044672001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125389169320001536,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822339398581891072,"note":"Value kept but may cause issues"} 
[2026-06-02 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780398615000,"timestamp_ms":1780398615000,"timestamp_seconds":1780398615,"priority":1,"record_length":96,"hex_timestamp":"0000019e8806e9d8"} 
[2026-06-02 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-02 16:41:40] 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-06-02 16:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":91051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":91051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":91051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:41:40] 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-06-02 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782044672001,"66":13374,"103":206,"83":41984,"24":35,"16":125389169320001536,"45":1822339398581891072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782044672001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:41:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125389169320001536,"km_value":125389169320001.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822339398581891072,"description":"Unknown IO ID 45"} 
[2026-06-02 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782044672001,"power":13374,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1822339398581891072}} 
[2026-06-02 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":91051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:41:40] local.INFO: GPS data processed {"connection_id":91051,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:41:40] local.INFO: Acknowledgment sent {"connection_id":91051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:42:01] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880791d0012d7b910005e6ef90000a009c16..."} 
[2026-06-02 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880791d0012d7b910005e6ef90000a009c16..."} 
[2026-06-02 16:42:01] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880791d0012d7b910005e6ef90000a009c16..."} 
[2026-06-02 16:42:01] local.INFO: Packet analysis {"connection_id":89874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:01] local.INFO: Extracted packet for processing {"connection_id":89874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763072768,"raw_latitude":99020688,"longitude_deg":76.3072768,"latitude_deg":9.9020688,"altitude":10,"angle":156,"satellites":22,"speed":0,"hex_longitude":"2d7b9100","hex_latitude":"05e6ef90","is_valid_coordinates":true} 
[2026-06-02 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782051072001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87871418808664064,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213872205824,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:01] 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-06-02 16:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780398658000,"timestamp_ms":1780398658000,"timestamp_seconds":1780398658,"priority":1,"record_length":96,"hex_timestamp":"0000019e880791d0"} 
[2026-06-02 16:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 16:42:01] 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-06-02 16:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782051072001,"66":13254,"96":206,"87":13824,"24":0,"16":87871418808664064,"45":8901083213872205824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 16:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782051072001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:42:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 16:42:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87871418808664064,"km_value":87871418808664.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213872205824,"description":"Unknown IO ID 45"} 
[2026-06-02 16:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782051072001,"power":13254,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8901083213872205824}} 
[2026-06-02 16:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":89874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:42:01] local.INFO: GPS data processed {"connection_id":89874,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:42:01] local.INFO: Acknowledgment sent {"connection_id":89874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:42:05] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:05] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:05] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:42:08] local.INFO: TCP Data received {"connection_id":91052,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8805b928012cb29c0007823aa0004900d929..."} 
[2026-06-02 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8805b928012cb29c0007823aa0004900d929..."} 
[2026-06-02 16:42:08] local.INFO: Processing buffer {"connection_id":91052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8805b928012cb29c0007823aa0004900d929..."} 
[2026-06-02 16:42:08] local.INFO: Packet analysis {"connection_id":91052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:42:08] local.INFO: Extracted packet for processing {"connection_id":91052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782023936001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780398537000,"timestamp_ms":1780398537000,"timestamp_seconds":1780398537,"priority":1,"record_length":96,"hex_timestamp":"0000019e8805b928"} 
[2026-06-02 16:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 16:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":91052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":91052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":91052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:42:08] 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-06-02 16:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782023936001,"66":26082,"221":206,"85":36864,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782023936001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:42:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782023936001,"power":26082,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":91052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:42:08] local.INFO: GPS data processed {"connection_id":91052,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:42:08] local.INFO: Acknowledgment sent {"connection_id":91052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:42:08] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:08] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:08] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:42:10] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:10] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:42:10] local.INFO: IMEI packet received {"connection_id":89595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":89595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:42:11] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8807d438012d19bc400720a498002e00cd22..."} 
[2026-06-02 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8807d438012d19bc400720a498002e00cd22..."} 
[2026-06-02 16:42:11] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8807d438012d19bc400720a498002e00cd22..."} 
[2026-06-02 16:42:11] local.INFO: Packet analysis {"connection_id":89595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:11] local.INFO: Extracted packet for processing {"connection_id":89595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119579800,"longitude_deg":75.6661312,"latitude_deg":11.95798,"altitude":46,"angle":205,"satellites":34,"speed":8,"hex_longitude":"2d19bc40","hex_latitude":"0720a498","is_valid_coordinates":true} 
[2026-06-02 16:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782060288001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125390526529667072,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414822912,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780398675000,"timestamp_ms":1780398675000,"timestamp_seconds":1780398675,"priority":1,"record_length":96,"hex_timestamp":"0000019e8807d438"} 
[2026-06-02 16:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:42: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-06-02 16:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 16:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:42:11] 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-06-02 16:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782060288001,"66":13928,"103":206,"83":41984,"24":8,"16":125390526529667072,"45":1854568283414822912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782060288001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:42:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125390526529667072,"km_value":125390526529667.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414822912,"description":"Unknown IO ID 45"} 
[2026-06-02 16:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782060288001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1854568283414822912}} 
[2026-06-02 16:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":89595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:42:11] local.INFO: GPS data processed {"connection_id":89595,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:42:11] local.INFO: Acknowledgment sent {"connection_id":89595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:42:16] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8807ff30012d19ac0007208a00002a00c024..."} 
[2026-06-02 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8807ff30012d19ac0007208a00002a00c024..."} 
[2026-06-02 16:42:16] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8807ff30012d19ac0007208a00002a00c024..."} 
[2026-06-02 16:42:16] local.INFO: Packet analysis {"connection_id":89595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:16] local.INFO: Extracted packet for processing {"connection_id":89595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119572992,"longitude_deg":75.6657152,"latitude_deg":11.9572992,"altitude":42,"angle":192,"satellites":36,"speed":35,"hex_longitude":"2d19ac00","hex_latitude":"07208a00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782060800001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125390917371691008,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926408192,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42: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-06-02 16:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780398686000,"timestamp_ms":1780398686000,"timestamp_seconds":1780398686,"priority":1,"record_length":96,"hex_timestamp":"0000019e8807ff30"} 
[2026-06-02 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-06-02 16:42: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-06-02 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 16:42:16] 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-06-02 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-06-02 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-06-02 16:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:42:16] 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-06-02 16:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782060800001,"66":13928,"103":206,"83":41984,"24":35,"16":125390917371691008,"45":1854427545926408192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782060800001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:42:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125390917371691008,"km_value":125390917371691.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926408192,"description":"Unknown IO ID 45"} 
[2026-06-02 16:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782060800001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1854427545926408192}} 
[2026-06-02 16:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":89595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:42:16] local.INFO: GPS data processed {"connection_id":89595,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:42:16] local.INFO: Acknowledgment sent {"connection_id":89595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:42:23] local.INFO: TCP Data received {"connection_id":91053,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:42:23] local.INFO: Processing buffer {"connection_id":91053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:42:23] local.INFO: IMEI packet received {"connection_id":91053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":91053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:42:25] local.INFO: TCP Data received {"connection_id":89875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:42:25] local.INFO: Processing buffer {"connection_id":89875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:42:25] local.INFO: IMEI packet received {"connection_id":89875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":89875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:42:27] local.INFO: TCP Data received {"connection_id":89875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:42:27] local.INFO: Processing buffer {"connection_id":89875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:42:27] local.INFO: IMEI packet received {"connection_id":89875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":89875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:42:28] local.INFO: TCP Data received {"connection_id":91053,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:42:28] local.INFO: Processing buffer {"connection_id":91053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:42:28] local.INFO: IMEI packet received {"connection_id":91053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":91053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:42:28] local.INFO: TCP Data received {"connection_id":89875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8807c498012d7b98c005e6d8c8000c00ac16..."} 
[2026-06-02 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8807c498012d7b98c005e6d8c8000c00ac16..."} 
[2026-06-02 16:42:28] local.INFO: Processing buffer {"connection_id":89875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8807c498012d7b98c005e6d8c8000c00ac16..."} 
[2026-06-02 16:42:28] local.INFO: Packet analysis {"connection_id":89875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:28] local.INFO: Extracted packet for processing {"connection_id":89875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763074752,"raw_latitude":99014856,"longitude_deg":76.3074752,"latitude_deg":9.9014856,"altitude":12,"angle":172,"satellites":22,"speed":26,"hex_longitude":"2d7b98c0","hex_latitude":"05e6d8c8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782056448001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87871719456374784,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903897963637477376,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:28] 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-06-02 16:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780398671000,"timestamp_ms":1780398671000,"timestamp_seconds":1780398671,"priority":1,"record_length":96,"hex_timestamp":"0000019e8807c498"} 
[2026-06-02 16:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 16:42:28] 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-06-02 16: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-06-02 16:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782056448001,"66":13363,"96":206,"87":13824,"24":26,"16":87871719456374784,"45":8903897963637477376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 16:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782056448001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:42:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 16:42:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87871719456374784,"km_value":87871719456374.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903897963637477376,"description":"Unknown IO ID 45"} 
[2026-06-02 16:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782056448001,"power":13363,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8903897963637477376}} 
[2026-06-02 16:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":89875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:42:28] local.INFO: GPS data processed {"connection_id":89875,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:42:28] local.INFO: Acknowledgment sent {"connection_id":89875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:42:29] local.INFO: TCP Data received {"connection_id":91053,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8805b928012cb29c0007823aa0004900d929..."} 
[2026-06-02 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8805b928012cb29c0007823aa0004900d929..."} 
[2026-06-02 16:42:29] local.INFO: Processing buffer {"connection_id":91053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8805b928012cb29c0007823aa0004900d929..."} 
[2026-06-02 16:42:29] local.INFO: Packet analysis {"connection_id":91053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:42:29] local.INFO: Extracted packet for processing {"connection_id":91053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8805"} 
[2026-06-02 16:42:29] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782023936001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398537000,"timestamp_ms":1780398537000,"timestamp_seconds":1780398537,"priority":1,"record_length":96,"hex_timestamp":"0000019e8805b928"} 
[2026-06-02 16:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:42: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-06-02 16: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 16:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:42:29] 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-06-02 16:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782023936001,"66":26082,"221":206,"85":36864,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-06-02 16:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782023936001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:42:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 16:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-06-02 16:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782023936001,"power":26082,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":91053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:42:29] local.INFO: GPS data processed {"connection_id":91053,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:42:29] local.INFO: Acknowledgment sent {"connection_id":91053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:42:47] local.INFO: TCP Data received {"connection_id":89595,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88080700012d19ad00072081d8002900b124..."} 
[2026-06-02 16:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88080700012d19ad00072081d8002900b124..."} 
[2026-06-02 16:42:47] local.INFO: Processing buffer {"connection_id":89595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88080700012d19ad00072081d8002900b124..."} 
[2026-06-02 16:42:47] local.INFO: Packet analysis {"connection_id":89595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:42:47] local.INFO: Extracted packet for processing {"connection_id":89595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119570904,"longitude_deg":75.6657408,"latitude_deg":11.9570904,"altitude":41,"angle":177,"satellites":36,"speed":38,"hex_longitude":"2d19ad00","hex_latitude":"072081d8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782063616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125391020450906112,"note":"Value kept but may cause issues"} 
[2026-06-02 16:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577553117184,"note":"Value kept but may cause issues"} 
[2026-06-02 16: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-06-02 16:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780398688000,"timestamp_ms":1780398688000,"timestamp_seconds":1780398688,"priority":1,"record_length":96,"hex_timestamp":"0000019e88080700"} 
[2026-06-02 16:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:42: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-06-02 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 16:42: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-06-02 16: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-06-02 16:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:42:47] 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-06-02 16:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782063616001,"66":13689,"103":206,"83":41984,"24":38,"16":125391020450906112,"45":1849853577553117184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782063616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:42:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125391020450906112,"km_value":125391020450906.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577553117184,"description":"Unknown IO ID 45"} 
[2026-06-02 16:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782063616001,"power":13689,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1849853577553117184}} 
[2026-06-02 16:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":89595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:42:47] local.INFO: GPS data processed {"connection_id":89595,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:42:47] local.INFO: Acknowledgment sent {"connection_id":89595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:43:00] local.INFO: TCP Data received {"connection_id":89875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8807d438012d7b990005e6cf80000d00bb16..."} 
[2026-06-02 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8807d438012d7b990005e6cf80000d00bb16..."} 
[2026-06-02 16:43:00] local.INFO: Processing buffer {"connection_id":89875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8807d438012d7b990005e6cf80000d00bb16..."} 
[2026-06-02 16:43:00] local.INFO: Packet analysis {"connection_id":89875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:43:00] local.INFO: Extracted packet for processing {"connection_id":89875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8807"} 
[2026-06-02 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763074816,"raw_latitude":99012480,"longitude_deg":76.3074816,"latitude_deg":9.901248,"altitude":13,"angle":187,"satellites":22,"speed":19,"hex_longitude":"2d7b9900","hex_latitude":"05e6cf80","is_valid_coordinates":true} 
[2026-06-02 16:43: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-06-02 16:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782059776001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87871835420491776,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906079394705491968,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:00] 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-06-02 16:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398675000,"timestamp_ms":1780398675000,"timestamp_seconds":1780398675,"priority":1,"record_length":96,"hex_timestamp":"0000019e8807d438"} 
[2026-06-02 16:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-02 16:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:43: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-06-02 16:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782059776001,"66":12863,"96":206,"87":13824,"24":19,"16":87871835420491776,"45":8906079394705491968},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-02 16:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782059776001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87871835420491776,"km_value":87871835420491.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906079394705491968,"description":"Unknown IO ID 45"} 
[2026-06-02 16:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782059776001,"power":12863,"unknown_96":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8906079394705491968}} 
[2026-06-02 16:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":89875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:43:00] local.INFO: GPS data processed {"connection_id":89875,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:43:00] local.INFO: Acknowledgment sent {"connection_id":89875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:43:00] local.INFO: TCP Data received {"connection_id":91053,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8808ca50012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8808ca50012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:43:00] local.INFO: Processing buffer {"connection_id":91053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8808ca50012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:43:00] local.INFO: Packet analysis {"connection_id":91053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:43:00] local.INFO: Extracted packet for processing {"connection_id":91053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:43: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-06-02 16:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782025472001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398738000,"timestamp_ms":1780398738000,"timestamp_seconds":1780398738,"priority":1,"record_length":96,"hex_timestamp":"0000019e8808ca50"} 
[2026-06-02 16:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:43: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-06-02 16:43: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-06-02 16:43: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-06-02 16:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:43: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-06-02 16:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782025472001,"66":26115,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782025472001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782025472001,"power":26115,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":91053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:43:00] local.INFO: GPS data processed {"connection_id":91053,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:43:00] local.INFO: Acknowledgment sent {"connection_id":91053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:43:06] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:06] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:06] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:43:06] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:06] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:06] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:43:07] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:07] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:07] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:43:10] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:10] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:43:10] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:43:11] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880812b8012d19b24007207390002500a124..."} 
[2026-06-02 16:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880812b8012d19b24007207390002500a124..."} 
[2026-06-02 16:43:11] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880812b8012d19b24007207390002500a124..."} 
[2026-06-02 16:43:11] local.INFO: Packet analysis {"connection_id":89962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:43:11] local.INFO: Extracted packet for processing {"connection_id":89962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119567248,"longitude_deg":75.6658752,"latitude_deg":11.9567248,"altitude":37,"angle":161,"satellites":36,"speed":48,"hex_longitude":"2d19b240","hex_latitude":"07207390","is_valid_coordinates":true} 
[2026-06-02 16:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782064128001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125391209429467136,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052529293312,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780398691000,"timestamp_ms":1780398691000,"timestamp_seconds":1780398691,"priority":1,"record_length":96,"hex_timestamp":"0000019e880812b8"} 
[2026-06-02 16:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:43: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-06-02 16:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-06-02 16:43:11] 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-06-02 16:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:43:11] 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-06-02 16:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782064128001,"66":13580,"103":206,"83":41984,"24":48,"16":125391209429467136,"45":1850135052529293312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 16:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782064128001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:43:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 16:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125391209429467136,"km_value":125391209429467.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052529293312,"description":"Unknown IO ID 45"} 
[2026-06-02 16:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782064128001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1850135052529293312}} 
[2026-06-02 16:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":89962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:43:11] local.INFO: GPS data processed {"connection_id":89962,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:43:11] local.INFO: Acknowledgment sent {"connection_id":89962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:43:23] local.INFO: TCP Data received {"connection_id":89963,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:43:23] local.INFO: Processing buffer {"connection_id":89963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:43:23] local.INFO: IMEI packet received {"connection_id":89963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":89963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:43:23] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:23] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:23] local.INFO: IMEI packet received {"connection_id":89964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":89964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:43:27] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:27] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:27] local.INFO: IMEI packet received {"connection_id":89964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":89964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:43:27] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:27] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:43:27] local.INFO: IMEI packet received {"connection_id":89964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":89964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:43:28] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88097248012d7bd40005e61228000c00a317..."} 
[2026-06-02 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88097248012d7bd40005e61228000c00a317..."} 
[2026-06-02 16:43:28] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88097248012d7bd40005e61228000c00a317..."} 
[2026-06-02 16:43:28] local.INFO: Packet analysis {"connection_id":89964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:43:28] local.INFO: Extracted packet for processing {"connection_id":89964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763089920,"raw_latitude":98964008,"longitude_deg":76.308992,"latitude_deg":9.8964008,"altitude":12,"angle":163,"satellites":23,"speed":14,"hex_longitude":"2d7bd400","hex_latitude":"05e61228","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782087424001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87874347976359936,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922475312086028288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:28] 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-06-02 16:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780398781000,"timestamp_ms":1780398781000,"timestamp_seconds":1780398781,"priority":1,"record_length":96,"hex_timestamp":"0000019e88097248"} 
[2026-06-02 16:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16: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-06-02 16: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-06-02 16:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782087424001,"66":13243,"95":206,"87":13824,"24":14,"16":87874347976359936,"45":8922475312086028288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-02 16:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782087424001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:43:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:43:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87874347976359936,"km_value":87874347976359.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922475312086028288,"description":"Unknown IO ID 45"} 
[2026-06-02 16:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782087424001,"power":13243,"unknown_95":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8922475312086028288}} 
[2026-06-02 16:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":89964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:43:28] local.INFO: GPS data processed {"connection_id":89964,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:43:28] local.INFO: Acknowledgment sent {"connection_id":89964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:43:28] local.INFO: TCP Data received {"connection_id":89963,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:43:28] local.INFO: Processing buffer {"connection_id":89963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:43:28] local.INFO: IMEI packet received {"connection_id":89963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":89963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:43:29] local.INFO: TCP Data received {"connection_id":89963,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8808e1c0012cb29c0007823aa0004900d92a..."} 
[2026-06-02 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8808e1c0012cb29c0007823aa0004900d92a..."} 
[2026-06-02 16:43:29] local.INFO: Processing buffer {"connection_id":89963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8808e1c0012cb29c0007823aa0004900d92a..."} 
[2026-06-02 16:43:29] local.INFO: Packet analysis {"connection_id":89963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:43:29] local.INFO: Extracted packet for processing {"connection_id":89963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:43:29] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782076928001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398744000,"timestamp_ms":1780398744000,"timestamp_seconds":1780398744,"priority":1,"record_length":96,"hex_timestamp":"0000019e8808e1c0"} 
[2026-06-02 16:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:43: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-06-02 16:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 16:43:29] 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-06-02 16:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:43: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-06-02 16:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782076928001,"66":25843,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782076928001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:43:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782076928001,"power":25843,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":89963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:43:29] local.INFO: GPS data processed {"connection_id":89963,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:43:29] local.INFO: Acknowledgment sent {"connection_id":89963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:43:30] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8809a510012d7bde0005e5f3e8000b009717..."} 
[2026-06-02 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8809a510012d7bde0005e5f3e8000b009717..."} 
[2026-06-02 16:43:30] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8809a510012d7bde0005e5f3e8000b009717..."} 
[2026-06-02 16:43:30] local.INFO: Packet analysis {"connection_id":89964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:43:30] local.INFO: Extracted packet for processing {"connection_id":89964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763092480,"raw_latitude":98956264,"longitude_deg":76.309248,"latitude_deg":9.8956264,"altitude":11,"angle":151,"satellites":23,"speed":11,"hex_longitude":"2d7bde00","hex_latitude":"05e5f3e8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782087936001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87874743113351168,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922756787062581248,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:30] 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-06-02 16:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780398794000,"timestamp_ms":1780398794000,"timestamp_seconds":1780398794,"priority":1,"record_length":96,"hex_timestamp":"0000019e8809a510"} 
[2026-06-02 16:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 16:43:30] 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-06-02 16: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-06-02 16:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782087936001,"66":13037,"95":206,"87":13824,"24":11,"16":87874743113351168,"45":8922756787062581248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-02 16:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782087936001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:43:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87874743113351168,"km_value":87874743113351.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922756787062581248,"description":"Unknown IO ID 45"} 
[2026-06-02 16:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782087936001,"power":13037,"unknown_95":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8922756787062581248}} 
[2026-06-02 16:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":89964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:43:31] local.INFO: GPS data processed {"connection_id":89964,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:43:31] local.INFO: Acknowledgment sent {"connection_id":89964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:43:43] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88095ad8012d19c900071ff158002900fa25..."} 
[2026-06-02 16:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88095ad8012d19c900071ff158002900fa25..."} 
[2026-06-02 16:43:43] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88095ad8012d19c900071ff158002900fa25..."} 
[2026-06-02 16:43:43] local.INFO: Packet analysis {"connection_id":89962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:43:43] local.INFO: Extracted packet for processing {"connection_id":89962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756664576,"raw_latitude":119533912,"longitude_deg":75.6664576,"latitude_deg":11.9533912,"altitude":41,"angle":250,"satellites":37,"speed":16,"hex_longitude":"2d19c900","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-06-02 16:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782086144001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125393142164750336,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588653056,"note":"Value kept but may cause issues"} 
[2026-06-02 16:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780398775000,"timestamp_ms":1780398775000,"timestamp_seconds":1780398775,"priority":1,"record_length":96,"hex_timestamp":"0000019e88095ad8"} 
[2026-06-02 16:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-02 16:43:43] 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-06-02 16:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:43:43] 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-06-02 16:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782086144001,"66":14363,"101":206,"83":41984,"24":16,"16":125393142164750336,"45":1858368195588653056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 16:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782086144001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:43:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 16:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125393142164750336,"km_value":125393142164750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588653056,"description":"Unknown IO ID 45"} 
[2026-06-02 16:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782086144001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858368195588653056}} 
[2026-06-02 16:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":89962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:43:43] local.INFO: GPS data processed {"connection_id":89962,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:43:43] local.INFO: Acknowledgment sent {"connection_id":89962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:44:00] local.INFO: TCP Data received {"connection_id":89963,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8808f930012cb29c0007823aa0004900d92b..."} 
[2026-06-02 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8808f930012cb29c0007823aa0004900d92b..."} 
[2026-06-02 16:44:00] local.INFO: Processing buffer {"connection_id":89963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8808f930012cb29c0007823aa0004900d92b..."} 
[2026-06-02 16:44:00] local.INFO: Packet analysis {"connection_id":89963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:44:00] local.INFO: Extracted packet for processing {"connection_id":89963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8808"} 
[2026-06-02 16:44:00] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782078464001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398750000,"timestamp_ms":1780398750000,"timestamp_seconds":1780398750,"priority":1,"record_length":96,"hex_timestamp":"0000019e8808f930"} 
[2026-06-02 16:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-02 16:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:44: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-06-02 16:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782078464001,"66":25941,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782078464001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:44:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782078464001,"power":25941,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":89963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:44:00] local.INFO: GPS data processed {"connection_id":89963,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:44:00] local.INFO: Acknowledgment sent {"connection_id":89963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:44:02] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8809d008012d7be50005e5e848000c008a17..."} 
[2026-06-02 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8809d008012d7be50005e5e848000c008a17..."} 
[2026-06-02 16:44:02] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8809d008012d7be50005e5e848000c008a17..."} 
[2026-06-02 16:44:02] local.INFO: Packet analysis {"connection_id":89964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:02] local.INFO: Extracted packet for processing {"connection_id":89964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763094272,"raw_latitude":98953288,"longitude_deg":76.3094272,"latitude_deg":9.8953288,"altitude":12,"angle":138,"satellites":23,"speed":17,"hex_longitude":"2d7be500","hex_latitude":"05e5e848","is_valid_coordinates":true} 
[2026-06-02 16:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782091264001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87874910617075712,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925571536827705344,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:02] 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-06-02 16:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780398805000,"timestamp_ms":1780398805000,"timestamp_seconds":1780398805,"priority":1,"record_length":96,"hex_timestamp":"0000019e8809d008"} 
[2026-06-02 16:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 16:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782091264001,"66":13178,"40":206,"87":13824,"24":17,"16":87874910617075712,"45":8925571536827705344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-02 16:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782091264001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:44:02] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 16:44:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87874910617075712,"km_value":87874910617075.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925571536827705344,"description":"Unknown IO ID 45"} 
[2026-06-02 16:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782091264001,"power":13178,"unknown_40":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8925571536827705344}} 
[2026-06-02 16:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":89964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:44:02] local.INFO: GPS data processed {"connection_id":89964,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:44:02] local.INFO: Acknowledgment sent {"connection_id":89964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:44:05] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:05] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:05] local.INFO: IMEI packet received {"connection_id":89876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":89876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:44:06] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:06] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:06] local.INFO: IMEI packet received {"connection_id":89876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":89876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:44:10] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:10] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:44:10] local.INFO: IMEI packet received {"connection_id":89876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":89876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:44:10] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88095ec0012d19c740071ff0f8002a010623..."} 
[2026-06-02 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88095ec0012d19c740071ff0f8002a010623..."} 
[2026-06-02 16:44:10] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88095ec0012d19c740071ff0f8002a010623..."} 
[2026-06-02 16:44:10] local.INFO: Packet analysis {"connection_id":89876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:10] local.INFO: Extracted packet for processing {"connection_id":89876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119533816,"longitude_deg":75.6664128,"latitude_deg":11.9533816,"altitude":42,"angle":262,"satellites":35,"speed":18,"hex_longitude":"2d19c740","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-06-02 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782086400001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125393167934554112,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867721728,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780398776000,"timestamp_ms":1780398776000,"timestamp_seconds":1780398776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88095ec0"} 
[2026-06-02 16:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-02 16:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:44:10] 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-06-02 16:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782086400001,"66":13972,"101":206,"83":41984,"24":18,"16":125393167934554112,"45":1858016351867721728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 16:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782086400001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:44:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 16:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125393167934554112,"km_value":125393167934554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867721728,"description":"Unknown IO ID 45"} 
[2026-06-02 16:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782086400001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858016351867721728}} 
[2026-06-02 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":89876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:44:11] local.INFO: GPS data processed {"connection_id":89876,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:44:11] local.INFO: Acknowledgment sent {"connection_id":89876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:44:23] local.INFO: TCP Data received {"connection_id":91055,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:44:23] local.INFO: Processing buffer {"connection_id":91055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:44:23] local.INFO: IMEI packet received {"connection_id":91055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":91055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:44:23] local.INFO: TCP Data received {"connection_id":89596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:23] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:23] local.INFO: IMEI packet received {"connection_id":89596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":89596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:44:25] local.INFO: TCP Data received {"connection_id":89596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:25] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:25] local.INFO: IMEI packet received {"connection_id":89596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":89596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:44:28] local.INFO: TCP Data received {"connection_id":91055,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:44:28] local.INFO: Processing buffer {"connection_id":91055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:44:28] local.INFO: IMEI packet received {"connection_id":91055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":91055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:44:29] local.INFO: TCP Data received {"connection_id":89596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:29] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:44:29] local.INFO: IMEI packet received {"connection_id":89596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":89596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:44:29] local.INFO: TCP Data received {"connection_id":91055,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:44:29] local.INFO: Processing buffer {"connection_id":91055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:44:29] local.INFO: Packet analysis {"connection_id":91055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:29] local.INFO: Extracted packet for processing {"connection_id":91055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:29] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:44: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-06-02 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:44:29] 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-06-02 16: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-06-02 16:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:44: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-06-02 16:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:44:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":91055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:44:29] local.INFO: GPS data processed {"connection_id":91055,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:44:29] local.INFO: Acknowledgment sent {"connection_id":91055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:44:33] local.INFO: TCP Data received {"connection_id":89596,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8809d3f0012d7be68005e5e728000c007b17..."} 
[2026-06-02 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8809d3f0012d7be68005e5e728000c007b17..."} 
[2026-06-02 16:44:33] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8809d3f0012d7be68005e5e728000c007b17..."} 
[2026-06-02 16:44:33] local.INFO: Packet analysis {"connection_id":89596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:33] local.INFO: Extracted packet for processing {"connection_id":89596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763094656,"raw_latitude":98953000,"longitude_deg":76.3094656,"latitude_deg":9.8953,"altitude":12,"angle":123,"satellites":23,"speed":18,"hex_longitude":"2d7be680","hex_latitude":"05e5e728","is_valid_coordinates":true} 
[2026-06-02 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782094080001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87874932091912192,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927541861663918080,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:33] 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-06-02 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780398806000,"timestamp_ms":1780398806000,"timestamp_seconds":1780398806,"priority":1,"record_length":96,"hex_timestamp":"0000019e8809d3f0"} 
[2026-06-02 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:44: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-06-02 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 16:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782094080001,"66":13254,"40":206,"87":13824,"24":18,"16":87874932091912192,"45":8927541861663918080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-02 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782094080001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87874932091912192,"km_value":87874932091912.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927541861663918080,"description":"Unknown IO ID 45"} 
[2026-06-02 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782094080001,"power":13254,"unknown_40":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8927541861663918080}} 
[2026-06-02 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":89596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:44:33] local.INFO: GPS data processed {"connection_id":89596,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:44:33] local.INFO: Acknowledgment sent {"connection_id":89596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:44:42] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880989b8012d19afc0071fefa0002d011421..."} 
[2026-06-02 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880989b8012d19afc0071fefa0002d011421..."} 
[2026-06-02 16:44:42] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880989b8012d19afc0071fefa0002d011421..."} 
[2026-06-02 16:44:42] local.INFO: Packet analysis {"connection_id":89876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:42] local.INFO: Extracted packet for processing {"connection_id":89876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119533472,"longitude_deg":75.6658112,"latitude_deg":11.9533472,"altitude":45,"angle":276,"satellites":33,"speed":23,"hex_longitude":"2d19afc0","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-06-02 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782086656001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125393451402395648,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770658453504,"note":"Value kept but may cause issues"} 
[2026-06-02 16:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780398787000,"timestamp_ms":1780398787000,"timestamp_seconds":1780398787,"priority":1,"record_length":96,"hex_timestamp":"0000019e880989b8"} 
[2026-06-02 16:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-02 16:44:42] 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-06-02 16:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:44:42] 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-06-02 16:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782086656001,"66":13993,"101":206,"83":41984,"24":23,"16":125393451402395648,"45":1857523770658453504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 16:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782086656001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:44:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 16:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125393451402395648,"km_value":125393451402395.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770658453504,"description":"Unknown IO ID 45"} 
[2026-06-02 16:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782086656001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1857523770658453504}} 
[2026-06-02 16:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":89876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:44:42] local.INFO: GPS data processed {"connection_id":89876,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:44:42] local.INFO: Acknowledgment sent {"connection_id":89876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:45:00] local.INFO: TCP Data received {"connection_id":91055,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:45:00] local.INFO: Processing buffer {"connection_id":91055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:45:00] local.INFO: Packet analysis {"connection_id":91055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:00] local.INFO: Extracted packet for processing {"connection_id":91055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:45: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-06-02 16:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16: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-06-02 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:45:00] 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-06-02 16: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-06-02 16:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:45:00] 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-06-02 16:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:45:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:45:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":91055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:45:00] local.INFO: GPS data processed {"connection_id":91055,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:45:00] local.INFO: Acknowledgment sent {"connection_id":91055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:45:04] local.INFO: TCP Data received {"connection_id":89596,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8809fee8012d7bfec005e5d2b0000c008716..."} 
[2026-06-02 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8809fee8012d7bfec005e5d2b0000c008716..."} 
[2026-06-02 16:45:04] local.INFO: Processing buffer {"connection_id":89596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8809fee8012d7bfec005e5d2b0000c008716..."} 
[2026-06-02 16:45:04] local.INFO: Packet analysis {"connection_id":89596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:04] local.INFO: Extracted packet for processing {"connection_id":89596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":98947760,"longitude_deg":76.3100864,"latitude_deg":9.894776,"altitude":12,"angle":135,"satellites":22,"speed":32,"hex_longitude":"2d7bfec0","hex_latitude":"05e5d2b0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782094336001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87875327228903424,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964074128910336,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45: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-06-02 16:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780398817000,"timestamp_ms":1780398817000,"timestamp_seconds":1780398817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8809fee8"} 
[2026-06-02 16:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 16:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782094336001,"66":13428,"40":206,"87":13824,"24":32,"16":87875327228903424,"45":8927964074128910336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-02 16:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782094336001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87875327228903424,"km_value":87875327228903.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964074128910336,"description":"Unknown IO ID 45"} 
[2026-06-02 16:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782094336001,"power":13428,"unknown_40":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8927964074128910336}} 
[2026-06-02 16:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":89596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:45:04] local.INFO: GPS data processed {"connection_id":89596,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:45:04] local.INFO: Acknowledgment sent {"connection_id":89596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:45:10] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:45:10] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:45:10] local.INFO: IMEI packet received {"connection_id":89597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":89597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:45:14] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:45:14] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:45:14] local.INFO: IMEI packet received {"connection_id":89597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":89597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:45:18] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8809a128012d19a440071ff170002f010923..."} 
[2026-06-02 16:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8809a128012d19a440071ff170002f010923..."} 
[2026-06-02 16:45:18] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8809a128012d19a440071ff170002f010923..."} 
[2026-06-02 16:45:18] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:18] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119533936,"longitude_deg":75.6655168,"latitude_deg":11.9533936,"altitude":47,"angle":265,"satellites":35,"speed":11,"hex_longitude":"2d19a440","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782089472001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125393593136316416,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108705665024,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45: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-06-02 16:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780398793000,"timestamp_ms":1780398793000,"timestamp_seconds":1780398793,"priority":1,"record_length":96,"hex_timestamp":"0000019e8809a128"} 
[2026-06-02 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-06-02 16:45: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-06-02 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 16:45: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-06-02 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-06-02 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-06-02 16:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:45:18] 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-06-02 16:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782089472001,"66":13863,"101":206,"83":41984,"24":11,"16":125393593136316416,"45":1850909108705665024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 16:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782089472001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:45:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 16:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125393593136316416,"km_value":125393593136316.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108705665024,"description":"Unknown IO ID 45"} 
[2026-06-02 16:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782089472001,"power":13863,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1850909108705665024}} 
[2026-06-02 16:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:45:19] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:45:19] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:45:19] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8809a510012d19a380071ff130003000fc23..."} 
[2026-06-02 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8809a510012d19a380071ff130003000fc23..."} 
[2026-06-02 16:45:19] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8809a510012d19a380071ff130003000fc23..."} 
[2026-06-02 16:45:19] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:19] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119533872,"longitude_deg":75.6654976,"latitude_deg":11.9533872,"altitude":48,"angle":252,"satellites":35,"speed":10,"hex_longitude":"2d19a380","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782091008001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125393606021218304,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146473611264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45: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-06-02 16:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780398794000,"timestamp_ms":1780398794000,"timestamp_seconds":1780398794,"priority":1,"record_length":96,"hex_timestamp":"0000019e8809a510"} 
[2026-06-02 16:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-02 16:45:19] 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-06-02 16: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-06-02 16:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:45:19] 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-06-02 16:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782091008001,"66":13928,"101":206,"83":41984,"24":10,"16":125393606021218304,"45":1847672146473611264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 16:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782091008001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:45:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 16:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125393606021218304,"km_value":125393606021218.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146473611264,"description":"Unknown IO ID 45"} 
[2026-06-02 16:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782091008001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1847672146473611264}} 
[2026-06-02 16:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:45:19] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:45:19] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:45:23] local.INFO: TCP Data received {"connection_id":91057,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:45:23] local.INFO: Processing buffer {"connection_id":91057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:45:23] local.INFO: IMEI packet received {"connection_id":91057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":91057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:45:23] local.INFO: TCP Data received {"connection_id":91056,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:23] local.INFO: Processing buffer {"connection_id":91056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:23] local.INFO: IMEI packet received {"connection_id":91056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":91056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:45:24] local.INFO: TCP Data received {"connection_id":91056,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:24] local.INFO: Processing buffer {"connection_id":91056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:24] local.INFO: IMEI packet received {"connection_id":91056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":91056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:45:28] local.INFO: TCP Data received {"connection_id":91056,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:28] local.INFO: Processing buffer {"connection_id":91056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:45:28] local.INFO: IMEI packet received {"connection_id":91056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":91056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:45:28] local.INFO: TCP Data received {"connection_id":91057,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:45:28] local.INFO: Processing buffer {"connection_id":91057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:45:28] local.INFO: IMEI packet received {"connection_id":91057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":91057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:45:29] local.INFO: TCP Data received {"connection_id":91057,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:45:29] local.INFO: Processing buffer {"connection_id":91057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:45:29] local.INFO: Packet analysis {"connection_id":91057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:29] local.INFO: Extracted packet for processing {"connection_id":91057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:45: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-06-02 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:45:29] 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-06-02 16:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:45:29] 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-06-02 16:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":91057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:45:29] local.INFO: GPS data processed {"connection_id":91057,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:45:29] local.INFO: Acknowledgment sent {"connection_id":91057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:45:29] local.INFO: TCP Data received {"connection_id":91056,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880b56a8012d7c440005e52090000e008f17..."} 
[2026-06-02 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880b56a8012d7c440005e52090000e008f17..."} 
[2026-06-02 16:45:29] local.INFO: Processing buffer {"connection_id":91056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880b56a8012d7c440005e52090000e008f17..."} 
[2026-06-02 16:45:29] local.INFO: Packet analysis {"connection_id":91056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:45:29] local.INFO: Extracted packet for processing {"connection_id":91056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":98902160,"longitude_deg":76.3118592,"latitude_deg":9.890216,"altitude":14,"angle":143,"satellites":23,"speed":2,"hex_longitude":"2d7c4400","hex_latitude":"05e52090","is_valid_coordinates":true} 
[2026-06-02 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782119168001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87877728115621888,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954141246950010880,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:29] 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-06-02 16:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780398905000,"timestamp_ms":1780398905000,"timestamp_seconds":1780398905,"priority":1,"record_length":96,"hex_timestamp":"0000019e880b56a8"} 
[2026-06-02 16:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:45:29] 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-06-02 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 16:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782119168001,"66":13222,"39":206,"87":13824,"24":2,"16":87877728115621888,"45":8954141246950010880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 16:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782119168001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87877728115621888,"km_value":87877728115621.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954141246950010880,"description":"Unknown IO ID 45"} 
[2026-06-02 16:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782119168001,"power":13222,"unknown_39":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8954141246950010880}} 
[2026-06-02 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":91056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:45:29] local.INFO: GPS data processed {"connection_id":91056,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:45:29] local.INFO: Acknowledgment sent {"connection_id":91056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:45:50] local.INFO: TCP Data received {"connection_id":89597,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880afcd0012d196740071fed180031015e25..."} 
[2026-06-02 16:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880afcd0012d196740071fed180031015e25..."} 
[2026-06-02 16:45:50] local.INFO: Processing buffer {"connection_id":89597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880afcd0012d196740071fed180031015e25..."} 
[2026-06-02 16:45:50] local.INFO: Packet analysis {"connection_id":89597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880a"} 
[2026-06-02 16:45:50] local.INFO: Extracted packet for processing {"connection_id":89597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880a"} 
[2026-06-02 16:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532824,"longitude_deg":75.6639552,"latitude_deg":11.9532824,"altitude":49,"angle":350,"satellites":37,"speed":3,"hex_longitude":"2d196740","hex_latitude":"071fed18","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782113536001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394379115331584,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893949952,"note":"Value kept but may cause issues"} 
[2026-06-02 16:45: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-06-02 16:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1780398882000,"timestamp_ms":1780398882000,"timestamp_seconds":1780398882,"priority":1,"record_length":96,"hex_timestamp":"0000019e880afcd0"} 
[2026-06-02 16:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:45: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-06-02 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-02 16:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":89597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":89597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":89597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:45:50] 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-06-02 16:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782113536001,"66":12798,"102":206,"83":41984,"24":3,"16":125394379115331584,"45":1830502172893949952},"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-06-02 16:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782113536001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:45:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394379115331584,"km_value":125394379115331.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893949952,"description":"Unknown IO ID 45"} 
[2026-06-02 16:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782113536001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830502172893949952}} 
[2026-06-02 16:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":89597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:45:50] local.INFO: GPS data processed {"connection_id":89597,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:45:50] local.INFO: Acknowledgment sent {"connection_id":89597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:00] local.INFO: TCP Data received {"connection_id":91057,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:00] local.INFO: Processing buffer {"connection_id":91057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:00] local.INFO: Packet analysis {"connection_id":91057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:46:00] local.INFO: Extracted packet for processing {"connection_id":91057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:46: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-06-02 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46: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-06-02 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:46:00] 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-06-02 16: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-06-02 16:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:46:00] 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-06-02 16:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":91057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:00] local.INFO: GPS data processed {"connection_id":91057,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:00] local.INFO: Acknowledgment sent {"connection_id":91057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:00] local.INFO: TCP Data received {"connection_id":91056,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880b5a90012d7c440005e52048000f00ab17..."} 
[2026-06-02 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880b5a90012d7c440005e52048000f00ab17..."} 
[2026-06-02 16:46:00] local.INFO: Processing buffer {"connection_id":91056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880b5a90012d7c440005e52048000f00ab17..."} 
[2026-06-02 16:46:00] local.INFO: Packet analysis {"connection_id":91056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:00] local.INFO: Extracted packet for processing {"connection_id":91056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":98902088,"longitude_deg":76.3118592,"latitude_deg":9.8902088,"altitude":15,"angle":171,"satellites":23,"speed":2,"hex_longitude":"2d7c4400","hex_latitude":"05e52048","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782119680001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87877732410589184,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984438341632,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:00] 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-06-02 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780398906000,"timestamp_ms":1780398906000,"timestamp_seconds":1780398906,"priority":1,"record_length":96,"hex_timestamp":"0000019e880b5a90"} 
[2026-06-02 16:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46:00] 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-06-02 16:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 16:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782119680001,"66":13352,"39":206,"87":13824,"24":2,"16":87877732410589184,"45":8954281984438341632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 16:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782119680001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87877732410589184,"km_value":87877732410589.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984438341632,"description":"Unknown IO ID 45"} 
[2026-06-02 16:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782119680001,"power":13352,"unknown_39":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8954281984438341632}} 
[2026-06-02 16:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":91056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:00] local.INFO: GPS data processed {"connection_id":91056,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:00] local.INFO: Acknowledgment sent {"connection_id":91056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:02] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:02] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:02] local.INFO: IMEI packet received {"connection_id":89599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":89599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:46:05] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:05] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:05] local.INFO: IMEI packet received {"connection_id":89599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":89599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:46:10] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:10] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:46:10] local.INFO: IMEI packet received {"connection_id":89599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":89599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:46:11] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880b0c70012d196700071feeb00031014125..."} 
[2026-06-02 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880b0c70012d196700071feeb00031014125..."} 
[2026-06-02 16:46:11] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880b0c70012d196700071feeb00031014125..."} 
[2026-06-02 16:46:11] local.INFO: Packet analysis {"connection_id":89599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:11] local.INFO: Extracted packet for processing {"connection_id":89599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533232,"longitude_deg":75.6639488,"latitude_deg":11.9533232,"altitude":49,"angle":321,"satellites":37,"speed":5,"hex_longitude":"2d196700","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-06-02 16:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782113792001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394400590168064,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893976576,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780398886000,"timestamp_ms":1780398886000,"timestamp_seconds":1780398886,"priority":1,"record_length":96,"hex_timestamp":"0000019e880b0c70"} 
[2026-06-02 16:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46: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-06-02 16:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 16:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:46:11] 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-06-02 16:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782113792001,"66":12950,"102":206,"83":41984,"24":5,"16":125394400590168064,"45":1830502172893976576},"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-06-02 16:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782113792001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394400590168064,"km_value":125394400590168.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893976576,"description":"Unknown IO ID 45"} 
[2026-06-02 16:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782113792001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830502172893976576}} 
[2026-06-02 16:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":89599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:11] local.INFO: GPS data processed {"connection_id":89599,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:11] local.INFO: Acknowledgment sent {"connection_id":89599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:15] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880b5a90012d196540071ff0b80031014827..."} 
[2026-06-02 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880b5a90012d196540071ff0b80031014827..."} 
[2026-06-02 16:46:15] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880b5a90012d196540071ff0b80031014827..."} 
[2026-06-02 16:46:15] local.INFO: Packet analysis {"connection_id":89599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:15] local.INFO: Extracted packet for processing {"connection_id":89599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782114816001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149903360,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780398906000,"timestamp_ms":1780398906000,"timestamp_seconds":1780398906,"priority":1,"record_length":96,"hex_timestamp":"0000019e880b5a90"} 
[2026-06-02 16:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 16:46:15] 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-06-02 16:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:46:15] 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-06-02 16:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782114816001,"66":12928,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1830431804149903360},"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-06-02 16:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782114816001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149903360,"description":"Unknown IO ID 45"} 
[2026-06-02 16:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782114816001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149903360}} 
[2026-06-02 16:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":89599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:16] local.INFO: GPS data processed {"connection_id":89599,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:16] local.INFO: Acknowledgment sent {"connection_id":89599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:18] local.INFO: TCP Data received {"connection_id":89598,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:46:18] local.INFO: Processing buffer {"connection_id":89598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:46:18] local.INFO: IMEI packet received {"connection_id":89598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":89598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:46:23] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:46:23] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:46:23] local.INFO: IMEI packet received {"connection_id":89878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":89878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:46:28] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:46:28] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:46:28] local.INFO: IMEI packet received {"connection_id":89966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:46:33] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:46:33] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:46:33] local.INFO: IMEI packet received {"connection_id":89966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":89966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:46:34] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:34] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:34] local.INFO: Packet analysis {"connection_id":89966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:46:34] local.INFO: Extracted packet for processing {"connection_id":89966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:46:34] 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-06-02 16: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-06-02 16:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:46:34] 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-06-02 16:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":89966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:34] local.INFO: GPS data processed {"connection_id":89966,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:34] local.INFO: Acknowledgment sent {"connection_id":89966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:36] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:46:36] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:46:36] local.INFO: IMEI packet received {"connection_id":89878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":89878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:46:39] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:39] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:46:39] local.INFO: Packet analysis {"connection_id":89966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:46:39] local.INFO: Extracted packet for processing {"connection_id":89966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:46:39] 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-06-02 16:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:46:39] 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-06-02 16:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":89966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:39] local.INFO: GPS data processed {"connection_id":89966,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:39] local.INFO: Acknowledgment sent {"connection_id":89966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:39] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880b5e78012d7c43c005e51fc0001000bf17..."} 
[2026-06-02 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880b5e78012d7c43c005e51fc0001000bf17..."} 
[2026-06-02 16:46:39] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880b5e78012d7c43c005e51fc0001000bf17..."} 
[2026-06-02 16:46:39] local.INFO: Packet analysis {"connection_id":89878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:39] local.INFO: Extracted packet for processing {"connection_id":89878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763118528,"raw_latitude":98901952,"longitude_deg":76.3118528,"latitude_deg":9.8901952,"altitude":16,"angle":191,"satellites":23,"speed":4,"hex_longitude":"2d7c43c0","hex_latitude":"05e51fc0","is_valid_coordinates":true} 
[2026-06-02 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782119936001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87877741000523776,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984438323200,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46: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-06-02 16:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780398907000,"timestamp_ms":1780398907000,"timestamp_seconds":1780398907,"priority":1,"record_length":96,"hex_timestamp":"0000019e880b5e78"} 
[2026-06-02 16:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46: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-06-02 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 16:46:39] 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-06-02 16:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782119936001,"66":13352,"39":206,"87":13824,"24":4,"16":87877741000523776,"45":8954281984438323200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 16:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782119936001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 16:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87877741000523776,"km_value":87877741000523.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984438323200,"description":"Unknown IO ID 45"} 
[2026-06-02 16:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782119936001,"power":13352,"unknown_39":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8954281984438323200}} 
[2026-06-02 16:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":89878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:39] local.INFO: GPS data processed {"connection_id":89878,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:39] local.INFO: Acknowledgment sent {"connection_id":89878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:46:47] local.INFO: TCP Data received {"connection_id":89599,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880bac98012d196540071ff0b80031014828..."} 
[2026-06-02 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880bac98012d196540071ff0b80031014828..."} 
[2026-06-02 16:46:47] local.INFO: Processing buffer {"connection_id":89599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880bac98012d196540071ff0b80031014828..."} 
[2026-06-02 16:46:47] local.INFO: Packet analysis {"connection_id":89599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:47] local.INFO: Extracted packet for processing {"connection_id":89599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782119936001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:46: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-06-02 16:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780398927000,"timestamp_ms":1780398927000,"timestamp_seconds":1780398927,"priority":1,"record_length":96,"hex_timestamp":"0000019e880bac98"} 
[2026-06-02 16:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:46: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-06-02 16:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 16:46: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-06-02 16:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:46:47] 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-06-02 16:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782119936001,"66":12841,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782119936001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:46:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782119936001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":89599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:46:47] local.INFO: GPS data processed {"connection_id":89599,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:46:47] local.INFO: Acknowledgment sent {"connection_id":89599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:47:03] local.INFO: TCP Data received {"connection_id":91058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:47:03] local.INFO: Processing buffer {"connection_id":91058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:47:03] local.INFO: IMEI packet received {"connection_id":91058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":91058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:47:08] local.INFO: TCP Data received {"connection_id":89967,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:08] local.INFO: Processing buffer {"connection_id":89967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:08] local.INFO: IMEI packet received {"connection_id":89967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":89967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:47:08] local.INFO: TCP Data received {"connection_id":89967,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:08] local.INFO: Processing buffer {"connection_id":89967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:08] local.INFO: IMEI packet received {"connection_id":89967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":89967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:47:10] local.INFO: TCP Data received {"connection_id":89967,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:10] local.INFO: Processing buffer {"connection_id":89967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:47:10] local.INFO: IMEI packet received {"connection_id":89967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":89967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:47:11] local.INFO: TCP Data received {"connection_id":89967,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880bfab8012d196540071ff0b80031014829..."} 
[2026-06-02 16:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880bfab8012d196540071ff0b80031014829..."} 
[2026-06-02 16:47:11] local.INFO: Processing buffer {"connection_id":89967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880bfab8012d196540071ff0b80031014829..."} 
[2026-06-02 16:47:11] local.INFO: Packet analysis {"connection_id":89967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:47:11] local.INFO: Extracted packet for processing {"connection_id":89967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880b"} 
[2026-06-02 16:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782125312001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780398947000,"timestamp_ms":1780398947000,"timestamp_seconds":1780398947,"priority":1,"record_length":96,"hex_timestamp":"0000019e880bfab8"} 
[2026-06-02 16:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:47: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-06-02 16:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 16:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:47:11] 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-06-02 16:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782125312001,"66":12776,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782125312001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:47:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782125312001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":89967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:47:11] local.INFO: GPS data processed {"connection_id":89967,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:47:11] local.INFO: Acknowledgment sent {"connection_id":89967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:47:15] local.INFO: TCP Data received {"connection_id":89967,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880c4cc0012d196540071ff0b80031014828..."} 
[2026-06-02 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880c4cc0012d196540071ff0b80031014828..."} 
[2026-06-02 16:47:15] local.INFO: Processing buffer {"connection_id":89967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880c4cc0012d196540071ff0b80031014828..."} 
[2026-06-02 16:47:15] local.INFO: Packet analysis {"connection_id":89967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:47:15] local.INFO: Extracted packet for processing {"connection_id":89967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782130432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780398968000,"timestamp_ms":1780398968000,"timestamp_seconds":1780398968,"priority":1,"record_length":96,"hex_timestamp":"0000019e880c4cc0"} 
[2026-06-02 16:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 16:47:15] 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-06-02 16:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:47:15] 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-06-02 16:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782130432001,"66":12776,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782130432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782130432001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":89967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:47:15] local.INFO: GPS data processed {"connection_id":89967,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:47:15] local.INFO: Acknowledgment sent {"connection_id":89967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:47:23] local.INFO: TCP Data received {"connection_id":89968,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:47:23] local.INFO: Processing buffer {"connection_id":89968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:47:23] local.INFO: IMEI packet received {"connection_id":89968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":89968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:47:24] local.INFO: TCP Data received {"connection_id":91059,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:24] local.INFO: Processing buffer {"connection_id":91059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:24] local.INFO: IMEI packet received {"connection_id":91059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":91059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:47:29] local.INFO: TCP Data received {"connection_id":91059,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:29] local.INFO: Processing buffer {"connection_id":91059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:29] local.INFO: IMEI packet received {"connection_id":91059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":91059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:47:30] local.INFO: TCP Data received {"connection_id":89968,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:47:30] local.INFO: Processing buffer {"connection_id":89968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:47:30] local.INFO: IMEI packet received {"connection_id":89968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":89968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:47:31] local.INFO: TCP Data received {"connection_id":89968,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:47:31] local.INFO: Processing buffer {"connection_id":89968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:47:31] local.INFO: Packet analysis {"connection_id":89968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:47:31] local.INFO: Extracted packet for processing {"connection_id":89968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:47:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:47: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-06-02 16:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:47:31] 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-06-02 16:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:47:31] 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-06-02 16:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:47:31] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":89968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:47:31] local.INFO: GPS data processed {"connection_id":89968,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:47:31] local.INFO: Acknowledgment sent {"connection_id":89968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:47:31] local.INFO: TCP Data received {"connection_id":91059,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:31] local.INFO: Processing buffer {"connection_id":91059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:47:31] local.INFO: IMEI packet received {"connection_id":91059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":91059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:47:32] local.INFO: TCP Data received {"connection_id":91059,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880cf0d0012d7b4ec005e3a608000600d61a..."} 
[2026-06-02 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880cf0d0012d7b4ec005e3a608000600d61a..."} 
[2026-06-02 16:47:32] local.INFO: Processing buffer {"connection_id":91059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880cf0d0012d7b4ec005e3a608000600d61a..."} 
[2026-06-02 16:47:32] local.INFO: Packet analysis {"connection_id":91059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:47:32] local.INFO: Extracted packet for processing {"connection_id":91059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763055808,"raw_latitude":98805256,"longitude_deg":76.3055808,"latitude_deg":9.8805256,"altitude":6,"angle":214,"satellites":26,"speed":58,"hex_longitude":"2d7b4ec0","hex_latitude":"05e3a608","is_valid_coordinates":true} 
[2026-06-02 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782144768001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87883307278139392,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891372327120791552,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780399010000,"timestamp_ms":1780399010000,"timestamp_seconds":1780399010,"priority":1,"record_length":96,"hex_timestamp":"0000019e880cf0d0"} 
[2026-06-02 16:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 16:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":91059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":91059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":91059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782144768001,"66":13135,"95":206,"85":15104,"24":58,"16":87883307278139392,"45":8891372327120791552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782144768001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87883307278139392,"km_value":87883307278139.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891372327120791552,"description":"Unknown IO ID 45"} 
[2026-06-02 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782144768001,"power":13135,"unknown_95":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8891372327120791552}} 
[2026-06-02 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":91059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:47:32] local.INFO: GPS data processed {"connection_id":91059,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:47:32] local.INFO: Acknowledgment sent {"connection_id":91059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:47:34] local.INFO: TCP Data received {"connection_id":91059,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d0840012d7b3a4005e38950000400d61a..."} 
[2026-06-02 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d0840012d7b3a4005e38950000400d61a..."} 
[2026-06-02 16:47:34] local.INFO: Processing buffer {"connection_id":91059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d0840012d7b3a4005e38950000400d61a..."} 
[2026-06-02 16:47:34] local.INFO: Packet analysis {"connection_id":91059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:47:34] local.INFO: Extracted packet for processing {"connection_id":91059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763050560,"raw_latitude":98797904,"longitude_deg":76.305056,"latitude_deg":9.8797904,"altitude":4,"angle":214,"satellites":26,"speed":59,"hex_longitude":"2d7b3a40","hex_latitude":"05e38950","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782146560001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87883741069836288,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246375245824,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780399016000,"timestamp_ms":1780399016000,"timestamp_seconds":1780399016,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d0840"} 
[2026-06-02 16:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:47: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-06-02 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 16:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782146560001,"66":12906,"95":206,"85":15104,"24":59,"16":87883741069836288,"45":8885250246375245824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782146560001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:47:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87883741069836288,"km_value":87883741069836.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246375245824,"description":"Unknown IO ID 45"} 
[2026-06-02 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782146560001,"power":12906,"unknown_95":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8885250246375245824}} 
[2026-06-02 16:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":91059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:47:34] local.INFO: GPS data processed {"connection_id":91059,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:47:34] local.INFO: Acknowledgment sent {"connection_id":91059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:47:47] local.INFO: TCP Data received {"connection_id":89967,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880c9ae0012d196540071ff0b80031014829..."} 
[2026-06-02 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880c9ae0012d196540071ff0b80031014829..."} 
[2026-06-02 16:47:47] local.INFO: Processing buffer {"connection_id":89967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880c9ae0012d196540071ff0b80031014829..."} 
[2026-06-02 16:47:47] local.INFO: Packet analysis {"connection_id":89967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:47:47] local.INFO: Extracted packet for processing {"connection_id":89967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782135808001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16: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-06-02 16:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780398988000,"timestamp_ms":1780398988000,"timestamp_seconds":1780398988,"priority":1,"record_length":96,"hex_timestamp":"0000019e880c9ae0"} 
[2026-06-02 16:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:47: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-06-02 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 16:47: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-06-02 16:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:47:47] 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-06-02 16:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782135808001,"66":12722,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782135808001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782135808001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":89967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:47:47] local.INFO: GPS data processed {"connection_id":89967,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:47:47] local.INFO: Acknowledgment sent {"connection_id":89967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:02] local.INFO: TCP Data received {"connection_id":89968,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:48:02] local.INFO: Processing buffer {"connection_id":89968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88090cb8012cb29c0007823aa0004900d92c..."} 
[2026-06-02 16:48:02] local.INFO: Packet analysis {"connection_id":89968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:48:02] local.INFO: Extracted packet for processing {"connection_id":89968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8809"} 
[2026-06-02 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125975200,"longitude_deg":74.9902848,"latitude_deg":12.59752,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07823aa0","is_valid_coordinates":true} 
[2026-06-02 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782080000001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780398755000,"timestamp_ms":1780398755000,"timestamp_seconds":1780398755,"priority":1,"record_length":96,"hex_timestamp":"0000019e88090cb8"} 
[2026-06-02 16:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:48: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-06-02 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:02] 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-06-02 16:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:48: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-06-02 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782080000001,"66":25147,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782080000001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782080000001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":89968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:02] local.INFO: GPS data processed {"connection_id":89968,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:02] local.INFO: Acknowledgment sent {"connection_id":89968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:05] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:48:05] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:48:05] local.INFO: IMEI packet received {"connection_id":89600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":89600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:48:05] local.INFO: TCP Data received {"connection_id":91059,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d2398012d7b264005e36ac0000400d51a..."} 
[2026-06-02 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d2398012d7b264005e36ac0000400d51a..."} 
[2026-06-02 16:48:05] local.INFO: Processing buffer {"connection_id":91059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d2398012d7b264005e36ac0000400d51a..."} 
[2026-06-02 16:48:05] local.INFO: Packet analysis {"connection_id":91059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:05] local.INFO: Extracted packet for processing {"connection_id":91059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":98790080,"longitude_deg":76.304544,"latitude_deg":9.879008,"altitude":4,"angle":213,"satellites":26,"speed":42,"hex_longitude":"2d7b2640","hex_latitude":"05e36ac0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782148096001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87884192041402368,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879480009350795264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780399023000,"timestamp_ms":1780399023000,"timestamp_seconds":1780399023,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d2398"} 
[2026-06-02 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-06-02 16:48: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-06-02 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":91059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":91059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":91059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782148096001,"66":12982,"95":206,"85":15104,"24":42,"16":87884192041402368,"45":8879480009350795264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782148096001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87884192041402368,"km_value":87884192041402.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879480009350795264,"description":"Unknown IO ID 45"} 
[2026-06-02 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782148096001,"power":12982,"unknown_95":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8879480009350795264}} 
[2026-06-02 16:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":91059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:05] local.INFO: GPS data processed {"connection_id":91059,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:05] local.INFO: Acknowledgment sent {"connection_id":91059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:08] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:48:08] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:48:08] local.INFO: IMEI packet received {"connection_id":89600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":89600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:48:09] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880cece8012d196540071ff0b80031014827..."} 
[2026-06-02 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880cece8012d196540071ff0b80031014827..."} 
[2026-06-02 16:48:09] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880cece8012d196540071ff0b80031014827..."} 
[2026-06-02 16:48:09] local.INFO: Packet analysis {"connection_id":89600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:48:09] local.INFO: Extracted packet for processing {"connection_id":89600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880c"} 
[2026-06-02 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782140928001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780399009000,"timestamp_ms":1780399009000,"timestamp_seconds":1780399009,"priority":1,"record_length":96,"hex_timestamp":"0000019e880cece8"} 
[2026-06-02 16:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:09] 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-06-02 16:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:48:09] 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-06-02 16:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782140928001,"66":12711,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782140928001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782140928001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":89600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:09] local.INFO: GPS data processed {"connection_id":89600,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:09] local.INFO: Acknowledgment sent {"connection_id":89600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:23] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:48:23] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:48:23] local.INFO: IMEI packet received {"connection_id":89881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":89881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:48:24] local.INFO: TCP Data received {"connection_id":89880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:48:24] local.INFO: Processing buffer {"connection_id":89880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:48:24] local.INFO: IMEI packet received {"connection_id":89880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":89880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:48:27] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:48:27] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:48:27] local.INFO: IMEI packet received {"connection_id":89881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":89881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:48:28] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d4aa8012d7b138005e34ac0000200ce18..."} 
[2026-06-02 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d4aa8012d7b138005e34ac0000200ce18..."} 
[2026-06-02 16:48:28] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d4aa8012d7b138005e34ac0000200ce18..."} 
[2026-06-02 16:48:28] local.INFO: Packet analysis {"connection_id":89881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:28] local.INFO: Extracted packet for processing {"connection_id":89881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98781888,"longitude_deg":76.304064,"latitude_deg":9.8781888,"altitude":2,"angle":206,"satellites":24,"speed":34,"hex_longitude":"2d7b1380","hex_latitude":"05e34ac0","is_valid_coordinates":true} 
[2026-06-02 16:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782149888001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87884651602903040,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873850509814579200,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780399033000,"timestamp_ms":1780399033000,"timestamp_seconds":1780399033,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d4aa8"} 
[2026-06-02 16:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:28] 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-06-02 16:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782149888001,"66":12982,"95":206,"85":15104,"24":34,"16":87884651602903040,"45":8873850509814579200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782149888001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87884651602903040,"km_value":87884651602903.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873850509814579200,"description":"Unknown IO ID 45"} 
[2026-06-02 16:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782149888001,"power":12982,"unknown_95":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8873850509814579200}} 
[2026-06-02 16:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":89881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:29] local.INFO: GPS data processed {"connection_id":89881,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:29] local.INFO: Acknowledgment sent {"connection_id":89881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:30] local.INFO: TCP Data received {"connection_id":89880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:48:30] local.INFO: Processing buffer {"connection_id":89880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:48:30] local.INFO: IMEI packet received {"connection_id":89880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":89880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:48:30] local.INFO: TCP Data received {"connection_id":89880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:48:30] local.INFO: Processing buffer {"connection_id":89880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:48:30] local.INFO: Packet analysis {"connection_id":89880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:30] local.INFO: Extracted packet for processing {"connection_id":89880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:48: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-06-02 16: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:48:30] 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-06-02 16:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":89880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:30] local.INFO: GPS data processed {"connection_id":89880,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:30] local.INFO: Acknowledgment sent {"connection_id":89880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:34] local.INFO: TCP Data received {"connection_id":89880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:48:34] local.INFO: Processing buffer {"connection_id":89880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:48:34] local.INFO: Packet analysis {"connection_id":89880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:34] local.INFO: Extracted packet for processing {"connection_id":89880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:48:34] 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-06-02 16:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":89880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:34] local.INFO: GPS data processed {"connection_id":89880,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:34] local.INFO: Acknowledgment sent {"connection_id":89880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:40] local.INFO: TCP Data received {"connection_id":89600,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d3b08012d196540071ff0b80031014826..."} 
[2026-06-02 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d3b08012d196540071ff0b80031014826..."} 
[2026-06-02 16:48:40] local.INFO: Processing buffer {"connection_id":89600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d3b08012d196540071ff0b80031014826..."} 
[2026-06-02 16:48:40] local.INFO: Packet analysis {"connection_id":89600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:40] local.INFO: Extracted packet for processing {"connection_id":89600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782146304001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780399029000,"timestamp_ms":1780399029000,"timestamp_seconds":1780399029,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d3b08"} 
[2026-06-02 16:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:48:40] 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-06-02 16:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782146304001,"66":12667,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782146304001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782146304001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":89600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:40] local.INFO: GPS data processed {"connection_id":89600,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:40] local.INFO: Acknowledgment sent {"connection_id":89600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:48:59] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d5a48012d7b0ec005e33f40000000c318..."} 
[2026-06-02 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d5a48012d7b0ec005e33f40000000c318..."} 
[2026-06-02 16:48:59] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d5a48012d7b0ec005e33f40000000c318..."} 
[2026-06-02 16:48:59] local.INFO: Packet analysis {"connection_id":89881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:59] local.INFO: Extracted packet for processing {"connection_id":89881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98778944,"longitude_deg":76.3039424,"latitude_deg":9.8778944,"altitude":0,"angle":195,"satellites":24,"speed":30,"hex_longitude":"2d7b0ec0","hex_latitude":"05e33f40","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782152448001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87884806221725696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853999157248,"note":"Value kept but may cause issues"} 
[2026-06-02 16:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780399037000,"timestamp_ms":1780399037000,"timestamp_seconds":1780399037,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d5a48"} 
[2026-06-02 16:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:48:59] 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-06-02 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 16:48:59] 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-06-02 16: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-06-02 16:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782152448001,"66":13037,"95":206,"85":15104,"24":30,"16":87884806221725696,"45":8868572853999157248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782152448001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:48:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87884806221725696,"km_value":87884806221725.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853999157248,"description":"Unknown IO ID 45"} 
[2026-06-02 16:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782152448001,"power":13037,"unknown_95":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8868572853999157248}} 
[2026-06-02 16:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":89881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:48:59] local.INFO: GPS data processed {"connection_id":89881,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:48:59] local.INFO: Acknowledgment sent {"connection_id":89881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:49:05] local.INFO: TCP Data received {"connection_id":89880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:49:05] local.INFO: Processing buffer {"connection_id":89880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:49:05] local.INFO: Packet analysis {"connection_id":89880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:05] local.INFO: Extracted packet for processing {"connection_id":89880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 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-06-02 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 16:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:49:05] 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-06-02 16:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:49:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":89880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:49:05] local.INFO: GPS data processed {"connection_id":89880,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:49:05] local.INFO: Acknowledgment sent {"connection_id":89880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:49:05] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:49:05] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:49:05] local.INFO: IMEI packet received {"connection_id":89882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":89882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:49:10] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:49:10] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:49:10] local.INFO: IMEI packet received {"connection_id":89882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":89882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:49:11] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d8d10012d196540071ff0b80031014828..."} 
[2026-06-02 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d8d10012d196540071ff0b80031014828..."} 
[2026-06-02 16:49:11] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d8d10012d196540071ff0b80031014828..."} 
[2026-06-02 16:49:11] local.INFO: Packet analysis {"connection_id":89882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:11] local.INFO: Extracted packet for processing {"connection_id":89882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782151424001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780399050000,"timestamp_ms":1780399050000,"timestamp_seconds":1780399050,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d8d10"} 
[2026-06-02 16:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:49: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-06-02 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 16:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:49:11] 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-06-02 16:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782151424001,"66":12602,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782151424001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:49:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782151424001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":89882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:49:11] local.INFO: GPS data processed {"connection_id":89882,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:49:11] local.INFO: Acknowledgment sent {"connection_id":89882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:49:23] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:49:23] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:49:23] local.INFO: IMEI packet received {"connection_id":89884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":89884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:49:23] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:23] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:23] local.INFO: IMEI packet received {"connection_id":89883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":89883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:49:24] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:24] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:24] local.INFO: IMEI packet received {"connection_id":89883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":89883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:49:28] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:49:28] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:49:28] local.INFO: IMEI packet received {"connection_id":89884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:49:29] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:29] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:49:29] local.INFO: IMEI packet received {"connection_id":89883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":89883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:49:29] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:49:29] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:49:29] local.INFO: Packet analysis {"connection_id":89884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:29] local.INFO: Extracted packet for processing {"connection_id":89884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:49: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-06-02 16: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:49:29] 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-06-02 16:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":89884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:49:29] local.INFO: GPS data processed {"connection_id":89884,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:49:29] local.INFO: Acknowledgment sent {"connection_id":89884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:49:29] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d71b8012d7b0c8005e33270000000b616..."} 
[2026-06-02 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d71b8012d7b0c8005e33270000000b616..."} 
[2026-06-02 16:49:29] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d71b8012d7b0c8005e33270000000b616..."} 
[2026-06-02 16:49:29] local.INFO: Packet analysis {"connection_id":89883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:29] local.INFO: Extracted packet for processing {"connection_id":89883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98775664,"longitude_deg":76.3038848,"latitude_deg":9.8775664,"altitude":0,"angle":182,"satellites":22,"speed":21,"hex_longitude":"2d7b0c80","hex_latitude":"05e33270","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782153472001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87884969430482944,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847859027968,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399043000,"timestamp_ms":1780399043000,"timestamp_seconds":1780399043,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d71b8"} 
[2026-06-02 16:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:49:29] 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-06-02 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 16:49:29] 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-06-02 16:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782153472001,"66":12743,"95":206,"85":15104,"24":21,"16":87884969430482944,"45":8867235847859027968},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782153472001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87884969430482944,"km_value":87884969430482.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847859027968,"description":"Unknown IO ID 45"} 
[2026-06-02 16:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782153472001,"power":12743,"unknown_95":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8867235847859027968}} 
[2026-06-02 16:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":89883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:49:29] local.INFO: GPS data processed {"connection_id":89883,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:49:29] local.INFO: Acknowledgment sent {"connection_id":89883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:49:42] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880ddf18012d196540071ff0b8003101482a..."} 
[2026-06-02 16:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880ddf18012d196540071ff0b8003101482a..."} 
[2026-06-02 16:49:42] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880ddf18012d196540071ff0b8003101482a..."} 
[2026-06-02 16:49:42] local.INFO: Packet analysis {"connection_id":89882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:42] local.INFO: Extracted packet for processing {"connection_id":89882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782156800001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780399071000,"timestamp_ms":1780399071000,"timestamp_seconds":1780399071,"priority":1,"record_length":96,"hex_timestamp":"0000019e880ddf18"} 
[2026-06-02 16:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-02 16:49:42] 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-06-02 16:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:49:42] 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-06-02 16:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782156800001,"66":12580,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782156800001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:49:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782156800001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":89882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:49:42] local.INFO: GPS data processed {"connection_id":89882,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:49:42] local.INFO: Acknowledgment sent {"connection_id":89882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:50:01] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880d8d10012d7b0e0005e32310000000ab14..."} 
[2026-06-02 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880d8d10012d7b0e0005e32310000000ab14..."} 
[2026-06-02 16:50:01] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880d8d10012d7b0e0005e32310000000ab14..."} 
[2026-06-02 16:50:01] local.INFO: Packet analysis {"connection_id":89883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:01] local.INFO: Extracted packet for processing {"connection_id":89883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98771728,"longitude_deg":76.3039232,"latitude_deg":9.8771728,"altitude":0,"angle":171,"satellites":20,"speed":21,"hex_longitude":"2d7b0e00","hex_latitude":"05e32310","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782155008001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87885158409043968,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529160589312,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780399050000,"timestamp_ms":1780399050000,"timestamp_seconds":1780399050,"priority":1,"record_length":96,"hex_timestamp":"0000019e880d8d10"} 
[2026-06-02 16:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 16:50:01] 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-06-02 16: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-06-02 16:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782155008001,"66":13276,"95":206,"85":15104,"24":21,"16":87885158409043968,"45":8866602529160589312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782155008001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87885158409043968,"km_value":87885158409043.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529160589312,"description":"Unknown IO ID 45"} 
[2026-06-02 16:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782155008001,"power":13276,"unknown_95":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8866602529160589312}} 
[2026-06-02 16:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":89883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:50:01] local.INFO: GPS data processed {"connection_id":89883,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:50:01] local.INFO: Acknowledgment sent {"connection_id":89883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:50:01] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:50:01] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:50:01] local.INFO: Packet analysis {"connection_id":89884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:01] local.INFO: Extracted packet for processing {"connection_id":89884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:50: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-06-02 16: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:50: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-06-02 16:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":89884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:50:01] local.INFO: GPS data processed {"connection_id":89884,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:50:01] local.INFO: Acknowledgment sent {"connection_id":89884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:50:05] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:50:05] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:50:05] local.INFO: IMEI packet received {"connection_id":89601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":89601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:50:10] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:50:10] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:50:10] local.INFO: IMEI packet received {"connection_id":89601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":89601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:50:14] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880e3120012d196540071ff0b80031014829..."} 
[2026-06-02 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880e3120012d196540071ff0b80031014829..."} 
[2026-06-02 16:50:14] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880e3120012d196540071ff0b80031014829..."} 
[2026-06-02 16:50:14] local.INFO: Packet analysis {"connection_id":89601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880e"} 
[2026-06-02 16:50:14] local.INFO: Extracted packet for processing {"connection_id":89601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880e"} 
[2026-06-02 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782162176001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50: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-06-02 16:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780399092000,"timestamp_ms":1780399092000,"timestamp_seconds":1780399092,"priority":1,"record_length":96,"hex_timestamp":"0000019e880e3120"} 
[2026-06-02 16:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 16:50:14] 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-06-02 16: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-06-02 16:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:50:14] 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-06-02 16:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782162176001,"66":12548,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782162176001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:50:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782162176001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":89601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:50:15] local.INFO: GPS data processed {"connection_id":89601,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:50:15] local.INFO: Acknowledgment sent {"connection_id":89601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:50:23] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:50:23] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:50:23] local.INFO: IMEI packet received {"connection_id":89969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":89969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:50:36] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:50:36] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:50:36] local.INFO: IMEI packet received {"connection_id":89969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":89969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:50:37] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:50:37] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:50:37] local.INFO: Packet analysis {"connection_id":89969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:37] local.INFO: Extracted packet for processing {"connection_id":89969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:50:37] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":89969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:50:37] local.INFO: GPS data processed {"connection_id":89969,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:50:37] local.INFO: Acknowledgment sent {"connection_id":89969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:50:46] local.INFO: TCP Data received {"connection_id":89601,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880e8328012d196540071ff0b80031014828..."} 
[2026-06-02 16:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880e8328012d196540071ff0b80031014828..."} 
[2026-06-02 16:50:46] local.INFO: Processing buffer {"connection_id":89601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880e8328012d196540071ff0b80031014828..."} 
[2026-06-02 16:50:46] local.INFO: Packet analysis {"connection_id":89601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880e"} 
[2026-06-02 16:50:46] local.INFO: Extracted packet for processing {"connection_id":89601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880e"} 
[2026-06-02 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782167552001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 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-06-02 16:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780399113000,"timestamp_ms":1780399113000,"timestamp_seconds":1780399113,"priority":1,"record_length":96,"hex_timestamp":"0000019e880e8328"} 
[2026-06-02 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-06-02 16: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-06-02 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2282507456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4038590513,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,125,158,223,45,64,240,49,42,10,66,141,40,59,1,123,227,136,31,4,113,205,154,101,184,41,239,2,189,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 16:50:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531182923766038528,"timestamp_seconds":3531182923766038.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 16:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:50: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-06-02 16:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782167552001,"66":12526,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782167552001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:50:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782167552001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":89601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:50:46] local.INFO: GPS data processed {"connection_id":89601,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:50:46] local.INFO: Acknowledgment sent {"connection_id":89601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:50:46] local.INFO: TCP Data received {"connection_id":89970,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:50:46] local.INFO: Processing buffer {"connection_id":89970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:50:46] local.INFO: IMEI packet received {"connection_id":89970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":89970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:50:47] local.INFO: TCP Data received {"connection_id":89970,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:50:47] local.INFO: Processing buffer {"connection_id":89970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:50:47] local.INFO: IMEI packet received {"connection_id":89970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":89970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:50:47] local.INFO: TCP Data received {"connection_id":89970,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e880dcf78012d7b150005e2ffd8000000a911..."} 
[2026-06-02 16:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880dcf78012d7b150005e2ffd8000000a911..."} 
[2026-06-02 16:50:47] local.INFO: Processing buffer {"connection_id":89970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880dcf78012d7b150005e2ffd8000000a911..."} 
[2026-06-02 16:50:47] local.INFO: Packet analysis {"connection_id":89970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:47] local.INFO: Extracted packet for processing {"connection_id":89970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98762712,"longitude_deg":76.3041024,"latitude_deg":9.8762712,"altitude":0,"angle":169,"satellites":17,"speed":22,"hex_longitude":"2d7b1500","hex_latitude":"05e2ffd8","is_valid_coordinates":true} 
[2026-06-02 16:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782156800001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87885605085642752,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741624647680,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780399067000,"timestamp_ms":1780399067000,"timestamp_seconds":1780399067,"priority":1,"record_length":96,"hex_timestamp":"0000019e880dcf78"} 
[2026-06-02 16:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:50: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-06-02 16:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 16:50:47] 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-06-02 16:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782156800001,"66":13091,"95":206,"85":15104,"24":22,"16":87885605085642752,"45":8867024741624647680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-02 16:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782156800001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:50:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-02 16:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87885605085642752,"km_value":87885605085642.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741624647680,"description":"Unknown IO ID 45"} 
[2026-06-02 16:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782156800001,"power":13091,"unknown_95":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8867024741624647680}} 
[2026-06-02 16:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":89970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:50:47] local.INFO: GPS data processed {"connection_id":89970,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:50:47] local.INFO: Acknowledgment sent {"connection_id":89970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:50:48] local.INFO: TCP Data received {"connection_id":89970,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88102908012d7b430005e1b080000400a814..."} 
[2026-06-02 16:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88102908012d7b430005e1b080000400a814..."} 
[2026-06-02 16:50:48] local.INFO: Processing buffer {"connection_id":89970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88102908012d7b430005e1b080000400a814..."} 
[2026-06-02 16:50:48] local.INFO: Packet analysis {"connection_id":89970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:50:48] local.INFO: Extracted packet for processing {"connection_id":89970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":98676864,"longitude_deg":76.30528,"latitude_deg":9.8676864,"altitude":4,"angle":168,"satellites":20,"speed":12,"hex_longitude":"2d7b4300","hex_latitude":"05e1b080","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782195712001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87889831333462016,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880324434252208128,"note":"Value kept but may cause issues"} 
[2026-06-02 16:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780399221000,"timestamp_ms":1780399221000,"timestamp_seconds":1780399221,"priority":1,"record_length":96,"hex_timestamp":"0000019e88102908"} 
[2026-06-02 16:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 16:50:48] 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-06-02 16: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-06-02 16:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":89970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":89970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":89970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782195712001,"66":12917,"96":206,"85":15104,"24":12,"16":87889831333462016,"45":8880324434252208128},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 16:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782195712001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:50:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 16:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87889831333462016,"km_value":87889831333462.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880324434252208128,"description":"Unknown IO ID 45"} 
[2026-06-02 16:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782195712001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8880324434252208128}} 
[2026-06-02 16:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":89970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:50:48] local.INFO: GPS data processed {"connection_id":89970,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:50:48] local.INFO: Acknowledgment sent {"connection_id":89970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:51:05] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:51:05] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:51:05] local.INFO: IMEI packet received {"connection_id":89602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":89602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:51:08] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:51:08] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:51:08] local.INFO: Packet analysis {"connection_id":89969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:51:08] local.INFO: Extracted packet for processing {"connection_id":89969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:51:08] 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-06-02 16:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:51:08] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:51:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":89969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:51:08] local.INFO: GPS data processed {"connection_id":89969,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:51:08] local.INFO: Acknowledgment sent {"connection_id":89969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:51:10] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:51:10] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:51:10] local.INFO: IMEI packet received {"connection_id":89602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":89602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:51:11] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880ed530012d196540071ff0b80031014829..."} 
[2026-06-02 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880ed530012d196540071ff0b80031014829..."} 
[2026-06-02 16:51:11] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880ed530012d196540071ff0b80031014829..."} 
[2026-06-02 16:51:11] local.INFO: Packet analysis {"connection_id":89602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880e"} 
[2026-06-02 16:51:11] local.INFO: Extracted packet for processing {"connection_id":89602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880e"} 
[2026-06-02 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782172928001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780399134000,"timestamp_ms":1780399134000,"timestamp_seconds":1780399134,"priority":1,"record_length":96,"hex_timestamp":"0000019e880ed530"} 
[2026-06-02 16:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:51: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-06-02 16:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 16:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:51:11] 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-06-02 16:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782172928001,"66":12504,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782172928001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:51:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782172928001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":89602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:51:11] local.INFO: GPS data processed {"connection_id":89602,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:51:11] local.INFO: Acknowledgment sent {"connection_id":89602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:51:23] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:51:23] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:51:23] local.INFO: IMEI packet received {"connection_id":89885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":89885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:51:23] local.INFO: TCP Data received {"connection_id":91063,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:51:23] local.INFO: Processing buffer {"connection_id":91063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:51:23] local.INFO: IMEI packet received {"connection_id":91063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":91063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:51:28] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:51:28] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:51:28] local.INFO: IMEI packet received {"connection_id":89885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":89885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:51:28] local.INFO: TCP Data received {"connection_id":91063,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:51:28] local.INFO: Processing buffer {"connection_id":91063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:51:28] local.INFO: IMEI packet received {"connection_id":91063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":91063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:51:29] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:51:29] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:51:29] local.INFO: Packet analysis {"connection_id":89885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:51:29] local.INFO: Extracted packet for processing {"connection_id":89885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:51: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-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:51: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-06-02 16:51: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:51: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-06-02 16:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:51:29] 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-06-02 16:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":89885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:51:29] local.INFO: GPS data processed {"connection_id":89885,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:51:29] local.INFO: Acknowledgment sent {"connection_id":89885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:51:29] local.INFO: TCP Data received {"connection_id":91063,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8810d8d0012d7b43c005e195b8000d00e415..."} 
[2026-06-02 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8810d8d0012d7b43c005e195b8000d00e415..."} 
[2026-06-02 16:51:29] local.INFO: Processing buffer {"connection_id":91063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8810d8d0012d7b43c005e195b8000d00e415..."} 
[2026-06-02 16:51:29] local.INFO: Packet analysis {"connection_id":91063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:51:29] local.INFO: Extracted packet for processing {"connection_id":91063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98670008,"longitude_deg":76.3052992,"latitude_deg":9.8670008,"altitude":13,"angle":228,"satellites":21,"speed":0,"hex_longitude":"2d7b43c0","hex_latitude":"05e195b8","is_valid_coordinates":true} 
[2026-06-02 16:51: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-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782211584001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87890196405682176,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021596811264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399266000,"timestamp_ms":1780399266000,"timestamp_seconds":1780399266,"priority":1,"record_length":96,"hex_timestamp":"0000019e8810d8d0"} 
[2026-06-02 16:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2282788456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":136,"raw_value":1194157593752978432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2516582412,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2147869078,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2191397042717146601,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-71831474059293099,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:29] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,63,158,173,45,192,150,13,22,10,66,12,21,166,1,240,74,227,136,225,4,113,205,3,154,67,40,23,239,50,2,56,5,11,47,59],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-02 16:51:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937023690594385920,"timestamp_seconds":937023690594385.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782211584001,"66":12885,"169":206,"85":15104,"24":0,"16":87890196405682176,"45":8882154021596811264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 16:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782211584001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87890196405682176,"km_value":87890196405682.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021596811264,"description":"Unknown IO ID 45"} 
[2026-06-02 16:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782211584001,"power":12885,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8882154021596811264}} 
[2026-06-02 16:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":91063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:51:30] local.INFO: GPS data processed {"connection_id":91063,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:51:30] local.INFO: Acknowledgment sent {"connection_id":91063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:51:42] local.INFO: TCP Data received {"connection_id":89602,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880f2738012d196540071ff0b80031014829..."} 
[2026-06-02 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880f2738012d196540071ff0b80031014829..."} 
[2026-06-02 16:51:42] local.INFO: Processing buffer {"connection_id":89602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880f2738012d196540071ff0b80031014829..."} 
[2026-06-02 16:51:42] local.INFO: Packet analysis {"connection_id":89602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880f"} 
[2026-06-02 16:51:42] local.INFO: Extracted packet for processing {"connection_id":89602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880f"} 
[2026-06-02 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782178304001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780399155000,"timestamp_ms":1780399155000,"timestamp_seconds":1780399155,"priority":1,"record_length":96,"hex_timestamp":"0000019e880f2738"} 
[2026-06-02 16:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 16:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:51:42] 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-06-02 16:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782178304001,"66":12461,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782178304001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:51:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782178304001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":89602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:51:42] local.INFO: GPS data processed {"connection_id":89602,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:51:42] local.INFO: Acknowledgment sent {"connection_id":89602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:52:00] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:52:00] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:52:00] local.INFO: Packet analysis {"connection_id":89885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:52:00] local.INFO: Extracted packet for processing {"connection_id":89885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:52:00] 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-06-02 16:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:52:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":89885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:52:00] local.INFO: GPS data processed {"connection_id":89885,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:52:00] local.INFO: Acknowledgment sent {"connection_id":89885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:52:02] local.INFO: TCP Data received {"connection_id":91063,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8810f428012d7b430005e19508000c00f815..."} 
[2026-06-02 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8810f428012d7b430005e19508000c00f815..."} 
[2026-06-02 16:52:02] local.INFO: Processing buffer {"connection_id":91063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8810f428012d7b430005e19508000c00f815..."} 
[2026-06-02 16:52:02] local.INFO: Packet analysis {"connection_id":91063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:52:02] local.INFO: Extracted packet for processing {"connection_id":91063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":98669832,"longitude_deg":76.30528,"latitude_deg":9.8669832,"altitude":12,"angle":248,"satellites":21,"speed":2,"hex_longitude":"2d7b4300","hex_latitude":"05e19508","is_valid_coordinates":true} 
[2026-06-02 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782212096001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87890209290584064,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021596805120,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780399273000,"timestamp_ms":1780399273000,"timestamp_seconds":1780399273,"priority":1,"record_length":96,"hex_timestamp":"0000019e8810f428"} 
[2026-06-02 16:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 16:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782212096001,"66":13222,"169":206,"85":15104,"24":2,"16":87890209290584064,"45":8882154021596805120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 16:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782212096001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:52:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 16:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87890209290584064,"km_value":87890209290584.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021596805120,"description":"Unknown IO ID 45"} 
[2026-06-02 16:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782212096001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8882154021596805120}} 
[2026-06-02 16:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":91063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:52:02] local.INFO: GPS data processed {"connection_id":91063,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:52:02] local.INFO: Acknowledgment sent {"connection_id":91063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:52:05] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:52:05] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:52:05] local.INFO: IMEI packet received {"connection_id":89603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":89603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:52:10] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:52:10] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:52:10] local.INFO: IMEI packet received {"connection_id":89603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":89603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:52:11] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880f7940012d196540071ff0b80031014829..."} 
[2026-06-02 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880f7940012d196540071ff0b80031014829..."} 
[2026-06-02 16:52:11] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880f7940012d196540071ff0b80031014829..."} 
[2026-06-02 16:52:11] local.INFO: Packet analysis {"connection_id":89603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880f"} 
[2026-06-02 16:52:11] local.INFO: Extracted packet for processing {"connection_id":89603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880f"} 
[2026-06-02 16:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782183680001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780399176000,"timestamp_ms":1780399176000,"timestamp_seconds":1780399176,"priority":1,"record_length":96,"hex_timestamp":"0000019e880f7940"} 
[2026-06-02 16:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:52: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-06-02 16:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 16:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:52:11] 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-06-02 16:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782183680001,"66":12385,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782183680001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:52:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782183680001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":89603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:52:11] local.INFO: GPS data processed {"connection_id":89603,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:52:11] local.INFO: Acknowledgment sent {"connection_id":89603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:52:23] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:52:23] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:52:23] local.INFO: IMEI packet received {"connection_id":89973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":89973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:52:23] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:52:23] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:52:23] local.INFO: IMEI packet received {"connection_id":89972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":89972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:52:28] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:52:28] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:52:28] local.INFO: IMEI packet received {"connection_id":89972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":89972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:52:29] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8811bf48012d7b460005e15d98000b015216..."} 
[2026-06-02 16:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8811bf48012d7b460005e15d98000b015216..."} 
[2026-06-02 16:52:29] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8811bf48012d7b460005e15d98000b015216..."} 
[2026-06-02 16:52:29] local.INFO: Packet analysis {"connection_id":89972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8811"} 
[2026-06-02 16:52:29] local.INFO: Extracted packet for processing {"connection_id":89972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8811"} 
[2026-06-02 16:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98655640,"longitude_deg":76.3053568,"latitude_deg":9.865564,"altitude":11,"angle":338,"satellites":22,"speed":10,"hex_longitude":"2d7b4600","hex_latitude":"05e15d98","is_valid_coordinates":true} 
[2026-06-02 16:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782226944001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87890999564566528,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882998446523213824,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399325000,"timestamp_ms":1780399325000,"timestamp_seconds":1780399325,"priority":1,"record_length":96,"hex_timestamp":"0000019e8811bf48"} 
[2026-06-02 16:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2282834456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":17,"raw_value":553944049019682821,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-7791227303799548928,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3782240256,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,169,85,24,241,157,16,64,158,183,45,92,11,19,10,66,175,192,17,163,1,240,80,227,136,225,4,113,205,2,152,75,72,20,239,50,56,5,12,34,3],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-02 16:52:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792981070286356480,"timestamp_seconds":792981070286356.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782226944001,"66":13319,"169":206,"85":15104,"24":10,"16":87890999564566528,"45":8882998446523213824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 16:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782226944001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:52:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 16:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87890999564566528,"km_value":87890999564566.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882998446523213824,"description":"Unknown IO ID 45"} 
[2026-06-02 16:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782226944001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8882998446523213824}} 
[2026-06-02 16:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":89972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:52:30] local.INFO: GPS data processed {"connection_id":89972,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:52:30] local.INFO: Acknowledgment sent {"connection_id":89972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:52:30] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:52:30] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:52:30] local.INFO: IMEI packet received {"connection_id":89973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":89973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:52:31] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:52:31] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:52:31] local.INFO: Packet analysis {"connection_id":89973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:52:31] local.INFO: Extracted packet for processing {"connection_id":89973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 16:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:52:31] 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-06-02 16:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":89973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:52:31] local.INFO: GPS data processed {"connection_id":89973,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:52:31] local.INFO: Acknowledgment sent {"connection_id":89973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:52:31] local.INFO: TCP Data received {"connection_id":89971,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:52:31] local.INFO: Processing buffer {"connection_id":89971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:52:31] local.INFO: IMEI packet received {"connection_id":89971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":89971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:52:42] local.INFO: TCP Data received {"connection_id":89603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e880fcb48012d196540071ff0b8003101482c..."} 
[2026-06-02 16:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880fcb48012d196540071ff0b8003101482c..."} 
[2026-06-02 16:52:42] local.INFO: Processing buffer {"connection_id":89603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880fcb48012d196540071ff0b8003101482c..."} 
[2026-06-02 16:52:42] local.INFO: Packet analysis {"connection_id":89603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880f"} 
[2026-06-02 16:52:42] local.INFO: Extracted packet for processing {"connection_id":89603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880f"} 
[2026-06-02 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782189056001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780399197000,"timestamp_ms":1780399197000,"timestamp_seconds":1780399197,"priority":1,"record_length":96,"hex_timestamp":"0000019e880fcb48"} 
[2026-06-02 16:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:52:42] 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-06-02 16:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:52:42] 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-06-02 16:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782189056001,"66":12428,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782189056001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:52:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782189056001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":89603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:52:42] local.INFO: GPS data processed {"connection_id":89603,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:52:42] local.INFO: Acknowledgment sent {"connection_id":89603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:52:57] local.INFO: TCP Data received {"connection_id":89974,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:52:57] local.INFO: Processing buffer {"connection_id":89974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:52:57] local.INFO: IMEI packet received {"connection_id":89974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":89974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:53:01] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8811c718012d7b458005e16030000b016116..."} 
[2026-06-02 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8811c718012d7b458005e16030000b016116..."} 
[2026-06-02 16:53:01] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8811c718012d7b458005e16030000b016116..."} 
[2026-06-02 16:53:01] local.INFO: Packet analysis {"connection_id":89972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8811"} 
[2026-06-02 16:53:01] local.INFO: Extracted packet for processing {"connection_id":89972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8811"} 
[2026-06-02 16:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98656304,"longitude_deg":76.305344,"latitude_deg":9.8656304,"altitude":11,"angle":353,"satellites":22,"speed":15,"hex_longitude":"2d7b4580","hex_latitude":"05e16030","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782227200001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87891033924304896,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340290725888,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780399327000,"timestamp_ms":1780399327000,"timestamp_seconds":1780399327,"priority":1,"record_length":96,"hex_timestamp":"0000019e8811c718"} 
[2026-06-02 16:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2282854456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":225,"raw_value":8099723981376656384,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505959,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3780986880,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":106,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.WARNING: Large IO value detected {"io_id":17,"raw_value":5339018653101064197,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,169,85,24,241,157,16,64,158,187,45,192,92,11,21,10,66,183,19,175,1,240,184,227,136,225,4,113,205,2,160,74,239,50,56,5,106,17],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-02 16:53:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793005263837331456,"timestamp_seconds":793005263837331.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782227200001,"66":13222,"169":206,"85":15104,"24":15,"16":87891033924304896,"45":8882787340290725888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 16:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782227200001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:53:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 16:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87891033924304896,"km_value":87891033924304.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340290725888,"description":"Unknown IO ID 45"} 
[2026-06-02 16:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782227200001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8882787340290725888}} 
[2026-06-02 16:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":89972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:53:01] local.INFO: GPS data processed {"connection_id":89972,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:53:01] local.INFO: Acknowledgment sent {"connection_id":89972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:53:04] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:53:04] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e880db808012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:53:04] local.INFO: Packet analysis {"connection_id":89973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:53:04] local.INFO: Extracted packet for processing {"connection_id":89973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e880d"} 
[2026-06-02 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 16:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782081280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341865472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780399061000,"timestamp_ms":1780399061000,"timestamp_seconds":1780399061,"priority":1,"record_length":96,"hex_timestamp":"0000019e880db808"} 
[2026-06-02 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-06-02 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-02 16:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 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-06-02 16:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:53:04] 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-06-02 16:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782081280001,"66":25441,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576582206341865472},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782081280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:53:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341865472,"description":"Unknown IO ID 44"} 
[2026-06-02 16:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782081280001,"power":25441,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576582206341865472}} 
[2026-06-02 16:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":89973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:53:04] local.INFO: GPS data processed {"connection_id":89973,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:53:04] local.INFO: Acknowledgment sent {"connection_id":89973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:53:05] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:53:05] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:53:05] local.INFO: IMEI packet received {"connection_id":89975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":89975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:53:10] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:53:10] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:53:10] local.INFO: IMEI packet received {"connection_id":89975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":89975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:53:11] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88101d50012d196540071ff0b80031014823..."} 
[2026-06-02 16:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88101d50012d196540071ff0b80031014823..."} 
[2026-06-02 16:53:11] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88101d50012d196540071ff0b80031014823..."} 
[2026-06-02 16:53:11] local.INFO: Packet analysis {"connection_id":89975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:53:11] local.INFO: Extracted packet for processing {"connection_id":89975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782194432001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780399218000,"timestamp_ms":1780399218000,"timestamp_seconds":1780399218,"priority":1,"record_length":96,"hex_timestamp":"0000019e88101d50"} 
[2026-06-02 16:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:53: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-06-02 16:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 16:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:53:11] 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-06-02 16:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782194432001,"66":12406,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782194432001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:53:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782194432001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":89975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:53:11] local.INFO: GPS data processed {"connection_id":89975,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:53:11] local.INFO: Acknowledgment sent {"connection_id":89975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:53:23] local.INFO: TCP Data received {"connection_id":89886,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:53:23] local.INFO: Processing buffer {"connection_id":89886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:53:23] local.INFO: IMEI packet received {"connection_id":89886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":89886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:53:23] local.INFO: TCP Data received {"connection_id":91064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:53:23] local.INFO: Processing buffer {"connection_id":91064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:53:23] local.INFO: IMEI packet received {"connection_id":91064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":91064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:53:28] local.INFO: TCP Data received {"connection_id":89886,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:53:28] local.INFO: Processing buffer {"connection_id":89886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:53:28] local.INFO: IMEI packet received {"connection_id":89886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":89886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:53:29] local.INFO: TCP Data received {"connection_id":91064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:53:29] local.INFO: Processing buffer {"connection_id":91064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:53:29] local.INFO: IMEI packet received {"connection_id":91064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":91064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:53:29] local.INFO: TCP Data received {"connection_id":89886,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:53:29] local.INFO: Processing buffer {"connection_id":89886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:53:29] local.INFO: Packet analysis {"connection_id":89886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:53:29] local.INFO: Extracted packet for processing {"connection_id":89886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:53:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:53: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-06-02 16:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:53:29] 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-06-02 16:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:53:29] 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-06-02 16:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:53:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":89886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:53:29] local.INFO: GPS data processed {"connection_id":89886,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:53:29] local.INFO: Acknowledgment sent {"connection_id":89886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:53:30] local.INFO: TCP Data received {"connection_id":91064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8811f5f8012d7b3f8005e18350000a01600f..."} 
[2026-06-02 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8811f5f8012d7b3f8005e18350000a01600f..."} 
[2026-06-02 16:53:30] local.INFO: Processing buffer {"connection_id":91064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8811f5f8012d7b3f8005e18350000a01600f..."} 
[2026-06-02 16:53:30] local.INFO: Packet analysis {"connection_id":91064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8811"} 
[2026-06-02 16:53:30] local.INFO: Extracted packet for processing {"connection_id":91064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8811"} 
[2026-06-02 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763051904,"raw_latitude":98665296,"longitude_deg":76.3051904,"latitude_deg":9.8665296,"altitude":10,"angle":352,"satellites":15,"speed":35,"hex_longitude":"2d7b3f80","hex_latitude":"05e18350","is_valid_coordinates":true} 
[2026-06-02 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782227712001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87891476305936384,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602802540544,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780399339000,"timestamp_ms":1780399339000,"timestamp_seconds":1780399339,"priority":1,"record_length":96,"hex_timestamp":"0000019e8811f5f8"} 
[2026-06-02 16:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:53: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-06-02 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 16:53:30] 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-06-02 16:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":91064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":91064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":91064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782227712001,"66":12982,"170":206,"85":15104,"24":35,"16":87891476305936384,"45":8882646602802540544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-02 16:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782227712001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87891476305936384,"km_value":87891476305936.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602802540544,"description":"Unknown IO ID 45"} 
[2026-06-02 16:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782227712001,"power":12982,"unknown_170":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8882646602802540544}} 
[2026-06-02 16:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":91064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:53:30] local.INFO: GPS data processed {"connection_id":91064,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:53:30] local.INFO: Acknowledgment sent {"connection_id":91064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:53:42] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88106f58012d196540071ff0b80031014827..."} 
[2026-06-02 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88106f58012d196540071ff0b80031014827..."} 
[2026-06-02 16:53:42] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88106f58012d196540071ff0b80031014827..."} 
[2026-06-02 16:53:42] local.INFO: Packet analysis {"connection_id":89975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:53:42] local.INFO: Extracted packet for processing {"connection_id":89975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8810"} 
[2026-06-02 16:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533752,"longitude_deg":75.663904,"latitude_deg":11.9533752,"altitude":49,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-06-02 16:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782199808001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394434949906432,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940792832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780399239000,"timestamp_ms":1780399239000,"timestamp_seconds":1780399239,"priority":1,"record_length":96,"hex_timestamp":"0000019e88106f58"} 
[2026-06-02 16:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 16:53:42] 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-06-02 16:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:53:42] 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-06-02 16:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782199808001,"66":12385,"102":206,"83":41984,"24":0,"16":125394434949906432,"45":1829939222940792832},"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-06-02 16:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782199808001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:53:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394434949906432,"km_value":125394434949906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940792832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782199808001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940792832}} 
[2026-06-02 16:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":89975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:53:42] local.INFO: GPS data processed {"connection_id":89975,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:53:42] local.INFO: Acknowledgment sent {"connection_id":89975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:54:00] local.INFO: TCP Data received {"connection_id":89886,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:54:00] local.INFO: Processing buffer {"connection_id":89886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:54:00] local.INFO: Packet analysis {"connection_id":89886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:00] local.INFO: Extracted packet for processing {"connection_id":89886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:54:00] 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-06-02 16:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:54:00] 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-06-02 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:54:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":89886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:54:00] local.INFO: GPS data processed {"connection_id":89886,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:54:00] local.INFO: Acknowledgment sent {"connection_id":89886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:54:01] local.INFO: TCP Data received {"connection_id":91064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881220f0012d7b398005e1a5800009016310..."} 
[2026-06-02 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881220f0012d7b398005e1a5800009016310..."} 
[2026-06-02 16:54:01] local.INFO: Processing buffer {"connection_id":91064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881220f0012d7b398005e1a5800009016310..."} 
[2026-06-02 16:54:01] local.INFO: Packet analysis {"connection_id":91064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:01] local.INFO: Extracted packet for processing {"connection_id":91064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763050368,"raw_latitude":98674048,"longitude_deg":76.3050368,"latitude_deg":9.8674048,"altitude":9,"angle":355,"satellites":16,"speed":28,"hex_longitude":"2d7b3980","hex_latitude":"05e1a580","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782230784001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87891905802665984,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957752944578560,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780399350000,"timestamp_ms":1780399350000,"timestamp_seconds":1780399350,"priority":1,"record_length":96,"hex_timestamp":"0000019e881220f0"} 
[2026-06-02 16:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 16:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":91064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":91064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":91064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782230784001,"66":12841,"170":206,"85":15104,"24":28,"16":87891905802665984,"45":8880957752944578560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-02 16:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782230784001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:54:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-02 16:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87891905802665984,"km_value":87891905802665.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957752944578560,"description":"Unknown IO ID 45"} 
[2026-06-02 16:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782230784001,"power":12841,"unknown_170":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8880957752944578560}} 
[2026-06-02 16:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":91064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:54:01] local.INFO: GPS data processed {"connection_id":91064,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:54:01] local.INFO: Acknowledgment sent {"connection_id":91064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:54:05] local.INFO: TCP Data received {"connection_id":89605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:05] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:05] local.INFO: IMEI packet received {"connection_id":89605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":89605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:54:05] local.INFO: TCP Data received {"connection_id":89605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:05] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:05] local.INFO: IMEI packet received {"connection_id":89605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":89605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:54:10] local.INFO: TCP Data received {"connection_id":89605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:10] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:54:10] local.INFO: IMEI packet received {"connection_id":89605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":89605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:54:11] local.INFO: TCP Data received {"connection_id":89605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8812a1d8012d196900071fec300046004d2a..."} 
[2026-06-02 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8812a1d8012d196900071fec300046004d2a..."} 
[2026-06-02 16:54:11] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8812a1d8012d196900071fec300046004d2a..."} 
[2026-06-02 16:54:11] local.INFO: Packet analysis {"connection_id":89605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:11] local.INFO: Extracted packet for processing {"connection_id":89605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532592,"longitude_deg":75.664,"latitude_deg":11.9532592,"altitude":70,"angle":77,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-06-02 16:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782241280001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125394529439186944,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103160832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780399383000,"timestamp_ms":1780399383000,"timestamp_seconds":1780399383,"priority":1,"record_length":96,"hex_timestamp":"0000019e8812a1d8"} 
[2026-06-02 16:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:54: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-06-02 16:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627645,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2282862456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5199405769799237642,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4038590513,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630447157049446,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7295839230104174641,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3819278401001279059,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,102,83,24,241,157,16,125,158,146,45,64,236,70,42,10,66,107,192,238,67,38,95,1,240,28,227,136,31,4,113,205,9,101,184,41,239,53,2,189,7,49,25,48,164],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 16:54:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044236263616610304,"timestamp_seconds":5044236263616610.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:54:11] 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-06-02 16:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782241280001,"66":13678,"102":206,"83":41984,"24":0,"16":125394529439186944,"45":1830994754103160832},"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-06-02 16:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782241280001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:54:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 16:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125394529439186944,"km_value":125394529439186.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103160832,"description":"Unknown IO ID 45"} 
[2026-06-02 16:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782241280001,"power":13678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103160832}} 
[2026-06-02 16:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":89605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:54:11] local.INFO: GPS data processed {"connection_id":89605,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:54:11] local.INFO: Acknowledgment sent {"connection_id":89605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:54:23] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:54:23] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:54:23] local.INFO: IMEI packet received {"connection_id":89606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":89606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:54:24] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:54:24] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:54:24] local.INFO: IMEI packet received {"connection_id":89607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":89607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:54:28] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:54:28] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:54:28] local.INFO: IMEI packet received {"connection_id":89606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":89606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:54:29] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:54:29] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:54:29] local.INFO: IMEI packet received {"connection_id":89607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":89607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:54:29] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:54:29] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:54:29] local.INFO: Packet analysis {"connection_id":89606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:29] local.INFO: Extracted packet for processing {"connection_id":89606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:54: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-06-02 16: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":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:54:29] 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-06-02 16: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-06-02 16:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:54:29] 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-06-02 16:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:54:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":89606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:54:29] local.INFO: GPS data processed {"connection_id":89606,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:54:29] local.INFO: Acknowledgment sent {"connection_id":89606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:54:30] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881253b8012d7b368005e1c908000801620c..."} 
[2026-06-02 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881253b8012d7b368005e1c908000801620c..."} 
[2026-06-02 16:54:30] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881253b8012d7b368005e1c908000801620c..."} 
[2026-06-02 16:54:30] local.INFO: Packet analysis {"connection_id":89607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:30] local.INFO: Extracted packet for processing {"connection_id":89607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98683144,"longitude_deg":76.30496,"latitude_deg":9.8683144,"altitude":8,"angle":354,"satellites":12,"speed":37,"hex_longitude":"2d7b3680","hex_latitude":"05e1c908","is_valid_coordinates":true} 
[2026-06-02 16:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782233600001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87892348184297472,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879268903086555136,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780399363000,"timestamp_ms":1780399363000,"timestamp_seconds":1780399363,"priority":1,"record_length":96,"hex_timestamp":"0000019e881253b8"} 
[2026-06-02 16:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:54: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-06-02 16:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 16:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782233600001,"66":13015,"169":206,"85":15104,"24":37,"16":87892348184297472,"45":8879268903086555136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 16:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782233600001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87892348184297472,"km_value":87892348184297.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879268903086555136,"description":"Unknown IO ID 45"} 
[2026-06-02 16:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782233600001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8879268903086555136}} 
[2026-06-02 16:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":89607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:54:30] local.INFO: GPS data processed {"connection_id":89607,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:54:30] local.INFO: Acknowledgment sent {"connection_id":89607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:54:42] local.INFO: TCP Data received {"connection_id":89605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881370e0012d19a180071fdb20003600a12c..."} 
[2026-06-02 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881370e0012d19a180071fdb20003600a12c..."} 
[2026-06-02 16:54:42] local.INFO: Processing buffer {"connection_id":89605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881370e0012d19a180071fdb20003600a12c..."} 
[2026-06-02 16:54:42] local.INFO: Packet analysis {"connection_id":89605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8813"} 
[2026-06-02 16:54:42] local.INFO: Extracted packet for processing {"connection_id":89605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8813"} 
[2026-06-02 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756654464,"raw_latitude":119528224,"longitude_deg":75.6654464,"latitude_deg":11.9528224,"altitude":54,"angle":161,"satellites":44,"speed":10,"hex_longitude":"2d19a180","hex_latitude":"071fdb20","is_valid_coordinates":true} 
[2026-06-02 16:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782254592001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125395470037024768,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615309924352,"note":"Value kept but may cause issues"} 
[2026-06-02 16:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780399436000,"timestamp_ms":1780399436000,"timestamp_seconds":1780399436,"priority":1,"record_length":96,"hex_timestamp":"0000019e881370e0"} 
[2026-06-02 16:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-02 16:54:42] 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-06-02 16:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 16:54:42] 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-06-02 16:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 16:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 16:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782254592001,"66":14265,"101":206,"83":41984,"24":10,"16":125395470037024768,"45":1846616615309924352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 16:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 16:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 16:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782254592001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:54:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 16:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 16:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125395470037024768,"km_value":125395470037024.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615309924352,"description":"Unknown IO ID 45"} 
[2026-06-02 16:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782254592001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1846616615309924352}} 
[2026-06-02 16:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":89605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:54:42] local.INFO: GPS data processed {"connection_id":89605,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:54:42] local.INFO: Acknowledgment sent {"connection_id":89605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:55:02] local.INFO: TCP Data received {"connection_id":89606,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:55:02] local.INFO: Processing buffer {"connection_id":89606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:55:02] local.INFO: Packet analysis {"connection_id":89606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:02] local.INFO: Extracted packet for processing {"connection_id":89606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:55:02] 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-06-02 16:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:55:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":89606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:55:02] local.INFO: GPS data processed {"connection_id":89606,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:55:02] local.INFO: Acknowledgment sent {"connection_id":89606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:55:03] local.INFO: TCP Data received {"connection_id":89607,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88127eb0012d7b31c005e1edc80006015f0c..."} 
[2026-06-02 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88127eb0012d7b31c005e1edc80006015f0c..."} 
[2026-06-02 16:55:03] local.INFO: Processing buffer {"connection_id":89607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88127eb0012d7b31c005e1edc80006015f0c..."} 
[2026-06-02 16:55:03] local.INFO: Packet analysis {"connection_id":89607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:03] local.INFO: Extracted packet for processing {"connection_id":89607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763048384,"raw_latitude":98692552,"longitude_deg":76.3048384,"latitude_deg":9.8692552,"altitude":6,"angle":351,"satellites":12,"speed":29,"hex_longitude":"2d7b31c0","hex_latitude":"05e1edc8","is_valid_coordinates":true} 
[2026-06-02 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236928001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87892812040765440,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478158751744,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780399374000,"timestamp_ms":1780399374000,"timestamp_seconds":1780399374,"priority":1,"record_length":96,"hex_timestamp":"0000019e88127eb0"} 
[2026-06-02 16:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 16:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236928001,"66":12917,"169":206,"85":15104,"24":29,"16":87892812040765440,"45":8878424478158751744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 16:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236928001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:55:03] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 16:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87892812040765440,"km_value":87892812040765.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478158751744,"description":"Unknown IO ID 45"} 
[2026-06-02 16:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236928001,"power":12917,"unknown_169":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8878424478158751744}} 
[2026-06-02 16:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":89607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:55:03] local.INFO: GPS data processed {"connection_id":89607,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:55:03] local.INFO: Acknowledgment sent {"connection_id":89607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:55:06] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:06] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:06] local.INFO: IMEI packet received {"connection_id":89977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 16:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":89977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:55:07] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:07] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:07] local.INFO: IMEI packet received {"connection_id":89977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":89977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:55:09] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:09] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:09] local.INFO: IMEI packet received {"connection_id":89977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":89977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:55:10] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:10] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 16:55:10] local.INFO: IMEI packet received {"connection_id":89977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 16:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":89977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:55:23] local.INFO: TCP Data received {"connection_id":91067,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:55:23] local.INFO: Processing buffer {"connection_id":91067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:55:23] local.INFO: IMEI packet received {"connection_id":91067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":91067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:55:23] local.INFO: TCP Data received {"connection_id":91066,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:55:23] local.INFO: Processing buffer {"connection_id":91066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:55:23] local.INFO: IMEI packet received {"connection_id":91066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":91066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:55:28] local.INFO: TCP Data received {"connection_id":91066,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:55:28] local.INFO: Processing buffer {"connection_id":91066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:55:28] local.INFO: IMEI packet received {"connection_id":91066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":91066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:55:29] local.INFO: TCP Data received {"connection_id":91067,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:55:29] local.INFO: Processing buffer {"connection_id":91067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:55:29] local.INFO: IMEI packet received {"connection_id":91067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":91067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:55:29] local.INFO: TCP Data received {"connection_id":91066,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:55:29] local.INFO: Processing buffer {"connection_id":91066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:55:29] local.INFO: Packet analysis {"connection_id":91066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:29] local.INFO: Extracted packet for processing {"connection_id":91066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:55: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-06-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:55:29] 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-06-02 16: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-06-02 16:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:55:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":91066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:55:29] local.INFO: GPS data processed {"connection_id":91066,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:55:29] local.INFO: Acknowledgment sent {"connection_id":91066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:55:30] local.INFO: TCP Data received {"connection_id":91067,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8812c8e8012d7b2e0005e20ff00004016211..."} 
[2026-06-02 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8812c8e8012d7b2e0005e20ff00004016211..."} 
[2026-06-02 16:55:30] local.INFO: Processing buffer {"connection_id":91067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8812c8e8012d7b2e0005e20ff00004016211..."} 
[2026-06-02 16:55:30] local.INFO: Packet analysis {"connection_id":91067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:30] local.INFO: Extracted packet for processing {"connection_id":91067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763047424,"raw_latitude":98701296,"longitude_deg":76.3047424,"latitude_deg":9.8701296,"altitude":4,"angle":354,"satellites":17,"speed":17,"hex_longitude":"2d7b2e00","hex_latitude":"05e20ff0","is_valid_coordinates":true} 
[2026-06-02 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782239744001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87893241537495040,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877087472021784576,"note":"Value kept but may cause issues"} 
[2026-06-02 16:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780399393000,"timestamp_ms":1780399393000,"timestamp_seconds":1780399393,"priority":1,"record_length":96,"hex_timestamp":"0000019e8812c8e8"} 
[2026-06-02 16:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:55: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-06-02 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 16:55: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-06-02 16:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":91067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":91067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":91067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782239744001,"66":13048,"169":206,"85":15104,"24":17,"16":87893241537495040,"45":8877087472021784576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 16:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782239744001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:55:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 16:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87893241537495040,"km_value":87893241537495.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877087472021784576,"description":"Unknown IO ID 45"} 
[2026-06-02 16:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782239744001,"power":13048,"unknown_169":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8877087472021784576}} 
[2026-06-02 16:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":91067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:55:30] local.INFO: GPS data processed {"connection_id":91067,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:55:30] local.INFO: Acknowledgment sent {"connection_id":91067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:56:00] local.INFO: TCP Data received {"connection_id":91066,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:56:00] local.INFO: Processing buffer {"connection_id":91066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:56:00] local.INFO: Packet analysis {"connection_id":91066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:56:00] local.INFO: Extracted packet for processing {"connection_id":91066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:56:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:56:00] 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-06-02 16: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-06-02 16:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:56: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-06-02 16:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:56:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":91066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:56:00] local.INFO: GPS data processed {"connection_id":91066,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:56:00] local.INFO: Acknowledgment sent {"connection_id":91066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:56:02] local.INFO: TCP Data received {"connection_id":91067,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8814d840012d7b040005e33fb0000b015b19..."} 
[2026-06-02 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8814d840012d7b040005e33fb0000b015b19..."} 
[2026-06-02 16:56:02] local.INFO: Processing buffer {"connection_id":91067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8814d840012d7b040005e33fb0000b015b19..."} 
[2026-06-02 16:56:02] local.INFO: Packet analysis {"connection_id":91067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8814"} 
[2026-06-02 16:56:02] local.INFO: Extracted packet for processing {"connection_id":91067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8814"} 
[2026-06-02 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98779056,"longitude_deg":76.3036672,"latitude_deg":9.8779056,"altitude":11,"angle":347,"satellites":25,"speed":0,"hex_longitude":"2d7b0400","hex_latitude":"05e33fb0","is_valid_coordinates":true} 
[2026-06-02 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782274048001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87897064058388480,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885626652672,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780399528000,"timestamp_ms":1780399528000,"timestamp_seconds":1780399528,"priority":1,"record_length":96,"hex_timestamp":"0000019e8814d840"} 
[2026-06-02 16:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 16:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782274048001,"66":12928,"97":206,"85":15104,"24":0,"16":87897064058388480,"45":8863998885626652672},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782274048001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87897064058388480,"km_value":87897064058388.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885626652672,"description":"Unknown IO ID 45"} 
[2026-06-02 16:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782274048001,"power":12928,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863998885626652672}} 
[2026-06-02 16:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":91067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:56:02] local.INFO: GPS data processed {"connection_id":91067,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:56:02] local.INFO: Acknowledgment sent {"connection_id":91067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:56:23] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:56:23] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:56:23] local.INFO: IMEI packet received {"connection_id":89980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":89980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:56:23] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:56:23] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:56:23] local.INFO: IMEI packet received {"connection_id":89887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":89887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:56:28] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:56:28] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:56:28] local.INFO: IMEI packet received {"connection_id":89887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":89887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:56:28] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:56:28] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:56:28] local.INFO: IMEI packet received {"connection_id":89980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":89980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:56:29] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:56:29] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:56:29] local.INFO: Packet analysis {"connection_id":89980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:56:29] local.INFO: Extracted packet for processing {"connection_id":89980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:56: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-06-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:56:29] 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-06-02 16: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-06-02 16:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:56: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-06-02 16:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":89980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:56:29] local.INFO: GPS data processed {"connection_id":89980,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:56:29] local.INFO: Acknowledgment sent {"connection_id":89980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:56:29] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8814f780012d7b044005e340a0000b000b1a..."} 
[2026-06-02 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8814f780012d7b044005e340a0000b000b1a..."} 
[2026-06-02 16:56:29] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8814f780012d7b044005e340a0000b000b1a..."} 
[2026-06-02 16:56:29] local.INFO: Packet analysis {"connection_id":89887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8814"} 
[2026-06-02 16:56:29] local.INFO: Extracted packet for processing {"connection_id":89887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8814"} 
[2026-06-02 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98779296,"longitude_deg":76.3036736,"latitude_deg":9.8779296,"altitude":11,"angle":11,"satellites":26,"speed":4,"hex_longitude":"2d7b0440","hex_latitude":"05e340a0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782279168001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87897076943290368,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991859417088,"note":"Value kept but may cause issues"} 
[2026-06-02 16:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399536000,"timestamp_ms":1780399536000,"timestamp_seconds":1780399536,"priority":1,"record_length":96,"hex_timestamp":"0000019e8814f780"} 
[2026-06-02 16:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:56:29] 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-06-02 16: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-02 16:56:29] 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-06-02 16: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-06-02 16:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782279168001,"66":13059,"97":206,"85":15104,"24":4,"16":87897076943290368,"45":8864209991859417088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782279168001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87897076943290368,"km_value":87897076943290.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991859417088,"description":"Unknown IO ID 45"} 
[2026-06-02 16:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782279168001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8864209991859417088}} 
[2026-06-02 16:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":89887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:56:29] local.INFO: GPS data processed {"connection_id":89887,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:56:29] local.INFO: Acknowledgment sent {"connection_id":89887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:57:00] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:57:00] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:57:00] local.INFO: Packet analysis {"connection_id":89980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:57:00] local.INFO: Extracted packet for processing {"connection_id":89980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:57:00] 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-06-02 16: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-06-02 16:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:57: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-06-02 16:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:57:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":89980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:57:00] local.INFO: GPS data processed {"connection_id":89980,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:57:00] local.INFO: Acknowledgment sent {"connection_id":89980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:57:01] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88151e90012d7b048005e34ca8000c015f1c..."} 
[2026-06-02 16:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88151e90012d7b048005e34ca8000c015f1c..."} 
[2026-06-02 16:57:01] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88151e90012d7b048005e34ca8000c015f1c..."} 
[2026-06-02 16:57:01] local.INFO: Packet analysis {"connection_id":89887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:57:01] local.INFO: Extracted packet for processing {"connection_id":89887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98782376,"longitude_deg":76.30368,"latitude_deg":9.8782376,"altitude":12,"angle":351,"satellites":28,"speed":21,"hex_longitude":"2d7b0480","hex_latitude":"05e34ca8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782281216001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87897227267145728,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360603656192,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780399546000,"timestamp_ms":1780399546000,"timestamp_seconds":1780399546,"priority":1,"record_length":96,"hex_timestamp":"0000019e88151e90"} 
[2026-06-02 16:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861350,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2283016456,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3221611270,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635046,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399461,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3806584832,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:01] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,69,158,216,45,63,11,25,10,66,138,64,60,20,118,1,240,248,227,136,4,113,205,32,56,15,239,50,96,2,5,6,37],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 16:57:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792645740714524672,"timestamp_seconds":792645740714524.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 16:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782281216001,"66":12939,"97":206,"85":15104,"24":21,"16":87897227267145728,"45":8864280360603656192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782281216001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:57:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87897227267145728,"km_value":87897227267145.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360603656192,"description":"Unknown IO ID 45"} 
[2026-06-02 16:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782281216001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8864280360603656192}} 
[2026-06-02 16:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":89887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:57:01] local.INFO: GPS data processed {"connection_id":89887,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:57:01] local.INFO: Acknowledgment sent {"connection_id":89887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:57:23] local.INFO: TCP Data received {"connection_id":89889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:57:23] local.INFO: Processing buffer {"connection_id":89889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:57:23] local.INFO: IMEI packet received {"connection_id":89889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":89889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:57:28] local.INFO: TCP Data received {"connection_id":89889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:57:28] local.INFO: Processing buffer {"connection_id":89889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:57:28] local.INFO: IMEI packet received {"connection_id":89889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:57:29] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:57:29] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:57:29] local.INFO: IMEI packet received {"connection_id":89981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":89981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:57:29] local.INFO: TCP Data received {"connection_id":89889,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:57:29] local.INFO: Processing buffer {"connection_id":89889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:57:29] local.INFO: Packet analysis {"connection_id":89889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:57:29] local.INFO: Extracted packet for processing {"connection_id":89889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:57:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:57: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-06-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:57:29] 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-06-02 16: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-06-02 16:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:57:29] 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-06-02 16:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:57:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":89889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:57:29] local.INFO: GPS data processed {"connection_id":89889,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:57:29] local.INFO: Acknowledgment sent {"connection_id":89889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:57:34] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:57:34] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:57:34] local.INFO: IMEI packet received {"connection_id":89981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":89981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:57:35] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88155540012d7afb4005e36e40000d01591c..."} 
[2026-06-02 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88155540012d7afb4005e36e40000d01591c..."} 
[2026-06-02 16:57:35] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88155540012d7afb4005e36e40000d01591c..."} 
[2026-06-02 16:57:35] local.INFO: Packet analysis {"connection_id":89981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:57:35] local.INFO: Extracted packet for processing {"connection_id":89981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763034432,"raw_latitude":98790976,"longitude_deg":76.3034432,"latitude_deg":9.8790976,"altitude":13,"angle":345,"satellites":28,"speed":19,"hex_longitude":"2d7afb40","hex_latitude":"05e36e40","is_valid_coordinates":true} 
[2026-06-02 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782283776001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87897661058842624,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729348622336,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780399560000,"timestamp_ms":1780399560000,"timestamp_seconds":1780399560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88155540"} 
[2026-06-02 16:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:57: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-06-02 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 16:57:35] 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-06-02 16:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782283776001,"66":12950,"97":206,"85":15104,"24":19,"16":87897661058842624,"45":8864350729348622336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782283776001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87897661058842624,"km_value":87897661058842.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729348622336,"description":"Unknown IO ID 45"} 
[2026-06-02 16:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782283776001,"power":12950,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8864350729348622336}} 
[2026-06-02 16:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":89981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:57:35] local.INFO: GPS data processed {"connection_id":89981,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:57:35] local.INFO: Acknowledgment sent {"connection_id":89981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:57:36] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8815a360012d7af3c005e38698000d01561d..."} 
[2026-06-02 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8815a360012d7af3c005e38698000d01561d..."} 
[2026-06-02 16:57:36] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8815a360012d7af3c005e38698000d01561d..."} 
[2026-06-02 16:57:36] local.INFO: Packet analysis {"connection_id":89981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:57:36] local.INFO: Extracted packet for processing {"connection_id":89981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763032512,"raw_latitude":98797208,"longitude_deg":76.3032512,"latitude_deg":9.8797208,"altitude":13,"angle":342,"satellites":29,"speed":15,"hex_longitude":"2d7af3c0","hex_latitude":"05e38698","is_valid_coordinates":true} 
[2026-06-02 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782287360001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87897978886422528,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861747085816250368,"note":"Value kept but may cause issues"} 
[2026-06-02 16:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1780399580000,"timestamp_ms":1780399580000,"timestamp_seconds":1780399580,"priority":1,"record_length":96,"hex_timestamp":"0000019e8815a360"} 
[2026-06-02 16:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 16:57:36] 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-06-02 16:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":89981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":89981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":89981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782287360001,"66":13352,"97":206,"85":15104,"24":15,"16":87897978886422528,"45":8861747085816250368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782287360001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87897978886422528,"km_value":87897978886422.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861747085816250368,"description":"Unknown IO ID 45"} 
[2026-06-02 16:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782287360001,"power":13352,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8861747085816250368}} 
[2026-06-02 16:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":89981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:57:37] local.INFO: GPS data processed {"connection_id":89981,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:57:37] local.INFO: Acknowledgment sent {"connection_id":89981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:00] local.INFO: TCP Data received {"connection_id":89889,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:58:00] local.INFO: Processing buffer {"connection_id":89889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88124fd0012cb29ac007823b00004900d92b..."} 
[2026-06-02 16:58:00] local.INFO: Packet analysis {"connection_id":89889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:58:00] local.INFO: Extracted packet for processing {"connection_id":89889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8812"} 
[2026-06-02 16:58:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782159616001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399362000,"timestamp_ms":1780399362000,"timestamp_seconds":1780399362,"priority":1,"record_length":96,"hex_timestamp":"0000019e88124fd0"} 
[2026-06-02 16:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 16:58:00] 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-06-02 16: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-06-02 16:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:58: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-06-02 16:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782159616001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782159616001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782159616001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":89889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:00] local.INFO: GPS data processed {"connection_id":89889,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:00] local.INFO: Acknowledgment sent {"connection_id":89889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:08] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8815f568012d7aeb4005e39ec8000b01521e..."} 
[2026-06-02 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8815f568012d7aeb4005e39ec8000b01521e..."} 
[2026-06-02 16:58:08] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8815f568012d7aeb4005e39ec8000b01521e..."} 
[2026-06-02 16:58:08] local.INFO: Packet analysis {"connection_id":89981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:58:08] local.INFO: Extracted packet for processing {"connection_id":89981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8815"} 
[2026-06-02 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98803400,"longitude_deg":76.3030336,"latitude_deg":9.88034,"altitude":11,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d7aeb40","hex_latitude":"05e39ec8","is_valid_coordinates":true} 
[2026-06-02 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782292480001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87898301008969728,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859636023492515840,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780399601000,"timestamp_ms":1780399601000,"timestamp_seconds":1780399601,"priority":1,"record_length":96,"hex_timestamp":"0000019e8815f568"} 
[2026-06-02 16:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-02 16:58:08] 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-06-02 16: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-06-02 16:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":89981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":89981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":89981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782292480001,"66":12667,"97":206,"85":15104,"24":0,"16":87898301008969728,"45":8859636023492515840},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782292480001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87898301008969728,"km_value":87898301008969.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859636023492515840,"description":"Unknown IO ID 45"} 
[2026-06-02 16:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782292480001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8859636023492515840}} 
[2026-06-02 16:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":89981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:08] local.INFO: GPS data processed {"connection_id":89981,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:08] local.INFO: Acknowledgment sent {"connection_id":89981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:18] local.INFO: TCP Data received {"connection_id":89608,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:58:18] local.INFO: Processing buffer {"connection_id":89608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:58:18] local.INFO: IMEI packet received {"connection_id":89608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":89608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:58:23] local.INFO: TCP Data received {"connection_id":91069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:58:23] local.INFO: Processing buffer {"connection_id":91069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:58:23] local.INFO: IMEI packet received {"connection_id":91069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":91069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:58:23] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:58:23] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:58:23] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:58:24] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.42","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 16:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 16:58:24] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 16:58:24] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:58:28] local.INFO: TCP Data received {"connection_id":91069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:58:28] local.INFO: Processing buffer {"connection_id":91069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:58:28] local.INFO: IMEI packet received {"connection_id":91069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":91069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:58:29] local.INFO: TCP Data received {"connection_id":91069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:58:29] local.INFO: Processing buffer {"connection_id":91069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:58:29] local.INFO: Packet analysis {"connection_id":91069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:58:29] local.INFO: Extracted packet for processing {"connection_id":91069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 16:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58: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-06-02 16:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 16:58: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-06-02 16:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:58: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-06-02 16:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":91069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:29] local.INFO: GPS data processed {"connection_id":91069,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:29] local.INFO: Acknowledgment sent {"connection_id":91069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:34] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.42","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e88..."} 
[2026-06-02 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e88..."} 
[2026-06-02 16:58:34] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 16:58:34] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:58:36] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881787c0012d7acac005e411f0000601301e..."} 
[2026-06-02 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881787c0012d7acac005e411f0000601301e..."} 
[2026-06-02 16:58:36] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019e88..."} 
[2026-06-02 16:58:36] local.INFO: IMEI packet received {"connection_id":89610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":89610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:58:38] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88178ba8012d7ac9c005e411d80006010f1e..."} 
[2026-06-02 16:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88178ba8012d7ac9c005e411d80006010f1e..."} 
[2026-06-02 16:58:38] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019e88160120012d7aea8005e3a008000c01631e..."} 
[2026-06-02 16:58:38] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:58:38] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763030144,"raw_latitude":98803720,"longitude_deg":76.3030144,"latitude_deg":9.880372,"altitude":12,"angle":355,"satellites":30,"speed":3,"hex_longitude":"2d7aea80","hex_latitude":"05e3a008","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782297856001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87898318188838912,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243486192060416,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780399604000,"timestamp_ms":1780399604000,"timestamp_seconds":1780399604,"priority":1,"record_length":96,"hex_timestamp":"0000019e88160120"} 
[2026-06-02 16:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58: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-06-02 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 16:58:38] 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-06-02 16: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-06-02 16:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782297856001,"66":12743,"97":206,"85":15104,"24":3,"16":87898318188838912,"45":8857243486192060416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782297856001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87898318188838912,"km_value":87898318188838.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243486192060416,"description":"Unknown IO ID 45"} 
[2026-06-02 16:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782297856001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8857243486192060416}} 
[2026-06-02 16:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:38] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:38] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:38] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:38] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832880,"longitude_deg":76.3022016,"latitude_deg":9.883288,"altitude":6,"angle":304,"satellites":30,"speed":10,"hex_longitude":"2d7acac0","hex_latitude":"05e411f0","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782323968001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87899808542490624,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655689011200,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780399704000,"timestamp_ms":1780399704000,"timestamp_seconds":1780399704,"priority":1,"record_length":96,"hex_timestamp":"0000019e881787c0"} 
[2026-06-02 16:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58: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-06-02 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 16:58:38] 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-06-02 16: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-06-02 16:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782323968001,"66":12874,"97":206,"85":15104,"24":10,"16":87899808542490624,"45":8848306655689011200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782323968001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87899808542490624,"km_value":87899808542490.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655689011200,"description":"Unknown IO ID 45"} 
[2026-06-02 16:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782323968001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848306655689011200}} 
[2026-06-02 16:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:38] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:38] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:38] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:38] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":98832856,"longitude_deg":76.302176,"latitude_deg":9.8832856,"altitude":6,"angle":271,"satellites":30,"speed":7,"hex_longitude":"2d7ac9c0","hex_latitude":"05e411d8","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782324224001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87899817132425216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456510976,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780399705000,"timestamp_ms":1780399705000,"timestamp_seconds":1780399705,"priority":1,"record_length":96,"hex_timestamp":"0000019e88178ba8"} 
[2026-06-02 16:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58: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-06-02 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 16:58:38] 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-06-02 16: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-06-02 16:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782324224001,"66":12874,"97":206,"85":15104,"24":7,"16":87899817132425216,"45":8848095549456510976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782324224001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87899817132425216,"km_value":87899817132425.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456510976,"description":"Unknown IO ID 45"} 
[2026-06-02 16:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782324224001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8848095549456510976}} 
[2026-06-02 16:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:38] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:38] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:39] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88178f90012d7ac90005e41198000700fd1e..."} 
[2026-06-02 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88178f90012d7ac90005e41198000700fd1e..."} 
[2026-06-02 16:58:39] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88178f90012d7ac90005e41198000700fd1e..."} 
[2026-06-02 16:58:39] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:39] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98832792,"longitude_deg":76.3021568,"latitude_deg":9.8832792,"altitude":7,"angle":253,"satellites":30,"speed":8,"hex_longitude":"2d7ac900","hex_latitude":"05e41198","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782324480001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87899830017327104,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074479794176,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780399706000,"timestamp_ms":1780399706000,"timestamp_seconds":1780399706,"priority":1,"record_length":96,"hex_timestamp":"0000019e88178f90"} 
[2026-06-02 16:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58: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-06-02 16:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 16:58:39] 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-06-02 16: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-06-02 16:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782324480001,"66":13102,"97":206,"85":15104,"24":8,"16":87899830017327104,"45":8847814074479794176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782324480001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87899830017327104,"km_value":87899830017327.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074479794176,"description":"Unknown IO ID 45"} 
[2026-06-02 16:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782324480001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8847814074479794176}} 
[2026-06-02 16:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:39] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:39] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:58:40] local.INFO: TCP Data received {"connection_id":89610,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8817b2b8012d7ab88005e40df8000701091e..."} 
[2026-06-02 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8817b2b8012d7ab88005e40df8000701091e..."} 
[2026-06-02 16:58:40] local.INFO: Processing buffer {"connection_id":89610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8817b2b8012d7ab88005e40df8000701091e..."} 
[2026-06-02 16:58:40] local.INFO: Packet analysis {"connection_id":89610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:40] local.INFO: Extracted packet for processing {"connection_id":89610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8817"} 
[2026-06-02 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763017344,"raw_latitude":98831864,"longitude_deg":76.3017344,"latitude_deg":9.8831864,"altitude":7,"angle":265,"satellites":30,"speed":20,"hex_longitude":"2d7ab880","hex_latitude":"05e40df8","is_valid_coordinates":true} 
[2026-06-02 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782324736001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87900036175757312,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847602968247244800,"note":"Value kept but may cause issues"} 
[2026-06-02 16:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780399715000,"timestamp_ms":1780399715000,"timestamp_seconds":1780399715,"priority":1,"record_length":96,"hex_timestamp":"0000019e8817b2b8"} 
[2026-06-02 16:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 16:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782324736001,"66":12200,"97":206,"85":15104,"24":20,"16":87900036175757312,"45":8847602968247244800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782324736001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87900036175757312,"km_value":87900036175757.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847602968247244800,"description":"Unknown IO ID 45"} 
[2026-06-02 16:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782324736001,"power":12200,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8847602968247244800}} 
[2026-06-02 16:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":89610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:58:40] local.INFO: GPS data processed {"connection_id":89610,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:58:40] local.INFO: Acknowledgment sent {"connection_id":89610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:59:00] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:59:00] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 16:59:00] local.INFO: IMEI packet received {"connection_id":89890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 16:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":89890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:59:00] local.INFO: TCP Data received {"connection_id":91069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:00] local.INFO: Processing buffer {"connection_id":91069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:00] local.INFO: Packet analysis {"connection_id":91069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:59:00] local.INFO: Extracted packet for processing {"connection_id":91069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 16:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 16:59: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-06-02 16: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-06-02 16:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:59: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-06-02 16:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:59:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":91069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:59:00] local.INFO: GPS data processed {"connection_id":91069,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:59:00] local.INFO: Acknowledgment sent {"connection_id":91069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:59:24] local.INFO: TCP Data received {"connection_id":91070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:59:24] local.INFO: Processing buffer {"connection_id":91070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:59:24] local.INFO: IMEI packet received {"connection_id":91070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 16:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":91070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:59:28] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:59:28] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:59:28] local.INFO: IMEI packet received {"connection_id":89982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 16:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":89982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 16:59:28] local.INFO: TCP Data received {"connection_id":91070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:59:28] local.INFO: Processing buffer {"connection_id":91070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 16:59:28] local.INFO: IMEI packet received {"connection_id":91070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 16:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":91070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:59:29] local.INFO: TCP Data received {"connection_id":91070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:29] local.INFO: Processing buffer {"connection_id":91070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:29] local.INFO: Packet analysis {"connection_id":91070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:59:29] local.INFO: Extracted packet for processing {"connection_id":91070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:59:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 16:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:59: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-06-02 16: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":25,"data_length":795,"current_offset":136} 
[2026-06-02 16:59: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-06-02 16: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-06-02 16:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:59:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":91070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:59:29] local.INFO: GPS data processed {"connection_id":91070,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:59:29] local.INFO: Acknowledgment sent {"connection_id":91070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:59:34] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:59:34] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 16:59:34] local.INFO: IMEI packet received {"connection_id":89982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 16:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":89982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 16:59:34] local.INFO: TCP Data received {"connection_id":91070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:34] local.INFO: Processing buffer {"connection_id":91070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 16:59:34] local.INFO: Packet analysis {"connection_id":91070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:59:34] local.INFO: Extracted packet for processing {"connection_id":91070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 16: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-06-02 16:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 16:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 16:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 16: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-06-02 16:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 16:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 16:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 16:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 16:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 16:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 16:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:59:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 16:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 16:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 16:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 16:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":91070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:59:34] local.INFO: GPS data processed {"connection_id":91070,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:59:34] local.INFO: Acknowledgment sent {"connection_id":91070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 16:59:35] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881800d8012d7aa18005e409800009010b1f..."} 
[2026-06-02 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881800d8012d7aa18005e409800009010b1f..."} 
[2026-06-02 16:59:35] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881800d8012d7aa18005e409800009010b1f..."} 
[2026-06-02 16:59:35] local.INFO: Packet analysis {"connection_id":89982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8818"} 
[2026-06-02 16:59:35] local.INFO: Extracted packet for processing {"connection_id":89982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8818"} 
[2026-06-02 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763011456,"raw_latitude":98830720,"longitude_deg":76.3011456,"latitude_deg":9.883072,"altitude":9,"angle":267,"satellites":31,"speed":0,"hex_longitude":"2d7aa180","hex_latitude":"05e40980","is_valid_coordinates":true} 
[2026-06-02 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 16:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782327040001,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87900336823468032,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842958631131281408,"note":"Value kept but may cause issues"} 
[2026-06-02 16:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 16:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780399735000,"timestamp_ms":1780399735000,"timestamp_seconds":1780399735,"priority":1,"record_length":96,"hex_timestamp":"0000019e881800d8"} 
[2026-06-02 16:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 16:59: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-06-02 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-02 16:59:35] 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-06-02 16:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 16:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 16:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 16:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 16:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 16:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 16:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 16:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 16:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782327040001,"66":12798,"97":206,"85":15104,"24":0,"16":87900336823468032,"45":8842958631131281408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 16:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 16:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 16:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782327040001,"description":"Unknown IO ID 0"} 
[2026-06-02 16:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 16:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 16:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87900336823468032,"km_value":87900336823468.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 16:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842958631131281408,"description":"Unknown IO ID 45"} 
[2026-06-02 16:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782327040001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8842958631131281408}} 
[2026-06-02 16:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":89982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 16:59:35] local.INFO: GPS data processed {"connection_id":89982,"processed":1,"errors":0,"total":1} 
[2026-06-02 16:59:35] local.INFO: Acknowledgment sent {"connection_id":89982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:00:07] local.INFO: TCP Data received {"connection_id":91070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:00:07] local.INFO: Processing buffer {"connection_id":91070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:00:07] local.INFO: Packet analysis {"connection_id":91070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:07] local.INFO: Extracted packet for processing {"connection_id":91070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 17:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":91070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":91070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":91070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:00:07] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:00:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":91070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:00:07] local.INFO: GPS data processed {"connection_id":91070,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:00:07] local.INFO: Acknowledgment sent {"connection_id":91070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:00:12] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88181460012d7aa2c005e40990000800691e..."} 
[2026-06-02 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88181460012d7aa2c005e40990000800691e..."} 
[2026-06-02 17:00:12] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88181460012d7aa2c005e40990000800691e..."} 
[2026-06-02 17:00:12] local.INFO: Packet analysis {"connection_id":89982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8818"} 
[2026-06-02 17:00:12] local.INFO: Extracted packet for processing {"connection_id":89982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8818"} 
[2026-06-02 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763011776,"raw_latitude":98830736,"longitude_deg":76.3011776,"latitude_deg":9.8830736,"altitude":8,"angle":105,"satellites":30,"speed":2,"hex_longitude":"2d7aa2c0","hex_latitude":"05e40990","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782332160001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87900354003337216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836484706666643456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780399740000,"timestamp_ms":1780399740000,"timestamp_seconds":1780399740,"priority":1,"record_length":96,"hex_timestamp":"0000019e88181460"} 
[2026-06-02 17:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 17:00:12] 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-06-02 17: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-06-02 17:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782332160001,"66":12798,"97":206,"85":15104,"24":2,"16":87900354003337216,"45":8836484706666643456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782332160001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:00:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87900354003337216,"km_value":87900354003337.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836484706666643456,"description":"Unknown IO ID 45"} 
[2026-06-02 17:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782332160001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8836484706666643456}} 
[2026-06-02 17:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":89982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:00:12] local.INFO: GPS data processed {"connection_id":89982,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:00:12] local.INFO: Acknowledgment sent {"connection_id":89982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:00:14] local.INFO: TCP Data received {"connection_id":89983,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:00:14] local.INFO: Processing buffer {"connection_id":89983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:00:14] local.INFO: IMEI packet received {"connection_id":89983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":89983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:00:15] local.INFO: TCP Data received {"connection_id":89983,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88169590012d1a3ec0071f86b0003400d42b..."} 
[2026-06-02 17:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88169590012d1a3ec0071f86b0003400d42b..."} 
[2026-06-02 17:00:15] local.INFO: Processing buffer {"connection_id":89983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88169590012d1a3ec0071f86b0003400d42b..."} 
[2026-06-02 17:00:15] local.INFO: Packet analysis {"connection_id":89983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:15] local.INFO: Extracted packet for processing {"connection_id":89983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119506608,"longitude_deg":75.669472,"latitude_deg":11.9506608,"altitude":52,"angle":212,"satellites":43,"speed":5,"hex_longitude":"2d1a3ec0","hex_latitude":"071f86b0","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782307584001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398416384589824,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891230399112722432,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780399642000,"timestamp_ms":1780399642000,"timestamp_seconds":1780399642,"priority":1,"record_length":96,"hex_timestamp":"0000019e88169590"} 
[2026-06-02 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-06-02 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 17:00:15] 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-06-02 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-06-02 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-06-02 17:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:00:15] 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-06-02 17:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782307584001,"66":13048,"101":206,"83":41984,"24":5,"16":125398416384589824,"45":1891230399112722432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782307584001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:00:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398416384589824,"km_value":125398416384589.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891230399112722432,"description":"Unknown IO ID 45"} 
[2026-06-02 17:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782307584001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1891230399112722432}} 
[2026-06-02 17:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":89983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:00:15] local.INFO: GPS data processed {"connection_id":89983,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:00:15] local.INFO: Acknowledgment sent {"connection_id":89983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:00:21] local.INFO: TCP Data received {"connection_id":91071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:21] local.INFO: Processing buffer {"connection_id":91071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:21] local.INFO: IMEI packet received {"connection_id":91071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":91071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:00:23] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:00:23] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:00:23] local.INFO: IMEI packet received {"connection_id":89892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":89892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:00:23] local.INFO: TCP Data received {"connection_id":91071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:23] local.INFO: Processing buffer {"connection_id":91071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:23] local.INFO: IMEI packet received {"connection_id":91071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":91071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:00:24] local.INFO: TCP Data received {"connection_id":91071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:24] local.INFO: Processing buffer {"connection_id":91071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:24] local.INFO: IMEI packet received {"connection_id":91071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":91071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:00:25] local.INFO: TCP Data received {"connection_id":91071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:25] local.INFO: Processing buffer {"connection_id":91071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:00:25] local.INFO: IMEI packet received {"connection_id":91071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":91071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:00:28] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:00:28] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:00:28] local.INFO: IMEI packet received {"connection_id":89892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":89892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:00:29] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:00:29] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:00:29] local.INFO: Packet analysis {"connection_id":89892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:29] local.INFO: Extracted packet for processing {"connection_id":89892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 17:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:00: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-06-02 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:00: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-06-02 17: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-06-02 17:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:00:29] 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-06-02 17:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:00:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":89892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:00:29] local.INFO: GPS data processed {"connection_id":89892,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:00:29] local.INFO: Acknowledgment sent {"connection_id":89892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:00:46] local.INFO: TCP Data received {"connection_id":89983,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88169d60012d1a3e40071f8598003400c92b..."} 
[2026-06-02 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88169d60012d1a3e40071f8598003400c92b..."} 
[2026-06-02 17:00:46] local.INFO: Processing buffer {"connection_id":89983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88169d60012d1a3e40071f8598003400c92b..."} 
[2026-06-02 17:00:46] local.INFO: Packet analysis {"connection_id":89983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:46] local.INFO: Extracted packet for processing {"connection_id":89983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756694592,"raw_latitude":119506328,"longitude_deg":75.6694592,"latitude_deg":11.9506328,"altitude":52,"angle":201,"satellites":43,"speed":7,"hex_longitude":"2d1a3e40","hex_latitude":"071f8598","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782308352001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398429269491712,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368411648,"note":"Value kept but may cause issues"} 
[2026-06-02 17:00: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-06-02 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780399644000,"timestamp_ms":1780399644000,"timestamp_seconds":1780399644,"priority":1,"record_length":96,"hex_timestamp":"0000019e88169d60"} 
[2026-06-02 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-06-02 17: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-06-02 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 17:00:46] 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-06-02 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-06-02 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-06-02 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:00: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-06-02 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782308352001,"66":13102,"101":206,"83":41984,"24":7,"16":125398429269491712,"45":1891160030368411648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782308352001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:00:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398429269491712,"km_value":125398429269491.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368411648,"description":"Unknown IO ID 45"} 
[2026-06-02 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782308352001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1891160030368411648}} 
[2026-06-02 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":89983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:00:46] local.INFO: GPS data processed {"connection_id":89983,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:00:46] local.INFO: Acknowledgment sent {"connection_id":89983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:01:00] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:01:00] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:01:00] local.INFO: Packet analysis {"connection_id":89892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:01:00] local.INFO: Extracted packet for processing {"connection_id":89892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:01:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 17:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:01: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-06-02 17: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-06-02 17:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:01:00] 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-06-02 17:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:01:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":89892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:01:00] local.INFO: GPS data processed {"connection_id":89892,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:01:00] local.INFO: Acknowledgment sent {"connection_id":89892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:01:10] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:01:10] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:01:10] local.INFO: IMEI packet received {"connection_id":89613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":89613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:01:15] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:01:15] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:01:15] local.INFO: IMEI packet received {"connection_id":89613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":89613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:01:16] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816a148012d1a3e40071f8500003300bb29..."} 
[2026-06-02 17:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816a148012d1a3e40071f8500003300bb29..."} 
[2026-06-02 17:01:16] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816a148012d1a3e40071f8500003300bb29..."} 
[2026-06-02 17:01:16] local.INFO: Packet analysis {"connection_id":89613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:01:16] local.INFO: Extracted packet for processing {"connection_id":89613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756694592,"raw_latitude":119506176,"longitude_deg":75.6694592,"latitude_deg":11.9506176,"altitude":51,"angle":187,"satellites":41,"speed":7,"hex_longitude":"2d1a3e40","hex_latitude":"071f8500","is_valid_coordinates":true} 
[2026-06-02 17:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782308864001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398437859426304,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891019292879984640,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01: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-06-02 17:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780399645000,"timestamp_ms":1780399645000,"timestamp_seconds":1780399645,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816a148"} 
[2026-06-02 17:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:01: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-06-02 17:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 17:01:16] 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-06-02 17:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:01:16] 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-06-02 17:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782308864001,"66":13102,"101":206,"83":41984,"24":7,"16":125398437859426304,"45":1891019292879984640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782308864001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:01:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398437859426304,"km_value":125398437859426.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891019292879984640,"description":"Unknown IO ID 45"} 
[2026-06-02 17:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782308864001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1891019292879984640}} 
[2026-06-02 17:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":89613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:01:16] local.INFO: GPS data processed {"connection_id":89613,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:01:16] local.INFO: Acknowledgment sent {"connection_id":89613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:01:23] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:01:23] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:01:23] local.INFO: IMEI packet received {"connection_id":89984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":89984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:01:28] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:01:28] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:01:28] local.INFO: IMEI packet received {"connection_id":89984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":89984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:01:29] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:01:29] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:01:29] local.INFO: Packet analysis {"connection_id":89984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:01:29] local.INFO: Extracted packet for processing {"connection_id":89984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:01:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 17:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:01: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-06-02 17:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:01:29] 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-06-02 17:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:01:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":89984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:01:29] local.INFO: GPS data processed {"connection_id":89984,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:01:29] local.INFO: Acknowledgment sent {"connection_id":89984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:01:47] local.INFO: TCP Data received {"connection_id":89613,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88194510012d1a4040071f81280048011427..."} 
[2026-06-02 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88194510012d1a4040071f81280048011427..."} 
[2026-06-02 17:01:47] local.INFO: Processing buffer {"connection_id":89613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88194510012d1a4040071f81280048011427..."} 
[2026-06-02 17:01:47] local.INFO: Packet analysis {"connection_id":89613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8819"} 
[2026-06-02 17:01:47] local.INFO: Extracted packet for processing {"connection_id":89613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8819"} 
[2026-06-02 17:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782348032001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890667449158891520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:01: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-06-02 17:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780399818000,"timestamp_ms":1780399818000,"timestamp_seconds":1780399818,"priority":1,"record_length":96,"hex_timestamp":"0000019e88194510"} 
[2026-06-02 17:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:01: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-06-02 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 17:01: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-06-02 17: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-06-02 17:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:01:47] 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-06-02 17:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782348032001,"66":12885,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1890667449158891520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782348032001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:01:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890667449158891520,"description":"Unknown IO ID 45"} 
[2026-06-02 17:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782348032001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890667449158891520}} 
[2026-06-02 17:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":89613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:01:47] local.INFO: GPS data processed {"connection_id":89613,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:01:47] local.INFO: Acknowledgment sent {"connection_id":89613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:02:00] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:02:00] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:02:00] local.INFO: Packet analysis {"connection_id":89984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:02:00] local.INFO: Extracted packet for processing {"connection_id":89984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:02:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 17:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:02: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-06-02 17:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:02:00] 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-06-02 17:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:02:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":89984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:02:00] local.INFO: GPS data processed {"connection_id":89984,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:02:00] local.INFO: Acknowledgment sent {"connection_id":89984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:02:05] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:02:05] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:02:05] local.INFO: IMEI packet received {"connection_id":89986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":89986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:02:10] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:02:10] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:02:10] local.INFO: IMEI packet received {"connection_id":89986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":89986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:02:10] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88199718012d1a4040071f81280048011424..."} 
[2026-06-02 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88199718012d1a4040071f81280048011424..."} 
[2026-06-02 17:02:10] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88199718012d1a4040071f81280048011424..."} 
[2026-06-02 17:02:10] local.INFO: Packet analysis {"connection_id":89986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8819"} 
[2026-06-02 17:02:10] local.INFO: Extracted packet for processing {"connection_id":89986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8819"} 
[2026-06-02 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782353408001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780399839000,"timestamp_ms":1780399839000,"timestamp_seconds":1780399839,"priority":1,"record_length":96,"hex_timestamp":"0000019e88199718"} 
[2026-06-02 17:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:02: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-06-02 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 17:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:02:10] 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-06-02 17:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782353408001,"66":12798,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782353408001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:02:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782353408001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":89986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:02:10] local.INFO: GPS data processed {"connection_id":89986,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:02:10] local.INFO: Acknowledgment sent {"connection_id":89986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:02:23] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:02:23] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:02:23] local.INFO: IMEI packet received {"connection_id":89894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":89894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:02:28] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:02:28] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:02:28] local.INFO: IMEI packet received {"connection_id":89894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":89894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:02:29] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:02:29] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:02:29] local.INFO: Packet analysis {"connection_id":89894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:02:29] local.INFO: Extracted packet for processing {"connection_id":89894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:02: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-06-02 17:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 17:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:02: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-06-02 17:02: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-06-02 17:02: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-06-02 17:02: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-06-02 17:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:02: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-06-02 17:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:02:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":89894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:02:29] local.INFO: GPS data processed {"connection_id":89894,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:02:29] local.INFO: Acknowledgment sent {"connection_id":89894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:02:41] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8819e920012d1a4040071f81280048011424..."} 
[2026-06-02 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8819e920012d1a4040071f81280048011424..."} 
[2026-06-02 17:02:41] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8819e920012d1a4040071f81280048011424..."} 
[2026-06-02 17:02:41] local.INFO: Packet analysis {"connection_id":89986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8819"} 
[2026-06-02 17:02:41] local.INFO: Extracted packet for processing {"connection_id":89986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8819"} 
[2026-06-02 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782358784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780399860000,"timestamp_ms":1780399860000,"timestamp_seconds":1780399860,"priority":1,"record_length":96,"hex_timestamp":"0000019e8819e920"} 
[2026-06-02 17:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 17:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:02:41] 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-06-02 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782358784001,"66":12819,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782358784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:02:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782358784001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":89986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:02:41] local.INFO: GPS data processed {"connection_id":89986,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:02:41] local.INFO: Acknowledgment sent {"connection_id":89986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:03:00] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:03:00] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8816e798012cb29ac007823b00004900d92c..."} 
[2026-06-02 17:03:00] local.INFO: Packet analysis {"connection_id":89894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:03:00] local.INFO: Extracted packet for processing {"connection_id":89894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8816"} 
[2026-06-02 17:03:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782236672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399663000,"timestamp_ms":1780399663000,"timestamp_seconds":1780399663,"priority":1,"record_length":96,"hex_timestamp":"0000019e8816e798"} 
[2026-06-02 17:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:03: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-06-02 17: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-06-02 17:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:03: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-06-02 17:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782236672001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782236672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:03:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782236672001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":89894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:03:00] local.INFO: GPS data processed {"connection_id":89894,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:03:00] local.INFO: Acknowledgment sent {"connection_id":89894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:03:02] local.INFO: TCP Data received {"connection_id":91074,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:02] local.INFO: Processing buffer {"connection_id":91074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:02] local.INFO: IMEI packet received {"connection_id":91074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":91074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:03:05] local.INFO: TCP Data received {"connection_id":91074,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:05] local.INFO: Processing buffer {"connection_id":91074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:05] local.INFO: IMEI packet received {"connection_id":91074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":91074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:03:10] local.INFO: TCP Data received {"connection_id":91074,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:10] local.INFO: Processing buffer {"connection_id":91074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:03:10] local.INFO: IMEI packet received {"connection_id":91074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":91074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:03:10] local.INFO: TCP Data received {"connection_id":91074,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881a3b28012d1a4040071f81280048011424..."} 
[2026-06-02 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881a3b28012d1a4040071f81280048011424..."} 
[2026-06-02 17:03:10] local.INFO: Processing buffer {"connection_id":91074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881a3b28012d1a4040071f81280048011424..."} 
[2026-06-02 17:03:10] local.INFO: Packet analysis {"connection_id":91074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881a"} 
[2026-06-02 17:03:10] local.INFO: Extracted packet for processing {"connection_id":91074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881a"} 
[2026-06-02 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780399881000,"timestamp_ms":1780399881000,"timestamp_seconds":1780399881,"priority":1,"record_length":96,"hex_timestamp":"0000019e881a3b28"} 
[2026-06-02 17:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:03: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-06-02 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2283273456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505513056337920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":1705430500662459648,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2188902449,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4160826650,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":120,"raw_value":13793459907330048,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585463247277,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2168520704,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2270509104365638693,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84752817285701506,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,129,158,151,45,64,72,36,10,66,69,39,243,1,240,117,227,136,31,4,113,205,78,61,120,37,239,50,2,189,7,49,164,65,224],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-06-02 17:03:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188450390558900224,"timestamp_seconds":5188450390558900.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:03:10] 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-06-02 17:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782364160001,"66":12841,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:03:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782364160001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":91074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:03:10] local.INFO: GPS data processed {"connection_id":91074,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:03:10] local.INFO: Acknowledgment sent {"connection_id":91074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:03:22] local.INFO: TCP Data received {"connection_id":91075,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:22] local.INFO: Processing buffer {"connection_id":91075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:22] local.INFO: IMEI packet received {"connection_id":91075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":91075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:03:23] local.INFO: TCP Data received {"connection_id":91075,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:23] local.INFO: Processing buffer {"connection_id":91075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:23] local.INFO: IMEI packet received {"connection_id":91075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":91075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:03:28] local.INFO: TCP Data received {"connection_id":91075,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:28] local.INFO: Processing buffer {"connection_id":91075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:03:28] local.INFO: IMEI packet received {"connection_id":91075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":91075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:03:29] local.INFO: TCP Data received {"connection_id":91075,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:03:29] local.INFO: Processing buffer {"connection_id":91075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:03:29] local.INFO: Packet analysis {"connection_id":91075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:03:29] local.INFO: Extracted packet for processing {"connection_id":91075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:03:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:03:29] 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-06-02 17:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:03:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":91075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:03:29] local.INFO: GPS data processed {"connection_id":91075,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:03:29] local.INFO: Acknowledgment sent {"connection_id":91075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:03:41] local.INFO: TCP Data received {"connection_id":91074,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881a8d30012d1a4040071f81280048011427..."} 
[2026-06-02 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881a8d30012d1a4040071f81280048011427..."} 
[2026-06-02 17:03:42] local.INFO: Processing buffer {"connection_id":91074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881a8d30012d1a4040071f81280048011427..."} 
[2026-06-02 17:03:42] local.INFO: Packet analysis {"connection_id":91074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881a"} 
[2026-06-02 17:03:42] local.INFO: Extracted packet for processing {"connection_id":91074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881a"} 
[2026-06-02 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782369536001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780399902000,"timestamp_ms":1780399902000,"timestamp_seconds":1780399902,"priority":1,"record_length":96,"hex_timestamp":"0000019e881a8d30"} 
[2026-06-02 17:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 17:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:03:42] 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-06-02 17:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782369536001,"66":12776,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782369536001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:03:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782369536001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":91074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:03:42] local.INFO: GPS data processed {"connection_id":91074,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:03:42] local.INFO: Acknowledgment sent {"connection_id":91074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:04:00] local.INFO: TCP Data received {"connection_id":91075,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:00] local.INFO: Processing buffer {"connection_id":91075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:00] local.INFO: Packet analysis {"connection_id":91075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:00] local.INFO: Extracted packet for processing {"connection_id":91075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:04: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-06-02 17:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:04: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-06-02 17:04: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":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:04: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-06-02 17:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:04:00] 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-06-02 17:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:04:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":91075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:04:00] local.INFO: GPS data processed {"connection_id":91075,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:04:00] local.INFO: Acknowledgment sent {"connection_id":91075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:04:05] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:05] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:05] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:04:06] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:06] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:06] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:04:08] local.INFO: TCP Data received {"connection_id":89987,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:04:08] local.INFO: Processing buffer {"connection_id":89987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:04:08] local.INFO: IMEI packet received {"connection_id":89987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":89987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:04:10] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:10] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:04:10] local.INFO: IMEI packet received {"connection_id":89615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":89615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:04:10] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881adf38012d1a4040071f81280048011425..."} 
[2026-06-02 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881adf38012d1a4040071f81280048011425..."} 
[2026-06-02 17:04:10] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881adf38012d1a4040071f81280048011425..."} 
[2026-06-02 17:04:10] local.INFO: Packet analysis {"connection_id":89615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881a"} 
[2026-06-02 17:04:10] local.INFO: Extracted packet for processing {"connection_id":89615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881a"} 
[2026-06-02 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782374912001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780399923000,"timestamp_ms":1780399923000,"timestamp_seconds":1780399923,"priority":1,"record_length":96,"hex_timestamp":"0000019e881adf38"} 
[2026-06-02 17:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:04: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-06-02 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 17:04:10] 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-06-02 17: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-06-02 17:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:04:10] 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-06-02 17:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782374912001,"66":12776,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782374912001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:04:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782374912001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":89615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:04:10] local.INFO: GPS data processed {"connection_id":89615,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:04:10] local.INFO: Acknowledgment sent {"connection_id":89615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:04:28] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:04:28] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:04:28] local.INFO: IMEI packet received {"connection_id":89896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":89896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:04:33] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:04:33] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:04:33] local.INFO: IMEI packet received {"connection_id":89896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":89896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:04:34] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:34] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:34] local.INFO: Packet analysis {"connection_id":89896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:34] local.INFO: Extracted packet for processing {"connection_id":89896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:04:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":89896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:04:34] local.INFO: GPS data processed {"connection_id":89896,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:04:34] local.INFO: Acknowledgment sent {"connection_id":89896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:04:39] local.INFO: TCP Data received {"connection_id":89896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:39] local.INFO: Processing buffer {"connection_id":89896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:04:39] local.INFO: Packet analysis {"connection_id":89896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:39] local.INFO: Extracted packet for processing {"connection_id":89896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:04:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":89896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:04:39] local.INFO: GPS data processed {"connection_id":89896,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:04:39] local.INFO: Acknowledgment sent {"connection_id":89896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:04:41] local.INFO: TCP Data received {"connection_id":89615,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b3140012d1a4040071f81280048011427..."} 
[2026-06-02 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b3140012d1a4040071f81280048011427..."} 
[2026-06-02 17:04:41] local.INFO: Processing buffer {"connection_id":89615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b3140012d1a4040071f81280048011427..."} 
[2026-06-02 17:04:41] local.INFO: Packet analysis {"connection_id":89615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:41] local.INFO: Extracted packet for processing {"connection_id":89615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782380288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780399944000,"timestamp_ms":1780399944000,"timestamp_seconds":1780399944,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b3140"} 
[2026-06-02 17:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 17:04:41] 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-06-02 17:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:04:41] 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-06-02 17:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782380288001,"66":11721,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782380288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:04:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782380288001,"power":11721,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":89615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:04:42] local.INFO: GPS data processed {"connection_id":89615,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:04:42] local.INFO: Acknowledgment sent {"connection_id":89615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:05:06] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:06] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:06] local.INFO: IMEI packet received {"connection_id":89616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":89616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:05:08] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:08] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:08] local.INFO: IMEI packet received {"connection_id":89616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":89616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:05:10] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:10] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:05:10] local.INFO: IMEI packet received {"connection_id":89616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":89616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:05:10] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b8348012d1a4040071f81280048011426..."} 
[2026-06-02 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b8348012d1a4040071f81280048011426..."} 
[2026-06-02 17:05:10] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b8348012d1a4040071f81280048011426..."} 
[2026-06-02 17:05:10] local.INFO: Packet analysis {"connection_id":89616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:10] local.INFO: Extracted packet for processing {"connection_id":89616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782385664001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780399965000,"timestamp_ms":1780399965000,"timestamp_seconds":1780399965,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b8348"} 
[2026-06-02 17:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:05: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-06-02 17:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-02 17:05:10] 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-06-02 17:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:05:10] 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-06-02 17:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782385664001,"66":12765,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782385664001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782385664001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":89616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:05:10] local.INFO: GPS data processed {"connection_id":89616,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:05:10] local.INFO: Acknowledgment sent {"connection_id":89616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:05:15] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881bd550012d1a4040071f81280048011422..."} 
[2026-06-02 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881bd550012d1a4040071f81280048011422..."} 
[2026-06-02 17:05:15] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881bd550012d1a4040071f81280048011422..."} 
[2026-06-02 17:05:15] local.INFO: Packet analysis {"connection_id":89616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:15] local.INFO: Extracted packet for processing {"connection_id":89616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782391040001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780399986000,"timestamp_ms":1780399986000,"timestamp_seconds":1780399986,"priority":1,"record_length":96,"hex_timestamp":"0000019e881bd550"} 
[2026-06-02 17:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 17:05:15] 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-06-02 17:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:05:15] 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-06-02 17:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782391040001,"66":12689,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782391040001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:05:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782391040001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":89616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:05:15] local.INFO: GPS data processed {"connection_id":89616,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:05:15] local.INFO: Acknowledgment sent {"connection_id":89616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:05:25] local.INFO: TCP Data received {"connection_id":91076,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:05:25] local.INFO: Processing buffer {"connection_id":91076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:05:25] local.INFO: IMEI packet received {"connection_id":91076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":91076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:05:28] local.INFO: TCP Data received {"connection_id":91076,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:05:28] local.INFO: Processing buffer {"connection_id":91076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:05:28] local.INFO: IMEI packet received {"connection_id":91076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":91076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:05:29] local.INFO: TCP Data received {"connection_id":91076,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:05:29] local.INFO: Processing buffer {"connection_id":91076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:05:29] local.INFO: Packet analysis {"connection_id":91076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:29] local.INFO: Extracted packet for processing {"connection_id":91076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:05: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-06-02 17: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-06-02 17:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:05:29] 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-06-02 17:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:05:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":91076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:05:29] local.INFO: GPS data processed {"connection_id":91076,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:05:29] local.INFO: Acknowledgment sent {"connection_id":91076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:05:31] local.INFO: TCP Data received {"connection_id":91077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:05:31] local.INFO: Processing buffer {"connection_id":91077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:05:31] local.INFO: IMEI packet received {"connection_id":91077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":91077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:05:33] local.INFO: TCP Data received {"connection_id":91077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881dc180012d7a298005e46060000a014821..."} 
[2026-06-02 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881dc180012d7a298005e46060000a014821..."} 
[2026-06-02 17:05:33] local.INFO: Processing buffer {"connection_id":91077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881dc180012d7a298005e46060000a014821..."} 
[2026-06-02 17:05:33] local.INFO: Packet analysis {"connection_id":91077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:05:33] local.INFO: Extracted packet for processing {"connection_id":91077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":762980736,"raw_latitude":98852960,"longitude_deg":76.2980736,"latitude_deg":9.885296,"altitude":10,"angle":328,"satellites":33,"speed":24,"hex_longitude":"2d7a2980","hex_latitude":"05e46060","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782428160001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87908381297213440,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803552134396921856,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780400112000,"timestamp_ms":1780400112000,"timestamp_seconds":1780400112,"priority":1,"record_length":96,"hex_timestamp":"0000019e881dc180"} 
[2026-06-02 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-06-02 17:05: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-06-02 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663846,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399435,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2283622456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-02 17:05:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832053760,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,80,158,181,45,90,9,32,10,66,177,192,150,1,240,79,227,136,228,4,113,205,84,100,152,33,239,52,2,56,5,13,11],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-02 17:05:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720920224959102976,"timestamp_seconds":720920224959103.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782428160001,"66":13037,"97":206,"85":15104,"24":24,"16":87908381297213440,"45":8803552134396921856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782428160001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87908381297213440,"km_value":87908381297213.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803552134396921856,"description":"Unknown IO ID 45"} 
[2026-06-02 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782428160001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8803552134396921856}} 
[2026-06-02 17:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":91077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:05:34] local.INFO: GPS data processed {"connection_id":91077,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:05:34] local.INFO: Acknowledgment sent {"connection_id":91077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:05:34] local.INFO: TCP Data received {"connection_id":91076,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:05:34] local.INFO: Processing buffer {"connection_id":91076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:05:34] local.INFO: Packet analysis {"connection_id":91076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:34] local.INFO: Extracted packet for processing {"connection_id":91076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:05:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:05:34] 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-06-02 17:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:05:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:05:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":91076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:05:34] local.INFO: GPS data processed {"connection_id":91076,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:05:34] local.INFO: Acknowledgment sent {"connection_id":91076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:05:46] local.INFO: TCP Data received {"connection_id":89616,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881c2758012d1a4040071f81280048011424..."} 
[2026-06-02 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881c2758012d1a4040071f81280048011424..."} 
[2026-06-02 17:05:46] local.INFO: Processing buffer {"connection_id":89616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881c2758012d1a4040071f81280048011424..."} 
[2026-06-02 17:05:46] local.INFO: Packet analysis {"connection_id":89616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881c"} 
[2026-06-02 17:05:46] local.INFO: Extracted packet for processing {"connection_id":89616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881c"} 
[2026-06-02 17:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782396416001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:05: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-06-02 17:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780400007000,"timestamp_ms":1780400007000,"timestamp_seconds":1780400007,"priority":1,"record_length":96,"hex_timestamp":"0000019e881c2758"} 
[2026-06-02 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-06-02 17:05: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-06-02 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 17:05:46] 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-06-02 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-06-02 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-06-02 17:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:05: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-06-02 17:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782396416001,"66":11754,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782396416001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:05:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782396416001,"power":11754,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":89616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:05:47] local.INFO: GPS data processed {"connection_id":89616,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:05:47] local.INFO: Acknowledgment sent {"connection_id":89616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:06:05] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:06:05] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:06:05] local.INFO: IMEI packet received {"connection_id":89618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":89618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:06:06] local.INFO: TCP Data received {"connection_id":91077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881dd508012d7a248005e46808000c012622..."} 
[2026-06-02 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881dd508012d7a248005e46808000c012622..."} 
[2026-06-02 17:06:06] local.INFO: Processing buffer {"connection_id":91077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881dd508012d7a248005e46808000c012622..."} 
[2026-06-02 17:06:06] local.INFO: Packet analysis {"connection_id":91077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:06:06] local.INFO: Extracted packet for processing {"connection_id":91077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762979456,"raw_latitude":98854920,"longitude_deg":76.2979456,"latitude_deg":9.885492,"altitude":12,"angle":294,"satellites":34,"speed":10,"hex_longitude":"2d7a2480","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-06-02 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782428672001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87908492966363136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709467058176,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780400117000,"timestamp_ms":1780400117000,"timestamp_seconds":1780400117,"priority":1,"record_length":96,"hex_timestamp":"0000019e881dd508"} 
[2026-06-02 17:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 17:06:06] 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-06-02 17:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":91077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":91077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":91077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782428672001,"66":12982,"97":206,"85":15104,"24":10,"16":87908492966363136,"45":8802707709467058176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782428672001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87908492966363136,"km_value":87908492966363.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709467058176,"description":"Unknown IO ID 45"} 
[2026-06-02 17:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782428672001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8802707709467058176}} 
[2026-06-02 17:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":91077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:06:06] local.INFO: GPS data processed {"connection_id":91077,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:06:06] local.INFO: Acknowledgment sent {"connection_id":91077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:06:07] local.INFO: TCP Data received {"connection_id":91076,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:06:07] local.INFO: Processing buffer {"connection_id":91076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:06:07] local.INFO: Packet analysis {"connection_id":91076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:06:07] local.INFO: Extracted packet for processing {"connection_id":91076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:06:07] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":91076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":91076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":91076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:06:07] 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-06-02 17:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:06:07] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:06:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":91076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:06:07] local.INFO: GPS data processed {"connection_id":91076,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:06:07] local.INFO: Acknowledgment sent {"connection_id":91076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:06:10] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:06:10] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:06:10] local.INFO: IMEI packet received {"connection_id":89618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":89618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:06:10] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881c7960012d1a4040071f81280048011425..."} 
[2026-06-02 17:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881c7960012d1a4040071f81280048011425..."} 
[2026-06-02 17:06:10] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881c7960012d1a4040071f81280048011425..."} 
[2026-06-02 17:06:10] local.INFO: Packet analysis {"connection_id":89618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881c"} 
[2026-06-02 17:06:10] local.INFO: Extracted packet for processing {"connection_id":89618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881c"} 
[2026-06-02 17:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782401792001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780400028000,"timestamp_ms":1780400028000,"timestamp_seconds":1780400028,"priority":1,"record_length":96,"hex_timestamp":"0000019e881c7960"} 
[2026-06-02 17:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:06: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-06-02 17:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-02 17:06:10] 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-06-02 17:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:06:10] 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-06-02 17:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782401792001,"66":12689,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782401792001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:06:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782401792001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":89618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:06:10] local.INFO: GPS data processed {"connection_id":89618,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:06:10] local.INFO: Acknowledgment sent {"connection_id":89618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:06:23] local.INFO: TCP Data received {"connection_id":91078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:06:23] local.INFO: Processing buffer {"connection_id":91078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:06:23] local.INFO: IMEI packet received {"connection_id":91078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":91078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:06:23] local.INFO: TCP Data received {"connection_id":91079,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:06:23] local.INFO: Processing buffer {"connection_id":91079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:06:23] local.INFO: IMEI packet received {"connection_id":91079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":91079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:06:28] local.INFO: TCP Data received {"connection_id":91078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:06:28] local.INFO: Processing buffer {"connection_id":91078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:06:28] local.INFO: IMEI packet received {"connection_id":91078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":91078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:06:29] local.INFO: TCP Data received {"connection_id":91078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:06:29] local.INFO: Processing buffer {"connection_id":91078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:06:29] local.INFO: Packet analysis {"connection_id":91078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:06:29] local.INFO: Extracted packet for processing {"connection_id":91078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:06: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-06-02 17: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-06-02 17:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:06:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":91078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:06:29] local.INFO: GPS data processed {"connection_id":91078,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:06:29] local.INFO: Acknowledgment sent {"connection_id":91078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:06:30] local.INFO: TCP Data received {"connection_id":91079,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:06:30] local.INFO: Processing buffer {"connection_id":91079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:06:30] local.INFO: IMEI packet received {"connection_id":91079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":91079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:06:32] local.INFO: TCP Data received {"connection_id":91079,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881dd8f0012d7a238005e46858000c011922..."} 
[2026-06-02 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881dd8f0012d7a238005e46858000c011922..."} 
[2026-06-02 17:06:32] local.INFO: Processing buffer {"connection_id":91079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881dd8f0012d7a238005e46858000c011922..."} 
[2026-06-02 17:06:32] local.INFO: Packet analysis {"connection_id":91079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:06:32] local.INFO: Extracted packet for processing {"connection_id":91079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":98855000,"longitude_deg":76.29792,"latitude_deg":9.8855,"altitude":12,"angle":281,"satellites":34,"speed":8,"hex_longitude":"2d7a2380","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-06-02 17:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782429952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87908505851265024,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801300334584006656,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780400118000,"timestamp_ms":1780400118000,"timestamp_seconds":1780400118,"priority":1,"record_length":96,"hex_timestamp":"0000019e881dd8f0"} 
[2026-06-02 17:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:06: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-06-02 17:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 17:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":91079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":91079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":91079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782429952001,"66":12961,"97":206,"85":15104,"24":8,"16":87908505851265024,"45":8801300334584006656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782429952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:06:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87908505851265024,"km_value":87908505851265.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801300334584006656,"description":"Unknown IO ID 45"} 
[2026-06-02 17:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782429952001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8801300334584006656}} 
[2026-06-02 17:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":91079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:06:32] local.INFO: GPS data processed {"connection_id":91079,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:06:32] local.INFO: Acknowledgment sent {"connection_id":91079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:06:41] local.INFO: TCP Data received {"connection_id":89618,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881ccb68012d1a4040071f81280048011428..."} 
[2026-06-02 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881ccb68012d1a4040071f81280048011428..."} 
[2026-06-02 17:06:41] local.INFO: Processing buffer {"connection_id":89618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881ccb68012d1a4040071f81280048011428..."} 
[2026-06-02 17:06:41] local.INFO: Packet analysis {"connection_id":89618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881c"} 
[2026-06-02 17:06:41] local.INFO: Extracted packet for processing {"connection_id":89618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881c"} 
[2026-06-02 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782407168001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780400049000,"timestamp_ms":1780400049000,"timestamp_seconds":1780400049,"priority":1,"record_length":96,"hex_timestamp":"0000019e881ccb68"} 
[2026-06-02 17:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 17:06:41] 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-06-02 17:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:06:41] 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-06-02 17:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782407168001,"66":12689,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782407168001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:06:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782407168001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":89618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:06:41] local.INFO: GPS data processed {"connection_id":89618,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:06:41] local.INFO: Acknowledgment sent {"connection_id":89618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:07:00] local.INFO: TCP Data received {"connection_id":91078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:07:00] local.INFO: Processing buffer {"connection_id":91078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:07:00] local.INFO: Packet analysis {"connection_id":91078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:07:00] local.INFO: Extracted packet for processing {"connection_id":91078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:07:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:07: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-06-02 17:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:07: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-06-02 17:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:07:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:07:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":91078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:07:00] local.INFO: GPS data processed {"connection_id":91078,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:07:00] local.INFO: Acknowledgment sent {"connection_id":91078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:07:08] local.INFO: TCP Data received {"connection_id":91079,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881ebf68012d79ffc005e463780006004c25..."} 
[2026-06-02 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881ebf68012d79ffc005e463780006004c25..."} 
[2026-06-02 17:07:08] local.INFO: Processing buffer {"connection_id":91079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881ebf68012d79ffc005e463780006004c25..."} 
[2026-06-02 17:07:08] local.INFO: Packet analysis {"connection_id":91079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881e"} 
[2026-06-02 17:07:08] local.INFO: Extracted packet for processing {"connection_id":91079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881e"} 
[2026-06-02 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":762970048,"raw_latitude":98853752,"longitude_deg":76.2970048,"latitude_deg":9.8853752,"altitude":6,"angle":76,"satellites":37,"speed":7,"hex_longitude":"2d79ffc0","hex_latitude":"05e46378","is_valid_coordinates":true} 
[2026-06-02 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782444800001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909038427209728,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790604285468706816,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780400177000,"timestamp_ms":1780400177000,"timestamp_seconds":1780400177,"priority":1,"record_length":96,"hex_timestamp":"0000019e881ebf68"} 
[2026-06-02 17:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:07: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-06-02 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 17:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":91079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":91079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":91079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782444800001,"66":13080,"97":206,"85":15104,"24":7,"16":87909038427209728,"45":8790604285468706816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782444800001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909038427209728,"km_value":87909038427209.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790604285468706816,"description":"Unknown IO ID 45"} 
[2026-06-02 17:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782444800001,"power":13080,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8790604285468706816}} 
[2026-06-02 17:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":91079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:07:08] local.INFO: GPS data processed {"connection_id":91079,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:07:08] local.INFO: Acknowledgment sent {"connection_id":91079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:07:10] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:10] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:10] local.INFO: IMEI packet received {"connection_id":89988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":89988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:07:10] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:10] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:10] local.INFO: IMEI packet received {"connection_id":89988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":89988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:07:14] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:14] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:07:14] local.INFO: IMEI packet received {"connection_id":89988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":89988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:07:15] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881d1d70012d1a4040071f81280048011426..."} 
[2026-06-02 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881d1d70012d1a4040071f81280048011426..."} 
[2026-06-02 17:07:15] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881d1d70012d1a4040071f81280048011426..."} 
[2026-06-02 17:07:15] local.INFO: Packet analysis {"connection_id":89988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:07:15] local.INFO: Extracted packet for processing {"connection_id":89988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782412544001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780400070000,"timestamp_ms":1780400070000,"timestamp_seconds":1780400070,"priority":1,"record_length":96,"hex_timestamp":"0000019e881d1d70"} 
[2026-06-02 17:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:07: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-06-02 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 17:07:15] 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-06-02 17:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:15] 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-06-02 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782412544001,"66":12548,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782412544001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782412544001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":89988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:07:15] local.INFO: GPS data processed {"connection_id":89988,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:07:15] local.INFO: Acknowledgment sent {"connection_id":89988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:07:15] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881d6f78012d1a4040071f81280048011425..."} 
[2026-06-02 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881d6f78012d1a4040071f81280048011425..."} 
[2026-06-02 17:07:15] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881d6f78012d1a4040071f81280048011425..."} 
[2026-06-02 17:07:15] local.INFO: Packet analysis {"connection_id":89988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:07:15] local.INFO: Extracted packet for processing {"connection_id":89988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782417920001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780400091000,"timestamp_ms":1780400091000,"timestamp_seconds":1780400091,"priority":1,"record_length":96,"hex_timestamp":"0000019e881d6f78"} 
[2026-06-02 17:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2283483456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":26625,"corrected_to":0} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184142831821,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2166882376,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817336,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2169241600,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,129,158,203,45,64,72,40,10,66,121,37,39,1,240,234,227,136,31,4,113,205,131,38,239,49,2,189,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":203,"original":26625,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 17:07:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188450399148834816,"timestamp_seconds":5188450399148835.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:15] 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-06-02 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782417920001,"66":12667,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782417920001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782417920001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":89988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:07:16] local.INFO: GPS data processed {"connection_id":89988,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:07:16] local.INFO: Acknowledgment sent {"connection_id":89988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:07:18] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881dc180012d1a4040071f81280048011427..."} 
[2026-06-02 17:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881dc180012d1a4040071f81280048011427..."} 
[2026-06-02 17:07:18] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881dc180012d1a4040071f81280048011427..."} 
[2026-06-02 17:07:18] local.INFO: Packet analysis {"connection_id":89988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:07:18] local.INFO: Extracted packet for processing {"connection_id":89988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881d"} 
[2026-06-02 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505192,"longitude_deg":75.6695104,"latitude_deg":11.9505192,"altitude":72,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f8128","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782423296001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398528053739520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833115136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07: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-06-02 17:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780400112000,"timestamp_ms":1780400112000,"timestamp_seconds":1780400112,"priority":1,"record_length":96,"hex_timestamp":"0000019e881dc180"} 
[2026-06-02 17:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:07: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-06-02 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 17:07: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-06-02 17: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-06-02 17:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:18] 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-06-02 17:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782423296001,"66":12558,"101":206,"83":41984,"24":0,"16":125398528053739520,"45":1891582242833115136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782423296001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:07:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398528053739520,"km_value":125398528053739.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833115136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782423296001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833115136}} 
[2026-06-02 17:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":89988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:07:18] local.INFO: GPS data processed {"connection_id":89988,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:07:18] local.INFO: Acknowledgment sent {"connection_id":89988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:07:23] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:07:23] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:07:23] local.INFO: IMEI packet received {"connection_id":89899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":89899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:07:28] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:07:28] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:07:28] local.INFO: IMEI packet received {"connection_id":89899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":89899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:07:29] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:07:29] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:07:29] local.INFO: Packet analysis {"connection_id":89899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:07:29] local.INFO: Extracted packet for processing {"connection_id":89899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:07:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:07: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-06-02 17: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-06-02 17:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:07:29] 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-06-02 17:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:07:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":89899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:07:29] local.INFO: GPS data processed {"connection_id":89899,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:07:29] local.INFO: Acknowledgment sent {"connection_id":89899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:07:49] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881f53d8012d1a40c0071f8978003d013828..."} 
[2026-06-02 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881f53d8012d1a40c0071f8978003d013828..."} 
[2026-06-02 17:07:49] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881f53d8012d1a40c0071f8978003d013828..."} 
[2026-06-02 17:07:49] local.INFO: Packet analysis {"connection_id":89988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:07:49] local.INFO: Extracted packet for processing {"connection_id":89988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119507320,"longitude_deg":75.6695232,"latitude_deg":11.950732,"altitude":61,"angle":312,"satellites":40,"speed":5,"hex_longitude":"2d1a40c0","hex_latitude":"071f8978","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782454784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398661197725696,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891793349066172416,"note":"Value kept but may cause issues"} 
[2026-06-02 17:07: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-06-02 17:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780400215000,"timestamp_ms":1780400215000,"timestamp_seconds":1780400215,"priority":1,"record_length":96,"hex_timestamp":"0000019e881f53d8"} 
[2026-06-02 17:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 17:07:49] 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-06-02 17: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-06-02 17:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":89988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":89988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:07:49] 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-06-02 17:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782454784001,"66":14265,"101":206,"83":41984,"24":5,"16":125398661197725696,"45":1891793349066172416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782454784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:07:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398661197725696,"km_value":125398661197725.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891793349066172416,"description":"Unknown IO ID 45"} 
[2026-06-02 17:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782454784001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1891793349066172416}} 
[2026-06-02 17:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":89988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:07:50] local.INFO: GPS data processed {"connection_id":89988,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:07:50] local.INFO: Acknowledgment sent {"connection_id":89988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:08:00] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:08:00] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881b7f60012cb29ac007823b00004900d92d..."} 
[2026-06-02 17:08:00] local.INFO: Packet analysis {"connection_id":89899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:08:00] local.INFO: Extracted packet for processing {"connection_id":89899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881b"} 
[2026-06-02 17:08:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782313728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780399964000,"timestamp_ms":1780399964000,"timestamp_seconds":1780399964,"priority":1,"record_length":96,"hex_timestamp":"0000019e881b7f60"} 
[2026-06-02 17:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:08: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-06-02 17:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782313728001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782313728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:08:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782313728001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":89899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:08:00] local.INFO: GPS data processed {"connection_id":89899,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:08:00] local.INFO: Acknowledgment sent {"connection_id":89899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:08:05] local.INFO: TCP Data received {"connection_id":91081,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:08:05] local.INFO: Processing buffer {"connection_id":91081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:08:05] local.INFO: IMEI packet received {"connection_id":91081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":91081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:08:10] local.INFO: TCP Data received {"connection_id":91081,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:08:10] local.INFO: Processing buffer {"connection_id":91081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:08:10] local.INFO: IMEI packet received {"connection_id":91081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":91081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:08:11] local.INFO: TCP Data received {"connection_id":91081,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881f57c0012d1a4040071f89c0003d012c28..."} 
[2026-06-02 17:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881f57c0012d1a4040071f89c0003d012c28..."} 
[2026-06-02 17:08:11] local.INFO: Processing buffer {"connection_id":91081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881f57c0012d1a4040071f89c0003d012c28..."} 
[2026-06-02 17:08:11] local.INFO: Packet analysis {"connection_id":91081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:08:11] local.INFO: Extracted packet for processing {"connection_id":91081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119507392,"longitude_deg":75.6695104,"latitude_deg":11.9507392,"altitude":61,"angle":300,"satellites":40,"speed":5,"hex_longitude":"2d1a4040","hex_latitude":"071f89c0","is_valid_coordinates":true} 
[2026-06-02 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782455040001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398665492692992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980322015232,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400216000,"timestamp_ms":1780400216000,"timestamp_seconds":1780400216,"priority":1,"record_length":96,"hex_timestamp":"0000019e881f57c0"} 
[2026-06-02 17:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:08: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-06-02 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 17:08:11] 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-06-02 17:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:08:11] 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-06-02 17:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782455040001,"66":14341,"101":206,"83":41984,"24":5,"16":125398665492692992,"45":1891722980322015232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782455040001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:08:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398665492692992,"km_value":125398665492692.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980322015232,"description":"Unknown IO ID 45"} 
[2026-06-02 17:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782455040001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1891722980322015232}} 
[2026-06-02 17:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":91081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:08:11] local.INFO: GPS data processed {"connection_id":91081,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:08:11] local.INFO: Acknowledgment sent {"connection_id":91081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:08:15] local.INFO: TCP Data received {"connection_id":91081,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881f5ba8012d1a3fc0071f89d8003d011927..."} 
[2026-06-02 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881f5ba8012d1a3fc0071f89d8003d011927..."} 
[2026-06-02 17:08:15] local.INFO: Processing buffer {"connection_id":91081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881f5ba8012d1a3fc0071f89d8003d011927..."} 
[2026-06-02 17:08:15] local.INFO: Packet analysis {"connection_id":91081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:08:15] local.INFO: Extracted packet for processing {"connection_id":91081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119507416,"longitude_deg":75.6694976,"latitude_deg":11.9507416,"altitude":61,"angle":281,"satellites":39,"speed":5,"hex_longitude":"2d1a3fc0","hex_latitude":"071f89d8","is_valid_coordinates":true} 
[2026-06-02 17:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782455296001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398674082627584,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833678336,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780400217000,"timestamp_ms":1780400217000,"timestamp_seconds":1780400217,"priority":1,"record_length":96,"hex_timestamp":"0000019e881f5ba8"} 
[2026-06-02 17:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:08: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-06-02 17:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6954688265,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2283739456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505513057648640,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2279079997,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3355520282,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147950469,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2170355712,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84752826949377922,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.WARNING: Large IO value detected {"io_id":144,"raw_value":17452149290041344,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,129,158,45,192,137,61,40,10,66,79,76,128,1,240,153,227,136,31,4,113,205,3,44,64,39,239,55,2,189,7,206,160,144],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 17:08:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395843261600956416,"timestamp_seconds":4395843261600956.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:08:15] 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-06-02 17:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782455296001,"66":14341,"101":206,"83":41984,"24":5,"16":125398674082627584,"45":1891582242833678336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782455296001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:08:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398674082627584,"km_value":125398674082627.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833678336,"description":"Unknown IO ID 45"} 
[2026-06-02 17:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782455296001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1891582242833678336}} 
[2026-06-02 17:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":91081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:08:15] local.INFO: GPS data processed {"connection_id":91081,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:08:15] local.INFO: Acknowledgment sent {"connection_id":91081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:08:23] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:23] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:23] local.INFO: IMEI packet received {"connection_id":89900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":89900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:08:23] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:23] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:23] local.INFO: IMEI packet received {"connection_id":89900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":89900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:08:28] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:28] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:08:28] local.INFO: IMEI packet received {"connection_id":89900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":89900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:08:29] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:08:29] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:08:29] local.INFO: Packet analysis {"connection_id":89900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:08:29] local.INFO: Extracted packet for processing {"connection_id":89900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:08:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:08: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-06-02 17:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:08: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-06-02 17:08: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-06-02 17:08: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-06-02 17:08: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-06-02 17:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:08:29] 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-06-02 17:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:08:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":89900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:08:29] local.INFO: GPS data processed {"connection_id":89900,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:08:29] local.INFO: Acknowledgment sent {"connection_id":89900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:08:46] local.INFO: TCP Data received {"connection_id":91081,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e881f9640012d1a3600071f8d08003c01292b..."} 
[2026-06-02 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881f9640012d1a3600071f8d08003c01292b..."} 
[2026-06-02 17:08:46] local.INFO: Processing buffer {"connection_id":91081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881f9640012d1a3600071f8d08003c01292b..."} 
[2026-06-02 17:08:46] local.INFO: Packet analysis {"connection_id":91081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:08:46] local.INFO: Extracted packet for processing {"connection_id":91081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756692480,"raw_latitude":119508232,"longitude_deg":75.669248,"latitude_deg":11.9508232,"altitude":60,"angle":297,"satellites":43,"speed":8,"hex_longitude":"2d1a3600","hex_latitude":"071f8d08","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782455552001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125398798636679168,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505345329152,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08: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-06-02 17:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780400232000,"timestamp_ms":1780400232000,"timestamp_seconds":1780400232,"priority":1,"record_length":96,"hex_timestamp":"0000019e881f9640"} 
[2026-06-02 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-06-02 17:08: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-06-02 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6954688281,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2283744456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84752829096861570,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":192,"raw_value":17170060166561792,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505513058172928,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2293760061,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2147950471,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2170880000,"note":"Value kept but may cause issues"} 
[2026-06-02 17:08:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,129,158,87,45,64,137,61,40,10,66,192,79,1,240,185,227,136,31,4,113,205,68,65,216,38,239,56,2,189,7,5,206],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 17:08:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395822366585061376,"timestamp_seconds":4395822366585061.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 17:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":91081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":91081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":91081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:08: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-06-02 17:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782455552001,"66":13515,"101":206,"83":41984,"24":8,"16":125398798636679168,"45":1891441505345329152},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782455552001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:08:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125398798636679168,"km_value":125398798636679.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505345329152,"description":"Unknown IO ID 45"} 
[2026-06-02 17:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782455552001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1891441505345329152}} 
[2026-06-02 17:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":91081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:08:46] local.INFO: GPS data processed {"connection_id":91081,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:08:46] local.INFO: Acknowledgment sent {"connection_id":91081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:09:00] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:00] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:00] local.INFO: Packet analysis {"connection_id":89900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:00] local.INFO: Extracted packet for processing {"connection_id":89900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:09: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-06-02 17: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-06-02 17:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:09:00] 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-06-02 17:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:09:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":89900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:09:00] local.INFO: GPS data processed {"connection_id":89900,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:09:00] local.INFO: Acknowledgment sent {"connection_id":89900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:09:05] local.INFO: TCP Data received {"connection_id":91082,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:05] local.INFO: Processing buffer {"connection_id":91082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:05] local.INFO: IMEI packet received {"connection_id":91082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":91082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:09:06] local.INFO: TCP Data received {"connection_id":91082,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:06] local.INFO: Processing buffer {"connection_id":91082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:06] local.INFO: IMEI packet received {"connection_id":91082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":91082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:09:08] local.INFO: TCP Data received {"connection_id":91082,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:08] local.INFO: Processing buffer {"connection_id":91082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:09:08] local.INFO: IMEI packet received {"connection_id":91082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":91082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:09:09] local.INFO: TCP Data received {"connection_id":91082,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88208488012d1a1540071f9d28003d001428..."} 
[2026-06-02 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88208488012d1a1540071f9d28003d001428..."} 
[2026-06-02 17:09:09] local.INFO: Processing buffer {"connection_id":91082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88208488012d1a1540071f9d28003d001428..."} 
[2026-06-02 17:09:09] local.INFO: Packet analysis {"connection_id":91082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:09] local.INFO: Extracted packet for processing {"connection_id":91082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:09] local.INFO: GPS Element Parsed {"raw_longitude":756684096,"raw_latitude":119512360,"longitude_deg":75.6684096,"latitude_deg":11.951236,"altitude":61,"angle":20,"satellites":40,"speed":4,"hex_longitude":"2d1a1540","hex_latitude":"071f9d28","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782474496001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125399283967983616,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879478818836342784,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780400293000,"timestamp_ms":1780400293000,"timestamp_seconds":1780400293,"priority":1,"record_length":96,"hex_timestamp":"0000019e88208488"} 
[2026-06-02 17:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-02 17:09: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-06-02 17:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":91082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":91082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":91082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:09:09] 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-06-02 17:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782474496001,"66":13993,"101":206,"83":41984,"24":4,"16":125399283967983616,"45":1879478818836342784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782474496001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:09:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125399283967983616,"km_value":125399283967983.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879478818836342784,"description":"Unknown IO ID 45"} 
[2026-06-02 17:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782474496001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1879478818836342784}} 
[2026-06-02 17:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":91082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:09:09] local.INFO: GPS data processed {"connection_id":91082,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:09:09] local.INFO: Acknowledgment sent {"connection_id":91082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:09:10] local.INFO: TCP Data received {"connection_id":91082,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88209040012d1a1580071f9ef0003d000126..."} 
[2026-06-02 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88209040012d1a1580071f9ef0003d000126..."} 
[2026-06-02 17:09:10] local.INFO: Processing buffer {"connection_id":91082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88209040012d1a1580071f9ef0003d000126..."} 
[2026-06-02 17:09:10] local.INFO: Packet analysis {"connection_id":91082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:10] local.INFO: Extracted packet for processing {"connection_id":91082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756684160,"raw_latitude":119512816,"longitude_deg":75.668416,"latitude_deg":11.9512816,"altitude":61,"angle":1,"satellites":38,"speed":6,"hex_longitude":"2d1a1580","hex_latitude":"071f9ef0","is_valid_coordinates":true} 
[2026-06-02 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782475008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125399309737787392,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879478818836391936,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780400296000,"timestamp_ms":1780400296000,"timestamp_seconds":1780400296,"priority":1,"record_length":96,"hex_timestamp":"0000019e88209040"} 
[2026-06-02 17:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:09: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-06-02 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 17:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:09:10] 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-06-02 17:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782475008001,"66":14483,"101":206,"83":41984,"24":6,"16":125399309737787392,"45":1879478818836391936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782475008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:09:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125399309737787392,"km_value":125399309737787.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879478818836391936,"description":"Unknown IO ID 45"} 
[2026-06-02 17:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782475008001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1879478818836391936}} 
[2026-06-02 17:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":91082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:09:10] local.INFO: GPS data processed {"connection_id":91082,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:09:10] local.INFO: Acknowledgment sent {"connection_id":91082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:09:28] local.INFO: TCP Data received {"connection_id":89620,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:09:28] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:09:28] local.INFO: IMEI packet received {"connection_id":89620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":89620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:09:33] local.INFO: TCP Data received {"connection_id":89620,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:09:33] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:09:33] local.INFO: IMEI packet received {"connection_id":89620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":89620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:09:34] local.INFO: TCP Data received {"connection_id":89620,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:34] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:34] local.INFO: Packet analysis {"connection_id":89620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:34] local.INFO: Extracted packet for processing {"connection_id":89620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:09:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":89620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:09:34] local.INFO: GPS data processed {"connection_id":89620,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:09:34] local.INFO: Acknowledgment sent {"connection_id":89620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:09:39] local.INFO: TCP Data received {"connection_id":89620,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:39] local.INFO: Processing buffer {"connection_id":89620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:09:39] local.INFO: Packet analysis {"connection_id":89620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:39] local.INFO: Extracted packet for processing {"connection_id":89620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:09:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:09:39] 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-06-02 17:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:09:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:09:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":89620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:09:39] local.INFO: GPS data processed {"connection_id":89620,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:09:39] local.INFO: Acknowledgment sent {"connection_id":89620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:09:41] local.INFO: TCP Data received {"connection_id":91082,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882124b0012d1a0d80071fbfa8003c011727..."} 
[2026-06-02 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882124b0012d1a0d80071fbfa8003c011727..."} 
[2026-06-02 17:09:41] local.INFO: Processing buffer {"connection_id":91082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882124b0012d1a0d80071fbfa8003c011727..."} 
[2026-06-02 17:09:41] local.INFO: Packet analysis {"connection_id":91082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8821"} 
[2026-06-02 17:09:41] local.INFO: Extracted packet for processing {"connection_id":91082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8821"} 
[2026-06-02 17:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756682112,"raw_latitude":119521192,"longitude_deg":75.6682112,"latitude_deg":11.9521192,"altitude":60,"angle":279,"satellites":39,"speed":8,"hex_longitude":"2d1a0d80","hex_latitude":"071fbfa8","is_valid_coordinates":true} 
[2026-06-02 17:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782485248001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125399773594255360,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877578862745831424,"note":"Value kept but may cause issues"} 
[2026-06-02 17:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780400334000,"timestamp_ms":1780400334000,"timestamp_seconds":1780400334,"priority":1,"record_length":96,"hex_timestamp":"0000019e882124b0"} 
[2026-06-02 17:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-02 17:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:09:41] 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-06-02 17:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782485248001,"66":14102,"101":206,"83":41984,"24":8,"16":125399773594255360,"45":1877578862745831424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782485248001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:09:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125399773594255360,"km_value":125399773594255.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877578862745831424,"description":"Unknown IO ID 45"} 
[2026-06-02 17:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782485248001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1877578862745831424}} 
[2026-06-02 17:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":91082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:09:41] local.INFO: GPS data processed {"connection_id":91082,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:09:41] local.INFO: Acknowledgment sent {"connection_id":91082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:09:57] local.INFO: TCP Data received {"connection_id":89989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:09:57] local.INFO: Processing buffer {"connection_id":89989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:09:57] local.INFO: IMEI packet received {"connection_id":89989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":89989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:10:03] local.INFO: TCP Data received {"connection_id":89989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:10:03] local.INFO: Processing buffer {"connection_id":89989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:10:03] local.INFO: IMEI packet received {"connection_id":89989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 17:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":89989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:10:04] local.INFO: TCP Data received {"connection_id":89989,"ip":"42.106.6.31","data_length":93,"data_hex":"00000000000000518e010000019e881ebb80012cb9234007750ca8004b01212d..."} 
[2026-06-02 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89989,"packet_length":93,"packet_hex":"00000000000000518e010000019e881ebb80012cb9234007750ca8004b01212d..."} 
[2026-06-02 17:10:04] local.INFO: Processing buffer {"connection_id":89989,"buffer_length":93,"buffer_hex":"00000000000000518e010000019e881ebb80012cb9234007750ca8004b01212d..."} 
[2026-06-02 17:10:04] local.INFO: Packet analysis {"connection_id":89989,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019e881e"} 
[2026-06-02 17:10:04] local.INFO: Extracted packet for processing {"connection_id":89989,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019e881e"} 
[2026-06-02 17:10:04] local.INFO: GPS Element Parsed {"raw_longitude":750330688,"raw_latitude":125111464,"longitude_deg":75.0330688,"latitude_deg":12.5111464,"altitude":75,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2cb92340","hex_latitude":"07750ca8","is_valid_coordinates":true} 
[2026-06-02 17:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-02 17:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:10:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:10:04] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 17:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89989,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 17:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89989,"device_imei":"862567071632322","avl_records_count":0} 
[2026-06-02 17:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89989,"device_imei":"862567071632322","avl_records_count":0} 
[2026-06-02 17:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 17:10:04] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 17:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":89989,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 17:10:04] local.ERROR: GPS data processing failed {"connection_id":89989,"error":"No valid data to process"} 
[2026-06-02 17:10:04] local.INFO: Acknowledgment sent {"connection_id":89989,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 17:10:05] local.INFO: TCP Data received {"connection_id":89990,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:10:05] local.INFO: Processing buffer {"connection_id":89990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:10:05] local.INFO: IMEI packet received {"connection_id":89990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":89990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:10:10] local.INFO: TCP Data received {"connection_id":89990,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:10:10] local.INFO: Processing buffer {"connection_id":89990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:10:10] local.INFO: IMEI packet received {"connection_id":89990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":89990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:10:11] local.INFO: TCP Data received {"connection_id":89990,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88212c80012d1a0c40071fbfc8003c010927..."} 
[2026-06-02 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88212c80012d1a0c40071fbfc8003c010927..."} 
[2026-06-02 17:10:11] local.INFO: Processing buffer {"connection_id":89990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88212c80012d1a0c40071fbfc8003c010927..."} 
[2026-06-02 17:10:11] local.INFO: Packet analysis {"connection_id":89990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8821"} 
[2026-06-02 17:10:11] local.INFO: Extracted packet for processing {"connection_id":89990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8821"} 
[2026-06-02 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756681792,"raw_latitude":119521224,"longitude_deg":75.6681792,"latitude_deg":11.9521224,"altitude":60,"angle":265,"satellites":39,"speed":6,"hex_longitude":"2d1a0c40","hex_latitude":"071fbfc8","is_valid_coordinates":true} 
[2026-06-02 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782485504001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125399786479157248,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877297387769145344,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400336000,"timestamp_ms":1780400336000,"timestamp_seconds":1780400336,"priority":1,"record_length":96,"hex_timestamp":"0000019e88212c80"} 
[2026-06-02 17:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-02 17:10:11] 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-06-02 17:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:10:11] 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-06-02 17:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782485504001,"66":14396,"101":206,"83":41984,"24":6,"16":125399786479157248,"45":1877297387769145344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782485504001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:10:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125399786479157248,"km_value":125399786479157.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877297387769145344,"description":"Unknown IO ID 45"} 
[2026-06-02 17:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782485504001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1877297387769145344}} 
[2026-06-02 17:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":89990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:10:11] local.INFO: GPS data processed {"connection_id":89990,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:10:11] local.INFO: Acknowledgment sent {"connection_id":89990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:10:23] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:10:23] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:10:23] local.INFO: IMEI packet received {"connection_id":89902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":89902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:10:28] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:10:28] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:10:28] local.INFO: IMEI packet received {"connection_id":89902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":89902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:10:29] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:10:29] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:10:29] local.INFO: Packet analysis {"connection_id":89902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:10:29] local.INFO: Extracted packet for processing {"connection_id":89902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:10:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:10: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-06-02 17:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:10: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-06-02 17:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:10: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-06-02 17:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:10:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":89902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:10:29] local.INFO: GPS data processed {"connection_id":89902,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:10:29] local.INFO: Acknowledgment sent {"connection_id":89902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:10:42] local.INFO: TCP Data received {"connection_id":89990,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88214008012d1a0980071fbf90003d00fa29..."} 
[2026-06-02 17:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88214008012d1a0980071fbf90003d00fa29..."} 
[2026-06-02 17:10:42] local.INFO: Processing buffer {"connection_id":89990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88214008012d1a0980071fbf90003d00fa29..."} 
[2026-06-02 17:10:42] local.INFO: Packet analysis {"connection_id":89990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8821"} 
[2026-06-02 17:10:42] local.INFO: Extracted packet for processing {"connection_id":89990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8821"} 
[2026-06-02 17:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756681088,"raw_latitude":119521168,"longitude_deg":75.6681088,"latitude_deg":11.9521168,"altitude":61,"angle":250,"satellites":41,"speed":7,"hex_longitude":"2d1a0980","hex_latitude":"071fbf90","is_valid_coordinates":true} 
[2026-06-02 17:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782486016001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125399825133862912,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876945544048265216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780400341000,"timestamp_ms":1780400341000,"timestamp_seconds":1780400341,"priority":1,"record_length":96,"hex_timestamp":"0000019e88214008"} 
[2026-06-02 17:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-02 17:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:10:42] 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-06-02 17:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782486016001,"66":14450,"101":206,"83":41984,"24":7,"16":125399825133862912,"45":1876945544048265216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782486016001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:10:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125399825133862912,"km_value":125399825133862.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876945544048265216,"description":"Unknown IO ID 45"} 
[2026-06-02 17:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782486016001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1876945544048265216}} 
[2026-06-02 17:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":89990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:10:42] local.INFO: GPS data processed {"connection_id":89990,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:10:42] local.INFO: Acknowledgment sent {"connection_id":89990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:11:02] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:11:02] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:11:02] local.INFO: Packet analysis {"connection_id":89902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:11:02] local.INFO: Extracted packet for processing {"connection_id":89902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:11: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-06-02 17:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:11:02] 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-06-02 17:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":89902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:11:02] local.INFO: GPS data processed {"connection_id":89902,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:11:02] local.INFO: Acknowledgment sent {"connection_id":89902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:11:04] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:04] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:04] local.INFO: IMEI packet received {"connection_id":89903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":89903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:11:05] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:05] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:05] local.INFO: IMEI packet received {"connection_id":89903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":89903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:11:10] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:10] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:11:10] local.INFO: IMEI packet received {"connection_id":89903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":89903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:11:11] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88223df0012d19a7c0071fc1a8003d013827..."} 
[2026-06-02 17:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88223df0012d19a7c0071fc1a8003d013827..."} 
[2026-06-02 17:11:11] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88223df0012d19a7c0071fc1a8003d013827..."} 
[2026-06-02 17:11:11] local.INFO: Packet analysis {"connection_id":89903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8822"} 
[2026-06-02 17:11:11] local.INFO: Extracted packet for processing {"connection_id":89903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8822"} 
[2026-06-02 17:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756656064,"raw_latitude":119521704,"longitude_deg":75.6656064,"latitude_deg":11.9521704,"altitude":61,"angle":312,"satellites":39,"speed":13,"hex_longitude":"2d19a7c0","hex_latitude":"071fc1a8","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782503424001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125401220998234112,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849360996330670080,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400406000,"timestamp_ms":1780400406000,"timestamp_seconds":1780400406,"priority":1,"record_length":96,"hex_timestamp":"0000019e88223df0"} 
[2026-06-02 17:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-02 17:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:11:11] 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-06-02 17:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782503424001,"66":14363,"101":206,"83":41984,"24":13,"16":125401220998234112,"45":1849360996330670080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782503424001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:11:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125401220998234112,"km_value":125401220998234.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849360996330670080,"description":"Unknown IO ID 45"} 
[2026-06-02 17:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782503424001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1849360996330670080}} 
[2026-06-02 17:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":89903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:11:11] local.INFO: GPS data processed {"connection_id":89903,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:11:11] local.INFO: Acknowledgment sent {"connection_id":89903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:11:13] local.INFO: TCP Data received {"connection_id":89621,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:11:13] local.INFO: Processing buffer {"connection_id":89621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:11:13] local.INFO: IMEI packet received {"connection_id":89621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":89621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:11:23] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:11:23] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:11:23] local.INFO: IMEI packet received {"connection_id":89991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":89991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:11:28] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:11:28] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:11:28] local.INFO: IMEI packet received {"connection_id":89991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":89991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:11:29] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:11:29] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:11:29] local.INFO: Packet analysis {"connection_id":89991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:11:29] local.INFO: Extracted packet for processing {"connection_id":89991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:11:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:11: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-06-02 17: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-06-02 17: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-06-02 17: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-06-02 17:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:11: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-06-02 17:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:11:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":89991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:11:29] local.INFO: GPS data processed {"connection_id":89991,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:11:29] local.INFO: Acknowledgment sent {"connection_id":89991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:11:42] local.INFO: TCP Data received {"connection_id":89903,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88230528012d198140071fede0003800e62b..."} 
[2026-06-02 17:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88230528012d198140071fede0003800e62b..."} 
[2026-06-02 17:11:42] local.INFO: Processing buffer {"connection_id":89903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88230528012d198140071fede0003800e62b..."} 
[2026-06-02 17:11:42] local.INFO: Packet analysis {"connection_id":89903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8823"} 
[2026-06-02 17:11:42] local.INFO: Extracted packet for processing {"connection_id":89903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8823"} 
[2026-06-02 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756646208,"raw_latitude":119533024,"longitude_deg":75.6646208,"latitude_deg":11.9533024,"altitude":56,"angle":230,"satellites":43,"speed":15,"hex_longitude":"2d198140","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-06-02 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782516480001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125402183070908416,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474571776,"note":"Value kept but may cause issues"} 
[2026-06-02 17:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780400457000,"timestamp_ms":1780400457000,"timestamp_seconds":1780400457,"priority":1,"record_length":96,"hex_timestamp":"0000019e88230528"} 
[2026-06-02 17:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-02 17:11:42] 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-06-02 17:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:11:42] 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-06-02 17:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782516480001,"66":13928,"102":206,"83":41984,"24":15,"16":125402183070908416,"45":1838594578474571776},"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-06-02 17:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782516480001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:11:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125402183070908416,"km_value":125402183070908.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474571776,"description":"Unknown IO ID 45"} 
[2026-06-02 17:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782516480001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1838594578474571776}} 
[2026-06-02 17:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":89903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:11:42] local.INFO: GPS data processed {"connection_id":89903,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:11:42] local.INFO: Acknowledgment sent {"connection_id":89903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:12:00] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:12:00] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:12:00] local.INFO: Packet analysis {"connection_id":89991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:12:00] local.INFO: Extracted packet for processing {"connection_id":89991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 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-06-02 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:12: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-06-02 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-06-02 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-06-02 17:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:12: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-06-02 17:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:12:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":89991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:12:00] local.INFO: GPS data processed {"connection_id":89991,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:12:00] local.INFO: Acknowledgment sent {"connection_id":89991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:12:04] local.INFO: TCP Data received {"connection_id":89622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:04] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:04] local.INFO: IMEI packet received {"connection_id":89622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":89622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:12:05] local.INFO: TCP Data received {"connection_id":89622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:05] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:05] local.INFO: IMEI packet received {"connection_id":89622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":89622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:12:05] local.INFO: TCP Data received {"connection_id":89622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:05] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:05] local.INFO: IMEI packet received {"connection_id":89622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":89622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:12:06] local.INFO: TCP Data received {"connection_id":89622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:06] local.INFO: Processing buffer {"connection_id":89622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:12:06] local.INFO: IMEI packet received {"connection_id":89622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":89622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:12:23] local.INFO: TCP Data received {"connection_id":89905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:12:23] local.INFO: Processing buffer {"connection_id":89905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:12:23] local.INFO: IMEI packet received {"connection_id":89905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":89905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:12:28] local.INFO: TCP Data received {"connection_id":89905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:12:28] local.INFO: Processing buffer {"connection_id":89905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:12:28] local.INFO: IMEI packet received {"connection_id":89905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":89905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:12:29] local.INFO: TCP Data received {"connection_id":89905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:12:29] local.INFO: Processing buffer {"connection_id":89905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:12:29] local.INFO: Packet analysis {"connection_id":89905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:12:29] local.INFO: Extracted packet for processing {"connection_id":89905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:12: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-06-02 17:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:12: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-06-02 17:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:12:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":89905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:12:29] local.INFO: GPS data processed {"connection_id":89905,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:12:29] local.INFO: Acknowledgment sent {"connection_id":89905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:13:03] local.INFO: TCP Data received {"connection_id":89905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:13:03] local.INFO: Processing buffer {"connection_id":89905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88201728012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:13:03] local.INFO: Packet analysis {"connection_id":89905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:13:03] local.INFO: Extracted packet for processing {"connection_id":89905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8820"} 
[2026-06-02 17:13:03] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782390784001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780400265000,"timestamp_ms":1780400265000,"timestamp_seconds":1780400265,"priority":1,"record_length":96,"hex_timestamp":"0000019e88201728"} 
[2026-06-02 17:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782390784001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782390784001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:13:03] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782390784001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":89905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:13:03] local.INFO: GPS data processed {"connection_id":89905,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:13:03] local.INFO: Acknowledgment sent {"connection_id":89905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:13:23] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:23] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:23] local.INFO: IMEI packet received {"connection_id":89624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":89624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:13:24] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:24] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:24] local.INFO: IMEI packet received {"connection_id":89624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":89624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:13:28] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:28] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:13:28] local.INFO: IMEI packet received {"connection_id":89624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":89624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:13:28] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:13:28] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:13:28] local.INFO: IMEI packet received {"connection_id":89906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":89906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:13:29] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:13:29] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:13:29] local.INFO: Packet analysis {"connection_id":89624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:13:29] local.INFO: Extracted packet for processing {"connection_id":89624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:13: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-06-02 17:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:13: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-06-02 17:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:13:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":89624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:13:29] local.INFO: GPS data processed {"connection_id":89624,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:13:29] local.INFO: Acknowledgment sent {"connection_id":89624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:13:34] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:13:34] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:13:34] local.INFO: IMEI packet received {"connection_id":89906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":89906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:13:34] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881fd0d8012d7a304005e45d180009004a26..."} 
[2026-06-02 17:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881fd0d8012d7a304005e45d180009004a26..."} 
[2026-06-02 17:13:34] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881fd0d8012d7a304005e45d180009004a26..."} 
[2026-06-02 17:13:34] local.INFO: Packet analysis {"connection_id":89906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:13:34] local.INFO: Extracted packet for processing {"connection_id":89906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:13:34] local.INFO: GPS Element Parsed {"raw_longitude":762982464,"raw_latitude":98852120,"longitude_deg":76.2982464,"latitude_deg":9.885212,"altitude":9,"angle":74,"satellites":38,"speed":14,"hex_longitude":"2d7a3040","hex_latitude":"05e45d18","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782462976001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909734211911680,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804185453094553600,"note":"Value kept but may cause issues"} 
[2026-06-02 17:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780400247000,"timestamp_ms":1780400247000,"timestamp_seconds":1780400247,"priority":1,"record_length":96,"hex_timestamp":"0000019e881fd0d8"} 
[2026-06-02 17:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:13: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-06-02 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 17:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782462976001,"66":12765,"157":206,"87":12288,"24":14,"16":87909734211911680,"45":8804185453094553600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782462976001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:13:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:13:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909734211911680,"km_value":87909734211911.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804185453094553600,"description":"Unknown IO ID 45"} 
[2026-06-02 17:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782462976001,"power":12765,"unknown_157":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8804185453094553600}} 
[2026-06-02 17:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":89906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:13:34] local.INFO: GPS data processed {"connection_id":89906,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:13:34] local.INFO: Acknowledgment sent {"connection_id":89906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:14:00] local.INFO: TCP Data received {"connection_id":89624,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:14:00] local.INFO: Processing buffer {"connection_id":89624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:14:00] local.INFO: Packet analysis {"connection_id":89624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:14:00] local.INFO: Extracted packet for processing {"connection_id":89624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:14:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:14: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-06-02 17:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:14: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-06-02 17:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:14:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":89624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:14:00] local.INFO: GPS data processed {"connection_id":89624,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:14:00] local.INFO: Acknowledgment sent {"connection_id":89624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:14:06] local.INFO: TCP Data received {"connection_id":89906,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881fdc90012d7a334005e45e00000a004d27..."} 
[2026-06-02 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881fdc90012d7a334005e45e00000a004d27..."} 
[2026-06-02 17:14:06] local.INFO: Processing buffer {"connection_id":89906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881fdc90012d7a334005e45e00000a004d27..."} 
[2026-06-02 17:14:06] local.INFO: Packet analysis {"connection_id":89906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:14:06] local.INFO: Extracted packet for processing {"connection_id":89906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852352,"longitude_deg":76.2983232,"latitude_deg":9.8852352,"altitude":10,"angle":77,"satellites":39,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45e00","is_valid_coordinates":true} 
[2026-06-02 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782463232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804607665559640064,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780400250000,"timestamp_ms":1780400250000,"timestamp_seconds":1780400250,"priority":1,"record_length":96,"hex_timestamp":"0000019e881fdc90"} 
[2026-06-02 17:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 17:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782463232001,"66":12993,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8804607665559640064},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782463232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:14:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:14:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804607665559640064,"description":"Unknown IO ID 45"} 
[2026-06-02 17:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782463232001,"power":12993,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804607665559640064}} 
[2026-06-02 17:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":89906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:14:06] local.INFO: GPS data processed {"connection_id":89906,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:14:06] local.INFO: Acknowledgment sent {"connection_id":89906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:14:23] local.INFO: TCP Data received {"connection_id":91084,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:14:23] local.INFO: Processing buffer {"connection_id":91084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:14:23] local.INFO: IMEI packet received {"connection_id":91084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":91084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:14:28] local.INFO: TCP Data received {"connection_id":91084,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:14:28] local.INFO: Processing buffer {"connection_id":91084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:14:28] local.INFO: IMEI packet received {"connection_id":91084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":91084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:14:29] local.INFO: TCP Data received {"connection_id":91084,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:14:29] local.INFO: Processing buffer {"connection_id":91084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:14:29] local.INFO: Packet analysis {"connection_id":91084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:14:29] local.INFO: Extracted packet for processing {"connection_id":91084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:14:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:14: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-06-02 17: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-06-02 17: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-06-02 17: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-06-02 17:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:14:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:14:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":91084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:14:29] local.INFO: GPS data processed {"connection_id":91084,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:14:29] local.INFO: Acknowledgment sent {"connection_id":91084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:14:33] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:14:33] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:14:33] local.INFO: IMEI packet received {"connection_id":89992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":89992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:14:38] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:14:38] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:14:38] local.INFO: IMEI packet received {"connection_id":89992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":89992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:14:39] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881fdc90012d7a334005e45e00000a004d27..."} 
[2026-06-02 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881fdc90012d7a334005e45e00000a004d27..."} 
[2026-06-02 17:14:39] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881fdc90012d7a334005e45e00000a004d27..."} 
[2026-06-02 17:14:39] local.INFO: Packet analysis {"connection_id":89992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:14:39] local.INFO: Extracted packet for processing {"connection_id":89992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:14:39] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852352,"longitude_deg":76.2983232,"latitude_deg":9.8852352,"altitude":10,"angle":77,"satellites":39,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45e00","is_valid_coordinates":true} 
[2026-06-02 17:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782464000001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489831424,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780400250000,"timestamp_ms":1780400250000,"timestamp_seconds":1780400250,"priority":1,"record_length":96,"hex_timestamp":"0000019e881fdc90"} 
[2026-06-02 17:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-02 17:14:39] 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-06-02 17:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782464000001,"66":12993,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805452090489831424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782464000001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:14:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:14:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489831424,"description":"Unknown IO ID 45"} 
[2026-06-02 17:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782464000001,"power":12993,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805452090489831424}} 
[2026-06-02 17:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":89992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:14:39] local.INFO: GPS data processed {"connection_id":89992,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:14:39] local.INFO: Acknowledgment sent {"connection_id":89992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:14:44] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881fe078012d7a334005e45df0000a004d27..."} 
[2026-06-02 17:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881fe078012d7a334005e45df0000a004d27..."} 
[2026-06-02 17:14:44] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881fe078012d7a334005e45df0000a004d27..."} 
[2026-06-02 17:14:44] local.INFO: Packet analysis {"connection_id":89992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:14:44] local.INFO: Extracted packet for processing {"connection_id":89992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:14:44] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852336,"longitude_deg":76.2983232,"latitude_deg":9.8852336,"altitude":10,"angle":77,"satellites":39,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45df0","is_valid_coordinates":true} 
[2026-06-02 17:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782464000001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489831424,"note":"Value kept but may cause issues"} 
[2026-06-02 17:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780400251000,"timestamp_ms":1780400251000,"timestamp_seconds":1780400251,"priority":1,"record_length":96,"hex_timestamp":"0000019e881fe078"} 
[2026-06-02 17:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:14:44] 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-06-02 17:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-02 17:14:44] 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-06-02 17:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782464000001,"66":8688,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805452090489831424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782464000001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:14:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:14:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489831424,"description":"Unknown IO ID 45"} 
[2026-06-02 17:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782464000001,"power":8688,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805452090489831424}} 
[2026-06-02 17:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":89992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:14:44] local.INFO: GPS data processed {"connection_id":89992,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:14:44] local.INFO: Acknowledgment sent {"connection_id":89992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:15:02] local.INFO: TCP Data received {"connection_id":91084,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:02] local.INFO: Processing buffer {"connection_id":91084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:02] local.INFO: Packet analysis {"connection_id":91084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:15:02] local.INFO: Extracted packet for processing {"connection_id":91084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:15:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:15: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-06-02 17:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":91084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:15:02] local.INFO: GPS data processed {"connection_id":91084,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:15:02] local.INFO: Acknowledgment sent {"connection_id":91084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:15:23] local.INFO: TCP Data received {"connection_id":89993,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:15:23] local.INFO: Processing buffer {"connection_id":89993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:15:23] local.INFO: IMEI packet received {"connection_id":89993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":89993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:15:28] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:15:28] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:15:28] local.INFO: IMEI packet received {"connection_id":89626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":89626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:15:28] local.INFO: TCP Data received {"connection_id":89993,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:15:28] local.INFO: Processing buffer {"connection_id":89993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:15:28] local.INFO: IMEI packet received {"connection_id":89993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":89993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:15:30] local.INFO: TCP Data received {"connection_id":89993,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881fe078012d7a334005e45df0000a004d27..."} 
[2026-06-02 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881fe078012d7a334005e45df0000a004d27..."} 
[2026-06-02 17:15:30] local.INFO: Processing buffer {"connection_id":89993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881fe078012d7a334005e45df0000a004d27..."} 
[2026-06-02 17:15:30] local.INFO: Packet analysis {"connection_id":89993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:15:30] local.INFO: Extracted packet for processing {"connection_id":89993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852336,"longitude_deg":76.2983232,"latitude_deg":9.8852336,"altitude":10,"angle":77,"satellites":39,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45df0","is_valid_coordinates":true} 
[2026-06-02 17:15:30] 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-06-02 17:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782464256001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489827328,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780400251000,"timestamp_ms":1780400251000,"timestamp_seconds":1780400251,"priority":1,"record_length":96,"hex_timestamp":"0000019e881fe078"} 
[2026-06-02 17:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:15:30] 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-06-02 17: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":33,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 17:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2523,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782464256001,"66":8688,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805452090489827328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782464256001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489827328,"description":"Unknown IO ID 45"} 
[2026-06-02 17:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782464256001,"power":8688,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805452090489827328}} 
[2026-06-02 17:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":89993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:15:30] local.INFO: GPS data processed {"connection_id":89993,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:15:30] local.INFO: Acknowledgment sent {"connection_id":89993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:15:33] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:15:33] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:15:33] local.INFO: IMEI packet received {"connection_id":89626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":89626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:15:34] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:34] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:34] local.INFO: Packet analysis {"connection_id":89626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:15:34] local.INFO: Extracted packet for processing {"connection_id":89626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:15:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:15:34] 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-06-02 17:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:15:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:15:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":89626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:15:34] local.INFO: GPS data processed {"connection_id":89626,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:15:34] local.INFO: Acknowledgment sent {"connection_id":89626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:15:39] local.INFO: TCP Data received {"connection_id":89626,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:39] local.INFO: Processing buffer {"connection_id":89626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:15:39] local.INFO: Packet analysis {"connection_id":89626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:15:39] local.INFO: Extracted packet for processing {"connection_id":89626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:15:39] 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-06-02 17:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:15:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:15:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":89626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:15:39] local.INFO: GPS data processed {"connection_id":89626,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:15:39] local.INFO: Acknowledgment sent {"connection_id":89626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:16:02] local.INFO: TCP Data received {"connection_id":89993,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881fe848012d7a338005e45dd8000a004d28..."} 
[2026-06-02 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881fe848012d7a338005e45dd8000a004d28..."} 
[2026-06-02 17:16:02] local.INFO: Processing buffer {"connection_id":89993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881fe848012d7a338005e45dd8000a004d28..."} 
[2026-06-02 17:16:02] local.INFO: Packet analysis {"connection_id":89993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:16:02] local.INFO: Extracted packet for processing {"connection_id":89993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:16:02] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98852312,"longitude_deg":76.2983296,"latitude_deg":9.8852312,"altitude":10,"angle":77,"satellites":40,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e45dd8","is_valid_coordinates":true} 
[2026-06-02 17:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782464256001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489827328,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780400253000,"timestamp_ms":1780400253000,"timestamp_seconds":1780400253,"priority":1,"record_length":96,"hex_timestamp":"0000019e881fe848"} 
[2026-06-02 17:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":33,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-02 17:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2523,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782464256001,"66":2731,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805452090489827328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782464256001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489827328,"description":"Unknown IO ID 45"} 
[2026-06-02 17:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782464256001,"power":2731,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805452090489827328}} 
[2026-06-02 17:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":89993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:16:02] local.INFO: GPS data processed {"connection_id":89993,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:16:02] local.INFO: Acknowledgment sent {"connection_id":89993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:16:23] local.INFO: TCP Data received {"connection_id":91086,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:16:23] local.INFO: Processing buffer {"connection_id":91086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:16:23] local.INFO: IMEI packet received {"connection_id":91086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":91086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:16:28] local.INFO: TCP Data received {"connection_id":91086,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:16:28] local.INFO: Processing buffer {"connection_id":91086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:16:28] local.INFO: IMEI packet received {"connection_id":91086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":91086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:16:28] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:16:28] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:16:28] local.INFO: IMEI packet received {"connection_id":89628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":89628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:16:29] local.INFO: TCP Data received {"connection_id":91086,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:16:29] local.INFO: Processing buffer {"connection_id":91086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:16:29] local.INFO: Packet analysis {"connection_id":91086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:16:29] local.INFO: Extracted packet for processing {"connection_id":91086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:16:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:16: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-06-02 17:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:16: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-06-02 17:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:16:29] 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-06-02 17:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:16:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":91086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:16:29] local.INFO: GPS data processed {"connection_id":91086,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:16:29] local.INFO: Acknowledgment sent {"connection_id":91086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:16:34] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:16:34] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:16:34] local.INFO: IMEI packet received {"connection_id":89628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":89628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:16:35] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e881fe848012d7a338005e45dd8000a004d28..."} 
[2026-06-02 17:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e881fe848012d7a338005e45dd8000a004d28..."} 
[2026-06-02 17:16:35] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e881fe848012d7a338005e45dd8000a004d28..."} 
[2026-06-02 17:16:35] local.INFO: Packet analysis {"connection_id":89628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:16:35] local.INFO: Extracted packet for processing {"connection_id":89628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e881f"} 
[2026-06-02 17:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98852312,"longitude_deg":76.2983296,"latitude_deg":9.8852312,"altitude":10,"angle":77,"satellites":40,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e45dd8","is_valid_coordinates":true} 
[2026-06-02 17:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782464768001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459233998848,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780400253000,"timestamp_ms":1780400253000,"timestamp_seconds":1780400253,"priority":1,"record_length":96,"hex_timestamp":"0000019e881fe848"} 
[2026-06-02 17:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-06-02 17:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1787,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782464768001,"66":2731,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805522459233998848},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782464768001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:16:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:16:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459233998848,"description":"Unknown IO ID 45"} 
[2026-06-02 17:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782464768001,"power":2731,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459233998848}} 
[2026-06-02 17:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":89628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:16:35] local.INFO: GPS data processed {"connection_id":89628,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:16:35] local.INFO: Acknowledgment sent {"connection_id":89628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:16:38] local.INFO: TCP Data received {"connection_id":89628,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8826b678012d7a338005e45dc00019004d2f..."} 
[2026-06-02 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8826b678012d7a338005e45dc00019004d2f..."} 
[2026-06-02 17:16:38] local.INFO: Processing buffer {"connection_id":89628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8826b678012d7a338005e45dc00019004d2f..."} 
[2026-06-02 17:16:38] local.INFO: Packet analysis {"connection_id":89628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8826"} 
[2026-06-02 17:16:38] local.INFO: Extracted packet for processing {"connection_id":89628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8826"} 
[2026-06-02 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98852288,"longitude_deg":76.2983296,"latitude_deg":9.8852288,"altitude":25,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-06-02 17:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782464768001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459233998848,"note":"Value kept but may cause issues"} 
[2026-06-02 17:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780400699000,"timestamp_ms":1780400699000,"timestamp_seconds":1780400699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8826b678"} 
[2026-06-02 17:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":10,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-06-02 17:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1787,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782464768001,"66":10091,"39":206,"87":13824,"24":0,"16":87909764276682752,"45":8805522459233998848},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 17:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782464768001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:16:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 17:16:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 17:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459233998848,"description":"Unknown IO ID 45"} 
[2026-06-02 17:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782464768001,"power":10091,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805522459233998848}} 
[2026-06-02 17:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":89628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:16:38] local.INFO: GPS data processed {"connection_id":89628,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:16:38] local.INFO: Acknowledgment sent {"connection_id":89628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:16:57] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:16:57] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:16:57] local.INFO: IMEI packet received {"connection_id":89909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":89909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:17:02] local.INFO: TCP Data received {"connection_id":91086,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:17:02] local.INFO: Processing buffer {"connection_id":91086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:17:02] local.INFO: Packet analysis {"connection_id":91086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:17:02] local.INFO: Extracted packet for processing {"connection_id":91086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:17: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-06-02 17:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:17:02] 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-06-02 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:17:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":91086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:17:02] local.INFO: GPS data processed {"connection_id":91086,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:17:02] local.INFO: Acknowledgment sent {"connection_id":91086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:17:07] local.INFO: TCP Data received {"connection_id":91087,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:17:07] local.INFO: Processing buffer {"connection_id":91087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:17:07] local.INFO: IMEI packet received {"connection_id":91087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":91087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:17:08] local.INFO: TCP Data received {"connection_id":91087,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88278198012d18d38007201898002a00de29..."} 
[2026-06-02 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88278198012d18d38007201898002a00de29..."} 
[2026-06-02 17:17:08] local.INFO: Processing buffer {"connection_id":91087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88278198012d18d38007201898002a00de29..."} 
[2026-06-02 17:17:08] local.INFO: Packet analysis {"connection_id":91087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8827"} 
[2026-06-02 17:17:08] local.INFO: Extracted packet for processing {"connection_id":91087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8827"} 
[2026-06-02 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119543960,"longitude_deg":75.6601728,"latitude_deg":11.954396,"altitude":42,"angle":222,"satellites":41,"speed":13,"hex_longitude":"2d18d380","hex_latitude":"07201898","is_valid_coordinates":true} 
[2026-06-02 17:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782591744001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125405855267946496,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563785545728,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780400751000,"timestamp_ms":1780400751000,"timestamp_seconds":1780400751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88278198"} 
[2026-06-02 17:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-02 17:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":91087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":91087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":91087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:17:08] 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-06-02 17:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782591744001,"66":14363,"102":206,"83":41984,"24":13,"16":125405855267946496,"45":1789547563785545728},"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-06-02 17:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782591744001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:17:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125405855267946496,"km_value":125405855267946.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563785545728,"description":"Unknown IO ID 45"} 
[2026-06-02 17:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782591744001,"power":14363,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1789547563785545728}} 
[2026-06-02 17:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":91087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:17:08] local.INFO: GPS data processed {"connection_id":91087,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:17:08] local.INFO: Acknowledgment sent {"connection_id":91087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:17:23] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:17:23] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:17:23] local.INFO: IMEI packet received {"connection_id":89996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":89996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:17:23] local.INFO: TCP Data received {"connection_id":89995,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:17:23] local.INFO: Processing buffer {"connection_id":89995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:17:23] local.INFO: IMEI packet received {"connection_id":89995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":89995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:17:28] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:17:28] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:17:28] local.INFO: IMEI packet received {"connection_id":89996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":89996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:17:29] local.INFO: TCP Data received {"connection_id":89995,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:17:29] local.INFO: Processing buffer {"connection_id":89995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:17:29] local.INFO: IMEI packet received {"connection_id":89995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":89995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:17:29] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:17:29] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:17:29] local.INFO: Packet analysis {"connection_id":89996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:17:29] local.INFO: Extracted packet for processing {"connection_id":89996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:17: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-06-02 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:17: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-06-02 17: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-06-02 17:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:17:29] 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-06-02 17:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:17:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":89996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:17:29] local.INFO: GPS data processed {"connection_id":89996,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:17:29] local.INFO: Acknowledgment sent {"connection_id":89996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:17:33] local.INFO: TCP Data received {"connection_id":89995,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8826b678012d7a338005e45dc00019004d2f..."} 
[2026-06-02 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8826b678012d7a338005e45dc00019004d2f..."} 
[2026-06-02 17:17:33] local.INFO: Processing buffer {"connection_id":89995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8826b678012d7a338005e45dc00019004d2f..."} 
[2026-06-02 17:17:33] local.INFO: Packet analysis {"connection_id":89995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8826"} 
[2026-06-02 17:17:33] local.INFO: Extracted packet for processing {"connection_id":89995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8826"} 
[2026-06-02 17:17:33] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98852288,"longitude_deg":76.2983296,"latitude_deg":9.8852288,"altitude":25,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-06-02 17:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782578944001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459233992704,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17: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-06-02 17:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780400699000,"timestamp_ms":1780400699000,"timestamp_seconds":1780400699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8826b678"} 
[2026-06-02 17:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 17:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782578944001,"66":10091,"39":206,"87":13824,"24":0,"16":87909764276682752,"45":8805522459233992704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-02 17:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782578944001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-02 17:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459233992704,"description":"Unknown IO ID 45"} 
[2026-06-02 17:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782578944001,"power":10091,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805522459233992704}} 
[2026-06-02 17:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":89995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:17:33] local.INFO: GPS data processed {"connection_id":89995,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:17:33] local.INFO: Acknowledgment sent {"connection_id":89995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:17:34] local.INFO: TCP Data received {"connection_id":89995,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882877b0012d7a338005e45dc00019004d2a..."} 
[2026-06-02 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882877b0012d7a338005e45dc00019004d2a..."} 
[2026-06-02 17:17:34] local.INFO: Processing buffer {"connection_id":89995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882877b0012d7a338005e45dc00019004d2a..."} 
[2026-06-02 17:17:34] local.INFO: Packet analysis {"connection_id":89995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:17:34] local.INFO: Extracted packet for processing {"connection_id":89995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98852288,"longitude_deg":76.2983296,"latitude_deg":9.8852288,"altitude":25,"angle":77,"satellites":42,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-06-02 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782578944001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459233992704,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780400814000,"timestamp_ms":1780400814000,"timestamp_seconds":1780400814,"priority":1,"record_length":96,"hex_timestamp":"0000019e882877b0"} 
[2026-06-02 17:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 17:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782578944001,"66":2253,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805522459233992704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782578944001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:17:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:17:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459233992704,"description":"Unknown IO ID 45"} 
[2026-06-02 17:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782578944001,"power":2253,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459233992704}} 
[2026-06-02 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":89995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:17:34] local.INFO: GPS data processed {"connection_id":89995,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:17:34] local.INFO: Acknowledgment sent {"connection_id":89995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:17:39] local.INFO: TCP Data received {"connection_id":91087,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88286040012d18d280071fd5d0002f00ee26..."} 
[2026-06-02 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88286040012d18d280071fd5d0002f00ee26..."} 
[2026-06-02 17:17:39] local.INFO: Processing buffer {"connection_id":91087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88286040012d18d280071fd5d0002f00ee26..."} 
[2026-06-02 17:17:39] local.INFO: Packet analysis {"connection_id":91087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:17:39] local.INFO: Extracted packet for processing {"connection_id":91087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119526864,"longitude_deg":75.6601472,"latitude_deg":11.9526864,"altitude":47,"angle":238,"satellites":38,"speed":14,"hex_longitude":"2d18d280","hex_latitude":"071fd5d0","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782606592001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125406727146307584,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613827686400,"note":"Value kept but may cause issues"} 
[2026-06-02 17:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780400808000,"timestamp_ms":1780400808000,"timestamp_seconds":1780400808,"priority":1,"record_length":96,"hex_timestamp":"0000019e88286040"} 
[2026-06-02 17:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":92,"data_length":795,"current_offset":136} 
[2026-06-02 17:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":91087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":91087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":91087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:17:39] 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-06-02 17:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782606592001,"66":13417,"102":206,"83":41984,"24":14,"16":125406727146307584,"45":1788984613827686400},"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-06-02 17:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782606592001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:17:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125406727146307584,"km_value":125406727146307.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613827686400,"description":"Unknown IO ID 45"} 
[2026-06-02 17:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782606592001,"power":13417,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1788984613827686400}} 
[2026-06-02 17:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":91087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:17:39] local.INFO: GPS data processed {"connection_id":91087,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:17:39] local.INFO: Acknowledgment sent {"connection_id":91087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:18:02] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:18:02] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8824aef0012cb29ac007823b00004900d926..."} 
[2026-06-02 17:18:02] local.INFO: Packet analysis {"connection_id":89996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:18:02] local.INFO: Extracted packet for processing {"connection_id":89996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8824"} 
[2026-06-02 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782467840001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780400566000,"timestamp_ms":1780400566000,"timestamp_seconds":1780400566,"priority":1,"record_length":96,"hex_timestamp":"0000019e8824aef0"} 
[2026-06-02 17:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:18: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-06-02 17: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-06-02 17:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:18:02] 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-06-02 17:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782467840001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782467840001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782467840001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":89996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:18:02] local.INFO: GPS data processed {"connection_id":89996,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:18:02] local.INFO: Acknowledgment sent {"connection_id":89996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:18:05] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:05] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:05] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:18:06] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:06] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:06] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:18:10] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:10] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:18:10] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:18:11] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88286428012d18d140071fd538003000fb26..."} 
[2026-06-02 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88286428012d18d140071fd538003000fb26..."} 
[2026-06-02 17:18:11] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88286428012d18d140071fd538003000fb26..."} 
[2026-06-02 17:18:11] local.INFO: Packet analysis {"connection_id":89911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:18:11] local.INFO: Extracted packet for processing {"connection_id":89911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119526712,"longitude_deg":75.6601152,"latitude_deg":11.9526712,"altitude":48,"angle":251,"satellites":38,"speed":15,"hex_longitude":"2d18d140","hex_latitude":"071fd538","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782606848001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125406744326176768,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770106740736,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400809000,"timestamp_ms":1780400809000,"timestamp_seconds":1780400809,"priority":1,"record_length":96,"hex_timestamp":"0000019e88286428"} 
[2026-06-02 17:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:18: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-06-02 17: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-02 17:18:11] 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-06-02 17: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-06-02 17:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:18:11] 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-06-02 17:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782606848001,"66":13417,"102":206,"83":41984,"24":15,"16":125406744326176768,"45":1788632770106740736},"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-06-02 17:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782606848001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:18:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125406744326176768,"km_value":125406744326176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770106740736,"description":"Unknown IO ID 45"} 
[2026-06-02 17:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782606848001,"power":13417,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1788632770106740736}} 
[2026-06-02 17:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":89911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:18:11] local.INFO: GPS data processed {"connection_id":89911,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:18:11] local.INFO: Acknowledgment sent {"connection_id":89911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:18:23] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:23] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:23] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:18:25] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:25] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:25] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:18:29] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:29] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:18:29] local.INFO: IMEI packet received {"connection_id":89629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":89629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:18:29] local.INFO: TCP Data received {"connection_id":89995,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882877b0012d7a338005e45dc00019004d2a..."} 
[2026-06-02 17:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882877b0012d7a338005e45dc00019004d2a..."} 
[2026-06-02 17:18:29] local.INFO: Processing buffer {"connection_id":89995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882877b0012d7a338005e45dc00019004d2a..."} 
[2026-06-02 17:18:29] local.INFO: Packet analysis {"connection_id":89995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:18:29] local.INFO: Extracted packet for processing {"connection_id":89995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:18:29] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98852288,"longitude_deg":76.2983296,"latitude_deg":9.8852288,"altitude":25,"angle":77,"satellites":42,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-06-02 17:18:29] 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-06-02 17:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782608384001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459233992704,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400814000,"timestamp_ms":1780400814000,"timestamp_seconds":1780400814,"priority":1,"record_length":96,"hex_timestamp":"0000019e882877b0"} 
[2026-06-02 17:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 17:18:29] 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-06-02 17:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782608384001,"66":2253,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805522459233992704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782608384001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:18:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:18:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459233992704,"description":"Unknown IO ID 45"} 
[2026-06-02 17:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782608384001,"power":2253,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459233992704}} 
[2026-06-02 17:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":89995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:18:29] local.INFO: GPS data processed {"connection_id":89995,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:18:29] local.INFO: Acknowledgment sent {"connection_id":89995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:18:30] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:18:30] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:18:30] local.INFO: Packet analysis {"connection_id":89629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:18:30] local.INFO: Extracted packet for processing {"connection_id":89629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:18:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:18: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-06-02 17:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:18: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-06-02 17:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:18:30] 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-06-02 17:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:18:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":89629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:18:30] local.INFO: GPS data processed {"connection_id":89629,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:18:30] local.INFO: Acknowledgment sent {"connection_id":89629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:18:42] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88296210012d183780071fe020003d00bc28..."} 
[2026-06-02 17:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88296210012d183780071fe020003d00bc28..."} 
[2026-06-02 17:18:42] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88296210012d183780071fe020003d00bc28..."} 
[2026-06-02 17:18:42] local.INFO: Packet analysis {"connection_id":89911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:18:42] local.INFO: Extracted packet for processing {"connection_id":89911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756561792,"raw_latitude":119529504,"longitude_deg":75.6561792,"latitude_deg":11.9529504,"altitude":61,"angle":188,"satellites":40,"speed":18,"hex_longitude":"2d183780","hex_latitude":"071fe020","is_valid_coordinates":true} 
[2026-06-02 17:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782623488001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408681356427264,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745215254949914624,"note":"Value kept but may cause issues"} 
[2026-06-02 17:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780400874000,"timestamp_ms":1780400874000,"timestamp_seconds":1780400874,"priority":1,"record_length":96,"hex_timestamp":"0000019e88296210"} 
[2026-06-02 17:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-02 17:18:42] 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-06-02 17:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:18:42] 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-06-02 17:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782623488001,"66":13820,"102":206,"83":41984,"24":18,"16":125408681356427264,"45":1745215254949914624},"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-06-02 17:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782623488001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:18:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408681356427264,"km_value":125408681356427.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745215254949914624,"description":"Unknown IO ID 45"} 
[2026-06-02 17:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782623488001,"power":13820,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1745215254949914624}} 
[2026-06-02 17:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":89911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:18:42] local.INFO: GPS data processed {"connection_id":89911,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:18:42] local.INFO: Acknowledgment sent {"connection_id":89911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:18:58] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:18:58] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:18:58] local.INFO: IMEI packet received {"connection_id":89912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":89912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:19:01] local.INFO: TCP Data received {"connection_id":89629,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:19:01] local.INFO: Processing buffer {"connection_id":89629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:19:01] local.INFO: Packet analysis {"connection_id":89629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:01] local.INFO: Extracted packet for processing {"connection_id":89629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:19:01] 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-06-02 17:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:19:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":89629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:19:01] local.INFO: GPS data processed {"connection_id":89629,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:19:01] local.INFO: Acknowledgment sent {"connection_id":89629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:19:03] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:03] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:03] local.INFO: IMEI packet received {"connection_id":89912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":89912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:19:05] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88287f80012d7a338005e45dc00019004d29..."} 
[2026-06-02 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88287f80012d7a338005e45dc00019004d29..."} 
[2026-06-02 17:19:05] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88287f80012d7a338005e45dc00019004d29..."} 
[2026-06-02 17:19:05] local.INFO: Packet analysis {"connection_id":89912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:19:05] local.INFO: Extracted packet for processing {"connection_id":89912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8828"} 
[2026-06-02 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98852288,"longitude_deg":76.2983296,"latitude_deg":9.8852288,"altitude":25,"angle":77,"satellites":41,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-06-02 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782608384001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87909764276682752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459233992704,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780400816000,"timestamp_ms":1780400816000,"timestamp_seconds":1780400816,"priority":1,"record_length":96,"hex_timestamp":"0000019e88287f80"} 
[2026-06-02 17:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:19:05] 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-06-02 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 17:19:05] 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-06-02 17:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782608384001,"66":13015,"157":206,"87":12288,"24":0,"16":87909764276682752,"45":8805522459233992704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-02 17:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782608384001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:19:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-02 17:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-02 17:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87909764276682752,"km_value":87909764276682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459233992704,"description":"Unknown IO ID 45"} 
[2026-06-02 17:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782608384001,"power":13015,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459233992704}} 
[2026-06-02 17:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":89912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:19:05] local.INFO: GPS data processed {"connection_id":89912,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:19:05] local.INFO: Acknowledgment sent {"connection_id":89912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:19:05] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:19:05] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:19:05] local.INFO: IMEI packet received {"connection_id":89997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":89997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:19:10] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:19:10] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:19:10] local.INFO: IMEI packet received {"connection_id":89997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":89997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:19:11] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88298150012d1835c0071fd350004000d127..."} 
[2026-06-02 17:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88298150012d1835c0071fd350004000d127..."} 
[2026-06-02 17:19:11] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88298150012d1835c0071fd350004000d127..."} 
[2026-06-02 17:19:11] local.INFO: Packet analysis {"connection_id":89997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:11] local.INFO: Extracted packet for processing {"connection_id":89997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756561344,"raw_latitude":119526224,"longitude_deg":75.6561344,"latitude_deg":11.9526224,"altitude":64,"angle":209,"satellites":39,"speed":9,"hex_longitude":"2d1835c0","hex_latitude":"071fd350","is_valid_coordinates":true} 
[2026-06-02 17:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782623744001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408844565184512,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745004148717264896,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400882000,"timestamp_ms":1780400882000,"timestamp_seconds":1780400882,"priority":1,"record_length":96,"hex_timestamp":"0000019e88298150"} 
[2026-06-02 17:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:19: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-06-02 17:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 17:19:11] 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-06-02 17:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:19:11] 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-06-02 17:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782623744001,"66":13928,"102":206,"83":41984,"24":9,"16":125408844565184512,"45":1745004148717264896},"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-06-02 17:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782623744001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:19:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408844565184512,"km_value":125408844565184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745004148717264896,"description":"Unknown IO ID 45"} 
[2026-06-02 17:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782623744001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1745004148717264896}} 
[2026-06-02 17:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":89997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:19:11] local.INFO: GPS data processed {"connection_id":89997,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:19:11] local.INFO: Acknowledgment sent {"connection_id":89997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:19:23] local.INFO: TCP Data received {"connection_id":89913,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:19:23] local.INFO: Processing buffer {"connection_id":89913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:19:23] local.INFO: IMEI packet received {"connection_id":89913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":89913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:19:28] local.INFO: TCP Data received {"connection_id":89998,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:28] local.INFO: Processing buffer {"connection_id":89998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:28] local.INFO: IMEI packet received {"connection_id":89998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:19:28] local.INFO: TCP Data received {"connection_id":89913,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:19:28] local.INFO: Processing buffer {"connection_id":89913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:19:28] local.INFO: IMEI packet received {"connection_id":89913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:19:29] local.INFO: TCP Data received {"connection_id":89913,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:19:29] local.INFO: Processing buffer {"connection_id":89913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:19:29] local.INFO: Packet analysis {"connection_id":89913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:29] local.INFO: Extracted packet for processing {"connection_id":89913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:19: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-06-02 17: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-06-02 17:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:19:29] 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-06-02 17:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:19:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":89913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:19:29] local.INFO: GPS data processed {"connection_id":89913,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:19:29] local.INFO: Acknowledgment sent {"connection_id":89913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:19:33] local.INFO: TCP Data received {"connection_id":89998,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:33] local.INFO: Processing buffer {"connection_id":89998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:19:33] local.INFO: IMEI packet received {"connection_id":89998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":89998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:19:33] local.INFO: TCP Data received {"connection_id":89998,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882a7380012d7ad68005e3e678000300a82c..."} 
[2026-06-02 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882a7380012d7ad68005e3e678000300a82c..."} 
[2026-06-02 17:19:33] local.INFO: Processing buffer {"connection_id":89998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882a7380012d7ad68005e3e678000300a82c..."} 
[2026-06-02 17:19:33] local.INFO: Packet analysis {"connection_id":89998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:19:33] local.INFO: Extracted packet for processing {"connection_id":89998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98821752,"longitude_deg":76.3025024,"latitude_deg":9.8821752,"altitude":3,"angle":168,"satellites":44,"speed":37,"hex_longitude":"2d7ad680","hex_latitude":"05e3e678","is_valid_coordinates":true} 
[2026-06-02 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782638336001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87912667674574848,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849432555595362304,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780400944000,"timestamp_ms":1780400944000,"timestamp_seconds":1780400944,"priority":1,"record_length":96,"hex_timestamp":"0000019e882a7380"} 
[2026-06-02 17:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 17:19:33] 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-06-02 17:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782638336001,"66":12472,"97":206,"85":15104,"24":37,"16":87912667674574848,"45":8849432555595362304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782638336001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87912667674574848,"km_value":87912667674574.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849432555595362304,"description":"Unknown IO ID 45"} 
[2026-06-02 17:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782638336001,"power":12472,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8849432555595362304}} 
[2026-06-02 17:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":89998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:19:34] local.INFO: GPS data processed {"connection_id":89998,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:19:34] local.INFO: Acknowledgment sent {"connection_id":89998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:19:42] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88298538012d183540071fd2b8004000e026..."} 
[2026-06-02 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88298538012d183540071fd2b8004000e026..."} 
[2026-06-02 17:19:42] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88298538012d183540071fd2b8004000e026..."} 
[2026-06-02 17:19:42] local.INFO: Packet analysis {"connection_id":89997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:42] local.INFO: Extracted packet for processing {"connection_id":89997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756561216,"raw_latitude":119526072,"longitude_deg":75.6561216,"latitude_deg":11.9526072,"altitude":64,"angle":224,"satellites":38,"speed":7,"hex_longitude":"2d183540","hex_latitude":"071fd2b8","is_valid_coordinates":true} 
[2026-06-02 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782625792001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408853155119104,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744511567507181568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780400883000,"timestamp_ms":1780400883000,"timestamp_seconds":1780400883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88298538"} 
[2026-06-02 17:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 17:19:42] 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-06-02 17:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:19:42] 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-06-02 17:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782625792001,"66":13928,"102":206,"83":41984,"24":7,"16":125408853155119104,"45":1744511567507181568},"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-06-02 17:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782625792001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:19:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408853155119104,"km_value":125408853155119.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744511567507181568,"description":"Unknown IO ID 45"} 
[2026-06-02 17:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782625792001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1744511567507181568}} 
[2026-06-02 17:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":89997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:19:42] local.INFO: GPS data processed {"connection_id":89997,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:19:42] local.INFO: Acknowledgment sent {"connection_id":89997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:20:00] local.INFO: TCP Data received {"connection_id":89913,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:00] local.INFO: Processing buffer {"connection_id":89913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:00] local.INFO: Packet analysis {"connection_id":89913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:00] local.INFO: Extracted packet for processing {"connection_id":89913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:20: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-06-02 17:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:20:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":89913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:20:00] local.INFO: GPS data processed {"connection_id":89913,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:20:00] local.INFO: Acknowledgment sent {"connection_id":89913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:20:05] local.INFO: TCP Data received {"connection_id":89998,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882aa260012d7adfc005e3c500000400a32c..."} 
[2026-06-02 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882aa260012d7adfc005e3c500000400a32c..."} 
[2026-06-02 17:20:05] local.INFO: Processing buffer {"connection_id":89998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882aa260012d7adfc005e3c500000400a32c..."} 
[2026-06-02 17:20:05] local.INFO: Packet analysis {"connection_id":89998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:20:05] local.INFO: Extracted packet for processing {"connection_id":89998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763027392,"raw_latitude":98813184,"longitude_deg":76.3027392,"latitude_deg":9.8813184,"altitude":4,"angle":163,"satellites":44,"speed":28,"hex_longitude":"2d7adfc0","hex_latitude":"05e3c500","is_valid_coordinates":true} 
[2026-06-02 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782641664001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87913101466271744,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880430012416,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780400956000,"timestamp_ms":1780400956000,"timestamp_seconds":1780400956,"priority":1,"record_length":96,"hex_timestamp":"0000019e882aa260"} 
[2026-06-02 17:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 17:20:05] 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-06-02 17:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782641664001,"66":13015,"97":206,"85":15104,"24":28,"16":87913101466271744,"45":8851402880430012416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782641664001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87913101466271744,"km_value":87913101466271.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880430012416,"description":"Unknown IO ID 45"} 
[2026-06-02 17:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782641664001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8851402880430012416}} 
[2026-06-02 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":89998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:20:05] local.INFO: GPS data processed {"connection_id":89998,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:20:05] local.INFO: Acknowledgment sent {"connection_id":89998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:20:05] local.INFO: TCP Data received {"connection_id":91090,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:05] local.INFO: Processing buffer {"connection_id":91090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:05] local.INFO: IMEI packet received {"connection_id":91090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":91090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:20:05] local.INFO: TCP Data received {"connection_id":91090,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:05] local.INFO: Processing buffer {"connection_id":91090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:05] local.INFO: IMEI packet received {"connection_id":91090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":91090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:20:10] local.INFO: TCP Data received {"connection_id":91090,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:10] local.INFO: Processing buffer {"connection_id":91090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:20:10] local.INFO: IMEI packet received {"connection_id":91090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":91090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:20:11] local.INFO: TCP Data received {"connection_id":91090,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8829d740012d183480071fd260004000e024..."} 
[2026-06-02 17:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8829d740012d183480071fd260004000e024..."} 
[2026-06-02 17:20:11] local.INFO: Processing buffer {"connection_id":91090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8829d740012d183480071fd260004000e024..."} 
[2026-06-02 17:20:11] local.INFO: Packet analysis {"connection_id":91090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:11] local.INFO: Extracted packet for processing {"connection_id":91090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119525984,"longitude_deg":75.6561024,"latitude_deg":11.9525984,"altitude":64,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d183480","hex_latitude":"071fd260","is_valid_coordinates":true} 
[2026-06-02 17:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782626048001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408866040020992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744370830018787328,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:11] 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-06-02 17:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400904000,"timestamp_ms":1780400904000,"timestamp_seconds":1780400904,"priority":1,"record_length":96,"hex_timestamp":"0000019e8829d740"} 
[2026-06-02 17:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 17:20:11] 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-06-02 17:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:20:11] 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-06-02 17:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782626048001,"66":13820,"106":206,"83":41984,"24":0,"16":125408866040020992,"45":1744370830018787328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 17:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782626048001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:20:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 17:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408866040020992,"km_value":125408866040020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744370830018787328,"description":"Unknown IO ID 45"} 
[2026-06-02 17:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782626048001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744370830018787328}} 
[2026-06-02 17:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":91090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:20:11] local.INFO: GPS data processed {"connection_id":91090,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:20:11] local.INFO: Acknowledgment sent {"connection_id":91090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:20:22] local.INFO: TCP Data received {"connection_id":91091,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:22] local.INFO: Processing buffer {"connection_id":91091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:22] local.INFO: IMEI packet received {"connection_id":91091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":91091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:20:23] local.INFO: TCP Data received {"connection_id":91091,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:23] local.INFO: Processing buffer {"connection_id":91091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:23] local.INFO: IMEI packet received {"connection_id":91091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":91091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:20:28] local.INFO: TCP Data received {"connection_id":91092,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:20:28] local.INFO: Processing buffer {"connection_id":91092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:20:28] local.INFO: IMEI packet received {"connection_id":91092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":91092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:20:29] local.INFO: TCP Data received {"connection_id":91091,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:29] local.INFO: Processing buffer {"connection_id":91091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:20:29] local.INFO: IMEI packet received {"connection_id":91091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":91091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:20:30] local.INFO: TCP Data received {"connection_id":91091,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882adcf8012d7aeb4005e3a340000600a42b..."} 
[2026-06-02 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882adcf8012d7aeb4005e3a340000600a42b..."} 
[2026-06-02 17:20:30] local.INFO: Processing buffer {"connection_id":91091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882adcf8012d7aeb4005e3a340000600a42b..."} 
[2026-06-02 17:20:30] local.INFO: Packet analysis {"connection_id":91091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:20:30] local.INFO: Extracted packet for processing {"connection_id":91091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98804544,"longitude_deg":76.3030336,"latitude_deg":9.8804544,"altitude":6,"angle":164,"satellites":43,"speed":24,"hex_longitude":"2d7aeb40","hex_latitude":"05e3a340","is_valid_coordinates":true} 
[2026-06-02 17:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782644736001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87913543847903232,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854006523962392576,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780400971000,"timestamp_ms":1780400971000,"timestamp_seconds":1780400971,"priority":1,"record_length":96,"hex_timestamp":"0000019e882adcf8"} 
[2026-06-02 17:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:20: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-06-02 17:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 17:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":91091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":91091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":91091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782644736001,"66":13091,"97":206,"85":15104,"24":24,"16":87913543847903232,"45":8854006523962392576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782644736001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:20:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87913543847903232,"km_value":87913543847903.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854006523962392576,"description":"Unknown IO ID 45"} 
[2026-06-02 17:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782644736001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8854006523962392576}} 
[2026-06-02 17:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":91091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:20:30] local.INFO: GPS data processed {"connection_id":91091,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:20:30] local.INFO: Acknowledgment sent {"connection_id":91091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:20:33] local.INFO: TCP Data received {"connection_id":91092,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:20:33] local.INFO: Processing buffer {"connection_id":91092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:20:33] local.INFO: IMEI packet received {"connection_id":91092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":91092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:20:34] local.INFO: TCP Data received {"connection_id":91092,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:34] local.INFO: Processing buffer {"connection_id":91092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:34] local.INFO: Packet analysis {"connection_id":91092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:34] local.INFO: Extracted packet for processing {"connection_id":91092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:20:34] 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-06-02 17:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":91092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:20:34] local.INFO: GPS data processed {"connection_id":91092,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:20:34] local.INFO: Acknowledgment sent {"connection_id":91092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:20:39] local.INFO: TCP Data received {"connection_id":91092,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:39] local.INFO: Processing buffer {"connection_id":91092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:20:39] local.INFO: Packet analysis {"connection_id":91092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:39] local.INFO: Extracted packet for processing {"connection_id":91092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":91092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":91092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":91092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:20:39] 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-06-02 17:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:20:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":91092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:20:39] local.INFO: GPS data processed {"connection_id":91092,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:20:39] local.INFO: Acknowledgment sent {"connection_id":91092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:20:42] local.INFO: TCP Data received {"connection_id":91090,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882a2948012d183480071fd260004000e025..."} 
[2026-06-02 17:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882a2948012d183480071fd260004000e025..."} 
[2026-06-02 17:20:42] local.INFO: Processing buffer {"connection_id":91090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882a2948012d183480071fd260004000e025..."} 
[2026-06-02 17:20:42] local.INFO: Packet analysis {"connection_id":91090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:20:42] local.INFO: Extracted packet for processing {"connection_id":91090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119525984,"longitude_deg":75.6561024,"latitude_deg":11.9525984,"altitude":64,"angle":224,"satellites":37,"speed":0,"hex_longitude":"2d183480","hex_latitude":"071fd260","is_valid_coordinates":true} 
[2026-06-02 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782631424001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408866040020992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723786231808,"note":"Value kept but may cause issues"} 
[2026-06-02 17:20:42] 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-06-02 17:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780400925000,"timestamp_ms":1780400925000,"timestamp_seconds":1780400925,"priority":1,"record_length":96,"hex_timestamp":"0000019e882a2948"} 
[2026-06-02 17:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 17:20:42] 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-06-02 17:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:20:42] 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-06-02 17:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782631424001,"66":13852,"106":206,"83":41984,"24":0,"16":125408866040020992,"45":1744159723786231808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 17:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782631424001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:20:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 17:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408866040020992,"km_value":125408866040020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723786231808,"description":"Unknown IO ID 45"} 
[2026-06-02 17:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782631424001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744159723786231808}} 
[2026-06-02 17:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":91090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:20:42] local.INFO: GPS data processed {"connection_id":91090,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:20:42] local.INFO: Acknowledgment sent {"connection_id":91090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:21:02] local.INFO: TCP Data received {"connection_id":91091,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882b2b18012d7af4c005e38618000500a62c..."} 
[2026-06-02 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882b2b18012d7af4c005e38618000500a62c..."} 
[2026-06-02 17:21:02] local.INFO: Processing buffer {"connection_id":91091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882b2b18012d7af4c005e38618000500a62c..."} 
[2026-06-02 17:21:02] local.INFO: Packet analysis {"connection_id":91091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:21:02] local.INFO: Extracted packet for processing {"connection_id":91091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763032768,"raw_latitude":98797080,"longitude_deg":76.3032768,"latitude_deg":9.879708,"altitude":5,"angle":166,"satellites":44,"speed":17,"hex_longitude":"2d7af4c0","hex_latitude":"05e38618","is_valid_coordinates":true} 
[2026-06-02 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782648576001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87913921805025280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243486192353280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780400991000,"timestamp_ms":1780400991000,"timestamp_seconds":1780400991,"priority":1,"record_length":96,"hex_timestamp":"0000019e882b2b18"} 
[2026-06-02 17:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 17:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782648576001,"66":13059,"97":206,"85":15104,"24":17,"16":87913921805025280,"45":8857243486192353280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782648576001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87913921805025280,"km_value":87913921805025.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243486192353280,"description":"Unknown IO ID 45"} 
[2026-06-02 17:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782648576001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8857243486192353280}} 
[2026-06-02 17:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":91091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:21:02] local.INFO: GPS data processed {"connection_id":91091,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:21:02] local.INFO: Acknowledgment sent {"connection_id":91091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:21:05] local.INFO: TCP Data received {"connection_id":91093,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:21:05] local.INFO: Processing buffer {"connection_id":91093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:21:05] local.INFO: IMEI packet received {"connection_id":91093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":91093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:21:10] local.INFO: TCP Data received {"connection_id":91093,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:21:10] local.INFO: Processing buffer {"connection_id":91093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:21:10] local.INFO: IMEI packet received {"connection_id":91093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":91093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:21:11] local.INFO: TCP Data received {"connection_id":91093,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882a7b50012d183480071fd260004000e025..."} 
[2026-06-02 17:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882a7b50012d183480071fd260004000e025..."} 
[2026-06-02 17:21:11] local.INFO: Processing buffer {"connection_id":91093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882a7b50012d183480071fd260004000e025..."} 
[2026-06-02 17:21:11] local.INFO: Packet analysis {"connection_id":91093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:21:11] local.INFO: Extracted packet for processing {"connection_id":91093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119525984,"longitude_deg":75.6561024,"latitude_deg":11.9525984,"altitude":64,"angle":224,"satellites":37,"speed":0,"hex_longitude":"2d183480","hex_latitude":"071fd260","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782636800001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408866040020992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723786231808,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:11] 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-06-02 17:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400946000,"timestamp_ms":1780400946000,"timestamp_seconds":1780400946,"priority":1,"record_length":96,"hex_timestamp":"0000019e882a7b50"} 
[2026-06-02 17:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:21: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-06-02 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 17:21:11] 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-06-02 17: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-06-02 17:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:21:11] 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-06-02 17:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782636800001,"66":13906,"106":206,"83":41984,"24":0,"16":125408866040020992,"45":1744159723786231808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 17:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782636800001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:21:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 17:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408866040020992,"km_value":125408866040020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723786231808,"description":"Unknown IO ID 45"} 
[2026-06-02 17:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782636800001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744159723786231808}} 
[2026-06-02 17:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":91093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:21:11] local.INFO: GPS data processed {"connection_id":91093,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:21:11] local.INFO: Acknowledgment sent {"connection_id":91093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:21:23] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:23] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:23] local.INFO: IMEI packet received {"connection_id":90000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":90000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:21:24] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:21:24] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:21:24] local.INFO: IMEI packet received {"connection_id":89999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":89999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:21:25] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:25] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:25] local.INFO: IMEI packet received {"connection_id":90000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":90000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:21:28] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:21:28] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:21:28] local.INFO: IMEI packet received {"connection_id":89999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":89999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:21:29] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:29] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:21:29] local.INFO: IMEI packet received {"connection_id":90000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":90000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:21:29] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:21:29] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:21:29] local.INFO: Packet analysis {"connection_id":89999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:21:29] local.INFO: Extracted packet for processing {"connection_id":89999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:21:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:21: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-06-02 17: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-06-02 17:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:21:29] 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-06-02 17:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:21:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":89999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:21:29] local.INFO: GPS data processed {"connection_id":89999,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:21:29] local.INFO: Acknowledgment sent {"connection_id":89999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:21:30] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882b7550012d7aff4005e36330000300a02c..."} 
[2026-06-02 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882b7550012d7aff4005e36330000300a02c..."} 
[2026-06-02 17:21:30] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882b7550012d7aff4005e36330000300a02c..."} 
[2026-06-02 17:21:30] local.INFO: Packet analysis {"connection_id":90000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:21:30] local.INFO: Extracted packet for processing {"connection_id":90000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763035456,"raw_latitude":98788144,"longitude_deg":76.3035456,"latitude_deg":9.8788144,"altitude":3,"angle":160,"satellites":44,"speed":20,"hex_longitude":"2d7aff40","hex_latitude":"05e36330","is_valid_coordinates":true} 
[2026-06-02 17:21: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-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782653696001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87914377071558656,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859917498469193728,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780401010000,"timestamp_ms":1780401010000,"timestamp_seconds":1780401010,"priority":1,"record_length":96,"hex_timestamp":"0000019e882b7550"} 
[2026-06-02 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:21: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-06-02 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899430,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399448,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2284457456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221611534,"corrected_to":0} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3827634176,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:30] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,158,220,45,64,163,6,43,10,66,84,162,192,197,4,44,115,128,1,240,184,227,136,228,113,205,56,152,40,239,50,2,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3221611534,"validated":0}]} 
[2026-06-02 17:21:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360470678099525632,"timestamp_seconds":360470678099525.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782653696001,"66":13102,"97":206,"85":15104,"24":20,"16":87914377071558656,"45":8859917498469193728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782653696001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87914377071558656,"km_value":87914377071558.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859917498469193728,"description":"Unknown IO ID 45"} 
[2026-06-02 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782653696001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8859917498469193728}} 
[2026-06-02 17:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":90000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:21:30] local.INFO: GPS data processed {"connection_id":90000,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:21:30] local.INFO: Acknowledgment sent {"connection_id":90000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:21:34] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:21:34] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:21:34] local.INFO: Packet analysis {"connection_id":89999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:21:34] local.INFO: Extracted packet for processing {"connection_id":89999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 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-06-02 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:21:34] 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-06-02 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:21:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:21:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":89999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:21:34] local.INFO: GPS data processed {"connection_id":89999,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:21:34] local.INFO: Acknowledgment sent {"connection_id":89999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:21:46] local.INFO: TCP Data received {"connection_id":91093,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882acd58012d183480071fd260004000e023..."} 
[2026-06-02 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882acd58012d183480071fd260004000e023..."} 
[2026-06-02 17:21:46] local.INFO: Processing buffer {"connection_id":91093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882acd58012d183480071fd260004000e023..."} 
[2026-06-02 17:21:46] local.INFO: Packet analysis {"connection_id":91093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:21:46] local.INFO: Extracted packet for processing {"connection_id":91093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882a"} 
[2026-06-02 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119525984,"longitude_deg":75.6561024,"latitude_deg":11.9525984,"altitude":64,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d183480","hex_latitude":"071fd260","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782642176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408866040020992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723786231808,"note":"Value kept but may cause issues"} 
[2026-06-02 17:21: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-06-02 17:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780400967000,"timestamp_ms":1780400967000,"timestamp_seconds":1780400967,"priority":1,"record_length":96,"hex_timestamp":"0000019e882acd58"} 
[2026-06-02 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-06-02 17:21: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-06-02 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 17:21:46] 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-06-02 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-06-02 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-06-02 17:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":91093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":91093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":91093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:21: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-06-02 17:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782642176001,"66":13852,"106":206,"83":41984,"24":0,"16":125408866040020992,"45":1744159723786231808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 17:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782642176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:21:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 17:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408866040020992,"km_value":125408866040020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723786231808,"description":"Unknown IO ID 45"} 
[2026-06-02 17:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782642176001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744159723786231808}} 
[2026-06-02 17:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":91093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:21:46] local.INFO: GPS data processed {"connection_id":91093,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:21:46] local.INFO: Acknowledgment sent {"connection_id":91093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:22:01] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882ba048012d7b07c005e351a8000500942c..."} 
[2026-06-02 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882ba048012d7b07c005e351a8000500942c..."} 
[2026-06-02 17:22:01] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882ba048012d7b07c005e351a8000500942c..."} 
[2026-06-02 17:22:01] local.INFO: Packet analysis {"connection_id":90000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:01] local.INFO: Extracted packet for processing {"connection_id":90000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98783656,"longitude_deg":76.3037632,"latitude_deg":9.8783656,"altitude":5,"angle":148,"satellites":44,"speed":19,"hex_longitude":"2d7b07c0","hex_latitude":"05e351a8","is_valid_coordinates":true} 
[2026-06-02 17:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782658560001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87914617589727232,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862872985722368000,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780401021000,"timestamp_ms":1780401021000,"timestamp_seconds":1780401021,"priority":1,"record_length":96,"hex_timestamp":"0000019e882ba048"} 
[2026-06-02 17:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:22:01] local.INFO: IO Element 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-06-02 17:22:01] 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-06-02 17:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782658560001,"66":12906,"97":206,"85":15104,"24":19,"16":87914617589727232,"45":8862872985722368000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782658560001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:22:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87914617589727232,"km_value":87914617589727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862872985722368000,"description":"Unknown IO ID 45"} 
[2026-06-02 17:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782658560001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8862872985722368000}} 
[2026-06-02 17:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":90000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:22:01] local.INFO: GPS data processed {"connection_id":90000,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:22:01] local.INFO: Acknowledgment sent {"connection_id":90000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:22:05] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:22:05] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:22:05] local.INFO: Packet analysis {"connection_id":89999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:22:05] local.INFO: Extracted packet for processing {"connection_id":89999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:22:05] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:22:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:22:05] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:22:05] local.INFO: IMEI packet received {"connection_id":89915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":89915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":89999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:22:05] local.INFO: GPS data processed {"connection_id":89999,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:22:05] local.INFO: Acknowledgment sent {"connection_id":89999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:22:10] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:22:10] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:22:10] local.INFO: IMEI packet received {"connection_id":89915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":89915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:22:11] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882b1f60012d183480071fd260004000e027..."} 
[2026-06-02 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882b1f60012d183480071fd260004000e027..."} 
[2026-06-02 17:22:11] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882b1f60012d183480071fd260004000e027..."} 
[2026-06-02 17:22:11] local.INFO: Packet analysis {"connection_id":89915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:11] local.INFO: Extracted packet for processing {"connection_id":89915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119525984,"longitude_deg":75.6561024,"latitude_deg":11.9525984,"altitude":64,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d183480","hex_latitude":"071fd260","is_valid_coordinates":true} 
[2026-06-02 17:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782647552001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408866040020992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723786231808,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:11] 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-06-02 17:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780400988000,"timestamp_ms":1780400988000,"timestamp_seconds":1780400988,"priority":1,"record_length":96,"hex_timestamp":"0000019e882b1f60"} 
[2026-06-02 17:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:22: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-06-02 17:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 17:22:11] 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-06-02 17:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:22:11] 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-06-02 17:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782647552001,"66":14428,"106":206,"83":41984,"24":0,"16":125408866040020992,"45":1744159723786231808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 17:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782647552001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 17:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408866040020992,"km_value":125408866040020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723786231808,"description":"Unknown IO ID 45"} 
[2026-06-02 17:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782647552001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744159723786231808}} 
[2026-06-02 17:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":89915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:22:11] local.INFO: GPS data processed {"connection_id":89915,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:22:11] local.INFO: Acknowledgment sent {"connection_id":89915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:22:18] local.INFO: TCP Data received {"connection_id":89914,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:22:18] local.INFO: Processing buffer {"connection_id":89914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:22:18] local.INFO: IMEI packet received {"connection_id":89914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":89914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:22:23] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:22:23] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:22:23] local.INFO: IMEI packet received {"connection_id":89631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":89631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:22:23] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:23] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:23] local.INFO: IMEI packet received {"connection_id":89632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":89632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:22:24] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:24] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:24] local.INFO: IMEI packet received {"connection_id":89632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":89632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:22:28] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:22:28] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:22:28] local.INFO: IMEI packet received {"connection_id":89631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":89631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:22:29] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:29] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:22:29] local.INFO: IMEI packet received {"connection_id":89632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":89632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:22:29] local.INFO: TCP Data received {"connection_id":89631,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:22:29] local.INFO: Processing buffer {"connection_id":89631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882946b8012cb29ac007823b00004900d928..."} 
[2026-06-02 17:22:29] local.INFO: Packet analysis {"connection_id":89631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:22:29] local.INFO: Extracted packet for processing {"connection_id":89631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8829"} 
[2026-06-02 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782544896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780400867000,"timestamp_ms":1780400867000,"timestamp_seconds":1780400867,"priority":1,"record_length":96,"hex_timestamp":"0000019e882946b8"} 
[2026-06-02 17:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:22: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-06-02 17:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:22: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-06-02 17:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782544896001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782544896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:22:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782544896001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":89631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:22:29] local.INFO: GPS data processed {"connection_id":89631,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:22:29] local.INFO: Acknowledgment sent {"connection_id":89631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:22:30] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882bb7b8012d7b0d8005e349c80007008627..."} 
[2026-06-02 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882bb7b8012d7b0d8005e349c80007008627..."} 
[2026-06-02 17:22:30] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882bb7b8012d7b0d8005e349c80007008627..."} 
[2026-06-02 17:22:30] local.INFO: Packet analysis {"connection_id":89632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:30] local.INFO: Extracted packet for processing {"connection_id":89632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98781640,"longitude_deg":76.3039104,"latitude_deg":9.878164,"altitude":7,"angle":134,"satellites":39,"speed":11,"hex_longitude":"2d7b0d80","hex_latitude":"05e349c8","is_valid_coordinates":true} 
[2026-06-02 17:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782661376001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87914737848811520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523023259648,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780401027000,"timestamp_ms":1780401027000,"timestamp_seconds":1780401027,"priority":1,"record_length":96,"hex_timestamp":"0000019e882bb7b8"} 
[2026-06-02 17:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:22: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-06-02 17:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 17:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782661376001,"66":12765,"97":206,"85":15104,"24":11,"16":87914737848811520,"45":8865265523023259648},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-02 17:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782661376001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87914737848811520,"km_value":87914737848811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523023259648,"description":"Unknown IO ID 45"} 
[2026-06-02 17:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782661376001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8865265523023259648}} 
[2026-06-02 17:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":89632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:22:30] local.INFO: GPS data processed {"connection_id":89632,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:22:30] local.INFO: Acknowledgment sent {"connection_id":89632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:22:43] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882b7168012d183480071fd260004000e027..."} 
[2026-06-02 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882b7168012d183480071fd260004000e027..."} 
[2026-06-02 17:22:43] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882b7168012d183480071fd260004000e027..."} 
[2026-06-02 17:22:43] local.INFO: Packet analysis {"connection_id":89915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:43] local.INFO: Extracted packet for processing {"connection_id":89915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119525984,"longitude_deg":75.6561024,"latitude_deg":11.9525984,"altitude":64,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d183480","hex_latitude":"071fd260","is_valid_coordinates":true} 
[2026-06-02 17:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782652928001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408866040020992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723786231808,"note":"Value kept but may cause issues"} 
[2026-06-02 17:22:43] 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-06-02 17:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780401009000,"timestamp_ms":1780401009000,"timestamp_seconds":1780401009,"priority":1,"record_length":96,"hex_timestamp":"0000019e882b7168"} 
[2026-06-02 17:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 17:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:22:43] 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-06-02 17:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782652928001,"66":13906,"106":206,"83":41984,"24":0,"16":125408866040020992,"45":1744159723786231808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 17:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782652928001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 17:22:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408866040020992,"km_value":125408866040020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723786231808,"description":"Unknown IO ID 45"} 
[2026-06-02 17:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782652928001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1744159723786231808}} 
[2026-06-02 17:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":89915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:22:44] local.INFO: GPS data processed {"connection_id":89915,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:22:44] local.INFO: Acknowledgment sent {"connection_id":89915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:22:57] local.INFO: TCP Data received {"connection_id":89633,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:22:57] local.INFO: Processing buffer {"connection_id":89633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:22:57] local.INFO: IMEI packet received {"connection_id":89633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":89633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:23:02] local.INFO: TCP Data received {"connection_id":89632,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882d7cd8012d7b2a4005e26b20000900a726..."} 
[2026-06-02 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882d7cd8012d7b2a4005e26b20000900a726..."} 
[2026-06-02 17:23:02] local.INFO: Processing buffer {"connection_id":89632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882d7cd8012d7b2a4005e26b20000900a726..."} 
[2026-06-02 17:23:02] local.INFO: Packet analysis {"connection_id":89632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:02] local.INFO: Extracted packet for processing {"connection_id":89632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98724640,"longitude_deg":76.3046464,"latitude_deg":9.872464,"altitude":9,"angle":167,"satellites":38,"speed":11,"hex_longitude":"2d7b2a40","hex_latitude":"05e26b20","is_valid_coordinates":true} 
[2026-06-02 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782692096001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87917551052390400,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672216477696,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780401143000,"timestamp_ms":1780401143000,"timestamp_seconds":1780401143,"priority":1,"record_length":96,"hex_timestamp":"0000019e882d7cd8"} 
[2026-06-02 17:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 17:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782692096001,"66":12472,"96":206,"85":15104,"24":11,"16":87917551052390400,"45":8874835672216477696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 17:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782692096001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87917551052390400,"km_value":87917551052390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672216477696,"description":"Unknown IO ID 45"} 
[2026-06-02 17:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782692096001,"power":12472,"unknown_96":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8874835672216477696}} 
[2026-06-02 17:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":89632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:23:02] local.INFO: GPS data processed {"connection_id":89632,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:23:02] local.INFO: Acknowledgment sent {"connection_id":89632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:23:03] local.INFO: TCP Data received {"connection_id":89634,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:03] local.INFO: Processing buffer {"connection_id":89634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:03] local.INFO: IMEI packet received {"connection_id":89634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":89634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:23:10] local.INFO: TCP Data received {"connection_id":89635,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:23:10] local.INFO: Processing buffer {"connection_id":89635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:23:10] local.INFO: IMEI packet received {"connection_id":89635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":89635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:23:15] local.INFO: TCP Data received {"connection_id":89635,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:23:15] local.INFO: Processing buffer {"connection_id":89635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:23:15] local.INFO: IMEI packet received {"connection_id":89635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":89635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:23:16] local.INFO: TCP Data received {"connection_id":89635,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882bac00012d183380071fd2600042010c28..."} 
[2026-06-02 17:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882bac00012d183380071fd2600042010c28..."} 
[2026-06-02 17:23:16] local.INFO: Processing buffer {"connection_id":89635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882bac00012d183380071fd2600042010c28..."} 
[2026-06-02 17:23:16] local.INFO: Packet analysis {"connection_id":89635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:23:16] local.INFO: Extracted packet for processing {"connection_id":89635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882b"} 
[2026-06-02 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756560768,"raw_latitude":119525984,"longitude_deg":75.6560768,"latitude_deg":11.9525984,"altitude":66,"angle":268,"satellites":40,"speed":4,"hex_longitude":"2d183380","hex_latitude":"071fd260","is_valid_coordinates":true} 
[2026-06-02 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782658304001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125408878924922880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723786231808,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780401024000,"timestamp_ms":1780401024000,"timestamp_seconds":1780401024,"priority":1,"record_length":96,"hex_timestamp":"0000019e882bac00"} 
[2026-06-02 17:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:23: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-06-02 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-02 17:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:23:16] 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-06-02 17:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782658304001,"66":13526,"102":206,"83":41984,"24":4,"16":125408878924922880,"45":1744159723786231808},"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-06-02 17:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782658304001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125408878924922880,"km_value":125408878924922.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723786231808,"description":"Unknown IO ID 45"} 
[2026-06-02 17:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782658304001,"power":13526,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1744159723786231808}} 
[2026-06-02 17:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":89635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:23:16] local.INFO: GPS data processed {"connection_id":89635,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:23:16] local.INFO: Acknowledgment sent {"connection_id":89635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:23:28] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:23:28] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:23:28] local.INFO: IMEI packet received {"connection_id":89916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":89916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:23:33] local.INFO: TCP Data received {"connection_id":91094,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:33] local.INFO: Processing buffer {"connection_id":91094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:33] local.INFO: IMEI packet received {"connection_id":91094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":91094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:23:33] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:23:33] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:23:33] local.INFO: IMEI packet received {"connection_id":89916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":89916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:23:34] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dcee0012d7b2f4005e24e00000500ad26..."} 
[2026-06-02 17:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dcee0012d7b2f4005e24e00000500ad26..."} 
[2026-06-02 17:23:34] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dcee0012d7b2f4005e24e00000500ad26..."} 
[2026-06-02 17:23:34] local.INFO: Packet analysis {"connection_id":89916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:34] local.INFO: Extracted packet for processing {"connection_id":89916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763047744,"raw_latitude":98717184,"longitude_deg":76.3047744,"latitude_deg":9.8717184,"altitude":5,"angle":173,"satellites":38,"speed":29,"hex_longitude":"2d7b2f40","hex_latitude":"05e24e00","is_valid_coordinates":true} 
[2026-06-02 17:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782692608001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87917920419577856,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409704669184,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780401164000,"timestamp_ms":1780401164000,"timestamp_seconds":1780401164,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dcee0"} 
[2026-06-02 17:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 17:23: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-06-02 17:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782692608001,"66":12722,"96":206,"85":15104,"24":29,"16":87917920419577856,"45":8874976409704669184},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 17:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782692608001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:23:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 17:23:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87917920419577856,"km_value":87917920419577.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409704669184,"description":"Unknown IO ID 45"} 
[2026-06-02 17:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782692608001,"power":12722,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8874976409704669184}} 
[2026-06-02 17:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":89916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:23:34] local.INFO: GPS data processed {"connection_id":89916,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:23:34] local.INFO: Acknowledgment sent {"connection_id":89916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:23:38] local.INFO: TCP Data received {"connection_id":91094,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:38] local.INFO: Processing buffer {"connection_id":91094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:23:38] local.INFO: IMEI packet received {"connection_id":91094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":91094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:23:39] local.INFO: TCP Data received {"connection_id":91094,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:23:39] local.INFO: Processing buffer {"connection_id":91094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:23:39] local.INFO: Packet analysis {"connection_id":91094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:39] local.INFO: Extracted packet for processing {"connection_id":91094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":91094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":91094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":91094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:23:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:23:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":91094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:23:39] local.INFO: GPS data processed {"connection_id":91094,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:23:39] local.INFO: Acknowledgment sent {"connection_id":91094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:23:47] local.INFO: TCP Data received {"connection_id":89635,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882d80c0012d181400071fc5f8003800d522..."} 
[2026-06-02 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882d80c0012d181400071fc5f8003800d522..."} 
[2026-06-02 17:23:47] local.INFO: Processing buffer {"connection_id":89635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882d80c0012d181400071fc5f8003800d522..."} 
[2026-06-02 17:23:47] local.INFO: Packet analysis {"connection_id":89635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:47] local.INFO: Extracted packet for processing {"connection_id":89635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119522808,"longitude_deg":75.6552704,"latitude_deg":11.9522808,"altitude":56,"angle":213,"satellites":34,"speed":0,"hex_longitude":"2d181400","hex_latitude":"071fc5f8","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782687488001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125409355666292736,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787042322432,"note":"Value kept but may cause issues"} 
[2026-06-02 17:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780401144000,"timestamp_ms":1780401144000,"timestamp_seconds":1780401144,"priority":1,"record_length":96,"hex_timestamp":"0000019e882d80c0"} 
[2026-06-02 17:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:23: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-06-02 17: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":81,"data_length":795,"current_offset":136} 
[2026-06-02 17:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:23:47] 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-06-02 17:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782687488001,"66":12004,"107":206,"83":41984,"24":0,"16":125409355666292736,"45":1735011787042322432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 17:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782687488001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125409355666292736,"km_value":125409355666292.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787042322432,"description":"Unknown IO ID 45"} 
[2026-06-02 17:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782687488001,"power":12004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735011787042322432}} 
[2026-06-02 17:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":89635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:23:47] local.INFO: GPS data processed {"connection_id":89635,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:23:47] local.INFO: Acknowledgment sent {"connection_id":89635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:24:05] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:05] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:05] local.INFO: IMEI packet received {"connection_id":89636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":89636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:24:05] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882df9d8012d7b334005e22938000600ad25..."} 
[2026-06-02 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882df9d8012d7b334005e22938000600ad25..."} 
[2026-06-02 17:24:05] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882df9d8012d7b334005e22938000600ad25..."} 
[2026-06-02 17:24:05] local.INFO: Packet analysis {"connection_id":89916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:05] local.INFO: Extracted packet for processing {"connection_id":89916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98707768,"longitude_deg":76.3048768,"latitude_deg":9.8707768,"altitude":6,"angle":173,"satellites":37,"speed":31,"hex_longitude":"2d7b3340","hex_latitude":"05e22938","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782697984001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87918379981078528,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876383784586313728,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780401175000,"timestamp_ms":1780401175000,"timestamp_seconds":1780401175,"priority":1,"record_length":96,"hex_timestamp":"0000019e882df9d8"} 
[2026-06-02 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-06-02 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 17:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 17:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782697984001,"66":12461,"96":206,"85":15104,"24":31,"16":87918379981078528,"45":8876383784586313728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 17:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782697984001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:24:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 17:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87918379981078528,"km_value":87918379981078.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876383784586313728,"description":"Unknown IO ID 45"} 
[2026-06-02 17:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782697984001,"power":12461,"unknown_96":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8876383784586313728}} 
[2026-06-02 17:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":89916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:24:05] local.INFO: GPS data processed {"connection_id":89916,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:24:05] local.INFO: Acknowledgment sent {"connection_id":89916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:24:06] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:06] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:06] local.INFO: IMEI packet received {"connection_id":89636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":89636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:24:08] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:08] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:08] local.INFO: IMEI packet received {"connection_id":89636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":89636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:24:10] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:10] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:24:10] local.INFO: IMEI packet received {"connection_id":89636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":89636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:24:10] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dd2c8012d181400071fc5f8003800d524..."} 
[2026-06-02 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dd2c8012d181400071fc5f8003800d524..."} 
[2026-06-02 17:24:10] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dd2c8012d181400071fc5f8003800d524..."} 
[2026-06-02 17:24:10] local.INFO: Packet analysis {"connection_id":89636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:10] local.INFO: Extracted packet for processing {"connection_id":89636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119522808,"longitude_deg":75.6552704,"latitude_deg":11.9522808,"altitude":56,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181400","hex_latitude":"071fc5f8","is_valid_coordinates":true} 
[2026-06-02 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782692864001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125409355666292736,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787042322432,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780401165000,"timestamp_ms":1780401165000,"timestamp_seconds":1780401165,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dd2c8"} 
[2026-06-02 17:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 17:24: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-06-02 17:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:24:10] 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-06-02 17:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782692864001,"66":13526,"107":206,"83":41984,"24":0,"16":125409355666292736,"45":1735011787042322432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 17:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782692864001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:24:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 17:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125409355666292736,"km_value":125409355666292.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787042322432,"description":"Unknown IO ID 45"} 
[2026-06-02 17:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782692864001,"power":13526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735011787042322432}} 
[2026-06-02 17:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":89636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:24:10] local.INFO: GPS data processed {"connection_id":89636,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:24:10] local.INFO: Acknowledgment sent {"connection_id":89636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:24:23] local.INFO: TCP Data received {"connection_id":91096,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:24:23] local.INFO: Processing buffer {"connection_id":91096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:24:23] local.INFO: IMEI packet received {"connection_id":91096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":91096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:24:27] local.INFO: TCP Data received {"connection_id":91096,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:24:27] local.INFO: Processing buffer {"connection_id":91096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:24:27] local.INFO: IMEI packet received {"connection_id":91096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":91096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:24:28] local.INFO: TCP Data received {"connection_id":91096,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882e4028012d7b374005e205a0000700af28..."} 
[2026-06-02 17:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882e4028012d7b374005e205a0000700af28..."} 
[2026-06-02 17:24:28] local.INFO: Processing buffer {"connection_id":91096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882e4028012d7b374005e205a0000700af28..."} 
[2026-06-02 17:24:28] local.INFO: Packet analysis {"connection_id":91096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882e"} 
[2026-06-02 17:24:28] local.INFO: Extracted packet for processing {"connection_id":91096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882e"} 
[2026-06-02 17:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763049792,"raw_latitude":98698656,"longitude_deg":76.3049792,"latitude_deg":9.8698656,"altitude":7,"angle":175,"satellites":40,"speed":16,"hex_longitude":"2d7b3740","hex_latitude":"05e205a0","is_valid_coordinates":true} 
[2026-06-02 17:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782700800001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87918826657677312,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684490745856,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780401193000,"timestamp_ms":1780401193000,"timestamp_seconds":1780401193,"priority":1,"record_length":96,"hex_timestamp":"0000019e882e4028"} 
[2026-06-02 17:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 17:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782700800001,"66":13091,"96":206,"85":15104,"24":16,"16":87918826657677312,"45":8877509684490745856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-02 17:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782700800001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:24:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-02 17:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87918826657677312,"km_value":87918826657677.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684490745856,"description":"Unknown IO ID 45"} 
[2026-06-02 17:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782700800001,"power":13091,"unknown_96":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8877509684490745856}} 
[2026-06-02 17:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":91096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:24:28] local.INFO: GPS data processed {"connection_id":91096,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:24:28] local.INFO: Acknowledgment sent {"connection_id":91096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:24:28] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:24:28] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:24:28] local.INFO: IMEI packet received {"connection_id":89917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":89917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:24:33] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:24:33] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:24:33] local.INFO: IMEI packet received {"connection_id":89917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":89917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:24:34] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:24:34] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:24:34] local.INFO: Packet analysis {"connection_id":89917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:34] local.INFO: Extracted packet for processing {"connection_id":89917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:24:34] 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-06-02 17:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:24:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:24:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:24:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":89917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:24:34] local.INFO: GPS data processed {"connection_id":89917,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:24:34] local.INFO: Acknowledgment sent {"connection_id":89917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:24:39] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:24:39] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:24:39] local.INFO: Packet analysis {"connection_id":89917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:39] local.INFO: Extracted packet for processing {"connection_id":89917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:24:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:24: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-06-02 17:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:24:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":89917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:24:39] local.INFO: GPS data processed {"connection_id":89917,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:24:39] local.INFO: Acknowledgment sent {"connection_id":89917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:24:43] local.INFO: TCP Data received {"connection_id":89636,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882e24d0012d181400071fc5f8003800d524..."} 
[2026-06-02 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882e24d0012d181400071fc5f8003800d524..."} 
[2026-06-02 17:24:43] local.INFO: Processing buffer {"connection_id":89636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882e24d0012d181400071fc5f8003800d524..."} 
[2026-06-02 17:24:43] local.INFO: Packet analysis {"connection_id":89636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882e"} 
[2026-06-02 17:24:43] local.INFO: Extracted packet for processing {"connection_id":89636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882e"} 
[2026-06-02 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119522808,"longitude_deg":75.6552704,"latitude_deg":11.9522808,"altitude":56,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181400","hex_latitude":"071fc5f8","is_valid_coordinates":true} 
[2026-06-02 17:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782698240001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125409355666292736,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787042322432,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780401186000,"timestamp_ms":1780401186000,"timestamp_seconds":1780401186,"priority":1,"record_length":96,"hex_timestamp":"0000019e882e24d0"} 
[2026-06-02 17:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-06-02 17:24:43] 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-06-02 17:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:24:43] 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-06-02 17:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782698240001,"66":13298,"107":206,"83":41984,"24":0,"16":125409355666292736,"45":1735011787042322432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 17:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782698240001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:24:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 17:24:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125409355666292736,"km_value":125409355666292.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787042322432,"description":"Unknown IO ID 45"} 
[2026-06-02 17:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782698240001,"power":13298,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735011787042322432}} 
[2026-06-02 17:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":89636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:24:43] local.INFO: GPS data processed {"connection_id":89636,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:24:43] local.INFO: Acknowledgment sent {"connection_id":89636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:24:59] local.INFO: TCP Data received {"connection_id":91096,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882f7c90012d7b460005e1afa00003005026..."} 
[2026-06-02 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882f7c90012d7b460005e1afa00003005026..."} 
[2026-06-02 17:24:59] local.INFO: Processing buffer {"connection_id":91096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882f7c90012d7b460005e1afa00003005026..."} 
[2026-06-02 17:24:59] local.INFO: Packet analysis {"connection_id":91096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:24:59] local.INFO: Extracted packet for processing {"connection_id":91096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98676640,"longitude_deg":76.3053568,"latitude_deg":9.867664,"altitude":3,"angle":80,"satellites":38,"speed":7,"hex_longitude":"2d7b4600","hex_latitude":"05e1afa0","is_valid_coordinates":true} 
[2026-06-02 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782725632001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87919956234076160,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127831021568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780401274000,"timestamp_ms":1780401274000,"timestamp_seconds":1780401274,"priority":1,"record_length":96,"hex_timestamp":"0000019e882f7c90"} 
[2026-06-02 17:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 17:24:59] 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-06-02 17:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782725632001,"66":12472,"169":206,"85":15104,"24":7,"16":87919956234076160,"45":8882365127831021568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 17:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782725632001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:24:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 17:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87919956234076160,"km_value":87919956234076.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127831021568,"description":"Unknown IO ID 45"} 
[2026-06-02 17:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782725632001,"power":12472,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8882365127831021568}} 
[2026-06-02 17:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":91096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:24:59] local.INFO: GPS data processed {"connection_id":91096,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:24:59] local.INFO: Acknowledgment sent {"connection_id":91096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:25:05] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:05] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:05] local.INFO: IMEI packet received {"connection_id":90002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":90002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:25:06] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:06] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:06] local.INFO: IMEI packet received {"connection_id":90002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":90002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:25:10] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:10] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:25:10] local.INFO: IMEI packet received {"connection_id":90002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":90002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:25:11] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882f1318012d1817c0071fce700038004c28..."} 
[2026-06-02 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882f1318012d1817c0071fce700038004c28..."} 
[2026-06-02 17:25:11] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882f1318012d1817c0071fce700038004c28..."} 
[2026-06-02 17:25:11] local.INFO: Packet analysis {"connection_id":90002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:25:11] local.INFO: Extracted packet for processing {"connection_id":90002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119524976,"longitude_deg":75.6553664,"latitude_deg":11.9524976,"altitude":56,"angle":76,"satellites":40,"speed":12,"hex_longitude":"2d1817c0","hex_latitude":"071fce70","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782718976001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125409523170017280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843228807168,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780401247000,"timestamp_ms":1780401247000,"timestamp_seconds":1780401247,"priority":1,"record_length":96,"hex_timestamp":"0000019e882f1318"} 
[2026-06-02 17:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-02 17:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:25:11] 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-06-02 17:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782718976001,"66":14298,"107":206,"83":41984,"24":12,"16":125409523170017280,"45":1735785843228807168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-02 17:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782718976001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:25:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-02 17:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125409523170017280,"km_value":125409523170017.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843228807168,"description":"Unknown IO ID 45"} 
[2026-06-02 17:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782718976001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1735785843228807168}} 
[2026-06-02 17:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":90002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:25:11] local.INFO: GPS data processed {"connection_id":90002,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:25:11] local.INFO: Acknowledgment sent {"connection_id":90002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:25:23] local.INFO: TCP Data received {"connection_id":91097,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:25:23] local.INFO: Processing buffer {"connection_id":91097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:25:23] local.INFO: IMEI packet received {"connection_id":91097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":91097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:25:24] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:25:24] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:25:24] local.INFO: IMEI packet received {"connection_id":90003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":90003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:25:28] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:25:28] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:25:28] local.INFO: IMEI packet received {"connection_id":90003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":90003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:25:28] local.INFO: TCP Data received {"connection_id":91097,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:25:28] local.INFO: Processing buffer {"connection_id":91097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:25:28] local.INFO: IMEI packet received {"connection_id":91097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":91097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:25:29] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:25:29] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:25:29] local.INFO: Packet analysis {"connection_id":90003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:25:29] local.INFO: Extracted packet for processing {"connection_id":90003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17: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-06-02 17: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-06-02 17:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:25:29] 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-06-02 17:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":90003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:25:29] local.INFO: GPS data processed {"connection_id":90003,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:25:29] local.INFO: Acknowledgment sent {"connection_id":90003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:25:29] local.INFO: TCP Data received {"connection_id":91097,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882fbb10012d7b504005e1b2780004004529..."} 
[2026-06-02 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882fbb10012d7b504005e1b2780004004529..."} 
[2026-06-02 17:25:29] local.INFO: Processing buffer {"connection_id":91097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882fbb10012d7b504005e1b2780004004529..."} 
[2026-06-02 17:25:29] local.INFO: Packet analysis {"connection_id":91097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:25:29] local.INFO: Extracted packet for processing {"connection_id":91097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":98677368,"longitude_deg":76.3056192,"latitude_deg":9.8677368,"altitude":4,"angle":69,"satellites":41,"speed":7,"hex_longitude":"2d7b5040","hex_latitude":"05e1b278","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782726144001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87920089378062336,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340296101888,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401290000,"timestamp_ms":1780401290000,"timestamp_seconds":1780401290,"priority":1,"record_length":96,"hex_timestamp":"0000019e882fbb10"} 
[2026-06-02 17:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 17:25:29] 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-06-02 17: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-06-02 17:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782726144001,"66":12504,"169":206,"85":15104,"24":7,"16":87920089378062336,"45":8882787340296101888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 17:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782726144001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87920089378062336,"km_value":87920089378062.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340296101888,"description":"Unknown IO ID 45"} 
[2026-06-02 17:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782726144001,"power":12504,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8882787340296101888}} 
[2026-06-02 17:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":91097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:25:29] local.INFO: GPS data processed {"connection_id":91097,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:25:29] local.INFO: Acknowledgment sent {"connection_id":91097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:25:34] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:25:34] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:25:34] local.INFO: Packet analysis {"connection_id":90003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:25:34] local.INFO: Extracted packet for processing {"connection_id":90003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:25:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":90003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:25:34] local.INFO: GPS data processed {"connection_id":90003,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:25:34] local.INFO: Acknowledgment sent {"connection_id":90003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:25:42] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882f5580012d183440071fd3c0003d003728..."} 
[2026-06-02 17:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882f5580012d183440071fd3c0003d003728..."} 
[2026-06-02 17:25:42] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882f5580012d183440071fd3c0003d003728..."} 
[2026-06-02 17:25:42] local.INFO: Packet analysis {"connection_id":90002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:25:42] local.INFO: Extracted packet for processing {"connection_id":90002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119526336,"longitude_deg":75.656096,"latitude_deg":11.9526336,"altitude":61,"angle":55,"satellites":40,"speed":16,"hex_longitude":"2d183440","hex_latitude":"071fd3c0","is_valid_coordinates":true} 
[2026-06-02 17:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782719232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125409875357335552,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318205542400,"note":"Value kept but may cause issues"} 
[2026-06-02 17:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780401264000,"timestamp_ms":1780401264000,"timestamp_seconds":1780401264,"priority":1,"record_length":96,"hex_timestamp":"0000019e882f5580"} 
[2026-06-02 17:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-02 17:25:42] 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-06-02 17:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:25:42] 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-06-02 17:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782719232001,"66":13722,"102":206,"83":41984,"24":16,"16":125409875357335552,"45":1736067318205542400},"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-06-02 17:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782719232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:25:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125409875357335552,"km_value":125409875357335.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318205542400,"description":"Unknown IO ID 45"} 
[2026-06-02 17:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782719232001,"power":13722,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1736067318205542400}} 
[2026-06-02 17:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":90002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:25:42] local.INFO: GPS data processed {"connection_id":90002,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:25:42] local.INFO: Acknowledgment sent {"connection_id":90002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:26:00] local.INFO: TCP Data received {"connection_id":91097,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e882fd280012d7b54c005e1b3a8000400552a..."} 
[2026-06-02 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882fd280012d7b54c005e1b3a8000400552a..."} 
[2026-06-02 17:26:00] local.INFO: Processing buffer {"connection_id":91097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882fd280012d7b54c005e1b3a8000400552a..."} 
[2026-06-02 17:26:00] local.INFO: Packet analysis {"connection_id":91097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:26:00] local.INFO: Extracted packet for processing {"connection_id":91097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763057344,"raw_latitude":98677672,"longitude_deg":76.3057344,"latitude_deg":9.8677672,"altitude":4,"angle":85,"satellites":42,"speed":10,"hex_longitude":"2d7b54c0","hex_latitude":"05e1b3a8","is_valid_coordinates":true} 
[2026-06-02 17:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782730240001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87920145212637184,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458807572480,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401296000,"timestamp_ms":1780401296000,"timestamp_seconds":1780401296,"priority":1,"record_length":96,"hex_timestamp":"0000019e882fd280"} 
[2026-06-02 17:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 17:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782730240001,"66":12863,"169":206,"85":15104,"24":10,"16":87920145212637184,"45":8885672458807572480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 17:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782730240001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:26:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 17:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87920145212637184,"km_value":87920145212637.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458807572480,"description":"Unknown IO ID 45"} 
[2026-06-02 17:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782730240001,"power":12863,"unknown_169":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8885672458807572480}} 
[2026-06-02 17:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":91097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:26:00] local.INFO: GPS data processed {"connection_id":91097,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:26:00] local.INFO: Acknowledgment sent {"connection_id":91097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:26:05] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:26:05] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:26:05] local.INFO: IMEI packet received {"connection_id":89918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":89918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:26:05] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:26:05] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:26:05] local.INFO: Packet analysis {"connection_id":90003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:26:05] local.INFO: Extracted packet for processing {"connection_id":90003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 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-06-02 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 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-06-02 17:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:26:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":90003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:26:05] local.INFO: GPS data processed {"connection_id":90003,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:26:05] local.INFO: Acknowledgment sent {"connection_id":90003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:26:10] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:26:10] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:26:10] local.INFO: IMEI packet received {"connection_id":89918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":89918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:26:11] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e882f5968012d183540071fd500003e002427..."} 
[2026-06-02 17:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882f5968012d183540071fd500003e002427..."} 
[2026-06-02 17:26:11] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882f5968012d183540071fd500003e002427..."} 
[2026-06-02 17:26:11] local.INFO: Packet analysis {"connection_id":89918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:26:11] local.INFO: Extracted packet for processing {"connection_id":89918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882f"} 
[2026-06-02 17:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756561216,"raw_latitude":119526656,"longitude_deg":75.6561216,"latitude_deg":11.9526656,"altitude":62,"angle":36,"satellites":39,"speed":17,"hex_longitude":"2d183540","hex_latitude":"071fd500","is_valid_coordinates":true} 
[2026-06-02 17:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782723584001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125409896832172032,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355042144256,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780401265000,"timestamp_ms":1780401265000,"timestamp_seconds":1780401265,"priority":1,"record_length":96,"hex_timestamp":"0000019e882f5968"} 
[2026-06-02 17:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-02 17:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:26:11] 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-06-02 17:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782723584001,"66":13722,"102":206,"83":41984,"24":17,"16":125409896832172032,"45":1744089355042144256},"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-06-02 17:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782723584001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:26:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125409896832172032,"km_value":125409896832172.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355042144256,"description":"Unknown IO ID 45"} 
[2026-06-02 17:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782723584001,"power":13722,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1744089355042144256}} 
[2026-06-02 17:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":89918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:26:11] local.INFO: GPS data processed {"connection_id":89918,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:26:11] local.INFO: Acknowledgment sent {"connection_id":89918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:26:24] local.INFO: TCP Data received {"connection_id":91098,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:26:24] local.INFO: Processing buffer {"connection_id":91098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:26:24] local.INFO: IMEI packet received {"connection_id":91098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":91098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:26:24] local.INFO: TCP Data received {"connection_id":91099,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:24] local.INFO: Processing buffer {"connection_id":91099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:24] local.INFO: IMEI packet received {"connection_id":91099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":91099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:26:25] local.INFO: TCP Data received {"connection_id":91099,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:25] local.INFO: Processing buffer {"connection_id":91099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:25] local.INFO: IMEI packet received {"connection_id":91099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":91099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:26:28] local.INFO: TCP Data received {"connection_id":91099,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:28] local.INFO: Processing buffer {"connection_id":91099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:26:28] local.INFO: IMEI packet received {"connection_id":91099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":91099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:26:28] local.INFO: TCP Data received {"connection_id":91098,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:26:28] local.INFO: Processing buffer {"connection_id":91098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:26:28] local.INFO: IMEI packet received {"connection_id":91098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":91098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:26:29] local.INFO: TCP Data received {"connection_id":91099,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883020a0012d7b698005e1b4a0000600542c..."} 
[2026-06-02 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883020a0012d7b698005e1b4a0000600542c..."} 
[2026-06-02 17:26:29] local.INFO: Processing buffer {"connection_id":91099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883020a0012d7b698005e1b4a0000600542c..."} 
[2026-06-02 17:26:29] local.INFO: Packet analysis {"connection_id":91099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:26:29] local.INFO: Extracted packet for processing {"connection_id":91099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763062656,"raw_latitude":98677920,"longitude_deg":76.3062656,"latitude_deg":9.867792,"altitude":6,"angle":84,"satellites":44,"speed":10,"hex_longitude":"2d7b6980","hex_latitude":"05e1b4a0","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782731776001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87920398615707648,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886939096202848256,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401316000,"timestamp_ms":1780401316000,"timestamp_seconds":1780401316,"priority":1,"record_length":96,"hex_timestamp":"0000019e883020a0"} 
[2026-06-02 17:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 17:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782731776001,"66":12254,"169":206,"85":15104,"24":10,"16":87920398615707648,"45":8886939096202848256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 17:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782731776001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87920398615707648,"km_value":87920398615707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886939096202848256,"description":"Unknown IO ID 45"} 
[2026-06-02 17:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782731776001,"power":12254,"unknown_169":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8886939096202848256}} 
[2026-06-02 17:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":91099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:26:29] local.INFO: GPS data processed {"connection_id":91099,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:26:29] local.INFO: Acknowledgment sent {"connection_id":91099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:26:29] local.INFO: TCP Data received {"connection_id":91098,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:26:29] local.INFO: Processing buffer {"connection_id":91098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:26:29] local.INFO: Packet analysis {"connection_id":91098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:26:29] local.INFO: Extracted packet for processing {"connection_id":91098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:26:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:26: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-06-02 17: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-06-02 17:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:26: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-06-02 17:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":91098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:26:29] local.INFO: GPS data processed {"connection_id":91098,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:26:29] local.INFO: Acknowledgment sent {"connection_id":91098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:26:42] local.INFO: TCP Data received {"connection_id":89918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8830b8f8012d18c5c0071fd2300031005528..."} 
[2026-06-02 17:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8830b8f8012d18c5c0071fd2300031005528..."} 
[2026-06-02 17:26:42] local.INFO: Processing buffer {"connection_id":89918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8830b8f8012d18c5c0071fd2300031005528..."} 
[2026-06-02 17:26:42] local.INFO: Packet analysis {"connection_id":89918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:26:42] local.INFO: Extracted packet for processing {"connection_id":89918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119525936,"longitude_deg":75.6598208,"latitude_deg":11.9525936,"altitude":49,"angle":85,"satellites":40,"speed":21,"hex_longitude":"2d18c5c0","hex_latitude":"071fd230","is_valid_coordinates":true} 
[2026-06-02 17:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782745344001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125411911171833856,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781244051967821824,"note":"Value kept but may cause issues"} 
[2026-06-02 17:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780401355000,"timestamp_ms":1780401355000,"timestamp_seconds":1780401355,"priority":1,"record_length":96,"hex_timestamp":"0000019e8830b8f8"} 
[2026-06-02 17:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-02 17:26:42] 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-06-02 17:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:26:42] 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-06-02 17:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782745344001,"66":14428,"102":206,"83":41984,"24":21,"16":125411911171833856,"45":1781244051967821824},"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-06-02 17:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782745344001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:26:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125411911171833856,"km_value":125411911171833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781244051967821824,"description":"Unknown IO ID 45"} 
[2026-06-02 17:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782745344001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1781244051967821824}} 
[2026-06-02 17:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":89918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:26:42] local.INFO: GPS data processed {"connection_id":89918,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:26:42] local.INFO: Acknowledgment sent {"connection_id":89918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:00] local.INFO: TCP Data received {"connection_id":91098,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:27:00] local.INFO: Processing buffer {"connection_id":91098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:27:00] local.INFO: Packet analysis {"connection_id":91098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:27:00] local.INFO: Extracted packet for processing {"connection_id":91098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:27:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:27: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-06-02 17:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:27: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-06-02 17:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":91098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:00] local.INFO: GPS data processed {"connection_id":91098,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:00] local.INFO: Acknowledgment sent {"connection_id":91098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:02] local.INFO: TCP Data received {"connection_id":91099,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883066f0012d7b7f8005e1b858000900462b..."} 
[2026-06-02 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883066f0012d7b7f8005e1b858000900462b..."} 
[2026-06-02 17:27:02] local.INFO: Processing buffer {"connection_id":91099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883066f0012d7b7f8005e1b858000900462b..."} 
[2026-06-02 17:27:02] local.INFO: Packet analysis {"connection_id":91099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:02] local.INFO: Extracted packet for processing {"connection_id":91099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763068288,"raw_latitude":98678872,"longitude_deg":76.3068288,"latitude_deg":9.8678872,"altitude":9,"angle":70,"satellites":43,"speed":19,"hex_longitude":"2d7b7f80","hex_latitude":"05e1b858","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782736896001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87920673493614592,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892779701969657856,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780401334000,"timestamp_ms":1780401334000,"timestamp_seconds":1780401334,"priority":1,"record_length":96,"hex_timestamp":"0000019e883066f0"} 
[2026-06-02 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-06-02 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 17:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 17:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782736896001,"66":12874,"169":206,"85":15104,"24":19,"16":87920673493614592,"45":8892779701969657856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-02 17:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782736896001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87920673493614592,"km_value":87920673493614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892779701969657856,"description":"Unknown IO ID 45"} 
[2026-06-02 17:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782736896001,"power":12874,"unknown_169":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8892779701969657856}} 
[2026-06-02 17:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":91099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:02] local.INFO: GPS data processed {"connection_id":91099,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:02] local.INFO: Acknowledgment sent {"connection_id":91099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:10] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:27:10] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:27:10] local.INFO: IMEI packet received {"connection_id":89920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":89920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:27:13] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:27:13] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:27:13] local.INFO: IMEI packet received {"connection_id":89920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":89920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:27:13] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8830d068012d18d140071fd4700031004526..."} 
[2026-06-02 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8830d068012d18d140071fd4700031004526..."} 
[2026-06-02 17:27:13] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8830d068012d18d140071fd4700031004526..."} 
[2026-06-02 17:27:13] local.INFO: Packet analysis {"connection_id":89920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:13] local.INFO: Extracted packet for processing {"connection_id":89920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119526512,"longitude_deg":75.6601152,"latitude_deg":11.9526512,"altitude":49,"angle":69,"satellites":38,"speed":15,"hex_longitude":"2d18d140","hex_latitude":"071fd470","is_valid_coordinates":true} 
[2026-06-02 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782746880001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125412057200721920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964153442304,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1780401361000,"timestamp_ms":1780401361000,"timestamp_seconds":1780401361,"priority":1,"record_length":96,"hex_timestamp":"0000019e8830d068"} 
[2026-06-02 17:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 17:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":89920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":89920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":89920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:27:13] 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-06-02 17:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782746880001,"66":14428,"102":206,"83":41984,"24":15,"16":125412057200721920,"45":1785043964153442304},"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-06-02 17:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782746880001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125412057200721920,"km_value":125412057200721.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964153442304,"description":"Unknown IO ID 45"} 
[2026-06-02 17:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782746880001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1785043964153442304}} 
[2026-06-02 17:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":89920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:13] local.INFO: GPS data processed {"connection_id":89920,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:13] local.INFO: Acknowledgment sent {"connection_id":89920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:15] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8830d838012d18d3c0071fd5d80031002a27..."} 
[2026-06-02 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8830d838012d18d3c0071fd5d80031002a27..."} 
[2026-06-02 17:27:15] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8830d838012d18d3c0071fd5d80031002a27..."} 
[2026-06-02 17:27:15] local.INFO: Packet analysis {"connection_id":89920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:15] local.INFO: Extracted packet for processing {"connection_id":89920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119526872,"longitude_deg":75.6601792,"latitude_deg":11.9526872,"altitude":49,"angle":42,"satellites":39,"speed":12,"hex_longitude":"2d18d3c0","hex_latitude":"071fd5d8","is_valid_coordinates":true} 
[2026-06-02 17:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782748416001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125412091560460288,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926385762304,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780401363000,"timestamp_ms":1780401363000,"timestamp_seconds":1780401363,"priority":1,"record_length":96,"hex_timestamp":"0000019e8830d838"} 
[2026-06-02 17:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-02 17:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:27:15] 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-06-02 17:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782748416001,"66":14483,"102":206,"83":41984,"24":12,"16":125412091560460288,"45":1788280926385762304},"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-06-02 17:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782748416001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125412091560460288,"km_value":125412091560460.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926385762304,"description":"Unknown IO ID 45"} 
[2026-06-02 17:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782748416001,"power":14483,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1788280926385762304}} 
[2026-06-02 17:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":89920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:15] local.INFO: GPS data processed {"connection_id":89920,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:15] local.INFO: Acknowledgment sent {"connection_id":89920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:23] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:23] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:23] local.INFO: IMEI packet received {"connection_id":90004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":90004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:27:23] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:27:23] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:27:23] local.INFO: IMEI packet received {"connection_id":89638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":89638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:27:26] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:26] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:26] local.INFO: IMEI packet received {"connection_id":90004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":90004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:27:27] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:27] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:27] local.INFO: IMEI packet received {"connection_id":90004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":90004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:27:28] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:27:28] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:27:28] local.INFO: IMEI packet received {"connection_id":89638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":89638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:27:28] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:28] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:27:28] local.INFO: IMEI packet received {"connection_id":90004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":90004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:27:29] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8831bac8012d7c3b0005e1e1680007002d2b..."} 
[2026-06-02 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8831bac8012d7c3b0005e1e1680007002d2b..."} 
[2026-06-02 17:27:29] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8831bac8012d7c3b0005e1e1680007002d2b..."} 
[2026-06-02 17:27:29] local.INFO: Packet analysis {"connection_id":90004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8831"} 
[2026-06-02 17:27:29] local.INFO: Extracted packet for processing {"connection_id":90004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8831"} 
[2026-06-02 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763116288,"raw_latitude":98689384,"longitude_deg":76.3116288,"latitude_deg":9.8689384,"altitude":7,"angle":45,"satellites":43,"speed":24,"hex_longitude":"2d7c3b00","hex_latitude":"05e1e168","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782763520001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951256128384129024,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87923130214907904,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:29] 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-06-02 17:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401421000,"timestamp_ms":1780401421000,"timestamp_seconds":1780401421,"priority":1,"record_length":96,"hex_timestamp":"0000019e8831bac8"} 
[2026-06-02 17:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:27: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-06-02 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 17:27:29] 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-06-02 17: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-06-02 17:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782763520001,"66":13254,"45":8951256128384129024,"85":15104,"24":24,"16":87923130214907904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-06-02 17:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782763520001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951256128384129024,"description":"Unknown IO ID 45"} 
[2026-06-02 17:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87923130214907904,"km_value":87923130214907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455782763520001,"power":13254,"unknown_45":8951256128384129024,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-06-02 17:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":90004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:29] local.INFO: GPS data processed {"connection_id":90004,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:29] local.INFO: Acknowledgment sent {"connection_id":90004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:29] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:27:29] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:27:29] local.INFO: Packet analysis {"connection_id":89638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:27:29] local.INFO: Extracted packet for processing {"connection_id":89638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:27: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-06-02 17: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-06-02 17:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:27:29] 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-06-02 17:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":89638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:29] local.INFO: GPS data processed {"connection_id":89638,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:29] local.INFO: Acknowledgment sent {"connection_id":89638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:30] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8831c298012d7c3dc005e1e5880007001c28..."} 
[2026-06-02 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8831c298012d7c3dc005e1e5880007001c28..."} 
[2026-06-02 17:27:30] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8831c298012d7c3dc005e1e5880007001c28..."} 
[2026-06-02 17:27:30] local.INFO: Packet analysis {"connection_id":90004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8831"} 
[2026-06-02 17:27:30] local.INFO: Extracted packet for processing {"connection_id":90004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8831"} 
[2026-06-02 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":98690440,"longitude_deg":76.3116992,"latitude_deg":9.869044,"altitude":7,"angle":28,"satellites":40,"speed":26,"hex_longitude":"2d7c3dc0","hex_latitude":"05e1e588","is_valid_coordinates":true} 
[2026-06-02 17:27: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-06-02 17:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782763776001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951748709593475072,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87923190344450048,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27: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-06-02 17:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780401423000,"timestamp_ms":1780401423000,"timestamp_seconds":1780401423,"priority":1,"record_length":96,"hex_timestamp":"0000019e8831c298"} 
[2026-06-02 17:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 17:27:30] 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-06-02 17:27: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-06-02 17:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782763776001,"66":12939,"45":8951748709593475072,"85":15104,"24":26,"16":87923190344450048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-06-02 17:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782763776001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951748709593475072,"description":"Unknown IO ID 45"} 
[2026-06-02 17:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87923190344450048,"km_value":87923190344450.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455782763776001,"power":12939,"unknown_45":8951748709593475072,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-06-02 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":90004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:30] local.INFO: GPS data processed {"connection_id":90004,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:30] local.INFO: Acknowledgment sent {"connection_id":90004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:27:46] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8830dc20012d18d440071fd6f80031001925..."} 
[2026-06-02 17:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8830dc20012d18d440071fd6f80031001925..."} 
[2026-06-02 17:27:46] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8830dc20012d18d440071fd6f80031001925..."} 
[2026-06-02 17:27:46] local.INFO: Packet analysis {"connection_id":89920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:46] local.INFO: Extracted packet for processing {"connection_id":89920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8830"} 
[2026-06-02 17:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119527160,"longitude_deg":75.660192,"latitude_deg":11.952716,"altitude":49,"angle":25,"satellites":37,"speed":12,"hex_longitude":"2d18d440","hex_latitude":"071fd6f8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782748928001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125412104445362176,"note":"Value kept but may cause issues"} 
[2026-06-02 17:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613827631104,"note":"Value kept but may cause issues"} 
[2026-06-02 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-06-02 17:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780401364000,"timestamp_ms":1780401364000,"timestamp_seconds":1780401364,"priority":1,"record_length":96,"hex_timestamp":"0000019e8830dc20"} 
[2026-06-02 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-06-02 17:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 17:27: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-06-02 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-06-02 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-06-02 17:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:27: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-06-02 17:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782748928001,"66":14233,"102":206,"83":41984,"24":12,"16":125412104445362176,"45":1788984613827631104},"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-06-02 17:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782748928001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125412104445362176,"km_value":125412104445362.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613827631104,"description":"Unknown IO ID 45"} 
[2026-06-02 17:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782748928001,"power":14233,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1788984613827631104}} 
[2026-06-02 17:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":89920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:27:46] local.INFO: GPS data processed {"connection_id":89920,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:27:46] local.INFO: Acknowledgment sent {"connection_id":89920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:28:00] local.INFO: TCP Data received {"connection_id":89638,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:28:00] local.INFO: Processing buffer {"connection_id":89638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e882dde80012cb29ac007823b00004900d928..."} 
[2026-06-02 17:28:00] local.INFO: Packet analysis {"connection_id":89638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:28:00] local.INFO: Extracted packet for processing {"connection_id":89638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e882d"} 
[2026-06-02 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782621952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401168000,"timestamp_ms":1780401168000,"timestamp_seconds":1780401168,"priority":1,"record_length":96,"hex_timestamp":"0000019e882dde80"} 
[2026-06-02 17:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:28: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-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:28:00] 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-06-02 17:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782621952001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782621952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:28:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782621952001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":89638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:28:00] local.INFO: GPS data processed {"connection_id":89638,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:28:00] local.INFO: Acknowledgment sent {"connection_id":89638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:28:01] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8831d238012d7c430005e1ee88000600272c..."} 
[2026-06-02 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8831d238012d7c430005e1ee88000600272c..."} 
[2026-06-02 17:28:01] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8831d238012d7c430005e1ee88000600272c..."} 
[2026-06-02 17:28:01] local.INFO: Packet analysis {"connection_id":90004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8831"} 
[2026-06-02 17:28:01] local.INFO: Extracted packet for processing {"connection_id":90004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8831"} 
[2026-06-02 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763118336,"raw_latitude":98692744,"longitude_deg":76.3118336,"latitude_deg":9.8692744,"altitude":6,"angle":39,"satellites":44,"speed":26,"hex_longitude":"2d7c4300","hex_latitude":"05e1ee88","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782764288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87923319193468928,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765779699712,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:01] 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-06-02 17:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780401427000,"timestamp_ms":1780401427000,"timestamp_seconds":1780401427,"priority":1,"record_length":96,"hex_timestamp":"0000019e8831d238"} 
[2026-06-02 17:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 17:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782764288001,"66":12841,"43":206,"85":15104,"24":26,"16":87923319193468928,"45":8952522765779699712},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 17:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782764288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:28:01] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 17:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87923319193468928,"km_value":87923319193468.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765779699712,"description":"Unknown IO ID 45"} 
[2026-06-02 17:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782764288001,"power":12841,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8952522765779699712}} 
[2026-06-02 17:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":90004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:28:01] local.INFO: GPS data processed {"connection_id":90004,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:28:01] local.INFO: Acknowledgment sent {"connection_id":90004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:28:02] local.INFO: TCP Data received {"connection_id":91100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:02] local.INFO: Processing buffer {"connection_id":91100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:02] local.INFO: IMEI packet received {"connection_id":91100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":91100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:28:04] local.INFO: TCP Data received {"connection_id":91100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:04] local.INFO: Processing buffer {"connection_id":91100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:04] local.INFO: IMEI packet received {"connection_id":91100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":91100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:28:05] local.INFO: TCP Data received {"connection_id":91100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:05] local.INFO: Processing buffer {"connection_id":91100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:05] local.INFO: IMEI packet received {"connection_id":91100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":91100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:28:06] local.INFO: TCP Data received {"connection_id":91100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:06] local.INFO: Processing buffer {"connection_id":91100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:28:06] local.INFO: IMEI packet received {"connection_id":91100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":91100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:28:17] local.INFO: TCP Data received {"connection_id":89921,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:28:17] local.INFO: Processing buffer {"connection_id":89921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:28:17] local.INFO: IMEI packet received {"connection_id":89921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":89921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:28:23] local.INFO: TCP Data received {"connection_id":89639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:28:23] local.INFO: Processing buffer {"connection_id":89639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:28:23] local.INFO: IMEI packet received {"connection_id":89639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":89639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:28:27] local.INFO: TCP Data received {"connection_id":89639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:28:27] local.INFO: Processing buffer {"connection_id":89639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:28:27] local.INFO: IMEI packet received {"connection_id":89639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":89639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:28:28] local.INFO: TCP Data received {"connection_id":89639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:28:28] local.INFO: Processing buffer {"connection_id":89639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:28:28] local.INFO: Packet analysis {"connection_id":89639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:28] local.INFO: Extracted packet for processing {"connection_id":89639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:28: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-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:28: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-06-02 17: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-06-02 17:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:28:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":89639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:28:28] local.INFO: GPS data processed {"connection_id":89639,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:28:28] local.INFO: Acknowledgment sent {"connection_id":89639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:28:28] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:28:28] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:28:28] local.INFO: IMEI packet received {"connection_id":89640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":89640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:28:33] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:28:33] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:28:33] local.INFO: IMEI packet received {"connection_id":89640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":89640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:28:34] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8832acf8012d7cd78005e20730000800512e..."} 
[2026-06-02 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8832acf8012d7cd78005e20730000800512e..."} 
[2026-06-02 17:28:34] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8832acf8012d7cd78005e20730000800512e..."} 
[2026-06-02 17:28:34] local.INFO: Packet analysis {"connection_id":89640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:34] local.INFO: Extracted packet for processing {"connection_id":89640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763156352,"raw_latitude":98699056,"longitude_deg":76.3156352,"latitude_deg":9.8699056,"altitude":8,"angle":81,"satellites":46,"speed":37,"hex_longitude":"2d7cd780","hex_latitude":"05e20730","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782777088001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87925380777771008,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987918244103325696,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780401483000,"timestamp_ms":1780401483000,"timestamp_seconds":1780401483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8832acf8"} 
[2026-06-02 17:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:28: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-06-02 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 17:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782777088001,"66":13102,"43":206,"85":15104,"24":37,"16":87925380777771008,"45":8987918244103325696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782777088001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87925380777771008,"km_value":87925380777771.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987918244103325696,"description":"Unknown IO ID 45"} 
[2026-06-02 17:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782777088001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8987918244103325696}} 
[2026-06-02 17:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":89640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:28:34] local.INFO: GPS data processed {"connection_id":89640,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:28:34] local.INFO: Acknowledgment sent {"connection_id":89640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:28:34] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8832d408012d7cfc4005e20ed8000c00592e..."} 
[2026-06-02 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8832d408012d7cfc4005e20ed8000c00592e..."} 
[2026-06-02 17:28:34] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8832d408012d7cfc4005e20ed8000c00592e..."} 
[2026-06-02 17:28:34] local.INFO: Packet analysis {"connection_id":89640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:34] local.INFO: Extracted packet for processing {"connection_id":89640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763165760,"raw_latitude":98701016,"longitude_deg":76.316576,"latitude_deg":9.8701016,"altitude":12,"angle":89,"satellites":46,"speed":25,"hex_longitude":"2d7cfc40","hex_latitude":"05e20ed8","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782779648001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87925840339271680,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995799543451168768,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780401493000,"timestamp_ms":1780401493000,"timestamp_seconds":1780401493,"priority":1,"record_length":96,"hex_timestamp":"0000019e8832d408"} 
[2026-06-02 17:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:28: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-06-02 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 17:28: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-06-02 17: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-06-02 17:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782779648001,"66":12841,"43":206,"85":15104,"24":25,"16":87925840339271680,"45":8995799543451168768},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 17:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782779648001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87925840339271680,"km_value":87925840339271.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995799543451168768,"description":"Unknown IO ID 45"} 
[2026-06-02 17:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782779648001,"power":12841,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8995799543451168768}} 
[2026-06-02 17:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":89640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:28:34] local.INFO: GPS data processed {"connection_id":89640,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:28:34] local.INFO: Acknowledgment sent {"connection_id":89640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:28:57] local.INFO: TCP Data received {"connection_id":91101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:28:57] local.INFO: Processing buffer {"connection_id":91101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:28:57] local.INFO: IMEI packet received {"connection_id":91101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":91101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:28:59] local.INFO: TCP Data received {"connection_id":89639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:28:59] local.INFO: Processing buffer {"connection_id":89639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:28:59] local.INFO: Packet analysis {"connection_id":89639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:59] local.INFO: Extracted packet for processing {"connection_id":89639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:28:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:28: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-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:28: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-06-02 17:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:28:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:28:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":89639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:28:59] local.INFO: GPS data processed {"connection_id":89639,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:28:59] local.INFO: Acknowledgment sent {"connection_id":89639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:29:05] local.INFO: TCP Data received {"connection_id":89640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88331a58012d7d1f4005e20bf0001000602c..."} 
[2026-06-02 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88331a58012d7d1f4005e20bf0001000602c..."} 
[2026-06-02 17:29:05] local.INFO: Processing buffer {"connection_id":89640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88331a58012d7d1f4005e20bf0001000602c..."} 
[2026-06-02 17:29:05] local.INFO: Packet analysis {"connection_id":89640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:29:05] local.INFO: Extracted packet for processing {"connection_id":89640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763174720,"raw_latitude":98700272,"longitude_deg":76.317472,"latitude_deg":9.8700272,"altitude":16,"angle":96,"satellites":44,"speed":31,"hex_longitude":"2d7d1f40","hex_latitude":"05e20bf0","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782782208001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87926274130968576,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006143748845787136,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:05] 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-06-02 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780401511000,"timestamp_ms":1780401511000,"timestamp_seconds":1780401511,"priority":1,"record_length":96,"hex_timestamp":"0000019e88331a58"} 
[2026-06-02 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 17:29:05] 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-06-02 17: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-06-02 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782782208001,"66":12917,"43":206,"85":15104,"24":31,"16":87926274130968576,"45":9006143748845787136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782782208001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:29:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 17:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87926274130968576,"km_value":87926274130968.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006143748845787136,"description":"Unknown IO ID 45"} 
[2026-06-02 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782782208001,"power":12917,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9006143748845787136}} 
[2026-06-02 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":89640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:29:05] local.INFO: GPS data processed {"connection_id":89640,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:29:05] local.INFO: Acknowledgment sent {"connection_id":89640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:29:23] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:23] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:23] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:29:23] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:23] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:23] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:29:28] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:28] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:29:28] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:29:28] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:29:28] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:29:28] local.INFO: IMEI packet received {"connection_id":90005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":90005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:29:29] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88334938012d7d444005e208900010005e2d..."} 
[2026-06-02 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88334938012d7d444005e208900010005e2d..."} 
[2026-06-02 17:29:29] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88334938012d7d444005e208900010005e2d..."} 
[2026-06-02 17:29:29] local.INFO: Packet analysis {"connection_id":89922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:29:29] local.INFO: Extracted packet for processing {"connection_id":89922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":98699408,"longitude_deg":76.3184192,"latitude_deg":9.8699408,"altitude":16,"angle":94,"satellites":45,"speed":27,"hex_longitude":"2d7d4440","hex_latitude":"05e20890","is_valid_coordinates":true} 
[2026-06-02 17:29: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-06-02 17:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782786816001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87926725102534656,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015995373030469632,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:29] 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-06-02 17:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401523000,"timestamp_ms":1780401523000,"timestamp_seconds":1780401523,"priority":1,"record_length":96,"hex_timestamp":"0000019e88334938"} 
[2026-06-02 17:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 17:29:29] 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-06-02 17:29: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-06-02 17:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782786816001,"66":13102,"43":206,"85":15104,"24":27,"16":87926725102534656,"45":9015995373030469632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 17:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782786816001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:29:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 17:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87926725102534656,"km_value":87926725102534.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015995373030469632,"description":"Unknown IO ID 45"} 
[2026-06-02 17:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782786816001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9015995373030469632}} 
[2026-06-02 17:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":89922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:29:29] local.INFO: GPS data processed {"connection_id":89922,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:29:29] local.INFO: Acknowledgment sent {"connection_id":89922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:29:33] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:29:33] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:29:33] local.INFO: IMEI packet received {"connection_id":90005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":90005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:29:34] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:29:34] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:29:34] local.INFO: Packet analysis {"connection_id":90005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:29:34] local.INFO: Extracted packet for processing {"connection_id":90005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:29:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":90005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:29:34] local.INFO: GPS data processed {"connection_id":90005,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:29:34] local.INFO: Acknowledgment sent {"connection_id":90005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:29:39] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:29:39] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:29:39] local.INFO: Packet analysis {"connection_id":90005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:29:39] local.INFO: Extracted packet for processing {"connection_id":90005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 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-06-02 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 17:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":90005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":90005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":90005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:29:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:29:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":90005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:29:39] local.INFO: GPS data processed {"connection_id":90005,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:29:39] local.INFO: Acknowledgment sent {"connection_id":90005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:30:00] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88337818012d7d678005e205c8000e005e30..."} 
[2026-06-02 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88337818012d7d678005e205c8000e005e30..."} 
[2026-06-02 17:30:00] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88337818012d7d678005e205c8000e005e30..."} 
[2026-06-02 17:30:00] local.INFO: Packet analysis {"connection_id":89922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:30:00] local.INFO: Extracted packet for processing {"connection_id":89922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763193216,"raw_latitude":98698696,"longitude_deg":76.3193216,"latitude_deg":9.8698696,"altitude":14,"angle":94,"satellites":48,"speed":29,"hex_longitude":"2d7d6780","hex_latitude":"05e205c8","is_valid_coordinates":true} 
[2026-06-02 17:30: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-06-02 17:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782789888001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87927158894231552,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409947168542720,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:00] 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-06-02 17:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401535000,"timestamp_ms":1780401535000,"timestamp_seconds":1780401535,"priority":1,"record_length":96,"hex_timestamp":"0000019e88337818"} 
[2026-06-02 17:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 17:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:30: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-06-02 17:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782789888001,"66":12906,"43":206,"85":15104,"24":29,"16":87927158894231552,"45":9026409947168542720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 17:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782789888001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:30:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 17:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87927158894231552,"km_value":87927158894231.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409947168542720,"description":"Unknown IO ID 45"} 
[2026-06-02 17:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782789888001,"power":12906,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9026409947168542720}} 
[2026-06-02 17:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":89922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:30:00] local.INFO: GPS data processed {"connection_id":89922,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:30:00] local.INFO: Acknowledgment sent {"connection_id":89922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:30:23] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:30:23] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:30:23] local.INFO: IMEI packet received {"connection_id":89923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":89923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:30:23] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:30:23] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:30:23] local.INFO: IMEI packet received {"connection_id":89642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":89642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:30:28] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:30:28] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:30:28] local.INFO: IMEI packet received {"connection_id":89642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":89642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:30:28] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:30:28] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:30:28] local.INFO: IMEI packet received {"connection_id":89923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":89923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:30:29] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:30:29] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:30:29] local.INFO: Packet analysis {"connection_id":89642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:30:29] local.INFO: Extracted packet for processing {"connection_id":89642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:30: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-06-02 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:30: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-06-02 17:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:30:29] 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-06-02 17:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":89642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:30:29] local.INFO: GPS data processed {"connection_id":89642,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:30:29] local.INFO: Acknowledgment sent {"connection_id":89642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:30:29] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8833a6f8012d7d8b4005e202f0000b005d2f..."} 
[2026-06-02 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8833a6f8012d7d8b4005e202f0000b005d2f..."} 
[2026-06-02 17:30:29] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8833a6f8012d7d8b4005e202f0000b005d2f..."} 
[2026-06-02 17:30:29] local.INFO: Packet analysis {"connection_id":89923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:30:29] local.INFO: Extracted packet for processing {"connection_id":89923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8833"} 
[2026-06-02 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763202368,"raw_latitude":98697968,"longitude_deg":76.3202368,"latitude_deg":9.8697968,"altitude":11,"angle":93,"satellites":47,"speed":28,"hex_longitude":"2d7d8b40","hex_latitude":"05e202f0","is_valid_coordinates":true} 
[2026-06-02 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782792960001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87927596980895744,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9036331940097411072,"note":"Value kept but may cause issues"} 
[2026-06-02 17:30:29] 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-06-02 17:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401547000,"timestamp_ms":1780401547000,"timestamp_seconds":1780401547,"priority":1,"record_length":96,"hex_timestamp":"0000019e8833a6f8"} 
[2026-06-02 17:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 17:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782792960001,"66":13102,"43":206,"85":15104,"24":28,"16":87927596980895744,"45":9036331940097411072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-02 17:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782792960001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87927596980895744,"km_value":87927596980895.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9036331940097411072,"description":"Unknown IO ID 45"} 
[2026-06-02 17:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782792960001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9036331940097411072}} 
[2026-06-02 17:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":89923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:30:30] local.INFO: GPS data processed {"connection_id":89923,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:30:30] local.INFO: Acknowledgment sent {"connection_id":89923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:31:00] local.INFO: TCP Data received {"connection_id":89642,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:31:00] local.INFO: Processing buffer {"connection_id":89642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:31:00] local.INFO: Packet analysis {"connection_id":89642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:31:00] local.INFO: Extracted packet for processing {"connection_id":89642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:31:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:31:00] 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-06-02 17:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:31:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":89642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:31:00] local.INFO: GPS data processed {"connection_id":89642,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:31:00] local.INFO: Acknowledgment sent {"connection_id":89642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:31:01] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88351df8012d7e2c8005e1de80000900b62a..."} 
[2026-06-02 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88351df8012d7e2c8005e1de80000900b62a..."} 
[2026-06-02 17:31:01] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88351df8012d7e2c8005e1de80000900b62a..."} 
[2026-06-02 17:31:01] local.INFO: Packet analysis {"connection_id":89923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8835"} 
[2026-06-02 17:31:01] local.INFO: Extracted packet for processing {"connection_id":89923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8835"} 
[2026-06-02 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763243648,"raw_latitude":98688640,"longitude_deg":76.3243648,"latitude_deg":9.868864,"altitude":9,"angle":182,"satellites":42,"speed":45,"hex_longitude":"2d7e2c80","hex_latitude":"05e1de80","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782818304001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87930221205913600,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092556566695180288,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780401643000,"timestamp_ms":1780401643000,"timestamp_seconds":1780401643,"priority":1,"record_length":96,"hex_timestamp":"0000019e88351df8"} 
[2026-06-02 17:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 17:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782818304001,"66":12863,"61":206,"85":15104,"24":45,"16":87930221205913600,"45":9092556566695180288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 17:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782818304001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:31:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 17:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87930221205913600,"km_value":87930221205913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092556566695180288,"description":"Unknown IO ID 45"} 
[2026-06-02 17:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782818304001,"power":12863,"unknown_61":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9092556566695180288}} 
[2026-06-02 17:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":89923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:31:01] local.INFO: GPS data processed {"connection_id":89923,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:31:01] local.INFO: Acknowledgment sent {"connection_id":89923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:31:22] local.INFO: TCP Data received {"connection_id":89643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:22] local.INFO: Processing buffer {"connection_id":89643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:22] local.INFO: IMEI packet received {"connection_id":89643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":89643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:31:23] local.INFO: TCP Data received {"connection_id":91106,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:31:23] local.INFO: Processing buffer {"connection_id":91106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:31:23] local.INFO: IMEI packet received {"connection_id":91106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":91106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:31:23] local.INFO: TCP Data received {"connection_id":89643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:23] local.INFO: Processing buffer {"connection_id":89643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:23] local.INFO: IMEI packet received {"connection_id":89643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":89643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:31:28] local.INFO: TCP Data received {"connection_id":91106,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:31:28] local.INFO: Processing buffer {"connection_id":91106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:31:28] local.INFO: IMEI packet received {"connection_id":91106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":91106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:31:28] local.INFO: TCP Data received {"connection_id":89643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:28] local.INFO: Processing buffer {"connection_id":89643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:31:28] local.INFO: IMEI packet received {"connection_id":89643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":89643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:31:29] local.INFO: TCP Data received {"connection_id":91106,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:31:29] local.INFO: Processing buffer {"connection_id":91106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:31:29] local.INFO: Packet analysis {"connection_id":91106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:31:29] local.INFO: Extracted packet for processing {"connection_id":91106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:31:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:31: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-06-02 17: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-06-02 17: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-06-02 17: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-06-02 17:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:31:29] 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-06-02 17:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:31:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":91106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:31:29] local.INFO: GPS data processed {"connection_id":91106,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:31:29] local.INFO: Acknowledgment sent {"connection_id":91106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:31:30] local.INFO: TCP Data received {"connection_id":89643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88353d38012d7e2a0005e1bfd8000800c12b..."} 
[2026-06-02 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88353d38012d7e2a0005e1bfd8000800c12b..."} 
[2026-06-02 17:31:30] local.INFO: Processing buffer {"connection_id":89643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88353d38012d7e2a0005e1bfd8000800c12b..."} 
[2026-06-02 17:31:30] local.INFO: Packet analysis {"connection_id":89643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8835"} 
[2026-06-02 17:31:30] local.INFO: Extracted packet for processing {"connection_id":89643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8835"} 
[2026-06-02 17:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763243008,"raw_latitude":98680792,"longitude_deg":76.3243008,"latitude_deg":9.8680792,"altitude":8,"angle":193,"satellites":43,"speed":34,"hex_longitude":"2d7e2a00","hex_latitude":"05e1bfd8","is_valid_coordinates":true} 
[2026-06-02 17:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782820608001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87930603458002944,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091782510506835968,"note":"Value kept but may cause issues"} 
[2026-06-02 17:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780401651000,"timestamp_ms":1780401651000,"timestamp_seconds":1780401651,"priority":1,"record_length":96,"hex_timestamp":"0000019e88353d38"} 
[2026-06-02 17:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:31: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-06-02 17:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 17:31:30] 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-06-02 17:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782820608001,"66":12939,"61":206,"85":15104,"24":34,"16":87930603458002944,"45":9091782510506835968},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 17:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782820608001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:31:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 17:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87930603458002944,"km_value":87930603458002.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091782510506835968,"description":"Unknown IO ID 45"} 
[2026-06-02 17:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782820608001,"power":12939,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9091782510506835968}} 
[2026-06-02 17:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":89643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:31:30] local.INFO: GPS data processed {"connection_id":89643,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:31:30] local.INFO: Acknowledgment sent {"connection_id":89643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:32:00] local.INFO: TCP Data received {"connection_id":91106,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:32:00] local.INFO: Processing buffer {"connection_id":91106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:32:00] local.INFO: Packet analysis {"connection_id":91106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:32:00] local.INFO: Extracted packet for processing {"connection_id":91106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:32:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:32: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-06-02 17:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:32:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":91106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:32:00] local.INFO: GPS data processed {"connection_id":91106,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:32:00] local.INFO: Acknowledgment sent {"connection_id":91106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:32:01] local.INFO: TCP Data received {"connection_id":89643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88354508012d7e278005e1b960000800d02c..."} 
[2026-06-02 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88354508012d7e278005e1b960000800d02c..."} 
[2026-06-02 17:32:01] local.INFO: Processing buffer {"connection_id":89643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88354508012d7e278005e1b960000800d02c..."} 
[2026-06-02 17:32:01] local.INFO: Packet analysis {"connection_id":89643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8835"} 
[2026-06-02 17:32:01] local.INFO: Extracted packet for processing {"connection_id":89643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8835"} 
[2026-06-02 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763242368,"raw_latitude":98679136,"longitude_deg":76.3242368,"latitude_deg":9.8679136,"altitude":8,"angle":208,"satellites":44,"speed":36,"hex_longitude":"2d7e2780","hex_latitude":"05e1b960","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782822656001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87930689357348864,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078823063050240,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780401653000,"timestamp_ms":1780401653000,"timestamp_seconds":1780401653,"priority":1,"record_length":96,"hex_timestamp":"0000019e88354508"} 
[2026-06-02 17:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:32: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-06-02 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-02 17:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782822656001,"66":12526,"61":206,"85":15104,"24":36,"16":87930689357348864,"45":9091078823063050240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-02 17:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782822656001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:32:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-02 17:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87930689357348864,"km_value":87930689357348.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078823063050240,"description":"Unknown IO ID 45"} 
[2026-06-02 17:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782822656001,"power":12526,"unknown_61":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9091078823063050240}} 
[2026-06-02 17:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":89643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:32:01] local.INFO: GPS data processed {"connection_id":89643,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:32:01] local.INFO: Acknowledgment sent {"connection_id":89643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:32:21] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:21] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:21] local.INFO: IMEI packet received {"connection_id":90009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":90009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:32:23] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:32:23] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:32:23] local.INFO: IMEI packet received {"connection_id":89924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":89924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:32:23] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:23] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:23] local.INFO: IMEI packet received {"connection_id":90009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":90009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:32:24] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:24] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:24] local.INFO: IMEI packet received {"connection_id":90009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":90009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:32:28] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:32:28] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:32:28] local.INFO: IMEI packet received {"connection_id":89924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":89924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:32:29] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:29] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:32:29] local.INFO: IMEI packet received {"connection_id":90009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":90009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:32:29] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:32:29] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:32:29] local.INFO: Packet analysis {"connection_id":89924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:32:29] local.INFO: Extracted packet for processing {"connection_id":89924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:32:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:32: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-06-02 17: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":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:32: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-06-02 17: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-06-02 17:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:32: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-06-02 17:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:32:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":89924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:32:29] local.INFO: GPS data processed {"connection_id":89924,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:32:29] local.INFO: Acknowledgment sent {"connection_id":89924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:32:30] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88366230012d7e10c005e0c660000600ac2d..."} 
[2026-06-02 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88366230012d7e10c005e0c660000600ac2d..."} 
[2026-06-02 17:32:30] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88366230012d7e10c005e0c660000600ac2d..."} 
[2026-06-02 17:32:30] local.INFO: Packet analysis {"connection_id":90009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:32:30] local.INFO: Extracted packet for processing {"connection_id":90009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763236544,"raw_latitude":98616928,"longitude_deg":76.3236544,"latitude_deg":9.8616928,"altitude":6,"angle":172,"satellites":45,"speed":29,"hex_longitude":"2d7e10c0","hex_latitude":"05e0c660","is_valid_coordinates":true} 
[2026-06-02 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782839808001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87933798913671168,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675267328047104,"note":"Value kept but may cause issues"} 
[2026-06-02 17:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780401726000,"timestamp_ms":1780401726000,"timestamp_seconds":1780401726,"priority":1,"record_length":96,"hex_timestamp":"0000019e88366230"} 
[2026-06-02 17:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:32: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-06-02 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 17:32:30] 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-06-02 17:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782839808001,"66":12885,"60":206,"85":15104,"24":29,"16":87933798913671168,"45":9084675267328047104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-02 17:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782839808001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:32:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 17:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87933798913671168,"km_value":87933798913671.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675267328047104,"description":"Unknown IO ID 45"} 
[2026-06-02 17:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782839808001,"power":12885,"unknown_60":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9084675267328047104}} 
[2026-06-02 17:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":90009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:32:30] local.INFO: GPS data processed {"connection_id":90009,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:32:30] local.INFO: Acknowledgment sent {"connection_id":90009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:33:01] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88366a00012d7e138005e0c100000700942e..."} 
[2026-06-02 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88366a00012d7e138005e0c100000700942e..."} 
[2026-06-02 17:33:01] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88366a00012d7e138005e0c100000700942e..."} 
[2026-06-02 17:33:01] local.INFO: Packet analysis {"connection_id":90009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:33:01] local.INFO: Extracted packet for processing {"connection_id":90009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":98615552,"longitude_deg":76.3237248,"latitude_deg":9.8615552,"altitude":7,"angle":148,"satellites":46,"speed":30,"hex_longitude":"2d7e1380","hex_latitude":"05e0c100","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782841856001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87933876223082496,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083971579884756992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780401728000,"timestamp_ms":1780401728000,"timestamp_seconds":1780401728,"priority":1,"record_length":96,"hex_timestamp":"0000019e88366a00"} 
[2026-06-02 17:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:33: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-06-02 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 17:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782841856001,"66":12852,"60":206,"85":15104,"24":30,"16":87933876223082496,"45":9083971579884756992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-02 17:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782841856001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:33:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 17:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87933876223082496,"km_value":87933876223082.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083971579884756992,"description":"Unknown IO ID 45"} 
[2026-06-02 17:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782841856001,"power":12852,"unknown_60":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9083971579884756992}} 
[2026-06-02 17:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":90009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:33:01] local.INFO: GPS data processed {"connection_id":90009,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:33:01] local.INFO: Acknowledgment sent {"connection_id":90009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:33:02] local.INFO: TCP Data received {"connection_id":89924,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:33:02] local.INFO: Processing buffer {"connection_id":89924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88327648012cb29ac007823b00004900d929..."} 
[2026-06-02 17:33:02] local.INFO: Packet analysis {"connection_id":89924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:33:02] local.INFO: Extracted packet for processing {"connection_id":89924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8832"} 
[2026-06-02 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782699008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780401469000,"timestamp_ms":1780401469000,"timestamp_seconds":1780401469,"priority":1,"record_length":96,"hex_timestamp":"0000019e88327648"} 
[2026-06-02 17:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:33: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-06-02 17:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:33:02] 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-06-02 17:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782699008001,"66":25691,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782699008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:33:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782699008001,"power":25691,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":89924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:33:02] local.INFO: GPS data processed {"connection_id":89924,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:33:02] local.INFO: Acknowledgment sent {"connection_id":89924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:33:10] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:33:10] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:33:10] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:33:15] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:33:15] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:33:15] local.INFO: IMEI packet received {"connection_id":89644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":89644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:33:16] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88362798012d194e40071ff9700042008527..."} 
[2026-06-02 17:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88362798012d194e40071ff9700042008527..."} 
[2026-06-02 17:33:16] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88362798012d194e40071ff9700042008527..."} 
[2026-06-02 17:33:16] local.INFO: Packet analysis {"connection_id":89644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:33:16] local.INFO: Extracted packet for processing {"connection_id":89644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119535984,"longitude_deg":75.6633152,"latitude_deg":11.9535984,"altitude":66,"angle":133,"satellites":39,"speed":5,"hex_longitude":"2d194e40","hex_latitude":"071ff970","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782837760001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125415815297105920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823324560988682240,"note":"Value kept but may cause issues"} 
[2026-06-02 17: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-06-02 17:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780401711000,"timestamp_ms":1780401711000,"timestamp_seconds":1780401711,"priority":1,"record_length":96,"hex_timestamp":"0000019e88362798"} 
[2026-06-02 17:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:33: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-06-02 17: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-02 17:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:33:16] 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-06-02 17:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782837760001,"66":14483,"102":206,"83":41984,"24":5,"16":125415815297105920,"45":1823324560988682240},"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-06-02 17:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782837760001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:33:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 17:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125415815297105920,"km_value":125415815297105.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823324560988682240,"description":"Unknown IO ID 45"} 
[2026-06-02 17:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782837760001,"power":14483,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1823324560988682240}} 
[2026-06-02 17:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":89644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:33:16] local.INFO: GPS data processed {"connection_id":89644,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:33:16] local.INFO: Acknowledgment sent {"connection_id":89644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:33:23] local.INFO: TCP Data received {"connection_id":90010,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:33:23] local.INFO: Processing buffer {"connection_id":90010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:33:23] local.INFO: IMEI packet received {"connection_id":90010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":90010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:33:23] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:33:23] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:33:23] local.INFO: IMEI packet received {"connection_id":89645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":89645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:33:28] local.INFO: TCP Data received {"connection_id":90010,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:33:28] local.INFO: Processing buffer {"connection_id":90010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:33:28] local.INFO: IMEI packet received {"connection_id":90010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":90010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:33:28] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:33:28] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:33:28] local.INFO: IMEI packet received {"connection_id":89645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":89645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:33:29] local.INFO: TCP Data received {"connection_id":90010,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:33:29] local.INFO: Processing buffer {"connection_id":90010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:33:29] local.INFO: Packet analysis {"connection_id":90010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:33:29] local.INFO: Extracted packet for processing {"connection_id":90010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:33:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:33: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-06-02 17:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:33: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-06-02 17:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":90010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:33:29] local.INFO: GPS data processed {"connection_id":90010,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:33:29] local.INFO: Acknowledgment sent {"connection_id":90010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:33:29] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88366de8012d7e158005e0bed0000700882f..."} 
[2026-06-02 17:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88366de8012d7e158005e0bed0000700882f..."} 
[2026-06-02 17:33:29] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88366de8012d7e158005e0bed0000700882f..."} 
[2026-06-02 17:33:29] local.INFO: Packet analysis {"connection_id":89645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:33:29] local.INFO: Extracted packet for processing {"connection_id":89645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8836"} 
[2026-06-02 17:33:29] local.INFO: GPS Element Parsed {"raw_longitude":763237760,"raw_latitude":98614992,"longitude_deg":76.323776,"latitude_deg":9.8614992,"altitude":7,"angle":136,"satellites":47,"speed":31,"hex_longitude":"2d7e1580","hex_latitude":"05e0bed0","is_valid_coordinates":true} 
[2026-06-02 17:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782842368001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87933910582820864,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745636070359040,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401729000,"timestamp_ms":1780401729000,"timestamp_seconds":1780401729,"priority":1,"record_length":96,"hex_timestamp":"0000019e88366de8"} 
[2026-06-02 17:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-02 17:33:29] 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-06-02 17:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782842368001,"66":12852,"60":206,"85":15104,"24":31,"16":87933910582820864,"45":9084745636070359040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-02 17:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782842368001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87933910582820864,"km_value":87933910582820.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745636070359040,"description":"Unknown IO ID 45"} 
[2026-06-02 17:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782842368001,"power":12852,"unknown_60":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9084745636070359040}} 
[2026-06-02 17:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":89645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:33:30] local.INFO: GPS data processed {"connection_id":89645,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:33:30] local.INFO: Acknowledgment sent {"connection_id":89645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:33:47] local.INFO: TCP Data received {"connection_id":89644,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88372580012d198300071ff0a8003f004228..."} 
[2026-06-02 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88372580012d198300071ff0a8003f004228..."} 
[2026-06-02 17:33:47] local.INFO: Processing buffer {"connection_id":89644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88372580012d198300071ff0a8003f004228..."} 
[2026-06-02 17:33:47] local.INFO: Packet analysis {"connection_id":89644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:33:47] local.INFO: Extracted packet for processing {"connection_id":89644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756646656,"raw_latitude":119533736,"longitude_deg":75.6646656,"latitude_deg":11.9533736,"altitude":63,"angle":66,"satellites":40,"speed":6,"hex_longitude":"2d198300","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-06-02 17:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782852608001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125416523966709760,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837327941079302144,"note":"Value kept but may cause issues"} 
[2026-06-02 17:33: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-06-02 17:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780401776000,"timestamp_ms":1780401776000,"timestamp_seconds":1780401776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88372580"} 
[2026-06-02 17:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:33: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-06-02 17:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-02 17:33: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-06-02 17:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:33:47] 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-06-02 17:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782852608001,"66":13656,"101":206,"83":41984,"24":6,"16":125416523966709760,"45":1837327941079302144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782852608001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:33:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125416523966709760,"km_value":125416523966709.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837327941079302144,"description":"Unknown IO ID 45"} 
[2026-06-02 17:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782852608001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1837327941079302144}} 
[2026-06-02 17:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":89644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:33:47] local.INFO: GPS data processed {"connection_id":89644,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:33:47] local.INFO: Acknowledgment sent {"connection_id":89644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:34:00] local.INFO: TCP Data received {"connection_id":90010,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:00] local.INFO: Processing buffer {"connection_id":90010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:00] local.INFO: Packet analysis {"connection_id":90010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:00] local.INFO: Extracted packet for processing {"connection_id":90010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:34: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-06-02 17:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:34: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-06-02 17:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:34:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":90010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:34:00] local.INFO: GPS data processed {"connection_id":90010,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:34:00] local.INFO: Acknowledgment sent {"connection_id":90010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:34:01] local.INFO: TCP Data received {"connection_id":89645,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8837c5a8012d7e710005dfa5900005009f2c..."} 
[2026-06-02 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8837c5a8012d7e710005dfa5900005009f2c..."} 
[2026-06-02 17:34:01] local.INFO: Processing buffer {"connection_id":89645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8837c5a8012d7e710005dfa5900005009f2c..."} 
[2026-06-02 17:34:01] local.INFO: Packet analysis {"connection_id":89645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:01] local.INFO: Extracted packet for processing {"connection_id":89645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763261184,"raw_latitude":98542992,"longitude_deg":76.3261184,"latitude_deg":9.8542992,"altitude":5,"angle":159,"satellites":44,"speed":36,"hex_longitude":"2d7e7100","hex_latitude":"05dfa590","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782863872001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87937694449008640,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110078383956746240,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34: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-06-02 17:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780401817000,"timestamp_ms":1780401817000,"timestamp_seconds":1780401817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8837c5a8"} 
[2026-06-02 17:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:34: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-06-02 17: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-02 17:34:01] 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-06-02 17: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-06-02 17:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782863872001,"66":12743,"207":206,"85":15104,"24":36,"16":87937694449008640,"45":9110078383956746240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 17:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782863872001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:34:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 17:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87937694449008640,"km_value":87937694449008.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110078383956746240,"description":"Unknown IO ID 45"} 
[2026-06-02 17:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782863872001,"power":12743,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9110078383956746240}} 
[2026-06-02 17:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":89645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:34:01] local.INFO: GPS data processed {"connection_id":89645,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:34:01] local.INFO: Acknowledgment sent {"connection_id":89645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:34:03] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:03] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:03] local.INFO: IMEI packet received {"connection_id":89926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":89926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:34:03] local.INFO: TCP Data received {"connection_id":89646,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:34:03] local.INFO: Processing buffer {"connection_id":89646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:34:03] local.INFO: IMEI packet received {"connection_id":89646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":89646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:34:04] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:04] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:04] local.INFO: IMEI packet received {"connection_id":89926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":89926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:34:05] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:05] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:05] local.INFO: IMEI packet received {"connection_id":89926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":89926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:34:05] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:05] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:34:05] local.INFO: IMEI packet received {"connection_id":89926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":89926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:34:23] local.INFO: TCP Data received {"connection_id":91107,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:34:23] local.INFO: Processing buffer {"connection_id":91107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:34:23] local.INFO: IMEI packet received {"connection_id":91107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":91107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:34:28] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:34:28] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:34:28] local.INFO: IMEI packet received {"connection_id":89927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":89927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:34:29] local.INFO: TCP Data received {"connection_id":91107,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:34:29] local.INFO: Processing buffer {"connection_id":91107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:34:29] local.INFO: IMEI packet received {"connection_id":91107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":91107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:34:29] local.INFO: TCP Data received {"connection_id":91107,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8837ecb8012d7e7d4005df82c0000500a12f..."} 
[2026-06-02 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8837ecb8012d7e7d4005df82c0000500a12f..."} 
[2026-06-02 17:34:29] local.INFO: Processing buffer {"connection_id":91107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8837ecb8012d7e7d4005df82c0000500a12f..."} 
[2026-06-02 17:34:29] local.INFO: Packet analysis {"connection_id":91107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:29] local.INFO: Extracted packet for processing {"connection_id":91107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763264320,"raw_latitude":98534080,"longitude_deg":76.326432,"latitude_deg":9.853408,"altitude":5,"angle":161,"satellites":47,"speed":37,"hex_longitude":"2d7e7d40","hex_latitude":"05df82c0","is_valid_coordinates":true} 
[2026-06-02 17:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782865152001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87938154010509312,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111063546374230016,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:29] 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-06-02 17:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401827000,"timestamp_ms":1780401827000,"timestamp_seconds":1780401827,"priority":1,"record_length":96,"hex_timestamp":"0000019e8837ecb8"} 
[2026-06-02 17:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 17:34:29] 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-06-02 17:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782865152001,"66":12906,"207":206,"85":15104,"24":37,"16":87938154010509312,"45":9111063546374230016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 17:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782865152001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:34:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 17:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87938154010509312,"km_value":87938154010509.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111063546374230016,"description":"Unknown IO ID 45"} 
[2026-06-02 17:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782865152001,"power":12906,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9111063546374230016}} 
[2026-06-02 17:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":91107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:34:29] local.INFO: GPS data processed {"connection_id":91107,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:34:29] local.INFO: Acknowledgment sent {"connection_id":91107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:34:33] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:34:33] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:34:33] local.INFO: IMEI packet received {"connection_id":89927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":89927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:34:34] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:34] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:34] local.INFO: Packet analysis {"connection_id":89927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:34] local.INFO: Extracted packet for processing {"connection_id":89927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:34:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":89927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:34:34] local.INFO: GPS data processed {"connection_id":89927,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:34:34] local.INFO: Acknowledgment sent {"connection_id":89927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:34:40] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:40] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:34:40] local.INFO: Packet analysis {"connection_id":89927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:40] local.INFO: Extracted packet for processing {"connection_id":89927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":89927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":89927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":89927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":89927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:34:40] local.INFO: GPS data processed {"connection_id":89927,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:34:40] local.INFO: Acknowledgment sent {"connection_id":89927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:35:00] local.INFO: TCP Data received {"connection_id":91107,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88380fe0012d7e894005df60a0000600a22e..."} 
[2026-06-02 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88380fe0012d7e894005df60a0000600a22e..."} 
[2026-06-02 17:35:00] local.INFO: Processing buffer {"connection_id":91107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88380fe0012d7e894005df60a0000600a22e..."} 
[2026-06-02 17:35:00] local.INFO: Packet analysis {"connection_id":91107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:35:00] local.INFO: Extracted packet for processing {"connection_id":91107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763267392,"raw_latitude":98525344,"longitude_deg":76.3267392,"latitude_deg":9.8525344,"altitude":6,"angle":162,"satellites":46,"speed":40,"hex_longitude":"2d7e8940","hex_latitude":"05df60a0","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782867712001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87938600687108096,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114511614836654080,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401836000,"timestamp_ms":1780401836000,"timestamp_seconds":1780401836,"priority":1,"record_length":96,"hex_timestamp":"0000019e88380fe0"} 
[2026-06-02 17:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 17:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782867712001,"66":12885,"207":206,"85":15104,"24":40,"16":87938600687108096,"45":9114511614836654080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 17:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782867712001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:35:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 17:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87938600687108096,"km_value":87938600687108.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114511614836654080,"description":"Unknown IO ID 45"} 
[2026-06-02 17:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782867712001,"power":12885,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9114511614836654080}} 
[2026-06-02 17:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":91107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:35:00] local.INFO: GPS data processed {"connection_id":91107,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:35:00] local.INFO: Acknowledgment sent {"connection_id":91107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:35:23] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:23] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:23] local.INFO: IMEI packet received {"connection_id":89928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":89928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:35:24] local.INFO: TCP Data received {"connection_id":91109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:35:24] local.INFO: Processing buffer {"connection_id":91109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:35:24] local.INFO: IMEI packet received {"connection_id":91109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":91109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:35:27] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:27] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:27] local.INFO: IMEI packet received {"connection_id":89928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":89928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:35:28] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:28] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:35:28] local.INFO: IMEI packet received {"connection_id":89928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":89928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:35:28] local.INFO: TCP Data received {"connection_id":91109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:35:28] local.INFO: Processing buffer {"connection_id":91109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:35:28] local.INFO: IMEI packet received {"connection_id":91109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":91109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:35:29] local.INFO: TCP Data received {"connection_id":91109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:35:29] local.INFO: Processing buffer {"connection_id":91109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:35:29] local.INFO: Packet analysis {"connection_id":91109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:35:29] local.INFO: Extracted packet for processing {"connection_id":91109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:35: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-06-02 17: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-06-02 17:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:35:29] 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-06-02 17:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":91109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:35:29] local.INFO: GPS data processed {"connection_id":91109,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:35:29] local.INFO: Acknowledgment sent {"connection_id":91109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:35:29] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883836f0012d7e94c005df3f40000800992a..."} 
[2026-06-02 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883836f0012d7e94c005df3f40000800992a..."} 
[2026-06-02 17:35:29] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883836f0012d7e94c005df3f40000800992a..."} 
[2026-06-02 17:35:29] local.INFO: Packet analysis {"connection_id":89928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:35:29] local.INFO: Extracted packet for processing {"connection_id":89928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763270336,"raw_latitude":98516800,"longitude_deg":76.3270336,"latitude_deg":9.85168,"altitude":8,"angle":153,"satellites":42,"speed":26,"hex_longitude":"2d7e94c0","hex_latitude":"05df3f40","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782870016001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87939038773772288,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117889314554945536,"note":"Value kept but may cause issues"} 
[2026-06-02 17:35:29] 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-06-02 17:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401846000,"timestamp_ms":1780401846000,"timestamp_seconds":1780401846,"priority":1,"record_length":96,"hex_timestamp":"0000019e883836f0"} 
[2026-06-02 17:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 17:35:29] 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-06-02 17: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-06-02 17:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782870016001,"66":12961,"207":206,"85":15104,"24":26,"16":87939038773772288,"45":9117889314554945536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 17:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782870016001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87939038773772288,"km_value":87939038773772.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117889314554945536,"description":"Unknown IO ID 45"} 
[2026-06-02 17:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782870016001,"power":12961,"unknown_207":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9117889314554945536}} 
[2026-06-02 17:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":89928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:35:29] local.INFO: GPS data processed {"connection_id":89928,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:35:29] local.INFO: Acknowledgment sent {"connection_id":89928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:36:01] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88386da0012d7ea54005df1ef80009009b29..."} 
[2026-06-02 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88386da0012d7ea54005df1ef80009009b29..."} 
[2026-06-02 17:36:01] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88386da0012d7ea54005df1ef80009009b29..."} 
[2026-06-02 17:36:01] local.INFO: Packet analysis {"connection_id":89928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:36:01] local.INFO: Extracted packet for processing {"connection_id":89928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":98508536,"longitude_deg":76.327456,"latitude_deg":9.8508536,"altitude":9,"angle":155,"satellites":41,"speed":19,"hex_longitude":"2d7ea540","hex_latitude":"05df1ef8","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782872576001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87939489745338368,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121126276784930816,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36: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-06-02 17:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780401860000,"timestamp_ms":1780401860000,"timestamp_seconds":1780401860,"priority":1,"record_length":96,"hex_timestamp":"0000019e88386da0"} 
[2026-06-02 17:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:36: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-06-02 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 17:36:01] 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-06-02 17: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-06-02 17:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782872576001,"66":12645,"207":206,"85":15104,"24":19,"16":87939489745338368,"45":9121126276784930816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 17:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782872576001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:36:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 17:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87939489745338368,"km_value":87939489745338.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121126276784930816,"description":"Unknown IO ID 45"} 
[2026-06-02 17:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782872576001,"power":12645,"unknown_207":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9121126276784930816}} 
[2026-06-02 17:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":89928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:36:01] local.INFO: GPS data processed {"connection_id":89928,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:36:01] local.INFO: Acknowledgment sent {"connection_id":89928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:36:02] local.INFO: TCP Data received {"connection_id":91109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:36:02] local.INFO: Processing buffer {"connection_id":91109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:36:02] local.INFO: Packet analysis {"connection_id":91109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:36:02] local.INFO: Extracted packet for processing {"connection_id":91109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:36:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:36: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-06-02 17:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:36:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":91109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:36:02] local.INFO: GPS data processed {"connection_id":91109,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:36:02] local.INFO: Acknowledgment sent {"connection_id":91109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:36:23] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:36:23] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:36:23] local.INFO: IMEI packet received {"connection_id":89930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":89930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:36:23] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:36:23] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:36:23] local.INFO: IMEI packet received {"connection_id":89929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":89929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:36:28] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:36:28] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:36:28] local.INFO: IMEI packet received {"connection_id":89929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":89929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:36:28] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:36:28] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:36:28] local.INFO: IMEI packet received {"connection_id":89930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":89930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:36:29] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:36:29] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:36:29] local.INFO: Packet analysis {"connection_id":89929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:36:29] local.INFO: Extracted packet for processing {"connection_id":89929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:36: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-06-02 17:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:36:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":89929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:36:29] local.INFO: GPS data processed {"connection_id":89929,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:36:29] local.INFO: Acknowledgment sent {"connection_id":89929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:36:29] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883a2ed8012d7f11c005ddfcd0000a008d2c..."} 
[2026-06-02 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883a2ed8012d7f11c005ddfcd0000a008d2c..."} 
[2026-06-02 17:36:29] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883a2ed8012d7f11c005ddfcd0000a008d2c..."} 
[2026-06-02 17:36:29] local.INFO: Packet analysis {"connection_id":89930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883a"} 
[2026-06-02 17:36:29] local.INFO: Extracted packet for processing {"connection_id":89930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883a"} 
[2026-06-02 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763302336,"raw_latitude":98434256,"longitude_deg":76.3302336,"latitude_deg":9.8434256,"altitude":10,"angle":141,"satellites":44,"speed":10,"hex_longitude":"2d7f11c0","hex_latitude":"05ddfcd0","is_valid_coordinates":true} 
[2026-06-02 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782902016001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87943402460545024,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152510736669200384,"note":"Value kept but may cause issues"} 
[2026-06-02 17:36:29] 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-06-02 17:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401975000,"timestamp_ms":1780401975000,"timestamp_seconds":1780401975,"priority":1,"record_length":96,"hex_timestamp":"0000019e883a2ed8"} 
[2026-06-02 17:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 17:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782902016001,"66":12765,"205":206,"85":15104,"24":10,"16":87943402460545024,"45":9152510736669200384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-02 17:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782902016001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87943402460545024,"km_value":87943402460545.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152510736669200384,"description":"Unknown IO ID 45"} 
[2026-06-02 17:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782902016001,"power":12765,"cell_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9152510736669200384}} 
[2026-06-02 17:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":89930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:36:29] local.INFO: GPS data processed {"connection_id":89930,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:36:29] local.INFO: Acknowledgment sent {"connection_id":89930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:37:00] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883a2ed8012d7f11c005ddfcd0000a008d2c..."} 
[2026-06-02 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883a2ed8012d7f11c005ddfcd0000a008d2c..."} 
[2026-06-02 17:37:00] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883a2ed8012d7f11c005ddfcd0000a008d2c..."} 
[2026-06-02 17:37:00] local.INFO: Packet analysis {"connection_id":89930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883a"} 
[2026-06-02 17:37:00] local.INFO: Extracted packet for processing {"connection_id":89930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883a"} 
[2026-06-02 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763302336,"raw_latitude":98434256,"longitude_deg":76.3302336,"latitude_deg":9.8434256,"altitude":10,"angle":141,"satellites":44,"speed":10,"hex_longitude":"2d7f11c0","hex_latitude":"05ddfcd0","is_valid_coordinates":true} 
[2026-06-02 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782905600001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87943402460545024,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156310648852631552,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:00] 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-06-02 17:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401975000,"timestamp_ms":1780401975000,"timestamp_seconds":1780401975,"priority":1,"record_length":96,"hex_timestamp":"0000019e883a2ed8"} 
[2026-06-02 17:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 17:37:00] 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-06-02 17:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782905600001,"66":12765,"205":206,"85":15104,"24":10,"16":87943402460545024,"45":9156310648852631552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-02 17:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782905600001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87943402460545024,"km_value":87943402460545.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156310648852631552,"description":"Unknown IO ID 45"} 
[2026-06-02 17:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782905600001,"power":12765,"cell_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9156310648852631552}} 
[2026-06-02 17:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":89930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:37:00] local.INFO: GPS data processed {"connection_id":89930,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:37:00] local.INFO: Acknowledgment sent {"connection_id":89930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:37:00] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:37:00] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:37:00] local.INFO: Packet analysis {"connection_id":89929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:37:00] local.INFO: Extracted packet for processing {"connection_id":89929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:37: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-06-02 17:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:37: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-06-02 17:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:37:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":89929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:37:00] local.INFO: GPS data processed {"connection_id":89929,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:37:00] local.INFO: Acknowledgment sent {"connection_id":89929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:37:23] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:37:23] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:37:23] local.INFO: IMEI packet received {"connection_id":90011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":90011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:37:28] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:37:28] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:37:28] local.INFO: IMEI packet received {"connection_id":90011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":90011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:37:29] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:37:29] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:37:29] local.INFO: Packet analysis {"connection_id":90011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:37:29] local.INFO: Extracted packet for processing {"connection_id":90011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:37:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:37: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-06-02 17: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-06-02 17:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17: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-06-02 17:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:37:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":90011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:37:29] local.INFO: GPS data processed {"connection_id":90011,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:37:29] local.INFO: Acknowledgment sent {"connection_id":90011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:37:31] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:37:31] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:37:31] local.INFO: IMEI packet received {"connection_id":90012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":90012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:37:34] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:37:34] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:37:34] local.INFO: IMEI packet received {"connection_id":90012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":90012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:37:35] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883b1168012d7f454005dd5ac8000400a72e..."} 
[2026-06-02 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883b1168012d7f454005dd5ac8000400a72e..."} 
[2026-06-02 17:37:35] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883b1168012d7f454005dd5ac8000400a72e..."} 
[2026-06-02 17:37:35] local.INFO: Packet analysis {"connection_id":90012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:37:35] local.INFO: Extracted packet for processing {"connection_id":90012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763315520,"raw_latitude":98392776,"longitude_deg":76.331552,"latitude_deg":9.8392776,"altitude":4,"angle":167,"satellites":46,"speed":40,"hex_longitude":"2d7f4540","hex_latitude":"05dd5ac8","is_valid_coordinates":true} 
[2026-06-02 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782918144001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87945549944193024,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168625179075569664,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780402033000,"timestamp_ms":1780402033000,"timestamp_seconds":1780402033,"priority":1,"record_length":96,"hex_timestamp":"0000019e883b1168"} 
[2026-06-02 17:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:37: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-06-02 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1873497445153899520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2285542456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4216715058509452928,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3168272392,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298464974,"corrected_to":0} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147868092,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2454426612377018323,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266218670731691,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:35] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,85,24,241,157,16,113,158,226,45,64,141,7,46,10,66,214,128,154,1,240,237,227,136,221,4,205,52,187,51,216,239,50,2,56,5,9,42,49,59,115],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298464974,"validated":0}]} 
[2026-06-02 17:37:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535973015650304,"timestamp_seconds":432535973015650.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782918144001,"66":13189,"101":206,"85":15104,"24":40,"16":87945549944193024,"45":9168625179075569664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-06-02 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782918144001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87945549944193024,"km_value":87945549944193.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168625179075569664,"description":"Unknown IO ID 45"} 
[2026-06-02 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782918144001,"power":13189,"unknown_101":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9168625179075569664}} 
[2026-06-02 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":90012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:37:35] local.INFO: GPS data processed {"connection_id":90012,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:37:35] local.INFO: Acknowledgment sent {"connection_id":90012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:37:37] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883b3490012d7f4c0005dd3828000200a72f..."} 
[2026-06-02 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883b3490012d7f4c0005dd3828000200a72f..."} 
[2026-06-02 17:37:37] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883b3490012d7f4c0005dd3828000200a72f..."} 
[2026-06-02 17:37:37] local.INFO: Packet analysis {"connection_id":90012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:37:37] local.INFO: Extracted packet for processing {"connection_id":90012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763317248,"raw_latitude":98383912,"longitude_deg":76.3317248,"latitude_deg":9.8383912,"altitude":2,"angle":167,"satellites":47,"speed":38,"hex_longitude":"2d7f4c00","hex_latitude":"05dd3828","is_valid_coordinates":true} 
[2026-06-02 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782920448001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87945988030857216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170806610142611456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780402042000,"timestamp_ms":1780402042000,"timestamp_seconds":1780402042,"priority":1,"record_length":96,"hex_timestamp":"0000019e883b3490"} 
[2026-06-02 17:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 17:37:37] 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-06-02 17:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":90012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":90012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":90012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782920448001,"66":12809,"101":206,"85":15104,"24":38,"16":87945988030857216,"45":9170806610142611456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-06-02 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782920448001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:37:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87945988030857216,"km_value":87945988030857.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170806610142611456,"description":"Unknown IO ID 45"} 
[2026-06-02 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782920448001,"power":12809,"unknown_101":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9170806610142611456}} 
[2026-06-02 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":90012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:37:37] local.INFO: GPS data processed {"connection_id":90012,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:37:37] local.INFO: Acknowledgment sent {"connection_id":90012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:38:02] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:38:02] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:38:02] local.INFO: Packet analysis {"connection_id":90011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:38:02] local.INFO: Extracted packet for processing {"connection_id":90011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:38: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-06-02 17:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:38: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-06-02 17:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":90011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:38:02] local.INFO: GPS data processed {"connection_id":90011,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:38:02] local.INFO: Acknowledgment sent {"connection_id":90011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:38:23] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:38:23] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:38:23] local.INFO: IMEI packet received {"connection_id":89653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":89653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:38:23] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:23] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:23] local.INFO: IMEI packet received {"connection_id":89652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":89652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:38:24] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:24] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:24] local.INFO: IMEI packet received {"connection_id":89652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":89652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:38:28] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:38:28] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:38:28] local.INFO: IMEI packet received {"connection_id":89653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":89653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:38:29] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:38:29] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88370e10012cb29ac007823b00004900d926..."} 
[2026-06-02 17:38:29] local.INFO: Packet analysis {"connection_id":89653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:38:29] local.INFO: Extracted packet for processing {"connection_id":89653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8837"} 
[2026-06-02 17:38:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782776064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780401770000,"timestamp_ms":1780401770000,"timestamp_seconds":1780401770,"priority":1,"record_length":96,"hex_timestamp":"0000019e88370e10"} 
[2026-06-02 17:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-02 17:38: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-06-02 17: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-06-02 17:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782776064001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782776064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:38:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782776064001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":89653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:38:29] local.INFO: GPS data processed {"connection_id":89653,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:38:29] local.INFO: Acknowledgment sent {"connection_id":89653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:38:29] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:29] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:38:29] local.INFO: IMEI packet received {"connection_id":89652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":89652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:38:30] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883b5ba0012d7f54c005dd1a700002009a2d..."} 
[2026-06-02 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883b5ba0012d7f54c005dd1a700002009a2d..."} 
[2026-06-02 17:38:30] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883b5ba0012d7f54c005dd1a700002009a2d..."} 
[2026-06-02 17:38:30] local.INFO: Packet analysis {"connection_id":89652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:38:30] local.INFO: Extracted packet for processing {"connection_id":89652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763319488,"raw_latitude":98376304,"longitude_deg":76.3319488,"latitude_deg":9.8376304,"altitude":2,"angle":154,"satellites":45,"speed":32,"hex_longitude":"2d7f54c0","hex_latitude":"05dd1a70","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782922752001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87946374577913856,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172706566233139200,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] 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-06-02 17:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780402052000,"timestamp_ms":1780402052000,"timestamp_seconds":1780402052,"priority":1,"record_length":96,"hex_timestamp":"0000019e883b5ba0"} 
[2026-06-02 17:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3746994890140025856,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2285550456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4232108221298324352,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2595749895,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298464974,"corrected_to":0} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147868058,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964234728296021,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2468861001060016594,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:30] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,85,24,241,157,16,114,158,17,45,64,90,4,46,10,66,238,128,6,113,226,1,240,255,227,136,221,205,47,214,61,184,239,50,2,56,5,8,52,59,225],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298464974,"validated":0}]} 
[2026-06-02 17:38:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144299008383647744,"timestamp_seconds":144299008383647.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782922752001,"66":12743,"111":206,"85":15104,"24":32,"16":87946374577913856,"45":9172706566233139200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-02 17:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782922752001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87946374577913856,"km_value":87946374577913.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172706566233139200,"description":"Unknown IO ID 45"} 
[2026-06-02 17:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782922752001,"power":12743,"unknown_111":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9172706566233139200}} 
[2026-06-02 17:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":89652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:38:30] local.INFO: GPS data processed {"connection_id":89652,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:38:30] local.INFO: Acknowledgment sent {"connection_id":89652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:38:34] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883b6f28012d7f5dc005dd0db80003008f2f..."} 
[2026-06-02 17:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883b6f28012d7f5dc005dd0db80003008f2f..."} 
[2026-06-02 17:38:34] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883b6f28012d7f5dc005dd0db80003008f2f..."} 
[2026-06-02 17:38:34] local.INFO: Packet analysis {"connection_id":89652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:38:34] local.INFO: Extracted packet for processing {"connection_id":89652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763321792,"raw_latitude":98373048,"longitude_deg":76.3321792,"latitude_deg":9.8373048,"altitude":3,"angle":143,"satellites":47,"speed":30,"hex_longitude":"2d7f5dc0","hex_latitude":"05dd0db8","is_valid_coordinates":true} 
[2026-06-02 17:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782925312001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87946567851442176,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175169472277409792,"note":"Value kept but may cause issues"} 
[2026-06-02 17:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780402057000,"timestamp_ms":1780402057000,"timestamp_seconds":1780402057,"priority":1,"record_length":96,"hex_timestamp":"0000019e883b6f28"} 
[2026-06-02 17:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:38: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-06-02 17:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 17:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782925312001,"66":12885,"111":206,"85":15104,"24":30,"16":87946567851442176,"45":9175169472277409792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-02 17:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782925312001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:38:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-02 17:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87946567851442176,"km_value":87946567851442.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175169472277409792,"description":"Unknown IO ID 45"} 
[2026-06-02 17:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782925312001,"power":12885,"unknown_111":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9175169472277409792}} 
[2026-06-02 17:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":89652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:38:34] local.INFO: GPS data processed {"connection_id":89652,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:38:34] local.INFO: Acknowledgment sent {"connection_id":89652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:39:00] local.INFO: TCP Data received {"connection_id":89653,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:39:00] local.INFO: Processing buffer {"connection_id":89653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:39:00] local.INFO: Packet analysis {"connection_id":89653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:39:00] local.INFO: Extracted packet for processing {"connection_id":89653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:39: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-06-02 17:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:39:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":89653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:39:00] local.INFO: GPS data processed {"connection_id":89653,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:39:00] local.INFO: Acknowledgment sent {"connection_id":89653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:39:05] local.INFO: TCP Data received {"connection_id":89652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e883c8868012d7fcf0005dc8770000a004c29..."} 
[2026-06-02 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883c8868012d7fcf0005dc8770000a004c29..."} 
[2026-06-02 17:39:05] local.INFO: Processing buffer {"connection_id":89652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883c8868012d7fcf0005dc8770000a004c29..."} 
[2026-06-02 17:39:05] local.INFO: Packet analysis {"connection_id":89652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883c"} 
[2026-06-02 17:39:05] local.INFO: Extracted packet for processing {"connection_id":89652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883c"} 
[2026-06-02 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763350784,"raw_latitude":98338672,"longitude_deg":76.3350784,"latitude_deg":9.8338672,"altitude":10,"angle":76,"satellites":41,"speed":47,"hex_longitude":"2d7fcf00","hex_latitude":"05dc8770","is_valid_coordinates":true} 
[2026-06-02 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782942720001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87949119062016000,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868901473556480,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780402129000,"timestamp_ms":1780402129000,"timestamp_seconds":1780402129,"priority":1,"record_length":96,"hex_timestamp":"0000019e883c8868"} 
[2026-06-02 17:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:39: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-06-02 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 17:39:05] 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-06-02 17:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782942720001,"66":12798,"53":206,"85":15104,"24":47,"16":87949119062016000,"45":9199868901473556480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-02 17:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782942720001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:39:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-02 17:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87949119062016000,"km_value":87949119062016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868901473556480,"description":"Unknown IO ID 45"} 
[2026-06-02 17:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782942720001,"power":12798,"unknown_53":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9199868901473556480}} 
[2026-06-02 17:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":89652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:39:05] local.INFO: GPS data processed {"connection_id":89652,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:39:05] local.INFO: Acknowledgment sent {"connection_id":89652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:39:10] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:39:10] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:39:10] local.INFO: IMEI packet received {"connection_id":89654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":89654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:39:11] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88387958012d19a200071fd9100034009c26..."} 
[2026-06-02 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88387958012d19a200071fd9100034009c26..."} 
[2026-06-02 17:39:11] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88387958012d19a200071fd9100034009c26..."} 
[2026-06-02 17:39:11] local.INFO: Packet analysis {"connection_id":89654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:39:11] local.INFO: Extracted packet for processing {"connection_id":89654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8838"} 
[2026-06-02 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119527696,"longitude_deg":75.6654592,"latitude_deg":11.9527696,"altitude":52,"angle":156,"satellites":38,"speed":0,"hex_longitude":"2d19a200","hex_latitude":"071fd910","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782871552001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125417163916836864,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827774414848,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780401863000,"timestamp_ms":1780401863000,"timestamp_seconds":1780401863,"priority":1,"record_length":96,"hex_timestamp":"0000019e88387958"} 
[2026-06-02 17:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 17:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:39:11] 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-06-02 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782871552001,"66":11656,"101":206,"83":41984,"24":0,"16":125417163916836864,"45":1847038827774414848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782871552001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:39:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125417163916836864,"km_value":125417163916836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827774414848,"description":"Unknown IO ID 45"} 
[2026-06-02 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782871552001,"power":11656,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847038827774414848}} 
[2026-06-02 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":89654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:39:11] local.INFO: GPS data processed {"connection_id":89654,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:39:11] local.INFO: Acknowledgment sent {"connection_id":89654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:39:28] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:39:28] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:39:28] local.INFO: IMEI packet received {"connection_id":89655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":89655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:39:33] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:39:33] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:39:33] local.INFO: IMEI packet received {"connection_id":89655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":89655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:39:34] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:39:34] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:39:34] local.INFO: Packet analysis {"connection_id":89655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:39:34] local.INFO: Extracted packet for processing {"connection_id":89655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:39:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:39:34] 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-06-02 17:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:39:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:39:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":89655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:39:34] local.INFO: GPS data processed {"connection_id":89655,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:39:34] local.INFO: Acknowledgment sent {"connection_id":89655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:39:38] local.INFO: TCP Data received {"connection_id":89931,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:39:38] local.INFO: Processing buffer {"connection_id":89931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:39:38] local.INFO: IMEI packet received {"connection_id":89931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":89931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:39:39] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:39:39] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:39:39] local.INFO: IMEI packet received {"connection_id":89932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":89932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:39:42] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.42","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 17:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 17:39:42] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-02 17:39:42] local.INFO: IMEI packet received {"connection_id":89932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":89932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:39:42] local.INFO: TCP Data received {"connection_id":89654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e883bffb0012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883bffb0012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:39:42] local.INFO: Processing buffer {"connection_id":89654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883bffb0012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:39:42] local.INFO: Packet analysis {"connection_id":89654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:39:42] local.INFO: Extracted packet for processing {"connection_id":89654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119527696,"longitude_deg":75.6654592,"latitude_deg":11.9527696,"altitude":52,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d19a200","hex_latitude":"071fd910","is_valid_coordinates":true} 
[2026-06-02 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930688001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125417163916836864,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827774414848,"note":"Value kept but may cause issues"} 
[2026-06-02 17:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780402094000,"timestamp_ms":1780402094000,"timestamp_seconds":1780402094,"priority":1,"record_length":96,"hex_timestamp":"0000019e883bffb0"} 
[2026-06-02 17:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 17:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:39:42] 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-06-02 17:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930688001,"66":12341,"101":206,"83":41984,"24":0,"16":125417163916836864,"45":1847038827774414848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930688001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:39:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125417163916836864,"km_value":125417163916836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827774414848,"description":"Unknown IO ID 45"} 
[2026-06-02 17:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930688001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847038827774414848}} 
[2026-06-02 17:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":89654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:39:42] local.INFO: GPS data processed {"connection_id":89654,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:39:42] local.INFO: Acknowledgment sent {"connection_id":89654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:39:57] local.INFO: TCP Data received {"connection_id":90013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:39:57] local.INFO: Processing buffer {"connection_id":90013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:39:57] local.INFO: IMEI packet received {"connection_id":90013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":90013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:40:05] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:40:05] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:40:05] local.INFO: IMEI packet received {"connection_id":89933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":89933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:40:05] local.INFO: TCP Data received {"connection_id":89655,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:40:05] local.INFO: Processing buffer {"connection_id":89655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:40:05] local.INFO: Packet analysis {"connection_id":89655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:40:05] local.INFO: Extracted packet for processing {"connection_id":89655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:40:05] 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-06-02 17:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:40:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":89655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:40:05] local.INFO: GPS data processed {"connection_id":89655,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:40:05] local.INFO: Acknowledgment sent {"connection_id":89655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:40:10] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:40:10] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:40:10] local.INFO: IMEI packet received {"connection_id":89933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":89933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:40:11] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e883c51b8012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883c51b8012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:40:11] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883c51b8012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:40:11] local.INFO: Packet analysis {"connection_id":89933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883c"} 
[2026-06-02 17:40:11] local.INFO: Extracted packet for processing {"connection_id":89933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883c"} 
[2026-06-02 17:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119527696,"longitude_deg":75.6654592,"latitude_deg":11.9527696,"altitude":52,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d19a200","hex_latitude":"071fd910","is_valid_coordinates":true} 
[2026-06-02 17:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782936064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125417163916836864,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827774414848,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780402115000,"timestamp_ms":1780402115000,"timestamp_seconds":1780402115,"priority":1,"record_length":96,"hex_timestamp":"0000019e883c51b8"} 
[2026-06-02 17:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 17:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:40:11] 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-06-02 17:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782936064001,"66":12341,"101":206,"83":41984,"24":0,"16":125417163916836864,"45":1847038827774414848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782936064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:40:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125417163916836864,"km_value":125417163916836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827774414848,"description":"Unknown IO ID 45"} 
[2026-06-02 17:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782936064001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847038827774414848}} 
[2026-06-02 17:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":89933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:40:11] local.INFO: GPS data processed {"connection_id":89933,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:40:11] local.INFO: Acknowledgment sent {"connection_id":89933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:40:23] local.INFO: TCP Data received {"connection_id":91112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:40:23] local.INFO: Processing buffer {"connection_id":91112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:40:23] local.INFO: IMEI packet received {"connection_id":91112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":91112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:40:28] local.INFO: TCP Data received {"connection_id":91112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:40:28] local.INFO: Processing buffer {"connection_id":91112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:40:28] local.INFO: IMEI packet received {"connection_id":91112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":91112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:40:29] local.INFO: TCP Data received {"connection_id":91112,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:40:29] local.INFO: Processing buffer {"connection_id":91112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:40:29] local.INFO: Packet analysis {"connection_id":91112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:40:29] local.INFO: Extracted packet for processing {"connection_id":91112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:40: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-06-02 17:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:40: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-06-02 17:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:40: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-06-02 17:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:40:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":91112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:40:29] local.INFO: GPS data processed {"connection_id":91112,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:40:29] local.INFO: Acknowledgment sent {"connection_id":91112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:40:41] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ca3c0012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ca3c0012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:40:41] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ca3c0012d19a200071fd9100034009c2b..."} 
[2026-06-02 17:40:41] local.INFO: Packet analysis {"connection_id":89933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883c"} 
[2026-06-02 17:40:41] local.INFO: Extracted packet for processing {"connection_id":89933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883c"} 
[2026-06-02 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119527696,"longitude_deg":75.6654592,"latitude_deg":11.9527696,"altitude":52,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d19a200","hex_latitude":"071fd910","is_valid_coordinates":true} 
[2026-06-02 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782941440001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125417163916836864,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827774414848,"note":"Value kept but may cause issues"} 
[2026-06-02 17:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780402136000,"timestamp_ms":1780402136000,"timestamp_seconds":1780402136,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ca3c0"} 
[2026-06-02 17:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 17:40:41] 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-06-02 17:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:40:41] 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-06-02 17:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782941440001,"66":12385,"101":206,"83":41984,"24":0,"16":125417163916836864,"45":1847038827774414848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782941440001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:40:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125417163916836864,"km_value":125417163916836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827774414848,"description":"Unknown IO ID 45"} 
[2026-06-02 17:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782941440001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847038827774414848}} 
[2026-06-02 17:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":89933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:40:41] local.INFO: GPS data processed {"connection_id":89933,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:40:41] local.INFO: Acknowledgment sent {"connection_id":89933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:41:00] local.INFO: TCP Data received {"connection_id":91112,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:41:00] local.INFO: Processing buffer {"connection_id":91112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:41:00] local.INFO: Packet analysis {"connection_id":91112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:41:00] local.INFO: Extracted packet for processing {"connection_id":91112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:41:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:41: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-06-02 17:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:41:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":91112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:41:00] local.INFO: GPS data processed {"connection_id":91112,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:41:00] local.INFO: Acknowledgment sent {"connection_id":91112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:41:03] local.INFO: TCP Data received {"connection_id":90014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:03] local.INFO: Processing buffer {"connection_id":90014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:03] local.INFO: IMEI packet received {"connection_id":90014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":90014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:41:04] local.INFO: TCP Data received {"connection_id":90014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:04] local.INFO: Processing buffer {"connection_id":90014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:04] local.INFO: IMEI packet received {"connection_id":90014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":90014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:41:05] local.INFO: TCP Data received {"connection_id":90014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:05] local.INFO: Processing buffer {"connection_id":90014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:05] local.INFO: IMEI packet received {"connection_id":90014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":90014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:41:05] local.INFO: TCP Data received {"connection_id":90014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:05] local.INFO: Processing buffer {"connection_id":90014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:41:05] local.INFO: IMEI packet received {"connection_id":90014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":90014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:41:23] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:41:23] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:41:23] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:41:28] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:41:28] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:41:28] local.INFO: IMEI packet received {"connection_id":89656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:41:29] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:41:29] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:41:29] local.INFO: Packet analysis {"connection_id":89656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:41:29] local.INFO: Extracted packet for processing {"connection_id":89656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 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-06-02 17:41: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-06-02 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:41: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-06-02 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-06-02 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-06-02 17:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:41:29] 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-06-02 17:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:41:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":89656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:41:29] local.INFO: GPS data processed {"connection_id":89656,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:41:29] local.INFO: Acknowledgment sent {"connection_id":89656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:42:00] local.INFO: TCP Data received {"connection_id":89656,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:42:00] local.INFO: Processing buffer {"connection_id":89656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:42:00] local.INFO: Packet analysis {"connection_id":89656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:42:00] local.INFO: Extracted packet for processing {"connection_id":89656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:42:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:42:00] 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-06-02 17:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:42:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":89656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:42:00] local.INFO: GPS data processed {"connection_id":89656,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:42:00] local.INFO: Acknowledgment sent {"connection_id":89656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:42:23] local.INFO: TCP Data received {"connection_id":90016,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:42:23] local.INFO: Processing buffer {"connection_id":90016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:42:23] local.INFO: IMEI packet received {"connection_id":90016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":90016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:42:28] local.INFO: TCP Data received {"connection_id":90016,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:42:28] local.INFO: Processing buffer {"connection_id":90016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:42:28] local.INFO: IMEI packet received {"connection_id":90016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":90016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:42:29] local.INFO: TCP Data received {"connection_id":90016,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:42:29] local.INFO: Processing buffer {"connection_id":90016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:42:29] local.INFO: Packet analysis {"connection_id":90016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:42:29] local.INFO: Extracted packet for processing {"connection_id":90016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 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-06-02 17:42: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-06-02 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:42: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-06-02 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-06-02 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-06-02 17:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:42:29] 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-06-02 17:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:42:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":90016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:42:29] local.INFO: GPS data processed {"connection_id":90016,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:42:29] local.INFO: Acknowledgment sent {"connection_id":90016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:43:03] local.INFO: TCP Data received {"connection_id":90016,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:43:03] local.INFO: Processing buffer {"connection_id":90016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:43:03] local.INFO: Packet analysis {"connection_id":90016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:43:03] local.INFO: Extracted packet for processing {"connection_id":90016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:43:03] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:43:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":90016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:43:03] local.INFO: GPS data processed {"connection_id":90016,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:43:03] local.INFO: Acknowledgment sent {"connection_id":90016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:43:23] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:43:23] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:43:23] local.INFO: IMEI packet received {"connection_id":89936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":89936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:43:28] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:43:28] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:43:28] local.INFO: IMEI packet received {"connection_id":89936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":89936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:43:29] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:43:29] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e883ba5d8012cb29ac007823b00004900d927..."} 
[2026-06-02 17:43:29] local.INFO: Packet analysis {"connection_id":89936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:43:29] local.INFO: Extracted packet for processing {"connection_id":89936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e883b"} 
[2026-06-02 17:43:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782853120001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:43:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402071000,"timestamp_ms":1780402071000,"timestamp_seconds":1780402071,"priority":1,"record_length":96,"hex_timestamp":"0000019e883ba5d8"} 
[2026-06-02 17:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:43: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-06-02 17:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:43: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-06-02 17:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:43: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-06-02 17:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782853120001,"66":25702,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782853120001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:43:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782853120001,"power":25702,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":89936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:43:29] local.INFO: GPS data processed {"connection_id":89936,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:43:29] local.INFO: Acknowledgment sent {"connection_id":89936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:44:00] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:00] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:00] local.INFO: Packet analysis {"connection_id":89936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:44:00] local.INFO: Extracted packet for processing {"connection_id":89936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:44:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:44: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-06-02 17:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:44:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":89936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:44:00] local.INFO: GPS data processed {"connection_id":89936,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:44:00] local.INFO: Acknowledgment sent {"connection_id":89936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:44:28] local.INFO: TCP Data received {"connection_id":91117,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:44:28] local.INFO: Processing buffer {"connection_id":91117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:44:28] local.INFO: IMEI packet received {"connection_id":91117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":91117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:44:33] local.INFO: TCP Data received {"connection_id":91117,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:44:33] local.INFO: Processing buffer {"connection_id":91117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:44:33] local.INFO: IMEI packet received {"connection_id":91117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":91117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:44:34] local.INFO: TCP Data received {"connection_id":91117,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:34] local.INFO: Processing buffer {"connection_id":91117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:34] local.INFO: Packet analysis {"connection_id":91117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:44:34] local.INFO: Extracted packet for processing {"connection_id":91117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:44:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":91117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:44:34] local.INFO: GPS data processed {"connection_id":91117,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:44:34] local.INFO: Acknowledgment sent {"connection_id":91117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:44:38] local.INFO: TCP Data received {"connection_id":91117,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:38] local.INFO: Processing buffer {"connection_id":91117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:44:38] local.INFO: Packet analysis {"connection_id":91117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:44:38] local.INFO: Extracted packet for processing {"connection_id":91117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:44:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:44:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":91117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:44:39] local.INFO: GPS data processed {"connection_id":91117,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:44:39] local.INFO: Acknowledgment sent {"connection_id":91117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:44:43] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:44:43] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:44:43] local.INFO: IMEI packet received {"connection_id":89659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":89659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:44:44] local.INFO: TCP Data received {"connection_id":89659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88410ca8012d823ac005da25b0000700aa2f..."} 
[2026-06-02 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88410ca8012d823ac005da25b0000700aa2f..."} 
[2026-06-02 17:44:44] local.INFO: Processing buffer {"connection_id":89659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88410ca8012d823ac005da25b0000700aa2f..."} 
[2026-06-02 17:44:44] local.INFO: Packet analysis {"connection_id":89659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:44:44] local.INFO: Extracted packet for processing {"connection_id":89659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763509440,"raw_latitude":98182576,"longitude_deg":76.350944,"latitude_deg":9.8182576,"altitude":7,"angle":170,"satellites":47,"speed":29,"hex_longitude":"2d823ac0","hex_latitude":"05da25b0","is_valid_coordinates":true} 
[2026-06-02 17:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783017216001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87962300316647424,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064127543643693056,"note":"Value kept but may cause issues"} 
[2026-06-02 17:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780402425000,"timestamp_ms":1780402425000,"timestamp_seconds":1780402425,"priority":1,"record_length":96,"hex_timestamp":"0000019e88410ca8"} 
[2026-06-02 17:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 17:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783017216001,"66":13059,"71":206,"85":15104,"24":29,"16":87962300316647424,"45":-9064127543643693056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-02 17:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783017216001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:44:44] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 17:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87962300316647424,"km_value":87962300316647.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064127543643693056,"description":"Unknown IO ID 45"} 
[2026-06-02 17:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783017216001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9064127543643693056}} 
[2026-06-02 17:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":89659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:44:44] local.INFO: GPS data processed {"connection_id":89659,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:44:44] local.INFO: Acknowledgment sent {"connection_id":89659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:45:18] local.INFO: TCP Data received {"connection_id":90018,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:45:18] local.INFO: Processing buffer {"connection_id":90018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:45:18] local.INFO: IMEI packet received {"connection_id":90018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":90018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:45:23] local.INFO: TCP Data received {"connection_id":91118,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:45:23] local.INFO: Processing buffer {"connection_id":91118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:45:23] local.INFO: IMEI packet received {"connection_id":91118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":91118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:45:23] local.INFO: TCP Data received {"connection_id":91119,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:45:23] local.INFO: Processing buffer {"connection_id":91119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:45:23] local.INFO: IMEI packet received {"connection_id":91119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":91119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:45:28] local.INFO: TCP Data received {"connection_id":91118,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:45:28] local.INFO: Processing buffer {"connection_id":91118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:45:28] local.INFO: IMEI packet received {"connection_id":91118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":91118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:45:28] local.INFO: TCP Data received {"connection_id":91119,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:45:28] local.INFO: Processing buffer {"connection_id":91119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:45:28] local.INFO: IMEI packet received {"connection_id":91119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":91119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:45:29] local.INFO: TCP Data received {"connection_id":91118,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:45:29] local.INFO: Processing buffer {"connection_id":91118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:45:29] local.INFO: Packet analysis {"connection_id":91118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:45:29] local.INFO: Extracted packet for processing {"connection_id":91118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:45: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-06-02 17:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:45: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-06-02 17:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:45: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-06-02 17:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":91118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:45:29] local.INFO: GPS data processed {"connection_id":91118,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:45:29] local.INFO: Acknowledgment sent {"connection_id":91118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:45:29] local.INFO: TCP Data received {"connection_id":91119,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e884137a0012d8240c005da0280000800ac2d..."} 
[2026-06-02 17:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884137a0012d8240c005da0280000800ac2d..."} 
[2026-06-02 17:45:29] local.INFO: Processing buffer {"connection_id":91119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884137a0012d8240c005da0280000800ac2d..."} 
[2026-06-02 17:45:29] local.INFO: Packet analysis {"connection_id":91119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:45:29] local.INFO: Extracted packet for processing {"connection_id":91119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763510976,"raw_latitude":98173568,"longitude_deg":76.3510976,"latitude_deg":9.8173568,"altitude":8,"angle":172,"satellites":45,"speed":34,"hex_longitude":"2d8240c0","hex_latitude":"05da0280","is_valid_coordinates":true} 
[2026-06-02 17:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783020800001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87962742698278912,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062720168762429440,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402436000,"timestamp_ms":1780402436000,"timestamp_seconds":1780402436,"priority":1,"record_length":96,"hex_timestamp":"0000019e884137a0"} 
[2026-06-02 17:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:45: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-06-02 17:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359847,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58077557095399434,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2285923456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2349858823,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2147867278,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":458881,"corrected_to":0} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252839,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2147614720,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666823168,"note":"Value kept but may cause issues"} 
[2026-06-02 17:45:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,71,85,24,241,157,16,129,158,213,45,192,72,8,10,66,128,178,64,101,7,46,131,1,240,106,227,136,218,4,113,205,15,112,29,200,239,50,2,56,5],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0},{"io_id":200,"original":458881,"validated":0}]} 
[2026-06-02 17:45:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504590277107580928,"timestamp_seconds":504590277107580.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783020800001,"66":13059,"71":206,"85":15104,"24":34,"16":87962742698278912,"45":-9062720168762429440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-02 17:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783020800001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87962742698278912,"km_value":87962742698278.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062720168762429440,"description":"Unknown IO ID 45"} 
[2026-06-02 17:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783020800001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9062720168762429440}} 
[2026-06-02 17:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":91119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:45:29] local.INFO: GPS data processed {"connection_id":91119,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:45:29] local.INFO: Acknowledgment sent {"connection_id":91119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:45:57] local.INFO: TCP Data received {"connection_id":89660,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:45:57] local.INFO: Processing buffer {"connection_id":89660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:45:57] local.INFO: IMEI packet received {"connection_id":89660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":89660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:46:00] local.INFO: TCP Data received {"connection_id":91118,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:46:00] local.INFO: Processing buffer {"connection_id":91118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:46:00] local.INFO: Packet analysis {"connection_id":91118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:46:00] local.INFO: Extracted packet for processing {"connection_id":91118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:46:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:46: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-06-02 17:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":91118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:46:00] local.INFO: GPS data processed {"connection_id":91118,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:46:00] local.INFO: Acknowledgment sent {"connection_id":91118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:46:00] local.INFO: TCP Data received {"connection_id":91119,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88416298012d82468005d9e030000b00a72d..."} 
[2026-06-02 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88416298012d82468005d9e030000b00a72d..."} 
[2026-06-02 17:46:00] local.INFO: Processing buffer {"connection_id":91119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88416298012d82468005d9e030000b00a72d..."} 
[2026-06-02 17:46:00] local.INFO: Packet analysis {"connection_id":91119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:46:00] local.INFO: Extracted packet for processing {"connection_id":91119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763512448,"raw_latitude":98164784,"longitude_deg":76.3512448,"latitude_deg":9.8164784,"altitude":11,"angle":167,"satellites":45,"speed":17,"hex_longitude":"2d824680","hex_latitude":"05d9e030","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783023616001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87963176489975808,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061031318904471552,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402447000,"timestamp_ms":1780402447000,"timestamp_seconds":1780402447,"priority":1,"record_length":96,"hex_timestamp":"0000019e88416298"} 
[2026-06-02 17:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762599,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2285924456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183217157,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2289041415,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2148270080,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666790400,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,71,85,24,241,157,16,129,158,12,45,192,37,7,47,10,66,213,72,8,128,178,64,1,240,41,227,136,218,4,113,205,22,124,32,44,239,51,2,56,5,9],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-06-02 17:46:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576650061579157504,"timestamp_seconds":576650061579157.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783023616001,"66":12765,"71":206,"85":15104,"24":17,"16":87963176489975808,"45":-9061031318904471552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-02 17:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783023616001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87963176489975808,"km_value":87963176489975.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061031318904471552,"description":"Unknown IO ID 45"} 
[2026-06-02 17:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783023616001,"power":12765,"unknown_71":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9061031318904471552}} 
[2026-06-02 17:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":91119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:46:00] local.INFO: GPS data processed {"connection_id":91119,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:46:00] local.INFO: Acknowledgment sent {"connection_id":91119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:46:10] local.INFO: TCP Data received {"connection_id":90019,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:10] local.INFO: Processing buffer {"connection_id":90019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:10] local.INFO: IMEI packet received {"connection_id":90019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":90019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:46:10] local.INFO: TCP Data received {"connection_id":90019,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:10] local.INFO: Processing buffer {"connection_id":90019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:10] local.INFO: IMEI packet received {"connection_id":90019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":90019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:46:15] local.INFO: TCP Data received {"connection_id":90019,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:15] local.INFO: Processing buffer {"connection_id":90019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:46:15] local.INFO: IMEI packet received {"connection_id":90019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":90019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:46:16] local.INFO: TCP Data received {"connection_id":90019,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8841bc70012d1a3cc0071f8b90002f00872f..."} 
[2026-06-02 17:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8841bc70012d1a3cc0071f8b90002f00872f..."} 
[2026-06-02 17:46:16] local.INFO: Processing buffer {"connection_id":90019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8841bc70012d1a3cc0071f8b90002f00872f..."} 
[2026-06-02 17:46:16] local.INFO: Packet analysis {"connection_id":90019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:46:16] local.INFO: Extracted packet for processing {"connection_id":90019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119507856,"longitude_deg":75.6694208,"latitude_deg":11.9507856,"altitude":47,"angle":135,"satellites":47,"speed":2,"hex_longitude":"2d1a3cc0","hex_latitude":"071f8b90","is_valid_coordinates":true} 
[2026-06-02 17:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783031808001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125419981415383040,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890385974182797312,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46: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-06-02 17:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780402470000,"timestamp_ms":1780402470000,"timestamp_seconds":1780402470,"priority":1,"record_length":96,"hex_timestamp":"0000019e8841bc70"} 
[2026-06-02 17:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-02 17:46:16] 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-06-02 17:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:46:16] 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-06-02 17:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783031808001,"66":12722,"101":206,"83":41984,"24":2,"16":125419981415383040,"45":1890385974182797312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783031808001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:46:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125419981415383040,"km_value":125419981415383.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890385974182797312,"description":"Unknown IO ID 45"} 
[2026-06-02 17:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783031808001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1890385974182797312}} 
[2026-06-02 17:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":90019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:46:16] local.INFO: GPS data processed {"connection_id":90019,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:46:16] local.INFO: Acknowledgment sent {"connection_id":90019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:46:21] local.INFO: TCP Data received {"connection_id":90019,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019e8841cc10012d1a3d80071f8a90002e00992f..."} 
[2026-06-02 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90019,"packet_length":93,"packet_hex":"00000000000000518e010000019e8841cc10012d1a3d80071f8a90002e00992f..."} 
[2026-06-02 17:46:21] local.INFO: Processing buffer {"connection_id":90019,"buffer_length":93,"buffer_hex":"00000000000000518e010000019e8841cc10012d1a3d80071f8a90002e00992f..."} 
[2026-06-02 17:46:21] local.INFO: Packet analysis {"connection_id":90019,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019e8841"} 
[2026-06-02 17:46:21] local.INFO: Extracted packet for processing {"connection_id":90019,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019e8841"} 
[2026-06-02 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756694400,"raw_latitude":119507600,"longitude_deg":75.66944,"latitude_deg":11.95076,"altitude":46,"angle":153,"satellites":47,"speed":2,"hex_longitude":"2d1a3d80","hex_latitude":"071f8a90","is_valid_coordinates":true} 
[2026-06-02 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":93,"current_offset":40} 
[2026-06-02 17:46:21] 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-06-02 17:46:21] 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-06-02 17:46:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:46:21] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-02 17:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":90019,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-02 17:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":90019,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 17:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":90019,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-02 17:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-02 17:46:21] local.WARNING: DEBUG: No valid data to process  
[2026-06-02 17:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":90019,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-02 17:46:21] local.ERROR: GPS data processing failed {"connection_id":90019,"error":"No valid data to process"} 
[2026-06-02 17:46:21] local.INFO: Acknowledgment sent {"connection_id":90019,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-02 17:46:23] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:46:23] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:46:23] local.INFO: IMEI packet received {"connection_id":89939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":89939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:46:23] local.INFO: TCP Data received {"connection_id":89661,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:46:23] local.INFO: Processing buffer {"connection_id":89661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:46:23] local.INFO: IMEI packet received {"connection_id":89661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":89661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:46:28] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:46:28] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:46:28] local.INFO: IMEI packet received {"connection_id":89939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:46:28] local.INFO: TCP Data received {"connection_id":89661,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:46:28] local.INFO: Processing buffer {"connection_id":89661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:46:28] local.INFO: IMEI packet received {"connection_id":89661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:46:29] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:46:29] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:46:29] local.INFO: Packet analysis {"connection_id":89939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:46:29] local.INFO: Extracted packet for processing {"connection_id":89939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:46: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-06-02 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:46: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-06-02 17:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":89939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:46:29] local.INFO: GPS data processed {"connection_id":89939,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:46:29] local.INFO: Acknowledgment sent {"connection_id":89939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:46:29] local.INFO: TCP Data received {"connection_id":89661,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88432ba0012d82870005d8af80000a00b42b..."} 
[2026-06-02 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88432ba0012d82870005d8af80000a00b42b..."} 
[2026-06-02 17:46:29] local.INFO: Processing buffer {"connection_id":89661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88432ba0012d82870005d8af80000a00b42b..."} 
[2026-06-02 17:46:29] local.INFO: Packet analysis {"connection_id":89661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:46:29] local.INFO: Extracted packet for processing {"connection_id":89661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":98086784,"longitude_deg":76.352896,"latitude_deg":9.8086784,"altitude":10,"angle":180,"satellites":43,"speed":32,"hex_longitude":"2d828700","hex_latitude":"05d8af80","is_valid_coordinates":true} 
[2026-06-02 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783053824001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87967072025313280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651763877888,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402564000,"timestamp_ms":1780402564000,"timestamp_seconds":1780402564,"priority":1,"record_length":96,"hex_timestamp":"0000019e88432ba0"} 
[2026-06-02 17:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311975,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":69,"raw_value":58077557095399468,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286039456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189131781,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3355520386,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":917662,"corrected_to":0} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505959,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2212233216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3647453184,"note":"Value kept but may cause issues"} 
[2026-06-02 17:46:29] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,69,85,24,241,157,16,133,158,217,45,128,249,12,41,10,66,132,194,64,3,42,159,1,240,97,227,136,4,113,205,40,84,110,200,39,239,50,2,56,5,15,44],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0},{"io_id":200,"original":917662,"validated":0}]} 
[2026-06-02 17:46:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792827220265140224,"timestamp_seconds":792827220265140.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783053824001,"66":12874,"49":206,"85":15104,"24":32,"16":87967072025313280,"45":-9041820651763877888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-02 17:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783053824001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87967072025313280,"km_value":87967072025313.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651763877888,"description":"Unknown IO ID 45"} 
[2026-06-02 17:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783053824001,"power":12874,"unknown_49":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9041820651763877888}} 
[2026-06-02 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":89661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:46:29] local.INFO: GPS data processed {"connection_id":89661,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:46:29] local.INFO: Acknowledgment sent {"connection_id":89661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:47:00] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:47:00] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:47:00] local.INFO: Packet analysis {"connection_id":89939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:47:00] local.INFO: Extracted packet for processing {"connection_id":89939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":89939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:47:00] local.INFO: GPS data processed {"connection_id":89939,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:47:00] local.INFO: Acknowledgment sent {"connection_id":89939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:47:00] local.INFO: TCP Data received {"connection_id":89661,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88435a80012d8286c005d89068000900a92b..."} 
[2026-06-02 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88435a80012d8286c005d89068000900a92b..."} 
[2026-06-02 17:47:00] local.INFO: Processing buffer {"connection_id":89661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88435a80012d8286c005d89068000900a92b..."} 
[2026-06-02 17:47:00] local.INFO: Packet analysis {"connection_id":89661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:47:00] local.INFO: Extracted packet for processing {"connection_id":89661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98078824,"longitude_deg":76.3528896,"latitude_deg":9.8078824,"altitude":9,"angle":169,"satellites":43,"speed":27,"hex_longitude":"2d8286c0","hex_latitude":"05d89068","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783056384001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87967462867337216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041257701812764672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402576000,"timestamp_ms":1780402576000,"timestamp_seconds":1780402576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88435a80"} 
[2026-06-02 17:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 17:47:00] 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-06-02 17: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-06-02 17:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783056384001,"66":13135,"49":206,"85":15104,"24":27,"16":87967462867337216,"45":-9041257701812764672},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-02 17:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783056384001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87967462867337216,"km_value":87967462867337.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041257701812764672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783056384001,"power":13135,"unknown_49":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9041257701812764672}} 
[2026-06-02 17:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":89661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:47:00] local.INFO: GPS data processed {"connection_id":89661,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:47:00] local.INFO: Acknowledgment sent {"connection_id":89661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:47:05] local.INFO: TCP Data received {"connection_id":90020,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:47:05] local.INFO: Processing buffer {"connection_id":90020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:47:05] local.INFO: IMEI packet received {"connection_id":90020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":90020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:47:10] local.INFO: TCP Data received {"connection_id":90020,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:47:10] local.INFO: Processing buffer {"connection_id":90020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:47:10] local.INFO: IMEI packet received {"connection_id":90020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":90020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:47:10] local.INFO: TCP Data received {"connection_id":90020,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8841d7c8012d1a3dc0071f8938002e00ad2e..."} 
[2026-06-02 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8841d7c8012d1a3dc0071f8938002e00ad2e..."} 
[2026-06-02 17:47:10] local.INFO: Processing buffer {"connection_id":90020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8841d7c8012d1a3dc0071f8938002e00ad2e..."} 
[2026-06-02 17:47:10] local.INFO: Packet analysis {"connection_id":90020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:47:10] local.INFO: Extracted packet for processing {"connection_id":90020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756694464,"raw_latitude":119507256,"longitude_deg":75.6694464,"latitude_deg":11.9507256,"altitude":46,"angle":173,"satellites":46,"speed":3,"hex_longitude":"2d1a3dc0","hex_latitude":"071f8938","is_valid_coordinates":true} 
[2026-06-02 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783033344001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420015775121408,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890808186647777280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402477000,"timestamp_ms":1780402477000,"timestamp_seconds":1780402477,"priority":1,"record_length":96,"hex_timestamp":"0000019e8841d7c8"} 
[2026-06-02 17:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-02 17:47:10] 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-06-02 17:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:47:10] 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-06-02 17:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783033344001,"66":11798,"101":206,"83":41984,"24":3,"16":125420015775121408,"45":1890808186647777280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783033344001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:47:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420015775121408,"km_value":125420015775121.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890808186647777280,"description":"Unknown IO ID 45"} 
[2026-06-02 17:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783033344001,"power":11798,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1890808186647777280}} 
[2026-06-02 17:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":90020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:47:10] local.INFO: GPS data processed {"connection_id":90020,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:47:10] local.INFO: Acknowledgment sent {"connection_id":90020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:47:23] local.INFO: TCP Data received {"connection_id":91120,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:47:23] local.INFO: Processing buffer {"connection_id":91120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:47:23] local.INFO: IMEI packet received {"connection_id":91120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":91120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:47:23] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:47:23] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:47:23] local.INFO: IMEI packet received {"connection_id":89663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":89663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:47:28] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:47:28] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:47:28] local.INFO: IMEI packet received {"connection_id":89663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":89663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:47:28] local.INFO: TCP Data received {"connection_id":91120,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:47:28] local.INFO: Processing buffer {"connection_id":91120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:47:28] local.INFO: IMEI packet received {"connection_id":91120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":91120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:47:29] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:47:29] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:47:29] local.INFO: Packet analysis {"connection_id":89663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:47:29] local.INFO: Extracted packet for processing {"connection_id":89663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:47: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-06-02 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:47: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-06-02 17:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:47:29] 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-06-02 17:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":89663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:47:29] local.INFO: GPS data processed {"connection_id":89663,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:47:29] local.INFO: Acknowledgment sent {"connection_id":89663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:47:29] local.INFO: TCP Data received {"connection_id":91120,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88436638012d8289c005d888b00009009a2c..."} 
[2026-06-02 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88436638012d8289c005d888b00009009a2c..."} 
[2026-06-02 17:47:29] local.INFO: Processing buffer {"connection_id":91120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88436638012d8289c005d888b00009009a2c..."} 
[2026-06-02 17:47:29] local.INFO: Packet analysis {"connection_id":91120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:47:29] local.INFO: Extracted packet for processing {"connection_id":91120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763529664,"raw_latitude":98076848,"longitude_deg":76.3529664,"latitude_deg":9.8076848,"altitude":9,"angle":154,"satellites":44,"speed":23,"hex_longitude":"2d8289c0","hex_latitude":"05d888b0","is_valid_coordinates":true} 
[2026-06-02 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783059456001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87967561651585024,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041328070558980096,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402579000,"timestamp_ms":1780402579000,"timestamp_seconds":1780402579,"priority":1,"record_length":96,"hex_timestamp":"0000019e88436638"} 
[2026-06-02 17:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 17:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783059456001,"66":12374,"49":206,"85":15104,"24":23,"16":87967561651585024,"45":-9041328070558980096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-02 17:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783059456001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87967561651585024,"km_value":87967561651585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041328070558980096,"description":"Unknown IO ID 45"} 
[2026-06-02 17:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783059456001,"power":12374,"unknown_49":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9041328070558980096}} 
[2026-06-02 17:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":91120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:47:29] local.INFO: GPS data processed {"connection_id":91120,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:47:29] local.INFO: Acknowledgment sent {"connection_id":91120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:47:41] local.INFO: TCP Data received {"connection_id":90020,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8841e380012d1a3dc0071f8808002e00bd2e..."} 
[2026-06-02 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8841e380012d1a3dc0071f8808002e00bd2e..."} 
[2026-06-02 17:47:41] local.INFO: Processing buffer {"connection_id":90020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8841e380012d1a3dc0071f8808002e00bd2e..."} 
[2026-06-02 17:47:41] local.INFO: Packet analysis {"connection_id":90020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:47:41] local.INFO: Extracted packet for processing {"connection_id":90020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756694464,"raw_latitude":119506952,"longitude_deg":75.6694464,"latitude_deg":11.9506952,"altitude":46,"angle":189,"satellites":46,"speed":3,"hex_longitude":"2d1a3dc0","hex_latitude":"071f8808","is_valid_coordinates":true} 
[2026-06-02 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783034112001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420032954990592,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555391866880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780402480000,"timestamp_ms":1780402480000,"timestamp_seconds":1780402480,"priority":1,"record_length":96,"hex_timestamp":"0000019e8841e380"} 
[2026-06-02 17:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2285975456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184261845197,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-7334111744057398272,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846936304,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":8,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-7741406284473171968,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408240130,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-4609680949586675456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3242599428288154112,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":82,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.WARNING: Large IO value detected {"io_id":65,"raw_value":1193455194476871687,"note":"Value kept but may cause issues"} 
[2026-06-02 17:47:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,148,158,204,45,128,138,46,47,10,66,188,192,139,180,1,240,201,227,136,31,4,113,205,8,71,44,239,56,2,189,85,206,36,131,82,65],"length":632,"final_offset":762,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 17:47:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839738824982528,"timestamp_seconds":3314839738824982.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:47:41] 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-06-02 17:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783034112001,"66":12841,"101":206,"83":41984,"24":3,"16":125420032954990592,"45":1890878555391866880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783034112001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:47:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420032954990592,"km_value":125420032954990.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555391866880,"description":"Unknown IO ID 45"} 
[2026-06-02 17:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783034112001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1890878555391866880}} 
[2026-06-02 17:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":90020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:47:41] local.INFO: GPS data processed {"connection_id":90020,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:47:41] local.INFO: Acknowledgment sent {"connection_id":90020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:48:00] local.INFO: TCP Data received {"connection_id":89663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:48:00] local.INFO: Processing buffer {"connection_id":89663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:48:00] local.INFO: Packet analysis {"connection_id":89663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:48:00] local.INFO: Extracted packet for processing {"connection_id":89663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:48:00] 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-06-02 17:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":89663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:48:00] local.INFO: GPS data processed {"connection_id":89663,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:48:00] local.INFO: Acknowledgment sent {"connection_id":89663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:48:00] local.INFO: TCP Data received {"connection_id":91120,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88439130012d82980005d868c0000a00a22b..."} 
[2026-06-02 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88439130012d82980005d868c0000a00a22b..."} 
[2026-06-02 17:48:00] local.INFO: Processing buffer {"connection_id":91120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88439130012d82980005d868c0000a00a22b..."} 
[2026-06-02 17:48:00] local.INFO: Packet analysis {"connection_id":91120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:48:00] local.INFO: Extracted packet for processing {"connection_id":91120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":98068672,"longitude_deg":76.3533312,"latitude_deg":9.8068672,"altitude":10,"angle":162,"satellites":43,"speed":39,"hex_longitude":"2d829800","hex_latitude":"05d868c0","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783060224001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87967999738249216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040483645629353984,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402590000,"timestamp_ms":1780402590000,"timestamp_seconds":1780402590,"priority":1,"record_length":96,"hex_timestamp":"0000019e88439130"} 
[2026-06-02 17:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 17:48:00] 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-06-02 17: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-06-02 17:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783060224001,"66":12863,"49":206,"85":15104,"24":39,"16":87967999738249216,"45":-9040483645629353984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-02 17:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783060224001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87967999738249216,"km_value":87967999738249.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040483645629353984,"description":"Unknown IO ID 45"} 
[2026-06-02 17:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783060224001,"power":12863,"unknown_49":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9040483645629353984}} 
[2026-06-02 17:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":91120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:48:00] local.INFO: GPS data processed {"connection_id":91120,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:48:00] local.INFO: Acknowledgment sent {"connection_id":91120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:48:05] local.INFO: TCP Data received {"connection_id":90021,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:48:05] local.INFO: Processing buffer {"connection_id":90021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:48:05] local.INFO: IMEI packet received {"connection_id":90021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":90021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:48:10] local.INFO: TCP Data received {"connection_id":90021,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:48:10] local.INFO: Processing buffer {"connection_id":90021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:48:10] local.INFO: IMEI packet received {"connection_id":90021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":90021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:48:10] local.INFO: TCP Data received {"connection_id":90021,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8841e768012d1a3d80071f8790002e00d02e..."} 
[2026-06-02 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8841e768012d1a3d80071f8790002e00d02e..."} 
[2026-06-02 17:48:10] local.INFO: Processing buffer {"connection_id":90021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8841e768012d1a3d80071f8790002e00d02e..."} 
[2026-06-02 17:48:10] local.INFO: Packet analysis {"connection_id":90021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:48:10] local.INFO: Extracted packet for processing {"connection_id":90021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8841"} 
[2026-06-02 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756694400,"raw_latitude":119506832,"longitude_deg":75.66944,"latitude_deg":11.9506832,"altitude":46,"angle":208,"satellites":46,"speed":5,"hex_longitude":"2d1a3d80","hex_latitude":"071f8790","is_valid_coordinates":true} 
[2026-06-02 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783034880001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420037249957888,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555391789056,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402481000,"timestamp_ms":1780402481000,"timestamp_seconds":1780402481,"priority":1,"record_length":96,"hex_timestamp":"0000019e8841e768"} 
[2026-06-02 17:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:48: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-06-02 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 17:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:48:10] 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-06-02 17:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783034880001,"66":12841,"101":206,"83":41984,"24":5,"16":125420037249957888,"45":1890878555391789056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783034880001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:48:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420037249957888,"km_value":125420037249957.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555391789056,"description":"Unknown IO ID 45"} 
[2026-06-02 17:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783034880001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1890878555391789056}} 
[2026-06-02 17:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":90021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:48:10] local.INFO: GPS data processed {"connection_id":90021,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:48:10] local.INFO: Acknowledgment sent {"connection_id":90021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:48:23] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:48:23] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:48:23] local.INFO: IMEI packet received {"connection_id":89940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":89940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:48:23] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:23] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:23] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:48:24] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:24] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:24] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:48:28] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:48:28] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:48:28] local.INFO: IMEI packet received {"connection_id":89940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":89940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:48:28] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:28] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:48:28] local.INFO: IMEI packet received {"connection_id":89665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":89665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:48:29] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:48:29] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88403da0012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:48:29] local.INFO: Packet analysis {"connection_id":89940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:48:29] local.INFO: Extracted packet for processing {"connection_id":89940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8840"} 
[2026-06-02 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455782930176001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402372000,"timestamp_ms":1780402372000,"timestamp_seconds":1780402372,"priority":1,"record_length":96,"hex_timestamp":"0000019e88403da0"} 
[2026-06-02 17:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:48: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-06-02 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-02 17:48: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-06-02 17: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-06-02 17:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:48: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-06-02 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455782930176001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455782930176001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455782930176001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":89940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:48:29] local.INFO: GPS data processed {"connection_id":89940,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:48:29] local.INFO: Acknowledgment sent {"connection_id":89940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:48:29] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8843a8a0012d829c4005d853e8000a00ad2a..."} 
[2026-06-02 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8843a8a0012d829c4005d853e8000a00ad2a..."} 
[2026-06-02 17:48:29] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8843a8a0012d829c4005d853e8000a00ad2a..."} 
[2026-06-02 17:48:29] local.INFO: Packet analysis {"connection_id":89665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:48:29] local.INFO: Extracted packet for processing {"connection_id":89665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763534400,"raw_latitude":98063336,"longitude_deg":76.35344,"latitude_deg":9.8063336,"altitude":10,"angle":173,"satellites":42,"speed":32,"hex_longitude":"2d829c40","hex_latitude":"05d853e8","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783063040001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87968261731254272,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627213320192,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402596000,"timestamp_ms":1780402596000,"timestamp_seconds":1780402596,"priority":1,"record_length":96,"hex_timestamp":"0000019e8843a8a0"} 
[2026-06-02 17:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 17:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783063040001,"66":12613,"49":206,"85":15104,"24":32,"16":87968261731254272,"45":-9036472627213320192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-02 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783063040001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87968261731254272,"km_value":87968261731254.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627213320192,"description":"Unknown IO ID 45"} 
[2026-06-02 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783063040001,"power":12613,"unknown_49":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9036472627213320192}} 
[2026-06-02 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":89665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:48:29] local.INFO: GPS data processed {"connection_id":89665,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:48:29] local.INFO: Acknowledgment sent {"connection_id":89665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:48:42] local.INFO: TCP Data received {"connection_id":90021,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884448c8012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884448c8012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:48:42] local.INFO: Processing buffer {"connection_id":90021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884448c8012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:48:42] local.INFO: Packet analysis {"connection_id":90021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:48:42] local.INFO: Extracted packet for processing {"connection_id":90021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":40,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783069696001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780402637000,"timestamp_ms":1780402637000,"timestamp_seconds":1780402637,"priority":1,"record_length":96,"hex_timestamp":"0000019e884448c8"} 
[2026-06-02 17:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 17:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:48:42] 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-06-02 17:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783069696001,"66":12743,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783069696001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:48:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783069696001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":90021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:48:42] local.INFO: GPS data processed {"connection_id":90021,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:48:42] local.INFO: Acknowledgment sent {"connection_id":90021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:49:00] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:49:00] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:49:00] local.INFO: Packet analysis {"connection_id":89940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:00] local.INFO: Extracted packet for processing {"connection_id":89940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:49: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-06-02 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":89940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:49:00] local.INFO: GPS data processed {"connection_id":89940,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:49:00] local.INFO: Acknowledgment sent {"connection_id":89940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:49:00] local.INFO: TCP Data received {"connection_id":89665,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8843f6c0012d829e4005d845b8000a00aa28..."} 
[2026-06-02 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8843f6c0012d829e4005d845b8000a00aa28..."} 
[2026-06-02 17:49:00] local.INFO: Processing buffer {"connection_id":89665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8843f6c0012d829e4005d845b8000a00aa28..."} 
[2026-06-02 17:49:00] local.INFO: Packet analysis {"connection_id":89665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:49:00] local.INFO: Extracted packet for processing {"connection_id":89665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8843"} 
[2026-06-02 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98059704,"longitude_deg":76.3534912,"latitude_deg":9.8059704,"altitude":10,"angle":170,"satellites":40,"speed":0,"hex_longitude":"2d829e40","hex_latitude":"05d845b8","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783064576001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87968442119880704,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035276358563665920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:00] 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-06-02 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402616000,"timestamp_ms":1780402616000,"timestamp_seconds":1780402616,"priority":1,"record_length":96,"hex_timestamp":"0000019e8843f6c0"} 
[2026-06-02 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 17:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783064576001,"66":13091,"47":206,"85":15104,"24":0,"16":87968442119880704,"45":-9035276358563665920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-02 17:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783064576001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87968442119880704,"km_value":87968442119880.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035276358563665920,"description":"Unknown IO ID 45"} 
[2026-06-02 17:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783064576001,"power":13091,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9035276358563665920}} 
[2026-06-02 17:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":89665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:49:01] local.INFO: GPS data processed {"connection_id":89665,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:49:01] local.INFO: Acknowledgment sent {"connection_id":89665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:49:05] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:49:05] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:49:05] local.INFO: IMEI packet received {"connection_id":89941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":89941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:49:10] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:49:10] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:49:10] local.INFO: IMEI packet received {"connection_id":89941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":89941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:49:10] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88449ad0012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88449ad0012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:49:10] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88449ad0012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:49:10] local.INFO: Packet analysis {"connection_id":89941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:10] local.INFO: Extracted packet for processing {"connection_id":89941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783075072001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402658000,"timestamp_ms":1780402658000,"timestamp_seconds":1780402658,"priority":1,"record_length":96,"hex_timestamp":"0000019e88449ad0"} 
[2026-06-02 17:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 17:49:10] 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-06-02 17:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:49:10] 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-06-02 17:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783075072001,"66":12765,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783075072001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:49:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783075072001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":89941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:49:10] local.INFO: GPS data processed {"connection_id":89941,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:49:10] local.INFO: Acknowledgment sent {"connection_id":89941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:49:23] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:49:23] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:49:23] local.INFO: IMEI packet received {"connection_id":89666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":89666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:49:28] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:49:28] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:49:28] local.INFO: IMEI packet received {"connection_id":89666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:49:28] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:49:28] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:49:28] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:49:29] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:49:29] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:49:29] local.INFO: Packet analysis {"connection_id":89666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:29] local.INFO: Extracted packet for processing {"connection_id":89666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:49: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-06-02 17:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:49: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-06-02 17:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:49:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":89666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:49:29] local.INFO: GPS data processed {"connection_id":89666,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:49:29] local.INFO: Acknowledgment sent {"connection_id":89666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:49:31] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:49:31] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:49:31] local.INFO: IMEI packet received {"connection_id":89667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":89667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:49:32] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88443540012d829e0005d84460000a00be28..."} 
[2026-06-02 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88443540012d829e0005d84460000a00be28..."} 
[2026-06-02 17:49:32] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88443540012d829e0005d84460000a00be28..."} 
[2026-06-02 17:49:32] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:32] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":98059360,"longitude_deg":76.3534848,"latitude_deg":9.805936,"altitude":10,"angle":190,"satellites":40,"speed":4,"hex_longitude":"2d829e00","hex_latitude":"05d84460","is_valid_coordinates":true} 
[2026-06-02 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783069696001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87968459299749888,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408611174400,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:32] 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-06-02 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780402632000,"timestamp_ms":1780402632000,"timestamp_seconds":1780402632,"priority":1,"record_length":96,"hex_timestamp":"0000019e88443540"} 
[2026-06-02 17:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:49: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-06-02 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 17:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783069696001,"66":12961,"47":206,"85":15104,"24":4,"16":87968459299749888,"45":-9034713408611174400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-02 17:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783069696001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:49:32] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 17:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87968459299749888,"km_value":87968459299749.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408611174400,"description":"Unknown IO ID 45"} 
[2026-06-02 17:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783069696001,"power":12961,"unknown_47":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9034713408611174400}} 
[2026-06-02 17:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:49:32] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:49:32] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:49:33] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e884448c8012d829dc005d83dd8000a00b229..."} 
[2026-06-02 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884448c8012d829dc005d83dd8000a00b229..."} 
[2026-06-02 17:49:33] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884448c8012d829dc005d83dd8000a00b229..."} 
[2026-06-02 17:49:33] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:33] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98057688,"longitude_deg":76.3534784,"latitude_deg":9.8057688,"altitude":10,"angle":178,"satellites":41,"speed":22,"hex_longitude":"2d829dc0","hex_latitude":"05d83dd8","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783073792001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87968540904128512,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777355440128,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780402637000,"timestamp_ms":1780402637000,"timestamp_seconds":1780402637,"priority":1,"record_length":96,"hex_timestamp":"0000019e884448c8"} 
[2026-06-02 17:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17: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-06-02 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 17:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783073792001,"66":13276,"47":206,"85":15104,"24":22,"16":87968540904128512,"45":-9034783777355440128},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-02 17:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783073792001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:49:33] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-02 17:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87968540904128512,"km_value":87968540904128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777355440128,"description":"Unknown IO ID 45"} 
[2026-06-02 17:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783073792001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9034783777355440128}} 
[2026-06-02 17:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:49:33] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:49:33] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:49:41] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844ecd8012d1a3c40071f8290002e00f626..."} 
[2026-06-02 17:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844ecd8012d1a3c40071f8290002e00f626..."} 
[2026-06-02 17:49:41] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844ecd8012d1a3c40071f8290002e00f626..."} 
[2026-06-02 17:49:41] local.INFO: Packet analysis {"connection_id":89941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:41] local.INFO: Extracted packet for processing {"connection_id":89941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783080448001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780402679000,"timestamp_ms":1780402679000,"timestamp_seconds":1780402679,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844ecd8"} 
[2026-06-02 17:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 17:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:49:41] 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-06-02 17:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783080448001,"66":12765,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783080448001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:49:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783080448001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":89941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:49:41] local.INFO: GPS data processed {"connection_id":89941,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:49:41] local.INFO: Acknowledgment sent {"connection_id":89941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:50:00] local.INFO: TCP Data received {"connection_id":89666,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:00] local.INFO: Processing buffer {"connection_id":89666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:00] local.INFO: Packet analysis {"connection_id":89666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:50:00] local.INFO: Extracted packet for processing {"connection_id":89666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:50:00] 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-06-02 17:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:50:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":89666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:50:00] local.INFO: GPS data processed {"connection_id":89666,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:50:00] local.INFO: Acknowledgment sent {"connection_id":89666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:50:04] local.INFO: TCP Data received {"connection_id":89667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8846b1f8012d82bec005d692d8000a008e2d..."} 
[2026-06-02 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8846b1f8012d82bec005d692d8000a008e2d..."} 
[2026-06-02 17:50:04] local.INFO: Processing buffer {"connection_id":89667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8846b1f8012d82bec005d692d8000a008e2d..."} 
[2026-06-02 17:50:04] local.INFO: Packet analysis {"connection_id":89667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:50:04] local.INFO: Extracted packet for processing {"connection_id":89667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763543232,"raw_latitude":97948376,"longitude_deg":76.3543232,"latitude_deg":9.7948376,"altitude":10,"angle":142,"satellites":45,"speed":30,"hex_longitude":"2d82bec0","hex_latitude":"05d692d8","is_valid_coordinates":true} 
[2026-06-02 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783115008001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87973883843444736,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026480265570545664,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780402795000,"timestamp_ms":1780402795000,"timestamp_seconds":1780402795,"priority":1,"record_length":96,"hex_timestamp":"0000019e8846b1f8"} 
[2026-06-02 17:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:50: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-06-02 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286261456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192982021,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4991870756091767040,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795176142,"corrected_to":0} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3221608233,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366758,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2316173312,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2926196265513341654,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5332035843357880747,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,156,85,24,241,157,16,139,158,162,45,192,13,44,10,66,123,64,190,80,1,240,74,227,138,136,215,4,113,205,26,223,176,168,40,239,49,155,2,56,5,50,59,164],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2795176142,"validated":0}]} 
[2026-06-02 17:50:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864860642226405376,"timestamp_seconds":864860642226405.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783115008001,"66":12809,"156":206,"85":15104,"24":30,"16":87973883843444736,"45":-9026480265570545664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783115008001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:50:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87973883843444736,"km_value":87973883843444.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026480265570545664,"description":"Unknown IO ID 45"} 
[2026-06-02 17:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783115008001,"power":12809,"unknown_156":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9026480265570545664}} 
[2026-06-02 17:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":89667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:50:04] local.INFO: GPS data processed {"connection_id":89667,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:50:04] local.INFO: Acknowledgment sent {"connection_id":89667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:50:05] local.INFO: TCP Data received {"connection_id":90023,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:50:05] local.INFO: Processing buffer {"connection_id":90023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:50:05] local.INFO: IMEI packet received {"connection_id":90023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":90023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:50:10] local.INFO: TCP Data received {"connection_id":90023,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:50:10] local.INFO: Processing buffer {"connection_id":90023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:50:10] local.INFO: IMEI packet received {"connection_id":90023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":90023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:50:10] local.INFO: TCP Data received {"connection_id":90023,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88453ee0012d1a3c40071f8290002e00f626..."} 
[2026-06-02 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88453ee0012d1a3c40071f8290002e00f626..."} 
[2026-06-02 17:50:10] local.INFO: Processing buffer {"connection_id":90023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88453ee0012d1a3c40071f8290002e00f626..."} 
[2026-06-02 17:50:10] local.INFO: Packet analysis {"connection_id":90023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8845"} 
[2026-06-02 17:50:10] local.INFO: Extracted packet for processing {"connection_id":90023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8845"} 
[2026-06-02 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783085824001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402700000,"timestamp_ms":1780402700000,"timestamp_seconds":1780402700,"priority":1,"record_length":96,"hex_timestamp":"0000019e88453ee0"} 
[2026-06-02 17:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-02 17:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:50:10] 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-06-02 17:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783085824001,"66":12722,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783085824001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:50:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783085824001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":90023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:50:10] local.INFO: GPS data processed {"connection_id":90023,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:50:10] local.INFO: Acknowledgment sent {"connection_id":90023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:50:23] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:23] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:23] local.INFO: IMEI packet received {"connection_id":90024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":90024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:50:23] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:23] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:23] local.INFO: IMEI packet received {"connection_id":90024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":90024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:50:25] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:25] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:50:25] local.INFO: IMEI packet received {"connection_id":90024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":90024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:50:26] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8846b9c8012d82c30005d68eb8000900812e..."} 
[2026-06-02 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8846b9c8012d82c30005d68eb8000900812e..."} 
[2026-06-02 17:50:26] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8846b9c8012d82c30005d68eb8000900812e..."} 
[2026-06-02 17:50:26] local.INFO: Packet analysis {"connection_id":90024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:50:26] local.INFO: Extracted packet for processing {"connection_id":90024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763544320,"raw_latitude":97947320,"longitude_deg":76.354432,"latitude_deg":9.794732,"altitude":9,"angle":129,"satellites":46,"speed":28,"hex_longitude":"2d82c300","hex_latitude":"05d68eb8","is_valid_coordinates":true} 
[2026-06-02 17:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783115520001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87973956857888768,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025565471896578048,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780402797000,"timestamp_ms":1780402797000,"timestamp_seconds":1780402797,"priority":1,"record_length":96,"hex_timestamp":"0000019e8846b9c8"} 
[2026-06-02 17:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286280456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":136,"raw_value":5013860988647287744,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3816292366,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3489738114,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2322923520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2932494268134020568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156141461483947,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,85,24,241,157,16,139,158,170,45,128,152,12,44,10,66,162,192,13,123,64,1,240,227,136,214,4,113,205,26,17,182,239,51,155,2,56,5,27,49,59,14],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-06-02 17:50:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720732264305917952,"timestamp_seconds":720732264305918.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":90024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":90024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":90024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783115520001,"66":12472,"156":206,"85":15104,"24":28,"16":87973956857888768,"45":-9025565471896578048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783115520001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:50:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87973956857888768,"km_value":87973956857888.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025565471896578048,"description":"Unknown IO ID 45"} 
[2026-06-02 17:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783115520001,"power":12472,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9025565471896578048}} 
[2026-06-02 17:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":90024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:50:26] local.INFO: GPS data processed {"connection_id":90024,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:50:26] local.INFO: Acknowledgment sent {"connection_id":90024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:50:28] local.INFO: TCP Data received {"connection_id":89943,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:50:28] local.INFO: Processing buffer {"connection_id":89943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:50:28] local.INFO: IMEI packet received {"connection_id":89943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":89943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:50:33] local.INFO: TCP Data received {"connection_id":89943,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:50:33] local.INFO: Processing buffer {"connection_id":89943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:50:33] local.INFO: IMEI packet received {"connection_id":89943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":89943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:50:34] local.INFO: TCP Data received {"connection_id":89943,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:34] local.INFO: Processing buffer {"connection_id":89943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:34] local.INFO: Packet analysis {"connection_id":89943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:50:34] local.INFO: Extracted packet for processing {"connection_id":89943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:50:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:50:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":89943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:50:34] local.INFO: GPS data processed {"connection_id":89943,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:50:34] local.INFO: Acknowledgment sent {"connection_id":89943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:50:38] local.INFO: TCP Data received {"connection_id":89943,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:38] local.INFO: Processing buffer {"connection_id":89943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:50:38] local.INFO: Packet analysis {"connection_id":89943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:50:38] local.INFO: Extracted packet for processing {"connection_id":89943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":89943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:50:38] local.INFO: GPS data processed {"connection_id":89943,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:50:38] local.INFO: Acknowledgment sent {"connection_id":89943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:50:41] local.INFO: TCP Data received {"connection_id":90023,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884590e8012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884590e8012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:50:41] local.INFO: Processing buffer {"connection_id":90023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884590e8012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:50:41] local.INFO: Packet analysis {"connection_id":90023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8845"} 
[2026-06-02 17:50:41] local.INFO: Extracted packet for processing {"connection_id":90023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8845"} 
[2026-06-02 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":40,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783091200001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780402721000,"timestamp_ms":1780402721000,"timestamp_seconds":1780402721,"priority":1,"record_length":96,"hex_timestamp":"0000019e884590e8"} 
[2026-06-02 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 17:50:41] 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-06-02 17:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:50:41] 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-06-02 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783091200001,"66":12722,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783091200001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:50:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783091200001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":90023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:50:41] local.INFO: GPS data processed {"connection_id":90023,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:50:41] local.INFO: Acknowledgment sent {"connection_id":90023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:51:00] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8846c968012d82cb4005d68988000800722e..."} 
[2026-06-02 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8846c968012d82cb4005d68988000800722e..."} 
[2026-06-02 17:51:00] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8846c968012d82cb4005d68988000800722e..."} 
[2026-06-02 17:51:00] local.INFO: Packet analysis {"connection_id":90024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:51:00] local.INFO: Extracted packet for processing {"connection_id":90024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763546432,"raw_latitude":97945992,"longitude_deg":76.3546432,"latitude_deg":9.7945992,"altitude":8,"angle":114,"satellites":46,"speed":19,"hex_longitude":"2d82cb40","hex_latitude":"05d68988","is_valid_coordinates":true} 
[2026-06-02 17:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783116032001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87974077116973056,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024369203245828096,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402801000,"timestamp_ms":1780402801000,"timestamp_seconds":1780402801,"priority":1,"record_length":96,"hex_timestamp":"0000019e8846c968"} 
[2026-06-02 17:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-02 17:51:00] 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-06-02 17:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783116032001,"66":12461,"156":206,"85":15104,"24":19,"16":87974077116973056,"45":-9024369203245828096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783116032001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:51:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87974077116973056,"km_value":87974077116973.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024369203245828096,"description":"Unknown IO ID 45"} 
[2026-06-02 17:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783116032001,"power":12461,"unknown_156":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9024369203245828096}} 
[2026-06-02 17:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":90024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:51:00] local.INFO: GPS data processed {"connection_id":90024,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:51:00] local.INFO: Acknowledgment sent {"connection_id":90024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:51:05] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:51:05] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:51:05] local.INFO: IMEI packet received {"connection_id":90025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":90025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:51:10] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:51:10] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:51:10] local.INFO: IMEI packet received {"connection_id":90025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":90025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:51:10] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8845e2f0012d1a3c40071f8290002e00f62a..."} 
[2026-06-02 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8845e2f0012d1a3c40071f8290002e00f62a..."} 
[2026-06-02 17:51:10] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8845e2f0012d1a3c40071f8290002e00f62a..."} 
[2026-06-02 17:51:10] local.INFO: Packet analysis {"connection_id":90025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8845"} 
[2026-06-02 17:51:10] local.INFO: Extracted packet for processing {"connection_id":90025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8845"} 
[2026-06-02 17:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783096576001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402742000,"timestamp_ms":1780402742000,"timestamp_seconds":1780402742,"priority":1,"record_length":96,"hex_timestamp":"0000019e8845e2f0"} 
[2026-06-02 17:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 17:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:51:10] 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-06-02 17:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783096576001,"66":12722,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783096576001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:51:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783096576001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":90025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:51:10] local.INFO: GPS data processed {"connection_id":90025,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:51:10] local.INFO: Acknowledgment sent {"connection_id":90025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:51:24] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:51:24] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:51:24] local.INFO: IMEI packet received {"connection_id":89669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":89669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:51:28] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:51:28] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:51:28] local.INFO: IMEI packet received {"connection_id":89669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":89669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:51:28] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:51:28] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:51:28] local.INFO: IMEI packet received {"connection_id":90026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":90026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:51:29] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:51:29] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:51:29] local.INFO: Packet analysis {"connection_id":89669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:51:29] local.INFO: Extracted packet for processing {"connection_id":89669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:51: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-06-02 17:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:51: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-06-02 17:51: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-06-02 17:51: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-06-02 17:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:51:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":89669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:51:29] local.INFO: GPS data processed {"connection_id":89669,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:51:29] local.INFO: Acknowledgment sent {"connection_id":89669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:51:31] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:51:31] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:51:31] local.INFO: IMEI packet received {"connection_id":90026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":90026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:51:32] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8847bf80012d829fc005d61390000b00df2a..."} 
[2026-06-02 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8847bf80012d829fc005d61390000b00df2a..."} 
[2026-06-02 17:51:32] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8847bf80012d829fc005d61390000b00df2a..."} 
[2026-06-02 17:51:32] local.INFO: Packet analysis {"connection_id":90026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:51:32] local.INFO: Extracted packet for processing {"connection_id":90026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":97915792,"longitude_deg":76.3535296,"latitude_deg":9.7915792,"altitude":11,"angle":223,"satellites":42,"speed":16,"hex_longitude":"2d829fc0","hex_latitude":"05d61390","is_valid_coordinates":true} 
[2026-06-02 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783132416001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87975773629054976,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032954190043451392,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780402864000,"timestamp_ms":1780402864000,"timestamp_seconds":1780402864,"priority":1,"record_length":96,"hex_timestamp":"0000019e8847bf80"} 
[2026-06-02 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 17:51:32] 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-06-02 17:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":90026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":90026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":90026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783132416001,"66":12863,"156":206,"85":15104,"24":16,"16":87975773629054976,"45":-9032954190043451392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783132416001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:51:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87975773629054976,"km_value":87975773629054.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032954190043451392,"description":"Unknown IO ID 45"} 
[2026-06-02 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783132416001,"power":12863,"unknown_156":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9032954190043451392}} 
[2026-06-02 17:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":90026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:51:32] local.INFO: GPS data processed {"connection_id":90026,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:51:32] local.INFO: Acknowledgment sent {"connection_id":90026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:51:34] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8847c368012d829f0005d61258000b00c72a..."} 
[2026-06-02 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8847c368012d829f0005d61258000b00c72a..."} 
[2026-06-02 17:51:34] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8847c368012d829f0005d61258000b00c72a..."} 
[2026-06-02 17:51:34] local.INFO: Packet analysis {"connection_id":90026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:51:34] local.INFO: Extracted packet for processing {"connection_id":90026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":97915480,"longitude_deg":76.3535104,"latitude_deg":9.791548,"altitude":11,"angle":199,"satellites":42,"speed":13,"hex_longitude":"2d829f00","hex_latitude":"05d61258","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783133184001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87975795103891456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196182949888,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780402865000,"timestamp_ms":1780402865000,"timestamp_seconds":1780402865,"priority":1,"record_length":96,"hex_timestamp":"0000019e8847c368"} 
[2026-06-02 17:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:51: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-06-02 17:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 17:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783133184001,"66":12863,"156":206,"85":15104,"24":13,"16":87975795103891456,"45":-9034291196182949888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783133184001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:51:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87975795103891456,"km_value":87975795103891.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196182949888,"description":"Unknown IO ID 45"} 
[2026-06-02 17:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783133184001,"power":12863,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9034291196182949888}} 
[2026-06-02 17:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":90026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:51:34] local.INFO: GPS data processed {"connection_id":90026,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:51:34] local.INFO: Acknowledgment sent {"connection_id":90026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:51:41] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884634f8012d1a3c40071f8290002e00f62a..."} 
[2026-06-02 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884634f8012d1a3c40071f8290002e00f62a..."} 
[2026-06-02 17:51:41] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884634f8012d1a3c40071f8290002e00f62a..."} 
[2026-06-02 17:51:41] local.INFO: Packet analysis {"connection_id":90025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:51:41] local.INFO: Extracted packet for processing {"connection_id":90025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783101952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780402763000,"timestamp_ms":1780402763000,"timestamp_seconds":1780402763,"priority":1,"record_length":96,"hex_timestamp":"0000019e884634f8"} 
[2026-06-02 17:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 17:51:41] 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-06-02 17:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:51:41] 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-06-02 17:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783101952001,"66":12711,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783101952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:51:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783101952001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":90025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:51:41] local.INFO: GPS data processed {"connection_id":90025,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:51:41] local.INFO: Acknowledgment sent {"connection_id":90025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:51:57] local.INFO: TCP Data received {"connection_id":89670,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:51:57] local.INFO: Processing buffer {"connection_id":89670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:51:57] local.INFO: IMEI packet received {"connection_id":89670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":89670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:52:00] local.INFO: TCP Data received {"connection_id":89669,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:52:00] local.INFO: Processing buffer {"connection_id":89669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:52:00] local.INFO: Packet analysis {"connection_id":89669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:52:00] local.INFO: Extracted packet for processing {"connection_id":89669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:52:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:52:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":89669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:52:00] local.INFO: GPS data processed {"connection_id":89669,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:52:00] local.INFO: Acknowledgment sent {"connection_id":89669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:52:07] local.INFO: TCP Data received {"connection_id":91121,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:07] local.INFO: Processing buffer {"connection_id":91121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:07] local.INFO: IMEI packet received {"connection_id":91121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":91121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:52:08] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8847c750012d829f0005d61148000b00b52a..."} 
[2026-06-02 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8847c750012d829f0005d61148000b00b52a..."} 
[2026-06-02 17:52:08] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8847c750012d829f0005d61148000b00b52a..."} 
[2026-06-02 17:52:08] local.INFO: Packet analysis {"connection_id":90026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:52:08] local.INFO: Extracted packet for processing {"connection_id":90026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":97915208,"longitude_deg":76.3535104,"latitude_deg":9.7915208,"altitude":11,"angle":181,"satellites":42,"speed":9,"hex_longitude":"2d829f00","hex_latitude":"05d61148","is_valid_coordinates":true} 
[2026-06-02 17:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783133440001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87975807988793344,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302415562752,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780402866000,"timestamp_ms":1780402866000,"timestamp_seconds":1780402866,"priority":1,"record_length":96,"hex_timestamp":"0000019e8847c750"} 
[2026-06-02 17:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 17:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":90026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":90026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":90026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783133440001,"66":13059,"156":206,"85":15104,"24":9,"16":87975807988793344,"45":-9034502302415562752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783133440001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:52:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87975807988793344,"km_value":87975807988793.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302415562752,"description":"Unknown IO ID 45"} 
[2026-06-02 17:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783133440001,"power":13059,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9034502302415562752}} 
[2026-06-02 17:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":90026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:52:08] local.INFO: GPS data processed {"connection_id":90026,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:52:08] local.INFO: Acknowledgment sent {"connection_id":90026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:52:10] local.INFO: TCP Data received {"connection_id":91121,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:10] local.INFO: Processing buffer {"connection_id":91121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:10] local.INFO: IMEI packet received {"connection_id":91121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":91121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:52:15] local.INFO: TCP Data received {"connection_id":91121,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:15] local.INFO: Processing buffer {"connection_id":91121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:52:15] local.INFO: IMEI packet received {"connection_id":91121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":91121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:52:16] local.INFO: TCP Data received {"connection_id":91121,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88468700012d1a3c40071f8290002e00f624..."} 
[2026-06-02 17:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88468700012d1a3c40071f8290002e00f624..."} 
[2026-06-02 17:52:16] local.INFO: Processing buffer {"connection_id":91121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88468700012d1a3c40071f8290002e00f624..."} 
[2026-06-02 17:52:16] local.INFO: Packet analysis {"connection_id":91121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:52:16] local.INFO: Extracted packet for processing {"connection_id":91121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":36,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783107328001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52: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-06-02 17:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780402784000,"timestamp_ms":1780402784000,"timestamp_seconds":1780402784,"priority":1,"record_length":96,"hex_timestamp":"0000019e88468700"} 
[2026-06-02 17:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 17:52:16] 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-06-02 17: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-06-02 17:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":91121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":91121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":91121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:52:16] 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-06-02 17:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783107328001,"66":12689,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783107328001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:52:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783107328001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":91121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:52:16] local.INFO: GPS data processed {"connection_id":91121,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:52:16] local.INFO: Acknowledgment sent {"connection_id":91121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:52:23] local.INFO: TCP Data received {"connection_id":89671,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:52:23] local.INFO: Processing buffer {"connection_id":89671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:52:23] local.INFO: IMEI packet received {"connection_id":89671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":89671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:52:28] local.INFO: TCP Data received {"connection_id":89671,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:52:28] local.INFO: Processing buffer {"connection_id":89671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:52:28] local.INFO: IMEI packet received {"connection_id":89671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":89671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:52:29] local.INFO: TCP Data received {"connection_id":89671,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:52:29] local.INFO: Processing buffer {"connection_id":89671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:52:29] local.INFO: Packet analysis {"connection_id":89671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:52:29] local.INFO: Extracted packet for processing {"connection_id":89671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:52:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:52: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-06-02 17:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:52:29] 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-06-02 17:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:52:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":89671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:52:29] local.INFO: GPS data processed {"connection_id":89671,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:52:29] local.INFO: Acknowledgment sent {"connection_id":89671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:52:34] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:52:34] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:52:34] local.INFO: IMEI packet received {"connection_id":90027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":90027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:52:46] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:52:46] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:52:46] local.INFO: IMEI packet received {"connection_id":90027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":90027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:52:47] local.INFO: TCP Data received {"connection_id":91121,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8846d908012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8846d908012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:52:47] local.INFO: Processing buffer {"connection_id":91121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8846d908012d1a3c40071f8290002e00f628..."} 
[2026-06-02 17:52:47] local.INFO: Packet analysis {"connection_id":91121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:52:47] local.INFO: Extracted packet for processing {"connection_id":91121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8846"} 
[2026-06-02 17:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":40,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783112704001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:52: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-06-02 17:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780402805000,"timestamp_ms":1780402805000,"timestamp_seconds":1780402805,"priority":1,"record_length":96,"hex_timestamp":"0000019e8846d908"} 
[2026-06-02 17:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17: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":145,"data_length":795,"current_offset":136} 
[2026-06-02 17:52: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-06-02 17: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-06-02 17:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":91121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":91121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":91121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:52:47] 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-06-02 17:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783112704001,"66":12558,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783112704001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:52:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783112704001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":91121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:52:47] local.INFO: GPS data processed {"connection_id":91121,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:52:47] local.INFO: Acknowledgment sent {"connection_id":91121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:53:00] local.INFO: TCP Data received {"connection_id":89671,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:53:00] local.INFO: Processing buffer {"connection_id":89671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:53:00] local.INFO: Packet analysis {"connection_id":89671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:53:00] local.INFO: Extracted packet for processing {"connection_id":89671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:53: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-06-02 17:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:53:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":89671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:53:00] local.INFO: GPS data processed {"connection_id":89671,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:53:00] local.INFO: Acknowledgment sent {"connection_id":89671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:53:05] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:53:05] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:53:05] local.INFO: IMEI packet received {"connection_id":90029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":90029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:53:07] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88489658012d8261c005d5e570000200f42a..."} 
[2026-06-02 17:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88489658012d8261c005d5e570000200f42a..."} 
[2026-06-02 17:53:07] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88489658012d8261c005d5e570000200f42a..."} 
[2026-06-02 17:53:07] local.INFO: Packet analysis {"connection_id":90027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:53:07] local.INFO: Extracted packet for processing {"connection_id":90027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763519424,"raw_latitude":97903984,"longitude_deg":76.3519424,"latitude_deg":9.7903984,"altitude":2,"angle":244,"satellites":42,"speed":34,"hex_longitude":"2d8261c0","hex_latitude":"05d5e570","is_valid_coordinates":true} 
[2026-06-02 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783145728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87976967629963264,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9046746463905077248,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780402919000,"timestamp_ms":1780402919000,"timestamp_seconds":1780402919,"priority":1,"record_length":96,"hex_timestamp":"0000019e88489658"} 
[2026-06-02 17:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 17:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783145728001,"66":12982,"156":206,"85":15104,"24":34,"16":87976967629963264,"45":-9046746463905077248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783145728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:53:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87976967629963264,"km_value":87976967629963.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9046746463905077248,"description":"Unknown IO ID 45"} 
[2026-06-02 17:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783145728001,"power":12982,"unknown_156":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9046746463905077248}} 
[2026-06-02 17:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":90027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:53:07] local.INFO: GPS data processed {"connection_id":90027,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:53:07] local.INFO: Acknowledgment sent {"connection_id":90027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:53:08] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88495d90012d81fe4005d5cfc00004011a29..."} 
[2026-06-02 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88495d90012d81fe4005d5cfc00004011a29..."} 
[2026-06-02 17:53:08] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88495d90012d81fe4005d5cfc00004011a29..."} 
[2026-06-02 17:53:08] local.INFO: Packet analysis {"connection_id":90027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:53:08] local.INFO: Extracted packet for processing {"connection_id":90027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763493952,"raw_latitude":97898432,"longitude_deg":76.3493952,"latitude_deg":9.7898432,"altitude":4,"angle":282,"satellites":41,"speed":12,"hex_longitude":"2d81fe40","hex_latitude":"05d5cfc0","is_valid_coordinates":true} 
[2026-06-02 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783160064001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87978492343353344,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079397561205309440,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780402970000,"timestamp_ms":1780402970000,"timestamp_seconds":1780402970,"priority":1,"record_length":96,"hex_timestamp":"0000019e88495d90"} 
[2026-06-02 17:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-02 17:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":90027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":90027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":90027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783160064001,"66":12950,"156":206,"85":15104,"24":12,"16":87978492343353344,"45":-9079397561205309440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783160064001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:53:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87978492343353344,"km_value":87978492343353.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079397561205309440,"description":"Unknown IO ID 45"} 
[2026-06-02 17:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783160064001,"power":12950,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9079397561205309440}} 
[2026-06-02 17:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":90027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:53:08] local.INFO: GPS data processed {"connection_id":90027,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:53:08] local.INFO: Acknowledgment sent {"connection_id":90027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:53:10] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:53:10] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:53:10] local.INFO: IMEI packet received {"connection_id":90029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":90029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:53:10] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88472b10012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88472b10012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:53:10] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88472b10012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:53:10] local.INFO: Packet analysis {"connection_id":90029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:53:10] local.INFO: Extracted packet for processing {"connection_id":90029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783118080001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402826000,"timestamp_ms":1780402826000,"timestamp_seconds":1780402826,"priority":1,"record_length":96,"hex_timestamp":"0000019e88472b10"} 
[2026-06-02 17:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286218456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249976326796313232,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2190475310,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2498560000,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,148,158,135,45,64,130,46,36,10,66,52,42,226,1,240,178,227,136,31,4,113,205,62,60,144,38,239,49,2,189,7,120,86,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 17:53:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314919977403809792,"timestamp_seconds":3314919977403810.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:53:10] 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-06-02 17:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783118080001,"66":12667,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783118080001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:53:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783118080001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":90029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:53:10] local.INFO: GPS data processed {"connection_id":90029,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:53:10] local.INFO: Acknowledgment sent {"connection_id":90029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:53:22] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:22] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:22] local.INFO: IMEI packet received {"connection_id":90030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":90030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:53:23] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:53:23] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:53:23] local.INFO: IMEI packet received {"connection_id":89672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":89672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:53:23] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:23] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:23] local.INFO: IMEI packet received {"connection_id":90030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":90030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:53:24] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:24] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:24] local.INFO: IMEI packet received {"connection_id":90030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":90030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:53:28] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:53:28] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:53:28] local.INFO: IMEI packet received {"connection_id":89672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":89672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:53:29] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:53:29] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8844d568012cb29ac007823b00004900d928..."} 
[2026-06-02 17:53:29] local.INFO: Packet analysis {"connection_id":89672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:53:29] local.INFO: Extracted packet for processing {"connection_id":89672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8844"} 
[2026-06-02 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783007232001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402673000,"timestamp_ms":1780402673000,"timestamp_seconds":1780402673,"priority":1,"record_length":96,"hex_timestamp":"0000019e8844d568"} 
[2026-06-02 17:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:53: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-06-02 17:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:53:29] 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-06-02 17:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783007232001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783007232001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:53:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783007232001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":89672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:53:29] local.INFO: GPS data processed {"connection_id":89672,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:53:29] local.INFO: Acknowledgment sent {"connection_id":89672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:53:30] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:30] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:53:30] local.INFO: IMEI packet received {"connection_id":90030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":90030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:53:31] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496178012d81fd0005d5cfd8000401092a..."} 
[2026-06-02 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496178012d81fd0005d5cfd8000401092a..."} 
[2026-06-02 17:53:31] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496178012d81fd0005d5cfd8000401092a..."} 
[2026-06-02 17:53:31] local.INFO: Packet analysis {"connection_id":90030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:53:31] local.INFO: Extracted packet for processing {"connection_id":90030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763493632,"raw_latitude":97898456,"longitude_deg":76.3493632,"latitude_deg":9.7898456,"altitude":4,"angle":265,"satellites":42,"speed":12,"hex_longitude":"2d81fd00","hex_latitude":"05d5cfd8","is_valid_coordinates":true} 
[2026-06-02 17:53: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-06-02 17:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783160320001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87978505228255232,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079749404926164992,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780402971000,"timestamp_ms":1780402971000,"timestamp_seconds":1780402971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496178"} 
[2026-06-02 17:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:53: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-06-02 17:53: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":150,"data_length":795,"current_offset":136} 
[2026-06-02 17:53:31] 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-06-02 17:53: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-06-02 17:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":90030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":90030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":90030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783160320001,"66":12950,"156":206,"85":15104,"24":12,"16":87978505228255232,"45":-9079749404926164992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-02 17:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783160320001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:53:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-02 17:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87978505228255232,"km_value":87978505228255.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079749404926164992,"description":"Unknown IO ID 45"} 
[2026-06-02 17:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783160320001,"power":12950,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9079749404926164992}} 
[2026-06-02 17:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":90030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:53:31] local.INFO: GPS data processed {"connection_id":90030,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:53:31] local.INFO: Acknowledgment sent {"connection_id":90030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:53:41] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88477d18012d1a3c40071f8290002e00f627..."} 
[2026-06-02 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88477d18012d1a3c40071f8290002e00f627..."} 
[2026-06-02 17:53:41] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88477d18012d1a3c40071f8290002e00f627..."} 
[2026-06-02 17:53:41] local.INFO: Packet analysis {"connection_id":90029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:53:41] local.INFO: Extracted packet for processing {"connection_id":90029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783123456001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780402847000,"timestamp_ms":1780402847000,"timestamp_seconds":1780402847,"priority":1,"record_length":96,"hex_timestamp":"0000019e88477d18"} 
[2026-06-02 17:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 17:53:41] 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-06-02 17:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:53:41] 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-06-02 17:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783123456001,"66":12613,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783123456001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:53:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783123456001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":90029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:53:42] local.INFO: GPS data processed {"connection_id":90029,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:53:42] local.INFO: Acknowledgment sent {"connection_id":90029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:54:00] local.INFO: TCP Data received {"connection_id":89672,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:54:00] local.INFO: Processing buffer {"connection_id":89672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:54:00] local.INFO: Packet analysis {"connection_id":89672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:54:00] local.INFO: Extracted packet for processing {"connection_id":89672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:54:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:54:00] 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-06-02 17:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:54:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":89672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:54:00] local.INFO: GPS data processed {"connection_id":89672,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:54:00] local.INFO: Acknowledgment sent {"connection_id":89672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:54:03] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88499440012d81d94005d5cbd0000401062a..."} 
[2026-06-02 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88499440012d81d94005d5cbd0000401062a..."} 
[2026-06-02 17:54:03] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88499440012d81d94005d5cbd0000401062a..."} 
[2026-06-02 17:54:03] local.INFO: Packet analysis {"connection_id":90030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:54:03] local.INFO: Extracted packet for processing {"connection_id":90030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763484480,"raw_latitude":97897424,"longitude_deg":76.348448,"latitude_deg":9.7897424,"altitude":4,"angle":262,"satellites":42,"speed":35,"hex_longitude":"2d81d940","hex_latitude":"05d5cbd0","is_valid_coordinates":true} 
[2026-06-02 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783160576001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87978947609886720,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080101248647047168,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780402984000,"timestamp_ms":1780402984000,"timestamp_seconds":1780402984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88499440"} 
[2026-06-02 17:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 17:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":90030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":90030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":90030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783160576001,"66":12982,"219":206,"85":15104,"24":35,"16":87978947609886720,"45":-9080101248647047168},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-02 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783160576001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:54:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-02 17:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87978947609886720,"km_value":87978947609886.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080101248647047168,"description":"Unknown IO ID 45"} 
[2026-06-02 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783160576001,"power":12982,"unknown_219":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9080101248647047168}} 
[2026-06-02 17:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":90030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:54:03] local.INFO: GPS data processed {"connection_id":90030,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:54:03] local.INFO: Acknowledgment sent {"connection_id":90030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:54:05] local.INFO: TCP Data received {"connection_id":91122,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:54:05] local.INFO: Processing buffer {"connection_id":91122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:54:05] local.INFO: IMEI packet received {"connection_id":91122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":91122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:54:10] local.INFO: TCP Data received {"connection_id":91122,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:54:10] local.INFO: Processing buffer {"connection_id":91122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:54:10] local.INFO: IMEI packet received {"connection_id":91122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":91122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:54:10] local.INFO: TCP Data received {"connection_id":91122,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8847cf20012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8847cf20012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:54:10] local.INFO: Processing buffer {"connection_id":91122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8847cf20012d1a3c40071f8290002e00f629..."} 
[2026-06-02 17:54:10] local.INFO: Packet analysis {"connection_id":91122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:54:10] local.INFO: Extracted packet for processing {"connection_id":91122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8847"} 
[2026-06-02 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119505552,"longitude_deg":75.669408,"latitude_deg":11.9505552,"altitude":46,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d1a3c40","hex_latitude":"071f8290","is_valid_coordinates":true} 
[2026-06-02 17:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783128832001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420110264401920,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402868000,"timestamp_ms":1780402868000,"timestamp_seconds":1780402868,"priority":1,"record_length":96,"hex_timestamp":"0000019e8847cf20"} 
[2026-06-02 17:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 17:54:10] 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-06-02 17:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:54:10] 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-06-02 17:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783128832001,"66":12613,"101":206,"83":41984,"24":0,"16":125420110264401920,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783128832001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:54:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420110264401920,"km_value":125420110264401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783128832001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":91122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:54:10] local.INFO: GPS data processed {"connection_id":91122,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:54:10] local.INFO: Acknowledgment sent {"connection_id":91122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:54:23] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:54:23] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:54:23] local.INFO: IMEI packet received {"connection_id":90031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":90031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:54:23] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:23] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:23] local.INFO: IMEI packet received {"connection_id":89673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":89673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:54:24] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:24] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:24] local.INFO: IMEI packet received {"connection_id":89673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":89673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:54:26] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:26] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:26] local.INFO: IMEI packet received {"connection_id":89673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":89673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:54:28] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:28] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:54:28] local.INFO: IMEI packet received {"connection_id":89673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":89673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:54:28] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:54:28] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:54:28] local.INFO: IMEI packet received {"connection_id":90031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":90031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:54:29] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e884a6730012d81b24005d529f0000300ac2a..."} 
[2026-06-02 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884a6730012d81b24005d529f0000300ac2a..."} 
[2026-06-02 17:54:29] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884a6730012d81b24005d529f0000300ac2a..."} 
[2026-06-02 17:54:29] local.INFO: Packet analysis {"connection_id":89673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884a"} 
[2026-06-02 17:54:29] local.INFO: Extracted packet for processing {"connection_id":89673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884a"} 
[2026-06-02 17:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763474496,"raw_latitude":97855984,"longitude_deg":76.3474496,"latitude_deg":9.7855984,"altitude":3,"angle":172,"satellites":42,"speed":34,"hex_longitude":"2d81b240","hex_latitude":"05d529f0","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783177216001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87981335611703296,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101282240654966784,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403038000,"timestamp_ms":1780403038000,"timestamp_seconds":1780403038,"priority":1,"record_length":96,"hex_timestamp":"0000019e884a6730"} 
[2026-06-02 17:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:54: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-06-02 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 17:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783177216001,"66":13015,"165":206,"85":15104,"24":34,"16":87981335611703296,"45":-9101282240654966784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783177216001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87981335611703296,"km_value":87981335611703.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101282240654966784,"description":"Unknown IO ID 45"} 
[2026-06-02 17:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783177216001,"power":13015,"unknown_165":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9101282240654966784}} 
[2026-06-02 17:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":89673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:54:29] local.INFO: GPS data processed {"connection_id":89673,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:54:29] local.INFO: Acknowledgment sent {"connection_id":89673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:54:29] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:54:29] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:54:29] local.INFO: Packet analysis {"connection_id":90031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:54:29] local.INFO: Extracted packet for processing {"connection_id":90031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:54:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:54: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-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:54: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-06-02 17: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-06-02 17:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":90031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:54:29] local.INFO: GPS data processed {"connection_id":90031,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:54:29] local.INFO: Acknowledgment sent {"connection_id":90031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:54:30] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e884a8a58012d81b68005d50680000400a92c..."} 
[2026-06-02 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884a8a58012d81b68005d50680000400a92c..."} 
[2026-06-02 17:54:30] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884a8a58012d81b68005d50680000400a92c..."} 
[2026-06-02 17:54:30] local.INFO: Packet analysis {"connection_id":89673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884a"} 
[2026-06-02 17:54:30] local.INFO: Extracted packet for processing {"connection_id":89673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884a"} 
[2026-06-02 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763475584,"raw_latitude":97846912,"longitude_deg":76.3475584,"latitude_deg":9.7846912,"altitude":4,"angle":169,"satellites":44,"speed":44,"hex_longitude":"2d81b680","hex_latitude":"05d50680","is_valid_coordinates":true} 
[2026-06-02 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783177728001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87981782288302080,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101141503167041536,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780403047000,"timestamp_ms":1780403047000,"timestamp_seconds":1780403047,"priority":1,"record_length":96,"hex_timestamp":"0000019e884a8a58"} 
[2026-06-02 17:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 17:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783177728001,"66":12982,"165":206,"85":15104,"24":44,"16":87981782288302080,"45":-9101141503167041536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-02 17:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783177728001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:54:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-02 17:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87981782288302080,"km_value":87981782288302.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101141503167041536,"description":"Unknown IO ID 45"} 
[2026-06-02 17:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783177728001,"power":12982,"unknown_165":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9101141503167041536}} 
[2026-06-02 17:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":89673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:54:30] local.INFO: GPS data processed {"connection_id":89673,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:54:30] local.INFO: Acknowledgment sent {"connection_id":89673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:54:42] local.INFO: TCP Data received {"connection_id":91122,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88482128012d1a3fc0071f80f8003d00f62a..."} 
[2026-06-02 17:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88482128012d1a3fc0071f80f8003d00f62a..."} 
[2026-06-02 17:54:42] local.INFO: Processing buffer {"connection_id":91122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88482128012d1a3fc0071f80f8003d00f62a..."} 
[2026-06-02 17:54:42] local.INFO: Packet analysis {"connection_id":91122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:54:42] local.INFO: Extracted packet for processing {"connection_id":91122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119505144,"longitude_deg":75.6694976,"latitude_deg":11.9505144,"altitude":61,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d1a3fc0","hex_latitude":"071f80f8","is_valid_coordinates":true} 
[2026-06-02 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783134208001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420153214074880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342926364672,"note":"Value kept but may cause issues"} 
[2026-06-02 17:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780402889000,"timestamp_ms":1780402889000,"timestamp_seconds":1780402889,"priority":1,"record_length":96,"hex_timestamp":"0000019e88482128"} 
[2026-06-02 17:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 17:54:42] 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-06-02 17:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:54:42] 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-06-02 17:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783134208001,"66":12537,"101":206,"83":41984,"24":0,"16":125420153214074880,"45":1890456342926364672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783134208001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:54:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420153214074880,"km_value":125420153214074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342926364672,"description":"Unknown IO ID 45"} 
[2026-06-02 17:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783134208001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890456342926364672}} 
[2026-06-02 17:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":91122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:54:42] local.INFO: GPS data processed {"connection_id":91122,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:54:42] local.INFO: Acknowledgment sent {"connection_id":91122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:55:00] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:00] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:00] local.INFO: Packet analysis {"connection_id":90031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:55:00] local.INFO: Extracted packet for processing {"connection_id":90031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 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-06-02 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 17:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:55:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":90031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:55:00] local.INFO: GPS data processed {"connection_id":90031,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:55:00] local.INFO: Acknowledgment sent {"connection_id":90031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:55:01] local.INFO: TCP Data received {"connection_id":89673,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e884b0b40012d81998005d4a7b8000c00ba2c..."} 
[2026-06-02 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884b0b40012d81998005d4a7b8000c00ba2c..."} 
[2026-06-02 17:55:01] local.INFO: Processing buffer {"connection_id":89673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884b0b40012d81998005d4a7b8000c00ba2c..."} 
[2026-06-02 17:55:01] local.INFO: Packet analysis {"connection_id":89673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884b"} 
[2026-06-02 17:55:01] local.INFO: Extracted packet for processing {"connection_id":89673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884b"} 
[2026-06-02 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763468160,"raw_latitude":97822648,"longitude_deg":76.346816,"latitude_deg":9.7822648,"altitude":12,"angle":186,"satellites":44,"speed":28,"hex_longitude":"2d819980","hex_latitude":"05d4a7b8","is_valid_coordinates":true} 
[2026-06-02 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783188224001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87983349951365120,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108108008848969728,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780403080000,"timestamp_ms":1780403080000,"timestamp_seconds":1780403080,"priority":1,"record_length":96,"hex_timestamp":"0000019e884b0b40"} 
[2026-06-02 17:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418470,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":165,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286606456,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":47105,"corrected_to":0} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3031433225,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2482044928,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3568707584,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:01] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,165,85,24,241,157,16,148,158,3,45,64,173,12,43,10,66,251,128,177,11,44,247,192,1,240,106,227,136,212,4,113,205,39,220,186,80,239,51,2,56,5,8,25],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":247,"original":47105,"validated":0},{"io_id":205,"original":2795831502,"validated":0}]} 
[2026-06-02 17:55:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864909020737699840,"timestamp_seconds":864909020737699.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 17:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 17:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 17:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 17:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783188224001,"66":13135,"165":206,"85":15104,"24":28,"16":87983349951365120,"45":-9108108008848969728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-02 17:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 17:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 17:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783188224001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:55:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-02 17:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 17:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87983349951365120,"km_value":87983349951365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108108008848969728,"description":"Unknown IO ID 45"} 
[2026-06-02 17:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783188224001,"power":13135,"unknown_165":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9108108008848969728}} 
[2026-06-02 17:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":89673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:55:01] local.INFO: GPS data processed {"connection_id":89673,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:55:01] local.INFO: Acknowledgment sent {"connection_id":89673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:55:05] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:55:05] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:55:05] local.INFO: IMEI packet received {"connection_id":89675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":89675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:55:10] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:55:10] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:55:10] local.INFO: IMEI packet received {"connection_id":89675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":89675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:55:10] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88487330012d1a3fc0071f80f8003d00f62a..."} 
[2026-06-02 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88487330012d1a3fc0071f80f8003d00f62a..."} 
[2026-06-02 17:55:10] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88487330012d1a3fc0071f80f8003d00f62a..."} 
[2026-06-02 17:55:10] local.INFO: Packet analysis {"connection_id":89675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:55:10] local.INFO: Extracted packet for processing {"connection_id":89675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119505144,"longitude_deg":75.6694976,"latitude_deg":11.9505144,"altitude":61,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d1a3fc0","hex_latitude":"071f80f8","is_valid_coordinates":true} 
[2026-06-02 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783139584001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420153214074880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505344747520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780402910000,"timestamp_ms":1780402910000,"timestamp_seconds":1780402910,"priority":1,"record_length":96,"hex_timestamp":"0000019e88487330"} 
[2026-06-02 17:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 17:55:10] 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-06-02 17:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:55:10] 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-06-02 17:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783139584001,"66":12591,"101":206,"83":41984,"24":0,"16":125420153214074880,"45":1891441505344747520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783139584001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:55:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420153214074880,"km_value":125420153214074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505344747520,"description":"Unknown IO ID 45"} 
[2026-06-02 17:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783139584001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891441505344747520}} 
[2026-06-02 17:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":89675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:55:10] local.INFO: GPS data processed {"connection_id":89675,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:55:10] local.INFO: Acknowledgment sent {"connection_id":89675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:55:24] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:24] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:24] local.INFO: IMEI packet received {"connection_id":89944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 17:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":89944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:55:27] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:27] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:27] local.INFO: IMEI packet received {"connection_id":89944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":89944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:55:27] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:27] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:27] local.INFO: IMEI packet received {"connection_id":89944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":89944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:55:28] local.INFO: TCP Data received {"connection_id":89944,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:28] local.INFO: Processing buffer {"connection_id":89944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 17:55:28] local.INFO: IMEI packet received {"connection_id":89944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 17:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":89944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:55:28] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:55:28] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:55:28] local.INFO: IMEI packet received {"connection_id":89945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":89945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:55:33] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:55:33] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:55:33] local.INFO: IMEI packet received {"connection_id":89945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":89945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:55:34] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:34] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:34] local.INFO: Packet analysis {"connection_id":89945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:55:34] local.INFO: Extracted packet for processing {"connection_id":89945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:55:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:55:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:55:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":89945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:55:34] local.INFO: GPS data processed {"connection_id":89945,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:55:34] local.INFO: Acknowledgment sent {"connection_id":89945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:55:38] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:38] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:55:38] local.INFO: Packet analysis {"connection_id":89945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:55:38] local.INFO: Extracted packet for processing {"connection_id":89945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:55:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:55:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":89945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:55:38] local.INFO: GPS data processed {"connection_id":89945,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:55:38] local.INFO: Acknowledgment sent {"connection_id":89945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:55:41] local.INFO: TCP Data received {"connection_id":89675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8848c538012d1a3fc0071f80f8003d00f626..."} 
[2026-06-02 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8848c538012d1a3fc0071f80f8003d00f626..."} 
[2026-06-02 17:55:41] local.INFO: Processing buffer {"connection_id":89675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8848c538012d1a3fc0071f80f8003d00f626..."} 
[2026-06-02 17:55:41] local.INFO: Packet analysis {"connection_id":89675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:55:41] local.INFO: Extracted packet for processing {"connection_id":89675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8848"} 
[2026-06-02 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119505144,"longitude_deg":75.6694976,"latitude_deg":11.9505144,"altitude":61,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d1a3fc0","hex_latitude":"071f80f8","is_valid_coordinates":true} 
[2026-06-02 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783144960001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420153214074880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505344747520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780402931000,"timestamp_ms":1780402931000,"timestamp_seconds":1780402931,"priority":1,"record_length":96,"hex_timestamp":"0000019e8848c538"} 
[2026-06-02 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 17:55:41] 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-06-02 17:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:55:41] 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-06-02 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783144960001,"66":11624,"101":206,"83":41984,"24":0,"16":125420153214074880,"45":1891441505344747520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783144960001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420153214074880,"km_value":125420153214074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505344747520,"description":"Unknown IO ID 45"} 
[2026-06-02 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783144960001,"power":11624,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891441505344747520}} 
[2026-06-02 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":89675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:55:41] local.INFO: GPS data processed {"connection_id":89675,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:55:41] local.INFO: Acknowledgment sent {"connection_id":89675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:56:05] local.INFO: TCP Data received {"connection_id":91124,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:56:05] local.INFO: Processing buffer {"connection_id":91124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:56:05] local.INFO: IMEI packet received {"connection_id":91124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":91124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:56:10] local.INFO: TCP Data received {"connection_id":91124,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:56:10] local.INFO: Processing buffer {"connection_id":91124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:56:10] local.INFO: IMEI packet received {"connection_id":91124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":91124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:56:16] local.INFO: TCP Data received {"connection_id":91124,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88491740012d1a3fc0071f80f8003d00f625..."} 
[2026-06-02 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88491740012d1a3fc0071f80f8003d00f625..."} 
[2026-06-02 17:56:16] local.INFO: Processing buffer {"connection_id":91124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88491740012d1a3fc0071f80f8003d00f625..."} 
[2026-06-02 17:56:16] local.INFO: Packet analysis {"connection_id":91124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:56:16] local.INFO: Extracted packet for processing {"connection_id":91124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119505144,"longitude_deg":75.6694976,"latitude_deg":11.9505144,"altitude":61,"angle":246,"satellites":37,"speed":0,"hex_longitude":"2d1a3fc0","hex_latitude":"071f80f8","is_valid_coordinates":true} 
[2026-06-02 17:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783150336001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420153214074880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505344747520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56: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-06-02 17:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780402952000,"timestamp_ms":1780402952000,"timestamp_seconds":1780402952,"priority":1,"record_length":96,"hex_timestamp":"0000019e88491740"} 
[2026-06-02 17:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 17:56:16] 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-06-02 17:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":91124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":91124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":91124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:56:16] 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-06-02 17:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783150336001,"66":12526,"101":206,"83":41984,"24":0,"16":125420153214074880,"45":1891441505344747520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783150336001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:56:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420153214074880,"km_value":125420153214074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505344747520,"description":"Unknown IO ID 45"} 
[2026-06-02 17:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783150336001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891441505344747520}} 
[2026-06-02 17:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":91124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:56:16] local.INFO: GPS data processed {"connection_id":91124,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:56:16] local.INFO: Acknowledgment sent {"connection_id":91124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:56:23] local.INFO: TCP Data received {"connection_id":91125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:56:23] local.INFO: Processing buffer {"connection_id":91125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:56:23] local.INFO: IMEI packet received {"connection_id":91125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":91125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:56:28] local.INFO: TCP Data received {"connection_id":91125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:56:28] local.INFO: Processing buffer {"connection_id":91125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:56:28] local.INFO: IMEI packet received {"connection_id":91125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":91125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:56:29] local.INFO: TCP Data received {"connection_id":91125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:56:29] local.INFO: Processing buffer {"connection_id":91125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:56:29] local.INFO: Packet analysis {"connection_id":91125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:56:29] local.INFO: Extracted packet for processing {"connection_id":91125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:56:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:56: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-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:56: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-06-02 17: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-06-02 17:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:56:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":91125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:56:29] local.INFO: GPS data processed {"connection_id":91125,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:56:29] local.INFO: Acknowledgment sent {"connection_id":91125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:56:47] local.INFO: TCP Data received {"connection_id":91124,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496948012d1a3fc0071f80f8003d00f627..."} 
[2026-06-02 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496948012d1a3fc0071f80f8003d00f627..."} 
[2026-06-02 17:56:47] local.INFO: Processing buffer {"connection_id":91124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496948012d1a3fc0071f80f8003d00f627..."} 
[2026-06-02 17:56:47] local.INFO: Packet analysis {"connection_id":91124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:56:47] local.INFO: Extracted packet for processing {"connection_id":91124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119505144,"longitude_deg":75.6694976,"latitude_deg":11.9505144,"altitude":61,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d1a3fc0","hex_latitude":"071f80f8","is_valid_coordinates":true} 
[2026-06-02 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783155712001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420153214074880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505344747520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:56: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-06-02 17:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780402973000,"timestamp_ms":1780402973000,"timestamp_seconds":1780402973,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496948"} 
[2026-06-02 17:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 17:56: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-06-02 17:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":91124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":91124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":91124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:56:47] 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-06-02 17:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783155712001,"66":11547,"101":206,"83":41984,"24":0,"16":125420153214074880,"45":1891441505344747520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783155712001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:56:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420153214074880,"km_value":125420153214074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505344747520,"description":"Unknown IO ID 45"} 
[2026-06-02 17:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783155712001,"power":11547,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891441505344747520}} 
[2026-06-02 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":91124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:56:47] local.INFO: GPS data processed {"connection_id":91124,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:56:47] local.INFO: Acknowledgment sent {"connection_id":91124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:57:00] local.INFO: TCP Data received {"connection_id":91125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:57:00] local.INFO: Processing buffer {"connection_id":91125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:57:00] local.INFO: Packet analysis {"connection_id":91125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:57:00] local.INFO: Extracted packet for processing {"connection_id":91125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 17:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:57:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":91125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:57:00] local.INFO: GPS data processed {"connection_id":91125,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:57:00] local.INFO: Acknowledgment sent {"connection_id":91125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:57:05] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:57:05] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:57:05] local.INFO: IMEI packet received {"connection_id":89947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":89947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:57:10] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:57:10] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:57:10] local.INFO: IMEI packet received {"connection_id":89947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":89947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:57:12] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8849bb50012d1a3fc0071f80f8003d00f628..."} 
[2026-06-02 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8849bb50012d1a3fc0071f80f8003d00f628..."} 
[2026-06-02 17:57:12] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8849bb50012d1a3fc0071f80f8003d00f628..."} 
[2026-06-02 17:57:12] local.INFO: Packet analysis {"connection_id":89947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:57:12] local.INFO: Extracted packet for processing {"connection_id":89947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119505144,"longitude_deg":75.6694976,"latitude_deg":11.9505144,"altitude":61,"angle":246,"satellites":40,"speed":0,"hex_longitude":"2d1a3fc0","hex_latitude":"071f80f8","is_valid_coordinates":true} 
[2026-06-02 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161088001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420153214074880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505344747520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1780402994000,"timestamp_ms":1780402994000,"timestamp_seconds":1780402994,"priority":1,"record_length":96,"hex_timestamp":"0000019e8849bb50"} 
[2026-06-02 17:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-02 17:57:12] 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-06-02 17:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":89947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:57:12] 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-06-02 17:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161088001,"66":12526,"101":206,"83":41984,"24":0,"16":125420153214074880,"45":1891441505344747520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161088001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:57:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420153214074880,"km_value":125420153214074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505344747520,"description":"Unknown IO ID 45"} 
[2026-06-02 17:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161088001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891441505344747520}} 
[2026-06-02 17:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":89947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:57:12] local.INFO: GPS data processed {"connection_id":89947,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:57:12] local.INFO: Acknowledgment sent {"connection_id":89947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:57:23] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:57:23] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:57:23] local.INFO: IMEI packet received {"connection_id":89948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":89948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:57:28] local.INFO: TCP Data received {"connection_id":89946,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:57:28] local.INFO: Processing buffer {"connection_id":89946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:57:28] local.INFO: IMEI packet received {"connection_id":89946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:57:28] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:57:28] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:57:28] local.INFO: IMEI packet received {"connection_id":89948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:57:29] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:57:29] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:57:29] local.INFO: Packet analysis {"connection_id":89948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:57:29] local.INFO: Extracted packet for processing {"connection_id":89948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:57:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:57: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-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:57: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-06-02 17: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-06-02 17:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:57:29] 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-06-02 17:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:57:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":89948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:57:29] local.INFO: GPS data processed {"connection_id":89948,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:57:29] local.INFO: Acknowledgment sent {"connection_id":89948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:57:44] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884a0d58012d1a3fc0071f80f8003d00f626..."} 
[2026-06-02 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884a0d58012d1a3fc0071f80f8003d00f626..."} 
[2026-06-02 17:57:44] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884a0d58012d1a3fc0071f80f8003d00f626..."} 
[2026-06-02 17:57:44] local.INFO: Packet analysis {"connection_id":89947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884a"} 
[2026-06-02 17:57:44] local.INFO: Extracted packet for processing {"connection_id":89947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884a"} 
[2026-06-02 17:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119505144,"longitude_deg":75.6694976,"latitude_deg":11.9505144,"altitude":61,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d1a3fc0","hex_latitude":"071f80f8","is_valid_coordinates":true} 
[2026-06-02 17:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783166464001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420153214074880,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505344747520,"note":"Value kept but may cause issues"} 
[2026-06-02 17:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1780403015000,"timestamp_ms":1780403015000,"timestamp_seconds":1780403015,"priority":1,"record_length":96,"hex_timestamp":"0000019e884a0d58"} 
[2026-06-02 17:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 17:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":89947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:57:44] 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-06-02 17:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783166464001,"66":12504,"101":206,"83":41984,"24":0,"16":125420153214074880,"45":1891441505344747520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783166464001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:57:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420153214074880,"km_value":125420153214074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505344747520,"description":"Unknown IO ID 45"} 
[2026-06-02 17:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783166464001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891441505344747520}} 
[2026-06-02 17:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":89947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:57:44] local.INFO: GPS data processed {"connection_id":89947,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:57:44] local.INFO: Acknowledgment sent {"connection_id":89947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:58:00] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:58:00] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:58:00] local.INFO: Packet analysis {"connection_id":89948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:58:00] local.INFO: Extracted packet for processing {"connection_id":89948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:58:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 17: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-06-02 17:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:58:00] 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-06-02 17:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:58:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":89948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:58:00] local.INFO: GPS data processed {"connection_id":89948,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:58:00] local.INFO: Acknowledgment sent {"connection_id":89948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:58:03] local.INFO: TCP Data received {"connection_id":89949,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:58:03] local.INFO: Processing buffer {"connection_id":89949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 17:58:03] local.INFO: IMEI packet received {"connection_id":89949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":89949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:58:23] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:58:23] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:58:23] local.INFO: IMEI packet received {"connection_id":89678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":89678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:58:28] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:58:28] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:58:28] local.INFO: IMEI packet received {"connection_id":89678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":89678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:58:29] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:58:29] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88496d30012cb29ac007823b00004900d929..."} 
[2026-06-02 17:58:29] local.INFO: Packet analysis {"connection_id":89678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:58:29] local.INFO: Extracted packet for processing {"connection_id":89678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8849"} 
[2026-06-02 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783084288001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780402974000,"timestamp_ms":1780402974000,"timestamp_seconds":1780402974,"priority":1,"record_length":96,"hex_timestamp":"0000019e88496d30"} 
[2026-06-02 17:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:58: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-06-02 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 17:58: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-06-02 17:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:58:29] 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-06-02 17:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783084288001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783084288001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:58:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783084288001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":89678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:58:29] local.INFO: GPS data processed {"connection_id":89678,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:58:29] local.INFO: Acknowledgment sent {"connection_id":89678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:58:40] local.INFO: TCP Data received {"connection_id":91126,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:40] local.INFO: Processing buffer {"connection_id":91126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:40] local.INFO: IMEI packet received {"connection_id":91126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":91126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:58:42] local.INFO: TCP Data received {"connection_id":91126,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:42] local.INFO: Processing buffer {"connection_id":91126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:42] local.INFO: IMEI packet received {"connection_id":91126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":91126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:58:45] local.INFO: TCP Data received {"connection_id":91126,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:45] local.INFO: Processing buffer {"connection_id":91126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:58:45] local.INFO: IMEI packet received {"connection_id":91126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":91126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:58:46] local.INFO: TCP Data received {"connection_id":91126,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884d8410012d1a3ec0071f8200004000b32b..."} 
[2026-06-02 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884d8410012d1a3ec0071f8200004000b32b..."} 
[2026-06-02 17:58:46] local.INFO: Processing buffer {"connection_id":91126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884d8410012d1a3ec0071f8200004000b32b..."} 
[2026-06-02 17:58:46] local.INFO: Packet analysis {"connection_id":91126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884d"} 
[2026-06-02 17:58:46] local.INFO: Extracted packet for processing {"connection_id":91126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884d"} 
[2026-06-02 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":43,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783224576001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 17:58: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-06-02 17:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780403242000,"timestamp_ms":1780403242000,"timestamp_seconds":1780403242,"priority":1,"record_length":96,"hex_timestamp":"0000019e884d8410"} 
[2026-06-02 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-06-02 17:58: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-06-02 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 17:58:46] 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-06-02 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-06-02 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-06-02 17:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":91126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":91126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":91126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:58: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-06-02 17:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783224576001,"66":12645,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783224576001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:58:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 17:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783224576001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 17:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":91126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:58:46] local.INFO: GPS data processed {"connection_id":91126,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:58:46] local.INFO: Acknowledgment sent {"connection_id":91126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:59:00] local.INFO: TCP Data received {"connection_id":89678,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:59:00] local.INFO: Processing buffer {"connection_id":89678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:59:00] local.INFO: Packet analysis {"connection_id":89678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 17:59:00] local.INFO: Extracted packet for processing {"connection_id":89678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 17:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:59: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-06-02 17: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-06-02 17:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:59:00] 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-06-02 17:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:59:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":89678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:59:00] local.INFO: GPS data processed {"connection_id":89678,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:59:00] local.INFO: Acknowledgment sent {"connection_id":89678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:59:10] local.INFO: TCP Data received {"connection_id":90034,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:59:10] local.INFO: Processing buffer {"connection_id":90034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:59:10] local.INFO: IMEI packet received {"connection_id":90034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 17:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":90034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:59:15] local.INFO: TCP Data received {"connection_id":90034,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:59:15] local.INFO: Processing buffer {"connection_id":90034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 17:59:15] local.INFO: IMEI packet received {"connection_id":90034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 17:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":90034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:59:15] local.INFO: TCP Data received {"connection_id":90034,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884dd618012d1a3ec0071f8200004000b329..."} 
[2026-06-02 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884dd618012d1a3ec0071f8200004000b329..."} 
[2026-06-02 17:59:15] local.INFO: Processing buffer {"connection_id":90034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884dd618012d1a3ec0071f8200004000b329..."} 
[2026-06-02 17:59:15] local.INFO: Packet analysis {"connection_id":90034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884d"} 
[2026-06-02 17:59:15] local.INFO: Extracted packet for processing {"connection_id":90034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884d"} 
[2026-06-02 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 17:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783229952001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780403263000,"timestamp_ms":1780403263000,"timestamp_seconds":1780403263,"priority":1,"record_length":96,"hex_timestamp":"0000019e884dd618"} 
[2026-06-02 17:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 17:59:15] 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-06-02 17:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 17:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:59:15] 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-06-02 17:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783229952001,"66":12232,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783229952001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:59:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 17:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783229952001,"power":12232,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 17:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":90034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:59:15] local.INFO: GPS data processed {"connection_id":90034,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:59:15] local.INFO: Acknowledgment sent {"connection_id":90034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:59:23] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:59:23] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:59:23] local.INFO: IMEI packet received {"connection_id":89950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 17:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":89950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 17:59:28] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:59:28] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 17:59:28] local.INFO: IMEI packet received {"connection_id":89950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 17:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":89950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 17:59:29] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:59:29] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 17:59:29] local.INFO: Packet analysis {"connection_id":89950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 17:59:29] local.INFO: Extracted packet for processing {"connection_id":89950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 17: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-06-02 17:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 17:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 17:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 17: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":25,"data_length":795,"current_offset":136} 
[2026-06-02 17:59: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-06-02 17: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-06-02 17:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 17:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 17:59:29] 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-06-02 17:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 17:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 17:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 17:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 17:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 17:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:59:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 17:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 17:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 17:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 17:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":89950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:59:29] local.INFO: GPS data processed {"connection_id":89950,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:59:29] local.INFO: Acknowledgment sent {"connection_id":89950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 17:59:46] local.INFO: TCP Data received {"connection_id":90034,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e2820012d1a3ec0071f8200004000b329..."} 
[2026-06-02 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e2820012d1a3ec0071f8200004000b329..."} 
[2026-06-02 17:59:46] local.INFO: Processing buffer {"connection_id":90034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e2820012d1a3ec0071f8200004000b329..."} 
[2026-06-02 17:59:46] local.INFO: Packet analysis {"connection_id":90034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 17:59:46] local.INFO: Extracted packet for processing {"connection_id":90034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 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-06-02 17:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783235328001,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 17:59: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-06-02 17:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780403284000,"timestamp_ms":1780403284000,"timestamp_seconds":1780403284,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e2820"} 
[2026-06-02 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-06-02 17:59: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-06-02 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 17:59: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-06-02 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-06-02 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-06-02 17:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 17:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 17:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 17:59: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-06-02 17:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 17:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 17:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783235328001,"66":12526,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 17:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 17:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 17:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783235328001,"description":"Unknown IO ID 0"} 
[2026-06-02 17:59:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 17:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 17:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 17:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 17:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783235328001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":90034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 17:59:46] local.INFO: GPS data processed {"connection_id":90034,"processed":1,"errors":0,"total":1} 
[2026-06-02 17:59:46] local.INFO: Acknowledgment sent {"connection_id":90034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:00:00] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:00] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:00] local.INFO: Packet analysis {"connection_id":89950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:00] local.INFO: Extracted packet for processing {"connection_id":89950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 18:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:00: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-06-02 18:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:00:00] 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-06-02 18:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:00:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:00:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":89950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:00:00] local.INFO: GPS data processed {"connection_id":89950,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:00:00] local.INFO: Acknowledgment sent {"connection_id":89950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:00:06] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:06] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:06] local.INFO: IMEI packet received {"connection_id":89680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":89680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:00:10] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:10] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:10] local.INFO: IMEI packet received {"connection_id":89680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":89680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:00:15] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:15] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:00:15] local.INFO: IMEI packet received {"connection_id":89680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":89680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:00:15] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e7a28012d1a3ec0071f8200004000b32a..."} 
[2026-06-02 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e7a28012d1a3ec0071f8200004000b32a..."} 
[2026-06-02 18:00:15] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e7a28012d1a3ec0071f8200004000b32a..."} 
[2026-06-02 18:00:15] local.INFO: Packet analysis {"connection_id":89680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:15] local.INFO: Extracted packet for processing {"connection_id":89680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783240704001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780403305000,"timestamp_ms":1780403305000,"timestamp_seconds":1780403305,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e7a28"} 
[2026-06-02 18:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 18:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:00:15] 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-06-02 18:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783240704001,"66":12591,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783240704001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:00:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783240704001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":89680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:00:15] local.INFO: GPS data processed {"connection_id":89680,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:00:15] local.INFO: Acknowledgment sent {"connection_id":89680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:00:20] local.INFO: TCP Data received {"connection_id":89680,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884ecc30012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884ecc30012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:00:20] local.INFO: Processing buffer {"connection_id":89680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884ecc30012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:00:20] local.INFO: Packet analysis {"connection_id":89680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:20] local.INFO: Extracted packet for processing {"connection_id":89680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783246080001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00: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-06-02 18:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780403326000,"timestamp_ms":1780403326000,"timestamp_seconds":1780403326,"priority":1,"record_length":96,"hex_timestamp":"0000019e884ecc30"} 
[2026-06-02 18:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:00:20] 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-06-02 18: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-06-02 18:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:00:20] 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-06-02 18:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783246080001,"66":12558,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783246080001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:00:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783246080001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":89680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:00:20] local.INFO: GPS data processed {"connection_id":89680,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:00:20] local.INFO: Acknowledgment sent {"connection_id":89680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:00:28] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:00:28] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:00:28] local.INFO: IMEI packet received {"connection_id":90037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":90037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:00:31] local.INFO: TCP Data received {"connection_id":90036,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:00:31] local.INFO: Processing buffer {"connection_id":90036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:00:31] local.INFO: IMEI packet received {"connection_id":90036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":90036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:00:33] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:00:33] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:00:33] local.INFO: IMEI packet received {"connection_id":90037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":90037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:00:33] local.INFO: TCP Data received {"connection_id":90036,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88501838012d82980005d1e710000d00bc2b..."} 
[2026-06-02 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88501838012d82980005d1e710000d00bc2b..."} 
[2026-06-02 18:00:33] local.INFO: Processing buffer {"connection_id":90036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88501838012d82980005d1e710000d00bc2b..."} 
[2026-06-02 18:00:33] local.INFO: Packet analysis {"connection_id":90036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:00:33] local.INFO: Extracted packet for processing {"connection_id":90036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97642256,"longitude_deg":76.3533312,"latitude_deg":9.7642256,"altitude":13,"angle":188,"satellites":43,"speed":9,"hex_longitude":"2d829800","hex_latitude":"05d1e710","is_valid_coordinates":true} 
[2026-06-02 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783269376001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87994662895222784,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996066414592,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:33] 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-06-02 18:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780403411000,"timestamp_ms":1780403411000,"timestamp_seconds":1780403411,"priority":1,"record_length":96,"hex_timestamp":"0000019e88501838"} 
[2026-06-02 18:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 18:00:33] 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-06-02 18:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783269376001,"66":13189,"221":206,"85":15104,"24":9,"16":87994662895222784,"45":-9036542996066414592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783269376001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:00:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87994662895222784,"km_value":87994662895222.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996066414592,"description":"Unknown IO ID 45"} 
[2026-06-02 18:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783269376001,"power":13189,"unknown_221":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9036542996066414592}} 
[2026-06-02 18:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":90036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:00:33] local.INFO: GPS data processed {"connection_id":90036,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:00:33] local.INFO: Acknowledgment sent {"connection_id":90036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:00:34] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:34] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:34] local.INFO: Packet analysis {"connection_id":90037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:34] local.INFO: Extracted packet for processing {"connection_id":90037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 18:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:00:34] 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-06-02 18:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":90037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:00:34] local.INFO: GPS data processed {"connection_id":90037,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:00:34] local.INFO: Acknowledgment sent {"connection_id":90037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:00:38] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:38] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:00:38] local.INFO: Packet analysis {"connection_id":90037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:38] local.INFO: Extracted packet for processing {"connection_id":90037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 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-06-02 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 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-06-02 18:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:00:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:00:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":90037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:00:38] local.INFO: GPS data processed {"connection_id":90037,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:00:38] local.INFO: Acknowledgment sent {"connection_id":90037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:01:05] local.INFO: TCP Data received {"connection_id":90038,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:01:05] local.INFO: Processing buffer {"connection_id":90038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:01:05] local.INFO: IMEI packet received {"connection_id":90038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":90038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:01:06] local.INFO: TCP Data received {"connection_id":90036,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88502fa8012d82980005d1dcc0000e00b02b..."} 
[2026-06-02 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88502fa8012d82980005d1dcc0000e00b02b..."} 
[2026-06-02 18:01:06] local.INFO: Processing buffer {"connection_id":90036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88502fa8012d82980005d1dcc0000e00b02b..."} 
[2026-06-02 18:01:06] local.INFO: Packet analysis {"connection_id":90036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:01:06] local.INFO: Extracted packet for processing {"connection_id":90036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97639616,"longitude_deg":76.3533312,"latitude_deg":9.7639616,"altitude":14,"angle":176,"satellites":43,"speed":25,"hex_longitude":"2d829800","hex_latitude":"05d1dcc0","is_valid_coordinates":true} 
[2026-06-02 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783273216001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87994791744241664,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627322482688,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:06] 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-06-02 18:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780403417000,"timestamp_ms":1780403417000,"timestamp_seconds":1780403417,"priority":1,"record_length":96,"hex_timestamp":"0000019e88502fa8"} 
[2026-06-02 18:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-02 18:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783273216001,"66":13091,"221":206,"85":15104,"24":25,"16":87994791744241664,"45":-9036472627322482688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783273216001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:01:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87994791744241664,"km_value":87994791744241.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627322482688,"description":"Unknown IO ID 45"} 
[2026-06-02 18:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783273216001,"power":13091,"unknown_221":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9036472627322482688}} 
[2026-06-02 18:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":90036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:01:06] local.INFO: GPS data processed {"connection_id":90036,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:01:06] local.INFO: Acknowledgment sent {"connection_id":90036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:01:09] local.INFO: TCP Data received {"connection_id":90038,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:01:09] local.INFO: Processing buffer {"connection_id":90038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:01:09] local.INFO: IMEI packet received {"connection_id":90038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":90038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:01:10] local.INFO: TCP Data received {"connection_id":90038,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884f1e38012d1a3ec0071f8200004000b329..."} 
[2026-06-02 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884f1e38012d1a3ec0071f8200004000b329..."} 
[2026-06-02 18:01:10] local.INFO: Processing buffer {"connection_id":90038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884f1e38012d1a3ec0071f8200004000b329..."} 
[2026-06-02 18:01:10] local.INFO: Packet analysis {"connection_id":90038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884f"} 
[2026-06-02 18:01:10] local.INFO: Extracted packet for processing {"connection_id":90038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884f"} 
[2026-06-02 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783251456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780403347000,"timestamp_ms":1780403347000,"timestamp_seconds":1780403347,"priority":1,"record_length":96,"hex_timestamp":"0000019e884f1e38"} 
[2026-06-02 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-06-02 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286739456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249979075575382528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13465701,"corrected_to":0} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2181038144,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221692290,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2499674112,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,148,158,122,45,192,130,64,42,10,66,40,41,214,1,240,200,227,136,31,4,113,205,50,62,239,49,2,189,7,120,86,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":200,"original":13465701,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 18:01:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611883002807451648,"timestamp_seconds":4611883002807452.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 18:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:01:10] 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-06-02 18:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783251456001,"66":12558,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783251456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:01:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783251456001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":90038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:01:10] local.INFO: GPS data processed {"connection_id":90038,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:01:10] local.INFO: Acknowledgment sent {"connection_id":90038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:01:23] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:23] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:23] local.INFO: IMEI packet received {"connection_id":90040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":90040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:01:24] local.INFO: TCP Data received {"connection_id":90039,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:01:24] local.INFO: Processing buffer {"connection_id":90039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:01:24] local.INFO: IMEI packet received {"connection_id":90039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":90039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:01:28] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:28] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:28] local.INFO: IMEI packet received {"connection_id":90040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":90040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:01:28] local.INFO: TCP Data received {"connection_id":90039,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:01:28] local.INFO: Processing buffer {"connection_id":90039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:01:28] local.INFO: IMEI packet received {"connection_id":90039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":90039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:01:28] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:28] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:01:28] local.INFO: IMEI packet received {"connection_id":90040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":90040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:01:29] local.INFO: TCP Data received {"connection_id":90039,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:01:29] local.INFO: Processing buffer {"connection_id":90039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:01:29] local.INFO: Packet analysis {"connection_id":90039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:01:29] local.INFO: Extracted packet for processing {"connection_id":90039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:01: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-06-02 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":90039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:01:29] local.INFO: GPS data processed {"connection_id":90039,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:01:29] local.INFO: Acknowledgment sent {"connection_id":90039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:01:29] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88505e88012d82964005d1b8c8000d00b72e..."} 
[2026-06-02 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88505e88012d82964005d1b8c8000d00b72e..."} 
[2026-06-02 18:01:29] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88505e88012d82964005d1b8c8000d00b72e..."} 
[2026-06-02 18:01:29] local.INFO: Packet analysis {"connection_id":90040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:01:29] local.INFO: Extracted packet for processing {"connection_id":90040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97630408,"longitude_deg":76.3532864,"latitude_deg":9.7630408,"altitude":13,"angle":183,"satellites":46,"speed":33,"hex_longitude":"2d829640","hex_latitude":"05d1b8c8","is_valid_coordinates":true} 
[2026-06-02 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783274752001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87995238420840448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627323158528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:29] 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-06-02 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403429000,"timestamp_ms":1780403429000,"timestamp_seconds":1780403429,"priority":1,"record_length":96,"hex_timestamp":"0000019e88505e88"} 
[2026-06-02 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:01: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-06-02 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 18:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783274752001,"66":12961,"221":206,"85":15104,"24":33,"16":87995238420840448,"45":-9036472627323158528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783274752001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87995238420840448,"km_value":87995238420840.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627323158528,"description":"Unknown IO ID 45"} 
[2026-06-02 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783274752001,"power":12961,"unknown_221":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9036472627323158528}} 
[2026-06-02 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":90040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:01:29] local.INFO: GPS data processed {"connection_id":90040,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:01:29] local.INFO: Acknowledgment sent {"connection_id":90040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:01:35] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88509150012d82974005d195c8000c00ae2d..."} 
[2026-06-02 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88509150012d82974005d195c8000c00ae2d..."} 
[2026-06-02 18:01:35] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88509150012d82974005d195c8000c00ae2d..."} 
[2026-06-02 18:01:35] local.INFO: Packet analysis {"connection_id":90040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:01:35] local.INFO: Extracted packet for processing {"connection_id":90040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97621448,"longitude_deg":76.353312,"latitude_deg":9.7621448,"altitude":12,"angle":174,"satellites":45,"speed":29,"hex_longitude":"2d829740","hex_latitude":"05d195c8","is_valid_coordinates":true} 
[2026-06-02 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783277824001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87995672212537344,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208534759424,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:35] 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-06-02 18:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780403442000,"timestamp_ms":1780403442000,"timestamp_seconds":1780403442,"priority":1,"record_length":96,"hex_timestamp":"0000019e88509150"} 
[2026-06-02 18:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 18:01:35] 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-06-02 18:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783277824001,"66":13037,"221":206,"85":15104,"24":29,"16":87995672212537344,"45":-9036965208534759424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783277824001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87995672212537344,"km_value":87995672212537.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208534759424,"description":"Unknown IO ID 45"} 
[2026-06-02 18:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783277824001,"power":13037,"unknown_221":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9036965208534759424}} 
[2026-06-02 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":90040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:01:35] local.INFO: GPS data processed {"connection_id":90040,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:01:35] local.INFO: Acknowledgment sent {"connection_id":90040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:01:41] local.INFO: TCP Data received {"connection_id":90038,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884f7040012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884f7040012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:01:41] local.INFO: Processing buffer {"connection_id":90038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884f7040012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:01:41] local.INFO: Packet analysis {"connection_id":90038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884f"} 
[2026-06-02 18:01:41] local.INFO: Extracted packet for processing {"connection_id":90038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884f"} 
[2026-06-02 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783256832001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780403368000,"timestamp_ms":1780403368000,"timestamp_seconds":1780403368,"priority":1,"record_length":96,"hex_timestamp":"0000019e884f7040"} 
[2026-06-02 18:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286760456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249979075575382528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2181038144,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221692290,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2499674112,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 18:01:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,148,158,204,45,192,130,64,40,10,66,122,42,1,240,238,227,136,31,4,113,205,132,62,43,239,49,2,189,7,120,86,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 18:01:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611883007102418944,"timestamp_seconds":4611883007102419.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:01:41] 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-06-02 18:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783256832001,"66":12504,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783256832001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:01:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783256832001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":90038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:01:41] local.INFO: GPS data processed {"connection_id":90038,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:01:41] local.INFO: Acknowledgment sent {"connection_id":90038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:02:00] local.INFO: TCP Data received {"connection_id":90039,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:02:00] local.INFO: Processing buffer {"connection_id":90039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:02:00] local.INFO: Packet analysis {"connection_id":90039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:02:00] local.INFO: Extracted packet for processing {"connection_id":90039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:02:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 18:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:02: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-06-02 18:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:02: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-06-02 18:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:02:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":90039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:02:00] local.INFO: GPS data processed {"connection_id":90039,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:02:00] local.INFO: Acknowledgment sent {"connection_id":90039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:02:05] local.INFO: TCP Data received {"connection_id":90041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:02:05] local.INFO: Processing buffer {"connection_id":90041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:02:05] local.INFO: IMEI packet received {"connection_id":90041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":90041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:02:07] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88519af0012d83340005d151d8000400862e..."} 
[2026-06-02 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88519af0012d83340005d151d8000400862e..."} 
[2026-06-02 18:02:07] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88519af0012d83340005d151d8000400862e..."} 
[2026-06-02 18:02:07] local.INFO: Packet analysis {"connection_id":90040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:02:07] local.INFO: Extracted packet for processing {"connection_id":90040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604056,"longitude_deg":76.3573248,"latitude_deg":9.7604056,"altitude":4,"angle":134,"satellites":46,"speed":7,"hex_longitude":"2d833400","hex_latitude":"05d151d8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783297792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87998249192914944,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993406955895463936,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:07] 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-06-02 18:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780403510000,"timestamp_ms":1780403510000,"timestamp_seconds":1780403510,"priority":1,"record_length":96,"hex_timestamp":"0000019e88519af0"} 
[2026-06-02 18:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 18:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783297792001,"66":12917,"221":206,"85":15104,"24":7,"16":87998249192914944,"45":-8993406955895463936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783297792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87998249192914944,"km_value":87998249192914.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993406955895463936,"description":"Unknown IO ID 45"} 
[2026-06-02 18:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783297792001,"power":12917,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8993406955895463936}} 
[2026-06-02 18:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":90040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:02:07] local.INFO: GPS data processed {"connection_id":90040,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:02:07] local.INFO: Acknowledgment sent {"connection_id":90040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:02:10] local.INFO: TCP Data received {"connection_id":90041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:02:10] local.INFO: Processing buffer {"connection_id":90041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:02:10] local.INFO: IMEI packet received {"connection_id":90041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":90041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:02:11] local.INFO: TCP Data received {"connection_id":90041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e884fc248012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884fc248012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:02:11] local.INFO: Processing buffer {"connection_id":90041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884fc248012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:02:11] local.INFO: Packet analysis {"connection_id":90041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884f"} 
[2026-06-02 18:02:11] local.INFO: Extracted packet for processing {"connection_id":90041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884f"} 
[2026-06-02 18:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783262208001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780403389000,"timestamp_ms":1780403389000,"timestamp_seconds":1780403389,"priority":1,"record_length":96,"hex_timestamp":"0000019e884fc248"} 
[2026-06-02 18:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:02: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-06-02 18:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 18:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:02:11] 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-06-02 18:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783262208001,"66":12548,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783262208001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:02:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783262208001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":90041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:02:11] local.INFO: GPS data processed {"connection_id":90041,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:02:11] local.INFO: Acknowledgment sent {"connection_id":90041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:02:24] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:02:24] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:02:24] local.INFO: IMEI packet received {"connection_id":90042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":90042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:02:28] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:02:28] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:02:28] local.INFO: IMEI packet received {"connection_id":90042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":90042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:02:29] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:02:29] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:02:29] local.INFO: Packet analysis {"connection_id":90042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:02:29] local.INFO: Extracted packet for processing {"connection_id":90042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:02: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-06-02 18:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 18:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:02: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-06-02 18:02: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-06-02 18:02: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-06-02 18:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:02:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":90042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:02:29] local.INFO: GPS data processed {"connection_id":90042,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:02:29] local.INFO: Acknowledgment sent {"connection_id":90042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:02:42] local.INFO: TCP Data received {"connection_id":90041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88501450012d1a3ec0071f8200004000b325..."} 
[2026-06-02 18:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88501450012d1a3ec0071f8200004000b325..."} 
[2026-06-02 18:02:42] local.INFO: Processing buffer {"connection_id":90041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88501450012d1a3ec0071f8200004000b325..."} 
[2026-06-02 18:02:42] local.INFO: Packet analysis {"connection_id":90041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:02:42] local.INFO: Extracted packet for processing {"connection_id":90041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783267584001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780403410000,"timestamp_ms":1780403410000,"timestamp_seconds":1780403410,"priority":1,"record_length":96,"hex_timestamp":"0000019e88501450"} 
[2026-06-02 18:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2286802456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184176320717,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2181038144,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221692290,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2499674112,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:02:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,148,158,112,45,192,130,64,39,10,66,30,41,204,1,240,14,227,136,31,4,113,205,40,62,239,48,2,189,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 18:02:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611882998512484352,"timestamp_seconds":4611882998512484.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:02:42] 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-06-02 18:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783267584001,"66":12526,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783267584001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:02:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783267584001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":90041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:02:42] local.INFO: GPS data processed {"connection_id":90041,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:02:42] local.INFO: Acknowledgment sent {"connection_id":90041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:03:00] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:03:00] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:03:00] local.INFO: Packet analysis {"connection_id":90042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:03:00] local.INFO: Extracted packet for processing {"connection_id":90042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 18:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:03: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-06-02 18: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-06-02 18:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:03:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":90042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:03:00] local.INFO: GPS data processed {"connection_id":90042,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:03:00] local.INFO: Acknowledgment sent {"connection_id":90042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:03:05] local.INFO: TCP Data received {"connection_id":89953,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:05] local.INFO: Processing buffer {"connection_id":89953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:05] local.INFO: IMEI packet received {"connection_id":89953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":89953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:03:05] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:03:05] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:03:05] local.INFO: IMEI packet received {"connection_id":89682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":89682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:03:05] local.INFO: TCP Data received {"connection_id":89953,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:05] local.INFO: Processing buffer {"connection_id":89953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:05] local.INFO: IMEI packet received {"connection_id":89953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":89953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:03:06] local.INFO: TCP Data received {"connection_id":89953,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88519ed8012d83348005d15148000400942e..."} 
[2026-06-02 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88519ed8012d83348005d15148000400942e..."} 
[2026-06-02 18:03:06] local.INFO: Processing buffer {"connection_id":89953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88519ed8012d83348005d15148000400942e..."} 
[2026-06-02 18:03:06] local.INFO: Packet analysis {"connection_id":89953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:03:06] local.INFO: Extracted packet for processing {"connection_id":89953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97603912,"longitude_deg":76.3573376,"latitude_deg":9.7603912,"altitude":4,"angle":148,"satellites":46,"speed":7,"hex_longitude":"2d833480","hex_latitude":"05d15148","is_valid_coordinates":true} 
[2026-06-02 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783298560001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":87998257782849536,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965399552,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:06] 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-06-02 18:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780403511000,"timestamp_ms":1780403511000,"timestamp_seconds":1780403511,"priority":1,"record_length":96,"hex_timestamp":"0000019e88519ed8"} 
[2026-06-02 18:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 18:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783298560001,"66":12917,"221":206,"85":15104,"24":7,"16":87998257782849536,"45":-8992562530965399552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783298560001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":87998257782849536,"km_value":87998257782849.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965399552,"description":"Unknown IO ID 45"} 
[2026-06-02 18:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783298560001,"power":12917,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8992562530965399552}} 
[2026-06-02 18:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":89953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:03:06] local.INFO: GPS data processed {"connection_id":89953,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:03:06] local.INFO: Acknowledgment sent {"connection_id":89953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:03:10] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:03:10] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:03:10] local.INFO: IMEI packet received {"connection_id":89682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":89682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:03:11] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88506658012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88506658012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:03:11] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88506658012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:03:11] local.INFO: Packet analysis {"connection_id":89682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:03:11] local.INFO: Extracted packet for processing {"connection_id":89682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783272960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780403431000,"timestamp_ms":1780403431000,"timestamp_seconds":1780403431,"priority":1,"record_length":96,"hex_timestamp":"0000019e88506658"} 
[2026-06-02 18:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:03: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-06-02 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 18:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:03:11] 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-06-02 18:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783272960001,"66":12526,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783272960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:03:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783272960001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":89682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:03:11] local.INFO: GPS data processed {"connection_id":89682,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:03:11] local.INFO: Acknowledgment sent {"connection_id":89682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:03:23] local.INFO: TCP Data received {"connection_id":90044,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:03:23] local.INFO: Processing buffer {"connection_id":90044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:03:23] local.INFO: IMEI packet received {"connection_id":90044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":90044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:03:28] local.INFO: TCP Data received {"connection_id":90043,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:03:28] local.INFO: Processing buffer {"connection_id":90043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:03:28] local.INFO: IMEI packet received {"connection_id":90043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":90043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:03:28] local.INFO: TCP Data received {"connection_id":90044,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:03:28] local.INFO: Processing buffer {"connection_id":90044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:03:28] local.INFO: IMEI packet received {"connection_id":90044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":90044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:03:29] local.INFO: TCP Data received {"connection_id":90044,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:03:29] local.INFO: Processing buffer {"connection_id":90044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e884e04f8012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:03:29] local.INFO: Packet analysis {"connection_id":90044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:03:29] local.INFO: Extracted packet for processing {"connection_id":90044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e884e"} 
[2026-06-02 18:03:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783161344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403275000,"timestamp_ms":1780403275000,"timestamp_seconds":1780403275,"priority":1,"record_length":96,"hex_timestamp":"0000019e884e04f8"} 
[2026-06-02 18:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:03: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-06-02 18:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:03: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-06-02 18:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783161344001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783161344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:03:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783161344001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":90044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:03:29] local.INFO: GPS data processed {"connection_id":90044,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:03:29] local.INFO: Acknowledgment sent {"connection_id":90044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:03:33] local.INFO: TCP Data received {"connection_id":89683,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:33] local.INFO: Processing buffer {"connection_id":89683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:33] local.INFO: IMEI packet received {"connection_id":89683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":89683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:03:40] local.INFO: TCP Data received {"connection_id":89683,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:40] local.INFO: Processing buffer {"connection_id":89683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:03:40] local.INFO: IMEI packet received {"connection_id":89683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":89683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:03:41] local.INFO: TCP Data received {"connection_id":89683,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8852bc00012d82a5c005d161600005010d2a..."} 
[2026-06-02 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8852bc00012d82a5c005d161600005010d2a..."} 
[2026-06-02 18:03:41] local.INFO: Processing buffer {"connection_id":89683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8852bc00012d82a5c005d161600005010d2a..."} 
[2026-06-02 18:03:41] local.INFO: Packet analysis {"connection_id":89683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:03:41] local.INFO: Extracted packet for processing {"connection_id":89683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763536832,"raw_latitude":97608032,"longitude_deg":76.3536832,"latitude_deg":9.7608032,"altitude":5,"angle":269,"satellites":42,"speed":25,"hex_longitude":"2d82a5c0","hex_latitude":"05d16160","is_valid_coordinates":true} 
[2026-06-02 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315712001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88000074554015744,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024932153286373376,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:41] 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-06-02 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780403584000,"timestamp_ms":1780403584000,"timestamp_seconds":1780403584,"priority":1,"record_length":96,"hex_timestamp":"0000019e8852bc00"} 
[2026-06-02 18:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18: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-06-02 18:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 18:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315712001,"66":12885,"221":206,"85":15104,"24":25,"16":88000074554015744,"45":-9024932153286373376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315712001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:03:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88000074554015744,"km_value":88000074554015.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024932153286373376,"description":"Unknown IO ID 45"} 
[2026-06-02 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315712001,"power":12885,"unknown_221":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9024932153286373376}} 
[2026-06-02 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":89683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:03:41] local.INFO: GPS data processed {"connection_id":89683,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:03:41] local.INFO: Acknowledgment sent {"connection_id":89683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:03:42] local.INFO: TCP Data received {"connection_id":89682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8850b860012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8850b860012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:03:42] local.INFO: Processing buffer {"connection_id":89682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8850b860012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:03:42] local.INFO: Packet analysis {"connection_id":89682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:03:42] local.INFO: Extracted packet for processing {"connection_id":89682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8850"} 
[2026-06-02 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783278336001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780403452000,"timestamp_ms":1780403452000,"timestamp_seconds":1780403452,"priority":1,"record_length":96,"hex_timestamp":"0000019e8850b860"} 
[2026-06-02 18:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 18:03:42] 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-06-02 18:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:03:42] 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-06-02 18:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783278336001,"66":12526,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783278336001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:03:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783278336001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":89682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:03:42] local.INFO: GPS data processed {"connection_id":89682,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:03:42] local.INFO: Acknowledgment sent {"connection_id":89682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:04:00] local.INFO: TCP Data received {"connection_id":90044,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:04:00] local.INFO: Processing buffer {"connection_id":90044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:04:00] local.INFO: Packet analysis {"connection_id":90044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:04:00] local.INFO: Extracted packet for processing {"connection_id":90044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:04:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:04: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-06-02 18:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:04: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-06-02 18:04: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-06-02 18:04: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-06-02 18:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:04: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-06-02 18:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:04:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":90044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:04:00] local.INFO: GPS data processed {"connection_id":90044,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:04:00] local.INFO: Acknowledgment sent {"connection_id":90044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:04:03] local.INFO: TCP Data received {"connection_id":89954,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:04:03] local.INFO: Processing buffer {"connection_id":89954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:04:03] local.INFO: IMEI packet received {"connection_id":89954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":89954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:04:05] local.INFO: TCP Data received {"connection_id":91127,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:04:05] local.INFO: Processing buffer {"connection_id":91127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:04:05] local.INFO: IMEI packet received {"connection_id":91127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":91127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:04:10] local.INFO: TCP Data received {"connection_id":91127,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:04:10] local.INFO: Processing buffer {"connection_id":91127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:04:10] local.INFO: IMEI packet received {"connection_id":91127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":91127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:04:11] local.INFO: TCP Data received {"connection_id":91127,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88510a68012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88510a68012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:04:11] local.INFO: Processing buffer {"connection_id":91127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88510a68012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:04:11] local.INFO: Packet analysis {"connection_id":91127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:04:11] local.INFO: Extracted packet for processing {"connection_id":91127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783283712001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780403473000,"timestamp_ms":1780403473000,"timestamp_seconds":1780403473,"priority":1,"record_length":96,"hex_timestamp":"0000019e88510a68"} 
[2026-06-02 18:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:04: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-06-02 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 18:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:04:11] 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-06-02 18:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783283712001,"66":12504,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783283712001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:04:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783283712001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":91127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:04:11] local.INFO: GPS data processed {"connection_id":91127,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:04:11] local.INFO: Acknowledgment sent {"connection_id":91127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:04:23] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:04:23] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:04:23] local.INFO: IMEI packet received {"connection_id":89955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":89955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:04:24] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:24] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:24] local.INFO: IMEI packet received {"connection_id":89956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":89956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:04:27] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:27] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:27] local.INFO: IMEI packet received {"connection_id":89956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":89956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:04:28] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:04:28] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:04:28] local.INFO: IMEI packet received {"connection_id":89955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":89955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:04:29] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:04:29] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:04:29] local.INFO: Packet analysis {"connection_id":89955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:04:29] local.INFO: Extracted packet for processing {"connection_id":89955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:04: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-06-02 18: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-06-02 18:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:04:29] 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-06-02 18:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:04:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":89955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:04:29] local.INFO: GPS data processed {"connection_id":89955,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:04:29] local.INFO: Acknowledgment sent {"connection_id":89955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:04:29] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:29] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:04:29] local.INFO: IMEI packet received {"connection_id":89956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":89956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:04:32] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88537398012d82374005d16978000701292a..."} 
[2026-06-02 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88537398012d82374005d16978000701292a..."} 
[2026-06-02 18:04:32] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88537398012d82374005d16978000701292a..."} 
[2026-06-02 18:04:32] local.INFO: Packet analysis {"connection_id":89956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:04:32] local.INFO: Extracted packet for processing {"connection_id":89956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763508544,"raw_latitude":97610104,"longitude_deg":76.3508544,"latitude_deg":9.7610104,"altitude":7,"angle":297,"satellites":42,"speed":37,"hex_longitude":"2d823740","hex_latitude":"05d16978","is_valid_coordinates":true} 
[2026-06-02 18:04: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-06-02 18:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783329024001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88001500483158016,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061735006490683392,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1780403631000,"timestamp_ms":1780403631000,"timestamp_seconds":1780403631,"priority":1,"record_length":96,"hex_timestamp":"0000019e88537398"} 
[2026-06-02 18:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:04: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-06-02 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 18:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":89956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783329024001,"66":12917,"221":206,"85":15104,"24":37,"16":88001500483158016,"45":-9061735006490683392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783329024001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:04:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88001500483158016,"km_value":88001500483158.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061735006490683392,"description":"Unknown IO ID 45"} 
[2026-06-02 18:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783329024001,"power":12917,"unknown_221":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9061735006490683392}} 
[2026-06-02 18:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":89956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:04:32] local.INFO: GPS data processed {"connection_id":89956,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:04:32] local.INFO: Acknowledgment sent {"connection_id":89956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:04:35] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88538720012d82278005d171d00007011e2b..."} 
[2026-06-02 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88538720012d82278005d171d00007011e2b..."} 
[2026-06-02 18:04:35] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88538720012d82278005d171d00007011e2b..."} 
[2026-06-02 18:04:35] local.INFO: Packet analysis {"connection_id":89956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:04:35] local.INFO: Extracted packet for processing {"connection_id":89956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763504512,"raw_latitude":97612240,"longitude_deg":76.3504512,"latitude_deg":9.761224,"altitude":7,"angle":286,"satellites":43,"speed":37,"hex_longitude":"2d822780","hex_latitude":"05d171d0","is_valid_coordinates":true} 
[2026-06-02 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783329536001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88001719526490112,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063705331327469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:35] 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-06-02 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780403636000,"timestamp_ms":1780403636000,"timestamp_seconds":1780403636,"priority":1,"record_length":96,"hex_timestamp":"0000019e88538720"} 
[2026-06-02 18:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 18:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":89956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783329536001,"66":12950,"221":206,"85":15104,"24":37,"16":88001719526490112,"45":-9063705331327469568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783329536001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88001719526490112,"km_value":88001719526490.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063705331327469568,"description":"Unknown IO ID 45"} 
[2026-06-02 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783329536001,"power":12950,"unknown_221":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9063705331327469568}} 
[2026-06-02 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":89956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:04:35] local.INFO: GPS data processed {"connection_id":89956,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:04:35] local.INFO: Acknowledgment sent {"connection_id":89956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:04:42] local.INFO: TCP Data received {"connection_id":91127,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88515c70012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88515c70012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:04:42] local.INFO: Processing buffer {"connection_id":91127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88515c70012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:04:42] local.INFO: Packet analysis {"connection_id":91127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:04:42] local.INFO: Extracted packet for processing {"connection_id":91127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783289088001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780403494000,"timestamp_ms":1780403494000,"timestamp_seconds":1780403494,"priority":1,"record_length":96,"hex_timestamp":"0000019e88515c70"} 
[2026-06-02 18:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":216,"data_length":795,"current_offset":136} 
[2026-06-02 18:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:04:42] 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-06-02 18:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783289088001,"66":12461,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783289088001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:04:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783289088001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":91127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:04:42] local.INFO: GPS data processed {"connection_id":91127,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:04:42] local.INFO: Acknowledgment sent {"connection_id":91127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:05:00] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:05:00] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:05:00] local.INFO: Packet analysis {"connection_id":89955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:05:00] local.INFO: Extracted packet for processing {"connection_id":89955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:05:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:05: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-06-02 18: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-06-02 18:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18: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-06-02 18:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:05:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":89955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:05:00] local.INFO: GPS data processed {"connection_id":89955,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:05:00] local.INFO: Acknowledgment sent {"connection_id":89955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:05:05] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:05:05] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:05:05] local.INFO: IMEI packet received {"connection_id":89684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":89684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:05:06] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88544e58012d8178c005d18750000a00f828..."} 
[2026-06-02 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88544e58012d8178c005d18750000a00f828..."} 
[2026-06-02 18:05:06] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88544e58012d8178c005d18750000a00f828..."} 
[2026-06-02 18:05:06] local.INFO: Packet analysis {"connection_id":89956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:05:06] local.INFO: Extracted packet for processing {"connection_id":89956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763459776,"raw_latitude":97617744,"longitude_deg":76.3459776,"latitude_deg":9.7617744,"altitude":10,"angle":248,"satellites":40,"speed":33,"hex_longitude":"2d8178c0","hex_latitude":"05d18750","is_valid_coordinates":true} 
[2026-06-02 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783343360001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88003905664843776,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9115496727040165888,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:06] 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-06-02 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780403687000,"timestamp_ms":1780403687000,"timestamp_seconds":1780403687,"priority":1,"record_length":96,"hex_timestamp":"0000019e88544e58"} 
[2026-06-02 18:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783343360001,"66":13015,"221":206,"85":15104,"24":33,"16":88003905664843776,"45":-9115496727040165888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783343360001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:05:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88003905664843776,"km_value":88003905664843.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9115496727040165888,"description":"Unknown IO ID 45"} 
[2026-06-02 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783343360001,"power":13015,"unknown_221":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9115496727040165888}} 
[2026-06-02 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":89956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:05:06] local.INFO: GPS data processed {"connection_id":89956,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:05:06] local.INFO: Acknowledgment sent {"connection_id":89956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:05:10] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:05:10] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:05:10] local.INFO: IMEI packet received {"connection_id":89684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":89684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:05:11] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8851ae78012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8851ae78012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:05:11] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8851ae78012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:05:11] local.INFO: Packet analysis {"connection_id":89684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:05:11] local.INFO: Extracted packet for processing {"connection_id":89684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8851"} 
[2026-06-02 18:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783294464001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780403515000,"timestamp_ms":1780403515000,"timestamp_seconds":1780403515,"priority":1,"record_length":96,"hex_timestamp":"0000019e8851ae78"} 
[2026-06-02 18:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:05: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-06-02 18:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 18:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:05:11] 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-06-02 18:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783294464001,"66":12504,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783294464001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:05:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783294464001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":89684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:05:11] local.INFO: GPS data processed {"connection_id":89684,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:05:11] local.INFO: Acknowledgment sent {"connection_id":89684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:05:23] local.INFO: TCP Data received {"connection_id":91129,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:05:23] local.INFO: Processing buffer {"connection_id":91129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:05:23] local.INFO: IMEI packet received {"connection_id":91129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":91129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:05:28] local.INFO: TCP Data received {"connection_id":91129,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:05:28] local.INFO: Processing buffer {"connection_id":91129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:05:28] local.INFO: IMEI packet received {"connection_id":91129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":91129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:05:28] local.INFO: TCP Data received {"connection_id":90045,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:05:28] local.INFO: Processing buffer {"connection_id":90045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:05:28] local.INFO: IMEI packet received {"connection_id":90045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":90045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:05:29] local.INFO: TCP Data received {"connection_id":91129,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:05:29] local.INFO: Processing buffer {"connection_id":91129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:05:29] local.INFO: Packet analysis {"connection_id":91129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:05:29] local.INFO: Extracted packet for processing {"connection_id":91129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:05:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:05: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-06-02 18: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-06-02 18:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:05: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-06-02 18:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:05:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":91129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:05:29] local.INFO: GPS data processed {"connection_id":91129,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:05:29] local.INFO: Acknowledgment sent {"connection_id":91129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:05:34] local.INFO: TCP Data received {"connection_id":90045,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:05:34] local.INFO: Processing buffer {"connection_id":90045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:05:34] local.INFO: IMEI packet received {"connection_id":90045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":90045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:05:34] local.INFO: TCP Data received {"connection_id":90045,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88545df8012d816bc005d182f8000a010429..."} 
[2026-06-02 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88545df8012d816bc005d182f8000a010429..."} 
[2026-06-02 18:05:34] local.INFO: Processing buffer {"connection_id":90045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88545df8012d816bc005d182f8000a010429..."} 
[2026-06-02 18:05:34] local.INFO: Packet analysis {"connection_id":90045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:05:34] local.INFO: Extracted packet for processing {"connection_id":90045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763456448,"raw_latitude":97616632,"longitude_deg":76.3456448,"latitude_deg":9.7616632,"altitude":10,"angle":260,"satellites":41,"speed":32,"hex_longitude":"2d816bc0","hex_latitude":"05d182f8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783343872001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88004077463535616,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9117326314388893696,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:34] 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-06-02 18:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780403691000,"timestamp_ms":1780403691000,"timestamp_seconds":1780403691,"priority":1,"record_length":96,"hex_timestamp":"0000019e88545df8"} 
[2026-06-02 18:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-02 18:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783343872001,"66":12863,"221":206,"85":15104,"24":32,"16":88004077463535616,"45":-9117326314388893696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783343872001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:05:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88004077463535616,"km_value":88004077463535.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9117326314388893696,"description":"Unknown IO ID 45"} 
[2026-06-02 18:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783343872001,"power":12863,"unknown_221":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9117326314388893696}} 
[2026-06-02 18:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":90045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:05:35] local.INFO: GPS data processed {"connection_id":90045,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:05:35] local.INFO: Acknowledgment sent {"connection_id":90045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:05:35] local.INFO: TCP Data received {"connection_id":90045,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88546d98012d81648005d18278000a011028..."} 
[2026-06-02 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88546d98012d81648005d18278000a011028..."} 
[2026-06-02 18:05:35] local.INFO: Processing buffer {"connection_id":90045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88546d98012d81648005d18278000a011028..."} 
[2026-06-02 18:05:35] local.INFO: Packet analysis {"connection_id":90045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:05:35] local.INFO: Extracted packet for processing {"connection_id":90045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763454592,"raw_latitude":97616504,"longitude_deg":76.3454592,"latitude_deg":9.7616504,"altitude":10,"angle":272,"satellites":40,"speed":8,"hex_longitude":"2d816480","hex_latitude":"05d18278","is_valid_coordinates":true} 
[2026-06-02 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783344896001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88004163362881536,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120985489086416896,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:35] 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-06-02 18:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1780403695000,"timestamp_ms":1780403695000,"timestamp_seconds":1780403695,"priority":1,"record_length":96,"hex_timestamp":"0000019e88546d98"} 
[2026-06-02 18:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 18:05:35] 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-06-02 18:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":90045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":90045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":90045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783344896001,"66":12461,"221":206,"85":15104,"24":8,"16":88004163362881536,"45":-9120985489086416896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-02 18:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783344896001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:05:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-02 18:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88004163362881536,"km_value":88004163362881.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120985489086416896,"description":"Unknown IO ID 45"} 
[2026-06-02 18:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783344896001,"power":12461,"unknown_221":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9120985489086416896}} 
[2026-06-02 18:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":90045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:05:36] local.INFO: GPS data processed {"connection_id":90045,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:05:36] local.INFO: Acknowledgment sent {"connection_id":90045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:05:42] local.INFO: TCP Data received {"connection_id":89684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88520080012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88520080012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:05:42] local.INFO: Processing buffer {"connection_id":89684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88520080012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:05:42] local.INFO: Packet analysis {"connection_id":89684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:05:42] local.INFO: Extracted packet for processing {"connection_id":89684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783299840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780403536000,"timestamp_ms":1780403536000,"timestamp_seconds":1780403536,"priority":1,"record_length":96,"hex_timestamp":"0000019e88520080"} 
[2026-06-02 18:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 18:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:05:42] 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-06-02 18:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783299840001,"66":11450,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783299840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:05:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783299840001,"power":11450,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":89684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:05:42] local.INFO: GPS data processed {"connection_id":89684,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:05:42] local.INFO: Acknowledgment sent {"connection_id":89684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:00] local.INFO: TCP Data received {"connection_id":91129,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:00] local.INFO: Processing buffer {"connection_id":91129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:00] local.INFO: Packet analysis {"connection_id":91129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:00] local.INFO: Extracted packet for processing {"connection_id":91129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:06: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-06-02 18:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:06: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-06-02 18:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":91129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:00] local.INFO: GPS data processed {"connection_id":91129,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:00] local.INFO: Acknowledgment sent {"connection_id":91129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:07] local.INFO: TCP Data received {"connection_id":90045,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8854bbb8012d81570005d18380000a010f29..."} 
[2026-06-02 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8854bbb8012d81570005d18380000a010f29..."} 
[2026-06-02 18:06:07] local.INFO: Processing buffer {"connection_id":90045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8854bbb8012d81570005d18380000a010f29..."} 
[2026-06-02 18:06:07] local.INFO: Packet analysis {"connection_id":90045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:06:07] local.INFO: Extracted packet for processing {"connection_id":90045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763451136,"raw_latitude":97616768,"longitude_deg":76.3451136,"latitude_deg":9.7616768,"altitude":10,"angle":271,"satellites":41,"speed":22,"hex_longitude":"2d815700","hex_latitude":"05d18380","is_valid_coordinates":true} 
[2026-06-02 18:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783345920001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88004330866606080,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123026182667601920,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06: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-06-02 18:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780403715000,"timestamp_ms":1780403715000,"timestamp_seconds":1780403715,"priority":1,"record_length":96,"hex_timestamp":"0000019e8854bbb8"} 
[2026-06-02 18:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 18:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783345920001,"66":12906,"208":206,"85":15104,"24":22,"16":88004330866606080,"45":-9123026182667601920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 18:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783345920001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 18:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88004330866606080,"km_value":88004330866606.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123026182667601920,"description":"Unknown IO ID 45"} 
[2026-06-02 18:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783345920001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9123026182667601920}} 
[2026-06-02 18:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":90045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:07] local.INFO: GPS data processed {"connection_id":90045,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:07] local.INFO: Acknowledgment sent {"connection_id":90045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:10] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:06:10] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:06:10] local.INFO: IMEI packet received {"connection_id":89957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":89957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:06:15] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:06:15] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:06:15] local.INFO: IMEI packet received {"connection_id":89957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":89957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:06:15] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88525288012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88525288012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:06:15] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88525288012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:06:15] local.INFO: Packet analysis {"connection_id":89957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:15] local.INFO: Extracted packet for processing {"connection_id":89957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783305216001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780403557000,"timestamp_ms":1780403557000,"timestamp_seconds":1780403557,"priority":1,"record_length":96,"hex_timestamp":"0000019e88525288"} 
[2026-06-02 18:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-06-02 18:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:06:15] 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-06-02 18:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783305216001,"66":12461,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783305216001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783305216001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":89957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:15] local.INFO: GPS data processed {"connection_id":89957,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:15] local.INFO: Acknowledgment sent {"connection_id":89957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:20] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8852a490012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8852a490012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:06:20] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8852a490012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:06:20] local.INFO: Packet analysis {"connection_id":89957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:20] local.INFO: Extracted packet for processing {"connection_id":89957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783310592001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06: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-06-02 18:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780403578000,"timestamp_ms":1780403578000,"timestamp_seconds":1780403578,"priority":1,"record_length":96,"hex_timestamp":"0000019e8852a490"} 
[2026-06-02 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-06-02 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 18:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 18:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:06:20] 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-06-02 18:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783310592001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783310592001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783310592001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":89957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:20] local.INFO: GPS data processed {"connection_id":89957,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:20] local.INFO: Acknowledgment sent {"connection_id":89957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:23] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:23] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:23] local.INFO: IMEI packet received {"connection_id":90046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":90046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:06:23] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:23] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:23] local.INFO: IMEI packet received {"connection_id":90046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":90046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:06:26] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:26] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:06:26] local.INFO: IMEI packet received {"connection_id":90046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":90046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:06:28] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8854d328012d8148c005d184b00009011a28..."} 
[2026-06-02 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8854d328012d8148c005d184b00009011a28..."} 
[2026-06-02 18:06:28] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8854d328012d8148c005d184b00009011a28..."} 
[2026-06-02 18:06:28] local.INFO: Packet analysis {"connection_id":90046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:06:28] local.INFO: Extracted packet for processing {"connection_id":90046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763447488,"raw_latitude":97617072,"longitude_deg":76.3447488,"latitude_deg":9.7617072,"altitude":9,"angle":282,"satellites":40,"speed":28,"hex_longitude":"2d8148c0","hex_latitude":"05d184b0","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783351040001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88004506960265216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126826094853128192,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:28] 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-06-02 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780403721000,"timestamp_ms":1780403721000,"timestamp_seconds":1780403721,"priority":1,"record_length":96,"hex_timestamp":"0000019e8854d328"} 
[2026-06-02 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:06: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-06-02 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-02 18:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783351040001,"66":13059,"208":206,"85":15104,"24":28,"16":88004506960265216,"45":-9126826094853128192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783351040001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 18:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88004506960265216,"km_value":88004506960265.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126826094853128192,"description":"Unknown IO ID 45"} 
[2026-06-02 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783351040001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9126826094853128192}} 
[2026-06-02 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":90046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:28] local.INFO: GPS data processed {"connection_id":90046,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:28] local.INFO: Acknowledgment sent {"connection_id":90046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:28] local.INFO: TCP Data received {"connection_id":91130,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:06:28] local.INFO: Processing buffer {"connection_id":91130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:06:28] local.INFO: IMEI packet received {"connection_id":91130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":91130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:06:33] local.INFO: TCP Data received {"connection_id":91130,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:06:33] local.INFO: Processing buffer {"connection_id":91130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:06:33] local.INFO: IMEI packet received {"connection_id":91130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":91130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:06:34] local.INFO: TCP Data received {"connection_id":91130,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:34] local.INFO: Processing buffer {"connection_id":91130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:34] local.INFO: Packet analysis {"connection_id":91130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:34] local.INFO: Extracted packet for processing {"connection_id":91130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:06:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":91130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:34] local.INFO: GPS data processed {"connection_id":91130,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:34] local.INFO: Acknowledgment sent {"connection_id":91130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:38] local.INFO: TCP Data received {"connection_id":91130,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:38] local.INFO: Processing buffer {"connection_id":91130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:06:38] local.INFO: Packet analysis {"connection_id":91130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:38] local.INFO: Extracted packet for processing {"connection_id":91130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:06: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-06-02 18:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":91130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:38] local.INFO: GPS data processed {"connection_id":91130,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:38] local.INFO: Acknowledgment sent {"connection_id":91130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:06:58] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88563a88012d81178005d26ae80008013f2b..."} 
[2026-06-02 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88563a88012d81178005d26ae80008013f2b..."} 
[2026-06-02 18:06:58] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88563a88012d81178005d26ae80008013f2b..."} 
[2026-06-02 18:06:58] local.INFO: Packet analysis {"connection_id":90046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8856"} 
[2026-06-02 18:06:58] local.INFO: Extracted packet for processing {"connection_id":90046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8856"} 
[2026-06-02 18:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763434880,"raw_latitude":97676008,"longitude_deg":76.343488,"latitude_deg":9.7676008,"altitude":8,"angle":319,"satellites":43,"speed":19,"hex_longitude":"2d811780","hex_latitude":"05d26ae8","is_valid_coordinates":true} 
[2026-06-02 18:06: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-06-02 18:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783375872001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88008003063644160,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144347912138303488,"note":"Value kept but may cause issues"} 
[2026-06-02 18:06:58] 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-06-02 18:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1780403813000,"timestamp_ms":1780403813000,"timestamp_seconds":1780403813,"priority":1,"record_length":96,"hex_timestamp":"0000019e88563a88"} 
[2026-06-02 18:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:06: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-06-02 18:06: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":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 18:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:06: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-06-02 18:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":90046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":90046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":90046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783375872001,"66":11645,"208":206,"85":15104,"24":19,"16":88008003063644160,"45":-9144347912138303488},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 18:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783375872001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:06:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 18:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88008003063644160,"km_value":88008003063644.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144347912138303488,"description":"Unknown IO ID 45"} 
[2026-06-02 18:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783375872001,"power":11645,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9144347912138303488}} 
[2026-06-02 18:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":90046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:06:58] local.INFO: GPS data processed {"connection_id":90046,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:06:58] local.INFO: Acknowledgment sent {"connection_id":90046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:07:05] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:07:05] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:07:05] local.INFO: IMEI packet received {"connection_id":89686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":89686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:07:06] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:07:06] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:07:06] local.INFO: IMEI packet received {"connection_id":89686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":89686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:07:06] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8852f698012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8852f698012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:07:06] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8852f698012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:07:06] local.INFO: Packet analysis {"connection_id":89686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:07:06] local.INFO: Extracted packet for processing {"connection_id":89686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315968001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780403599000,"timestamp_ms":1780403599000,"timestamp_seconds":1780403599,"priority":1,"record_length":96,"hex_timestamp":"0000019e8852f698"} 
[2026-06-02 18:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 18:07:06] 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-06-02 18:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":89686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":89686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":89686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:07:06] 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-06-02 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315968001,"66":12461,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315968001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:07:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315968001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":89686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:07:06] local.INFO: GPS data processed {"connection_id":89686,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:07:06] local.INFO: Acknowledgment sent {"connection_id":89686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:07:22] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:22] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:22] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:07:23] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:07:23] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:07:23] local.INFO: IMEI packet received {"connection_id":90047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":90047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:07:23] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:23] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:23] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:07:26] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:26] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:07:26] local.INFO: IMEI packet received {"connection_id":89687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":89687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:07:26] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88563e70012d81160005d26c100008012e2b..."} 
[2026-06-02 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88563e70012d81160005d26c100008012e2b..."} 
[2026-06-02 18:07:26] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88563e70012d81160005d26c100008012e2b..."} 
[2026-06-02 18:07:26] local.INFO: Packet analysis {"connection_id":89687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8856"} 
[2026-06-02 18:07:26] local.INFO: Extracted packet for processing {"connection_id":89687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8856"} 
[2026-06-02 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763434496,"raw_latitude":97676304,"longitude_deg":76.3434496,"latitude_deg":9.7676304,"altitude":8,"angle":302,"satellites":43,"speed":19,"hex_longitude":"2d811600","hex_latitude":"05d26c10","is_valid_coordinates":true} 
[2026-06-02 18:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783376128001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88008024538480640,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144699755859089408,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07: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-06-02 18:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780403814000,"timestamp_ms":1780403814000,"timestamp_seconds":1780403814,"priority":1,"record_length":96,"hex_timestamp":"0000019e88563e70"} 
[2026-06-02 18:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:07: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-06-02 18:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-02 18:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783376128001,"66":12287,"208":206,"85":15104,"24":19,"16":88008024538480640,"45":-9144699755859089408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 18:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783376128001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:07:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 18:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88008024538480640,"km_value":88008024538480.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144699755859089408,"description":"Unknown IO ID 45"} 
[2026-06-02 18:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783376128001,"power":12287,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9144699755859089408}} 
[2026-06-02 18:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":89687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:07:26] local.INFO: GPS data processed {"connection_id":89687,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:07:26] local.INFO: Acknowledgment sent {"connection_id":89687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:07:28] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:07:28] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:07:28] local.INFO: IMEI packet received {"connection_id":90047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":90047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:07:29] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:07:29] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:07:29] local.INFO: Packet analysis {"connection_id":90047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:07:29] local.INFO: Extracted packet for processing {"connection_id":90047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:07:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:07: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-06-02 18: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-06-02 18:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:07:29] 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-06-02 18:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:07:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":90047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:07:29] local.INFO: GPS data processed {"connection_id":90047,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:07:29] local.INFO: Acknowledgment sent {"connection_id":90047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:07:38] local.INFO: TCP Data received {"connection_id":89686,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885348a0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885348a0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:07:38] local.INFO: Processing buffer {"connection_id":89686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885348a0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:07:38] local.INFO: Packet analysis {"connection_id":89686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:07:38] local.INFO: Extracted packet for processing {"connection_id":89686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783321344001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780403620000,"timestamp_ms":1780403620000,"timestamp_seconds":1780403620,"priority":1,"record_length":96,"hex_timestamp":"0000019e885348a0"} 
[2026-06-02 18:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:07: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-06-02 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 18:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:07:38] 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-06-02 18:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783321344001,"66":12439,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783321344001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:07:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783321344001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":89686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:07:38] local.INFO: GPS data processed {"connection_id":89686,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:07:38] local.INFO: Acknowledgment sent {"connection_id":89686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:07:57] local.INFO: TCP Data received {"connection_id":89687,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8856f220012d80cc0005d2bf38000401652b..."} 
[2026-06-02 18:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8856f220012d80cc0005d2bf38000401652b..."} 
[2026-06-02 18:07:57] local.INFO: Processing buffer {"connection_id":89687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8856f220012d80cc0005d2bf38000401652b..."} 
[2026-06-02 18:07:57] local.INFO: Packet analysis {"connection_id":89687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8856"} 
[2026-06-02 18:07:57] local.INFO: Extracted packet for processing {"connection_id":89687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8856"} 
[2026-06-02 18:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763415552,"raw_latitude":97697592,"longitude_deg":76.3415552,"latitude_deg":9.7697592,"altitude":4,"angle":357,"satellites":43,"speed":31,"hex_longitude":"2d80cc00","hex_latitude":"05d2bf38","is_valid_coordinates":true} 
[2026-06-02 18:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783387648001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88009648036118528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165880747851417600,"note":"Value kept but may cause issues"} 
[2026-06-02 18:07:57] 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-06-02 18:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1780403860000,"timestamp_ms":1780403860000,"timestamp_seconds":1780403860,"priority":1,"record_length":96,"hex_timestamp":"0000019e8856f220"} 
[2026-06-02 18:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:07: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-06-02 18:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 18:07:57] 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-06-02 18:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":89687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":89687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":89687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783387648001,"66":12026,"208":206,"85":15104,"24":31,"16":88009648036118528,"45":-9165880747851417600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 18:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783387648001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:07:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 18:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88009648036118528,"km_value":88009648036118.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165880747851417600,"description":"Unknown IO ID 45"} 
[2026-06-02 18:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783387648001,"power":12026,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9165880747851417600}} 
[2026-06-02 18:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":89687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:07:57] local.INFO: GPS data processed {"connection_id":89687,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:07:57] local.INFO: Acknowledgment sent {"connection_id":89687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:08:00] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:08:00] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:08:00] local.INFO: Packet analysis {"connection_id":90047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:08:00] local.INFO: Extracted packet for processing {"connection_id":90047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:08:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:08: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-06-02 18:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:08:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":90047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:08:00] local.INFO: GPS data processed {"connection_id":90047,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:08:00] local.INFO: Acknowledgment sent {"connection_id":90047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:08:05] local.INFO: TCP Data received {"connection_id":91131,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:08:05] local.INFO: Processing buffer {"connection_id":91131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:08:05] local.INFO: IMEI packet received {"connection_id":91131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":91131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:08:09] local.INFO: TCP Data received {"connection_id":91131,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:08:09] local.INFO: Processing buffer {"connection_id":91131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:08:09] local.INFO: IMEI packet received {"connection_id":91131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":91131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:08:10] local.INFO: TCP Data received {"connection_id":91131,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88539aa8012d1a3ec0071f8200004000b329..."} 
[2026-06-02 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88539aa8012d1a3ec0071f8200004000b329..."} 
[2026-06-02 18:08:10] local.INFO: Processing buffer {"connection_id":91131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88539aa8012d1a3ec0071f8200004000b329..."} 
[2026-06-02 18:08:10] local.INFO: Packet analysis {"connection_id":91131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:08:10] local.INFO: Extracted packet for processing {"connection_id":91131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783326720001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780403641000,"timestamp_ms":1780403641000,"timestamp_seconds":1780403641,"priority":1,"record_length":96,"hex_timestamp":"0000019e88539aa8"} 
[2026-06-02 18:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 18:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:08:10] 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-06-02 18:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783326720001,"66":12439,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783326720001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:08:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783326720001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":91131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:08:10] local.INFO: GPS data processed {"connection_id":91131,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:08:10] local.INFO: Acknowledgment sent {"connection_id":91131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:08:23] local.INFO: TCP Data received {"connection_id":91132,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:23] local.INFO: Processing buffer {"connection_id":91132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:23] local.INFO: IMEI packet received {"connection_id":91132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":91132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:08:23] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:08:23] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:08:23] local.INFO: IMEI packet received {"connection_id":89689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":89689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:08:27] local.INFO: TCP Data received {"connection_id":91132,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:27] local.INFO: Processing buffer {"connection_id":91132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:27] local.INFO: IMEI packet received {"connection_id":91132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":91132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:08:28] local.INFO: TCP Data received {"connection_id":91132,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:28] local.INFO: Processing buffer {"connection_id":91132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:08:28] local.INFO: IMEI packet received {"connection_id":91132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":91132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:08:28] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:08:28] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:08:28] local.INFO: IMEI packet received {"connection_id":89689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":89689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:08:29] local.INFO: TCP Data received {"connection_id":91132,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88571930012d80c9c005d2e4d80005016329..."} 
[2026-06-02 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88571930012d80c9c005d2e4d80005016329..."} 
[2026-06-02 18:08:29] local.INFO: Processing buffer {"connection_id":91132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88571930012d80c9c005d2e4d80005016329..."} 
[2026-06-02 18:08:29] local.INFO: Packet analysis {"connection_id":91132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:08:29] local.INFO: Extracted packet for processing {"connection_id":91132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763414976,"raw_latitude":97707224,"longitude_deg":76.3414976,"latitude_deg":9.7707224,"altitude":5,"angle":355,"satellites":41,"speed":31,"hex_longitude":"2d80c9c0","hex_latitude":"05d2e4d8","is_valid_coordinates":true} 
[2026-06-02 18:08: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-06-02 18:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783388160001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88010111892586496,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165951116595218432,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:29] 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-06-02 18:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403870000,"timestamp_ms":1780403870000,"timestamp_seconds":1780403870,"priority":1,"record_length":96,"hex_timestamp":"0000019e88571930"} 
[2026-06-02 18:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:08: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-06-02 18:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-02 18:08:29] 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-06-02 18:08: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-06-02 18:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783388160001,"66":12102,"208":206,"85":15104,"24":31,"16":88010111892586496,"45":-9165951116595218432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783388160001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88010111892586496,"km_value":88010111892586.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165951116595218432,"description":"Unknown IO ID 45"} 
[2026-06-02 18:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783388160001,"power":12102,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9165951116595218432}} 
[2026-06-02 18:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":91132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:08:29] local.INFO: GPS data processed {"connection_id":91132,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:08:29] local.INFO: Acknowledgment sent {"connection_id":91132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:08:29] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:08:29] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88529cc0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:08:29] local.INFO: Packet analysis {"connection_id":89689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:08:29] local.INFO: Extracted packet for processing {"connection_id":89689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8852"} 
[2026-06-02 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:08: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-06-02 18:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783238400001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403576000,"timestamp_ms":1780403576000,"timestamp_seconds":1780403576,"priority":1,"record_length":96,"hex_timestamp":"0000019e88529cc0"} 
[2026-06-02 18:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:08: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-06-02 18:08: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-06-02 18:08: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-06-02 18:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783238400001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783238400001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783238400001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":89689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:08:29] local.INFO: GPS data processed {"connection_id":89689,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:08:29] local.INFO: Acknowledgment sent {"connection_id":89689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:08:37] local.INFO: TCP Data received {"connection_id":91132,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88572cb8012d80c84005d2f118000501572b..."} 
[2026-06-02 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88572cb8012d80c84005d2f118000501572b..."} 
[2026-06-02 18:08:37] local.INFO: Processing buffer {"connection_id":91132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88572cb8012d80c84005d2f118000501572b..."} 
[2026-06-02 18:08:37] local.INFO: Packet analysis {"connection_id":91132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:08:37] local.INFO: Extracted packet for processing {"connection_id":91132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763414592,"raw_latitude":97710360,"longitude_deg":76.3414592,"latitude_deg":9.771036,"altitude":5,"angle":343,"satellites":43,"speed":22,"hex_longitude":"2d80c840","hex_latitude":"05d2f118","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783390720001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88010266511409152,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166584435290351616,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780403875000,"timestamp_ms":1780403875000,"timestamp_seconds":1780403875,"priority":1,"record_length":96,"hex_timestamp":"0000019e88572cb8"} 
[2026-06-02 18:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-02 18:08:37] 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-06-02 18: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-06-02 18:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":91132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":91132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":91132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783390720001,"66":11917,"208":206,"85":15104,"24":22,"16":88010266511409152,"45":-9166584435290351616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-02 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783390720001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:08:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-02 18:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88010266511409152,"km_value":88010266511409.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166584435290351616,"description":"Unknown IO ID 45"} 
[2026-06-02 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783390720001,"power":11917,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9166584435290351616}} 
[2026-06-02 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":91132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:08:37] local.INFO: GPS data processed {"connection_id":91132,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:08:37] local.INFO: Acknowledgment sent {"connection_id":91132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:08:41] local.INFO: TCP Data received {"connection_id":91131,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8853ecb0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8853ecb0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:08:41] local.INFO: Processing buffer {"connection_id":91131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8853ecb0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:08:41] local.INFO: Packet analysis {"connection_id":91131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:08:41] local.INFO: Extracted packet for processing {"connection_id":91131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8853"} 
[2026-06-02 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783332096001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780403662000,"timestamp_ms":1780403662000,"timestamp_seconds":1780403662,"priority":1,"record_length":96,"hex_timestamp":"0000019e8853ecb0"} 
[2026-06-02 18:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 18:08:41] 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-06-02 18:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:08:41] 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-06-02 18:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783332096001,"66":12461,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783332096001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:08:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783332096001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":91131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:08:41] local.INFO: GPS data processed {"connection_id":91131,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:08:41] local.INFO: Acknowledgment sent {"connection_id":91131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:09:00] local.INFO: TCP Data received {"connection_id":89689,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:09:00] local.INFO: Processing buffer {"connection_id":89689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:09:00] local.INFO: Packet analysis {"connection_id":89689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:00] local.INFO: Extracted packet for processing {"connection_id":89689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:09:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":89689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:09:00] local.INFO: GPS data processed {"connection_id":89689,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:09:00] local.INFO: Acknowledgment sent {"connection_id":89689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:09:05] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:09:05] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:09:05] local.INFO: IMEI packet received {"connection_id":90049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":90049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:09:08] local.INFO: TCP Data received {"connection_id":91132,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8857ec20012d80ac4005d36f900009012d2b..."} 
[2026-06-02 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8857ec20012d80ac4005d36f900009012d2b..."} 
[2026-06-02 18:09:08] local.INFO: Processing buffer {"connection_id":91132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8857ec20012d80ac4005d36f900009012d2b..."} 
[2026-06-02 18:09:08] local.INFO: Packet analysis {"connection_id":91132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:08] local.INFO: Extracted packet for processing {"connection_id":91132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763407424,"raw_latitude":97742736,"longitude_deg":76.3407424,"latitude_deg":9.7742736,"altitude":9,"angle":301,"satellites":43,"speed":10,"hex_longitude":"2d80ac40","hex_latitude":"05d36f90","is_valid_coordinates":true} 
[2026-06-02 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783404288001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88012199246692352,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174606472117551104,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:08] 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-06-02 18:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1780403924000,"timestamp_ms":1780403924000,"timestamp_seconds":1780403924,"priority":1,"record_length":96,"hex_timestamp":"0000019e8857ec20"} 
[2026-06-02 18:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 18:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":91132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":91132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":91132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783404288001,"66":12917,"207":206,"85":15104,"24":10,"16":88012199246692352,"45":-9174606472117551104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 18:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783404288001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:09:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 18:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88012199246692352,"km_value":88012199246692.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174606472117551104,"description":"Unknown IO ID 45"} 
[2026-06-02 18:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783404288001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9174606472117551104}} 
[2026-06-02 18:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":91132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:09:08] local.INFO: GPS data processed {"connection_id":91132,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:09:08] local.INFO: Acknowledgment sent {"connection_id":91132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:09:10] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:09:10] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:09:10] local.INFO: IMEI packet received {"connection_id":90049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":90049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:09:11] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88543eb8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88543eb8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:09:11] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88543eb8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:09:11] local.INFO: Packet analysis {"connection_id":90049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:09:11] local.INFO: Extracted packet for processing {"connection_id":90049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783337472001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780403683000,"timestamp_ms":1780403683000,"timestamp_seconds":1780403683,"priority":1,"record_length":96,"hex_timestamp":"0000019e88543eb8"} 
[2026-06-02 18:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 18:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:09:11] 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-06-02 18:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783337472001,"66":12461,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783337472001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:09:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783337472001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":90049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:09:11] local.INFO: GPS data processed {"connection_id":90049,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:09:11] local.INFO: Acknowledgment sent {"connection_id":90049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:09:23] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:09:23] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:09:23] local.INFO: IMEI packet received {"connection_id":90050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":90050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:09:23] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:23] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:23] local.INFO: IMEI packet received {"connection_id":89690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":89690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:09:24] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:24] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:24] local.INFO: IMEI packet received {"connection_id":89690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":89690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:09:28] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:09:28] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:09:28] local.INFO: IMEI packet received {"connection_id":90050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":90050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:09:28] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:28] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:09:28] local.INFO: IMEI packet received {"connection_id":89690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":89690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:09:29] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:09:29] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:09:29] local.INFO: Packet analysis {"connection_id":90050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:29] local.INFO: Extracted packet for processing {"connection_id":90050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:09: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-06-02 18: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-06-02 18:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:09:29] 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-06-02 18:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":90050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:09:29] local.INFO: GPS data processed {"connection_id":90050,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:09:29] local.INFO: Acknowledgment sent {"connection_id":90050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:09:29] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e8857f008012d80ab8005d37008000901222a..."} 
[2026-06-02 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8857f008012d80ab8005d37008000901222a..."} 
[2026-06-02 18:09:29] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8857f008012d80ab8005d37008000901222a..."} 
[2026-06-02 18:09:29] local.INFO: Packet analysis {"connection_id":89690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:29] local.INFO: Extracted packet for processing {"connection_id":89690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763407232,"raw_latitude":97742856,"longitude_deg":76.3407232,"latitude_deg":9.7742856,"altitude":9,"angle":290,"satellites":42,"speed":12,"hex_longitude":"2d80ab80","hex_latitude":"05d37008","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783404544001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88012212131594240,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174887947094224896,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:29] 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-06-02 18:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403925000,"timestamp_ms":1780403925000,"timestamp_seconds":1780403925,"priority":1,"record_length":96,"hex_timestamp":"0000019e8857f008"} 
[2026-06-02 18:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:09: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-06-02 18: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 18:09:29] 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-06-02 18: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-06-02 18:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783404544001,"66":12917,"207":206,"85":15104,"24":12,"16":88012212131594240,"45":-9174887947094224896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 18:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783404544001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88012212131594240,"km_value":88012212131594.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174887947094224896,"description":"Unknown IO ID 45"} 
[2026-06-02 18:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783404544001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9174887947094224896}} 
[2026-06-02 18:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":89690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:09:29] local.INFO: GPS data processed {"connection_id":89690,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:09:29] local.INFO: Acknowledgment sent {"connection_id":89690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:09:41] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885490c0012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885490c0012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:09:41] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885490c0012d1a3ec0071f8200004000b328..."} 
[2026-06-02 18:09:41] local.INFO: Packet analysis {"connection_id":90049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:09:41] local.INFO: Extracted packet for processing {"connection_id":90049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783342848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780403704000,"timestamp_ms":1780403704000,"timestamp_seconds":1780403704,"priority":1,"record_length":96,"hex_timestamp":"0000019e885490c0"} 
[2026-06-02 18:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 18:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:09:41] 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-06-02 18:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783342848001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783342848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:09:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783342848001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":90049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:09:42] local.INFO: GPS data processed {"connection_id":90049,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:09:42] local.INFO: Acknowledgment sent {"connection_id":90049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:10:00] local.INFO: TCP Data received {"connection_id":89690,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88583e28012d80940005d378100007011f2a..."} 
[2026-06-02 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88583e28012d80940005d378100007011f2a..."} 
[2026-06-02 18:10:00] local.INFO: Processing buffer {"connection_id":89690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88583e28012d80940005d378100007011f2a..."} 
[2026-06-02 18:10:00] local.INFO: Packet analysis {"connection_id":89690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8858"} 
[2026-06-02 18:10:00] local.INFO: Extracted packet for processing {"connection_id":89690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8858"} 
[2026-06-02 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763401216,"raw_latitude":97744912,"longitude_deg":76.3401216,"latitude_deg":9.7744912,"altitude":7,"angle":287,"satellites":42,"speed":21,"hex_longitude":"2d809400","hex_latitude":"05d37810","is_valid_coordinates":true} 
[2026-06-02 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783404800001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88012517074272256,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175099053326727168,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403945000,"timestamp_ms":1780403945000,"timestamp_seconds":1780403945,"priority":1,"record_length":96,"hex_timestamp":"0000019e88583e28"} 
[2026-06-02 18:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:10: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-06-02 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 18:10:00] 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-06-02 18:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783404800001,"66":12385,"207":206,"85":15104,"24":21,"16":88012517074272256,"45":-9175099053326727168},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-02 18:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783404800001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88012517074272256,"km_value":88012517074272.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175099053326727168,"description":"Unknown IO ID 45"} 
[2026-06-02 18:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783404800001,"power":12385,"unknown_207":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9175099053326727168}} 
[2026-06-02 18:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":89690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:10:00] local.INFO: GPS data processed {"connection_id":89690,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:10:00] local.INFO: Acknowledgment sent {"connection_id":89690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:10:00] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:00] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:00] local.INFO: Packet analysis {"connection_id":90050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:10:00] local.INFO: Extracted packet for processing {"connection_id":90050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:10:00] 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-06-02 18:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":90050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:10:00] local.INFO: GPS data processed {"connection_id":90050,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:10:00] local.INFO: Acknowledgment sent {"connection_id":90050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:10:03] local.INFO: TCP Data received {"connection_id":91133,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:10:03] local.INFO: Processing buffer {"connection_id":91133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:10:03] local.INFO: IMEI packet received {"connection_id":91133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":91133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:10:05] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:10:05] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:10:05] local.INFO: IMEI packet received {"connection_id":89959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":89959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:10:10] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:10:10] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:10:10] local.INFO: IMEI packet received {"connection_id":89959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":89959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:10:11] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8854e2c8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8854e2c8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:10:11] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8854e2c8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:10:11] local.INFO: Packet analysis {"connection_id":89959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:10:11] local.INFO: Extracted packet for processing {"connection_id":89959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8854"} 
[2026-06-02 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783348224001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780403725000,"timestamp_ms":1780403725000,"timestamp_seconds":1780403725,"priority":1,"record_length":96,"hex_timestamp":"0000019e8854e2c8"} 
[2026-06-02 18:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 18:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:10:11] 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-06-02 18:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783348224001,"66":12461,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783348224001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:10:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783348224001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":89959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:10:11] local.INFO: GPS data processed {"connection_id":89959,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:10:11] local.INFO: Acknowledgment sent {"connection_id":89959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:10:28] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:10:28] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:10:28] local.INFO: IMEI packet received {"connection_id":89960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":89960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:10:28] local.INFO: TCP Data received {"connection_id":89961,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:10:28] local.INFO: Processing buffer {"connection_id":89961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:10:28] local.INFO: IMEI packet received {"connection_id":89961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":89961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:10:32] local.INFO: TCP Data received {"connection_id":89961,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:10:32] local.INFO: Processing buffer {"connection_id":89961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:10:32] local.INFO: IMEI packet received {"connection_id":89961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":89961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:10:33] local.INFO: TCP Data received {"connection_id":89961,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88593ff8012d7feb4005d395c0000c010c2c..."} 
[2026-06-02 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88593ff8012d7feb4005d395c0000c010c2c..."} 
[2026-06-02 18:10:33] local.INFO: Processing buffer {"connection_id":89961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88593ff8012d7feb4005d395c0000c010c2c..."} 
[2026-06-02 18:10:33] local.INFO: Packet analysis {"connection_id":89961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:10:33] local.INFO: Extracted packet for processing {"connection_id":89961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763358016,"raw_latitude":97752512,"longitude_deg":76.3358016,"latitude_deg":9.7752512,"altitude":12,"angle":268,"satellites":44,"speed":32,"hex_longitude":"2d7feb40","hex_latitude":"05d395c0","is_valid_coordinates":true} 
[2026-06-02 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783423232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88014728982429696,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218938780946849792,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780404011000,"timestamp_ms":1780404011000,"timestamp_seconds":1780404011,"priority":1,"record_length":96,"hex_timestamp":"0000019e88593ff8"} 
[2026-06-02 18:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:10: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-06-02 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899430,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":167,"raw_value":58077557095399447,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2287515456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151514117,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2277507079,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3221607299,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2950627328,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3548522496,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,167,85,24,241,157,16,176,158,226,45,149,8,42,10,66,222,40,214,1,240,220,227,136,211,4,113,205,25,187,63,168,239,51,2,56,5,6,23],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-06-02 18:10:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792931678164680704,"timestamp_seconds":792931678164680.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783423232001,"66":12037,"167":206,"85":15104,"24":32,"16":88014728982429696,"45":-9218938780946849792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-02 18:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783423232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:10:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-02 18:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88014728982429696,"km_value":88014728982429.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218938780946849792,"description":"Unknown IO ID 45"} 
[2026-06-02 18:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783423232001,"power":12037,"unknown_167":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9218938780946849792}} 
[2026-06-02 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":89961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:10:33] local.INFO: GPS data processed {"connection_id":89961,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:10:33] local.INFO: Acknowledgment sent {"connection_id":89961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:10:33] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:10:33] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:10:33] local.INFO: IMEI packet received {"connection_id":89960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":89960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:10:34] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:34] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:34] local.INFO: Packet analysis {"connection_id":89960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:10:34] local.INFO: Extracted packet for processing {"connection_id":89960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:10:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:10:34] 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-06-02 18:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:10:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":89960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:10:34] local.INFO: GPS data processed {"connection_id":89960,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:10:34] local.INFO: Acknowledgment sent {"connection_id":89960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:10:38] local.INFO: TCP Data received {"connection_id":89960,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:38] local.INFO: Processing buffer {"connection_id":89960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:10:38] local.INFO: Packet analysis {"connection_id":89960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:10:38] local.INFO: Extracted packet for processing {"connection_id":89960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:10:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":89960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:10:39] local.INFO: GPS data processed {"connection_id":89960,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:10:39] local.INFO: Acknowledgment sent {"connection_id":89960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:10:42] local.INFO: TCP Data received {"connection_id":89959,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88586920012d1a3ec0071f8200004000b321..."} 
[2026-06-02 18:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88586920012d1a3ec0071f8200004000b321..."} 
[2026-06-02 18:10:42] local.INFO: Processing buffer {"connection_id":89959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88586920012d1a3ec0071f8200004000b321..."} 
[2026-06-02 18:10:42] local.INFO: Packet analysis {"connection_id":89959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8858"} 
[2026-06-02 18:10:42] local.INFO: Extracted packet for processing {"connection_id":89959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8858"} 
[2026-06-02 18:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":33,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783407360001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780403956000,"timestamp_ms":1780403956000,"timestamp_seconds":1780403956,"priority":1,"record_length":96,"hex_timestamp":"0000019e88586920"} 
[2026-06-02 18:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:10:42] 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-06-02 18:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783407360001,"66":11417,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783407360001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:10:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783407360001,"power":11417,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":89959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:10:42] local.INFO: GPS data processed {"connection_id":89959,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:10:42] local.INFO: Acknowledgment sent {"connection_id":89959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:11:04] local.INFO: TCP Data received {"connection_id":89961,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88596708012d7fc80005d394b8000c010b2d..."} 
[2026-06-02 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88596708012d7fc80005d394b8000c010b2d..."} 
[2026-06-02 18:11:04] local.INFO: Processing buffer {"connection_id":89961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88596708012d7fc80005d394b8000c010b2d..."} 
[2026-06-02 18:11:04] local.INFO: Packet analysis {"connection_id":89961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:11:04] local.INFO: Extracted packet for processing {"connection_id":89961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763348992,"raw_latitude":97752248,"longitude_deg":76.3348992,"latitude_deg":9.7752248,"altitude":12,"angle":267,"satellites":45,"speed":37,"hex_longitude":"2d7fc800","hex_latitude":"05d394b8","is_valid_coordinates":true} 
[2026-06-02 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783426816001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88015158479159296,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217531456112672768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780404021000,"timestamp_ms":1780404021000,"timestamp_seconds":1780404021,"priority":1,"record_length":96,"hex_timestamp":"0000019e88596708"} 
[2026-06-02 18:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18: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-06-02 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2287516456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151153669,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2459959304,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6438176256109641704,"corrected_to":0} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":194,"raw_value":4160826752,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147865479,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2951479296,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3205533791703450328,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195111680,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,167,85,24,241,157,16,176,158,9,45,192,151,11,41,10,66,226,149,8,42,222,1,240,35,227,136,211,4,113,205,21,194,61,239,50,2,56,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-6438176256109641704,"validated":0}]} 
[2026-06-02 18:11:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864985986552037376,"timestamp_seconds":864985986552037.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":89961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":89961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":89961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783426816001,"66":12917,"167":206,"85":15104,"24":37,"16":88015158479159296,"45":9217531456112672768},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-02 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783426816001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:11:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-02 18:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88015158479159296,"km_value":88015158479159.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217531456112672768,"description":"Unknown IO ID 45"} 
[2026-06-02 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783426816001,"power":12917,"unknown_167":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9217531456112672768}} 
[2026-06-02 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":89961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:11:04] local.INFO: GPS data processed {"connection_id":89961,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:11:04] local.INFO: Acknowledgment sent {"connection_id":89961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:11:05] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:11:05] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:11:05] local.INFO: IMEI packet received {"connection_id":89692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":89692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:11:10] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:11:10] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:11:10] local.INFO: IMEI packet received {"connection_id":89692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":89692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:11:11] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8858bb28012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8858bb28012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:11:11] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8858bb28012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:11:11] local.INFO: Packet analysis {"connection_id":89692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8858"} 
[2026-06-02 18:11:11] local.INFO: Extracted packet for processing {"connection_id":89692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8858"} 
[2026-06-02 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783412736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780403977000,"timestamp_ms":1780403977000,"timestamp_seconds":1780403977,"priority":1,"record_length":96,"hex_timestamp":"0000019e8858bb28"} 
[2026-06-02 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-06-02 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 18:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 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-06-02 18:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:11:11] 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-06-02 18:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783412736001,"66":11384,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783412736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:11:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783412736001,"power":11384,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":89692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:11:11] local.INFO: GPS data processed {"connection_id":89692,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:11:11] local.INFO: Acknowledgment sent {"connection_id":89692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:11:23] local.INFO: TCP Data received {"connection_id":90051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:23] local.INFO: Processing buffer {"connection_id":90051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:23] local.INFO: IMEI packet received {"connection_id":90051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":90051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:11:23] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:11:23] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:11:23] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:11:24] local.INFO: TCP Data received {"connection_id":90051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:24] local.INFO: Processing buffer {"connection_id":90051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:24] local.INFO: IMEI packet received {"connection_id":90051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":90051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:11:25] local.INFO: TCP Data received {"connection_id":90051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:25] local.INFO: Processing buffer {"connection_id":90051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:25] local.INFO: IMEI packet received {"connection_id":90051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":90051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:11:27] local.INFO: TCP Data received {"connection_id":90051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:27] local.INFO: Processing buffer {"connection_id":90051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:11:27] local.INFO: IMEI packet received {"connection_id":90051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":90051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:11:28] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:11:28] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:11:28] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:11:29] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:11:29] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:11:29] local.INFO: Packet analysis {"connection_id":89962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:11:29] local.INFO: Extracted packet for processing {"connection_id":89962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:11: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-06-02 18: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-06-02 18:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:11:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":89962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:11:29] local.INFO: GPS data processed {"connection_id":89962,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:11:29] local.INFO: Acknowledgment sent {"connection_id":89962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:11:33] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:11:33] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:11:33] local.INFO: Packet analysis {"connection_id":89962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:11:33] local.INFO: Extracted packet for processing {"connection_id":89962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:11:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:11:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":89962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:11:33] local.INFO: GPS data processed {"connection_id":89962,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:11:33] local.INFO: Acknowledgment sent {"connection_id":89962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:11:42] local.INFO: TCP Data received {"connection_id":89692,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88590d30012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88590d30012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:11:42] local.INFO: Processing buffer {"connection_id":89692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88590d30012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:11:42] local.INFO: Packet analysis {"connection_id":89692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:11:42] local.INFO: Extracted packet for processing {"connection_id":89692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783418112001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780403998000,"timestamp_ms":1780403998000,"timestamp_seconds":1780403998,"priority":1,"record_length":96,"hex_timestamp":"0000019e88590d30"} 
[2026-06-02 18:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-06-02 18:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:11:42] 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-06-02 18:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783418112001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783418112001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:11:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783418112001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":89692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:11:42] local.INFO: GPS data processed {"connection_id":89692,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:11:42] local.INFO: Acknowledgment sent {"connection_id":89692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:12:05] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:12:05] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:12:05] local.INFO: Packet analysis {"connection_id":89962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:12:05] local.INFO: Extracted packet for processing {"connection_id":89962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 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-06-02 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 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-06-02 18:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":89962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:12:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":89962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:12:05] local.INFO: GPS data processed {"connection_id":89962,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:12:05] local.INFO: Acknowledgment sent {"connection_id":89962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:12:10] local.INFO: TCP Data received {"connection_id":89693,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:12:10] local.INFO: Processing buffer {"connection_id":89693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:12:10] local.INFO: IMEI packet received {"connection_id":89693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":89693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:12:15] local.INFO: TCP Data received {"connection_id":89693,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:12:15] local.INFO: Processing buffer {"connection_id":89693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:12:15] local.INFO: IMEI packet received {"connection_id":89693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":89693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:12:15] local.INFO: TCP Data received {"connection_id":89693,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88595f38012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88595f38012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:12:15] local.INFO: Processing buffer {"connection_id":89693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88595f38012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:12:15] local.INFO: Packet analysis {"connection_id":89693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:12:15] local.INFO: Extracted packet for processing {"connection_id":89693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783423488001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780404019000,"timestamp_ms":1780404019000,"timestamp_seconds":1780404019,"priority":1,"record_length":96,"hex_timestamp":"0000019e88595f38"} 
[2026-06-02 18:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 18:12:15] 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-06-02 18:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:12:15] 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-06-02 18:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783423488001,"66":12374,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783423488001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:12:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783423488001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":89693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:12:15] local.INFO: GPS data processed {"connection_id":89693,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:12:15] local.INFO: Acknowledgment sent {"connection_id":89693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:12:20] local.INFO: TCP Data received {"connection_id":89693,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8859b140012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8859b140012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:12:20] local.INFO: Processing buffer {"connection_id":89693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8859b140012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:12:20] local.INFO: Packet analysis {"connection_id":89693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:12:20] local.INFO: Extracted packet for processing {"connection_id":89693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8859"} 
[2026-06-02 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783428864001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12: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-06-02 18:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780404040000,"timestamp_ms":1780404040000,"timestamp_seconds":1780404040,"priority":1,"record_length":96,"hex_timestamp":"0000019e8859b140"} 
[2026-06-02 18:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 18:12:20] 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-06-02 18:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:12:20] 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-06-02 18:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783428864001,"66":12428,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783428864001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:12:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783428864001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":89693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:12:20] local.INFO: GPS data processed {"connection_id":89693,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:12:20] local.INFO: Acknowledgment sent {"connection_id":89693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:12:23] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:12:23] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:12:23] local.INFO: IMEI packet received {"connection_id":89964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":89964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:12:28] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:12:28] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:12:28] local.INFO: IMEI packet received {"connection_id":89964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":89964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:12:29] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:12:29] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:12:29] local.INFO: Packet analysis {"connection_id":89964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:12:29] local.INFO: Extracted packet for processing {"connection_id":89964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:12: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-06-02 18:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:12:29] 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-06-02 18:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:12:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":89964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:12:29] local.INFO: GPS data processed {"connection_id":89964,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:12:29] local.INFO: Acknowledgment sent {"connection_id":89964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:13:00] local.INFO: TCP Data received {"connection_id":89964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:13:00] local.INFO: Processing buffer {"connection_id":89964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:13:00] local.INFO: Packet analysis {"connection_id":89964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:13:00] local.INFO: Extracted packet for processing {"connection_id":89964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:13:00] 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-06-02 18:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:13:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":89964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:13:00] local.INFO: GPS data processed {"connection_id":89964,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:13:00] local.INFO: Acknowledgment sent {"connection_id":89964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:13:03] local.INFO: TCP Data received {"connection_id":89695,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:03] local.INFO: Processing buffer {"connection_id":89695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:03] local.INFO: IMEI packet received {"connection_id":89695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":89695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:13:05] local.INFO: TCP Data received {"connection_id":89695,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:05] local.INFO: Processing buffer {"connection_id":89695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:05] local.INFO: IMEI packet received {"connection_id":89695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":89695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:13:10] local.INFO: TCP Data received {"connection_id":89695,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:10] local.INFO: Processing buffer {"connection_id":89695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:13:10] local.INFO: IMEI packet received {"connection_id":89695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":89695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:13:11] local.INFO: TCP Data received {"connection_id":89695,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885a0348012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885a0348012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:13:11] local.INFO: Processing buffer {"connection_id":89695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885a0348012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:13:11] local.INFO: Packet analysis {"connection_id":89695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:13:11] local.INFO: Extracted packet for processing {"connection_id":89695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783434240001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404061000,"timestamp_ms":1780404061000,"timestamp_seconds":1780404061,"priority":1,"record_length":96,"hex_timestamp":"0000019e885a0348"} 
[2026-06-02 18:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:13:11] 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-06-02 18:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783434240001,"66":12428,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783434240001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:13:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783434240001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":89695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:13:11] local.INFO: GPS data processed {"connection_id":89695,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:13:11] local.INFO: Acknowledgment sent {"connection_id":89695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:13:23] local.INFO: TCP Data received {"connection_id":91134,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:13:23] local.INFO: Processing buffer {"connection_id":91134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:13:23] local.INFO: IMEI packet received {"connection_id":91134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":91134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:13:28] local.INFO: TCP Data received {"connection_id":91134,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:13:28] local.INFO: Processing buffer {"connection_id":91134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:13:28] local.INFO: IMEI packet received {"connection_id":91134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":91134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:13:29] local.INFO: TCP Data received {"connection_id":91134,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:13:29] local.INFO: Processing buffer {"connection_id":91134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88573488012cb29ac007823b00004900d92a..."} 
[2026-06-02 18:13:29] local.INFO: Packet analysis {"connection_id":91134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:13:29] local.INFO: Extracted packet for processing {"connection_id":91134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8857"} 
[2026-06-02 18:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783315456001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780403877000,"timestamp_ms":1780403877000,"timestamp_seconds":1780403877,"priority":1,"record_length":96,"hex_timestamp":"0000019e88573488"} 
[2026-06-02 18:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:13: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-06-02 18:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:13:29] 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-06-02 18:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783315456001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783315456001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783315456001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":91134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:13:29] local.INFO: GPS data processed {"connection_id":91134,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:13:29] local.INFO: Acknowledgment sent {"connection_id":91134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:13:42] local.INFO: TCP Data received {"connection_id":89695,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885a5550012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885a5550012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:13:42] local.INFO: Processing buffer {"connection_id":89695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885a5550012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:13:42] local.INFO: Packet analysis {"connection_id":89695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:13:42] local.INFO: Extracted packet for processing {"connection_id":89695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783439616001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780404082000,"timestamp_ms":1780404082000,"timestamp_seconds":1780404082,"priority":1,"record_length":96,"hex_timestamp":"0000019e885a5550"} 
[2026-06-02 18:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:13:42] 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-06-02 18:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783439616001,"66":12428,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783439616001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:13:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783439616001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":89695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:13:42] local.INFO: GPS data processed {"connection_id":89695,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:13:42] local.INFO: Acknowledgment sent {"connection_id":89695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:14:00] local.INFO: TCP Data received {"connection_id":91134,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:14:00] local.INFO: Processing buffer {"connection_id":91134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:14:00] local.INFO: Packet analysis {"connection_id":91134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:14:00] local.INFO: Extracted packet for processing {"connection_id":91134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:14:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:14:00] 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-06-02 18:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:14:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":91134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:14:00] local.INFO: GPS data processed {"connection_id":91134,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:14:00] local.INFO: Acknowledgment sent {"connection_id":91134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:14:05] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:05] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:05] local.INFO: IMEI packet received {"connection_id":89696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":89696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:14:06] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:06] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:06] local.INFO: IMEI packet received {"connection_id":89696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":89696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:14:10] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:10] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:14:10] local.INFO: IMEI packet received {"connection_id":89696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":89696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:14:11] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885aa758012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885aa758012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:14:11] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885aa758012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:14:11] local.INFO: Packet analysis {"connection_id":89696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:14:11] local.INFO: Extracted packet for processing {"connection_id":89696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783444992001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404103000,"timestamp_ms":1780404103000,"timestamp_seconds":1780404103,"priority":1,"record_length":96,"hex_timestamp":"0000019e885aa758"} 
[2026-06-02 18:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:14:11] 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-06-02 18:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783444992001,"66":12428,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783444992001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:14:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783444992001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":89696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:14:11] local.INFO: GPS data processed {"connection_id":89696,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:14:11] local.INFO: Acknowledgment sent {"connection_id":89696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:14:23] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:14:23] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:14:23] local.INFO: IMEI packet received {"connection_id":89965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":89965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:14:28] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:14:28] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:14:28] local.INFO: IMEI packet received {"connection_id":89965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":89965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:14:29] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:14:29] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:14:29] local.INFO: Packet analysis {"connection_id":89965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:14:29] local.INFO: Extracted packet for processing {"connection_id":89965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:14:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:14: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-06-02 18: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-06-02 18:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:14: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-06-02 18:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:14:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:14:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":89965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:14:29] local.INFO: GPS data processed {"connection_id":89965,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:14:29] local.INFO: Acknowledgment sent {"connection_id":89965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:14:42] local.INFO: TCP Data received {"connection_id":89696,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885af960012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885af960012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:14:42] local.INFO: Processing buffer {"connection_id":89696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885af960012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:14:42] local.INFO: Packet analysis {"connection_id":89696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:14:42] local.INFO: Extracted packet for processing {"connection_id":89696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885a"} 
[2026-06-02 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783450368001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780404124000,"timestamp_ms":1780404124000,"timestamp_seconds":1780404124,"priority":1,"record_length":96,"hex_timestamp":"0000019e885af960"} 
[2026-06-02 18:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:14:42] 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-06-02 18:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783450368001,"66":12428,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783450368001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:14:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783450368001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":89696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:14:42] local.INFO: GPS data processed {"connection_id":89696,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:14:42] local.INFO: Acknowledgment sent {"connection_id":89696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:15:00] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:15:00] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:15:00] local.INFO: Packet analysis {"connection_id":89965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:00] local.INFO: Extracted packet for processing {"connection_id":89965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:15: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-06-02 18:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:15:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:15:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":89965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:15:00] local.INFO: GPS data processed {"connection_id":89965,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:15:00] local.INFO: Acknowledgment sent {"connection_id":89965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:15:05] local.INFO: TCP Data received {"connection_id":91137,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:15:05] local.INFO: Processing buffer {"connection_id":91137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:15:05] local.INFO: IMEI packet received {"connection_id":91137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":91137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:15:09] local.INFO: TCP Data received {"connection_id":91137,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:15:09] local.INFO: Processing buffer {"connection_id":91137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:15:09] local.INFO: IMEI packet received {"connection_id":91137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":91137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:15:10] local.INFO: TCP Data received {"connection_id":91137,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885b4b68012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885b4b68012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:15:10] local.INFO: Processing buffer {"connection_id":91137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885b4b68012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:15:10] local.INFO: Packet analysis {"connection_id":91137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:10] local.INFO: Extracted packet for processing {"connection_id":91137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783455744001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780404145000,"timestamp_ms":1780404145000,"timestamp_seconds":1780404145,"priority":1,"record_length":96,"hex_timestamp":"0000019e885b4b68"} 
[2026-06-02 18:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:15:10] 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-06-02 18:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783455744001,"66":12341,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783455744001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:15:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783455744001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":91137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:15:10] local.INFO: GPS data processed {"connection_id":91137,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:15:10] local.INFO: Acknowledgment sent {"connection_id":91137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:15:23] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:15:23] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:15:23] local.INFO: IMEI packet received {"connection_id":89966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":89966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:15:28] local.INFO: TCP Data received {"connection_id":90053,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:15:28] local.INFO: Processing buffer {"connection_id":90053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:15:28] local.INFO: IMEI packet received {"connection_id":90053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":90053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:15:28] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:15:28] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:15:28] local.INFO: IMEI packet received {"connection_id":89966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":89966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:15:29] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:15:29] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:15:29] local.INFO: Packet analysis {"connection_id":89966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:29] local.INFO: Extracted packet for processing {"connection_id":89966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:15: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-06-02 18:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:15:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":89966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:15:29] local.INFO: GPS data processed {"connection_id":89966,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:15:29] local.INFO: Acknowledgment sent {"connection_id":89966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:15:41] local.INFO: TCP Data received {"connection_id":91137,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885b9d70012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885b9d70012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:15:41] local.INFO: Processing buffer {"connection_id":91137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885b9d70012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:15:41] local.INFO: Packet analysis {"connection_id":91137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:41] local.INFO: Extracted packet for processing {"connection_id":91137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783461120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780404166000,"timestamp_ms":1780404166000,"timestamp_seconds":1780404166,"priority":1,"record_length":96,"hex_timestamp":"0000019e885b9d70"} 
[2026-06-02 18:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-02 18:15:41] 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-06-02 18:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:15:41] 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-06-02 18:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783461120001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783461120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:15:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783461120001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":91137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:15:41] local.INFO: GPS data processed {"connection_id":91137,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:15:41] local.INFO: Acknowledgment sent {"connection_id":91137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:16:00] local.INFO: TCP Data received {"connection_id":89966,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:00] local.INFO: Processing buffer {"connection_id":89966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:00] local.INFO: Packet analysis {"connection_id":89966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:00] local.INFO: Extracted packet for processing {"connection_id":89966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:16: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-06-02 18:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:16:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":89966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:16:00] local.INFO: GPS data processed {"connection_id":89966,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:16:00] local.INFO: Acknowledgment sent {"connection_id":89966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:16:03] local.INFO: TCP Data received {"connection_id":89698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:16:03] local.INFO: Processing buffer {"connection_id":89698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:16:03] local.INFO: IMEI packet received {"connection_id":89698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":89698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:16:05] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:16:05] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:16:05] local.INFO: IMEI packet received {"connection_id":89699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":89699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:16:10] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:16:10] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:16:10] local.INFO: IMEI packet received {"connection_id":89699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":89699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:16:11] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bef78012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bef78012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:16:11] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bef78012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:16:11] local.INFO: Packet analysis {"connection_id":89699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:11] local.INFO: Extracted packet for processing {"connection_id":89699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783466496001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404187000,"timestamp_ms":1780404187000,"timestamp_seconds":1780404187,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bef78"} 
[2026-06-02 18:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 18:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:16:11] 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-06-02 18:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783466496001,"66":11341,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783466496001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:16:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783466496001,"power":11341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":89699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:16:11] local.INFO: GPS data processed {"connection_id":89699,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:16:11] local.INFO: Acknowledgment sent {"connection_id":89699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:16:28] local.INFO: TCP Data received {"connection_id":90054,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:16:28] local.INFO: Processing buffer {"connection_id":90054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:16:28] local.INFO: IMEI packet received {"connection_id":90054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":90054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:16:28] local.INFO: TCP Data received {"connection_id":89700,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:16:28] local.INFO: Processing buffer {"connection_id":89700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:16:28] local.INFO: IMEI packet received {"connection_id":89700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":89700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:16:29] local.INFO: TCP Data received {"connection_id":89700,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e885d33b0012d7e38c005d34d90000600572c..."} 
[2026-06-02 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885d33b0012d7e38c005d34d90000600572c..."} 
[2026-06-02 18:16:29] local.INFO: Processing buffer {"connection_id":89700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885d33b0012d7e38c005d34d90000600572c..."} 
[2026-06-02 18:16:29] local.INFO: Packet analysis {"connection_id":89700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:16:29] local.INFO: Extracted packet for processing {"connection_id":89700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97734032,"longitude_deg":76.3246784,"latitude_deg":9.7734032,"altitude":6,"angle":87,"satellites":44,"speed":11,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-06-02 18:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783492608001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021875808010240,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285409792,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404270000,"timestamp_ms":1780404270000,"timestamp_seconds":1780404270,"priority":1,"record_length":96,"hex_timestamp":"0000019e885d33b0"} 
[2026-06-02 18:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:16: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-06-02 18:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-02 18:16:29] 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-06-02 18:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783492608001,"66":13091,"109":206,"85":15104,"24":11,"16":88021875808010240,"45":9094526891285409792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 18:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783492608001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:16:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 18:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021875808010240,"km_value":88021875808010.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285409792,"description":"Unknown IO ID 45"} 
[2026-06-02 18:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783492608001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9094526891285409792}} 
[2026-06-02 18:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":89700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:16:29] local.INFO: GPS data processed {"connection_id":89700,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:16:29] local.INFO: Acknowledgment sent {"connection_id":89700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:16:33] local.INFO: TCP Data received {"connection_id":90054,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:16:33] local.INFO: Processing buffer {"connection_id":90054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:16:33] local.INFO: IMEI packet received {"connection_id":90054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":90054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:16:34] local.INFO: TCP Data received {"connection_id":90054,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:34] local.INFO: Processing buffer {"connection_id":90054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:34] local.INFO: Packet analysis {"connection_id":90054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:34] local.INFO: Extracted packet for processing {"connection_id":90054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:16:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":90054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:16:34] local.INFO: GPS data processed {"connection_id":90054,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:16:34] local.INFO: Acknowledgment sent {"connection_id":90054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:16:38] local.INFO: TCP Data received {"connection_id":90054,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:38] local.INFO: Processing buffer {"connection_id":90054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:16:38] local.INFO: Packet analysis {"connection_id":90054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:38] local.INFO: Extracted packet for processing {"connection_id":90054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:16:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":90054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:16:38] local.INFO: GPS data processed {"connection_id":90054,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:16:38] local.INFO: Acknowledgment sent {"connection_id":90054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:16:42] local.INFO: TCP Data received {"connection_id":89699,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885c4180012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885c4180012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:16:42] local.INFO: Processing buffer {"connection_id":89699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885c4180012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:16:42] local.INFO: Packet analysis {"connection_id":89699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885c"} 
[2026-06-02 18:16:42] local.INFO: Extracted packet for processing {"connection_id":89699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885c"} 
[2026-06-02 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783471872001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780404208000,"timestamp_ms":1780404208000,"timestamp_seconds":1780404208,"priority":1,"record_length":96,"hex_timestamp":"0000019e885c4180"} 
[2026-06-02 18:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-02 18:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:16:42] 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-06-02 18:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783471872001,"66":12374,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783471872001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:16:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783471872001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":89699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:16:42] local.INFO: GPS data processed {"connection_id":89699,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:16:42] local.INFO: Acknowledgment sent {"connection_id":89699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:17:00] local.INFO: TCP Data received {"connection_id":89700,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e885d3b80012d7e3ac005d34e28000600372c..."} 
[2026-06-02 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885d3b80012d7e3ac005d34e28000600372c..."} 
[2026-06-02 18:17:00] local.INFO: Processing buffer {"connection_id":89700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885d3b80012d7e3ac005d34e28000600372c..."} 
[2026-06-02 18:17:00] local.INFO: Packet analysis {"connection_id":89700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:17:00] local.INFO: Extracted packet for processing {"connection_id":89700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97734184,"longitude_deg":76.3247296,"latitude_deg":9.7734184,"altitude":6,"angle":55,"satellites":44,"speed":10,"hex_longitude":"2d7e3ac0","hex_latitude":"05d34e28","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783493120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021901577814016,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727161856,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:00] 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-06-02 18:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404272000,"timestamp_ms":1780404272000,"timestamp_seconds":1780404272,"priority":1,"record_length":96,"hex_timestamp":"0000019e885d3b80"} 
[2026-06-02 18:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:17: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-06-02 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 18:17:00] 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-06-02 18: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-06-02 18:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783493120001,"66":12809,"109":206,"85":15104,"24":10,"16":88021901577814016,"45":9095230578727161856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 18:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783493120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:17:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 18:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021901577814016,"km_value":88021901577814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727161856,"description":"Unknown IO ID 45"} 
[2026-06-02 18:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783493120001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9095230578727161856}} 
[2026-06-02 18:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":89700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:17:00] local.INFO: GPS data processed {"connection_id":89700,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:17:00] local.INFO: Acknowledgment sent {"connection_id":89700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:17:05] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:17:05] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:17:05] local.INFO: IMEI packet received {"connection_id":90055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":90055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:17:10] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:17:10] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:17:10] local.INFO: IMEI packet received {"connection_id":90055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":90055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:17:11] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885c9388012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885c9388012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:17:11] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885c9388012d1a3ec0071f8200004000b323..."} 
[2026-06-02 18:17:11] local.INFO: Packet analysis {"connection_id":90055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885c"} 
[2026-06-02 18:17:11] local.INFO: Extracted packet for processing {"connection_id":90055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885c"} 
[2026-06-02 18:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783477248001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404229000,"timestamp_ms":1780404229000,"timestamp_seconds":1780404229,"priority":1,"record_length":96,"hex_timestamp":"0000019e885c9388"} 
[2026-06-02 18:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 18:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:17:11] 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-06-02 18:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783477248001,"66":12428,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783477248001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:17:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783477248001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":90055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:17:11] local.INFO: GPS data processed {"connection_id":90055,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:17:11] local.INFO: Acknowledgment sent {"connection_id":90055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:17:23] local.INFO: TCP Data received {"connection_id":90056,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:17:23] local.INFO: Processing buffer {"connection_id":90056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:17:23] local.INFO: IMEI packet received {"connection_id":90056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":90056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:17:23] local.INFO: TCP Data received {"connection_id":91138,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:23] local.INFO: Processing buffer {"connection_id":91138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:23] local.INFO: IMEI packet received {"connection_id":91138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":91138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:17:26] local.INFO: TCP Data received {"connection_id":91138,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:26] local.INFO: Processing buffer {"connection_id":91138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:26] local.INFO: IMEI packet received {"connection_id":91138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":91138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:17:28] local.INFO: TCP Data received {"connection_id":90056,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:17:28] local.INFO: Processing buffer {"connection_id":90056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:17:28] local.INFO: IMEI packet received {"connection_id":90056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":90056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:17:28] local.INFO: TCP Data received {"connection_id":91138,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:28] local.INFO: Processing buffer {"connection_id":91138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:17:28] local.INFO: IMEI packet received {"connection_id":91138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":91138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:17:29] local.INFO: TCP Data received {"connection_id":90056,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:17:29] local.INFO: Processing buffer {"connection_id":90056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:17:29] local.INFO: Packet analysis {"connection_id":90056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:17:29] local.INFO: Extracted packet for processing {"connection_id":90056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:17: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-06-02 18:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":90056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:17:29] local.INFO: GPS data processed {"connection_id":90056,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:17:29] local.INFO: Acknowledgment sent {"connection_id":90056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:17:29] local.INFO: TCP Data received {"connection_id":91138,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e885d3f68012d7e3b4005d34ec8000600212c..."} 
[2026-06-02 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885d3f68012d7e3b4005d34ec8000600212c..."} 
[2026-06-02 18:17:29] local.INFO: Processing buffer {"connection_id":91138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885d3f68012d7e3b4005d34ec8000600212c..."} 
[2026-06-02 18:17:29] local.INFO: Packet analysis {"connection_id":91138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:17:29] local.INFO: Extracted packet for processing {"connection_id":91138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97734344,"longitude_deg":76.3247424,"latitude_deg":9.7734344,"altitude":6,"angle":33,"satellites":44,"speed":8,"hex_longitude":"2d7e3b40","hex_latitude":"05d34ec8","is_valid_coordinates":true} 
[2026-06-02 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783493632001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021914462715904,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528680622080,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404273000,"timestamp_ms":1780404273000,"timestamp_seconds":1780404273,"priority":1,"record_length":96,"hex_timestamp":"0000019e885d3f68"} 
[2026-06-02 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:17: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-06-02 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2287799456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":136,"raw_value":6703810360538705792,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221607251,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368868554295685547,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3075342336,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218534417190306773,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:29] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,183,158,51,45,192,77,6,44,10,66,43,64,36,1,240,161,227,136,211,4,113,205,11,47,42,239,50,2,56,5,9,59,75],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-02 18:17:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432406226346311680,"timestamp_seconds":432406226346311.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783493632001,"66":12819,"109":206,"85":15104,"24":8,"16":88021914462715904,"45":9095793528680622080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783493632001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021914462715904,"km_value":88021914462715.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528680622080,"description":"Unknown IO ID 45"} 
[2026-06-02 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783493632001,"power":12819,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9095793528680622080}} 
[2026-06-02 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":91138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:17:29] local.INFO: GPS data processed {"connection_id":91138,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:17:29] local.INFO: Acknowledgment sent {"connection_id":91138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:17:34] local.INFO: TCP Data received {"connection_id":91138,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e885d9170012d7e3a4005d34cd8000600212a..."} 
[2026-06-02 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885d9170012d7e3a4005d34cd8000600212a..."} 
[2026-06-02 18:17:34] local.INFO: Processing buffer {"connection_id":91138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885d9170012d7e3a4005d34cd8000600212a..."} 
[2026-06-02 18:17:34] local.INFO: Packet analysis {"connection_id":91138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:17:34] local.INFO: Extracted packet for processing {"connection_id":91138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":42,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783493888001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266169018368,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780404294000,"timestamp_ms":1780404294000,"timestamp_seconds":1780404294,"priority":1,"record_length":96,"hex_timestamp":"0000019e885d9170"} 
[2026-06-02 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-06-02 18: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-06-02 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2287800456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504942732312576,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":136,"raw_value":6704909872166481792,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182246889488640,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3075473408,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218771911701912278,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368868554295685547,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195072768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84862710466335573,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.WARNING: Large IO value detected {"io_id":120,"raw_value":1689658035537920,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,183,158,59,45,192,78,6,44,10,66,51,77,43,64,1,240,182,227,136,211,4,113,205,12,20,48,239,2,56,5,50,69,184,120],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-02 18:17:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432382037090369536,"timestamp_seconds":432382037090369.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 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-06-02 18:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783493888001,"66":12722,"109":206,"85":15104,"24":0,"16":88021966002323456,"45":9095934266169018368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 18:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783493888001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:17:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 18:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266169018368,"description":"Unknown IO ID 45"} 
[2026-06-02 18:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783493888001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095934266169018368}} 
[2026-06-02 18:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":91138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:17:34] local.INFO: GPS data processed {"connection_id":91138,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:17:34] local.INFO: Acknowledgment sent {"connection_id":91138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:17:42] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885ce590012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885ce590012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:17:42] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885ce590012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:17:42] local.INFO: Packet analysis {"connection_id":90055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885c"} 
[2026-06-02 18:17:42] local.INFO: Extracted packet for processing {"connection_id":90055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885c"} 
[2026-06-02 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783482624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780404250000,"timestamp_ms":1780404250000,"timestamp_seconds":1780404250,"priority":1,"record_length":96,"hex_timestamp":"0000019e885ce590"} 
[2026-06-02 18:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:17:42] 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-06-02 18:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783482624001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783482624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:17:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783482624001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":90055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:17:42] local.INFO: GPS data processed {"connection_id":90055,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:17:42] local.INFO: Acknowledgment sent {"connection_id":90055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:18:00] local.INFO: TCP Data received {"connection_id":90056,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:18:00] local.INFO: Processing buffer {"connection_id":90056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:18:00] local.INFO: Packet analysis {"connection_id":90056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:18:00] local.INFO: Extracted packet for processing {"connection_id":90056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:18: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-06-02 18:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:18:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:18:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":90056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:18:00] local.INFO: GPS data processed {"connection_id":90056,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:18:00] local.INFO: Acknowledgment sent {"connection_id":90056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:18:05] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:18:05] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:18:05] local.INFO: IMEI packet received {"connection_id":90057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":90057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:18:05] local.INFO: TCP Data received {"connection_id":91138,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e885de378012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885de378012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:18:05] local.INFO: Processing buffer {"connection_id":91138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885de378012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:18:05] local.INFO: Packet analysis {"connection_id":91138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:18:05] local.INFO: Extracted packet for processing {"connection_id":91138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783499264001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18: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-06-02 18:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780404315000,"timestamp_ms":1780404315000,"timestamp_seconds":1780404315,"priority":1,"record_length":96,"hex_timestamp":"0000019e885de378"} 
[2026-06-02 18:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:18: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-06-02 18:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 18:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":91138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":91138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":91138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783499264001,"66":13048,"109":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 18:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783499264001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:18:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 18:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783499264001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":91138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:18:05] local.INFO: GPS data processed {"connection_id":91138,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:18:05] local.INFO: Acknowledgment sent {"connection_id":91138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:18:10] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:18:10] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:18:10] local.INFO: IMEI packet received {"connection_id":90057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":90057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:18:11] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885d3798012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885d3798012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:18:11] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885d3798012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:18:11] local.INFO: Packet analysis {"connection_id":90057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:18:11] local.INFO: Extracted packet for processing {"connection_id":90057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783488000001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404271000,"timestamp_ms":1780404271000,"timestamp_seconds":1780404271,"priority":1,"record_length":96,"hex_timestamp":"0000019e885d3798"} 
[2026-06-02 18:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 18:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:18:11] 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-06-02 18:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783488000001,"66":12385,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783488000001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:18:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783488000001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":90057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:18:11] local.INFO: GPS data processed {"connection_id":90057,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:18:11] local.INFO: Acknowledgment sent {"connection_id":90057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:18:23] local.INFO: TCP Data received {"connection_id":90058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:18:23] local.INFO: Processing buffer {"connection_id":90058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:18:23] local.INFO: IMEI packet received {"connection_id":90058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":90058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:18:23] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:18:23] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:18:23] local.INFO: IMEI packet received {"connection_id":89969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":89969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:18:28] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:18:28] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:18:28] local.INFO: IMEI packet received {"connection_id":89969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":89969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:18:28] local.INFO: TCP Data received {"connection_id":90058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:18:28] local.INFO: Processing buffer {"connection_id":90058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:18:28] local.INFO: IMEI packet received {"connection_id":90058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":90058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:18:29] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:18:29] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885bcc50012cb29ac007823b00004900d92b..."} 
[2026-06-02 18:18:29] local.INFO: Packet analysis {"connection_id":89969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:18:29] local.INFO: Extracted packet for processing {"connection_id":89969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885b"} 
[2026-06-02 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783392512001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404178000,"timestamp_ms":1780404178000,"timestamp_seconds":1780404178,"priority":1,"record_length":96,"hex_timestamp":"0000019e885bcc50"} 
[2026-06-02 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:18: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-06-02 18:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783392512001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783392512001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:18:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783392512001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":89969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:18:29] local.INFO: GPS data processed {"connection_id":89969,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:18:29] local.INFO: Acknowledgment sent {"connection_id":89969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:18:30] local.INFO: TCP Data received {"connection_id":90058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885e3580012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885e3580012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:18:30] local.INFO: Processing buffer {"connection_id":90058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885e3580012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:18:30] local.INFO: Packet analysis {"connection_id":90058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:18:30] local.INFO: Extracted packet for processing {"connection_id":90058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:18: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-06-02 18:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783504640001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:30] 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-06-02 18:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780404336000,"timestamp_ms":1780404336000,"timestamp_seconds":1780404336,"priority":1,"record_length":96,"hex_timestamp":"0000019e885e3580"} 
[2026-06-02 18:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:18: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-06-02 18:18: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":248,"data_length":795,"current_offset":136} 
[2026-06-02 18:18:30] 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-06-02 18:18: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-06-02 18:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783504640001,"66":13059,"109":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-02 18:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783504640001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:18:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-02 18:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783504640001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":90058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:18:30] local.INFO: GPS data processed {"connection_id":90058,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:18:30] local.INFO: Acknowledgment sent {"connection_id":90058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:18:42] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885d89a0012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885d89a0012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:18:42] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885d89a0012d1a3ec0071f8200004000b324..."} 
[2026-06-02 18:18:42] local.INFO: Packet analysis {"connection_id":90057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:18:42] local.INFO: Extracted packet for processing {"connection_id":90057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783493376001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780404292000,"timestamp_ms":1780404292000,"timestamp_seconds":1780404292,"priority":1,"record_length":96,"hex_timestamp":"0000019e885d89a0"} 
[2026-06-02 18:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 18:18:42] 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-06-02 18:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:18:42] 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-06-02 18:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783493376001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783493376001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:18:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783493376001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":90057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:18:42] local.INFO: GPS data processed {"connection_id":90057,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:18:42] local.INFO: Acknowledgment sent {"connection_id":90057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:19:00] local.INFO: TCP Data received {"connection_id":89969,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:19:00] local.INFO: Processing buffer {"connection_id":89969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:19:00] local.INFO: Packet analysis {"connection_id":89969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:19:00] local.INFO: Extracted packet for processing {"connection_id":89969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:19:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:19: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-06-02 18:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:19:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":89969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:19:00] local.INFO: GPS data processed {"connection_id":89969,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:19:00] local.INFO: Acknowledgment sent {"connection_id":89969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:19:01] local.INFO: TCP Data received {"connection_id":90058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885e8788012d7e3a4005d34cd80006002126..."} 
[2026-06-02 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885e8788012d7e3a4005d34cd80006002126..."} 
[2026-06-02 18:19:01] local.INFO: Processing buffer {"connection_id":90058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885e8788012d7e3a4005d34cd80006002126..."} 
[2026-06-02 18:19:01] local.INFO: Packet analysis {"connection_id":90058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:19:01] local.INFO: Extracted packet for processing {"connection_id":90058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":38,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783510016001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780404357000,"timestamp_ms":1780404357000,"timestamp_seconds":1780404357,"priority":1,"record_length":96,"hex_timestamp":"0000019e885e8788"} 
[2026-06-02 18:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:19: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-06-02 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015629,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399437,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2287807456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3077439488,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545100288,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:01] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,183,158,227,45,64,76,6,43,10,66,145,42,63,1,240,19,136,211,4,113,205,51,56,144,44,239,2,5,13],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-02 18:19:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432382032794877952,"timestamp_seconds":432382032794877.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783510016001,"66":13222,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783510016001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:19:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783510016001,"power":13222,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":90058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:19:01] local.INFO: GPS data processed {"connection_id":90058,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:19:01] local.INFO: Acknowledgment sent {"connection_id":90058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:19:10] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:19:10] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:19:10] local.INFO: IMEI packet received {"connection_id":90059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":90059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:19:14] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:19:14] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:19:14] local.INFO: IMEI packet received {"connection_id":90059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":90059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:19:15] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885ddba8012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885ddba8012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:19:15] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885ddba8012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:19:15] local.INFO: Packet analysis {"connection_id":90059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:19:15] local.INFO: Extracted packet for processing {"connection_id":90059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885d"} 
[2026-06-02 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783498752001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780404313000,"timestamp_ms":1780404313000,"timestamp_seconds":1780404313,"priority":1,"record_length":96,"hex_timestamp":"0000019e885ddba8"} 
[2026-06-02 18:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 18:19:15] 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-06-02 18:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:19:15] 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-06-02 18:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783498752001,"66":12428,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783498752001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:19:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783498752001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":90059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:19:15] local.INFO: GPS data processed {"connection_id":90059,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:19:15] local.INFO: Acknowledgment sent {"connection_id":90059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:19:20] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885e2db0012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885e2db0012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:19:20] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885e2db0012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:19:20] local.INFO: Packet analysis {"connection_id":90059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:19:20] local.INFO: Extracted packet for processing {"connection_id":90059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783504128001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19: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-06-02 18:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780404334000,"timestamp_ms":1780404334000,"timestamp_seconds":1780404334,"priority":1,"record_length":96,"hex_timestamp":"0000019e885e2db0"} 
[2026-06-02 18:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 18:19:20] 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-06-02 18:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:19:20] 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-06-02 18:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783504128001,"66":12374,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783504128001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:19:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783504128001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":90059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:19:20] local.INFO: GPS data processed {"connection_id":90059,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:19:20] local.INFO: Acknowledgment sent {"connection_id":90059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:19:23] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:19:23] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:19:23] local.INFO: IMEI packet received {"connection_id":89703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":89703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:19:28] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:19:28] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:19:28] local.INFO: IMEI packet received {"connection_id":89703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:19:28] local.INFO: TCP Data received {"connection_id":91139,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:19:28] local.INFO: Processing buffer {"connection_id":91139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:19:28] local.INFO: IMEI packet received {"connection_id":91139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":91139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:19:29] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:19:29] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:19:29] local.INFO: Packet analysis {"connection_id":89703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:19:29] local.INFO: Extracted packet for processing {"connection_id":89703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:19: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-06-02 18: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-06-02 18:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:19: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-06-02 18:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:19:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":89703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:19:29] local.INFO: GPS data processed {"connection_id":89703,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:19:29] local.INFO: Acknowledgment sent {"connection_id":89703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:19:33] local.INFO: TCP Data received {"connection_id":91139,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:19:33] local.INFO: Processing buffer {"connection_id":91139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:19:33] local.INFO: IMEI packet received {"connection_id":91139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":91139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:19:34] local.INFO: TCP Data received {"connection_id":91139,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885ed990012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885ed990012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:19:34] local.INFO: Processing buffer {"connection_id":91139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885ed990012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:19:34] local.INFO: Packet analysis {"connection_id":91139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:19:34] local.INFO: Extracted packet for processing {"connection_id":91139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783515392001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:34] 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-06-02 18:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780404378000,"timestamp_ms":1780404378000,"timestamp_seconds":1780404378,"priority":1,"record_length":96,"hex_timestamp":"0000019e885ed990"} 
[2026-06-02 18:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:19: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-06-02 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 18:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783515392001,"66":13178,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783515392001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783515392001,"power":13178,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":91139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:19:34] local.INFO: GPS data processed {"connection_id":91139,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:19:34] local.INFO: Acknowledgment sent {"connection_id":91139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:19:40] local.INFO: TCP Data received {"connection_id":91139,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885f2b98012d7e3a4005d34cd8000600212c..."} 
[2026-06-02 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885f2b98012d7e3a4005d34cd8000600212c..."} 
[2026-06-02 18:19:40] local.INFO: Processing buffer {"connection_id":91139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885f2b98012d7e3a4005d34cd8000600212c..."} 
[2026-06-02 18:19:40] local.INFO: Packet analysis {"connection_id":91139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:19:40] local.INFO: Extracted packet for processing {"connection_id":91139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783520768001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:19:40] 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-06-02 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780404399000,"timestamp_ms":1780404399000,"timestamp_seconds":1780404399,"priority":1,"record_length":96,"hex_timestamp":"0000019e885f2b98"} 
[2026-06-02 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-02 18:19:40] 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-06-02 18:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":91139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":91139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":91139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783520768001,"66":13102,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783520768001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783520768001,"power":13102,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":91139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:19:40] local.INFO: GPS data processed {"connection_id":91139,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:19:40] local.INFO: Acknowledgment sent {"connection_id":91139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:20:00] local.INFO: TCP Data received {"connection_id":89703,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:20:00] local.INFO: Processing buffer {"connection_id":89703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:20:00] local.INFO: Packet analysis {"connection_id":89703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:20:00] local.INFO: Extracted packet for processing {"connection_id":89703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:20:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:20: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-06-02 18:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:20:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":89703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:20:00] local.INFO: GPS data processed {"connection_id":89703,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:20:00] local.INFO: Acknowledgment sent {"connection_id":89703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:20:03] local.INFO: TCP Data received {"connection_id":90060,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:03] local.INFO: Processing buffer {"connection_id":90060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:03] local.INFO: IMEI packet received {"connection_id":90060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":90060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:20:05] local.INFO: TCP Data received {"connection_id":90060,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:05] local.INFO: Processing buffer {"connection_id":90060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:05] local.INFO: IMEI packet received {"connection_id":90060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":90060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:20:10] local.INFO: TCP Data received {"connection_id":90060,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:10] local.INFO: Processing buffer {"connection_id":90060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:20:10] local.INFO: IMEI packet received {"connection_id":90060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":90060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:20:11] local.INFO: TCP Data received {"connection_id":90060,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885e7fb8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885e7fb8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:20:11] local.INFO: Processing buffer {"connection_id":90060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885e7fb8012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:20:11] local.INFO: Packet analysis {"connection_id":90060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:20:11] local.INFO: Extracted packet for processing {"connection_id":90060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783509504001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404355000,"timestamp_ms":1780404355000,"timestamp_seconds":1780404355,"priority":1,"record_length":96,"hex_timestamp":"0000019e885e7fb8"} 
[2026-06-02 18:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 18:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:20:11] 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-06-02 18:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783509504001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783509504001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:20:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783509504001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":90060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:20:12] local.INFO: GPS data processed {"connection_id":90060,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:20:12] local.INFO: Acknowledgment sent {"connection_id":90060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:20:23] local.INFO: TCP Data received {"connection_id":91140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:20:23] local.INFO: Processing buffer {"connection_id":91140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:20:23] local.INFO: IMEI packet received {"connection_id":91140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":91140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:20:23] local.INFO: TCP Data received {"connection_id":89704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:20:23] local.INFO: Processing buffer {"connection_id":89704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:20:23] local.INFO: IMEI packet received {"connection_id":89704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":89704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:20:28] local.INFO: TCP Data received {"connection_id":91140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:20:28] local.INFO: Processing buffer {"connection_id":91140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:20:28] local.INFO: IMEI packet received {"connection_id":91140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":91140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:20:28] local.INFO: TCP Data received {"connection_id":89704,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:20:28] local.INFO: Processing buffer {"connection_id":89704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:20:28] local.INFO: IMEI packet received {"connection_id":89704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":89704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:20:29] local.INFO: TCP Data received {"connection_id":91140,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:20:29] local.INFO: Processing buffer {"connection_id":91140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:20:29] local.INFO: Packet analysis {"connection_id":91140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:20:29] local.INFO: Extracted packet for processing {"connection_id":91140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:20: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-06-02 18:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:20:29] 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-06-02 18:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":91140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:20:29] local.INFO: GPS data processed {"connection_id":91140,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:20:29] local.INFO: Acknowledgment sent {"connection_id":91140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:20:29] local.INFO: TCP Data received {"connection_id":89704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885f7da0012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885f7da0012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:20:29] local.INFO: Processing buffer {"connection_id":89704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885f7da0012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:20:29] local.INFO: Packet analysis {"connection_id":89704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:20:29] local.INFO: Extracted packet for processing {"connection_id":89704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783526144001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:29] 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-06-02 18:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404420000,"timestamp_ms":1780404420000,"timestamp_seconds":1780404420,"priority":1,"record_length":96,"hex_timestamp":"0000019e885f7da0"} 
[2026-06-02 18:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:20: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-06-02 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 18:20:29] 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-06-02 18:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783526144001,"66":13298,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783526144001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783526144001,"power":13298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":89704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:20:29] local.INFO: GPS data processed {"connection_id":89704,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:20:29] local.INFO: Acknowledgment sent {"connection_id":89704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:20:43] local.INFO: TCP Data received {"connection_id":90060,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885ed1c0012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885ed1c0012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:20:43] local.INFO: Processing buffer {"connection_id":90060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885ed1c0012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:20:43] local.INFO: Packet analysis {"connection_id":90060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:20:43] local.INFO: Extracted packet for processing {"connection_id":90060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885e"} 
[2026-06-02 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783514880001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780404376000,"timestamp_ms":1780404376000,"timestamp_seconds":1780404376,"priority":1,"record_length":96,"hex_timestamp":"0000019e885ed1c0"} 
[2026-06-02 18:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 18:20:43] 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-06-02 18: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-06-02 18:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:20:43] 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-06-02 18:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783514880001,"66":12385,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783514880001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:20:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:20:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783514880001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":90060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:20:43] local.INFO: GPS data processed {"connection_id":90060,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:20:43] local.INFO: Acknowledgment sent {"connection_id":90060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:21:00] local.INFO: TCP Data received {"connection_id":91140,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:21:00] local.INFO: Processing buffer {"connection_id":91140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:21:00] local.INFO: Packet analysis {"connection_id":91140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:21:00] local.INFO: Extracted packet for processing {"connection_id":91140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:21:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:21:00] 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-06-02 18:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:21:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":91140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:21:00] local.INFO: GPS data processed {"connection_id":91140,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:21:00] local.INFO: Acknowledgment sent {"connection_id":91140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:21:01] local.INFO: TCP Data received {"connection_id":89704,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885fc3f0012d7e3a4005d34cd80006002129..."} 
[2026-06-02 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885fc3f0012d7e3a4005d34cd80006002129..."} 
[2026-06-02 18:21:01] local.INFO: Processing buffer {"connection_id":89704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885fc3f0012d7e3a4005d34cd80006002129..."} 
[2026-06-02 18:21:01] local.INFO: Packet analysis {"connection_id":89704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:01] local.INFO: Extracted packet for processing {"connection_id":89704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:21: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-06-02 18:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783531520001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780404438000,"timestamp_ms":1780404438000,"timestamp_seconds":1780404438,"priority":1,"record_length":96,"hex_timestamp":"0000019e885fc3f0"} 
[2026-06-02 18:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:21: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-06-02 18: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-02 18:21:01] 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-06-02 18: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-06-02 18:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783531520001,"66":13319,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783531520001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:21:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783531520001,"power":13319,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":89704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:21:01] local.INFO: GPS data processed {"connection_id":89704,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:21:01] local.INFO: Acknowledgment sent {"connection_id":89704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:21:05] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:05] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:05] local.INFO: IMEI packet received {"connection_id":90061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":90061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:21:06] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:06] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:06] local.INFO: IMEI packet received {"connection_id":90061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":90061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:21:10] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:10] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:21:10] local.INFO: IMEI packet received {"connection_id":90061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":90061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:21:11] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885f23c8012d1a3ec0071f8200004000b325..."} 
[2026-06-02 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885f23c8012d1a3ec0071f8200004000b325..."} 
[2026-06-02 18:21:11] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885f23c8012d1a3ec0071f8200004000b325..."} 
[2026-06-02 18:21:11] local.INFO: Packet analysis {"connection_id":90061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:11] local.INFO: Extracted packet for processing {"connection_id":90061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783520256001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404397000,"timestamp_ms":1780404397000,"timestamp_seconds":1780404397,"priority":1,"record_length":96,"hex_timestamp":"0000019e885f23c8"} 
[2026-06-02 18:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 18:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:21:11] 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-06-02 18:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783520256001,"66":12385,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783520256001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:21:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783520256001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":90061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:21:11] local.INFO: GPS data processed {"connection_id":90061,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:21:11] local.INFO: Acknowledgment sent {"connection_id":90061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:21:23] local.INFO: TCP Data received {"connection_id":90063,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:21:23] local.INFO: Processing buffer {"connection_id":90063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:21:23] local.INFO: IMEI packet received {"connection_id":90063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":90063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:21:23] local.INFO: TCP Data received {"connection_id":90062,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:21:23] local.INFO: Processing buffer {"connection_id":90062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:21:23] local.INFO: IMEI packet received {"connection_id":90062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":90062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:21:28] local.INFO: TCP Data received {"connection_id":89705,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:21:28] local.INFO: Processing buffer {"connection_id":89705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:21:28] local.INFO: IMEI packet received {"connection_id":89705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":89705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:21:28] local.INFO: TCP Data received {"connection_id":90063,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:21:28] local.INFO: Processing buffer {"connection_id":90063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:21:28] local.INFO: IMEI packet received {"connection_id":90063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":90063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:21:28] local.INFO: TCP Data received {"connection_id":90062,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:21:28] local.INFO: Processing buffer {"connection_id":90062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:21:28] local.INFO: IMEI packet received {"connection_id":90062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":90062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:21:29] local.INFO: TCP Data received {"connection_id":90063,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:21:29] local.INFO: Processing buffer {"connection_id":90063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:21:29] local.INFO: Packet analysis {"connection_id":90063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:21:29] local.INFO: Extracted packet for processing {"connection_id":90063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:21: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-06-02 18: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-06-02 18:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:21:29] 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-06-02 18:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":90063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:21:29] local.INFO: GPS data processed {"connection_id":90063,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:21:29] local.INFO: Acknowledgment sent {"connection_id":90063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:21:29] local.INFO: TCP Data received {"connection_id":90062,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885fc3f0012d7e3a4005d34cd80006002129..."} 
[2026-06-02 18:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885fc3f0012d7e3a4005d34cd80006002129..."} 
[2026-06-02 18:21:29] local.INFO: Processing buffer {"connection_id":90062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885fc3f0012d7e3a4005d34cd80006002129..."} 
[2026-06-02 18:21:29] local.INFO: Packet analysis {"connection_id":90062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:29] local.INFO: Extracted packet for processing {"connection_id":90062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:21:29] 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-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783536128001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] 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-06-02 18:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404438000,"timestamp_ms":1780404438000,"timestamp_seconds":1780404438,"priority":1,"record_length":96,"hex_timestamp":"0000019e885fc3f0"} 
[2026-06-02 18:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2287854456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5537175767624002048,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3078815744,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545028608,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.WARNING: Large IO value detected {"io_id":93,"raw_value":-7966866445915504635,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,81,85,24,241,157,16,183,158,125,45,64,76,6,43,10,66,44,217,1,240,122,227,136,211,4,113,205,53,58,216,239,51,109,2,56,5,248,93],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-06-02 18:21:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432382024204943599,"timestamp_seconds":432382024204943.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783536128001,"66":13319,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783536128001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783536128001,"power":13319,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":90062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:21:29] local.INFO: GPS data processed {"connection_id":90062,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:21:29] local.INFO: Acknowledgment sent {"connection_id":90062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:21:42] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e885f75d0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885f75d0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:21:42] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885f75d0012d1a3ec0071f8200004000b326..."} 
[2026-06-02 18:21:42] local.INFO: Packet analysis {"connection_id":90061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:42] local.INFO: Extracted packet for processing {"connection_id":90061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783525632001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780404418000,"timestamp_ms":1780404418000,"timestamp_seconds":1780404418,"priority":1,"record_length":96,"hex_timestamp":"0000019e885f75d0"} 
[2026-06-02 18:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:21: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-06-02 18:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 18:21:42] 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-06-02 18:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:21:42] 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-06-02 18:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783525632001,"66":12406,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783525632001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:21:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783525632001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":90061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:21:42] local.INFO: GPS data processed {"connection_id":90061,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:21:42] local.INFO: Acknowledgment sent {"connection_id":90061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:22:00] local.INFO: TCP Data received {"connection_id":90063,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:00] local.INFO: Processing buffer {"connection_id":90063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:00] local.INFO: Packet analysis {"connection_id":90063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:00] local.INFO: Extracted packet for processing {"connection_id":90063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:22:00] 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-06-02 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":90063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:22:00] local.INFO: GPS data processed {"connection_id":90063,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:22:00] local.INFO: Acknowledgment sent {"connection_id":90063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:22:00] local.INFO: TCP Data received {"connection_id":90062,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e885fcfa8012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e885fcfa8012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:22:00] local.INFO: Processing buffer {"connection_id":90062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e885fcfa8012d7e3a4005d34cd8000600212b..."} 
[2026-06-02 18:22:00] local.INFO: Packet analysis {"connection_id":90062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:22:00] local.INFO: Extracted packet for processing {"connection_id":90062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e885f"} 
[2026-06-02 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733848,"longitude_deg":76.3247168,"latitude_deg":9.7733848,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cd8","is_valid_coordinates":true} 
[2026-06-02 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783536128001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22: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-06-02 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404441000,"timestamp_ms":1780404441000,"timestamp_seconds":1780404441,"priority":1,"record_length":96,"hex_timestamp":"0000019e885fcfa8"} 
[2026-06-02 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:22: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-06-02 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2287875456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5537175767624002304,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070526,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3078815744,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545028608,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.WARNING: Large IO value detected {"io_id":93,"raw_value":-2055891934991728635,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,81,85,24,241,157,16,183,158,195,45,64,76,6,41,10,66,125,43,1,240,46,227,136,211,4,113,205,135,58,216,38,239,51,2,56,5,3,93],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-06-02 18:22:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432382024204943600,"timestamp_seconds":432382024204943.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783536128001,"66":13102,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783536128001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783536128001,"power":13102,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":90062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:22:00] local.INFO: GPS data processed {"connection_id":90062,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:22:00] local.INFO: Acknowledgment sent {"connection_id":90062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:22:03] local.INFO: TCP Data received {"connection_id":91141,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:22:03] local.INFO: Processing buffer {"connection_id":91141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:22:03] local.INFO: IMEI packet received {"connection_id":91141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":91141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:22:05] local.INFO: TCP Data received {"connection_id":91142,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:22:05] local.INFO: Processing buffer {"connection_id":91142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:22:05] local.INFO: IMEI packet received {"connection_id":91142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":91142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:22:09] local.INFO: TCP Data received {"connection_id":91142,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:22:09] local.INFO: Processing buffer {"connection_id":91142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:22:09] local.INFO: IMEI packet received {"connection_id":91142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":91142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:22:10] local.INFO: TCP Data received {"connection_id":91142,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8862fc28012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8862fc28012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:22:10] local.INFO: Processing buffer {"connection_id":91142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8862fc28012d1a3ec0071f8200004000b327..."} 
[2026-06-02 18:22:10] local.INFO: Packet analysis {"connection_id":91142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8862"} 
[2026-06-02 18:22:10] local.INFO: Extracted packet for processing {"connection_id":91142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8862"} 
[2026-06-02 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783584768001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780404649000,"timestamp_ms":1780404649000,"timestamp_seconds":1780404649,"priority":1,"record_length":96,"hex_timestamp":"0000019e8862fc28"} 
[2026-06-02 18:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:22: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-06-02 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-02 18:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:22:10] 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-06-02 18:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783584768001,"66":13852,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783584768001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:22:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783584768001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":91142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:22:10] local.INFO: GPS data processed {"connection_id":91142,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:22:10] local.INFO: Acknowledgment sent {"connection_id":91142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:22:24] local.INFO: TCP Data received {"connection_id":89971,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:24] local.INFO: Processing buffer {"connection_id":89971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:24] local.INFO: IMEI packet received {"connection_id":89971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":89971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:22:25] local.INFO: TCP Data received {"connection_id":89971,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:25] local.INFO: Processing buffer {"connection_id":89971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:25] local.INFO: IMEI packet received {"connection_id":89971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":89971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:22:28] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:22:28] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:22:28] local.INFO: IMEI packet received {"connection_id":89972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":89972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:22:28] local.INFO: TCP Data received {"connection_id":89971,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:28] local.INFO: Processing buffer {"connection_id":89971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:22:28] local.INFO: IMEI packet received {"connection_id":89971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":89971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:22:29] local.INFO: TCP Data received {"connection_id":89971,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8860f0b8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8860f0b8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:22:29] local.INFO: Processing buffer {"connection_id":89971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8860f0b8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:22:29] local.INFO: Packet analysis {"connection_id":89971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:29] local.INFO: Extracted packet for processing {"connection_id":89971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:22:29] 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-06-02 18:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783536896001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192180736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:29] 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-06-02 18:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404515000,"timestamp_ms":1780404515000,"timestamp_seconds":1780404515,"priority":1,"record_length":96,"hex_timestamp":"0000019e8860f0b8"} 
[2026-06-02 18:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 18:22:29] 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-06-02 18:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783536896001,"66":5101,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192180736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783536896001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:22:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192180736,"description":"Unknown IO ID 45"} 
[2026-06-02 18:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783536896001,"power":5101,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192180736}} 
[2026-06-02 18:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":89971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:22:29] local.INFO: GPS data processed {"connection_id":89971,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:22:29] local.INFO: Acknowledgment sent {"connection_id":89971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:22:33] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:22:33] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:22:33] local.INFO: IMEI packet received {"connection_id":89972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":89972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:22:34] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:34] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:34] local.INFO: Packet analysis {"connection_id":89972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:34] local.INFO: Extracted packet for processing {"connection_id":89972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:22:34] 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-06-02 18:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:22:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:22:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":89972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:22:34] local.INFO: GPS data processed {"connection_id":89972,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:22:34] local.INFO: Acknowledgment sent {"connection_id":89972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:22:39] local.INFO: TCP Data received {"connection_id":89972,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:39] local.INFO: Processing buffer {"connection_id":89972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:22:39] local.INFO: Packet analysis {"connection_id":89972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:39] local.INFO: Extracted packet for processing {"connection_id":89972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:22:39] 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-06-02 18:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:22:39] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":89972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:22:39] local.INFO: GPS data processed {"connection_id":89972,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:22:39] local.INFO: Acknowledgment sent {"connection_id":89972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:22:41] local.INFO: TCP Data received {"connection_id":91142,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88634e30012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88634e30012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:22:41] local.INFO: Processing buffer {"connection_id":91142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88634e30012d1a3ec0071f8200004000b322..."} 
[2026-06-02 18:22:41] local.INFO: Packet analysis {"connection_id":91142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8863"} 
[2026-06-02 18:22:41] local.INFO: Extracted packet for processing {"connection_id":91142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8863"} 
[2026-06-02 18:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119505408,"longitude_deg":75.669472,"latitude_deg":11.9505408,"altitude":64,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d1a3ec0","hex_latitude":"071f8200","is_valid_coordinates":true} 
[2026-06-02 18:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783590144001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420183278845952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030368104448,"note":"Value kept but may cause issues"} 
[2026-06-02 18:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780404670000,"timestamp_ms":1780404670000,"timestamp_seconds":1780404670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88634e30"} 
[2026-06-02 18:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 18:22:41] 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-06-02 18:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:22:41] 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-06-02 18:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783590144001,"66":13972,"101":206,"83":41984,"24":0,"16":125420183278845952,"45":1891160030368104448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783590144001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:22:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420183278845952,"km_value":125420183278845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030368104448,"description":"Unknown IO ID 45"} 
[2026-06-02 18:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783590144001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891160030368104448}} 
[2026-06-02 18:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":91142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:22:41] local.INFO: GPS data processed {"connection_id":91142,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:22:41] local.INFO: Acknowledgment sent {"connection_id":91142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:23:00] local.INFO: TCP Data received {"connection_id":89971,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8860f0b8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8860f0b8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:23:00] local.INFO: Processing buffer {"connection_id":89971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8860f0b8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:23:00] local.INFO: Packet analysis {"connection_id":89971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:23:00] local.INFO: Extracted packet for processing {"connection_id":89971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23: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-06-02 18:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404515000,"timestamp_ms":1780404515000,"timestamp_seconds":1780404515,"priority":1,"record_length":96,"hex_timestamp":"0000019e8860f0b8"} 
[2026-06-02 18:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":5101,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:23:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":5101,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":89971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:23:00] local.INFO: GPS data processed {"connection_id":89971,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:23:00] local.INFO: Acknowledgment sent {"connection_id":89971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:23:04] local.INFO: TCP Data received {"connection_id":91144,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:23:04] local.INFO: Processing buffer {"connection_id":91144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:23:04] local.INFO: IMEI packet received {"connection_id":91144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":91144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:23:10] local.INFO: TCP Data received {"connection_id":91144,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:23:10] local.INFO: Processing buffer {"connection_id":91144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:23:10] local.INFO: IMEI packet received {"connection_id":91144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":91144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:23:11] local.INFO: TCP Data received {"connection_id":91144,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886434a8012d1a4000071f8a70003f013426..."} 
[2026-06-02 18:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886434a8012d1a4000071f8a70003f013426..."} 
[2026-06-02 18:23:11] local.INFO: Processing buffer {"connection_id":91144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886434a8012d1a4000071f8a70003f013426..."} 
[2026-06-02 18:23:11] local.INFO: Packet analysis {"connection_id":91144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:23:11] local.INFO: Extracted packet for processing {"connection_id":91144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756695040,"raw_latitude":119507568,"longitude_deg":75.669504,"latitude_deg":11.9507568,"altitude":63,"angle":308,"satellites":38,"speed":3,"hex_longitude":"2d1a4000","hex_latitude":"071f8a70","is_valid_coordinates":true} 
[2026-06-02 18:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783610112001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420325012766720,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891652611577874432,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404729000,"timestamp_ms":1780404729000,"timestamp_seconds":1780404729,"priority":1,"record_length":96,"hex_timestamp":"0000019e886434a8"} 
[2026-06-02 18:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 18:23: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-06-02 18:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:23:11] 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-06-02 18:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783610112001,"66":13222,"101":206,"83":41984,"24":3,"16":125420325012766720,"45":1891652611577874432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783610112001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:23:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420325012766720,"km_value":125420325012766.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891652611577874432,"description":"Unknown IO ID 45"} 
[2026-06-02 18:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783610112001,"power":13222,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1891652611577874432}} 
[2026-06-02 18:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":91144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:23:11] local.INFO: GPS data processed {"connection_id":91144,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:23:11] local.INFO: Acknowledgment sent {"connection_id":91144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:23:23] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:23:23] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:23:23] local.INFO: IMEI packet received {"connection_id":89973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":89973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:23:23] local.INFO: TCP Data received {"connection_id":91145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:23:23] local.INFO: Processing buffer {"connection_id":91145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:23:23] local.INFO: IMEI packet received {"connection_id":91145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":91145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:23:28] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:23:28] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:23:28] local.INFO: IMEI packet received {"connection_id":89973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":89973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:23:28] local.INFO: TCP Data received {"connection_id":91145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:23:28] local.INFO: Processing buffer {"connection_id":91145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:23:28] local.INFO: IMEI packet received {"connection_id":91145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":91145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:23:29] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:23:29] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88606418012cb29ac007823b00004900d928..."} 
[2026-06-02 18:23:29] local.INFO: Packet analysis {"connection_id":89973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:23:29] local.INFO: Extracted packet for processing {"connection_id":89973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8860"} 
[2026-06-02 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783469568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404479000,"timestamp_ms":1780404479000,"timestamp_seconds":1780404479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88606418"} 
[2026-06-02 18:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:23: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-06-02 18: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-06-02 18:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:23: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-06-02 18:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783469568001,"66":25680,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783469568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783469568001,"power":25680,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":89973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:23:29] local.INFO: GPS data processed {"connection_id":89973,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:23:29] local.INFO: Acknowledgment sent {"connection_id":89973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:23:29] local.INFO: TCP Data received {"connection_id":91145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:23:29] local.INFO: Processing buffer {"connection_id":91145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:23:29] local.INFO: Packet analysis {"connection_id":91145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:23:29] local.INFO: Extracted packet for processing {"connection_id":91145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:29] 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-06-02 18:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":91145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:23:29] local.INFO: GPS data processed {"connection_id":91145,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:23:29] local.INFO: Acknowledgment sent {"connection_id":91145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:23:42] local.INFO: TCP Data received {"connection_id":91144,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88644060012d1a3e80071f8af0003f012528..."} 
[2026-06-02 18:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88644060012d1a3e80071f8af0003f012528..."} 
[2026-06-02 18:23:42] local.INFO: Processing buffer {"connection_id":91144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88644060012d1a3e80071f8af0003f012528..."} 
[2026-06-02 18:23:42] local.INFO: Packet analysis {"connection_id":91144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:23:42] local.INFO: Extracted packet for processing {"connection_id":91144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756694656,"raw_latitude":119507696,"longitude_deg":75.6694656,"latitude_deg":11.9507696,"altitude":63,"angle":293,"satellites":40,"speed":4,"hex_longitude":"2d1a3e80","hex_latitude":"071f8af0","is_valid_coordinates":true} 
[2026-06-02 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783610624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420346487603200,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891511874089545728,"note":"Value kept but may cause issues"} 
[2026-06-02 18:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780404732000,"timestamp_ms":1780404732000,"timestamp_seconds":1780404732,"priority":1,"record_length":96,"hex_timestamp":"0000019e88644060"} 
[2026-06-02 18:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-02 18:23:42] 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-06-02 18:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:23:42] 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-06-02 18:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783610624001,"66":13243,"101":206,"83":41984,"24":4,"16":125420346487603200,"45":1891511874089545728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783610624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:23:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420346487603200,"km_value":125420346487603.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891511874089545728,"description":"Unknown IO ID 45"} 
[2026-06-02 18:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783610624001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1891511874089545728}} 
[2026-06-02 18:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":91144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:23:42] local.INFO: GPS data processed {"connection_id":91144,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:23:42] local.INFO: Acknowledgment sent {"connection_id":91144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:24:00] local.INFO: TCP Data received {"connection_id":89973,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:24:00] local.INFO: Processing buffer {"connection_id":89973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:24:00] local.INFO: Packet analysis {"connection_id":89973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:00] local.INFO: Extracted packet for processing {"connection_id":89973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:24: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-06-02 18:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":89973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:24:00] local.INFO: GPS data processed {"connection_id":89973,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:24:00] local.INFO: Acknowledgment sent {"connection_id":89973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:24:00] local.INFO: TCP Data received {"connection_id":91145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:24:00] local.INFO: Processing buffer {"connection_id":91145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:24:00] local.INFO: Packet analysis {"connection_id":91145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:00] local.INFO: Extracted packet for processing {"connection_id":91145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24: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-06-02 18:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":91145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:24:00] local.INFO: GPS data processed {"connection_id":91145,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:24:00] local.INFO: Acknowledgment sent {"connection_id":91145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:24:05] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:05] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:05] local.INFO: IMEI packet received {"connection_id":89707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":89707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:24:06] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:06] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:06] local.INFO: IMEI packet received {"connection_id":89707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":89707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:24:10] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:10] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:24:10] local.INFO: IMEI packet received {"connection_id":89707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":89707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:24:11] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886457d0012d1a3a80071f8c10003f011a29..."} 
[2026-06-02 18:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886457d0012d1a3a80071f8c10003f011a29..."} 
[2026-06-02 18:24:11] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886457d0012d1a3a80071f8c10003f011a29..."} 
[2026-06-02 18:24:11] local.INFO: Packet analysis {"connection_id":89707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:11] local.INFO: Extracted packet for processing {"connection_id":89707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756693632,"raw_latitude":119507984,"longitude_deg":75.6693632,"latitude_deg":11.9507984,"altitude":63,"angle":282,"satellites":41,"speed":7,"hex_longitude":"2d1a3a80","hex_latitude":"071f8c10","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783611392001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420393732243456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891089661624512512,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780404738000,"timestamp_ms":1780404738000,"timestamp_seconds":1780404738,"priority":1,"record_length":96,"hex_timestamp":"0000019e886457d0"} 
[2026-06-02 18:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":187,"data_length":795,"current_offset":136} 
[2026-06-02 18:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:24:11] 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-06-02 18:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783611392001,"66":13167,"101":206,"83":41984,"24":7,"16":125420393732243456,"45":1891089661624512512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783611392001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:24:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420393732243456,"km_value":125420393732243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891089661624512512,"description":"Unknown IO ID 45"} 
[2026-06-02 18:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783611392001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1891089661624512512}} 
[2026-06-02 18:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":89707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:24:11] local.INFO: GPS data processed {"connection_id":89707,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:24:11] local.INFO: Acknowledgment sent {"connection_id":89707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:24:23] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:24:23] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:24:23] local.INFO: IMEI packet received {"connection_id":89709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":89709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:24:23] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:24:23] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:24:23] local.INFO: IMEI packet received {"connection_id":89708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":89708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:24:28] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:24:28] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:24:28] local.INFO: IMEI packet received {"connection_id":89709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":89709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:24:28] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:24:28] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:24:28] local.INFO: IMEI packet received {"connection_id":89708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":89708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:24:29] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:24:29] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:24:29] local.INFO: Packet analysis {"connection_id":89709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:29] local.INFO: Extracted packet for processing {"connection_id":89709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:24: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-06-02 18:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:24:29] 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-06-02 18:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":89709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:24:29] local.INFO: GPS data processed {"connection_id":89709,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:24:29] local.INFO: Acknowledgment sent {"connection_id":89709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:24:29] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:24:29] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:24:29] local.INFO: Packet analysis {"connection_id":89708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:29] local.INFO: Extracted packet for processing {"connection_id":89708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:29] 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-06-02 18:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":89708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:24:29] local.INFO: GPS data processed {"connection_id":89708,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:24:29] local.INFO: Acknowledgment sent {"connection_id":89708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:24:41] local.INFO: TCP Data received {"connection_id":89707,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864a9d8012d1a3680071f8dd0003f012027..."} 
[2026-06-02 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864a9d8012d1a3680071f8dd0003f012027..."} 
[2026-06-02 18:24:41] local.INFO: Processing buffer {"connection_id":89707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864a9d8012d1a3680071f8dd0003f012027..."} 
[2026-06-02 18:24:41] local.INFO: Packet analysis {"connection_id":89707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:41] local.INFO: Extracted packet for processing {"connection_id":89707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756692608,"raw_latitude":119508432,"longitude_deg":75.6692608,"latitude_deg":11.9508432,"altitude":63,"angle":288,"satellites":39,"speed":0,"hex_longitude":"2d1a3680","hex_latitude":"071f8dd0","is_valid_coordinates":true} 
[2026-06-02 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783612928001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420458156752896,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889963761717743616,"note":"Value kept but may cause issues"} 
[2026-06-02 18:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780404759000,"timestamp_ms":1780404759000,"timestamp_seconds":1780404759,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864a9d8"} 
[2026-06-02 18:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-02 18:24:41] 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-06-02 18:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:24:41] 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-06-02 18:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783612928001,"66":13091,"101":206,"83":41984,"24":0,"16":125420458156752896,"45":1889963761717743616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783612928001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:24:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420458156752896,"km_value":125420458156752.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889963761717743616,"description":"Unknown IO ID 45"} 
[2026-06-02 18:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783612928001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1889963761717743616}} 
[2026-06-02 18:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":89707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:24:42] local.INFO: GPS data processed {"connection_id":89707,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:24:42] local.INFO: Acknowledgment sent {"connection_id":89707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:25:00] local.INFO: TCP Data received {"connection_id":89709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:25:00] local.INFO: Processing buffer {"connection_id":89709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:25:00] local.INFO: Packet analysis {"connection_id":89709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:00] local.INFO: Extracted packet for processing {"connection_id":89709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:25: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-06-02 18:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":89709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:25:00] local.INFO: GPS data processed {"connection_id":89709,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:25:00] local.INFO: Acknowledgment sent {"connection_id":89709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:25:00] local.INFO: TCP Data received {"connection_id":89708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:25:00] local.INFO: Processing buffer {"connection_id":89708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:25:00] local.INFO: Packet analysis {"connection_id":89708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:00] local.INFO: Extracted packet for processing {"connection_id":89708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25: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-06-02 18:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":89708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:25:00] local.INFO: GPS data processed {"connection_id":89708,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:25:00] local.INFO: Acknowledgment sent {"connection_id":89708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:25:08] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:08] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:08] local.INFO: IMEI packet received {"connection_id":90064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":90064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:25:10] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:10] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:10] local.INFO: IMEI packet received {"connection_id":90064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":90064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:25:15] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:15] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:25:15] local.INFO: IMEI packet received {"connection_id":90064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":90064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:25:16] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88664018012d1a2700071f97a0003f012e2b..."} 
[2026-06-02 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88664018012d1a2700071f97a0003f012e2b..."} 
[2026-06-02 18:25:16] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88664018012d1a2700071f97a0003f012e2b..."} 
[2026-06-02 18:25:16] local.INFO: Packet analysis {"connection_id":90064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:25:16] local.INFO: Extracted packet for processing {"connection_id":90064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756688640,"raw_latitude":119510944,"longitude_deg":75.668864,"latitude_deg":11.9510944,"altitude":63,"angle":302,"satellites":43,"speed":5,"hex_longitude":"2d1a2700","hex_latitude":"071f97a0","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783644416001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420690084986880,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884686105905131520,"note":"Value kept but may cause issues"} 
[2026-06-02 18: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-06-02 18:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780404863000,"timestamp_ms":1780404863000,"timestamp_seconds":1780404863,"priority":1,"record_length":96,"hex_timestamp":"0000019e88664018"} 
[2026-06-02 18:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":148,"data_length":795,"current_offset":136} 
[2026-06-02 18:25: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-06-02 18: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-06-02 18:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:25:16] 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-06-02 18:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783644416001,"66":13906,"101":206,"83":41984,"24":5,"16":125420690084986880,"45":1884686105905131520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783644416001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420690084986880,"km_value":125420690084986.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884686105905131520,"description":"Unknown IO ID 45"} 
[2026-06-02 18:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783644416001,"power":13906,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1884686105905131520}} 
[2026-06-02 18:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":90064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:25:16] local.INFO: GPS data processed {"connection_id":90064,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:25:16] local.INFO: Acknowledgment sent {"connection_id":90064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:25:16] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886647e8012d1a2600071f9800003f01232a..."} 
[2026-06-02 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886647e8012d1a2600071f9800003f01232a..."} 
[2026-06-02 18:25:16] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886647e8012d1a2600071f9800003f01232a..."} 
[2026-06-02 18:25:16] local.INFO: Packet analysis {"connection_id":90064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:25:16] local.INFO: Extracted packet for processing {"connection_id":90064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756688384,"raw_latitude":119511040,"longitude_deg":75.6688384,"latitude_deg":11.951104,"altitude":63,"angle":291,"satellites":42,"speed":5,"hex_longitude":"2d1a2600","hex_latitude":"071f9800","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783644928001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420702969888768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884474999672643584,"note":"Value kept but may cause issues"} 
[2026-06-02 18: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-06-02 18:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780404865000,"timestamp_ms":1780404865000,"timestamp_seconds":1780404865,"priority":1,"record_length":96,"hex_timestamp":"0000019e886647e8"} 
[2026-06-02 18:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":82,"data_length":795,"current_offset":136} 
[2026-06-02 18:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:25:16] 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-06-02 18:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783644928001,"66":13863,"101":206,"83":41984,"24":5,"16":125420702969888768,"45":1884474999672643584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783644928001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420702969888768,"km_value":125420702969888.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884474999672643584,"description":"Unknown IO ID 45"} 
[2026-06-02 18:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783644928001,"power":13863,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1884474999672643584}} 
[2026-06-02 18:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":90064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:25:16] local.INFO: GPS data processed {"connection_id":90064,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:25:16] local.INFO: Acknowledgment sent {"connection_id":90064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:25:23] local.INFO: TCP Data received {"connection_id":91146,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:25:23] local.INFO: Processing buffer {"connection_id":91146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:25:23] local.INFO: IMEI packet received {"connection_id":91146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":91146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:25:23] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:25:23] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:25:23] local.INFO: IMEI packet received {"connection_id":89710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":89710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:25:28] local.INFO: TCP Data received {"connection_id":91146,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:25:28] local.INFO: Processing buffer {"connection_id":91146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:25:28] local.INFO: IMEI packet received {"connection_id":91146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":91146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:25:28] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:25:28] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:25:28] local.INFO: IMEI packet received {"connection_id":89710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":89710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:25:29] local.INFO: TCP Data received {"connection_id":91146,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:25:29] local.INFO: Processing buffer {"connection_id":91146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:25:29] local.INFO: Packet analysis {"connection_id":91146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:29] local.INFO: Extracted packet for processing {"connection_id":91146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18: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-06-02 18: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-06-02 18:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:25:29] 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-06-02 18:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":91146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:25:29] local.INFO: GPS data processed {"connection_id":91146,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:25:29] local.INFO: Acknowledgment sent {"connection_id":91146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:25:29] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:25:29] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:25:29] local.INFO: Packet analysis {"connection_id":89710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:29] local.INFO: Extracted packet for processing {"connection_id":89710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:29] 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-06-02 18:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":89710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:25:29] local.INFO: GPS data processed {"connection_id":89710,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:25:29] local.INFO: Acknowledgment sent {"connection_id":89710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:25:47] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8866d488012d1a1640071fa148004a001b28..."} 
[2026-06-02 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8866d488012d1a1640071fa148004a001b28..."} 
[2026-06-02 18:25:47] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8866d488012d1a1640071fa148004a001b28..."} 
[2026-06-02 18:25:47] local.INFO: Packet analysis {"connection_id":90064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:25:47] local.INFO: Extracted packet for processing {"connection_id":90064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756684352,"raw_latitude":119513416,"longitude_deg":75.6684352,"latitude_deg":11.9513416,"altitude":74,"angle":27,"satellites":40,"speed":6,"hex_longitude":"2d1a1640","hex_latitude":"071fa148","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783653376001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125420990732697600,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879689925069004800,"note":"Value kept but may cause issues"} 
[2026-06-02 18:25: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-06-02 18:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780404901000,"timestamp_ms":1780404901000,"timestamp_seconds":1780404901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8866d488"} 
[2026-06-02 18:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-02 18:25: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-06-02 18: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-06-02 18:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":90064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:25:47] 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-06-02 18:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783653376001,"66":14102,"101":206,"83":41984,"24":6,"16":125420990732697600,"45":1879689925069004800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783653376001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:25:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125420990732697600,"km_value":125420990732697.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879689925069004800,"description":"Unknown IO ID 45"} 
[2026-06-02 18:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783653376001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1879689925069004800}} 
[2026-06-02 18:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":90064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:25:47] local.INFO: GPS data processed {"connection_id":90064,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:25:47] local.INFO: Acknowledgment sent {"connection_id":90064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:26:00] local.INFO: TCP Data received {"connection_id":91146,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:26:00] local.INFO: Processing buffer {"connection_id":91146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:26:00] local.INFO: Packet analysis {"connection_id":91146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:00] local.INFO: Extracted packet for processing {"connection_id":91146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:26:00] 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-06-02 18:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":91146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:26:00] local.INFO: GPS data processed {"connection_id":91146,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:26:00] local.INFO: Acknowledgment sent {"connection_id":91146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:26:00] local.INFO: TCP Data received {"connection_id":89710,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:26:00] local.INFO: Processing buffer {"connection_id":89710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:26:00] local.INFO: Packet analysis {"connection_id":89710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:00] local.INFO: Extracted packet for processing {"connection_id":89710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26: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-06-02 18:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":89710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:26:00] local.INFO: GPS data processed {"connection_id":89710,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:26:00] local.INFO: Acknowledgment sent {"connection_id":89710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:26:04] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:04] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:04] local.INFO: IMEI packet received {"connection_id":89712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":89712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:26:04] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:04] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:04] local.INFO: IMEI packet received {"connection_id":89712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":89712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:26:09] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:09] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:26:09] local.INFO: IMEI packet received {"connection_id":89712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":89712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:26:10] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8866e040012d1a16c0071fa330004a000f28..."} 
[2026-06-02 18:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8866e040012d1a16c0071fa330004a000f28..."} 
[2026-06-02 18:26:10] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8866e040012d1a16c0071fa330004a000f28..."} 
[2026-06-02 18:26:10] local.INFO: Packet analysis {"connection_id":89712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:26:10] local.INFO: Extracted packet for processing {"connection_id":89712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8866"} 
[2026-06-02 18:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756684480,"raw_latitude":119513904,"longitude_deg":75.668448,"latitude_deg":11.9513904,"altitude":74,"angle":15,"satellites":40,"speed":7,"hex_longitude":"2d1a16c0","hex_latitude":"071fa330","is_valid_coordinates":true} 
[2026-06-02 18:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783654656001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125421016502501376,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879760293813372928,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780404904000,"timestamp_ms":1780404904000,"timestamp_seconds":1780404904,"priority":1,"record_length":96,"hex_timestamp":"0000019e8866e040"} 
[2026-06-02 18:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-02 18:26:10] 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-06-02 18:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:26:10] 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-06-02 18:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783654656001,"66":14102,"101":206,"83":41984,"24":7,"16":125421016502501376,"45":1879760293813372928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783654656001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:26:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125421016502501376,"km_value":125421016502501.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879760293813372928,"description":"Unknown IO ID 45"} 
[2026-06-02 18:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783654656001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1879760293813372928}} 
[2026-06-02 18:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":89712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:26:10] local.INFO: GPS data processed {"connection_id":89712,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:26:10] local.INFO: Acknowledgment sent {"connection_id":89712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:26:23] local.INFO: TCP Data received {"connection_id":89976,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:26:23] local.INFO: Processing buffer {"connection_id":89976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:26:23] local.INFO: IMEI packet received {"connection_id":89976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":89976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:26:23] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:26:23] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:26:23] local.INFO: IMEI packet received {"connection_id":89975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":89975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:26:28] local.INFO: TCP Data received {"connection_id":89976,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:26:28] local.INFO: Processing buffer {"connection_id":89976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:26:28] local.INFO: IMEI packet received {"connection_id":89976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":89976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:26:28] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:26:28] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:26:28] local.INFO: IMEI packet received {"connection_id":89975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":89975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:26:29] local.INFO: TCP Data received {"connection_id":89976,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:26:29] local.INFO: Processing buffer {"connection_id":89976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:26:29] local.INFO: Packet analysis {"connection_id":89976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:29] local.INFO: Extracted packet for processing {"connection_id":89976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:26: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-06-02 18: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-06-02 18:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":89976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:26:29] local.INFO: GPS data processed {"connection_id":89976,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:26:29] local.INFO: Acknowledgment sent {"connection_id":89976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:26:29] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:26:29] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:26:29] local.INFO: Packet analysis {"connection_id":89975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:29] local.INFO: Extracted packet for processing {"connection_id":89975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:29] 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-06-02 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":89975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:26:29] local.INFO: GPS data processed {"connection_id":89975,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:26:29] local.INFO: Acknowledgment sent {"connection_id":89975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:26:41] local.INFO: TCP Data received {"connection_id":89712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886768f8012d1a0bc0071fbe90004001052a..."} 
[2026-06-02 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886768f8012d1a0bc0071fbe90004001052a..."} 
[2026-06-02 18:26:41] local.INFO: Processing buffer {"connection_id":89712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886768f8012d1a0bc0071fbe90004001052a..."} 
[2026-06-02 18:26:41] local.INFO: Packet analysis {"connection_id":89712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8867"} 
[2026-06-02 18:26:41] local.INFO: Extracted packet for processing {"connection_id":89712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8867"} 
[2026-06-02 18:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756681664,"raw_latitude":119520912,"longitude_deg":75.6681664,"latitude_deg":11.9520912,"altitude":64,"angle":261,"satellites":42,"speed":5,"hex_longitude":"2d1a0bc0","hex_latitude":"071fbe90","is_valid_coordinates":true} 
[2026-06-02 18:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783663616001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125421424524394496,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877297387769057280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780404939000,"timestamp_ms":1780404939000,"timestamp_seconds":1780404939,"priority":1,"record_length":96,"hex_timestamp":"0000019e886768f8"} 
[2026-06-02 18:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-02 18:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:26:41] 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-06-02 18:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783663616001,"66":14070,"101":206,"83":41984,"24":5,"16":125421424524394496,"45":1877297387769057280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783663616001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125421424524394496,"km_value":125421424524394.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877297387769057280,"description":"Unknown IO ID 45"} 
[2026-06-02 18:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783663616001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1877297387769057280}} 
[2026-06-02 18:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":89712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:26:41] local.INFO: GPS data processed {"connection_id":89712,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:26:41] local.INFO: Acknowledgment sent {"connection_id":89712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:27:00] local.INFO: TCP Data received {"connection_id":89976,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:00] local.INFO: Processing buffer {"connection_id":89976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:00] local.INFO: Packet analysis {"connection_id":89976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:00] local.INFO: Extracted packet for processing {"connection_id":89976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:27: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-06-02 18:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":89976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:27:00] local.INFO: GPS data processed {"connection_id":89976,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:27:00] local.INFO: Acknowledgment sent {"connection_id":89976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:27:00] local.INFO: TCP Data received {"connection_id":89975,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:27:00] local.INFO: Processing buffer {"connection_id":89975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88646770012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:27:00] local.INFO: Packet analysis {"connection_id":89975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:00] local.INFO: Extracted packet for processing {"connection_id":89975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783555840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27: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-06-02 18:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780404742000,"timestamp_ms":1780404742000,"timestamp_seconds":1780404742,"priority":1,"record_length":96,"hex_timestamp":"0000019e88646770"} 
[2026-06-02 18:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783555840001,"66":2253,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783555840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783555840001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":89975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:27:00] local.INFO: GPS data processed {"connection_id":89975,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:27:00] local.INFO: Acknowledgment sent {"connection_id":89975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:27:05] local.INFO: TCP Data received {"connection_id":91147,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:27:05] local.INFO: Processing buffer {"connection_id":91147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:27:05] local.INFO: IMEI packet received {"connection_id":91147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":91147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:27:08] local.INFO: TCP Data received {"connection_id":91147,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:27:08] local.INFO: Processing buffer {"connection_id":91147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:27:08] local.INFO: IMEI packet received {"connection_id":91147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":91147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:27:09] local.INFO: TCP Data received {"connection_id":91147,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88676ce0012d1a0b80071fbe70004000f92a..."} 
[2026-06-02 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88676ce0012d1a0b80071fbe70004000f92a..."} 
[2026-06-02 18:27:09] local.INFO: Processing buffer {"connection_id":91147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88676ce0012d1a0b80071fbe70004000f92a..."} 
[2026-06-02 18:27:09] local.INFO: Packet analysis {"connection_id":91147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8867"} 
[2026-06-02 18:27:09] local.INFO: Extracted packet for processing {"connection_id":91147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8867"} 
[2026-06-02 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756681600,"raw_latitude":119520880,"longitude_deg":75.66816,"latitude_deg":11.952088,"altitude":64,"angle":249,"satellites":42,"speed":4,"hex_longitude":"2d1a0b80","hex_latitude":"071fbe70","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783664384001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125421428819361792,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876804806559830016,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780404940000,"timestamp_ms":1780404940000,"timestamp_seconds":1780404940,"priority":1,"record_length":96,"hex_timestamp":"0000019e88676ce0"} 
[2026-06-02 18:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-02 18:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":91147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":91147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":91147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:27:09] 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-06-02 18:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783664384001,"66":14157,"101":206,"83":41984,"24":4,"16":125421428819361792,"45":1876804806559830016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783664384001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:27:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125421428819361792,"km_value":125421428819361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876804806559830016,"description":"Unknown IO ID 45"} 
[2026-06-02 18:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783664384001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1876804806559830016}} 
[2026-06-02 18:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":91147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:27:09] local.INFO: GPS data processed {"connection_id":91147,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:27:09] local.INFO: Acknowledgment sent {"connection_id":91147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:27:23] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:23] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:23] local.INFO: IMEI packet received {"connection_id":90065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":90065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:27:24] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:24] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:24] local.INFO: IMEI packet received {"connection_id":90065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":90065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:27:28] local.INFO: TCP Data received {"connection_id":91148,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:27:28] local.INFO: Processing buffer {"connection_id":91148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:27:28] local.INFO: IMEI packet received {"connection_id":91148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":91148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:27:28] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:28] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:27:28] local.INFO: IMEI packet received {"connection_id":90065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":90065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:27:29] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:27:29] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:27:29] local.INFO: Packet analysis {"connection_id":90065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:27:29] local.INFO: Extracted packet for processing {"connection_id":90065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:29] 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-06-02 18:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:27:29] 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-06-02 18:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":90065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:27:29] local.INFO: GPS data processed {"connection_id":90065,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:27:29] local.INFO: Acknowledgment sent {"connection_id":90065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:27:33] local.INFO: TCP Data received {"connection_id":91148,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:27:33] local.INFO: Processing buffer {"connection_id":91148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:27:33] local.INFO: IMEI packet received {"connection_id":91148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":91148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:27:34] local.INFO: TCP Data received {"connection_id":91148,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:34] local.INFO: Processing buffer {"connection_id":91148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:34] local.INFO: Packet analysis {"connection_id":91148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:34] local.INFO: Extracted packet for processing {"connection_id":91148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:27:34] 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-06-02 18:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:27:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:27:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":91148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:27:34] local.INFO: GPS data processed {"connection_id":91148,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:27:34] local.INFO: Acknowledgment sent {"connection_id":91148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:27:38] local.INFO: TCP Data received {"connection_id":91148,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:38] local.INFO: Processing buffer {"connection_id":91148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:27:38] local.INFO: Packet analysis {"connection_id":91148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:38] local.INFO: Extracted packet for processing {"connection_id":91148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:27:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:27:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":91148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:27:38] local.INFO: GPS data processed {"connection_id":91148,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:27:38] local.INFO: Acknowledgment sent {"connection_id":91148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:27:40] local.INFO: TCP Data received {"connection_id":91147,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88688df0012d19a740071fc0e8003b014728..."} 
[2026-06-02 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88688df0012d19a740071fc0e8003b014728..."} 
[2026-06-02 18:27:40] local.INFO: Processing buffer {"connection_id":91147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88688df0012d19a740071fc0e8003b014728..."} 
[2026-06-02 18:27:40] local.INFO: Packet analysis {"connection_id":91147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:27:40] local.INFO: Extracted packet for processing {"connection_id":91147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756655936,"raw_latitude":119521512,"longitude_deg":75.6655936,"latitude_deg":11.9521512,"altitude":59,"angle":327,"satellites":40,"speed":6,"hex_longitude":"2d19a740","hex_latitude":"071fc0e8","is_valid_coordinates":true} 
[2026-06-02 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783683328001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125422837568634880,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848727677633064960,"note":"Value kept but may cause issues"} 
[2026-06-02 18:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780405014000,"timestamp_ms":1780405014000,"timestamp_seconds":1780405014,"priority":1,"record_length":96,"hex_timestamp":"0000019e88688df0"} 
[2026-06-02 18:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:27: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-06-02 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":91147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":91147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":91147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:27:40] 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-06-02 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783683328001,"66":12613,"101":206,"83":41984,"24":6,"16":125422837568634880,"45":1848727677633064960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783683328001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:27:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125422837568634880,"km_value":125422837568634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848727677633064960,"description":"Unknown IO ID 45"} 
[2026-06-02 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783683328001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1848727677633064960}} 
[2026-06-02 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":91147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:27:40] local.INFO: GPS data processed {"connection_id":91147,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:27:40] local.INFO: Acknowledgment sent {"connection_id":91147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:28:00] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:28:00] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:28:00] local.INFO: Packet analysis {"connection_id":90065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:00] local.INFO: Extracted packet for processing {"connection_id":90065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28: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-06-02 18:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:28:00] 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-06-02 18: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-06-02 18:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:28:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":90065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:28:00] local.INFO: GPS data processed {"connection_id":90065,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:28:00] local.INFO: Acknowledgment sent {"connection_id":90065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:28:05] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:28:05] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:28:05] local.INFO: IMEI packet received {"connection_id":89977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":89977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:28:07] local.INFO: TCP Data received {"connection_id":89978,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:28:07] local.INFO: Processing buffer {"connection_id":89978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:28:07] local.INFO: IMEI packet received {"connection_id":89978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":89978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:28:10] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:28:10] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:28:10] local.INFO: IMEI packet received {"connection_id":89977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":89977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:28:11] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886891d8012d19a700071fc180003c015728..."} 
[2026-06-02 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886891d8012d19a700071fc180003c015728..."} 
[2026-06-02 18:28:11] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886891d8012d19a700071fc180003c015728..."} 
[2026-06-02 18:28:11] local.INFO: Packet analysis {"connection_id":89977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:11] local.INFO: Extracted packet for processing {"connection_id":89977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756655872,"raw_latitude":119521664,"longitude_deg":75.6655872,"latitude_deg":11.9521664,"altitude":60,"angle":343,"satellites":40,"speed":6,"hex_longitude":"2d19a700","hex_latitude":"071fc180","is_valid_coordinates":true} 
[2026-06-02 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783683584001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125422846158569472,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848516571400562688,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780405015000,"timestamp_ms":1780405015000,"timestamp_seconds":1780405015,"priority":1,"record_length":96,"hex_timestamp":"0000019e886891d8"} 
[2026-06-02 18:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 18:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:28:11] 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-06-02 18:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783683584001,"66":12613,"101":206,"83":41984,"24":6,"16":125422846158569472,"45":1848516571400562688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783683584001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:28:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125422846158569472,"km_value":125422846158569.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848516571400562688,"description":"Unknown IO ID 45"} 
[2026-06-02 18:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783683584001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1848516571400562688}} 
[2026-06-02 18:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":89977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:28:11] local.INFO: GPS data processed {"connection_id":89977,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:28:11] local.INFO: Acknowledgment sent {"connection_id":89977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:28:23] local.INFO: TCP Data received {"connection_id":89714,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:28:23] local.INFO: Processing buffer {"connection_id":89714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:28:23] local.INFO: IMEI packet received {"connection_id":89714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":89714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:28:23] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:28:23] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:28:23] local.INFO: IMEI packet received {"connection_id":89713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":89713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:28:28] local.INFO: TCP Data received {"connection_id":89714,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:28:28] local.INFO: Processing buffer {"connection_id":89714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:28:28] local.INFO: IMEI packet received {"connection_id":89714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":89714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:28:28] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:28:28] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:28:28] local.INFO: IMEI packet received {"connection_id":89713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":89713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:28:29] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:28:29] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8864fbe0012cb29ac007823b00004900d928..."} 
[2026-06-02 18:28:29] local.INFO: Packet analysis {"connection_id":89713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:28:29] local.INFO: Extracted packet for processing {"connection_id":89713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8864"} 
[2026-06-02 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783546624001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780404780000,"timestamp_ms":1780404780000,"timestamp_seconds":1780404780,"priority":1,"record_length":96,"hex_timestamp":"0000019e8864fbe0"} 
[2026-06-02 18:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-02 18:28: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-06-02 18:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:28: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-06-02 18:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783546624001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783546624001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783546624001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":89713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:28:29] local.INFO: GPS data processed {"connection_id":89713,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:28:29] local.INFO: Acknowledgment sent {"connection_id":89713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:28:29] local.INFO: TCP Data received {"connection_id":89714,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:28:29] local.INFO: Processing buffer {"connection_id":89714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:28:29] local.INFO: Packet analysis {"connection_id":89714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:29] local.INFO: Extracted packet for processing {"connection_id":89714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:29] 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-06-02 18:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:28:29] 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-06-02 18:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":89714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:28:29] local.INFO: GPS data processed {"connection_id":89714,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:28:29] local.INFO: Acknowledgment sent {"connection_id":89714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:28:42] local.INFO: TCP Data received {"connection_id":89977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886899a8012d19a680071fc300003c016428..."} 
[2026-06-02 18:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886899a8012d19a680071fc300003c016428..."} 
[2026-06-02 18:28:42] local.INFO: Processing buffer {"connection_id":89977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886899a8012d19a680071fc300003c016428..."} 
[2026-06-02 18:28:42] local.INFO: Packet analysis {"connection_id":89977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:42] local.INFO: Extracted packet for processing {"connection_id":89977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119522048,"longitude_deg":75.6655744,"latitude_deg":11.9522048,"altitude":60,"angle":356,"satellites":40,"speed":7,"hex_longitude":"2d19a680","hex_latitude":"071fc300","is_valid_coordinates":true} 
[2026-06-02 18:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783683840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125422867633405952,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848446202656423936,"note":"Value kept but may cause issues"} 
[2026-06-02 18:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780405017000,"timestamp_ms":1780405017000,"timestamp_seconds":1780405017,"priority":1,"record_length":96,"hex_timestamp":"0000019e886899a8"} 
[2026-06-02 18:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-02 18:28:42] 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-06-02 18:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:28:42] 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-06-02 18:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783683840001,"66":12591,"101":206,"83":41984,"24":7,"16":125422867633405952,"45":1848446202656423936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783683840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:28:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125422867633405952,"km_value":125422867633405.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848446202656423936,"description":"Unknown IO ID 45"} 
[2026-06-02 18:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783683840001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1848446202656423936}} 
[2026-06-02 18:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":89977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:28:42] local.INFO: GPS data processed {"connection_id":89977,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:28:42] local.INFO: Acknowledgment sent {"connection_id":89977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:29:00] local.INFO: TCP Data received {"connection_id":89713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:29:00] local.INFO: Processing buffer {"connection_id":89713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:29:00] local.INFO: Packet analysis {"connection_id":89713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:29:00] local.INFO: Extracted packet for processing {"connection_id":89713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:29:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:29: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-06-02 18:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:29: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-06-02 18:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":89713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:29:00] local.INFO: GPS data processed {"connection_id":89713,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:29:00] local.INFO: Acknowledgment sent {"connection_id":89713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:29:00] local.INFO: TCP Data received {"connection_id":89714,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:29:00] local.INFO: Processing buffer {"connection_id":89714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:29:00] local.INFO: Packet analysis {"connection_id":89714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:29:00] local.INFO: Extracted packet for processing {"connection_id":89714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29: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-06-02 18:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:29:00] 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-06-02 18:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":89714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:29:00] local.INFO: GPS data processed {"connection_id":89714,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:29:00] local.INFO: Acknowledgment sent {"connection_id":89714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:29:03] local.INFO: TCP Data received {"connection_id":89715,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:29:03] local.INFO: Processing buffer {"connection_id":89715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:29:03] local.INFO: IMEI packet received {"connection_id":89715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":89715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:29:04] local.INFO: TCP Data received {"connection_id":91149,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:29:04] local.INFO: Processing buffer {"connection_id":91149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:29:04] local.INFO: IMEI packet received {"connection_id":91149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":91149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:29:10] local.INFO: TCP Data received {"connection_id":91149,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:29:10] local.INFO: Processing buffer {"connection_id":91149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:29:10] local.INFO: IMEI packet received {"connection_id":91149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":91149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:29:11] local.INFO: TCP Data received {"connection_id":91149,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868dff8012d19a500071fd2b0003e015127..."} 
[2026-06-02 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868dff8012d19a500071fd2b0003e015127..."} 
[2026-06-02 18:29:11] local.INFO: Processing buffer {"connection_id":91149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868dff8012d19a500071fd2b0003e015127..."} 
[2026-06-02 18:29:11] local.INFO: Packet analysis {"connection_id":91149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:29:11] local.INFO: Extracted packet for processing {"connection_id":91149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119526064,"longitude_deg":75.665536,"latitude_deg":11.9526064,"altitude":62,"angle":337,"satellites":39,"speed":7,"hex_longitude":"2d19a500","hex_latitude":"071fd2b0","is_valid_coordinates":true} 
[2026-06-02 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783684352001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423065201901568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465168166912,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780405035000,"timestamp_ms":1780405035000,"timestamp_seconds":1780405035,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868dff8"} 
[2026-06-02 18:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:29:11] 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-06-02 18:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783684352001,"66":12385,"101":206,"83":41984,"24":7,"16":125423065201901568,"45":1848305465168166912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783684352001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:29:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423065201901568,"km_value":125423065201901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465168166912,"description":"Unknown IO ID 45"} 
[2026-06-02 18:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783684352001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1848305465168166912}} 
[2026-06-02 18:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":91149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:29:11] local.INFO: GPS data processed {"connection_id":91149,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:29:11] local.INFO: Acknowledgment sent {"connection_id":91149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:29:23] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:29:23] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:29:23] local.INFO: IMEI packet received {"connection_id":90067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":90067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:29:23] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:29:23] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:29:23] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:29:28] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:29:28] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:29:28] local.INFO: IMEI packet received {"connection_id":90067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":90067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:29:28] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:29:28] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:29:28] local.INFO: IMEI packet received {"connection_id":89716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":89716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:29:29] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:29:29] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:29:29] local.INFO: Packet analysis {"connection_id":89716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:29:29] local.INFO: Extracted packet for processing {"connection_id":89716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:29: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-06-02 18:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:29] 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-06-02 18:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:29:29] 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-06-02 18:29: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-06-02 18:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":89716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:29:29] local.INFO: GPS data processed {"connection_id":89716,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:29:29] local.INFO: Acknowledgment sent {"connection_id":89716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:29:29] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:29:29] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:29:29] local.INFO: Packet analysis {"connection_id":90067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:29:29] local.INFO: Extracted packet for processing {"connection_id":90067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:29: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-06-02 18:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:29: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-06-02 18:29: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-06-02 18:29: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-06-02 18:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":90067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:29:29] local.INFO: GPS data processed {"connection_id":90067,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:29:29] local.INFO: Acknowledgment sent {"connection_id":90067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:29:42] local.INFO: TCP Data received {"connection_id":91149,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88693200012d19a380071fd5b0003d014725..."} 
[2026-06-02 18:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88693200012d19a380071fd5b0003d014725..."} 
[2026-06-02 18:29:42] local.INFO: Processing buffer {"connection_id":91149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88693200012d19a380071fd5b0003d014725..."} 
[2026-06-02 18:29:42] local.INFO: Packet analysis {"connection_id":91149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:29:42] local.INFO: Extracted packet for processing {"connection_id":91149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783688960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252704129024,"note":"Value kept but may cause issues"} 
[2026-06-02 18:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780405056000,"timestamp_ms":1780405056000,"timestamp_seconds":1780405056,"priority":1,"record_length":96,"hex_timestamp":"0000019e88693200"} 
[2026-06-02 18:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 18:29:42] 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-06-02 18:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:29:42] 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-06-02 18:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783688960001,"66":12287,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847883252704129024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783688960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:29:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252704129024,"description":"Unknown IO ID 45"} 
[2026-06-02 18:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783688960001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847883252704129024}} 
[2026-06-02 18:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":91149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:29:42] local.INFO: GPS data processed {"connection_id":91149,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:29:42] local.INFO: Acknowledgment sent {"connection_id":91149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:30:00] local.INFO: TCP Data received {"connection_id":89716,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:30:00] local.INFO: Processing buffer {"connection_id":89716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:30:00] local.INFO: Packet analysis {"connection_id":89716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:30:00] local.INFO: Extracted packet for processing {"connection_id":89716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:30: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-06-02 18:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30: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-06-02 18:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:30: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":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:30:00] 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-06-02 18:30: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-06-02 18:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:30:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":89716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:30:00] local.INFO: GPS data processed {"connection_id":89716,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:30:00] local.INFO: Acknowledgment sent {"connection_id":89716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:30:01] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:30:01] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:30:01] local.INFO: Packet analysis {"connection_id":90067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:01] local.INFO: Extracted packet for processing {"connection_id":90067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:30: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-06-02 18: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-06-02 18:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:30:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:30:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":90067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:30:01] local.INFO: GPS data processed {"connection_id":90067,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:30:01] local.INFO: Acknowledgment sent {"connection_id":90067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:30:04] local.INFO: TCP Data received {"connection_id":89979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:30:04] local.INFO: Processing buffer {"connection_id":89979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:30:04] local.INFO: IMEI packet received {"connection_id":89979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":89979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:30:10] local.INFO: TCP Data received {"connection_id":89979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:30:10] local.INFO: Processing buffer {"connection_id":89979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:30:10] local.INFO: IMEI packet received {"connection_id":89979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":89979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:30:11] local.INFO: TCP Data received {"connection_id":89979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88698408012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88698408012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:30:11] local.INFO: Processing buffer {"connection_id":89979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88698408012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:30:11] local.INFO: Packet analysis {"connection_id":89979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:11] local.INFO: Extracted packet for processing {"connection_id":89979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783694336001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239259648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780405077000,"timestamp_ms":1780405077000,"timestamp_seconds":1780405077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88698408"} 
[2026-06-02 18:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 18:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:30:11] 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-06-02 18:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783694336001,"66":12178,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847461040239259648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783694336001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:30:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239259648,"description":"Unknown IO ID 45"} 
[2026-06-02 18:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783694336001,"power":12178,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847461040239259648}} 
[2026-06-02 18:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":89979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:30:11] local.INFO: GPS data processed {"connection_id":89979,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:30:11] local.INFO: Acknowledgment sent {"connection_id":89979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:30:23] local.INFO: TCP Data received {"connection_id":91151,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:30:23] local.INFO: Processing buffer {"connection_id":91151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:30:23] local.INFO: IMEI packet received {"connection_id":91151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":91151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:30:23] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:30:23] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:30:23] local.INFO: IMEI packet received {"connection_id":89980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":89980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:30:28] local.INFO: TCP Data received {"connection_id":91151,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:30:28] local.INFO: Processing buffer {"connection_id":91151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:30:28] local.INFO: IMEI packet received {"connection_id":91151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":91151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:30:28] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:30:28] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:30:28] local.INFO: IMEI packet received {"connection_id":89980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":89980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:30:29] local.INFO: TCP Data received {"connection_id":91151,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:30:29] local.INFO: Processing buffer {"connection_id":91151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:30:29] local.INFO: Packet analysis {"connection_id":91151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:29] local.INFO: Extracted packet for processing {"connection_id":91151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:30: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-06-02 18:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:30: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-06-02 18:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":91151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:30:29] local.INFO: GPS data processed {"connection_id":91151,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:30:29] local.INFO: Acknowledgment sent {"connection_id":91151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:30:29] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:30:29] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:30:29] local.INFO: Packet analysis {"connection_id":89980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:30:29] local.INFO: Extracted packet for processing {"connection_id":89980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:29] 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-06-02 18:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:30:29] 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-06-02 18:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:30:29] 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-06-02 18:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":89980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:30:29] local.INFO: GPS data processed {"connection_id":89980,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:30:29] local.INFO: Acknowledgment sent {"connection_id":89980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:30:41] local.INFO: TCP Data received {"connection_id":89979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8869d610012d19a380071fd5b0003d014725..."} 
[2026-06-02 18:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8869d610012d19a380071fd5b0003d014725..."} 
[2026-06-02 18:30:41] local.INFO: Processing buffer {"connection_id":89979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8869d610012d19a380071fd5b0003d014725..."} 
[2026-06-02 18:30:41] local.INFO: Packet analysis {"connection_id":89979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:41] local.INFO: Extracted packet for processing {"connection_id":89979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783699712001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239259648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780405098000,"timestamp_ms":1780405098000,"timestamp_seconds":1780405098,"priority":1,"record_length":96,"hex_timestamp":"0000019e8869d610"} 
[2026-06-02 18:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-02 18:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:30:41] 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-06-02 18:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783699712001,"66":11254,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847461040239259648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783699712001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:30:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239259648,"description":"Unknown IO ID 45"} 
[2026-06-02 18:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783699712001,"power":11254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847461040239259648}} 
[2026-06-02 18:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":89979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:30:42] local.INFO: GPS data processed {"connection_id":89979,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:30:42] local.INFO: Acknowledgment sent {"connection_id":89979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:31:00] local.INFO: TCP Data received {"connection_id":91151,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:00] local.INFO: Processing buffer {"connection_id":91151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:00] local.INFO: Packet analysis {"connection_id":91151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:31:00] local.INFO: Extracted packet for processing {"connection_id":91151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:31: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-06-02 18: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-06-02 18:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:31: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-06-02 18:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":91151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:31:00] local.INFO: GPS data processed {"connection_id":91151,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:31:00] local.INFO: Acknowledgment sent {"connection_id":91151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:31:00] local.INFO: TCP Data received {"connection_id":89980,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:31:00] local.INFO: Processing buffer {"connection_id":89980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:31:00] local.INFO: Packet analysis {"connection_id":89980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:31:00] local.INFO: Extracted packet for processing {"connection_id":89980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31: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-06-02 18:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:31:00] 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-06-02 18: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-06-02 18:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:31:00] 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-06-02 18:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":89980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:31:00] local.INFO: GPS data processed {"connection_id":89980,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:31:00] local.INFO: Acknowledgment sent {"connection_id":89980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:31:10] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:31:10] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:31:10] local.INFO: IMEI packet received {"connection_id":89981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":89981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:31:14] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:31:14] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:31:14] local.INFO: IMEI packet received {"connection_id":89981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":89981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:31:15] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886a2818012d19a380071fd5b0003d014727..."} 
[2026-06-02 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886a2818012d19a380071fd5b0003d014727..."} 
[2026-06-02 18:31:15] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886a2818012d19a380071fd5b0003d014727..."} 
[2026-06-02 18:31:15] local.INFO: Packet analysis {"connection_id":89981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886a"} 
[2026-06-02 18:31:15] local.INFO: Extracted packet for processing {"connection_id":89981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886a"} 
[2026-06-02 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783705088001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239259648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780405119000,"timestamp_ms":1780405119000,"timestamp_seconds":1780405119,"priority":1,"record_length":96,"hex_timestamp":"0000019e886a2818"} 
[2026-06-02 18:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:31: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-06-02 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-02 18:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:31:15] 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-06-02 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783705088001,"66":11993,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847461040239259648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783705088001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:31:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239259648,"description":"Unknown IO ID 45"} 
[2026-06-02 18:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783705088001,"power":11993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847461040239259648}} 
[2026-06-02 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":89981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:31:15] local.INFO: GPS data processed {"connection_id":89981,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:31:15] local.INFO: Acknowledgment sent {"connection_id":89981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:31:20] local.INFO: TCP Data received {"connection_id":89981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886a7a20012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886a7a20012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:31:20] local.INFO: Processing buffer {"connection_id":89981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886a7a20012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:31:20] local.INFO: Packet analysis {"connection_id":89981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886a"} 
[2026-06-02 18:31:20] local.INFO: Extracted packet for processing {"connection_id":89981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886a"} 
[2026-06-02 18:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783710464001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239259648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31: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-06-02 18:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780405140000,"timestamp_ms":1780405140000,"timestamp_seconds":1780405140,"priority":1,"record_length":96,"hex_timestamp":"0000019e886a7a20"} 
[2026-06-02 18:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:31: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-06-02 18: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 18:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:31:20] 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-06-02 18:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783710464001,"66":11971,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847461040239259648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783710464001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:31:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239259648,"description":"Unknown IO ID 45"} 
[2026-06-02 18:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783710464001,"power":11971,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847461040239259648}} 
[2026-06-02 18:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":89981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:31:20] local.INFO: GPS data processed {"connection_id":89981,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:31:20] local.INFO: Acknowledgment sent {"connection_id":89981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:31:23] local.INFO: TCP Data received {"connection_id":90069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:31:23] local.INFO: Processing buffer {"connection_id":90069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:31:23] local.INFO: IMEI packet received {"connection_id":90069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":90069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:31:23] local.INFO: TCP Data received {"connection_id":90068,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:31:23] local.INFO: Processing buffer {"connection_id":90068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:31:23] local.INFO: IMEI packet received {"connection_id":90068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":90068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:31:28] local.INFO: TCP Data received {"connection_id":90069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:31:28] local.INFO: Processing buffer {"connection_id":90069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:31:28] local.INFO: IMEI packet received {"connection_id":90069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":90069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:31:28] local.INFO: TCP Data received {"connection_id":90068,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:31:28] local.INFO: Processing buffer {"connection_id":90068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:31:28] local.INFO: IMEI packet received {"connection_id":90068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":90068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:31:29] local.INFO: TCP Data received {"connection_id":90069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:29] local.INFO: Processing buffer {"connection_id":90069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:29] local.INFO: Packet analysis {"connection_id":90069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:31:29] local.INFO: Extracted packet for processing {"connection_id":90069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:31: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-06-02 18: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-06-02 18:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":90069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:31:29] local.INFO: GPS data processed {"connection_id":90069,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:31:29] local.INFO: Acknowledgment sent {"connection_id":90069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:31:29] local.INFO: TCP Data received {"connection_id":90068,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:31:29] local.INFO: Processing buffer {"connection_id":90068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:31:29] local.INFO: Packet analysis {"connection_id":90068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:31:29] local.INFO: Extracted packet for processing {"connection_id":90068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:29] 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-06-02 18:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:31:29] 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-06-02 18: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-06-02 18:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":90068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:31:29] local.INFO: GPS data processed {"connection_id":90068,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:31:29] local.INFO: Acknowledgment sent {"connection_id":90068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:31:59] local.INFO: TCP Data received {"connection_id":90069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:59] local.INFO: Processing buffer {"connection_id":90069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:31:59] local.INFO: Packet analysis {"connection_id":90069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:31:59] local.INFO: Extracted packet for processing {"connection_id":90069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:31:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:31: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-06-02 18:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:31: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-06-02 18:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:31: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-06-02 18:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:31:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":90069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:31:59] local.INFO: GPS data processed {"connection_id":90069,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:31:59] local.INFO: Acknowledgment sent {"connection_id":90069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:32:00] local.INFO: TCP Data received {"connection_id":90068,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:32:00] local.INFO: Processing buffer {"connection_id":90068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8868ff38012d7e3a4005d34cb8000600212e..."} 
[2026-06-02 18:32:00] local.INFO: Packet analysis {"connection_id":90068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:32:00] local.INFO: Extracted packet for processing {"connection_id":90068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8868"} 
[2026-06-02 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783613952001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32: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-06-02 18:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405043000,"timestamp_ms":1780405043000,"timestamp_seconds":1780405043,"priority":1,"record_length":96,"hex_timestamp":"0000019e8868ff38"} 
[2026-06-02 18:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 18:32:00] 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-06-02 18:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783613952001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783613952001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:32:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783613952001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":90068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:32:00] local.INFO: GPS data processed {"connection_id":90068,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:32:00] local.INFO: Acknowledgment sent {"connection_id":90068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:32:05] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:05] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:05] local.INFO: IMEI packet received {"connection_id":89718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":89718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:32:05] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:05] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:05] local.INFO: IMEI packet received {"connection_id":89718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":89718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:32:09] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:09] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:32:09] local.INFO: IMEI packet received {"connection_id":89718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":89718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:32:10] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886acc28012d19a380071fd5b0003d014727..."} 
[2026-06-02 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886acc28012d19a380071fd5b0003d014727..."} 
[2026-06-02 18:32:10] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886acc28012d19a380071fd5b0003d014727..."} 
[2026-06-02 18:32:10] local.INFO: Packet analysis {"connection_id":89718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886a"} 
[2026-06-02 18:32:10] local.INFO: Extracted packet for processing {"connection_id":89718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886a"} 
[2026-06-02 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783715840001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239259648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780405161000,"timestamp_ms":1780405161000,"timestamp_seconds":1780405161,"priority":1,"record_length":96,"hex_timestamp":"0000019e886acc28"} 
[2026-06-02 18:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:32: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-06-02 18: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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-02 18:32:10] 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-06-02 18: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-06-02 18:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:32:10] 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-06-02 18:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783715840001,"66":12004,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847461040239259648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783715840001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:32:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239259648,"description":"Unknown IO ID 45"} 
[2026-06-02 18:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783715840001,"power":12004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847461040239259648}} 
[2026-06-02 18:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":89718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:32:10] local.INFO: GPS data processed {"connection_id":89718,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:32:10] local.INFO: Acknowledgment sent {"connection_id":89718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:32:23] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:32:23] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:32:23] local.INFO: IMEI packet received {"connection_id":90070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":90070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:32:23] local.INFO: TCP Data received {"connection_id":90071,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:23] local.INFO: Processing buffer {"connection_id":90071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:23] local.INFO: IMEI packet received {"connection_id":90071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":90071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:32:25] local.INFO: TCP Data received {"connection_id":90071,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:25] local.INFO: Processing buffer {"connection_id":90071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:25] local.INFO: IMEI packet received {"connection_id":90071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":90071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:32:28] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:32:28] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:32:28] local.INFO: IMEI packet received {"connection_id":90070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":90070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:32:28] local.INFO: TCP Data received {"connection_id":90071,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:28] local.INFO: Processing buffer {"connection_id":90071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:32:28] local.INFO: IMEI packet received {"connection_id":90071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":90071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:32:29] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:32:29] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:32:29] local.INFO: Packet analysis {"connection_id":90070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:32:29] local.INFO: Extracted packet for processing {"connection_id":90070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18: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-06-02 18: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-06-02 18:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":90070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:32:29] local.INFO: GPS data processed {"connection_id":90070,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:32:29] local.INFO: Acknowledgment sent {"connection_id":90070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:32:29] local.INFO: TCP Data received {"connection_id":90071,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:32:29] local.INFO: Processing buffer {"connection_id":90071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:32:29] local.INFO: Packet analysis {"connection_id":90071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:32:29] local.INFO: Extracted packet for processing {"connection_id":90071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:29] 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-06-02 18:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:32:29] 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-06-02 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:32:29] 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-06-02 18: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-06-02 18:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":90071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:32:29] local.INFO: GPS data processed {"connection_id":90071,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:32:29] local.INFO: Acknowledgment sent {"connection_id":90071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:32:41] local.INFO: TCP Data received {"connection_id":89718,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886b1e30012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886b1e30012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:32:41] local.INFO: Processing buffer {"connection_id":89718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886b1e30012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:32:41] local.INFO: Packet analysis {"connection_id":89718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886b"} 
[2026-06-02 18:32:41] local.INFO: Extracted packet for processing {"connection_id":89718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886b"} 
[2026-06-02 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783721216001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239259648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780405182000,"timestamp_ms":1780405182000,"timestamp_seconds":1780405182,"priority":1,"record_length":96,"hex_timestamp":"0000019e886b1e30"} 
[2026-06-02 18:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-02 18:32:41] 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-06-02 18:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:32:41] 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-06-02 18:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783721216001,"66":12015,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847461040239259648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783721216001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:32:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239259648,"description":"Unknown IO ID 45"} 
[2026-06-02 18:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783721216001,"power":12015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847461040239259648}} 
[2026-06-02 18:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":89718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:32:41] local.INFO: GPS data processed {"connection_id":89718,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:32:41] local.INFO: Acknowledgment sent {"connection_id":89718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:32:59] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:33:00] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:33:00] local.INFO: Packet analysis {"connection_id":90070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:33:00] local.INFO: Extracted packet for processing {"connection_id":90070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:33: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-06-02 18: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-06-02 18:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":90070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:33:00] local.INFO: GPS data processed {"connection_id":90070,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:33:00] local.INFO: Acknowledgment sent {"connection_id":90070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:33:00] local.INFO: TCP Data received {"connection_id":90071,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:33:00] local.INFO: Processing buffer {"connection_id":90071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:33:00] local.INFO: Packet analysis {"connection_id":90071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:33:00] local.INFO: Extracted packet for processing {"connection_id":90071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33: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-06-02 18:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:33:00] 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-06-02 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:33: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-06-02 18: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-06-02 18:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":90071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:33:00] local.INFO: GPS data processed {"connection_id":90071,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:33:00] local.INFO: Acknowledgment sent {"connection_id":90071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:33:05] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:33:05] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:33:05] local.INFO: IMEI packet received {"connection_id":89720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":89720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:33:08] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:33:08] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:33:08] local.INFO: IMEI packet received {"connection_id":89720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":89720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:33:09] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886b7038012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886b7038012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:33:09] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886b7038012d19a380071fd5b0003d014724..."} 
[2026-06-02 18:33:09] local.INFO: Packet analysis {"connection_id":89720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886b"} 
[2026-06-02 18:33:09] local.INFO: Extracted packet for processing {"connection_id":89720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886b"} 
[2026-06-02 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119526832,"longitude_deg":75.6654976,"latitude_deg":11.9526832,"altitude":61,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d19a380","hex_latitude":"071fd5b0","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783726592001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423108151574528,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239259648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780405203000,"timestamp_ms":1780405203000,"timestamp_seconds":1780405203,"priority":1,"record_length":96,"hex_timestamp":"0000019e886b7038"} 
[2026-06-02 18:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-02 18:33:09] 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-06-02 18: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-06-02 18:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":89720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":89720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":89720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:33:09] 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-06-02 18:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783726592001,"66":12015,"101":206,"83":41984,"24":0,"16":125423108151574528,"45":1847461040239259648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783726592001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:33:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423108151574528,"km_value":125423108151574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239259648,"description":"Unknown IO ID 45"} 
[2026-06-02 18:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783726592001,"power":12015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1847461040239259648}} 
[2026-06-02 18:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":89720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:33:09] local.INFO: GPS data processed {"connection_id":89720,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:33:09] local.INFO: Acknowledgment sent {"connection_id":89720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:33:23] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:33:23] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:33:23] local.INFO: IMEI packet received {"connection_id":90072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":90072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:33:23] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:33:23] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:33:23] local.INFO: IMEI packet received {"connection_id":89721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":89721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:33:28] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:33:28] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:33:28] local.INFO: IMEI packet received {"connection_id":90072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":90072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:33:28] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:33:28] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:33:28] local.INFO: IMEI packet received {"connection_id":89721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":89721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:33:28] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:33:28] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886993a8012cb29ac007823b00004900d925..."} 
[2026-06-02 18:33:28] local.INFO: Packet analysis {"connection_id":90072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:33:28] local.INFO: Extracted packet for processing {"connection_id":90072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8869"} 
[2026-06-02 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783623680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780405081000,"timestamp_ms":1780405081000,"timestamp_seconds":1780405081,"priority":1,"record_length":96,"hex_timestamp":"0000019e886993a8"} 
[2026-06-02 18:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:33: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-06-02 18: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-06-02 18:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:33:28] 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-06-02 18:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783623680001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783623680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:33:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:33:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783623680001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":90072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:33:28] local.INFO: GPS data processed {"connection_id":90072,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:33:28] local.INFO: Acknowledgment sent {"connection_id":90072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:33:29] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:33:29] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:33:29] local.INFO: Packet analysis {"connection_id":89721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:33:29] local.INFO: Extracted packet for processing {"connection_id":89721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:29] 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-06-02 18:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:33:29] 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-06-02 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:33:29] 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-06-02 18:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:33:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":89721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:33:29] local.INFO: GPS data processed {"connection_id":89721,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:33:29] local.INFO: Acknowledgment sent {"connection_id":89721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:33:39] local.INFO: TCP Data received {"connection_id":89720,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e1400012d19a400071ff0280042004f25..."} 
[2026-06-02 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e1400012d19a400071ff0280042004f25..."} 
[2026-06-02 18:33:39] local.INFO: Processing buffer {"connection_id":89720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e1400012d19a400071ff0280042004f25..."} 
[2026-06-02 18:33:39] local.INFO: Packet analysis {"connection_id":89720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:33:39] local.INFO: Extracted packet for processing {"connection_id":89720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119533608,"longitude_deg":75.6655104,"latitude_deg":11.9533608,"altitude":66,"angle":79,"satellites":37,"speed":10,"hex_longitude":"2d19a400","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783775744001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423481813729280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196520054784,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780405376000,"timestamp_ms":1780405376000,"timestamp_seconds":1780405376,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e1400"} 
[2026-06-02 18:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-06-02 18:33:39] 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-06-02 18: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-06-02 18:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:33:39] 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-06-02 18:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783775744001,"66":13993,"101":206,"83":41984,"24":10,"16":125423481813729280,"45":1847109196520054784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783775744001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:33:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423481813729280,"km_value":125423481813729.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196520054784,"description":"Unknown IO ID 45"} 
[2026-06-02 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783775744001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1847109196520054784}} 
[2026-06-02 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":89720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:33:40] local.INFO: GPS data processed {"connection_id":89720,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:33:40] local.INFO: Acknowledgment sent {"connection_id":89720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:33:59] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:33:59] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:33:59] local.INFO: Packet analysis {"connection_id":90072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:33:59] local.INFO: Extracted packet for processing {"connection_id":90072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:33:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:33: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-06-02 18: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-06-02 18:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:33:59] 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-06-02 18:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:33:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:33:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":90072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:33:59] local.INFO: GPS data processed {"connection_id":90072,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:33:59] local.INFO: Acknowledgment sent {"connection_id":90072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:34:01] local.INFO: TCP Data received {"connection_id":89721,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:34:01] local.INFO: Processing buffer {"connection_id":89721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:34:01] local.INFO: Packet analysis {"connection_id":89721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:34:01] local.INFO: Extracted packet for processing {"connection_id":89721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:34:01] 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-06-02 18: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-06-02 18:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:34:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":89721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:34:01] local.INFO: GPS data processed {"connection_id":89721,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:34:01] local.INFO: Acknowledgment sent {"connection_id":89721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:34:05] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:34:05] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:34:05] local.INFO: IMEI packet received {"connection_id":89722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":89722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:34:08] local.INFO: TCP Data received {"connection_id":90073,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:34:08] local.INFO: Processing buffer {"connection_id":90073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:34:08] local.INFO: IMEI packet received {"connection_id":90073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":90073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:34:09] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:34:09] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:34:09] local.INFO: IMEI packet received {"connection_id":89722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":89722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:34:11] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e17e8012d19a540071ff0300042005b25..."} 
[2026-06-02 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e17e8012d19a540071ff0300042005b25..."} 
[2026-06-02 18:34:11] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e17e8012d19a540071ff0300042005b25..."} 
[2026-06-02 18:34:11] local.INFO: Packet analysis {"connection_id":89722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:34:11] local.INFO: Extracted packet for processing {"connection_id":89722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119533616,"longitude_deg":75.6655424,"latitude_deg":11.9533616,"altitude":66,"angle":91,"satellites":37,"speed":12,"hex_longitude":"2d19a540","hex_latitude":"071ff030","is_valid_coordinates":true} 
[2026-06-02 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783776256001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125423498993598464,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777729349632,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780405377000,"timestamp_ms":1780405377000,"timestamp_seconds":1780405377,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e17e8"} 
[2026-06-02 18:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-02 18:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:34:11] 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-06-02 18:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783776256001,"66":13993,"101":206,"83":41984,"24":12,"16":125423498993598464,"45":1847601777729349632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 18:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783776256001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:34:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 18:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125423498993598464,"km_value":125423498993598.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777729349632,"description":"Unknown IO ID 45"} 
[2026-06-02 18:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783776256001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1847601777729349632}} 
[2026-06-02 18:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":89722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:34:11] local.INFO: GPS data processed {"connection_id":89722,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:34:11] local.INFO: Acknowledgment sent {"connection_id":89722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:34:23] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:34:23] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:34:23] local.INFO: IMEI packet received {"connection_id":90074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":90074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:34:23] local.INFO: TCP Data received {"connection_id":89723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:34:23] local.INFO: Processing buffer {"connection_id":89723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:34:23] local.INFO: IMEI packet received {"connection_id":89723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":89723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:34:28] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:34:28] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:34:28] local.INFO: IMEI packet received {"connection_id":90074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":90074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:34:28] local.INFO: TCP Data received {"connection_id":89723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:34:28] local.INFO: Processing buffer {"connection_id":89723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:34:28] local.INFO: IMEI packet received {"connection_id":89723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":89723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:34:29] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:34:29] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:34:29] local.INFO: Packet analysis {"connection_id":90074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:34:29] local.INFO: Extracted packet for processing {"connection_id":90074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:34:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:34: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-06-02 18:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":90074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:34:29] local.INFO: GPS data processed {"connection_id":90074,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:34:29] local.INFO: Acknowledgment sent {"connection_id":90074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:34:29] local.INFO: TCP Data received {"connection_id":89723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:34:29] local.INFO: Processing buffer {"connection_id":89723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:34:29] local.INFO: Packet analysis {"connection_id":89723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:34:29] local.INFO: Extracted packet for processing {"connection_id":89723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:29] 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-06-02 18:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:34:29] 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-06-02 18:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:34:29] 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-06-02 18:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":89723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:34:29] local.INFO: GPS data processed {"connection_id":89723,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:34:29] local.INFO: Acknowledgment sent {"connection_id":89723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:34:43] local.INFO: TCP Data received {"connection_id":89722,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e886ed368012d19ce00072015500033014324..."} 
[2026-06-02 18:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886ed368012d19ce00072015500033014324..."} 
[2026-06-02 18:34:43] local.INFO: Processing buffer {"connection_id":89722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886ed368012d19ce00072015500033014324..."} 
[2026-06-02 18:34:43] local.INFO: Packet analysis {"connection_id":89722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:34:43] local.INFO: Extracted packet for processing {"connection_id":89722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119543120,"longitude_deg":75.6665856,"latitude_deg":11.954312,"altitude":51,"angle":323,"satellites":36,"speed":17,"hex_longitude":"2d19ce00","hex_latitude":"07201550","is_valid_coordinates":true} 
[2026-06-02 18:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783787776001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125424602800193536,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861112576613558272,"note":"Value kept but may cause issues"} 
[2026-06-02 18:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780405425000,"timestamp_ms":1780405425000,"timestamp_seconds":1780405425,"priority":1,"record_length":96,"hex_timestamp":"0000019e886ed368"} 
[2026-06-02 18:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 18:34: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-06-02 18:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":89722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":89722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:34:43] 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-06-02 18:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783787776001,"66":13852,"103":206,"83":41984,"24":17,"16":125424602800193536,"45":1861112576613558272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 18:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783787776001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:34:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 18:34:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125424602800193536,"km_value":125424602800193.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861112576613558272,"description":"Unknown IO ID 45"} 
[2026-06-02 18:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783787776001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861112576613558272}} 
[2026-06-02 18:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":89722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:34:43] local.INFO: GPS data processed {"connection_id":89722,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:34:43] local.INFO: Acknowledgment sent {"connection_id":89722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:35:00] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:35:00] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:35:00] local.INFO: Packet analysis {"connection_id":90074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:35:00] local.INFO: Extracted packet for processing {"connection_id":90074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:35:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:35: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-06-02 18: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-06-02 18:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:35: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-06-02 18:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":90074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:35:00] local.INFO: GPS data processed {"connection_id":90074,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:35:00] local.INFO: Acknowledgment sent {"connection_id":90074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:35:00] local.INFO: TCP Data received {"connection_id":89723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:35:00] local.INFO: Processing buffer {"connection_id":89723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:35:00] local.INFO: Packet analysis {"connection_id":89723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:35:00] local.INFO: Extracted packet for processing {"connection_id":89723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35: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-06-02 18:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:35:00] 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-06-02 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:35: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-06-02 18: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-06-02 18:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":89723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:35:00] local.INFO: GPS data processed {"connection_id":89723,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:35:00] local.INFO: Acknowledgment sent {"connection_id":89723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:35:04] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:04] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:04] local.INFO: IMEI packet received {"connection_id":89982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":89982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:35:06] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:06] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:06] local.INFO: IMEI packet received {"connection_id":89982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":89982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:35:07] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:07] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:07] local.INFO: IMEI packet received {"connection_id":89982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":89982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:35:08] local.INFO: TCP Data received {"connection_id":89982,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:08] local.INFO: Processing buffer {"connection_id":89982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:35:08] local.INFO: IMEI packet received {"connection_id":89982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":89982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:35:23] local.INFO: TCP Data received {"connection_id":89983,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:35:23] local.INFO: Processing buffer {"connection_id":89983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:35:23] local.INFO: IMEI packet received {"connection_id":89983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":89983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:35:23] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:35:23] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:35:23] local.INFO: IMEI packet received {"connection_id":89724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":89724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:35:28] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:35:28] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:35:28] local.INFO: IMEI packet received {"connection_id":89724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":89724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:35:28] local.INFO: TCP Data received {"connection_id":89983,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:35:28] local.INFO: Processing buffer {"connection_id":89983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:35:28] local.INFO: IMEI packet received {"connection_id":89983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":89983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:35:29] local.INFO: TCP Data received {"connection_id":89983,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:35:29] local.INFO: Processing buffer {"connection_id":89983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:35:29] local.INFO: Packet analysis {"connection_id":89983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:35:29] local.INFO: Extracted packet for processing {"connection_id":89983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:35: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-06-02 18: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-06-02 18:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:35:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":89983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:35:29] local.INFO: GPS data processed {"connection_id":89983,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:35:29] local.INFO: Acknowledgment sent {"connection_id":89983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:35:31] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:35:31] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:35:31] local.INFO: Packet analysis {"connection_id":89724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:35:31] local.INFO: Extracted packet for processing {"connection_id":89724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:35:31] 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-06-02 18:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:35:31] 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-06-02 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:35:31] 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-06-02 18:35: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-06-02 18:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":89724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":89724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":89724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":89724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:35:31] local.INFO: GPS data processed {"connection_id":89724,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:35:31] local.INFO: Acknowledgment sent {"connection_id":89724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:36:00] local.INFO: TCP Data received {"connection_id":89983,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:36:00] local.INFO: Processing buffer {"connection_id":89983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:36:00] local.INFO: Packet analysis {"connection_id":89983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:36:00] local.INFO: Extracted packet for processing {"connection_id":89983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:36:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:36: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-06-02 18: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-06-02 18:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:36: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-06-02 18:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:36:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":89983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:36:00] local.INFO: GPS data processed {"connection_id":89983,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:36:00] local.INFO: Acknowledgment sent {"connection_id":89983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:36:02] local.INFO: TCP Data received {"connection_id":89724,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:36:02] local.INFO: Processing buffer {"connection_id":89724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:36:02] local.INFO: Packet analysis {"connection_id":89724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:36:02] local.INFO: Extracted packet for processing {"connection_id":89724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:02] 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-06-02 18:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:36:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":89724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:36:03] local.INFO: GPS data processed {"connection_id":89724,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:36:03] local.INFO: Acknowledgment sent {"connection_id":89724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:36:23] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:36:23] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:36:23] local.INFO: IMEI packet received {"connection_id":89984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":89984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:36:23] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:36:23] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:36:23] local.INFO: IMEI packet received {"connection_id":90077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":90077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:36:28] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:36:28] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:36:28] local.INFO: IMEI packet received {"connection_id":89984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":89984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:36:28] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:36:28] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:36:28] local.INFO: IMEI packet received {"connection_id":90077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":90077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:36:29] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:36:29] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:36:29] local.INFO: Packet analysis {"connection_id":89984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:36:29] local.INFO: Extracted packet for processing {"connection_id":89984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:36: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-06-02 18: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-06-02 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":89984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:36:29] local.INFO: GPS data processed {"connection_id":89984,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:36:29] local.INFO: Acknowledgment sent {"connection_id":89984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:36:29] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:36:29] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:36:29] local.INFO: Packet analysis {"connection_id":90077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:36:29] local.INFO: Extracted packet for processing {"connection_id":90077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:36:29] 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-06-02 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:36:29] 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-06-02 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:36:29] 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-06-02 18: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-06-02 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:36:29] 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-06-02 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":90077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:36:29] local.INFO: GPS data processed {"connection_id":90077,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:36:29] local.INFO: Acknowledgment sent {"connection_id":90077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:37:00] local.INFO: TCP Data received {"connection_id":89984,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:00] local.INFO: Processing buffer {"connection_id":89984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:00] local.INFO: Packet analysis {"connection_id":89984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:37:00] local.INFO: Extracted packet for processing {"connection_id":89984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:37:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:37: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-06-02 18:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:37: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-06-02 18:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":89984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:37:00] local.INFO: GPS data processed {"connection_id":89984,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:37:00] local.INFO: Acknowledgment sent {"connection_id":89984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:37:00] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:00] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886d9700012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:00] local.INFO: Packet analysis {"connection_id":90077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:37:00] local.INFO: Extracted packet for processing {"connection_id":90077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886d"} 
[2026-06-02 18:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783691008001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37: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-06-02 18:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405344000,"timestamp_ms":1780405344000,"timestamp_seconds":1780405344,"priority":1,"record_length":96,"hex_timestamp":"0000019e886d9700"} 
[2026-06-02 18:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:37:00] 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-06-02 18:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:37: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-06-02 18:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:37: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-06-02 18:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783691008001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783691008001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783691008001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":90077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:37:00] local.INFO: GPS data processed {"connection_id":90077,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:37:00] local.INFO: Acknowledgment sent {"connection_id":90077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:37:26] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:26] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:26] local.INFO: IMEI packet received {"connection_id":90079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":90079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:37:28] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:28] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:28] local.INFO: IMEI packet received {"connection_id":90079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":90079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:37:28] local.INFO: TCP Data received {"connection_id":91155,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:37:28] local.INFO: Processing buffer {"connection_id":91155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:37:28] local.INFO: IMEI packet received {"connection_id":91155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":91155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:37:33] local.INFO: TCP Data received {"connection_id":91155,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:37:33] local.INFO: Processing buffer {"connection_id":91155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:37:33] local.INFO: IMEI packet received {"connection_id":91155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":91155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:37:33] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:33] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:37:33] local.INFO: IMEI packet received {"connection_id":90079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":90079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:37:34] local.INFO: TCP Data received {"connection_id":91155,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:34] local.INFO: Processing buffer {"connection_id":91155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:34] local.INFO: Packet analysis {"connection_id":91155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:37:34] local.INFO: Extracted packet for processing {"connection_id":91155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":91155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:37:34] local.INFO: GPS data processed {"connection_id":91155,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:37:34] local.INFO: Acknowledgment sent {"connection_id":91155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:37:34] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:34] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:34] local.INFO: Packet analysis {"connection_id":90079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:37:34] local.INFO: Extracted packet for processing {"connection_id":90079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:34] 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-06-02 18:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:37:34] 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-06-02 18:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":90079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:37:34] local.INFO: GPS data processed {"connection_id":90079,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:37:34] local.INFO: Acknowledgment sent {"connection_id":90079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:37:38] local.INFO: TCP Data received {"connection_id":91155,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:38] local.INFO: Processing buffer {"connection_id":91155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:37:38] local.INFO: Packet analysis {"connection_id":91155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:37:38] local.INFO: Extracted packet for processing {"connection_id":91155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:37: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-06-02 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":91155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:37:38] local.INFO: GPS data processed {"connection_id":91155,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:37:38] local.INFO: Acknowledgment sent {"connection_id":91155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:37:38] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:38] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:37:38] local.INFO: Packet analysis {"connection_id":90079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:37:38] local.INFO: Extracted packet for processing {"connection_id":90079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:37:38] 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-06-02 18:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":90079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:37:38] local.INFO: GPS data processed {"connection_id":90079,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:37:38] local.INFO: Acknowledgment sent {"connection_id":90079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:38:23] local.INFO: TCP Data received {"connection_id":89985,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:38:23] local.INFO: Processing buffer {"connection_id":89985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:38:23] local.INFO: IMEI packet received {"connection_id":89985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":89985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:38:23] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:38:23] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:38:23] local.INFO: IMEI packet received {"connection_id":89986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":89986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:38:28] local.INFO: TCP Data received {"connection_id":89985,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:38:28] local.INFO: Processing buffer {"connection_id":89985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:38:28] local.INFO: IMEI packet received {"connection_id":89985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":89985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:38:28] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:38:28] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:38:28] local.INFO: IMEI packet received {"connection_id":89986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":89986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:38:29] local.INFO: TCP Data received {"connection_id":89985,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:38:29] local.INFO: Processing buffer {"connection_id":89985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e886e2b70012cb29ac007823b00004900d926..."} 
[2026-06-02 18:38:29] local.INFO: Packet analysis {"connection_id":89985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:38:29] local.INFO: Extracted packet for processing {"connection_id":89985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e886e"} 
[2026-06-02 18:38:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783700736001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405382000,"timestamp_ms":1780405382000,"timestamp_seconds":1780405382,"priority":1,"record_length":96,"hex_timestamp":"0000019e886e2b70"} 
[2026-06-02 18:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:38: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-06-02 18: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-06-02 18:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783700736001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783700736001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783700736001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":89985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:38:29] local.INFO: GPS data processed {"connection_id":89985,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:38:29] local.INFO: Acknowledgment sent {"connection_id":89985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:38:29] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:38:29] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:38:29] local.INFO: Packet analysis {"connection_id":89986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:38:29] local.INFO: Extracted packet for processing {"connection_id":89986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:38:29] 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-06-02 18:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:38:29] 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-06-02 18: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-06-02 18:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":89986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:38:29] local.INFO: GPS data processed {"connection_id":89986,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:38:29] local.INFO: Acknowledgment sent {"connection_id":89986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:39:00] local.INFO: TCP Data received {"connection_id":89985,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:39:00] local.INFO: Processing buffer {"connection_id":89985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:39:00] local.INFO: Packet analysis {"connection_id":89985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:00] local.INFO: Extracted packet for processing {"connection_id":89985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:39: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-06-02 18:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:39: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-06-02 18:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":89985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:39:00] local.INFO: GPS data processed {"connection_id":89985,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:39:00] local.INFO: Acknowledgment sent {"connection_id":89985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:39:00] local.INFO: TCP Data received {"connection_id":89986,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:39:00] local.INFO: Processing buffer {"connection_id":89986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:39:00] local.INFO: Packet analysis {"connection_id":89986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:00] local.INFO: Extracted packet for processing {"connection_id":89986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39: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-06-02 18:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:39: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-06-02 18:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":89986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:39:00] local.INFO: GPS data processed {"connection_id":89986,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:39:00] local.INFO: Acknowledgment sent {"connection_id":89986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:39:23] local.INFO: TCP Data received {"connection_id":90082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:39:23] local.INFO: Processing buffer {"connection_id":90082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:39:23] local.INFO: IMEI packet received {"connection_id":90082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":90082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:39:23] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:39:23] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:39:23] local.INFO: IMEI packet received {"connection_id":90083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":90083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:39:28] local.INFO: TCP Data received {"connection_id":90082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:39:28] local.INFO: Processing buffer {"connection_id":90082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:39:28] local.INFO: IMEI packet received {"connection_id":90082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":90082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:39:28] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:39:28] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:39:28] local.INFO: IMEI packet received {"connection_id":90083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":90083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:39:29] local.INFO: TCP Data received {"connection_id":90082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:39:29] local.INFO: Processing buffer {"connection_id":90082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:39:29] local.INFO: Packet analysis {"connection_id":90082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:29] local.INFO: Extracted packet for processing {"connection_id":90082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:39: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-06-02 18: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-06-02 18:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:39:29] 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-06-02 18:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":90082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:39:29] local.INFO: GPS data processed {"connection_id":90082,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:39:29] local.INFO: Acknowledgment sent {"connection_id":90082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:39:29] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:39:29] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:39:29] local.INFO: Packet analysis {"connection_id":90083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:29] local.INFO: Extracted packet for processing {"connection_id":90083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:39:29] 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-06-02 18:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:39:29] 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-06-02 18: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-06-02 18:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":90083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:39:29] local.INFO: GPS data processed {"connection_id":90083,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:39:29] local.INFO: Acknowledgment sent {"connection_id":90083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:39:57] local.INFO: TCP Data received {"connection_id":89987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:39:57] local.INFO: Processing buffer {"connection_id":89987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:39:57] local.INFO: IMEI packet received {"connection_id":89987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":89987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:40:00] local.INFO: TCP Data received {"connection_id":90082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:40:00] local.INFO: Processing buffer {"connection_id":90082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:40:00] local.INFO: Packet analysis {"connection_id":90082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:00] local.INFO: Extracted packet for processing {"connection_id":90082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:40: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-06-02 18: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-06-02 18:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:40: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-06-02 18:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":90082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:40:00] local.INFO: GPS data processed {"connection_id":90082,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:40:00] local.INFO: Acknowledgment sent {"connection_id":90082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:40:00] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:40:00] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:40:00] local.INFO: Packet analysis {"connection_id":90083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:00] local.INFO: Extracted packet for processing {"connection_id":90083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40: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-06-02 18:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:40: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-06-02 18: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-06-02 18:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":90083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:40:00] local.INFO: GPS data processed {"connection_id":90083,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:40:00] local.INFO: Acknowledgment sent {"connection_id":90083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:40:09] local.INFO: TCP Data received {"connection_id":91156,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:40:09] local.INFO: Processing buffer {"connection_id":91156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:40:09] local.INFO: IMEI packet received {"connection_id":91156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":91156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:40:15] local.INFO: TCP Data received {"connection_id":91156,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8871dcc0012d1868c0072180a0004e011224..."} 
[2026-06-02 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8871dcc0012d1868c0072180a0004e011224..."} 
[2026-06-02 18:40:15] local.INFO: Processing buffer {"connection_id":91156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8871dcc0012d1868c0072180a0004e011224..."} 
[2026-06-02 18:40:15] local.INFO: Packet analysis {"connection_id":91156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8871"} 
[2026-06-02 18:40:15] local.INFO: Extracted packet for processing {"connection_id":91156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8871"} 
[2026-06-02 18:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756574400,"raw_latitude":119636128,"longitude_deg":75.65744,"latitude_deg":11.9636128,"altitude":78,"angle":274,"satellites":36,"speed":26,"hex_longitude":"2d1868c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-06-02 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783838720001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125432161942634496,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761751909858871296,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40: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-06-02 18:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780405624000,"timestamp_ms":1780405624000,"timestamp_seconds":1780405624,"priority":1,"record_length":96,"hex_timestamp":"0000019e8871dcc0"} 
[2026-06-02 18:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:40: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-06-02 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-02 18:40:15] 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-06-02 18:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:40:15] 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-06-02 18:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783838720001,"66":13928,"106":206,"83":41984,"24":26,"16":125432161942634496,"45":1761751909858871296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783838720001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:40:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125432161942634496,"km_value":125432161942634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761751909858871296,"description":"Unknown IO ID 45"} 
[2026-06-02 18:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783838720001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1761751909858871296}} 
[2026-06-02 18:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":91156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:40:15] local.INFO: GPS data processed {"connection_id":91156,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:40:15] local.INFO: Acknowledgment sent {"connection_id":91156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:40:23] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:40:23] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:40:23] local.INFO: IMEI packet received {"connection_id":89988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":89988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:40:23] local.INFO: TCP Data received {"connection_id":89989,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:40:23] local.INFO: Processing buffer {"connection_id":89989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:40:23] local.INFO: IMEI packet received {"connection_id":89989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":89989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:40:28] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:40:28] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:40:28] local.INFO: IMEI packet received {"connection_id":89988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":89988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:40:28] local.INFO: TCP Data received {"connection_id":89989,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:40:28] local.INFO: Processing buffer {"connection_id":89989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:40:28] local.INFO: IMEI packet received {"connection_id":89989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":89989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:40:29] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:40:29] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:40:29] local.INFO: Packet analysis {"connection_id":89988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:29] local.INFO: Extracted packet for processing {"connection_id":89988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:40: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-06-02 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:40:29] 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-06-02 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":89988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:40:29] local.INFO: GPS data processed {"connection_id":89988,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:40:29] local.INFO: Acknowledgment sent {"connection_id":89988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:40:29] local.INFO: TCP Data received {"connection_id":89989,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:40:29] local.INFO: Processing buffer {"connection_id":89989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:40:29] local.INFO: Packet analysis {"connection_id":89989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:29] local.INFO: Extracted packet for processing {"connection_id":89989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:40:29] 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-06-02 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:40:29] 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-06-02 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":89989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:40:29] local.INFO: GPS data processed {"connection_id":89989,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:40:29] local.INFO: Acknowledgment sent {"connection_id":89989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:41:00] local.INFO: TCP Data received {"connection_id":89988,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:41:00] local.INFO: Processing buffer {"connection_id":89988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:41:00] local.INFO: Packet analysis {"connection_id":89988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:00] local.INFO: Extracted packet for processing {"connection_id":89988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:41: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-06-02 18:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:41:00] 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-06-02 18:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":89988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:41:00] local.INFO: GPS data processed {"connection_id":89988,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:41:00] local.INFO: Acknowledgment sent {"connection_id":89988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:41:00] local.INFO: TCP Data received {"connection_id":89989,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:41:00] local.INFO: Processing buffer {"connection_id":89989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:41:00] local.INFO: Packet analysis {"connection_id":89989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:00] local.INFO: Extracted packet for processing {"connection_id":89989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41: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-06-02 18:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:41: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-06-02 18:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":89989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:41:00] local.INFO: GPS data processed {"connection_id":89989,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:41:00] local.INFO: Acknowledgment sent {"connection_id":89989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:41:05] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:41:05] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:41:05] local.INFO: IMEI packet received {"connection_id":90084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":90084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:41:09] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:41:09] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:41:09] local.INFO: IMEI packet received {"connection_id":90084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":90084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:41:10] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872cef0012d182a8007219ac80050013223..."} 
[2026-06-02 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872cef0012d182a8007219ac80050013223..."} 
[2026-06-02 18:41:10] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872cef0012d182a8007219ac80050013223..."} 
[2026-06-02 18:41:10] local.INFO: Packet analysis {"connection_id":90084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:10] local.INFO: Extracted packet for processing {"connection_id":90084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642824,"longitude_deg":75.6558464,"latitude_deg":11.9642824,"altitude":80,"angle":306,"satellites":35,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219ac8","is_valid_coordinates":true} 
[2026-06-02 18:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783850240001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125432990871322624,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281522176,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780405686000,"timestamp_ms":1780405686000,"timestamp_seconds":1780405686,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872cef0"} 
[2026-06-02 18:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18: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-06-02 18:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 18:41:10] 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-06-02 18:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:41:10] 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-06-02 18:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783850240001,"66":12689,"105":206,"83":41984,"24":0,"16":125432990871322624,"45":1741556080281522176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783850240001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:41:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125432990871322624,"km_value":125432990871322.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281522176,"description":"Unknown IO ID 45"} 
[2026-06-02 18:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783850240001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281522176}} 
[2026-06-02 18:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":90084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:41:10] local.INFO: GPS data processed {"connection_id":90084,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:41:10] local.INFO: Acknowledgment sent {"connection_id":90084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:41:23] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:41:23] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:41:23] local.INFO: IMEI packet received {"connection_id":89727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":89727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:41:23] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:41:23] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:41:23] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:41:28] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:41:28] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:41:28] local.INFO: IMEI packet received {"connection_id":89727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:41:28] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:41:28] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:41:28] local.INFO: IMEI packet received {"connection_id":89728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:41:28] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:41:28] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:41:28] local.INFO: Packet analysis {"connection_id":89727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:28] local.INFO: Extracted packet for processing {"connection_id":89727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:41: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-06-02 18: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-06-02 18:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:41: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-06-02 18:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:41:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":89727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:41:28] local.INFO: GPS data processed {"connection_id":89727,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:41:28] local.INFO: Acknowledgment sent {"connection_id":89727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:41:30] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:41:30] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:41:30] local.INFO: Packet analysis {"connection_id":89728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:30] local.INFO: Extracted packet for processing {"connection_id":89728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:30] 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-06-02 18:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:41:30] 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-06-02 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:41:30] 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-06-02 18: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-06-02 18:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":89728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:41:30] local.INFO: GPS data processed {"connection_id":89728,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:41:30] local.INFO: Acknowledgment sent {"connection_id":89728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:41:41] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887320f8012d182a8007219ac80050013224..."} 
[2026-06-02 18:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887320f8012d182a8007219ac80050013224..."} 
[2026-06-02 18:41:41] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887320f8012d182a8007219ac80050013224..."} 
[2026-06-02 18:41:41] local.INFO: Packet analysis {"connection_id":90084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8873"} 
[2026-06-02 18:41:41] local.INFO: Extracted packet for processing {"connection_id":90084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8873"} 
[2026-06-02 18:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642824,"longitude_deg":75.6558464,"latitude_deg":11.9642824,"altitude":80,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219ac8","is_valid_coordinates":true} 
[2026-06-02 18:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783855616001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125432990871322624,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049036288,"note":"Value kept but may cause issues"} 
[2026-06-02 18:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780405707000,"timestamp_ms":1780405707000,"timestamp_seconds":1780405707,"priority":1,"record_length":96,"hex_timestamp":"0000019e887320f8"} 
[2026-06-02 18:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 18:41:41] 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-06-02 18:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:41:41] 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-06-02 18:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783855616001,"66":12591,"105":206,"83":41984,"24":0,"16":125432990871322624,"45":1741344974049036288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783855616001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:41:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125432990871322624,"km_value":125432990871322.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049036288,"description":"Unknown IO ID 45"} 
[2026-06-02 18:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783855616001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049036288}} 
[2026-06-02 18:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":90084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:41:41] local.INFO: GPS data processed {"connection_id":90084,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:41:41] local.INFO: Acknowledgment sent {"connection_id":90084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:42:00] local.INFO: TCP Data received {"connection_id":89727,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:00] local.INFO: Processing buffer {"connection_id":89727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:00] local.INFO: Packet analysis {"connection_id":89727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:00] local.INFO: Extracted packet for processing {"connection_id":89727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:42: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-06-02 18: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-06-02 18:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:42:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":89727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:42:00] local.INFO: GPS data processed {"connection_id":89727,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:42:00] local.INFO: Acknowledgment sent {"connection_id":89727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:42:01] local.INFO: TCP Data received {"connection_id":89728,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:42:01] local.INFO: Processing buffer {"connection_id":89728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88722ec8012d7e3a4005d34cb80006002129..."} 
[2026-06-02 18:42:01] local.INFO: Packet analysis {"connection_id":89728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:01] local.INFO: Extracted packet for processing {"connection_id":89728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783768064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780405645000,"timestamp_ms":1780405645000,"timestamp_seconds":1780405645,"priority":1,"record_length":96,"hex_timestamp":"0000019e88722ec8"} 
[2026-06-02 18:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 18:42:01] 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-06-02 18:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":89728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":89728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":89728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783768064001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783768064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:42:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783768064001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":89728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:42:01] local.INFO: GPS data processed {"connection_id":89728,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:42:01] local.INFO: Acknowledgment sent {"connection_id":89728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:42:05] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:42:05] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:42:05] local.INFO: IMEI packet received {"connection_id":89991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":89991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:42:10] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:42:10] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:42:10] local.INFO: IMEI packet received {"connection_id":89991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":89991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:42:11] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88737300012d182a8007219ac80050013222..."} 
[2026-06-02 18:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88737300012d182a8007219ac80050013222..."} 
[2026-06-02 18:42:11] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88737300012d182a8007219ac80050013222..."} 
[2026-06-02 18:42:11] local.INFO: Packet analysis {"connection_id":89991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8873"} 
[2026-06-02 18:42:11] local.INFO: Extracted packet for processing {"connection_id":89991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8873"} 
[2026-06-02 18:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642824,"longitude_deg":75.6558464,"latitude_deg":11.9642824,"altitude":80,"angle":306,"satellites":34,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219ac8","is_valid_coordinates":true} 
[2026-06-02 18:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783860992001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125432990871322624,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049036288,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780405728000,"timestamp_ms":1780405728000,"timestamp_seconds":1780405728,"priority":1,"record_length":96,"hex_timestamp":"0000019e88737300"} 
[2026-06-02 18:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:42:11] 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-06-02 18:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783860992001,"66":12526,"105":206,"83":41984,"24":0,"16":125432990871322624,"45":1741344974049036288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783860992001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:42:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125432990871322624,"km_value":125432990871322.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049036288,"description":"Unknown IO ID 45"} 
[2026-06-02 18:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783860992001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049036288}} 
[2026-06-02 18:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":89991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:42:11] local.INFO: GPS data processed {"connection_id":89991,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:42:11] local.INFO: Acknowledgment sent {"connection_id":89991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:42:27] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:27] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:27] local.INFO: IMEI packet received {"connection_id":90086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":90086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:42:28] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:28] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:28] local.INFO: IMEI packet received {"connection_id":90086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":90086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:42:28] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:42:28] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:42:28] local.INFO: IMEI packet received {"connection_id":90085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":90085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:42:33] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:42:33] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:42:33] local.INFO: IMEI packet received {"connection_id":90085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":90085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:42:33] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:33] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:42:33] local.INFO: IMEI packet received {"connection_id":90086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":90086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:42:34] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:34] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:34] local.INFO: Packet analysis {"connection_id":90085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:34] local.INFO: Extracted packet for processing {"connection_id":90085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":90085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:42:34] local.INFO: GPS data processed {"connection_id":90085,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:42:34] local.INFO: Acknowledgment sent {"connection_id":90085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:42:34] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:42:34] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:42:34] local.INFO: Packet analysis {"connection_id":90086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:42:34] local.INFO: Extracted packet for processing {"connection_id":90086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:34] 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-06-02 18:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:42:34] 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-06-02 18:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":90086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:42:34] local.INFO: GPS data processed {"connection_id":90086,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:42:34] local.INFO: Acknowledgment sent {"connection_id":90086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:42:38] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:38] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:42:38] local.INFO: Packet analysis {"connection_id":90085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:38] local.INFO: Extracted packet for processing {"connection_id":90085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:42:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:42:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":90085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:42:38] local.INFO: GPS data processed {"connection_id":90085,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:42:38] local.INFO: Acknowledgment sent {"connection_id":90085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:42:41] local.INFO: TCP Data received {"connection_id":89991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8875c8a8012d181f800721a9700052001b26..."} 
[2026-06-02 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8875c8a8012d181f800721a9700052001b26..."} 
[2026-06-02 18:42:41] local.INFO: Processing buffer {"connection_id":89991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8875c8a8012d181f800721a9700052001b26..."} 
[2026-06-02 18:42:41] local.INFO: Packet analysis {"connection_id":89991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8875"} 
[2026-06-02 18:42:41] local.INFO: Extracted packet for processing {"connection_id":89991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8875"} 
[2026-06-02 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646576,"longitude_deg":75.6555648,"latitude_deg":11.9646576,"altitude":82,"angle":27,"satellites":38,"speed":7,"hex_longitude":"2d181f80","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-06-02 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783903488001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433239979425792,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073443840,"note":"Value kept but may cause issues"} 
[2026-06-02 18:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780405881000,"timestamp_ms":1780405881000,"timestamp_seconds":1780405881,"priority":1,"record_length":96,"hex_timestamp":"0000019e8875c8a8"} 
[2026-06-02 18:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 18:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:42:41] 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-06-02 18:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783903488001,"66":12819,"105":206,"83":41984,"24":7,"16":125433239979425792,"45":1738037643073443840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783903488001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:42:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433239979425792,"km_value":125433239979425.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073443840,"description":"Unknown IO ID 45"} 
[2026-06-02 18:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783903488001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738037643073443840}} 
[2026-06-02 18:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":89991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:42:42] local.INFO: GPS data processed {"connection_id":89991,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:42:42] local.INFO: Acknowledgment sent {"connection_id":89991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:43:02] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:02] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:02] local.INFO: IMEI packet received {"connection_id":89992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":89992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:43:05] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:05] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:05] local.INFO: IMEI packet received {"connection_id":89992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":89992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:43:06] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:43:06] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:43:06] local.INFO: Packet analysis {"connection_id":90086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:06] local.INFO: Extracted packet for processing {"connection_id":90086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:43:06] 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-06-02 18:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":90086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":90086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":90086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":90086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:43:06] local.INFO: GPS data processed {"connection_id":90086,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:43:06] local.INFO: Acknowledgment sent {"connection_id":90086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:43:10] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:10] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:43:10] local.INFO: IMEI packet received {"connection_id":89992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":89992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:43:10] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88761ab0012d1821800721ab800052002025..."} 
[2026-06-02 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88761ab0012d1821800721ab800052002025..."} 
[2026-06-02 18:43:11] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88761ab0012d1821800721ab800052002025..."} 
[2026-06-02 18:43:11] local.INFO: Packet analysis {"connection_id":89992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:11] local.INFO: Extracted packet for processing {"connection_id":89992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783905536001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306179584,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780405902000,"timestamp_ms":1780405902000,"timestamp_seconds":1780405902,"priority":1,"record_length":96,"hex_timestamp":"0000019e88761ab0"} 
[2026-06-02 18:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84750538805551514,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2289372456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505513582919680,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":136,"raw_value":8411351918468147840,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2614100049,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6341332162427814144,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2147951002,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":22519313000824832,"corrected_to":0} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182216824717568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359349456467,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2695102464,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2421467653332873762,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194911232,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,160,158,169,45,192,166,34,10,66,165,35,122,1,240,172,227,136,33,4,113,205,8,95,42,200,31,239,50,2,189,7,80,164,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":200,"original":22519313000824832,"validated":0}]} 
[2026-06-02 18:43:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908752561133256704,"timestamp_seconds":5908752561133257.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:43:11] 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-06-02 18:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783905536001,"66":12678,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738248749306179584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783905536001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:43:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306179584,"description":"Unknown IO ID 45"} 
[2026-06-02 18:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783905536001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306179584}} 
[2026-06-02 18:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":89992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:43:11] local.INFO: GPS data processed {"connection_id":89992,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:43:11] local.INFO: Acknowledgment sent {"connection_id":89992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:43:23] local.INFO: TCP Data received {"connection_id":91157,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:43:23] local.INFO: Processing buffer {"connection_id":91157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:43:23] local.INFO: IMEI packet received {"connection_id":91157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":91157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:43:26] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:43:26] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:43:26] local.INFO: IMEI packet received {"connection_id":90087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":90087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:43:28] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:43:28] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:43:28] local.INFO: IMEI packet received {"connection_id":90087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":90087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:43:28] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:43:28] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:43:28] local.INFO: Packet analysis {"connection_id":90087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:43:28] local.INFO: Extracted packet for processing {"connection_id":90087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:43:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:43: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-06-02 18: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-06-02 18:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:43: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-06-02 18:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:43:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:43:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:43:28] local.INFO: TCP Data received {"connection_id":91157,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:43:28] local.INFO: Processing buffer {"connection_id":91157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:43:28] local.INFO: IMEI packet received {"connection_id":91157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":91157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":90087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:43:28] local.INFO: GPS data processed {"connection_id":90087,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:43:28] local.INFO: Acknowledgment sent {"connection_id":90087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:43:30] local.INFO: TCP Data received {"connection_id":91157,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:43:30] local.INFO: Processing buffer {"connection_id":91157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:43:30] local.INFO: Packet analysis {"connection_id":91157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:30] local.INFO: Extracted packet for processing {"connection_id":91157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:30] 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-06-02 18:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:43:30] 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-06-02 18: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-06-02 18:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":91157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":91157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":91157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":91157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:43:30] local.INFO: GPS data processed {"connection_id":91157,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:43:30] local.INFO: Acknowledgment sent {"connection_id":91157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:43:33] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:43:33] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8872c338012cb29ac007823b00004900d923..."} 
[2026-06-02 18:43:33] local.INFO: Packet analysis {"connection_id":90087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:43:33] local.INFO: Extracted packet for processing {"connection_id":90087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8872"} 
[2026-06-02 18:43:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783777792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780405683000,"timestamp_ms":1780405683000,"timestamp_seconds":1780405683,"priority":1,"record_length":96,"hex_timestamp":"0000019e8872c338"} 
[2026-06-02 18:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783777792001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783777792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:43:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:43:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783777792001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":90087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:43:33] local.INFO: GPS data processed {"connection_id":90087,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:43:33] local.INFO: Acknowledgment sent {"connection_id":90087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:43:42] local.INFO: TCP Data received {"connection_id":89992,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88766cb8012d1821800721ab800052002026..."} 
[2026-06-02 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88766cb8012d1821800721ab800052002026..."} 
[2026-06-02 18:43:42] local.INFO: Processing buffer {"connection_id":89992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88766cb8012d1821800721ab800052002026..."} 
[2026-06-02 18:43:42] local.INFO: Packet analysis {"connection_id":89992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:42] local.INFO: Extracted packet for processing {"connection_id":89992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":38,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783910912001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780405923000,"timestamp_ms":1780405923000,"timestamp_seconds":1780405923,"priority":1,"record_length":96,"hex_timestamp":"0000019e88766cb8"} 
[2026-06-02 18:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-02 18:43:42] 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-06-02 18:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:43:42] 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-06-02 18:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783910912001,"66":11624,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783910912001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:43:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783910912001,"power":11624,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":89992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:43:42] local.INFO: GPS data processed {"connection_id":89992,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:43:42] local.INFO: Acknowledgment sent {"connection_id":89992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:44:01] local.INFO: TCP Data received {"connection_id":91157,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:44:01] local.INFO: Processing buffer {"connection_id":91157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:44:01] local.INFO: Packet analysis {"connection_id":91157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:44:01] local.INFO: Extracted packet for processing {"connection_id":91157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:44:01] 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-06-02 18: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-06-02 18:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":91157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":91157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":91157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:44:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":91157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:44:01] local.INFO: GPS data processed {"connection_id":91157,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:44:01] local.INFO: Acknowledgment sent {"connection_id":91157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:44:04] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:44:04] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:44:04] local.INFO: Packet analysis {"connection_id":90087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:44:04] local.INFO: Extracted packet for processing {"connection_id":90087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:44:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:44: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-06-02 18:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:44:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":90087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:44:04] local.INFO: GPS data processed {"connection_id":90087,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:44:04] local.INFO: Acknowledgment sent {"connection_id":90087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:44:05] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:05] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:05] local.INFO: IMEI packet received {"connection_id":89730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":89730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:44:05] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:05] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:05] local.INFO: IMEI packet received {"connection_id":89730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":89730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:44:10] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:10] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:44:10] local.INFO: IMEI packet received {"connection_id":89730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":89730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:44:11] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876bec0012d1821800721ab800052002026..."} 
[2026-06-02 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876bec0012d1821800721ab800052002026..."} 
[2026-06-02 18:44:11] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876bec0012d1821800721ab800052002026..."} 
[2026-06-02 18:44:11] local.INFO: Packet analysis {"connection_id":89730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:44:11] local.INFO: Extracted packet for processing {"connection_id":89730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":38,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783916288001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780405944000,"timestamp_ms":1780405944000,"timestamp_seconds":1780405944,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876bec0"} 
[2026-06-02 18:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-02 18:44:11] 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-06-02 18:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:44:11] 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-06-02 18:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783916288001,"66":12254,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783916288001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:44:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783916288001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":89730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:44:11] local.INFO: GPS data processed {"connection_id":89730,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:44:11] local.INFO: Acknowledgment sent {"connection_id":89730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:44:23] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:44:23] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:44:23] local.INFO: IMEI packet received {"connection_id":89731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":89731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:44:23] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:44:23] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:44:23] local.INFO: IMEI packet received {"connection_id":90088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":90088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:44:28] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:44:28] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:44:28] local.INFO: IMEI packet received {"connection_id":89731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":89731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:44:28] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:44:28] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:44:28] local.INFO: IMEI packet received {"connection_id":90088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":90088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:44:29] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:44:29] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:44:29] local.INFO: Packet analysis {"connection_id":89731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:44:29] local.INFO: Extracted packet for processing {"connection_id":89731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:44:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:44: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-06-02 18: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-06-02 18:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":89731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:44:29] local.INFO: GPS data processed {"connection_id":89731,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:44:29] local.INFO: Acknowledgment sent {"connection_id":89731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:44:29] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:44:29] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:44:29] local.INFO: Packet analysis {"connection_id":90088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:44:29] local.INFO: Extracted packet for processing {"connection_id":90088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:29] 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-06-02 18:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:44:29] 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-06-02 18: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-06-02 18:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":90088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:44:29] local.INFO: GPS data processed {"connection_id":90088,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:44:29] local.INFO: Acknowledgment sent {"connection_id":90088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:44:41] local.INFO: TCP Data received {"connection_id":89730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887710c8012d1821800721ab800052002026..."} 
[2026-06-02 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887710c8012d1821800721ab800052002026..."} 
[2026-06-02 18:44:41] local.INFO: Processing buffer {"connection_id":89730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887710c8012d1821800721ab800052002026..."} 
[2026-06-02 18:44:41] local.INFO: Packet analysis {"connection_id":89730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:44:41] local.INFO: Extracted packet for processing {"connection_id":89730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":38,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783921664001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780405965000,"timestamp_ms":1780405965000,"timestamp_seconds":1780405965,"priority":1,"record_length":96,"hex_timestamp":"0000019e887710c8"} 
[2026-06-02 18:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 18:44:41] 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-06-02 18:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:44:41] 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-06-02 18:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783921664001,"66":12461,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783921664001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:44:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783921664001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":89730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:44:42] local.INFO: GPS data processed {"connection_id":89730,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:44:42] local.INFO: Acknowledgment sent {"connection_id":89730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:00] local.INFO: TCP Data received {"connection_id":89731,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:45:00] local.INFO: Processing buffer {"connection_id":89731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:45:00] local.INFO: Packet analysis {"connection_id":89731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:00] local.INFO: Extracted packet for processing {"connection_id":89731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:45: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-06-02 18: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-06-02 18:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":89731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:45:00] local.INFO: GPS data processed {"connection_id":89731,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:45:00] local.INFO: Acknowledgment sent {"connection_id":89731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:00] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:45:00] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:45:00] local.INFO: Packet analysis {"connection_id":90088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:45:00] local.INFO: Extracted packet for processing {"connection_id":90088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45: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-06-02 18:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:45:00] 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-06-02 18: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-06-02 18:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":90088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:45:00] local.INFO: GPS data processed {"connection_id":90088,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:45:00] local.INFO: Acknowledgment sent {"connection_id":90088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:04] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:04] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:04] local.INFO: IMEI packet received {"connection_id":90089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":90089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:45:08] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:08] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:08] local.INFO: IMEI packet received {"connection_id":90089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":90089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:45:09] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:09] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:45:09] local.INFO: IMEI packet received {"connection_id":90089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":90089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:45:10] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887762d0012d1821800721ab800052002028..."} 
[2026-06-02 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887762d0012d1821800721ab800052002028..."} 
[2026-06-02 18:45:10] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887762d0012d1821800721ab800052002028..."} 
[2026-06-02 18:45:10] local.INFO: Packet analysis {"connection_id":90089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:10] local.INFO: Extracted packet for processing {"connection_id":90089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783927040001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780405986000,"timestamp_ms":1780405986000,"timestamp_seconds":1780405986,"priority":1,"record_length":96,"hex_timestamp":"0000019e887762d0"} 
[2026-06-02 18:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:45: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-06-02 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 18:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:45:10] 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-06-02 18:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783927040001,"66":12363,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783927040001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:45:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783927040001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":90089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:45:10] local.INFO: GPS data processed {"connection_id":90089,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:45:10] local.INFO: Acknowledgment sent {"connection_id":90089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:15] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8877b4d8012d1821800721ab800052002029..."} 
[2026-06-02 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8877b4d8012d1821800721ab800052002029..."} 
[2026-06-02 18:45:15] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8877b4d8012d1821800721ab800052002029..."} 
[2026-06-02 18:45:15] local.INFO: Packet analysis {"connection_id":90089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:15] local.INFO: Extracted packet for processing {"connection_id":90089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783932416001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45: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-06-02 18:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780406007000,"timestamp_ms":1780406007000,"timestamp_seconds":1780406007,"priority":1,"record_length":96,"hex_timestamp":"0000019e8877b4d8"} 
[2026-06-02 18:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:45: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-06-02 18:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-02 18:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:45:15] 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-06-02 18:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783932416001,"66":12374,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783932416001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:45:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783932416001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":90089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:45:15] local.INFO: GPS data processed {"connection_id":90089,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:45:15] local.INFO: Acknowledgment sent {"connection_id":90089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:23] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:45:23] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:45:23] local.INFO: IMEI packet received {"connection_id":89732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":89732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:45:23] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:45:23] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:45:23] local.INFO: IMEI packet received {"connection_id":89996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":89996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:45:28] local.INFO: TCP Data received {"connection_id":89995,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:45:28] local.INFO: Processing buffer {"connection_id":89995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:45:28] local.INFO: IMEI packet received {"connection_id":89995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":89995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:45:28] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:45:28] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:45:28] local.INFO: IMEI packet received {"connection_id":89732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":89732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:45:28] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:45:28] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:45:28] local.INFO: IMEI packet received {"connection_id":89996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":89996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:45:29] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:45:29] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:45:29] local.INFO: Packet analysis {"connection_id":89732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:29] local.INFO: Extracted packet for processing {"connection_id":89732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:45: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-06-02 18:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":89732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:45:29] local.INFO: GPS data processed {"connection_id":89732,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:45:29] local.INFO: Acknowledgment sent {"connection_id":89732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:29] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:45:29] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:45:29] local.INFO: Packet analysis {"connection_id":89996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:45:29] local.INFO: Extracted packet for processing {"connection_id":89996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:29] 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-06-02 18:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:45:29] 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-06-02 18:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:45:29] 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-06-02 18:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":89996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:45:29] local.INFO: GPS data processed {"connection_id":89996,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:45:29] local.INFO: Acknowledgment sent {"connection_id":89996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:46] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887806e0012d1821800721ab800052002029..."} 
[2026-06-02 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887806e0012d1821800721ab800052002029..."} 
[2026-06-02 18:45:46] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887806e0012d1821800721ab800052002029..."} 
[2026-06-02 18:45:46] local.INFO: Packet analysis {"connection_id":90089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:45:46] local.INFO: Extracted packet for processing {"connection_id":90089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783937792001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:45: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-06-02 18:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780406028000,"timestamp_ms":1780406028000,"timestamp_seconds":1780406028,"priority":1,"record_length":96,"hex_timestamp":"0000019e887806e0"} 
[2026-06-02 18:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:45: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-06-02 18:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 18:45:46] 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-06-02 18:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:45: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-06-02 18:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783937792001,"66":12287,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783937792001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:45:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783937792001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":90089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:45:46] local.INFO: GPS data processed {"connection_id":90089,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:45:46] local.INFO: Acknowledgment sent {"connection_id":90089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:45:57] local.INFO: TCP Data received {"connection_id":91158,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:45:57] local.INFO: Processing buffer {"connection_id":91158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:45:57] local.INFO: IMEI packet received {"connection_id":91158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":91158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:46:00] local.INFO: TCP Data received {"connection_id":89996,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:00] local.INFO: Processing buffer {"connection_id":89996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:00] local.INFO: Packet analysis {"connection_id":89996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:46:00] local.INFO: Extracted packet for processing {"connection_id":89996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46: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-06-02 18:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:46:00] 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-06-02 18: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-06-02 18:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:46:00] 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-06-02 18:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:46:00] local.INFO: TCP Data received {"connection_id":89732,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":89996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:46:00] local.INFO: GPS data processed {"connection_id":89996,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:46:00] local.INFO: Acknowledgment sent {"connection_id":89996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:46:00] local.INFO: Processing buffer {"connection_id":89732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:46:00] local.INFO: Packet analysis {"connection_id":89732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:46:00] local.INFO: Extracted packet for processing {"connection_id":89732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18: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-06-02 18: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-06-02 18:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":89732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:46:00] local.INFO: GPS data processed {"connection_id":89732,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:46:00] local.INFO: Acknowledgment sent {"connection_id":89732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:46:04] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:46:04] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:46:04] local.INFO: IMEI packet received {"connection_id":89733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":89733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:46:10] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:46:10] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:46:10] local.INFO: IMEI packet received {"connection_id":89733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":89733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:46:11] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887858e8012d1821800721ab80005200202a..."} 
[2026-06-02 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887858e8012d1821800721ab80005200202a..."} 
[2026-06-02 18:46:11] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887858e8012d1821800721ab80005200202a..."} 
[2026-06-02 18:46:11] local.INFO: Packet analysis {"connection_id":89733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:46:11] local.INFO: Extracted packet for processing {"connection_id":89733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783943168001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406049000,"timestamp_ms":1780406049000,"timestamp_seconds":1780406049,"priority":1,"record_length":96,"hex_timestamp":"0000019e887858e8"} 
[2026-06-02 18:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 18:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:46:11] 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-06-02 18:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783943168001,"66":12298,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783943168001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:46:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783943168001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":89733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:46:11] local.INFO: GPS data processed {"connection_id":89733,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:46:11] local.INFO: Acknowledgment sent {"connection_id":89733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:46:23] local.INFO: TCP Data received {"connection_id":91159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:46:23] local.INFO: Processing buffer {"connection_id":91159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:46:23] local.INFO: IMEI packet received {"connection_id":91159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":91159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:46:28] local.INFO: TCP Data received {"connection_id":91159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:46:28] local.INFO: Processing buffer {"connection_id":91159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:46:28] local.INFO: IMEI packet received {"connection_id":91159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":91159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:46:28] local.INFO: TCP Data received {"connection_id":91160,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:46:28] local.INFO: Processing buffer {"connection_id":91160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:46:28] local.INFO: IMEI packet received {"connection_id":91160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":91160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:46:29] local.INFO: TCP Data received {"connection_id":91159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:46:29] local.INFO: Processing buffer {"connection_id":91159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:46:29] local.INFO: Packet analysis {"connection_id":91159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:46:29] local.INFO: Extracted packet for processing {"connection_id":91159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:46:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:46: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-06-02 18:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:46:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":91159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:46:29] local.INFO: GPS data processed {"connection_id":91159,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:46:29] local.INFO: Acknowledgment sent {"connection_id":91159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:46:33] local.INFO: TCP Data received {"connection_id":91160,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:46:33] local.INFO: Processing buffer {"connection_id":91160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:46:33] local.INFO: IMEI packet received {"connection_id":91160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":91160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:46:34] local.INFO: TCP Data received {"connection_id":91160,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:34] local.INFO: Processing buffer {"connection_id":91160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:34] local.INFO: Packet analysis {"connection_id":91160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:46:34] local.INFO: Extracted packet for processing {"connection_id":91160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:34] 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-06-02 18:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:46:34] 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-06-02 18: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-06-02 18:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:46:34] 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-06-02 18:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":91160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:46:34] local.INFO: GPS data processed {"connection_id":91160,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:46:34] local.INFO: Acknowledgment sent {"connection_id":91160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:46:39] local.INFO: TCP Data received {"connection_id":91160,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:39] local.INFO: Processing buffer {"connection_id":91160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8876c690012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:46:39] local.INFO: Packet analysis {"connection_id":91160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:46:39] local.INFO: Extracted packet for processing {"connection_id":91160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8876"} 
[2026-06-02 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783845120001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780405946000,"timestamp_ms":1780405946000,"timestamp_seconds":1780405946,"priority":1,"record_length":96,"hex_timestamp":"0000019e8876c690"} 
[2026-06-02 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":91160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":91160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":91160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783845120001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783845120001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783845120001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":91160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:46:39] local.INFO: GPS data processed {"connection_id":91160,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:46:39] local.INFO: Acknowledgment sent {"connection_id":91160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:46:42] local.INFO: TCP Data received {"connection_id":89733,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8878aaf0012d1821800721ab80005200202b..."} 
[2026-06-02 18:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8878aaf0012d1821800721ab80005200202b..."} 
[2026-06-02 18:46:42] local.INFO: Processing buffer {"connection_id":89733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8878aaf0012d1821800721ab80005200202b..."} 
[2026-06-02 18:46:42] local.INFO: Packet analysis {"connection_id":89733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:46:42] local.INFO: Extracted packet for processing {"connection_id":89733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783948544001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780406070000,"timestamp_ms":1780406070000,"timestamp_seconds":1780406070,"priority":1,"record_length":96,"hex_timestamp":"0000019e8878aaf0"} 
[2026-06-02 18:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:46: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-06-02 18:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186045,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-1801439850948198399,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-8613667894063196127,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513880398746484768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":82,"raw_value":9048980696596480,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3271866011538227406,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951019,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594538,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2699493376,"note":"Value kept but may cause issues"} 
[2026-06-02 18:46:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,160,158,6,45,128,171,82,41,10,66,180,98,1,240,75,227,136,33,4,113,205,190,38,239,47,2,189,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 18:46:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908758075870806016,"timestamp_seconds":5908758075870806.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:46:42] 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-06-02 18:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783948544001,"66":12548,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783948544001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:46:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783948544001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":89733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:46:42] local.INFO: GPS data processed {"connection_id":89733,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:46:42] local.INFO: Acknowledgment sent {"connection_id":89733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:47:01] local.INFO: TCP Data received {"connection_id":91159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:47:01] local.INFO: Processing buffer {"connection_id":91159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:47:01] local.INFO: Packet analysis {"connection_id":91159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:47:01] local.INFO: Extracted packet for processing {"connection_id":91159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:47: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-06-02 18:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":91159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":91159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":91159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:47: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-06-02 18:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:47:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:47:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":91159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:47:01] local.INFO: GPS data processed {"connection_id":91159,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:47:01] local.INFO: Acknowledgment sent {"connection_id":91159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:47:10] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:47:10] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:47:10] local.INFO: IMEI packet received {"connection_id":89997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":89997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:47:14] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:47:14] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:47:14] local.INFO: IMEI packet received {"connection_id":89997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":89997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:47:15] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8878fcf8012d1821800721ab80005200202b..."} 
[2026-06-02 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8878fcf8012d1821800721ab80005200202b..."} 
[2026-06-02 18:47:15] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8878fcf8012d1821800721ab80005200202b..."} 
[2026-06-02 18:47:15] local.INFO: Packet analysis {"connection_id":89997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:47:15] local.INFO: Extracted packet for processing {"connection_id":89997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8878"} 
[2026-06-02 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783953920001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47: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-06-02 18:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780406091000,"timestamp_ms":1780406091000,"timestamp_seconds":1780406091,"priority":1,"record_length":96,"hex_timestamp":"0000019e8878fcf8"} 
[2026-06-02 18:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:47: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-06-02 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2289483456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184177762509,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951019,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2699493376,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,160,158,88,45,128,171,82,42,10,66,6,41,180,1,240,86,227,136,33,4,113,205,38,239,48,2,189,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-02 18:47:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908758080165773312,"timestamp_seconds":5908758080165773.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:47:15] 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-06-02 18:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783953920001,"66":13689,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783953920001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783953920001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":89997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:47:15] local.INFO: GPS data processed {"connection_id":89997,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:47:15] local.INFO: Acknowledgment sent {"connection_id":89997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:47:15] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88794f00012d1821800721ab800052002027..."} 
[2026-06-02 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88794f00012d1821800721ab800052002027..."} 
[2026-06-02 18:47:15] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88794f00012d1821800721ab800052002027..."} 
[2026-06-02 18:47:15] local.INFO: Packet analysis {"connection_id":89997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8879"} 
[2026-06-02 18:47:15] local.INFO: Extracted packet for processing {"connection_id":89997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8879"} 
[2026-06-02 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783959296001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47: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-06-02 18:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780406112000,"timestamp_ms":1780406112000,"timestamp_seconds":1780406112,"priority":1,"record_length":96,"hex_timestamp":"0000019e88794f00"} 
[2026-06-02 18:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:47: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-06-02 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-06-02 18:47:15] 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-06-02 18:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:47:15] 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-06-02 18:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783959296001,"66":14048,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783959296001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783959296001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":89997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:47:15] local.INFO: GPS data processed {"connection_id":89997,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:47:15] local.INFO: Acknowledgment sent {"connection_id":89997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:47:23] local.INFO: TCP Data received {"connection_id":91161,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:47:23] local.INFO: Processing buffer {"connection_id":91161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:47:23] local.INFO: IMEI packet received {"connection_id":91161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":91161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:47:23] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:47:23] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:47:23] local.INFO: IMEI packet received {"connection_id":90091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":90091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:47:28] local.INFO: TCP Data received {"connection_id":91161,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:47:28] local.INFO: Processing buffer {"connection_id":91161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:47:28] local.INFO: IMEI packet received {"connection_id":91161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":91161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:47:28] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:47:28] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:47:28] local.INFO: IMEI packet received {"connection_id":90091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":90091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:47:29] local.INFO: TCP Data received {"connection_id":91161,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:47:29] local.INFO: Processing buffer {"connection_id":91161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:47:29] local.INFO: Packet analysis {"connection_id":91161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:47:29] local.INFO: Extracted packet for processing {"connection_id":91161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:47: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-06-02 18:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":91161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:47:29] local.INFO: GPS data processed {"connection_id":91161,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:47:29] local.INFO: Acknowledgment sent {"connection_id":91161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:47:29] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:47:29] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:47:29] local.INFO: Packet analysis {"connection_id":90091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:47:29] local.INFO: Extracted packet for processing {"connection_id":90091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:29] 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-06-02 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:47:29] 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-06-02 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:47:29] 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-06-02 18:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:47:29] 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-06-02 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":90091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:47:29] local.INFO: GPS data processed {"connection_id":90091,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:47:29] local.INFO: Acknowledgment sent {"connection_id":90091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:47:46] local.INFO: TCP Data received {"connection_id":89997,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8879a108012d1821800721ab80005200202a..."} 
[2026-06-02 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8879a108012d1821800721ab80005200202a..."} 
[2026-06-02 18:47:46] local.INFO: Processing buffer {"connection_id":89997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8879a108012d1821800721ab80005200202a..."} 
[2026-06-02 18:47:46] local.INFO: Packet analysis {"connection_id":89997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8879"} 
[2026-06-02 18:47:46] local.INFO: Extracted packet for processing {"connection_id":89997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8879"} 
[2026-06-02 18:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783964672001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18: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-06-02 18:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780406133000,"timestamp_ms":1780406133000,"timestamp_seconds":1780406133,"priority":1,"record_length":96,"hex_timestamp":"0000019e8879a108"} 
[2026-06-02 18:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:47: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-06-02 18: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":224,"data_length":795,"current_offset":136} 
[2026-06-02 18:47: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-06-02 18: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-06-02 18:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:47: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-06-02 18:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783964672001,"66":13048,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783964672001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:47:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783964672001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":89997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:47:46] local.INFO: GPS data processed {"connection_id":89997,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:47:46] local.INFO: Acknowledgment sent {"connection_id":89997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:48:00] local.INFO: TCP Data received {"connection_id":91161,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:00] local.INFO: Processing buffer {"connection_id":91161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:00] local.INFO: Packet analysis {"connection_id":91161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:48:00] local.INFO: Extracted packet for processing {"connection_id":91161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:48: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-06-02 18: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-06-02 18:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:48: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-06-02 18:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":91161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:48:00] local.INFO: GPS data processed {"connection_id":91161,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:48:00] local.INFO: Acknowledgment sent {"connection_id":91161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:48:00] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:48:00] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:48:00] local.INFO: Packet analysis {"connection_id":90091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:48:00] local.INFO: Extracted packet for processing {"connection_id":90091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48: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-06-02 18:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:48:00] 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-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:48:00] 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-06-02 18: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-06-02 18:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:48:00] 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-06-02 18:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":90091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:48:00] local.INFO: GPS data processed {"connection_id":90091,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:48:00] local.INFO: Acknowledgment sent {"connection_id":90091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:48:05] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:48:05] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:48:05] local.INFO: IMEI packet received {"connection_id":90093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":90093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:48:10] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:48:10] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:48:10] local.INFO: IMEI packet received {"connection_id":90093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":90093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:48:10] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8879f310012d1821800721ab800052002029..."} 
[2026-06-02 18:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8879f310012d1821800721ab800052002029..."} 
[2026-06-02 18:48:11] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8879f310012d1821800721ab800052002029..."} 
[2026-06-02 18:48:11] local.INFO: Packet analysis {"connection_id":90093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8879"} 
[2026-06-02 18:48:11] local.INFO: Extracted packet for processing {"connection_id":90093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8879"} 
[2026-06-02 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119647104,"longitude_deg":75.655616,"latitude_deg":11.9647104,"altitude":82,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-02 18:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783970048001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125433278634131456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259736064,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406154000,"timestamp_ms":1780406154000,"timestamp_seconds":1780406154,"priority":1,"record_length":96,"hex_timestamp":"0000019e8879f310"} 
[2026-06-02 18:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 18:48: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-06-02 18:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:48:11] 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-06-02 18:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783970048001,"66":11363,"105":206,"83":41984,"24":0,"16":125433278634131456,"45":1738811699259736064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-02 18:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783970048001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:48:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-02 18:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125433278634131456,"km_value":125433278634131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259736064,"description":"Unknown IO ID 45"} 
[2026-06-02 18:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783970048001,"power":11363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699259736064}} 
[2026-06-02 18:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":90093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:48:11] local.INFO: GPS data processed {"connection_id":90093,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:48:11] local.INFO: Acknowledgment sent {"connection_id":90093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:48:23] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:48:23] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:48:23] local.INFO: IMEI packet received {"connection_id":90094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":90094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:48:28] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:48:28] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:48:28] local.INFO: IMEI packet received {"connection_id":90094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":90094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:48:28] local.INFO: TCP Data received {"connection_id":91162,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:48:28] local.INFO: Processing buffer {"connection_id":91162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:48:28] local.INFO: IMEI packet received {"connection_id":91162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":91162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:48:29] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:48:29] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:48:29] local.INFO: Packet analysis {"connection_id":90094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:48:29] local.INFO: Extracted packet for processing {"connection_id":90094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:29] 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-06-02 18:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:48:29] 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-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:48:29] 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-06-02 18: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-06-02 18:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:48:29] 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-06-02 18:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:48:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":90094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:48:29] local.INFO: GPS data processed {"connection_id":90094,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:48:29] local.INFO: Acknowledgment sent {"connection_id":90094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:48:33] local.INFO: TCP Data received {"connection_id":91162,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:48:33] local.INFO: Processing buffer {"connection_id":91162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:48:33] local.INFO: IMEI packet received {"connection_id":91162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":91162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:48:34] local.INFO: TCP Data received {"connection_id":91162,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:34] local.INFO: Processing buffer {"connection_id":91162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:34] local.INFO: Packet analysis {"connection_id":91162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:48:34] local.INFO: Extracted packet for processing {"connection_id":91162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:48:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:48:34] 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-06-02 18:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:48:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:48:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":91162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:48:34] local.INFO: GPS data processed {"connection_id":91162,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:48:34] local.INFO: Acknowledgment sent {"connection_id":91162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:48:38] local.INFO: TCP Data received {"connection_id":91162,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:38] local.INFO: Processing buffer {"connection_id":91162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88775b00012cb29ac007823b00004900d924..."} 
[2026-06-02 18:48:38] local.INFO: Packet analysis {"connection_id":91162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:48:38] local.INFO: Extracted packet for processing {"connection_id":91162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8877"} 
[2026-06-02 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783854848001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780405984000,"timestamp_ms":1780405984000,"timestamp_seconds":1780405984,"priority":1,"record_length":96,"hex_timestamp":"0000019e88775b00"} 
[2026-06-02 18:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:48: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-06-02 18: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-06-02 18:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783854848001,"66":25647,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783854848001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:48:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:48:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783854848001,"power":25647,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":91162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:48:38] local.INFO: GPS data processed {"connection_id":91162,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:48:38] local.INFO: Acknowledgment sent {"connection_id":91162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:48:41] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bd388012d18754007218198004f00662b..."} 
[2026-06-02 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bd388012d18754007218198004f00662b..."} 
[2026-06-02 18:48:41] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bd388012d18754007218198004f00662b..."} 
[2026-06-02 18:48:41] local.INFO: Packet analysis {"connection_id":90093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:48:41] local.INFO: Extracted packet for processing {"connection_id":90093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756577600,"raw_latitude":119636376,"longitude_deg":75.65776,"latitude_deg":11.9636376,"altitude":79,"angle":102,"satellites":43,"speed":11,"hex_longitude":"2d187540","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784005632001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434571419287552,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759992691254441984,"note":"Value kept but may cause issues"} 
[2026-06-02 18:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780406277000,"timestamp_ms":1780406277000,"timestamp_seconds":1780406277,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bd388"} 
[2026-06-02 18:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-02 18:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:48:41] 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-06-02 18:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784005632001,"66":13037,"106":206,"83":41984,"24":11,"16":125434571419287552,"45":1759992691254441984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784005632001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:48:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434571419287552,"km_value":125434571419287.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759992691254441984,"description":"Unknown IO ID 45"} 
[2026-06-02 18:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784005632001,"power":13037,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1759992691254441984}} 
[2026-06-02 18:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":90093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:48:42] local.INFO: GPS data processed {"connection_id":90093,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:48:42] local.INFO: Acknowledgment sent {"connection_id":90093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:49:00] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:49:00] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:49:00] local.INFO: Packet analysis {"connection_id":90094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:00] local.INFO: Extracted packet for processing {"connection_id":90094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49: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-06-02 18:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:49:00] 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-06-02 18:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:49:00] 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-06-02 18: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-06-02 18:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:49:00] 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-06-02 18:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:49:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":90094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:49:00] local.INFO: GPS data processed {"connection_id":90094,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:49:00] local.INFO: Acknowledgment sent {"connection_id":90094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:49:05] local.INFO: TCP Data received {"connection_id":89734,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:49:05] local.INFO: Processing buffer {"connection_id":89734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:49:05] local.INFO: IMEI packet received {"connection_id":89734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":89734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:49:10] local.INFO: TCP Data received {"connection_id":89734,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:49:10] local.INFO: Processing buffer {"connection_id":89734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:49:10] local.INFO: IMEI packet received {"connection_id":89734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":89734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:49:11] local.INFO: TCP Data received {"connection_id":89734,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bdb58012d1876c0072180f0004f00832b..."} 
[2026-06-02 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bdb58012d1876c0072180f0004f00832b..."} 
[2026-06-02 18:49:11] local.INFO: Processing buffer {"connection_id":89734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bdb58012d1876c0072180f0004f00832b..."} 
[2026-06-02 18:49:11] local.INFO: Packet analysis {"connection_id":89734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:11] local.INFO: Extracted packet for processing {"connection_id":89734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636208,"longitude_deg":75.6577984,"latitude_deg":11.9636208,"altitude":79,"angle":131,"satellites":43,"speed":7,"hex_longitude":"2d1876c0","hex_latitude":"072180f0","is_valid_coordinates":true} 
[2026-06-02 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784006912001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434588599156736,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762385228556507136,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:11] 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-06-02 18:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406279000,"timestamp_ms":1780406279000,"timestamp_seconds":1780406279,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bdb58"} 
[2026-06-02 18:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 18:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:49:11] 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-06-02 18:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784006912001,"66":13048,"106":206,"83":41984,"24":7,"16":125434588599156736,"45":1762385228556507136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784006912001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434588599156736,"km_value":125434588599156.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762385228556507136,"description":"Unknown IO ID 45"} 
[2026-06-02 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784006912001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1762385228556507136}} 
[2026-06-02 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":89734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:49:11] local.INFO: GPS data processed {"connection_id":89734,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:49:11] local.INFO: Acknowledgment sent {"connection_id":89734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:49:23] local.INFO: TCP Data received {"connection_id":90095,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:49:23] local.INFO: Processing buffer {"connection_id":90095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:49:23] local.INFO: IMEI packet received {"connection_id":90095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":90095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:49:23] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:49:23] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:49:23] local.INFO: IMEI packet received {"connection_id":90096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":90096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:49:28] local.INFO: TCP Data received {"connection_id":90095,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:49:28] local.INFO: Processing buffer {"connection_id":90095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:49:28] local.INFO: IMEI packet received {"connection_id":90095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":90095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:49:28] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:49:28] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:49:28] local.INFO: IMEI packet received {"connection_id":90096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":90096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:49:29] local.INFO: TCP Data received {"connection_id":90095,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:49:29] local.INFO: Processing buffer {"connection_id":90095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:49:29] local.INFO: Packet analysis {"connection_id":90095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:29] local.INFO: Extracted packet for processing {"connection_id":90095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:49: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-06-02 18:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:49:29] 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-06-02 18:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":90095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:49:29] local.INFO: GPS data processed {"connection_id":90095,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:49:29] local.INFO: Acknowledgment sent {"connection_id":90095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:49:29] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:49:29] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:49:29] local.INFO: Packet analysis {"connection_id":90096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:29] local.INFO: Extracted packet for processing {"connection_id":90096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:29] 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-06-02 18:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:49:29] 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-06-02 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:49:29] 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-06-02 18:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:49:29] 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-06-02 18:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":90096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:49:29] local.INFO: GPS data processed {"connection_id":90096,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:49:29] local.INFO: Acknowledgment sent {"connection_id":90096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:49:41] local.INFO: TCP Data received {"connection_id":89734,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bdf40012d18770007218078004f00972b..."} 
[2026-06-02 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bdf40012d18770007218078004f00972b..."} 
[2026-06-02 18:49:41] local.INFO: Processing buffer {"connection_id":89734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bdf40012d18770007218078004f00972b..."} 
[2026-06-02 18:49:41] local.INFO: Packet analysis {"connection_id":89734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:41] local.INFO: Extracted packet for processing {"connection_id":89734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636088,"longitude_deg":75.6578048,"latitude_deg":11.9636088,"altitude":79,"angle":151,"satellites":43,"speed":5,"hex_longitude":"2d187700","hex_latitude":"07218078","is_valid_coordinates":true} 
[2026-06-02 18:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784007424001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434597189091328,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021530112,"note":"Value kept but may cause issues"} 
[2026-06-02 18:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780406280000,"timestamp_ms":1780406280000,"timestamp_seconds":1780406280,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bdf40"} 
[2026-06-02 18:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-02 18:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:49:41] 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-06-02 18:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784007424001,"66":13080,"106":206,"83":41984,"24":5,"16":125434597189091328,"45":1762807441021530112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784007424001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:49:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434597189091328,"km_value":125434597189091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021530112,"description":"Unknown IO ID 45"} 
[2026-06-02 18:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784007424001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1762807441021530112}} 
[2026-06-02 18:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":89734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:49:41] local.INFO: GPS data processed {"connection_id":89734,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:49:41] local.INFO: Acknowledgment sent {"connection_id":89734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:50:00] local.INFO: TCP Data received {"connection_id":90095,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:50:00] local.INFO: Processing buffer {"connection_id":90095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:50:00] local.INFO: Packet analysis {"connection_id":90095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:00] local.INFO: Extracted packet for processing {"connection_id":90095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:50: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-06-02 18:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:50:00] 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-06-02 18:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":90095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:50:00] local.INFO: GPS data processed {"connection_id":90095,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:50:00] local.INFO: Acknowledgment sent {"connection_id":90095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:50:00] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:50:00] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:50:00] local.INFO: Packet analysis {"connection_id":90096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:00] local.INFO: Extracted packet for processing {"connection_id":90096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50: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-06-02 18:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:50:00] 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-06-02 18:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:50:00] 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-06-02 18:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:50:00] 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-06-02 18:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":90096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:50:00] local.INFO: GPS data processed {"connection_id":90096,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:50:00] local.INFO: Acknowledgment sent {"connection_id":90096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:50:05] local.INFO: TCP Data received {"connection_id":91164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:50:05] local.INFO: Processing buffer {"connection_id":91164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:50:05] local.INFO: IMEI packet received {"connection_id":91164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":91164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:50:10] local.INFO: TCP Data received {"connection_id":91164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:50:10] local.INFO: Processing buffer {"connection_id":91164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:50:10] local.INFO: IMEI packet received {"connection_id":91164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":91164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:50:11] local.INFO: TCP Data received {"connection_id":91164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887c3148012d187700072180580051009728..."} 
[2026-06-02 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887c3148012d187700072180580051009728..."} 
[2026-06-02 18:50:11] local.INFO: Processing buffer {"connection_id":91164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887c3148012d187700072180580051009728..."} 
[2026-06-02 18:50:11] local.INFO: Packet analysis {"connection_id":91164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887c"} 
[2026-06-02 18:50:11] local.INFO: Extracted packet for processing {"connection_id":91164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887c"} 
[2026-06-02 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636056,"longitude_deg":75.6578048,"latitude_deg":11.9636056,"altitude":81,"angle":151,"satellites":40,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218058","is_valid_coordinates":true} 
[2026-06-02 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784007680001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434610073993216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765677056,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:11] 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-06-02 18:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406301000,"timestamp_ms":1780406301000,"timestamp_seconds":1780406301,"priority":1,"record_length":96,"hex_timestamp":"0000019e887c3148"} 
[2026-06-02 18:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-02 18:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:50:11] 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-06-02 18:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784007680001,"66":12993,"106":206,"83":41984,"24":0,"16":125434610073993216,"45":1762877809765677056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784007680001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:50:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434610073993216,"km_value":125434610073993.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765677056,"description":"Unknown IO ID 45"} 
[2026-06-02 18:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784007680001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765677056}} 
[2026-06-02 18:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":91164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:50:11] local.INFO: GPS data processed {"connection_id":91164,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:50:11] local.INFO: Acknowledgment sent {"connection_id":91164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:50:23] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:50:23] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:50:23] local.INFO: IMEI packet received {"connection_id":89999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":89999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:50:23] local.INFO: TCP Data received {"connection_id":91165,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:50:23] local.INFO: Processing buffer {"connection_id":91165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:50:23] local.INFO: IMEI packet received {"connection_id":91165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":91165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:50:28] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:50:28] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:50:28] local.INFO: IMEI packet received {"connection_id":89999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":89999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:50:28] local.INFO: TCP Data received {"connection_id":91165,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:50:28] local.INFO: Processing buffer {"connection_id":91165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:50:28] local.INFO: IMEI packet received {"connection_id":91165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":91165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:50:29] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:50:29] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:50:29] local.INFO: Packet analysis {"connection_id":89999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:29] local.INFO: Extracted packet for processing {"connection_id":89999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:50: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-06-02 18:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:50:29] 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-06-02 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":89999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:50:29] local.INFO: GPS data processed {"connection_id":89999,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:50:29] local.INFO: Acknowledgment sent {"connection_id":89999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:50:29] local.INFO: TCP Data received {"connection_id":91165,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:50:29] local.INFO: Processing buffer {"connection_id":91165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:50:29] local.INFO: Packet analysis {"connection_id":91165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:29] local.INFO: Extracted packet for processing {"connection_id":91165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:29] 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-06-02 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:50:29] 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-06-02 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:50:29] 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-06-02 18:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:50:29] 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-06-02 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":91165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:50:29] local.INFO: GPS data processed {"connection_id":91165,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:50:29] local.INFO: Acknowledgment sent {"connection_id":91165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:50:42] local.INFO: TCP Data received {"connection_id":91164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887c8350012d187700072180580051009727..."} 
[2026-06-02 18:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887c8350012d187700072180580051009727..."} 
[2026-06-02 18:50:42] local.INFO: Processing buffer {"connection_id":91164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887c8350012d187700072180580051009727..."} 
[2026-06-02 18:50:42] local.INFO: Packet analysis {"connection_id":91164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887c"} 
[2026-06-02 18:50:42] local.INFO: Extracted packet for processing {"connection_id":91164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887c"} 
[2026-06-02 18:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636056,"longitude_deg":75.6578048,"latitude_deg":11.9636056,"altitude":81,"angle":151,"satellites":39,"speed":0,"hex_longitude":"2d187700","hex_latitude":"07218058","is_valid_coordinates":true} 
[2026-06-02 18:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784013056001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434610073993216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765668864,"note":"Value kept but may cause issues"} 
[2026-06-02 18:50:42] 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-06-02 18:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780406322000,"timestamp_ms":1780406322000,"timestamp_seconds":1780406322,"priority":1,"record_length":96,"hex_timestamp":"0000019e887c8350"} 
[2026-06-02 18:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-02 18:50:42] 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-06-02 18:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:50:42] 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-06-02 18:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784013056001,"66":12950,"106":206,"83":41984,"24":0,"16":125434610073993216,"45":1762877809765668864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784013056001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434610073993216,"km_value":125434610073993.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765668864,"description":"Unknown IO ID 45"} 
[2026-06-02 18:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784013056001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765668864}} 
[2026-06-02 18:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":91164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:50:42] local.INFO: GPS data processed {"connection_id":91164,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:50:42] local.INFO: Acknowledgment sent {"connection_id":91164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:00] local.INFO: TCP Data received {"connection_id":89999,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:00] local.INFO: Processing buffer {"connection_id":89999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:00] local.INFO: Packet analysis {"connection_id":89999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:00] local.INFO: Extracted packet for processing {"connection_id":89999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:51: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-06-02 18: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-06-02 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":89999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:00] local.INFO: GPS data processed {"connection_id":89999,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:00] local.INFO: Acknowledgment sent {"connection_id":89999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:00] local.INFO: TCP Data received {"connection_id":91165,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:00] local.INFO: Processing buffer {"connection_id":91165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:00] local.INFO: Packet analysis {"connection_id":91165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:00] local.INFO: Extracted packet for processing {"connection_id":91165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18: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-06-02 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51:00] 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-06-02 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:51:00] 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-06-02 18: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-06-02 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:51:00] 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-06-02 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":91165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:00] local.INFO: GPS data processed {"connection_id":91165,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:00] local.INFO: Acknowledgment sent {"connection_id":91165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:05] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:05] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:05] local.INFO: IMEI packet received {"connection_id":90000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":90000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:51:05] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:05] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:05] local.INFO: IMEI packet received {"connection_id":90000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":90000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:51:10] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:10] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:51:10] local.INFO: IMEI packet received {"connection_id":90000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":90000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:51:10] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887cd558012d187640072183d8004f00972a..."} 
[2026-06-02 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887cd558012d187640072183d8004f00972a..."} 
[2026-06-02 18:51:10] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887cd558012d187640072183d8004f00972a..."} 
[2026-06-02 18:51:10] local.INFO: Packet analysis {"connection_id":90000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887c"} 
[2026-06-02 18:51:10] local.INFO: Extracted packet for processing {"connection_id":90000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887c"} 
[2026-06-02 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784018432001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765668864,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780406343000,"timestamp_ms":1780406343000,"timestamp_seconds":1780406343,"priority":1,"record_length":96,"hex_timestamp":"0000019e887cd558"} 
[2026-06-02 18:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-02 18:51:10] 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-06-02 18:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:51:10] 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-06-02 18:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784018432001,"66":12961,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762877809765668864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784018432001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765668864,"description":"Unknown IO ID 45"} 
[2026-06-02 18:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784018432001,"power":12961,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762877809765668864}} 
[2026-06-02 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":90000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:11] local.INFO: GPS data processed {"connection_id":90000,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:11] local.INFO: Acknowledgment sent {"connection_id":90000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:23] local.INFO: TCP Data received {"connection_id":90097,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:51:23] local.INFO: Processing buffer {"connection_id":90097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:51:23] local.INFO: IMEI packet received {"connection_id":90097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":90097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:51:23] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:51:23] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:51:23] local.INFO: IMEI packet received {"connection_id":89735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":89735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:51:28] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:51:28] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:51:28] local.INFO: IMEI packet received {"connection_id":89735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":89735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:51:28] local.INFO: TCP Data received {"connection_id":91166,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:51:28] local.INFO: Processing buffer {"connection_id":91166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:51:28] local.INFO: IMEI packet received {"connection_id":91166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":91166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:51:28] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:28] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:28] local.INFO: Packet analysis {"connection_id":89735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:28] local.INFO: Extracted packet for processing {"connection_id":89735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:51: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-06-02 18:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":89735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:28] local.INFO: GPS data processed {"connection_id":89735,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:28] local.INFO: Acknowledgment sent {"connection_id":89735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:33] local.INFO: TCP Data received {"connection_id":91166,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:51:33] local.INFO: Processing buffer {"connection_id":91166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:51:33] local.INFO: IMEI packet received {"connection_id":91166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":91166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:51:34] local.INFO: TCP Data received {"connection_id":91166,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:34] local.INFO: Processing buffer {"connection_id":91166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:34] local.INFO: Packet analysis {"connection_id":91166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:34] local.INFO: Extracted packet for processing {"connection_id":91166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:34] 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-06-02 18:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51: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-06-02 18:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:51:34] 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-06-02 18: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-06-02 18:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:51:34] 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-06-02 18:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":91166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:34] local.INFO: GPS data processed {"connection_id":91166,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:34] local.INFO: Acknowledgment sent {"connection_id":91166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:38] local.INFO: TCP Data received {"connection_id":91166,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:38] local.INFO: Processing buffer {"connection_id":91166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:51:38] local.INFO: Packet analysis {"connection_id":91166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:38] local.INFO: Extracted packet for processing {"connection_id":91166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:38] 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-06-02 18:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51: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-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:51:38] 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-06-02 18: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-06-02 18:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":91166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:38] local.INFO: GPS data processed {"connection_id":91166,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:38] local.INFO: Acknowledgment sent {"connection_id":91166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:42] local.INFO: TCP Data received {"connection_id":90000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887d2760012d187640072183d8004f009727..."} 
[2026-06-02 18:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887d2760012d187640072183d8004f009727..."} 
[2026-06-02 18:51:42] local.INFO: Processing buffer {"connection_id":90000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887d2760012d187640072183d8004f009727..."} 
[2026-06-02 18:51:42] local.INFO: Packet analysis {"connection_id":90000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887d"} 
[2026-06-02 18:51:42] local.INFO: Extracted packet for processing {"connection_id":90000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887d"} 
[2026-06-02 18:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784023808001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:42] 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-06-02 18:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780406364000,"timestamp_ms":1780406364000,"timestamp_seconds":1780406364,"priority":1,"record_length":96,"hex_timestamp":"0000019e887d2760"} 
[2026-06-02 18:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51: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-06-02 18:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-02 18:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:51:42] 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-06-02 18:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784023808001,"66":12863,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784023808001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784023808001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":90000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:42] local.INFO: GPS data processed {"connection_id":90000,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:42] local.INFO: Acknowledgment sent {"connection_id":90000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:51:57] local.INFO: TCP Data received {"connection_id":90098,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:51:57] local.INFO: Processing buffer {"connection_id":90098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:51:57] local.INFO: IMEI packet received {"connection_id":90098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":90098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:51:59] local.INFO: TCP Data received {"connection_id":89735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:59] local.INFO: Processing buffer {"connection_id":89735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:51:59] local.INFO: Packet analysis {"connection_id":89735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:59] local.INFO: Extracted packet for processing {"connection_id":89735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:51:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:51: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-06-02 18: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-06-02 18:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:51: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-06-02 18:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:51:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":89735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:51:59] local.INFO: GPS data processed {"connection_id":89735,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:51:59] local.INFO: Acknowledgment sent {"connection_id":89735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:52:05] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:05] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:05] local.INFO: IMEI packet received {"connection_id":89736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":89736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:52:08] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:08] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:08] local.INFO: IMEI packet received {"connection_id":89736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":89736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:52:09] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:09] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:52:09] local.INFO: IMEI packet received {"connection_id":89736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":89736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:52:10] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887d7968012d187640072183d8004f009728..."} 
[2026-06-02 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887d7968012d187640072183d8004f009728..."} 
[2026-06-02 18:52:10] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887d7968012d187640072183d8004f009728..."} 
[2026-06-02 18:52:10] local.INFO: Packet analysis {"connection_id":89736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887d"} 
[2026-06-02 18:52:10] local.INFO: Extracted packet for processing {"connection_id":89736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887d"} 
[2026-06-02 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784029184001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780406385000,"timestamp_ms":1780406385000,"timestamp_seconds":1780406385,"priority":1,"record_length":96,"hex_timestamp":"0000019e887d7968"} 
[2026-06-02 18:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:52: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-06-02 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 18:52:10] 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-06-02 18:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:52:10] 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-06-02 18:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784029184001,"66":12885,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784029184001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:52:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784029184001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":89736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:52:10] local.INFO: GPS data processed {"connection_id":89736,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:52:10] local.INFO: Acknowledgment sent {"connection_id":89736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:52:15] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887dcb70012d187640072183d8004f009729..."} 
[2026-06-02 18:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887dcb70012d187640072183d8004f009729..."} 
[2026-06-02 18:52:15] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887dcb70012d187640072183d8004f009729..."} 
[2026-06-02 18:52:15] local.INFO: Packet analysis {"connection_id":89736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887d"} 
[2026-06-02 18:52:15] local.INFO: Extracted packet for processing {"connection_id":89736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887d"} 
[2026-06-02 18:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784034560001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52: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-06-02 18:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780406406000,"timestamp_ms":1780406406000,"timestamp_seconds":1780406406,"priority":1,"record_length":96,"hex_timestamp":"0000019e887dcb70"} 
[2026-06-02 18:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:52: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-06-02 18:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-02 18:52:15] 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-06-02 18:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:52:15] 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-06-02 18:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784034560001,"66":12841,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784034560001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:52:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784034560001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":89736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:52:15] local.INFO: GPS data processed {"connection_id":89736,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:52:15] local.INFO: Acknowledgment sent {"connection_id":89736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:52:23] local.INFO: TCP Data received {"connection_id":91167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:52:23] local.INFO: Processing buffer {"connection_id":91167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:52:23] local.INFO: IMEI packet received {"connection_id":91167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":91167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:52:23] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:52:23] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:52:23] local.INFO: IMEI packet received {"connection_id":90099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":90099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:52:28] local.INFO: TCP Data received {"connection_id":91167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:52:28] local.INFO: Processing buffer {"connection_id":91167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:52:28] local.INFO: IMEI packet received {"connection_id":91167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":91167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:52:28] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:52:28] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:52:28] local.INFO: IMEI packet received {"connection_id":90099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":90099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:52:28] local.INFO: TCP Data received {"connection_id":91167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:52:28] local.INFO: Processing buffer {"connection_id":91167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:52:28] local.INFO: Packet analysis {"connection_id":91167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:52:28] local.INFO: Extracted packet for processing {"connection_id":91167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:52: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-06-02 18:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:52:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:52:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":91167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:52:28] local.INFO: GPS data processed {"connection_id":91167,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:52:28] local.INFO: Acknowledgment sent {"connection_id":91167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:52:29] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:52:29] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887b5e58012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:52:29] local.INFO: Packet analysis {"connection_id":90099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:52:29] local.INFO: Extracted packet for processing {"connection_id":90099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783922176001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:29] 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-06-02 18:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406247000,"timestamp_ms":1780406247000,"timestamp_seconds":1780406247,"priority":1,"record_length":96,"hex_timestamp":"0000019e887b5e58"} 
[2026-06-02 18:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:52:29] 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-06-02 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:52:29] 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-06-02 18:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:52:29] 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-06-02 18:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783922176001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783922176001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:52:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783922176001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":90099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:52:29] local.INFO: GPS data processed {"connection_id":90099,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:52:29] local.INFO: Acknowledgment sent {"connection_id":90099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:52:46] local.INFO: TCP Data received {"connection_id":89736,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887e1d78012d187640072183d8004f009729..."} 
[2026-06-02 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887e1d78012d187640072183d8004f009729..."} 
[2026-06-02 18:52:46] local.INFO: Processing buffer {"connection_id":89736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887e1d78012d187640072183d8004f009729..."} 
[2026-06-02 18:52:46] local.INFO: Packet analysis {"connection_id":89736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887e"} 
[2026-06-02 18:52:46] local.INFO: Extracted packet for processing {"connection_id":89736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887e"} 
[2026-06-02 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784039936001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52: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-06-02 18:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780406427000,"timestamp_ms":1780406427000,"timestamp_seconds":1780406427,"priority":1,"record_length":96,"hex_timestamp":"0000019e887e1d78"} 
[2026-06-02 18:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:52: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-06-02 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 18:52: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-06-02 18:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:52: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-06-02 18:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784039936001,"66":12841,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784039936001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:52:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784039936001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":89736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:52:46] local.INFO: GPS data processed {"connection_id":89736,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:52:46] local.INFO: Acknowledgment sent {"connection_id":89736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:52:59] local.INFO: TCP Data received {"connection_id":91167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:52:59] local.INFO: Processing buffer {"connection_id":91167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:52:59] local.INFO: Packet analysis {"connection_id":91167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:52:59] local.INFO: Extracted packet for processing {"connection_id":91167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:52: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-06-02 18: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-06-02 18:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:52: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-06-02 18:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:52:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:52:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":91167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:52:59] local.INFO: GPS data processed {"connection_id":91167,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:52:59] local.INFO: Acknowledgment sent {"connection_id":91167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:53:00] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:53:00] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:53:00] local.INFO: Packet analysis {"connection_id":90099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:53:00] local.INFO: Extracted packet for processing {"connection_id":90099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53: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-06-02 18:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:53:00] 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-06-02 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:53:00] 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-06-02 18:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:53:00] 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-06-02 18:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:53:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":90099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:53:00] local.INFO: GPS data processed {"connection_id":90099,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:53:00] local.INFO: Acknowledgment sent {"connection_id":90099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:53:04] local.INFO: TCP Data received {"connection_id":90001,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:53:04] local.INFO: Processing buffer {"connection_id":90001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:53:04] local.INFO: IMEI packet received {"connection_id":90001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":90001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:53:10] local.INFO: TCP Data received {"connection_id":90001,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:53:10] local.INFO: Processing buffer {"connection_id":90001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:53:10] local.INFO: IMEI packet received {"connection_id":90001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":90001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:53:11] local.INFO: TCP Data received {"connection_id":90001,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887e6f80012d187640072183d8004f009729..."} 
[2026-06-02 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887e6f80012d187640072183d8004f009729..."} 
[2026-06-02 18:53:11] local.INFO: Processing buffer {"connection_id":90001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887e6f80012d187640072183d8004f009729..."} 
[2026-06-02 18:53:11] local.INFO: Packet analysis {"connection_id":90001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887e"} 
[2026-06-02 18:53:11] local.INFO: Extracted packet for processing {"connection_id":90001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887e"} 
[2026-06-02 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784045312001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:11] 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-06-02 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406448000,"timestamp_ms":1780406448000,"timestamp_seconds":1780406448,"priority":1,"record_length":96,"hex_timestamp":"0000019e887e6f80"} 
[2026-06-02 18:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 18:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:53:11] 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-06-02 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784045312001,"66":12809,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784045312001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784045312001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":90001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:53:11] local.INFO: GPS data processed {"connection_id":90001,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:53:11] local.INFO: Acknowledgment sent {"connection_id":90001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:53:23] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:53:23] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:53:23] local.INFO: IMEI packet received {"connection_id":90100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":90100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:53:23] local.INFO: TCP Data received {"connection_id":91169,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:53:23] local.INFO: Processing buffer {"connection_id":91169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:53:23] local.INFO: IMEI packet received {"connection_id":91169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":91169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:53:28] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:53:28] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:53:28] local.INFO: IMEI packet received {"connection_id":90100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":90100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:53:28] local.INFO: TCP Data received {"connection_id":91169,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:53:28] local.INFO: Processing buffer {"connection_id":91169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:53:28] local.INFO: IMEI packet received {"connection_id":91169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":91169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:53:29] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:53:29] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887bf2c8012cb29ac007823b00004900d924..."} 
[2026-06-02 18:53:29] local.INFO: Packet analysis {"connection_id":90100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:53:29] local.INFO: Extracted packet for processing {"connection_id":90100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887b"} 
[2026-06-02 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783931904001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406285000,"timestamp_ms":1780406285000,"timestamp_seconds":1780406285,"priority":1,"record_length":96,"hex_timestamp":"0000019e887bf2c8"} 
[2026-06-02 18:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 18:53: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-06-02 18:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:53:29] 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-06-02 18:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783931904001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783931904001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783931904001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":90100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:53:29] local.INFO: GPS data processed {"connection_id":90100,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:53:29] local.INFO: Acknowledgment sent {"connection_id":90100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:53:29] local.INFO: TCP Data received {"connection_id":91169,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:53:29] local.INFO: Processing buffer {"connection_id":91169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:53:29] local.INFO: Packet analysis {"connection_id":91169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:53:29] local.INFO: Extracted packet for processing {"connection_id":91169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:29] 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-06-02 18:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:53:29] 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-06-02 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:53:29] 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-06-02 18:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:53:29] 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-06-02 18:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":91169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:53:29] local.INFO: GPS data processed {"connection_id":91169,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:53:29] local.INFO: Acknowledgment sent {"connection_id":91169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:53:41] local.INFO: TCP Data received {"connection_id":90001,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ec188012d187640072183d8004f009724..."} 
[2026-06-02 18:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ec188012d187640072183d8004f009724..."} 
[2026-06-02 18:53:41] local.INFO: Processing buffer {"connection_id":90001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ec188012d187640072183d8004f009724..."} 
[2026-06-02 18:53:41] local.INFO: Packet analysis {"connection_id":90001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887e"} 
[2026-06-02 18:53:41] local.INFO: Extracted packet for processing {"connection_id":90001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887e"} 
[2026-06-02 18:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784050688001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780406469000,"timestamp_ms":1780406469000,"timestamp_seconds":1780406469,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ec188"} 
[2026-06-02 18:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2289861456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":28673,"corrected_to":0} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":136,"raw_value":8949013104450631424,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2211971151,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111091696045,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2720595968,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2414026158652823336,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 18:53:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,162,158,29,45,64,131,79,41,10,66,203,121,1,240,85,227,136,33,4,113,205,213,118,216,42,239,50,2,189,7,81,164],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":203,"original":28673,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-06-02 18:53:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692716131345760256,"timestamp_seconds":5692716131345760.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:53:41] 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-06-02 18:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784050688001,"66":12798,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784050688001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:53:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784050688001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":90001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:53:41] local.INFO: GPS data processed {"connection_id":90001,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:53:41] local.INFO: Acknowledgment sent {"connection_id":90001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:54:00] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:54:00] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:54:00] local.INFO: Packet analysis {"connection_id":90100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:54:00] local.INFO: Extracted packet for processing {"connection_id":90100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:54: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-06-02 18:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:54:00] 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-06-02 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":90100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:54:00] local.INFO: GPS data processed {"connection_id":90100,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:54:00] local.INFO: Acknowledgment sent {"connection_id":90100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:54:00] local.INFO: TCP Data received {"connection_id":91169,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:54:00] local.INFO: Processing buffer {"connection_id":91169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:54:00] local.INFO: Packet analysis {"connection_id":91169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:00] local.INFO: Extracted packet for processing {"connection_id":91169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54: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-06-02 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:54:00] 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-06-02 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:54:00] 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-06-02 18:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:54:00] 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-06-02 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":91169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:54:00] local.INFO: GPS data processed {"connection_id":91169,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:54:00] local.INFO: Acknowledgment sent {"connection_id":91169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:54:04] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:54:04] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:54:04] local.INFO: IMEI packet received {"connection_id":90002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":90002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:54:10] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:54:10] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:54:10] local.INFO: IMEI packet received {"connection_id":90002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":90002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:54:11] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887f1390012d187640072183d8004f009723..."} 
[2026-06-02 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887f1390012d187640072183d8004f009723..."} 
[2026-06-02 18:54:11] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887f1390012d187640072183d8004f009723..."} 
[2026-06-02 18:54:11] local.INFO: Packet analysis {"connection_id":90002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:11] local.INFO: Extracted packet for processing {"connection_id":90002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784056064001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:11] 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-06-02 18:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406490000,"timestamp_ms":1780406490000,"timestamp_seconds":1780406490,"priority":1,"record_length":96,"hex_timestamp":"0000019e887f1390"} 
[2026-06-02 18:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 18:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:54:11] 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-06-02 18:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784056064001,"66":12722,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784056064001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784056064001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":90002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:54:11] local.INFO: GPS data processed {"connection_id":90002,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:54:11] local.INFO: Acknowledgment sent {"connection_id":90002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:54:23] local.INFO: TCP Data received {"connection_id":91171,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:54:23] local.INFO: Processing buffer {"connection_id":91171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:54:23] local.INFO: IMEI packet received {"connection_id":91171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":91171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:54:23] local.INFO: TCP Data received {"connection_id":91170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:54:23] local.INFO: Processing buffer {"connection_id":91170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:54:23] local.INFO: IMEI packet received {"connection_id":91170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":91170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:54:28] local.INFO: TCP Data received {"connection_id":91170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:54:28] local.INFO: Processing buffer {"connection_id":91170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:54:28] local.INFO: IMEI packet received {"connection_id":91170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":91170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:54:28] local.INFO: TCP Data received {"connection_id":91171,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:54:28] local.INFO: Processing buffer {"connection_id":91171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:54:28] local.INFO: IMEI packet received {"connection_id":91171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":91171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:54:29] local.INFO: TCP Data received {"connection_id":91170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:54:29] local.INFO: Processing buffer {"connection_id":91170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:54:29] local.INFO: Packet analysis {"connection_id":91170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:54:29] local.INFO: Extracted packet for processing {"connection_id":91170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:54: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-06-02 18: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-06-02 18:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:54:29] 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-06-02 18:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":91170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:54:29] local.INFO: GPS data processed {"connection_id":91170,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:54:29] local.INFO: Acknowledgment sent {"connection_id":91170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:54:29] local.INFO: TCP Data received {"connection_id":91171,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:54:29] local.INFO: Processing buffer {"connection_id":91171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:54:29] local.INFO: Packet analysis {"connection_id":91171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:29] local.INFO: Extracted packet for processing {"connection_id":91171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:29] 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-06-02 18:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:54:29] 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-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:54:29] 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-06-02 18: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-06-02 18:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:54:29] 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-06-02 18:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":91171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:54:29] local.INFO: GPS data processed {"connection_id":91171,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:54:29] local.INFO: Acknowledgment sent {"connection_id":91171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:54:42] local.INFO: TCP Data received {"connection_id":90002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887f6598012d187640072183d8004f009727..."} 
[2026-06-02 18:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887f6598012d187640072183d8004f009727..."} 
[2026-06-02 18:54:42] local.INFO: Processing buffer {"connection_id":90002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887f6598012d187640072183d8004f009727..."} 
[2026-06-02 18:54:42] local.INFO: Packet analysis {"connection_id":90002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:42] local.INFO: Extracted packet for processing {"connection_id":90002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784061440001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:54:42] 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-06-02 18:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780406511000,"timestamp_ms":1780406511000,"timestamp_seconds":1780406511,"priority":1,"record_length":96,"hex_timestamp":"0000019e887f6598"} 
[2026-06-02 18:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:54: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-06-02 18:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 18:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:54:42] 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-06-02 18:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784061440001,"66":12711,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784061440001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:54:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784061440001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":90002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:54:42] local.INFO: GPS data processed {"connection_id":90002,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:54:42] local.INFO: Acknowledgment sent {"connection_id":90002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:55:00] local.INFO: TCP Data received {"connection_id":91170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:55:00] local.INFO: Processing buffer {"connection_id":91170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:55:00] local.INFO: Packet analysis {"connection_id":91170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:55:00] local.INFO: Extracted packet for processing {"connection_id":91170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:55: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-06-02 18: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-06-02 18:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:55:00] 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-06-02 18:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:55:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":91170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:55:00] local.INFO: GPS data processed {"connection_id":91170,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:55:00] local.INFO: Acknowledgment sent {"connection_id":91170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:55:01] local.INFO: TCP Data received {"connection_id":91171,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:55:01] local.INFO: Processing buffer {"connection_id":91171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:55:01] local.INFO: Packet analysis {"connection_id":91171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:55:01] local.INFO: Extracted packet for processing {"connection_id":91171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:55:01] 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-06-02 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:55:01] 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-06-02 18:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":91171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":91171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":91171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:55:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":91171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:55:01] local.INFO: GPS data processed {"connection_id":91171,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:55:01] local.INFO: Acknowledgment sent {"connection_id":91171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:55:07] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:55:07] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:55:07] local.INFO: IMEI packet received {"connection_id":90003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":90003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:55:09] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:55:09] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:55:09] local.INFO: IMEI packet received {"connection_id":90003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":90003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:55:10] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e887fb7a0012d187640072183d8004f009721..."} 
[2026-06-02 18:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887fb7a0012d187640072183d8004f009721..."} 
[2026-06-02 18:55:10] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887fb7a0012d187640072183d8004f009721..."} 
[2026-06-02 18:55:10] local.INFO: Packet analysis {"connection_id":90003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:55:10] local.INFO: Extracted packet for processing {"connection_id":90003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784066816001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780406532000,"timestamp_ms":1780406532000,"timestamp_seconds":1780406532,"priority":1,"record_length":96,"hex_timestamp":"0000019e887fb7a0"} 
[2026-06-02 18:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:55: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-06-02 18:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 18:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:55:10] 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-06-02 18:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784066816001,"66":12743,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784066816001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:55:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784066816001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":90003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:55:10] local.INFO: GPS data processed {"connection_id":90003,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:55:10] local.INFO: Acknowledgment sent {"connection_id":90003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:55:23] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:55:23] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:55:23] local.INFO: IMEI packet received {"connection_id":90101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":90101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:55:23] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:55:23] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:55:23] local.INFO: IMEI packet received {"connection_id":89738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":89738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:55:28] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:55:28] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:55:28] local.INFO: IMEI packet received {"connection_id":90101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":90101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:55:28] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:55:28] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:55:28] local.INFO: IMEI packet received {"connection_id":89738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":89738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:55:29] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:55:29] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:55:29] local.INFO: Packet analysis {"connection_id":90101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:55:29] local.INFO: Extracted packet for processing {"connection_id":90101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 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-06-02 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:55: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-06-02 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-06-02 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-06-02 18:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":90101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:55:29] local.INFO: GPS data processed {"connection_id":90101,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:55:29] local.INFO: Acknowledgment sent {"connection_id":90101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:55:29] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:55:29] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:55:29] local.INFO: Packet analysis {"connection_id":89738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:55:29] local.INFO: Extracted packet for processing {"connection_id":89738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:29] 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-06-02 18:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 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-06-02 18:55:29] 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-06-02 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:55:29] 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-06-02 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-06-02 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-06-02 18:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:55:29] 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-06-02 18:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":89738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:55:29] local.INFO: GPS data processed {"connection_id":89738,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:55:29] local.INFO: Acknowledgment sent {"connection_id":89738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:55:41] local.INFO: TCP Data received {"connection_id":90003,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e888009a8012d187640072183d8004f009726..."} 
[2026-06-02 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888009a8012d187640072183d8004f009726..."} 
[2026-06-02 18:55:41] local.INFO: Processing buffer {"connection_id":90003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888009a8012d187640072183d8004f009726..."} 
[2026-06-02 18:55:41] local.INFO: Packet analysis {"connection_id":90003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:55:41] local.INFO: Extracted packet for processing {"connection_id":90003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":38,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784072192001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780406553000,"timestamp_ms":1780406553000,"timestamp_seconds":1780406553,"priority":1,"record_length":96,"hex_timestamp":"0000019e888009a8"} 
[2026-06-02 18:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-02 18:55:41] 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-06-02 18:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:55:41] 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-06-02 18:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784072192001,"66":12722,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784072192001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:55:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784072192001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":90003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:55:41] local.INFO: GPS data processed {"connection_id":90003,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:55:41] local.INFO: Acknowledgment sent {"connection_id":90003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:56:00] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:56:00] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:56:00] local.INFO: Packet analysis {"connection_id":90101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:00] local.INFO: Extracted packet for processing {"connection_id":90101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 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-06-02 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:56: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-06-02 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-06-02 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-06-02 18:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":90101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:56:00] local.INFO: GPS data processed {"connection_id":90101,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:56:00] local.INFO: Acknowledgment sent {"connection_id":90101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:56:00] local.INFO: TCP Data received {"connection_id":89738,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:56:00] local.INFO: Processing buffer {"connection_id":89738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:56:00] local.INFO: Packet analysis {"connection_id":89738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:56:00] local.INFO: Extracted packet for processing {"connection_id":89738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 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-06-02 18:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56: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-06-02 18:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 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-06-02 18:56:00] 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-06-02 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:56:00] 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-06-02 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-06-02 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-06-02 18:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:56:00] 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-06-02 18:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":89738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:56:00] local.INFO: GPS data processed {"connection_id":89738,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:56:00] local.INFO: Acknowledgment sent {"connection_id":89738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:56:10] local.INFO: TCP Data received {"connection_id":91173,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:56:10] local.INFO: Processing buffer {"connection_id":91173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:56:10] local.INFO: IMEI packet received {"connection_id":91173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":91173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:56:15] local.INFO: TCP Data received {"connection_id":91173,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:56:15] local.INFO: Processing buffer {"connection_id":91173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:56:15] local.INFO: IMEI packet received {"connection_id":91173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":91173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:56:15] local.INFO: TCP Data received {"connection_id":91173,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88805bb0012d187640072183d8004f009722..."} 
[2026-06-02 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88805bb0012d187640072183d8004f009722..."} 
[2026-06-02 18:56:15] local.INFO: Processing buffer {"connection_id":91173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88805bb0012d187640072183d8004f009722..."} 
[2026-06-02 18:56:15] local.INFO: Packet analysis {"connection_id":91173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:15] local.INFO: Extracted packet for processing {"connection_id":91173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784077568001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56: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-06-02 18:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780406574000,"timestamp_ms":1780406574000,"timestamp_seconds":1780406574,"priority":1,"record_length":96,"hex_timestamp":"0000019e88805bb0"} 
[2026-06-02 18:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 18:56:15] 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-06-02 18:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:56:15] 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-06-02 18:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784077568001,"66":12711,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784077568001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:56:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784077568001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":91173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:56:16] local.INFO: GPS data processed {"connection_id":91173,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:56:16] local.INFO: Acknowledgment sent {"connection_id":91173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:56:20] local.INFO: TCP Data received {"connection_id":91173,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8880adb8012d187640072183d8004f009725..."} 
[2026-06-02 18:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8880adb8012d187640072183d8004f009725..."} 
[2026-06-02 18:56:20] local.INFO: Processing buffer {"connection_id":91173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8880adb8012d187640072183d8004f009725..."} 
[2026-06-02 18:56:20] local.INFO: Packet analysis {"connection_id":91173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:20] local.INFO: Extracted packet for processing {"connection_id":91173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119636952,"longitude_deg":75.6577856,"latitude_deg":11.9636952,"altitude":79,"angle":151,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784082944001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125434661613600768,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533365248,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56: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-06-02 18:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780406595000,"timestamp_ms":1780406595000,"timestamp_seconds":1780406595,"priority":1,"record_length":96,"hex_timestamp":"0000019e8880adb8"} 
[2026-06-02 18:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 18:56:20] 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-06-02 18: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-06-02 18:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":91173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":91173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":91173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:56:20] 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-06-02 18:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784082944001,"66":12667,"106":206,"83":41984,"24":0,"16":125434661613600768,"45":1762666703533365248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784082944001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:56:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125434661613600768,"km_value":125434661613600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533365248,"description":"Unknown IO ID 45"} 
[2026-06-02 18:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784082944001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533365248}} 
[2026-06-02 18:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":91173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:56:20] local.INFO: GPS data processed {"connection_id":91173,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:56:20] local.INFO: Acknowledgment sent {"connection_id":91173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:56:23] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:56:23] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:56:23] local.INFO: IMEI packet received {"connection_id":90004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":90004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:56:28] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:56:28] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:56:28] local.INFO: IMEI packet received {"connection_id":90004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":90004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:56:28] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:56:28] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:56:28] local.INFO: IMEI packet received {"connection_id":90005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":90005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:56:29] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:56:29] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:56:29] local.INFO: Packet analysis {"connection_id":90004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:29] local.INFO: Extracted packet for processing {"connection_id":90004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:56: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-06-02 18: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-06-02 18:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:56:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":90004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:56:29] local.INFO: GPS data processed {"connection_id":90004,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:56:29] local.INFO: Acknowledgment sent {"connection_id":90004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:56:33] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:56:33] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:56:33] local.INFO: IMEI packet received {"connection_id":90005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":90005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:56:34] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:56:34] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:56:34] local.INFO: Packet analysis {"connection_id":90005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:56:34] local.INFO: Extracted packet for processing {"connection_id":90005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:56:34] 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-06-02 18:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:56:34] 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-06-02 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:56:34] 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-06-02 18:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:56:34] 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-06-02 18:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:56:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":90005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:56:34] local.INFO: GPS data processed {"connection_id":90005,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:56:34] local.INFO: Acknowledgment sent {"connection_id":90005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:57:00] local.INFO: TCP Data received {"connection_id":90004,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:57:00] local.INFO: Processing buffer {"connection_id":90004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:57:00] local.INFO: Packet analysis {"connection_id":90004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:57:00] local.INFO: Extracted packet for processing {"connection_id":90004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:57: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-06-02 18: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-06-02 18:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:57:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":90004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:57:00] local.INFO: GPS data processed {"connection_id":90004,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:57:00] local.INFO: Acknowledgment sent {"connection_id":90004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:57:05] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:57:05] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:57:05] local.INFO: IMEI packet received {"connection_id":89740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":89740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:57:05] local.INFO: TCP Data received {"connection_id":90005,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:57:05] local.INFO: Processing buffer {"connection_id":90005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:57:05] local.INFO: Packet analysis {"connection_id":90005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:57:05] local.INFO: Extracted packet for processing {"connection_id":90005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57: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-06-02 18:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:57:05] 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-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:57:05] 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-06-02 18: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-06-02 18:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":90005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:57:05] local.INFO: GPS data processed {"connection_id":90005,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:57:05] local.INFO: Acknowledgment sent {"connection_id":90005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:57:07] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:57:07] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:57:07] local.INFO: IMEI packet received {"connection_id":89740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":89740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:57:07] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88836508012d18ac0007217338005100812a..."} 
[2026-06-02 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88836508012d18ac0007217338005100812a..."} 
[2026-06-02 18:57:07] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88836508012d18ac0007217338005100812a..."} 
[2026-06-02 18:57:07] local.INFO: Packet analysis {"connection_id":89740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8883"} 
[2026-06-02 18:57:07] local.INFO: Extracted packet for processing {"connection_id":89740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8883"} 
[2026-06-02 18:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632696,"longitude_deg":75.6591616,"latitude_deg":11.9632696,"altitude":81,"angle":129,"satellites":42,"speed":21,"hex_longitude":"2d18ac00","hex_latitude":"07217338","is_valid_coordinates":true} 
[2026-06-02 18:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784130048001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125435365988237312,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769492471718326272,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780406773000,"timestamp_ms":1780406773000,"timestamp_seconds":1780406773,"priority":1,"record_length":96,"hex_timestamp":"0000019e88836508"} 
[2026-06-02 18:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:57: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-06-02 18:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-02 18:57:07] 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-06-02 18:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784130048001,"66":13722,"106":206,"83":41984,"24":21,"16":125435365988237312,"45":1769492471718326272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784130048001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:57:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125435365988237312,"km_value":125435365988237.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769492471718326272,"description":"Unknown IO ID 45"} 
[2026-06-02 18:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784130048001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1769492471718326272}} 
[2026-06-02 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":89740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:57:08] local.INFO: GPS data processed {"connection_id":89740,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:57:08] local.INFO: Acknowledgment sent {"connection_id":89740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:57:23] local.INFO: TCP Data received {"connection_id":91175,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:57:23] local.INFO: Processing buffer {"connection_id":91175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:57:23] local.INFO: IMEI packet received {"connection_id":91175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":91175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:57:23] local.INFO: TCP Data received {"connection_id":91174,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:57:23] local.INFO: Processing buffer {"connection_id":91174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:57:23] local.INFO: IMEI packet received {"connection_id":91174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":91174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:57:28] local.INFO: TCP Data received {"connection_id":91175,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:57:28] local.INFO: Processing buffer {"connection_id":91175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:57:28] local.INFO: IMEI packet received {"connection_id":91175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":91175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:57:28] local.INFO: TCP Data received {"connection_id":91174,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:57:28] local.INFO: Processing buffer {"connection_id":91174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:57:28] local.INFO: IMEI packet received {"connection_id":91174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":91174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:57:29] local.INFO: TCP Data received {"connection_id":91175,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:57:29] local.INFO: Processing buffer {"connection_id":91175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:57:29] local.INFO: Packet analysis {"connection_id":91175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:57:29] local.INFO: Extracted packet for processing {"connection_id":91175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:57: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-06-02 18: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-06-02 18:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":91175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:57:29] local.INFO: GPS data processed {"connection_id":91175,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:57:29] local.INFO: Acknowledgment sent {"connection_id":91175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:57:29] local.INFO: TCP Data received {"connection_id":91174,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:57:29] local.INFO: Processing buffer {"connection_id":91174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e887ff620012d7e3a4005d34cb8000600212c..."} 
[2026-06-02 18:57:29] local.INFO: Packet analysis {"connection_id":91174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:57:29] local.INFO: Extracted packet for processing {"connection_id":91174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e887f"} 
[2026-06-02 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455783999232001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:29] 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-06-02 18:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406548000,"timestamp_ms":1780406548000,"timestamp_seconds":1780406548,"priority":1,"record_length":96,"hex_timestamp":"0000019e887ff620"} 
[2026-06-02 18:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:57:29] 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-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:57:29] 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-06-02 18: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-06-02 18:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:57:29] 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-06-02 18:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455783999232001,"66":2231,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455783999232001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455783999232001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":91174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:57:29] local.INFO: GPS data processed {"connection_id":91174,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:57:29] local.INFO: Acknowledgment sent {"connection_id":91174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:57:39] local.INFO: TCP Data received {"connection_id":89740,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e888370c0012d18b10007216de8004f008f2b..."} 
[2026-06-02 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888370c0012d18b10007216de8004f008f2b..."} 
[2026-06-02 18:57:39] local.INFO: Processing buffer {"connection_id":89740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888370c0012d18b10007216de8004f008f2b..."} 
[2026-06-02 18:57:39] local.INFO: Packet analysis {"connection_id":89740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8883"} 
[2026-06-02 18:57:39] local.INFO: Extracted packet for processing {"connection_id":89740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8883"} 
[2026-06-02 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756592896,"raw_latitude":119631336,"longitude_deg":75.6592896,"latitude_deg":11.9631336,"altitude":79,"angle":143,"satellites":43,"speed":24,"hex_longitude":"2d18b100","hex_latitude":"07216de8","is_valid_coordinates":true} 
[2026-06-02 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784133888001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125435451887583232,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530473472,"note":"Value kept but may cause issues"} 
[2026-06-02 18:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1780406776000,"timestamp_ms":1780406776000,"timestamp_seconds":1780406776,"priority":1,"record_length":96,"hex_timestamp":"0000019e888370c0"} 
[2026-06-02 18:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:57: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-06-02 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-02 18:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":89740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":89740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":89740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784133888001,"66":13580,"106":206,"83":41984,"24":24,"16":125435451887583232,"45":1777795983530473472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784133888001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:57:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125435451887583232,"km_value":125435451887583.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530473472,"description":"Unknown IO ID 45"} 
[2026-06-02 18:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784133888001,"power":13580,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1777795983530473472}} 
[2026-06-02 18:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":89740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:57:39] local.INFO: GPS data processed {"connection_id":89740,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:57:39] local.INFO: Acknowledgment sent {"connection_id":89740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:57:57] local.INFO: TCP Data received {"connection_id":90103,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:57:57] local.INFO: Processing buffer {"connection_id":90103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 18:57:57] local.INFO: IMEI packet received {"connection_id":90103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":90103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:58:00] local.INFO: TCP Data received {"connection_id":91175,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:58:00] local.INFO: Processing buffer {"connection_id":91175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:58:00] local.INFO: Packet analysis {"connection_id":91175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:58:00] local.INFO: Extracted packet for processing {"connection_id":91175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:58: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-06-02 18: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-06-02 18:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":91175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:58:00] local.INFO: GPS data processed {"connection_id":91175,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:58:00] local.INFO: Acknowledgment sent {"connection_id":91175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:58:00] local.INFO: TCP Data received {"connection_id":91174,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88848de8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88848de8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:58:00] local.INFO: Processing buffer {"connection_id":91174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88848de8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:58:00] local.INFO: Packet analysis {"connection_id":91174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:58:00] local.INFO: Extracted packet for processing {"connection_id":91174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784076288001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58: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-06-02 18:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406849000,"timestamp_ms":1780406849000,"timestamp_seconds":1780406849,"priority":1,"record_length":96,"hex_timestamp":"0000019e88848de8"} 
[2026-06-02 18:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:58:00] 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-06-02 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:58:00] 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-06-02 18: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-06-02 18:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:58:00] 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-06-02 18:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784076288001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784076288001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784076288001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":91174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:58:00] local.INFO: GPS data processed {"connection_id":91174,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:58:00] local.INFO: Acknowledgment sent {"connection_id":91174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:58:05] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:05] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:05] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:58:06] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:06] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:06] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:58:09] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:09] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:58:09] local.INFO: IMEI packet received {"connection_id":89741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":89741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:58:10] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8883a388012d18c3c0072152b8004a009c2c..."} 
[2026-06-02 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8883a388012d18c3c0072152b8004a009c2c..."} 
[2026-06-02 18:58:10] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8883a388012d18c3c0072152b8004a009c2c..."} 
[2026-06-02 18:58:10] local.INFO: Packet analysis {"connection_id":89741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8883"} 
[2026-06-02 18:58:10] local.INFO: Extracted packet for processing {"connection_id":89741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8883"} 
[2026-06-02 18:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624376,"longitude_deg":75.6597696,"latitude_deg":11.9624376,"altitude":74,"angle":156,"satellites":44,"speed":26,"hex_longitude":"2d18c3c0","hex_latitude":"072152b8","is_valid_coordinates":true} 
[2026-06-02 18:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784134656001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125435859909476352,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779203358413678592,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780406789000,"timestamp_ms":1780406789000,"timestamp_seconds":1780406789,"priority":1,"record_length":96,"hex_timestamp":"0000019e8883a388"} 
[2026-06-02 18:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:58: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-06-02 18:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627682,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8520818335512264783,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2290260456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4782214774337306624,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2196500481,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2219835470,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549759594,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2720661504,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775785924972115,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,162,158,101,45,115,81,42,10,66,128,127,80,43,15,1,240,110,227,136,33,4,113,205,235,118,239,53,2,189,7,79,51,164],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-06-02 18:58:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692707343844245504,"timestamp_seconds":5692707343844246.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784134656001,"66":13678,"106":206,"83":41984,"24":26,"16":125435859909476352,"45":1779203358413678592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 18:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784134656001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:58:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 18:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125435859909476352,"km_value":125435859909476.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779203358413678592,"description":"Unknown IO ID 45"} 
[2026-06-02 18:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784134656001,"power":13678,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1779203358413678592}} 
[2026-06-02 18:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":89741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:58:10] local.INFO: GPS data processed {"connection_id":89741,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:58:10] local.INFO: Acknowledgment sent {"connection_id":89741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:58:23] local.INFO: TCP Data received {"connection_id":90006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:58:23] local.INFO: Processing buffer {"connection_id":90006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:58:23] local.INFO: IMEI packet received {"connection_id":90006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":90006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:58:23] local.INFO: TCP Data received {"connection_id":90104,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:58:23] local.INFO: Processing buffer {"connection_id":90104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:58:23] local.INFO: IMEI packet received {"connection_id":90104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-02 18:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":90104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:58:28] local.INFO: TCP Data received {"connection_id":90006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:58:28] local.INFO: Processing buffer {"connection_id":90006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:58:28] local.INFO: IMEI packet received {"connection_id":90006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":90006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:58:28] local.INFO: TCP Data received {"connection_id":90104,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:58:28] local.INFO: Processing buffer {"connection_id":90104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-02 18:58:28] local.INFO: IMEI packet received {"connection_id":90104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-02 18:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":90104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:58:29] local.INFO: TCP Data received {"connection_id":90006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:58:29] local.INFO: Processing buffer {"connection_id":90006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88808a90012cb29ac007823b00004900d922..."} 
[2026-06-02 18:58:29] local.INFO: Packet analysis {"connection_id":90006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:58:29] local.INFO: Extracted packet for processing {"connection_id":90006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8880"} 
[2026-06-02 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784008960001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406586000,"timestamp_ms":1780406586000,"timestamp_seconds":1780406586,"priority":1,"record_length":96,"hex_timestamp":"0000019e88808a90"} 
[2026-06-02 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:58: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-06-02 18:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:58:29] 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-06-02 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784008960001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784008960001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784008960001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":90006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:58:29] local.INFO: GPS data processed {"connection_id":90006,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:58:29] local.INFO: Acknowledgment sent {"connection_id":90006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:58:29] local.INFO: TCP Data received {"connection_id":90104,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88848de8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88848de8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:58:29] local.INFO: Processing buffer {"connection_id":90104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88848de8012d7e3a4005d34cb8000600212b..."} 
[2026-06-02 18:58:29] local.INFO: Packet analysis {"connection_id":90104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:58:29] local.INFO: Extracted packet for processing {"connection_id":90104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733816,"longitude_deg":76.3247168,"latitude_deg":9.7733816,"altitude":6,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-06-02 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784076288001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":88021966002323456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192172544,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:29] 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-06-02 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406849000,"timestamp_ms":1780406849000,"timestamp_seconds":1780406849,"priority":1,"record_length":96,"hex_timestamp":"0000019e88848de8"} 
[2026-06-02 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:58:29] 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-06-02 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-02 18:58:29] 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-06-02 18:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-02 18:58:29] 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-06-02 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-02 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-02 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784076288001,"66":2242,"81":206,"85":15104,"24":0,"16":88021966002323456,"45":9095652791192172544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-02 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-02 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784076288001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-02 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":88021966002323456,"km_value":88021966002323.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192172544,"description":"Unknown IO ID 45"} 
[2026-06-02 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784076288001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192172544}} 
[2026-06-02 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":90104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:58:29] local.INFO: GPS data processed {"connection_id":90104,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:58:29] local.INFO: Acknowledgment sent {"connection_id":90104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:58:41] local.INFO: TCP Data received {"connection_id":89741,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8884c880012d191d000720c2080032006e2a..."} 
[2026-06-02 18:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8884c880012d191d000720c2080032006e2a..."} 
[2026-06-02 18:58:41] local.INFO: Processing buffer {"connection_id":89741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8884c880012d191d000720c2080032006e2a..."} 
[2026-06-02 18:58:41] local.INFO: Packet analysis {"connection_id":89741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:58:41] local.INFO: Extracted packet for processing {"connection_id":89741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756620544,"raw_latitude":119587336,"longitude_deg":75.6620544,"latitude_deg":11.9587336,"altitude":50,"angle":110,"satellites":42,"speed":28,"hex_longitude":"2d191d00","hex_latitude":"0720c208","is_valid_coordinates":true} 
[2026-06-02 18:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784154112001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125438114767306752,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801228775331018752,"note":"Value kept but may cause issues"} 
[2026-06-02 18:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780406864000,"timestamp_ms":1780406864000,"timestamp_seconds":1780406864,"priority":1,"record_length":96,"hex_timestamp":"0000019e8884c880"} 
[2026-06-02 18:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-02 18:58:41] 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-06-02 18:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784154112001,"66":13580,"103":206,"83":41984,"24":28,"16":125438114767306752,"45":1801228775331018752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 18:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784154112001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:58:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 18:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125438114767306752,"km_value":125438114767306.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801228775331018752,"description":"Unknown IO ID 45"} 
[2026-06-02 18:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784154112001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1801228775331018752}} 
[2026-06-02 18:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":89741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:58:42] local.INFO: GPS data processed {"connection_id":89741,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:58:42] local.INFO: Acknowledgment sent {"connection_id":89741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:59:00] local.INFO: TCP Data received {"connection_id":90006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:00] local.INFO: Processing buffer {"connection_id":90006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:00] local.INFO: Packet analysis {"connection_id":90006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:00] local.INFO: Extracted packet for processing {"connection_id":90006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 18:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:59: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-06-02 18: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-06-02 18:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:59:00] 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-06-02 18:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:59:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":90006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:59:00] local.INFO: GPS data processed {"connection_id":90006,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:59:00] local.INFO: Acknowledgment sent {"connection_id":90006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:59:05] local.INFO: TCP Data received {"connection_id":91176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:05] local.INFO: Processing buffer {"connection_id":91176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:05] local.INFO: IMEI packet received {"connection_id":91176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 18:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":91176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:59:07] local.INFO: TCP Data received {"connection_id":91176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:07] local.INFO: Processing buffer {"connection_id":91176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:07] local.INFO: IMEI packet received {"connection_id":91176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":91176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:59:10] local.INFO: TCP Data received {"connection_id":91176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:10] local.INFO: Processing buffer {"connection_id":91176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 18:59:10] local.INFO: IMEI packet received {"connection_id":91176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":91176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:59:11] local.INFO: TCP Data received {"connection_id":91176,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8884fb48012d193d800720b358002f007826..."} 
[2026-06-02 18:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8884fb48012d193d800720b358002f007826..."} 
[2026-06-02 18:59:11] local.INFO: Processing buffer {"connection_id":91176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8884fb48012d193d800720b358002f007826..."} 
[2026-06-02 18:59:11] local.INFO: Packet analysis {"connection_id":91176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:59:11] local.INFO: Extracted packet for processing {"connection_id":91176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8884"} 
[2026-06-02 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119583576,"longitude_deg":75.6628864,"latitude_deg":11.9583576,"altitude":47,"angle":120,"satellites":38,"speed":26,"hex_longitude":"2d193d80","hex_latitude":"0720b358","is_valid_coordinates":true} 
[2026-06-02 18:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784157184001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125438548559003648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809602655887165440,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406877000,"timestamp_ms":1780406877000,"timestamp_seconds":1780406877,"priority":1,"record_length":96,"hex_timestamp":"0000019e8884fb48"} 
[2026-06-02 18:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627683,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-3260598291342032830,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2290357456,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4781690307290857472,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2218772481,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4241489980,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600090215,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2755330048,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292429333475757,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:11] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,165,158,153,45,64,209,58,41,10,66,164,138,215,57,98,128,1,240,121,227,136,32,4,113,205,21,55,56,42,239,53,2,189,7,20,52],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 18:59:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603000828565913600,"timestamp_seconds":3603000828565913.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 18:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784157184001,"66":13559,"103":206,"83":41984,"24":26,"16":125438548559003648,"45":1809602655887165440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 18:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784157184001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:59:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 18:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125438548559003648,"km_value":125438548559003.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809602655887165440,"description":"Unknown IO ID 45"} 
[2026-06-02 18:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784157184001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1809602655887165440}} 
[2026-06-02 18:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":91176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:59:11] local.INFO: GPS data processed {"connection_id":91176,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:59:11] local.INFO: Acknowledgment sent {"connection_id":91176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:59:28] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:59:28] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:59:28] local.INFO: IMEI packet received {"connection_id":89742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 18:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":89742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 18:59:33] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:59:33] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 18:59:33] local.INFO: IMEI packet received {"connection_id":89742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":89742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 18:59:34] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:34] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:34] local.INFO: Packet analysis {"connection_id":89742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:34] local.INFO: Extracted packet for processing {"connection_id":89742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18: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-06-02 18:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 18:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18: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-06-02 18:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:59:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":89742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:59:34] local.INFO: GPS data processed {"connection_id":89742,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:59:34] local.INFO: Acknowledgment sent {"connection_id":89742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:59:38] local.INFO: TCP Data received {"connection_id":89742,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:38] local.INFO: Processing buffer {"connection_id":89742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 18:59:38] local.INFO: Packet analysis {"connection_id":89742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:38] local.INFO: Extracted packet for processing {"connection_id":89742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 18:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 18:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 18:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:59: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-06-02 18:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 18:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 18:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 18:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 18:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 18:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 18:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 18:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:59:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 18:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 18:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 18:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 18:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":89742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:59:38] local.INFO: GPS data processed {"connection_id":89742,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:59:38] local.INFO: Acknowledgment sent {"connection_id":89742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 18:59:42] local.INFO: TCP Data received {"connection_id":91176,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8885d608012d19ba800720a0b0003300d32a..."} 
[2026-06-02 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8885d608012d19ba800720a0b0003300d32a..."} 
[2026-06-02 18:59:42] local.INFO: Processing buffer {"connection_id":91176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8885d608012d19ba800720a0b0003300d32a..."} 
[2026-06-02 18:59:42] local.INFO: Packet analysis {"connection_id":91176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:42] local.INFO: Extracted packet for processing {"connection_id":91176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119578800,"longitude_deg":75.6660864,"latitude_deg":11.95788,"altitude":51,"angle":211,"satellites":42,"speed":22,"hex_longitude":"2d19ba80","hex_latitude":"0720a0b0","is_valid_coordinates":true} 
[2026-06-02 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 18:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784174592001,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125440245071085568,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693746176,"note":"Value kept but may cause issues"} 
[2026-06-02 18:59: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-06-02 18:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780406933000,"timestamp_ms":1780406933000,"timestamp_seconds":1780406933,"priority":1,"record_length":96,"hex_timestamp":"0000019e8885d608"} 
[2026-06-02 18:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-06-02 18:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 18:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 18:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 18:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 18:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 18:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 18:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 18:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 18:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 18:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784174592001,"66":13559,"103":206,"83":41984,"24":22,"16":125440245071085568,"45":1854216439693746176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 18:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 18:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 18:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784174592001,"description":"Unknown IO ID 0"} 
[2026-06-02 18:59:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 18:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 18:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125440245071085568,"km_value":125440245071085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 18:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693746176,"description":"Unknown IO ID 45"} 
[2026-06-02 18:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784174592001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854216439693746176}} 
[2026-06-02 18:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":91176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 18:59:43] local.INFO: GPS data processed {"connection_id":91176,"processed":1,"errors":0,"total":1} 
[2026-06-02 18:59:43] local.INFO: Acknowledgment sent {"connection_id":91176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:00:05] local.INFO: TCP Data received {"connection_id":90007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:00:05] local.INFO: Processing buffer {"connection_id":90007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:00:05] local.INFO: IMEI packet received {"connection_id":90007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":90007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:00:10] local.INFO: TCP Data received {"connection_id":90007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:00:10] local.INFO: Processing buffer {"connection_id":90007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:00:10] local.INFO: IMEI packet received {"connection_id":90007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":90007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:00:11] local.INFO: TCP Data received {"connection_id":90007,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8885f548012d19aec0072091a0003300c629..."} 
[2026-06-02 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8885f548012d19aec0072091a0003300c629..."} 
[2026-06-02 19:00:11] local.INFO: Processing buffer {"connection_id":90007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8885f548012d19aec0072091a0003300c629..."} 
[2026-06-02 19:00:11] local.INFO: Packet analysis {"connection_id":90007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:00:11] local.INFO: Extracted packet for processing {"connection_id":90007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574944,"longitude_deg":75.6657856,"latitude_deg":11.9574944,"altitude":51,"angle":198,"satellites":41,"speed":23,"hex_longitude":"2d19aec0","hex_latitude":"072091a0","is_valid_coordinates":true} 
[2026-06-02 19:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784174848001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125440481294286848,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964716908544,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406941000,"timestamp_ms":1780406941000,"timestamp_seconds":1780406941,"priority":1,"record_length":96,"hex_timestamp":"0000019e8885f548"} 
[2026-06-02 19:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-06-02 19:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784174848001,"66":13624,"103":206,"83":41984,"24":23,"16":125440481294286848,"45":1853934964716908544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784174848001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:00:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125440481294286848,"km_value":125440481294286.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964716908544,"description":"Unknown IO ID 45"} 
[2026-06-02 19:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784174848001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853934964716908544}} 
[2026-06-02 19:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":90007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:00:11] local.INFO: GPS data processed {"connection_id":90007,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:00:11] local.INFO: Acknowledgment sent {"connection_id":90007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:00:23] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:00:23] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:00:23] local.INFO: IMEI packet received {"connection_id":90107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":90107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:00:28] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:00:28] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:00:28] local.INFO: IMEI packet received {"connection_id":90107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":90107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:00:29] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:00:29] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:00:29] local.INFO: Packet analysis {"connection_id":90107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:00:29] local.INFO: Extracted packet for processing {"connection_id":90107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 19:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:00: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-06-02 19: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-06-02 19:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:00:29] 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-06-02 19:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:00:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":90107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:00:29] local.INFO: GPS data processed {"connection_id":90107,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:00:29] local.INFO: Acknowledgment sent {"connection_id":90107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:00:49] local.INFO: TCP Data received {"connection_id":90007,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8886d008012d19d400072026100028003029..."} 
[2026-06-02 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8886d008012d19d400072026100028003029..."} 
[2026-06-02 19:00:49] local.INFO: Processing buffer {"connection_id":90007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8886d008012d19d400072026100028003029..."} 
[2026-06-02 19:00:49] local.INFO: Packet analysis {"connection_id":90007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8886"} 
[2026-06-02 19:00:49] local.INFO: Extracted packet for processing {"connection_id":90007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8886"} 
[2026-06-02 19:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756667392,"raw_latitude":119547408,"longitude_deg":75.6667392,"latitude_deg":11.9547408,"altitude":40,"angle":48,"satellites":41,"speed":14,"hex_longitude":"2d19d400","hex_latitude":"07202610","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784189696001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125442147741597696,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859845939219408896,"note":"Value kept but may cause issues"} 
[2026-06-02 19:00: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-06-02 19:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1780406997000,"timestamp_ms":1780406997000,"timestamp_seconds":1780406997,"priority":1,"record_length":96,"hex_timestamp":"0000019e8886d008"} 
[2026-06-02 19:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":45,"data_length":795,"current_offset":136} 
[2026-06-02 19:00:49] 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-06-02 19: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-06-02 19:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":90007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":90007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":90007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784189696001,"66":13624,"103":206,"83":41984,"24":14,"16":125442147741597696,"45":1859845939219408896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784189696001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:00:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125442147741597696,"km_value":125442147741597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859845939219408896,"description":"Unknown IO ID 45"} 
[2026-06-02 19:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784189696001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1859845939219408896}} 
[2026-06-02 19:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":90007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:00:49] local.INFO: GPS data processed {"connection_id":90007,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:00:49] local.INFO: Acknowledgment sent {"connection_id":90007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:01:00] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:01:00] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:01:00] local.INFO: Packet analysis {"connection_id":90107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:01:00] local.INFO: Extracted packet for processing {"connection_id":90107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 19:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 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-06-02 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:01: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-06-02 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-06-02 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-06-02 19:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:01:00] 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-06-02 19:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:01:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":90107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:01:00] local.INFO: GPS data processed {"connection_id":90107,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:01:00] local.INFO: Acknowledgment sent {"connection_id":90107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:01:04] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:01:04] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:01:04] local.INFO: IMEI packet received {"connection_id":89743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":89743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:01:10] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:01:10] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:01:10] local.INFO: IMEI packet received {"connection_id":89743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":89743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:01:11] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8886d3f0012d19d540072026b00028003e29..."} 
[2026-06-02 19:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8886d3f0012d19d540072026b00028003e29..."} 
[2026-06-02 19:01:11] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8886d3f0012d19d540072026b00028003e29..."} 
[2026-06-02 19:01:11] local.INFO: Packet analysis {"connection_id":89743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8886"} 
[2026-06-02 19:01:11] local.INFO: Extracted packet for processing {"connection_id":89743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8886"} 
[2026-06-02 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756667712,"raw_latitude":119547568,"longitude_deg":75.6667712,"latitude_deg":11.9547568,"altitude":40,"angle":62,"satellites":41,"speed":14,"hex_longitude":"2d19d540","hex_latitude":"072026b0","is_valid_coordinates":true} 
[2026-06-02 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784191232001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125442164921466880,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861112576614993920,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780406998000,"timestamp_ms":1780406998000,"timestamp_seconds":1780406998,"priority":1,"record_length":96,"hex_timestamp":"0000019e8886d3f0"} 
[2026-06-02 19:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-02 19:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784191232001,"66":13428,"103":206,"83":41984,"24":14,"16":125442164921466880,"45":1861112576614993920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784191232001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:01:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125442164921466880,"km_value":125442164921466.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861112576614993920,"description":"Unknown IO ID 45"} 
[2026-06-02 19:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784191232001,"power":13428,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1861112576614993920}} 
[2026-06-02 19:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":89743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:01:11] local.INFO: GPS data processed {"connection_id":89743,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:01:11] local.INFO: Acknowledgment sent {"connection_id":89743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:01:23] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:01:23] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:01:23] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:01:28] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:01:28] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:01:28] local.INFO: IMEI packet received {"connection_id":89744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":89744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:01:30] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:01:30] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:01:30] local.INFO: Packet analysis {"connection_id":89744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:01:30] local.INFO: Extracted packet for processing {"connection_id":89744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 19:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":89744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:01: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-06-02 19:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":89744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:01:30] local.INFO: GPS data processed {"connection_id":89744,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:01:30] local.INFO: Acknowledgment sent {"connection_id":89744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:01:42] local.INFO: TCP Data received {"connection_id":89743,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8886dbc0012d19d780072026e8002700562a..."} 
[2026-06-02 19:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8886dbc0012d19d780072026e8002700562a..."} 
[2026-06-02 19:01:42] local.INFO: Processing buffer {"connection_id":89743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8886dbc0012d19d780072026e8002700562a..."} 
[2026-06-02 19:01:42] local.INFO: Packet analysis {"connection_id":89743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8886"} 
[2026-06-02 19:01:42] local.INFO: Extracted packet for processing {"connection_id":89743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8886"} 
[2026-06-02 19:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756668288,"raw_latitude":119547624,"longitude_deg":75.6668288,"latitude_deg":11.9547624,"altitude":39,"angle":86,"satellites":42,"speed":13,"hex_longitude":"2d19d780","hex_latitude":"072026e8","is_valid_coordinates":true} 
[2026-06-02 19:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784191488001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125442194986237952,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861464420335923200,"note":"Value kept but may cause issues"} 
[2026-06-02 19:01: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-06-02 19:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780407000000,"timestamp_ms":1780407000000,"timestamp_seconds":1780407000,"priority":1,"record_length":96,"hex_timestamp":"0000019e8886dbc0"} 
[2026-06-02 19:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-02 19:01:42] 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-06-02 19:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784191488001,"66":12852,"103":206,"83":41984,"24":13,"16":125442194986237952,"45":1861464420335923200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784191488001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:01:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125442194986237952,"km_value":125442194986237.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861464420335923200,"description":"Unknown IO ID 45"} 
[2026-06-02 19:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784191488001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1861464420335923200}} 
[2026-06-02 19:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":89743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:01:42] local.INFO: GPS data processed {"connection_id":89743,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:01:42] local.INFO: Acknowledgment sent {"connection_id":89743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:02:06] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:06] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:06] local.INFO: IMEI packet received {"connection_id":89745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":89745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:02:07] local.INFO: TCP Data received {"connection_id":89744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:02:07] local.INFO: Processing buffer {"connection_id":89744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:02:07] local.INFO: Packet analysis {"connection_id":89744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:02:07] local.INFO: Extracted packet for processing {"connection_id":89744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 19:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":89744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":89744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:02:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":89744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:02:07] local.INFO: GPS data processed {"connection_id":89744,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:02:07] local.INFO: Acknowledgment sent {"connection_id":89744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:02:16] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:16] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:16] local.INFO: IMEI packet received {"connection_id":89745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":89745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:02:16] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:16] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:02:16] local.INFO: IMEI packet received {"connection_id":89745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":89745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:02:17] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e888827c8012d1a654007204bb00041004528..."} 
[2026-06-02 19:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888827c8012d1a654007204bb00041004528..."} 
[2026-06-02 19:02:17] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888827c8012d1a654007204bb00041004528..."} 
[2026-06-02 19:02:17] local.INFO: Packet analysis {"connection_id":89745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:02:17] local.INFO: Extracted packet for processing {"connection_id":89745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756704576,"raw_latitude":119557040,"longitude_deg":75.6704576,"latitude_deg":11.955704,"altitude":65,"angle":69,"satellites":40,"speed":9,"hex_longitude":"2d1a6540","hex_latitude":"07204bb0","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784212992001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125444033232240640,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900941285822019584,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02: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-06-02 19:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1780407085000,"timestamp_ms":1780407085000,"timestamp_seconds":1780407085,"priority":1,"record_length":96,"hex_timestamp":"0000019e888827c8"} 
[2026-06-02 19:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:02: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-06-02 19: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-02 19:02:17] 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-06-02 19: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-06-02 19:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":89745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":89745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":89745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784212992001,"66":13580,"101":206,"83":41984,"24":9,"16":125444033232240640,"45":1900941285822019584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784212992001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:02:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125444033232240640,"km_value":125444033232240.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900941285822019584,"description":"Unknown IO ID 45"} 
[2026-06-02 19:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784212992001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1900941285822019584}} 
[2026-06-02 19:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":89745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:02:17] local.INFO: GPS data processed {"connection_id":89745,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:02:17] local.INFO: Acknowledgment sent {"connection_id":89745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:02:18] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88882bb0012d1a65c007204c180041003827..."} 
[2026-06-02 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88882bb0012d1a65c007204c180041003827..."} 
[2026-06-02 19:02:18] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88882bb0012d1a65c007204c180041003827..."} 
[2026-06-02 19:02:18] local.INFO: Packet analysis {"connection_id":89745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:02:18] local.INFO: Extracted packet for processing {"connection_id":89745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756704704,"raw_latitude":119557144,"longitude_deg":75.6704704,"latitude_deg":11.9557144,"altitude":65,"angle":56,"satellites":39,"speed":8,"hex_longitude":"2d1a65c0","hex_latitude":"07204c18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784213760001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125444041822175232,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901996816984682496,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02: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-06-02 19:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1780407086000,"timestamp_ms":1780407086000,"timestamp_seconds":1780407086,"priority":1,"record_length":96,"hex_timestamp":"0000019e88882bb0"} 
[2026-06-02 19:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:02: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-06-02 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627689,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2290579456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4780071826174771200,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2277396481,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549763175,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294192345534035,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2851733504,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":26,"raw_value":810655768018157624,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,170,158,28,45,128,75,65,39,10,66,64,40,252,192,1,240,84,227,136,32,4,113,205,20,155,152,42,239,53,2,189,7,58,17,26,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-02 19:02:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683819650566914048,"timestamp_seconds":4683819650566914.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":89745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":89745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":89745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784213760001,"66":12841,"101":206,"83":41984,"24":8,"16":125444041822175232,"45":1901996816984682496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784213760001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:02:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125444041822175232,"km_value":125444041822175.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901996816984682496,"description":"Unknown IO ID 45"} 
[2026-06-02 19:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784213760001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1901996816984682496}} 
[2026-06-02 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":89745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:02:18] local.INFO: GPS data processed {"connection_id":89745,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:02:18] local.INFO: Acknowledgment sent {"connection_id":89745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:02:23] local.INFO: TCP Data received {"connection_id":90008,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:02:23] local.INFO: Processing buffer {"connection_id":90008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:02:23] local.INFO: IMEI packet received {"connection_id":90008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":90008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:02:28] local.INFO: TCP Data received {"connection_id":90008,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:02:28] local.INFO: Processing buffer {"connection_id":90008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:02:28] local.INFO: IMEI packet received {"connection_id":90008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":90008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:02:29] local.INFO: TCP Data received {"connection_id":90008,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:02:29] local.INFO: Processing buffer {"connection_id":90008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:02:29] local.INFO: Packet analysis {"connection_id":90008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:02:29] local.INFO: Extracted packet for processing {"connection_id":90008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:02: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-06-02 19:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 19:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:02: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-06-02 19:02: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-06-02 19:02: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-06-02 19:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:02:29] 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-06-02 19:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:02:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":90008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:02:29] local.INFO: GPS data processed {"connection_id":90008,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:02:29] local.INFO: Acknowledgment sent {"connection_id":90008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:02:52] local.INFO: TCP Data received {"connection_id":89745,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88882f98012d1a668007204c900041002627..."} 
[2026-06-02 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88882f98012d1a668007204c900041002627..."} 
[2026-06-02 19:02:52] local.INFO: Processing buffer {"connection_id":89745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88882f98012d1a668007204c900041002627..."} 
[2026-06-02 19:02:52] local.INFO: Packet analysis {"connection_id":89745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:02:52] local.INFO: Extracted packet for processing {"connection_id":89745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756704896,"raw_latitude":119557264,"longitude_deg":75.6704896,"latitude_deg":11.9557264,"altitude":65,"angle":38,"satellites":39,"speed":7,"hex_longitude":"2d1a6680","hex_latitude":"07204c90","is_valid_coordinates":true} 
[2026-06-02 19:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784214016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125444050412109824,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902137554473064448,"note":"Value kept but may cause issues"} 
[2026-06-02 19:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1780407087000,"timestamp_ms":1780407087000,"timestamp_seconds":1780407087,"priority":1,"record_length":96,"hex_timestamp":"0000019e88882f98"} 
[2026-06-02 19:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 19:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":89745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":89745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":89745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784214016001,"66":12841,"101":206,"83":41984,"24":7,"16":125444050412109824,"45":1902137554473064448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784214016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:02:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125444050412109824,"km_value":125444050412109.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902137554473064448,"description":"Unknown IO ID 45"} 
[2026-06-02 19:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784214016001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1902137554473064448}} 
[2026-06-02 19:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":89745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:02:52] local.INFO: GPS data processed {"connection_id":89745,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:02:52] local.INFO: Acknowledgment sent {"connection_id":89745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:03:00] local.INFO: TCP Data received {"connection_id":90008,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:03:00] local.INFO: Processing buffer {"connection_id":90008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:03:00] local.INFO: Packet analysis {"connection_id":90008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:03:00] local.INFO: Extracted packet for processing {"connection_id":90008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 19:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:03: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-06-02 19: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-06-02 19:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:03:00] 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-06-02 19:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:03:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":90008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:03:00] local.INFO: GPS data processed {"connection_id":90008,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:03:00] local.INFO: Acknowledgment sent {"connection_id":90008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:03:10] local.INFO: TCP Data received {"connection_id":91178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:03:10] local.INFO: Processing buffer {"connection_id":91178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:03:10] local.INFO: IMEI packet received {"connection_id":91178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":91178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:03:16] local.INFO: TCP Data received {"connection_id":91178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:03:16] local.INFO: Processing buffer {"connection_id":91178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:03:16] local.INFO: IMEI packet received {"connection_id":91178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":91178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:03:22] local.INFO: TCP Data received {"connection_id":91178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8888df60012d1a6cc007207278003b016027..."} 
[2026-06-02 19:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8888df60012d1a6cc007207278003b016027..."} 
[2026-06-02 19:03:22] local.INFO: Processing buffer {"connection_id":91178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8888df60012d1a6cc007207278003b016027..."} 
[2026-06-02 19:03:22] local.INFO: Packet analysis {"connection_id":91178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:03:22] local.INFO: Extracted packet for processing {"connection_id":91178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119566968,"longitude_deg":75.6706496,"latitude_deg":11.9566968,"altitude":59,"angle":352,"satellites":39,"speed":7,"hex_longitude":"2d1a6cc0","hex_latitude":"07207278","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784224256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125444574398119936,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903896773079672832,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03: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-06-02 19:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1780407132000,"timestamp_ms":1780407132000,"timestamp_seconds":1780407132,"priority":1,"record_length":96,"hex_timestamp":"0000019e8888df60"} 
[2026-06-02 19:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-06-02 19:03:22] 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-06-02 19: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-06-02 19:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":91178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":91178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":91178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784224256001,"66":14102,"106":206,"83":41984,"24":7,"16":125444574398119936,"45":1903896773079672832},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 19:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784224256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:03:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 19:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125444574398119936,"km_value":125444574398119.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903896773079672832,"description":"Unknown IO ID 45"} 
[2026-06-02 19:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784224256001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1903896773079672832}} 
[2026-06-02 19:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":91178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:03:22] local.INFO: GPS data processed {"connection_id":91178,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:03:22] local.INFO: Acknowledgment sent {"connection_id":91178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:03:23] local.INFO: TCP Data received {"connection_id":90109,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:03:23] local.INFO: Processing buffer {"connection_id":90109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:03:23] local.INFO: IMEI packet received {"connection_id":90109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":90109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:03:23] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:03:23] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:03:23] local.INFO: IMEI packet received {"connection_id":90009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":90009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:03:23] local.INFO: TCP Data received {"connection_id":91178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8888f2e8012d1a6b80072076480039015327..."} 
[2026-06-02 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8888f2e8012d1a6b80072076480039015327..."} 
[2026-06-02 19:03:23] local.INFO: Processing buffer {"connection_id":91178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8888f2e8012d1a6b80072076480039015327..."} 
[2026-06-02 19:03:23] local.INFO: Packet analysis {"connection_id":91178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:03:23] local.INFO: Extracted packet for processing {"connection_id":91178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8888"} 
[2026-06-02 19:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119567944,"longitude_deg":75.6706176,"latitude_deg":11.9567944,"altitude":57,"angle":339,"satellites":39,"speed":8,"hex_longitude":"2d1a6b80","hex_latitude":"07207648","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784225792001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125444621642760192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879312553984,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03: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-06-02 19:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1780407137000,"timestamp_ms":1780407137000,"timestamp_seconds":1780407137,"priority":1,"record_length":96,"hex_timestamp":"0000019e8888f2e8"} 
[2026-06-02 19:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-02 19:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":91178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":91178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":91178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784225792001,"66":13820,"106":206,"83":41984,"24":8,"16":125444621642760192,"45":1904107879312553984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-02 19:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784225792001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:03:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-02 19:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125444621642760192,"km_value":125444621642760.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879312553984,"description":"Unknown IO ID 45"} 
[2026-06-02 19:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784225792001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1904107879312553984}} 
[2026-06-02 19:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":91178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:03:23] local.INFO: GPS data processed {"connection_id":91178,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:03:23] local.INFO: Acknowledgment sent {"connection_id":91178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:03:28] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:03:28] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:03:28] local.INFO: IMEI packet received {"connection_id":90009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":90009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:03:29] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:03:29] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88852258012cb29ac007823b00004900d928..."} 
[2026-06-02 19:03:29] local.INFO: Packet analysis {"connection_id":90009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:03:29] local.INFO: Extracted packet for processing {"connection_id":90009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8885"} 
[2026-06-02 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784086016001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780406887000,"timestamp_ms":1780406887000,"timestamp_seconds":1780406887,"priority":1,"record_length":96,"hex_timestamp":"0000019e88852258"} 
[2026-06-02 19:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:03: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-06-02 19:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:03:29] 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-06-02 19:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784086016001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784086016001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:03:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784086016001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":90009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:03:29] local.INFO: GPS data processed {"connection_id":90009,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:03:29] local.INFO: Acknowledgment sent {"connection_id":90009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:04:00] local.INFO: TCP Data received {"connection_id":90009,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:04:00] local.INFO: Processing buffer {"connection_id":90009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:04:00] local.INFO: Packet analysis {"connection_id":90009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:00] local.INFO: Extracted packet for processing {"connection_id":90009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:04: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-06-02 19:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:04: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:04: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-06-02 19:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:04:00] 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-06-02 19:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:04:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":90009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:04:00] local.INFO: GPS data processed {"connection_id":90009,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:04:00] local.INFO: Acknowledgment sent {"connection_id":90009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:04:03] local.INFO: TCP Data received {"connection_id":90010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:04:03] local.INFO: Processing buffer {"connection_id":90010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:04:03] local.INFO: IMEI packet received {"connection_id":90010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":90010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:04:04] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:04:04] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:04:04] local.INFO: IMEI packet received {"connection_id":90110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":90110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:04:10] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:04:10] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:04:10] local.INFO: IMEI packet received {"connection_id":90110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":90110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:04:11] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88893938012d1a684007207da80035011929..."} 
[2026-06-02 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88893938012d1a684007207da80035011929..."} 
[2026-06-02 19:04:11] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88893938012d1a684007207da80035011929..."} 
[2026-06-02 19:04:11] local.INFO: Packet analysis {"connection_id":90110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:11] local.INFO: Extracted packet for processing {"connection_id":90110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119569832,"longitude_deg":75.6705344,"latitude_deg":11.9569832,"altitude":53,"angle":281,"satellites":41,"speed":3,"hex_longitude":"2d1a6840","hex_latitude":"07207da8","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784227072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125444729016942592,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035591915520,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780407155000,"timestamp_ms":1780407155000,"timestamp_seconds":1780407155,"priority":1,"record_length":96,"hex_timestamp":"0000019e88893938"} 
[2026-06-02 19:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-02 19:04:11] 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-06-02 19: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-06-02 19:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784227072001,"66":13852,"101":206,"83":41984,"24":3,"16":125444729016942592,"45":1903756035591915520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784227072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:04:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125444729016942592,"km_value":125444729016942.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035591915520,"description":"Unknown IO ID 45"} 
[2026-06-02 19:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784227072001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1903756035591915520}} 
[2026-06-02 19:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":90110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:04:11] local.INFO: GPS data processed {"connection_id":90110,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:04:11] local.INFO: Acknowledgment sent {"connection_id":90110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:04:23] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:04:23] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:04:23] local.INFO: IMEI packet received {"connection_id":90011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":90011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:04:28] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:04:28] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:04:28] local.INFO: IMEI packet received {"connection_id":90011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":90011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:04:29] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:04:29] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:04:29] local.INFO: Packet analysis {"connection_id":90011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:29] local.INFO: Extracted packet for processing {"connection_id":90011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:04:29] 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-06-02 19:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:04:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":90011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:04:29] local.INFO: GPS data processed {"connection_id":90011,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:04:29] local.INFO: Acknowledgment sent {"connection_id":90011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:04:47] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e888950a8012d1a660007207dc80033010b28..."} 
[2026-06-02 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888950a8012d1a660007207dc80033010b28..."} 
[2026-06-02 19:04:47] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888950a8012d1a660007207dc80033010b28..."} 
[2026-06-02 19:04:47] local.INFO: Packet analysis {"connection_id":90110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:47] local.INFO: Extracted packet for processing {"connection_id":90110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756704768,"raw_latitude":119569864,"longitude_deg":75.6704768,"latitude_deg":11.9569864,"altitude":51,"angle":267,"satellites":40,"speed":2,"hex_longitude":"2d1a6600","hex_latitude":"07207dc8","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784231680001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125444754786746368,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241918089216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:04: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-06-02 19:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780407161000,"timestamp_ms":1780407161000,"timestamp_seconds":1780407161,"priority":1,"record_length":96,"hex_timestamp":"0000019e888950a8"} 
[2026-06-02 19:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-02 19:04:47] 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-06-02 19: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-06-02 19:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":90110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":90110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":90110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784231680001,"66":13852,"101":206,"83":41984,"24":2,"16":125444754786746368,"45":1902841241918089216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784231680001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:04:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125444754786746368,"km_value":125444754786746.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241918089216,"description":"Unknown IO ID 45"} 
[2026-06-02 19:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784231680001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1902841241918089216}} 
[2026-06-02 19:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":90110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:04:47] local.INFO: GPS data processed {"connection_id":90110,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:04:47] local.INFO: Acknowledgment sent {"connection_id":90110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:05:00] local.INFO: TCP Data received {"connection_id":90011,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:00] local.INFO: Processing buffer {"connection_id":90011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:00] local.INFO: Packet analysis {"connection_id":90011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:05:00] local.INFO: Extracted packet for processing {"connection_id":90011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:05:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:05:00] 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-06-02 19:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:05:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":90011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:05:00] local.INFO: GPS data processed {"connection_id":90011,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:05:00] local.INFO: Acknowledgment sent {"connection_id":90011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:05:04] local.INFO: TCP Data received {"connection_id":90111,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:04] local.INFO: Processing buffer {"connection_id":90111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:04] local.INFO: IMEI packet received {"connection_id":90111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":90111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:05:05] local.INFO: TCP Data received {"connection_id":90111,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:05] local.INFO: Processing buffer {"connection_id":90111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:05] local.INFO: IMEI packet received {"connection_id":90111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":90111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:05:05] local.INFO: TCP Data received {"connection_id":90111,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:05] local.INFO: Processing buffer {"connection_id":90111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:05] local.INFO: IMEI packet received {"connection_id":90111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":90111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:05:09] local.INFO: TCP Data received {"connection_id":90111,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:09] local.INFO: Processing buffer {"connection_id":90111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:05:09] local.INFO: IMEI packet received {"connection_id":90111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":90111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:05:28] local.INFO: TCP Data received {"connection_id":91179,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:05:28] local.INFO: Processing buffer {"connection_id":91179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:05:28] local.INFO: IMEI packet received {"connection_id":91179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":91179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:05:33] local.INFO: TCP Data received {"connection_id":91179,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:05:33] local.INFO: Processing buffer {"connection_id":91179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:05:33] local.INFO: IMEI packet received {"connection_id":91179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":91179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:05:34] local.INFO: TCP Data received {"connection_id":91179,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:34] local.INFO: Processing buffer {"connection_id":91179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:34] local.INFO: Packet analysis {"connection_id":91179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:05:34] local.INFO: Extracted packet for processing {"connection_id":91179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:05:34] 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-06-02 19:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:05:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:05:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":91179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:05:34] local.INFO: GPS data processed {"connection_id":91179,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:05:34] local.INFO: Acknowledgment sent {"connection_id":91179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:05:38] local.INFO: TCP Data received {"connection_id":91179,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:38] local.INFO: Processing buffer {"connection_id":91179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:05:38] local.INFO: Packet analysis {"connection_id":91179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:05:38] local.INFO: Extracted packet for processing {"connection_id":91179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:05: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-06-02 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:05:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":91179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:05:38] local.INFO: GPS data processed {"connection_id":91179,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:05:38] local.INFO: Acknowledgment sent {"connection_id":91179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:06:25] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:06:25] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:06:25] local.INFO: IMEI packet received {"connection_id":90012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":90012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:06:28] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:06:28] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:06:28] local.INFO: IMEI packet received {"connection_id":90012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":90012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:06:29] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:06:29] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:06:29] local.INFO: Packet analysis {"connection_id":90012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:06:29] local.INFO: Extracted packet for processing {"connection_id":90012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:06:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:06:29] 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-06-02 19:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:06:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":90012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:06:29] local.INFO: GPS data processed {"connection_id":90012,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:06:29] local.INFO: Acknowledgment sent {"connection_id":90012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:06:33] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:06:33] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:06:33] local.INFO: Packet analysis {"connection_id":90012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:06:33] local.INFO: Extracted packet for processing {"connection_id":90012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:06:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:06: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-06-02 19:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:06:33] 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-06-02 19:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:06:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:06:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":90012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:06:33] local.INFO: GPS data processed {"connection_id":90012,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:06:33] local.INFO: Acknowledgment sent {"connection_id":90012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:07:04] local.INFO: TCP Data received {"connection_id":90012,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:07:04] local.INFO: Processing buffer {"connection_id":90012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:07:04] local.INFO: Packet analysis {"connection_id":90012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:07:04] local.INFO: Extracted packet for processing {"connection_id":90012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:07:04] 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-06-02 19:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:07:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":90012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:07:04] local.INFO: GPS data processed {"connection_id":90012,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:07:04] local.INFO: Acknowledgment sent {"connection_id":90012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:07:23] local.INFO: TCP Data received {"connection_id":90013,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:07:23] local.INFO: Processing buffer {"connection_id":90013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:07:23] local.INFO: IMEI packet received {"connection_id":90013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":90013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:07:28] local.INFO: TCP Data received {"connection_id":90013,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:07:28] local.INFO: Processing buffer {"connection_id":90013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:07:28] local.INFO: IMEI packet received {"connection_id":90013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":90013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:07:29] local.INFO: TCP Data received {"connection_id":90013,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:07:29] local.INFO: Processing buffer {"connection_id":90013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:07:29] local.INFO: Packet analysis {"connection_id":90013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:07:29] local.INFO: Extracted packet for processing {"connection_id":90013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19: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-06-02 19:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:07:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":90013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:07:29] local.INFO: GPS data processed {"connection_id":90013,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:07:29] local.INFO: Acknowledgment sent {"connection_id":90013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:08:00] local.INFO: TCP Data received {"connection_id":90013,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:08:00] local.INFO: Processing buffer {"connection_id":90013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:08:00] local.INFO: Packet analysis {"connection_id":90013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:08:00] local.INFO: Extracted packet for processing {"connection_id":90013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:08:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:08: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-06-02 19:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:08:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":90013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:08:00] local.INFO: GPS data processed {"connection_id":90013,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:08:00] local.INFO: Acknowledgment sent {"connection_id":90013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:08:23] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:08:23] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:08:23] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:08:28] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:08:28] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:08:28] local.INFO: IMEI packet received {"connection_id":89749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":89749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:08:29] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:08:29] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8889ba20012cb29ac007823b00004900d924..."} 
[2026-06-02 19:08:29] local.INFO: Packet analysis {"connection_id":89749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:08:29] local.INFO: Extracted packet for processing {"connection_id":89749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8889"} 
[2026-06-02 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:08: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-06-02 19:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784163072001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407188000,"timestamp_ms":1780407188000,"timestamp_seconds":1780407188,"priority":1,"record_length":96,"hex_timestamp":"0000019e8889ba20"} 
[2026-06-02 19:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:08: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:08: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-06-02 19:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:08: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-06-02 19:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784163072001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784163072001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:08:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784163072001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":89749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:08:29] local.INFO: GPS data processed {"connection_id":89749,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:08:29] local.INFO: Acknowledgment sent {"connection_id":89749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:09:00] local.INFO: TCP Data received {"connection_id":89749,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:09:00] local.INFO: Processing buffer {"connection_id":89749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:09:00] local.INFO: Packet analysis {"connection_id":89749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:09:00] local.INFO: Extracted packet for processing {"connection_id":89749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:09: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-06-02 19:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:09:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":89749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:09:00] local.INFO: GPS data processed {"connection_id":89749,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:09:00] local.INFO: Acknowledgment sent {"connection_id":89749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:09:23] local.INFO: TCP Data received {"connection_id":91183,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:09:23] local.INFO: Processing buffer {"connection_id":91183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:09:23] local.INFO: IMEI packet received {"connection_id":91183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":91183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:09:28] local.INFO: TCP Data received {"connection_id":91183,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:09:28] local.INFO: Processing buffer {"connection_id":91183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:09:28] local.INFO: IMEI packet received {"connection_id":91183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":91183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:09:29] local.INFO: TCP Data received {"connection_id":91183,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:09:29] local.INFO: Processing buffer {"connection_id":91183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:09:29] local.INFO: Packet analysis {"connection_id":91183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:09:29] local.INFO: Extracted packet for processing {"connection_id":91183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:09:29] 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-06-02 19:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:09:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":91183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:09:29] local.INFO: GPS data processed {"connection_id":91183,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:09:29] local.INFO: Acknowledgment sent {"connection_id":91183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:09:29] local.INFO: TCP Data received {"connection_id":91182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:09:29] local.INFO: Processing buffer {"connection_id":91182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:09:29] local.INFO: IMEI packet received {"connection_id":91182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":91182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:10:00] local.INFO: TCP Data received {"connection_id":91183,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:10:00] local.INFO: Processing buffer {"connection_id":91183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:10:00] local.INFO: Packet analysis {"connection_id":91183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:10:00] local.INFO: Extracted packet for processing {"connection_id":91183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:10:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:10:00] 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-06-02 19:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:10:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":91183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:10:00] local.INFO: GPS data processed {"connection_id":91183,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:10:00] local.INFO: Acknowledgment sent {"connection_id":91183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:10:03] local.INFO: TCP Data received {"connection_id":90015,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:10:03] local.INFO: Processing buffer {"connection_id":90015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:10:03] local.INFO: IMEI packet received {"connection_id":90015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":90015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:10:09] local.INFO: TCP Data received {"connection_id":90016,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:10:09] local.INFO: Processing buffer {"connection_id":90016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:10:09] local.INFO: IMEI packet received {"connection_id":90016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":90016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:10:10] local.INFO: TCP Data received {"connection_id":90016,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e888f28c0012d19b80007206590003501582b..."} 
[2026-06-02 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888f28c0012d19b80007206590003501582b..."} 
[2026-06-02 19:10:10] local.INFO: Processing buffer {"connection_id":90016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888f28c0012d19b80007206590003501582b..."} 
[2026-06-02 19:10:10] local.INFO: Packet analysis {"connection_id":90016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888f"} 
[2026-06-02 19:10:10] local.INFO: Extracted packet for processing {"connection_id":90016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888f"} 
[2026-06-02 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119563664,"longitude_deg":75.6660224,"latitude_deg":11.9563664,"altitude":53,"angle":344,"satellites":43,"speed":37,"hex_longitude":"2d19b800","hex_latitude":"07206590","is_valid_coordinates":true} 
[2026-06-02 19:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784328704001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125448530062999552,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545919940608,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780407544000,"timestamp_ms":1780407544000,"timestamp_seconds":1780407544,"priority":1,"record_length":96,"hex_timestamp":"0000019e888f28c0"} 
[2026-06-02 19:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627693,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2291027456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":84723989464743946,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":173,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13465701,"corrected_to":0} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2388244481,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132248677,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":466974,"corrected_to":0} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917045429456467,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2917924864,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3674929461409087433,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:10] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,174,158,1,45,64,65,57,42,10,66,187,128,33,55,40,101,173,105,192,240,247,227,136,32,4,113,205,81,203,56,39,239,53,2,189,7,25,164],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":247,"original":13465701,"validated":0},{"io_id":205,"original":2019885262,"validated":0},{"io_id":203,"original":466974,"validated":0}]} 
[2026-06-02 19:10:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107283040552550400,"timestamp_seconds":4107283040552550.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784328704001,"66":13580,"103":206,"83":41984,"24":37,"16":125448530062999552,"45":1854427545919940608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784328704001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:10:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125448530062999552,"km_value":125448530062999.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545919940608,"description":"Unknown IO ID 45"} 
[2026-06-02 19:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784328704001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1854427545919940608}} 
[2026-06-02 19:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":90016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:10:10] local.INFO: GPS data processed {"connection_id":90016,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:10:10] local.INFO: Acknowledgment sent {"connection_id":90016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:10:23] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:10:23] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:10:23] local.INFO: IMEI packet received {"connection_id":90114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":90114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:10:28] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:10:28] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:10:28] local.INFO: IMEI packet received {"connection_id":90114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":90114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:10:29] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:10:29] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:10:29] local.INFO: Packet analysis {"connection_id":90114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:10:29] local.INFO: Extracted packet for processing {"connection_id":90114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:10:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:10:29] 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-06-02 19:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:10:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":90114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:10:29] local.INFO: GPS data processed {"connection_id":90114,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:10:29] local.INFO: Acknowledgment sent {"connection_id":90114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:10:41] local.INFO: TCP Data received {"connection_id":90016,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e888fd0b8012d197ec00720b160003d010326..."} 
[2026-06-02 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888fd0b8012d197ec00720b160003d010326..."} 
[2026-06-02 19:10:41] local.INFO: Processing buffer {"connection_id":90016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888fd0b8012d197ec00720b160003d010326..."} 
[2026-06-02 19:10:41] local.INFO: Packet analysis {"connection_id":90016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888f"} 
[2026-06-02 19:10:41] local.INFO: Extracted packet for processing {"connection_id":90016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888f"} 
[2026-06-02 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":119583072,"longitude_deg":75.6645568,"latitude_deg":11.9583072,"altitude":61,"angle":259,"satellites":38,"speed":41,"hex_longitude":"2d197ec0","hex_latitude":"0720b160","is_valid_coordinates":true} 
[2026-06-02 19:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784341248001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125450183625408512,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841268590766147584,"note":"Value kept but may cause issues"} 
[2026-06-02 19:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780407587000,"timestamp_ms":1780407587000,"timestamp_seconds":1780407587,"priority":1,"record_length":96,"hex_timestamp":"0000019e888fd0b8"} 
[2026-06-02 19:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-02 19:10:41] 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-06-02 19:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784341248001,"66":13656,"103":206,"83":41984,"24":41,"16":125450183625408512,"45":1841268590766147584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784341248001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:10:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125450183625408512,"km_value":125450183625408.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841268590766147584,"description":"Unknown IO ID 45"} 
[2026-06-02 19:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784341248001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1841268590766147584}} 
[2026-06-02 19:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":90016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:10:41] local.INFO: GPS data processed {"connection_id":90016,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:10:41] local.INFO: Acknowledgment sent {"connection_id":90016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:11:00] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:00] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:00] local.INFO: Packet analysis {"connection_id":90114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:11:00] local.INFO: Extracted packet for processing {"connection_id":90114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:11:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:11: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-06-02 19:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:11: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:11: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-06-02 19:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:11:00] 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-06-02 19:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:11:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:11:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":90114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:11:00] local.INFO: GPS data processed {"connection_id":90114,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:11:00] local.INFO: Acknowledgment sent {"connection_id":90114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:11:04] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:04] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:04] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:11:06] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:06] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:06] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:11:08] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:08] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:08] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:11:09] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:09] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:11:09] local.INFO: IMEI packet received {"connection_id":89750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":89750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:11:10] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e888ff7c8012d1958c00720aa68003c010b26..."} 
[2026-06-02 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888ff7c8012d1958c00720aa68003c010b26..."} 
[2026-06-02 19:11:10] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888ff7c8012d1958c00720aa68003c010b26..."} 
[2026-06-02 19:11:10] local.INFO: Packet analysis {"connection_id":89750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888f"} 
[2026-06-02 19:11:10] local.INFO: Extracted packet for processing {"connection_id":89750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888f"} 
[2026-06-02 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756635840,"raw_latitude":119581288,"longitude_deg":75.663584,"latitude_deg":11.9581288,"altitude":60,"angle":267,"satellites":38,"speed":33,"hex_longitude":"2d1958c0","hex_latitude":"0720aa68","is_valid_coordinates":true} 
[2026-06-02 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-06-02 19:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784342272001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125450656071811072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834859540480,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780407597000,"timestamp_ms":1780407597000,"timestamp_seconds":1780407597,"priority":1,"record_length":96,"hex_timestamp":"0000019e888ff7c8"} 
[2026-06-02 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-06-02 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-02 19:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 19:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784342272001,"66":13678,"103":206,"83":41984,"24":33,"16":125450656071811072,"45":1837116834859540480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784342272001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:11:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125450656071811072,"km_value":125450656071811.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834859540480,"description":"Unknown IO ID 45"} 
[2026-06-02 19:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784342272001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1837116834859540480}} 
[2026-06-02 19:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":89750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:11:10] local.INFO: GPS data processed {"connection_id":89750,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:11:10] local.INFO: Acknowledgment sent {"connection_id":89750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:11:15] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88900380012d194f400720aad0003c011826..."} 
[2026-06-02 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88900380012d194f400720aad0003c011826..."} 
[2026-06-02 19:11:15] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88900380012d194f400720aad0003c011826..."} 
[2026-06-02 19:11:15] local.INFO: Packet analysis {"connection_id":89750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:11:15] local.INFO: Extracted packet for processing {"connection_id":89750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756633408,"raw_latitude":119581392,"longitude_deg":75.6633408,"latitude_deg":11.9581392,"altitude":60,"angle":280,"satellites":38,"speed":30,"hex_longitude":"2d194f40","hex_latitude":"0720aad0","is_valid_coordinates":true} 
[2026-06-02 19:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784344832001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125450772035928064,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826420785744078848,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780407600000,"timestamp_ms":1780407600000,"timestamp_seconds":1780407600,"priority":1,"record_length":96,"hex_timestamp":"0000019e88900380"} 
[2026-06-02 19:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-02 19:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784344832001,"66":13580,"103":206,"83":41984,"24":30,"16":125450772035928064,"45":1826420785744078848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784344832001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:11:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125450772035928064,"km_value":125450772035928.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826420785744078848,"description":"Unknown IO ID 45"} 
[2026-06-02 19:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784344832001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1826420785744078848}} 
[2026-06-02 19:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":89750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:11:15] local.INFO: GPS data processed {"connection_id":89750,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:11:15] local.INFO: Acknowledgment sent {"connection_id":89750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:11:28] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:11:28] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:11:28] local.INFO: IMEI packet received {"connection_id":90116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":90116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:11:33] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:11:33] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:11:33] local.INFO: IMEI packet received {"connection_id":90116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":90116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:11:34] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:34] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:34] local.INFO: Packet analysis {"connection_id":90116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:11:34] local.INFO: Extracted packet for processing {"connection_id":90116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:11:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:11:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":90116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:11:34] local.INFO: GPS data processed {"connection_id":90116,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:11:34] local.INFO: Acknowledgment sent {"connection_id":90116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:11:38] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:38] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:11:38] local.INFO: Packet analysis {"connection_id":90116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:11:38] local.INFO: Extracted packet for processing {"connection_id":90116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:11:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:11: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-06-02 19:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:11:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:11:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":90116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:11:38] local.INFO: GPS data processed {"connection_id":90116,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:11:38] local.INFO: Acknowledgment sent {"connection_id":90116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:11:46] local.INFO: TCP Data received {"connection_id":89750,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88901708012d193fc00720b008003b012929..."} 
[2026-06-02 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88901708012d193fc00720b008003b012929..."} 
[2026-06-02 19:11:46] local.INFO: Processing buffer {"connection_id":89750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88901708012d193fc00720b008003b012929..."} 
[2026-06-02 19:11:46] local.INFO: Packet analysis {"connection_id":89750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:11:46] local.INFO: Extracted packet for processing {"connection_id":89750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756629440,"raw_latitude":119582728,"longitude_deg":75.662944,"latitude_deg":11.9582728,"altitude":59,"angle":297,"satellites":41,"speed":33,"hex_longitude":"2d193fc0","hex_latitude":"0720b008","is_valid_coordinates":true} 
[2026-06-02 19:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784345600001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125450973899390976,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773465354240,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11: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-06-02 19:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780407605000,"timestamp_ms":1780407605000,"timestamp_seconds":1780407605,"priority":1,"record_length":96,"hex_timestamp":"0000019e88901708"} 
[2026-06-02 19:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:11: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-06-02 19:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751627695,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2291107456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51201,"corrected_to":0} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5488480656780427274,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2409236481,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2944401465,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937935463,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3221692587,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024952,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2947088384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5062038144307167177,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917045463010899,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-06-02 19:11:46] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,176,158,247,45,192,170,60,38,10,66,208,177,61,193,128,1,240,110,227,136,32,4,113,205,26,138,181,232,42,239,52,2,189,7,55,22,25,53,164],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":247,"original":51201,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 19:11:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323763668742176768,"timestamp_seconds":4323763668742177.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":89750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":89750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":89750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784345600001,"66":13319,"103":206,"83":41984,"24":33,"16":125450973899390976,"45":1823746773465354240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784345600001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:11:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125450973899390976,"km_value":125450973899390.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773465354240,"description":"Unknown IO ID 45"} 
[2026-06-02 19:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784345600001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1823746773465354240}} 
[2026-06-02 19:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":89750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:11:46] local.INFO: GPS data processed {"connection_id":89750,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:11:46] local.INFO: Acknowledgment sent {"connection_id":89750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:12:04] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:04] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:04] local.INFO: IMEI packet received {"connection_id":90117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":90117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:12:05] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:05] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:05] local.INFO: IMEI packet received {"connection_id":90117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":90117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:12:10] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:10] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:12:10] local.INFO: IMEI packet received {"connection_id":90117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":90117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:12:10] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88903e18012d191c800720c1000038012228..."} 
[2026-06-02 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88903e18012d191c800720c1000038012228..."} 
[2026-06-02 19:12:10] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88903e18012d191c800720c1000038012228..."} 
[2026-06-02 19:12:10] local.INFO: Packet analysis {"connection_id":90117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:12:10] local.INFO: Extracted packet for processing {"connection_id":90117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756620416,"raw_latitude":119587072,"longitude_deg":75.6620416,"latitude_deg":11.9587072,"altitude":56,"angle":290,"satellites":40,"speed":43,"hex_longitude":"2d191c80","hex_latitude":"0720c100","is_valid_coordinates":true} 
[2026-06-02 19:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784346880001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125451450640760832,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819383911326681088,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780407615000,"timestamp_ms":1780407615000,"timestamp_seconds":1780407615,"priority":1,"record_length":96,"hex_timestamp":"0000019e88903e18"} 
[2026-06-02 19:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2291108456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57834754016170916,"corrected_to":0} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2411796481,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-6145161455303316992,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2949185536,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.WARNING: Large IO value detected {"io_id":143,"raw_value":-8754996382391599097,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:10] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,176,158,3,45,64,170,60,38,10,66,247,192,208,1,240,88,227,136,32,4,113,205,31,154,171,128,42,239,53,2,189,7,55,25,143],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":247,"original":57834754016170916,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-02 19:12:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251724779287019520,"timestamp_seconds":4251724779287019.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784346880001,"66":13243,"103":206,"83":41984,"24":43,"16":125451450640760832,"45":1819383911326681088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784346880001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:12:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125451450640760832,"km_value":125451450640760.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819383911326681088,"description":"Unknown IO ID 45"} 
[2026-06-02 19:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784346880001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1819383911326681088}} 
[2026-06-02 19:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":90117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:12:11] local.INFO: GPS data processed {"connection_id":90117,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:12:11] local.INFO: Acknowledgment sent {"connection_id":90117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:12:23] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:12:23] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:12:23] local.INFO: IMEI packet received {"connection_id":89751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":89751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:12:28] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:12:28] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:12:28] local.INFO: IMEI packet received {"connection_id":89751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":89751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:12:29] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:12:29] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:12:29] local.INFO: Packet analysis {"connection_id":89751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:12:29] local.INFO: Extracted packet for processing {"connection_id":89751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:12:29] 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-06-02 19:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:12:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":89751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:12:29] local.INFO: GPS data processed {"connection_id":89751,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:12:29] local.INFO: Acknowledgment sent {"connection_id":89751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:12:42] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889051a0012d190a800720c9080039012d28..."} 
[2026-06-02 19:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889051a0012d190a800720c9080039012d28..."} 
[2026-06-02 19:12:42] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889051a0012d190a800720c9080039012d28..."} 
[2026-06-02 19:12:42] local.INFO: Packet analysis {"connection_id":90117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:12:42] local.INFO: Extracted packet for processing {"connection_id":90117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756615808,"raw_latitude":119589128,"longitude_deg":75.6615808,"latitude_deg":11.9589128,"altitude":57,"angle":301,"satellites":40,"speed":35,"hex_longitude":"2d190a80","hex_latitude":"0720c908","is_valid_coordinates":true} 
[2026-06-02 19:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784349440001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125451691158929408,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809461918398742528,"note":"Value kept but may cause issues"} 
[2026-06-02 19:12: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-06-02 19:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780407620000,"timestamp_ms":1780407620000,"timestamp_seconds":1780407620,"priority":1,"record_length":96,"hex_timestamp":"0000019e889051a0"} 
[2026-06-02 19:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-02 19:12:42] 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-06-02 19:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784349440001,"66":13656,"103":206,"83":41984,"24":35,"16":125451691158929408,"45":1809461918398742528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784349440001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:12:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125451691158929408,"km_value":125451691158929.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809461918398742528,"description":"Unknown IO ID 45"} 
[2026-06-02 19:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784349440001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1809461918398742528}} 
[2026-06-02 19:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":90117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:12:42] local.INFO: GPS data processed {"connection_id":90117,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:12:42] local.INFO: Acknowledgment sent {"connection_id":90117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:13:00] local.INFO: TCP Data received {"connection_id":89751,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:13:00] local.INFO: Processing buffer {"connection_id":89751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:13:00] local.INFO: Packet analysis {"connection_id":89751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:13:00] local.INFO: Extracted packet for processing {"connection_id":89751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:13:00] 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-06-02 19:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:13:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":89751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:13:00] local.INFO: GPS data processed {"connection_id":89751,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:13:00] local.INFO: Acknowledgment sent {"connection_id":89751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:13:09] local.INFO: TCP Data received {"connection_id":91185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:09] local.INFO: Processing buffer {"connection_id":91185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:09] local.INFO: IMEI packet received {"connection_id":91185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":91185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:13:09] local.INFO: TCP Data received {"connection_id":91185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:09] local.INFO: Processing buffer {"connection_id":91185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:09] local.INFO: IMEI packet received {"connection_id":91185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":91185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:13:14] local.INFO: TCP Data received {"connection_id":91185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:14] local.INFO: Processing buffer {"connection_id":91185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:13:14] local.INFO: IMEI packet received {"connection_id":91185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":91185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:13:15] local.INFO: TCP Data received {"connection_id":91185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889074c8012d18f2c00720da680039013b2b..."} 
[2026-06-02 19:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889074c8012d18f2c00720da680039013b2b..."} 
[2026-06-02 19:13:15] local.INFO: Processing buffer {"connection_id":91185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889074c8012d18f2c00720da680039013b2b..."} 
[2026-06-02 19:13:15] local.INFO: Packet analysis {"connection_id":91185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:13:15] local.INFO: Extracted packet for processing {"connection_id":91185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756609728,"raw_latitude":119593576,"longitude_deg":75.6609728,"latitude_deg":11.9593576,"altitude":57,"angle":315,"satellites":43,"speed":34,"hex_longitude":"2d18f2c0","hex_latitude":"0720da68","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784350720001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125452051936182272,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804395368818477056,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780407629000,"timestamp_ms":1780407629000,"timestamp_seconds":1780407629,"priority":1,"record_length":96,"hex_timestamp":"0000019e889074c8"} 
[2026-06-02 19:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-02 19:13:15] 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-06-02 19: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-06-02 19:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784350720001,"66":12917,"103":206,"83":41984,"24":34,"16":125452051936182272,"45":1804395368818477056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784350720001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:13:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125452051936182272,"km_value":125452051936182.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804395368818477056,"description":"Unknown IO ID 45"} 
[2026-06-02 19:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784350720001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1804395368818477056}} 
[2026-06-02 19:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":91185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:13:15] local.INFO: GPS data processed {"connection_id":91185,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:13:15] local.INFO: Acknowledgment sent {"connection_id":91185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:13:20] local.INFO: TCP Data received {"connection_id":91185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88907c98012d18ee800720e018003901472a..."} 
[2026-06-02 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88907c98012d18ee800720e018003901472a..."} 
[2026-06-02 19:13:20] local.INFO: Processing buffer {"connection_id":91185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88907c98012d18ee800720e018003901472a..."} 
[2026-06-02 19:13:20] local.INFO: Packet analysis {"connection_id":91185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:13:20] local.INFO: Extracted packet for processing {"connection_id":91185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756608640,"raw_latitude":119595032,"longitude_deg":75.660864,"latitude_deg":11.9595032,"altitude":57,"angle":327,"satellites":42,"speed":35,"hex_longitude":"2d18ee80","hex_latitude":"0720e018","is_valid_coordinates":true} 
[2026-06-02 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784353024001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125452142130495488,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797710338122737664,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13: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-06-02 19:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780407631000,"timestamp_ms":1780407631000,"timestamp_seconds":1780407631,"priority":1,"record_length":96,"hex_timestamp":"0000019e88907c98"} 
[2026-06-02 19:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-02 19:13:20] 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-06-02 19:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":91185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":91185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":91185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784353024001,"66":11993,"103":206,"83":41984,"24":35,"16":125452142130495488,"45":1797710338122737664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784353024001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:13:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125452142130495488,"km_value":125452142130495.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797710338122737664,"description":"Unknown IO ID 45"} 
[2026-06-02 19:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784353024001,"power":11993,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1797710338122737664}} 
[2026-06-02 19:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":91185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:13:20] local.INFO: GPS data processed {"connection_id":91185,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:13:20] local.INFO: Acknowledgment sent {"connection_id":91185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:13:23] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:13:23] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:13:23] local.INFO: IMEI packet received {"connection_id":90118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":90118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:13:28] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:13:28] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:13:28] local.INFO: IMEI packet received {"connection_id":90118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":90118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:13:29] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:13:29] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e888e51e8012cb29ac007823b00004900d925..."} 
[2026-06-02 19:13:29] local.INFO: Packet analysis {"connection_id":90118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:13:29] local.INFO: Extracted packet for processing {"connection_id":90118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e888e"} 
[2026-06-02 19:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784240128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407489000,"timestamp_ms":1780407489000,"timestamp_seconds":1780407489,"priority":1,"record_length":96,"hex_timestamp":"0000019e888e51e8"} 
[2026-06-02 19:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:13:29] 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-06-02 19:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784240128001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784240128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:13:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784240128001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":90118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:13:29] local.INFO: GPS data processed {"connection_id":90118,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:13:29] local.INFO: Acknowledgment sent {"connection_id":90118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:14:00] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:14:00] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:14:00] local.INFO: Packet analysis {"connection_id":90118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:14:00] local.INFO: Extracted packet for processing {"connection_id":90118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:14:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:14: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-06-02 19:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:14: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-06-02 19:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:14:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":90118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:14:00] local.INFO: GPS data processed {"connection_id":90118,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:14:00] local.INFO: Acknowledgment sent {"connection_id":90118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:14:04] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:14:04] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:14:04] local.INFO: IMEI packet received {"connection_id":89753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":89753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:14:10] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:14:10] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:14:10] local.INFO: IMEI packet received {"connection_id":89753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":89753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:14:10] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88909fc0012d18de400720f7e8003c013729..."} 
[2026-06-02 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88909fc0012d18de400720f7e8003c013729..."} 
[2026-06-02 19:14:10] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88909fc0012d18de400720f7e8003c013729..."} 
[2026-06-02 19:14:10] local.INFO: Packet analysis {"connection_id":89753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:14:10] local.INFO: Extracted packet for processing {"connection_id":89753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8890"} 
[2026-06-02 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119601128,"longitude_deg":75.660448,"latitude_deg":11.9601128,"altitude":60,"angle":311,"satellites":41,"speed":30,"hex_longitude":"2d18de40","hex_latitude":"0720f7e8","is_valid_coordinates":true} 
[2026-06-02 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784353536001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125452498612781056,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796514069472090112,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780407640000,"timestamp_ms":1780407640000,"timestamp_seconds":1780407640,"priority":1,"record_length":96,"hex_timestamp":"0000019e88909fc0"} 
[2026-06-02 19:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-02 19:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784353536001,"66":12939,"103":206,"83":41984,"24":30,"16":125452498612781056,"45":1796514069472090112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784353536001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:14:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125452498612781056,"km_value":125452498612781.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796514069472090112,"description":"Unknown IO ID 45"} 
[2026-06-02 19:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784353536001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1796514069472090112}} 
[2026-06-02 19:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":89753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:14:11] local.INFO: GPS data processed {"connection_id":89753,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:14:11] local.INFO: Acknowledgment sent {"connection_id":89753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:14:23] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:14:23] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:14:23] local.INFO: IMEI packet received {"connection_id":89754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":89754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:14:28] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:14:28] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:14:28] local.INFO: IMEI packet received {"connection_id":89754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":89754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:14:29] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:14:29] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:14:29] local.INFO: Packet analysis {"connection_id":89754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:14:29] local.INFO: Extracted packet for processing {"connection_id":89754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:14:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:14: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-06-02 19: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-06-02 19:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:14:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:14:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":89754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:14:29] local.INFO: GPS data processed {"connection_id":89754,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:14:29] local.INFO: Acknowledgment sent {"connection_id":89754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:14:41] local.INFO: TCP Data received {"connection_id":89753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88938dc0012d18d440072108d8004200b72b..."} 
[2026-06-02 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88938dc0012d18d440072108d8004200b72b..."} 
[2026-06-02 19:14:41] local.INFO: Processing buffer {"connection_id":89753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88938dc0012d18d440072108d8004200b72b..."} 
[2026-06-02 19:14:41] local.INFO: Packet analysis {"connection_id":89753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8893"} 
[2026-06-02 19:14:41] local.INFO: Extracted packet for processing {"connection_id":89753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8893"} 
[2026-06-02 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119605464,"longitude_deg":75.660192,"latitude_deg":11.9605464,"altitude":66,"angle":183,"satellites":43,"speed":3,"hex_longitude":"2d18d440","hex_latitude":"072108d8","is_valid_coordinates":true} 
[2026-06-02 19:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784400384001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125452799260491776,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824586240,"note":"Value kept but may cause issues"} 
[2026-06-02 19:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780407832000,"timestamp_ms":1780407832000,"timestamp_seconds":1780407832,"priority":1,"record_length":96,"hex_timestamp":"0000019e88938dc0"} 
[2026-06-02 19:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 19:14:41] 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-06-02 19:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784400384001,"66":13656,"103":206,"83":41984,"24":3,"16":125452799260491776,"45":1789266088824586240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784400384001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:14:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125452799260491776,"km_value":125452799260491.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824586240,"description":"Unknown IO ID 45"} 
[2026-06-02 19:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784400384001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1789266088824586240}} 
[2026-06-02 19:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":89753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:14:41] local.INFO: GPS data processed {"connection_id":89753,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:14:41] local.INFO: Acknowledgment sent {"connection_id":89753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:15:00] local.INFO: TCP Data received {"connection_id":89754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:00] local.INFO: Processing buffer {"connection_id":89754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:00] local.INFO: Packet analysis {"connection_id":89754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:15:00] local.INFO: Extracted packet for processing {"connection_id":89754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:15:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:15: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-06-02 19: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-06-02 19:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:15:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:15:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":89754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:15:00] local.INFO: GPS data processed {"connection_id":89754,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:15:00] local.INFO: Acknowledgment sent {"connection_id":89754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:15:04] local.INFO: TCP Data received {"connection_id":90017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:04] local.INFO: Processing buffer {"connection_id":90017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:04] local.INFO: IMEI packet received {"connection_id":90017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":90017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:15:05] local.INFO: TCP Data received {"connection_id":90017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:05] local.INFO: Processing buffer {"connection_id":90017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:05] local.INFO: IMEI packet received {"connection_id":90017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":90017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:15:10] local.INFO: TCP Data received {"connection_id":90017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:10] local.INFO: Processing buffer {"connection_id":90017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:15:10] local.INFO: IMEI packet received {"connection_id":90017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":90017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:15:11] local.INFO: TCP Data received {"connection_id":90017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88939590012d18d44007210850004200a62b..."} 
[2026-06-02 19:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88939590012d18d44007210850004200a62b..."} 
[2026-06-02 19:15:11] local.INFO: Processing buffer {"connection_id":90017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88939590012d18d44007210850004200a62b..."} 
[2026-06-02 19:15:11] local.INFO: Packet analysis {"connection_id":90017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8893"} 
[2026-06-02 19:15:11] local.INFO: Extracted packet for processing {"connection_id":90017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8893"} 
[2026-06-02 19:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119605328,"longitude_deg":75.660192,"latitude_deg":11.9605328,"altitude":66,"angle":166,"satellites":43,"speed":3,"hex_longitude":"2d18d440","hex_latitude":"07210850","is_valid_coordinates":true} 
[2026-06-02 19:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784404992001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125452807850426368,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336105984,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780407834000,"timestamp_ms":1780407834000,"timestamp_seconds":1780407834,"priority":1,"record_length":96,"hex_timestamp":"0000019e88939590"} 
[2026-06-02 19:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-02 19:15:11] 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-06-02 19:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784404992001,"66":13656,"103":206,"83":41984,"24":3,"16":125452807850426368,"45":1789125351336105984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784404992001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:15:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125452807850426368,"km_value":125452807850426.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336105984,"description":"Unknown IO ID 45"} 
[2026-06-02 19:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784404992001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1789125351336105984}} 
[2026-06-02 19:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":90017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:15:11] local.INFO: GPS data processed {"connection_id":90017,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:15:11] local.INFO: Acknowledgment sent {"connection_id":90017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:15:23] local.INFO: TCP Data received {"connection_id":91186,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:15:23] local.INFO: Processing buffer {"connection_id":91186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:15:23] local.INFO: IMEI packet received {"connection_id":91186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":91186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:15:23] local.INFO: TCP Data received {"connection_id":91187,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:15:23] local.INFO: Processing buffer {"connection_id":91187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:15:23] local.INFO: IMEI packet received {"connection_id":91187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":91187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:15:28] local.INFO: TCP Data received {"connection_id":91187,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:15:28] local.INFO: Processing buffer {"connection_id":91187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:15:28] local.INFO: IMEI packet received {"connection_id":91187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":91187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:15:28] local.INFO: TCP Data received {"connection_id":91187,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:28] local.INFO: Processing buffer {"connection_id":91187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:28] local.INFO: Packet analysis {"connection_id":91187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:15:28] local.INFO: Extracted packet for processing {"connection_id":91187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:15:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:15: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-06-02 19: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-06-02 19:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:15: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-06-02 19:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:15:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":91187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:15:28] local.INFO: GPS data processed {"connection_id":91187,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:15:28] local.INFO: Acknowledgment sent {"connection_id":91187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:15:42] local.INFO: TCP Data received {"connection_id":90017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8893b8b8012d18d700072101680041009b2c..."} 
[2026-06-02 19:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8893b8b8012d18d700072101680041009b2c..."} 
[2026-06-02 19:15:42] local.INFO: Processing buffer {"connection_id":90017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8893b8b8012d18d700072101680041009b2c..."} 
[2026-06-02 19:15:42] local.INFO: Packet analysis {"connection_id":90017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8893"} 
[2026-06-02 19:15:42] local.INFO: Extracted packet for processing {"connection_id":90017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8893"} 
[2026-06-02 19:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603560,"longitude_deg":75.6602624,"latitude_deg":11.960356,"altitude":65,"angle":155,"satellites":44,"speed":21,"hex_longitude":"2d18d700","hex_latitude":"07210168","is_valid_coordinates":true} 
[2026-06-02 19:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784405504001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125452898044739584,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336071168,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15: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-06-02 19:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780407843000,"timestamp_ms":1780407843000,"timestamp_seconds":1780407843,"priority":1,"record_length":96,"hex_timestamp":"0000019e8893b8b8"} 
[2026-06-02 19:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-02 19:15: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-06-02 19:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784405504001,"66":13656,"103":206,"83":41984,"24":21,"16":125452898044739584,"45":1789125351336071168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-02 19:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784405504001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:15:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-02 19:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125452898044739584,"km_value":125452898044739.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336071168,"description":"Unknown IO ID 45"} 
[2026-06-02 19:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784405504001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1789125351336071168}} 
[2026-06-02 19:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":90017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:15:42] local.INFO: GPS data processed {"connection_id":90017,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:15:42] local.INFO: Acknowledgment sent {"connection_id":90017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:15:57] local.INFO: TCP Data received {"connection_id":89755,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:15:57] local.INFO: Processing buffer {"connection_id":89755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:15:57] local.INFO: IMEI packet received {"connection_id":89755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":89755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:15:59] local.INFO: TCP Data received {"connection_id":91187,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:59] local.INFO: Processing buffer {"connection_id":91187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:15:59] local.INFO: Packet analysis {"connection_id":91187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:15:59] local.INFO: Extracted packet for processing {"connection_id":91187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:15:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:15:59] 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-06-02 19:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:15:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:15:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":91187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:15:59] local.INFO: GPS data processed {"connection_id":91187,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:15:59] local.INFO: Acknowledgment sent {"connection_id":91187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:16:02] local.INFO: TCP Data received {"connection_id":90018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:02] local.INFO: Processing buffer {"connection_id":90018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:02] local.INFO: IMEI packet received {"connection_id":90018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":90018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:16:04] local.INFO: TCP Data received {"connection_id":90018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:04] local.INFO: Processing buffer {"connection_id":90018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:04] local.INFO: IMEI packet received {"connection_id":90018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":90018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:16:04] local.INFO: TCP Data received {"connection_id":90018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:04] local.INFO: Processing buffer {"connection_id":90018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:04] local.INFO: IMEI packet received {"connection_id":90018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":90018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:16:05] local.INFO: TCP Data received {"connection_id":90018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:05] local.INFO: Processing buffer {"connection_id":90018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:16:05] local.INFO: IMEI packet received {"connection_id":90018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":90018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:16:23] local.INFO: TCP Data received {"connection_id":90120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:16:23] local.INFO: Processing buffer {"connection_id":90120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:16:23] local.INFO: IMEI packet received {"connection_id":90120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":90120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:16:28] local.INFO: TCP Data received {"connection_id":90120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:16:28] local.INFO: Processing buffer {"connection_id":90120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:16:28] local.INFO: IMEI packet received {"connection_id":90120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":90120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:16:29] local.INFO: TCP Data received {"connection_id":90120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:16:29] local.INFO: Processing buffer {"connection_id":90120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:16:29] local.INFO: Packet analysis {"connection_id":90120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:16:29] local.INFO: Extracted packet for processing {"connection_id":90120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:16:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:16: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-06-02 19:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:16:29] 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-06-02 19:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:16:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":90120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:16:29] local.INFO: GPS data processed {"connection_id":90120,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:16:29] local.INFO: Acknowledgment sent {"connection_id":90120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:17:00] local.INFO: TCP Data received {"connection_id":90120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:00] local.INFO: Processing buffer {"connection_id":90120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:00] local.INFO: Packet analysis {"connection_id":90120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:17:00] local.INFO: Extracted packet for processing {"connection_id":90120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:17:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:17: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-06-02 19: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-06-02 19:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:17: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-06-02 19:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:17:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":90120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:17:00] local.INFO: GPS data processed {"connection_id":90120,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:17:00] local.INFO: Acknowledgment sent {"connection_id":90120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:17:28] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:17:28] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:17:28] local.INFO: IMEI packet received {"connection_id":89756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":89756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:17:33] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:17:33] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:17:33] local.INFO: IMEI packet received {"connection_id":89756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":89756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:17:34] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:34] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:34] local.INFO: Packet analysis {"connection_id":89756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:17:34] local.INFO: Extracted packet for processing {"connection_id":89756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:17:34] 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-06-02 19:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:17:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:17:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":89756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:17:34] local.INFO: GPS data processed {"connection_id":89756,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:17:34] local.INFO: Acknowledgment sent {"connection_id":89756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:17:38] local.INFO: TCP Data received {"connection_id":89756,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:38] local.INFO: Processing buffer {"connection_id":89756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:17:38] local.INFO: Packet analysis {"connection_id":89756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:17:38] local.INFO: Extracted packet for processing {"connection_id":89756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:17:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:17:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":89756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:17:38] local.INFO: GPS data processed {"connection_id":89756,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:17:38] local.INFO: Acknowledgment sent {"connection_id":89756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:18:23] local.INFO: TCP Data received {"connection_id":91189,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:18:23] local.INFO: Processing buffer {"connection_id":91189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:18:23] local.INFO: IMEI packet received {"connection_id":91189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":91189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:18:28] local.INFO: TCP Data received {"connection_id":91189,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:18:28] local.INFO: Processing buffer {"connection_id":91189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:18:28] local.INFO: IMEI packet received {"connection_id":91189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":91189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:18:29] local.INFO: TCP Data received {"connection_id":91189,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:18:29] local.INFO: Processing buffer {"connection_id":91189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8892e9b0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:18:29] local.INFO: Packet analysis {"connection_id":91189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:18:29] local.INFO: Extracted packet for processing {"connection_id":91189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8892"} 
[2026-06-02 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784317184001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780407790000,"timestamp_ms":1780407790000,"timestamp_seconds":1780407790,"priority":1,"record_length":96,"hex_timestamp":"0000019e8892e9b0"} 
[2026-06-02 19:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:18: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-06-02 19:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:18:29] 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-06-02 19:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784317184001,"66":25625,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784317184001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:18:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784317184001,"power":25625,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":91189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:18:29] local.INFO: GPS data processed {"connection_id":91189,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:18:29] local.INFO: Acknowledgment sent {"connection_id":91189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:19:00] local.INFO: TCP Data received {"connection_id":91189,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:19:00] local.INFO: Processing buffer {"connection_id":91189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:19:00] local.INFO: Packet analysis {"connection_id":91189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:19:00] local.INFO: Extracted packet for processing {"connection_id":91189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:19:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:19: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-06-02 19: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-06-02 19:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:19: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-06-02 19:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:19:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":91189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:19:00] local.INFO: GPS data processed {"connection_id":91189,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:19:00] local.INFO: Acknowledgment sent {"connection_id":91189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:19:23] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:19:23] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:19:23] local.INFO: IMEI packet received {"connection_id":90123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":90123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:19:28] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:19:28] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:19:28] local.INFO: IMEI packet received {"connection_id":90123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":90123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:19:29] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:19:29] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:19:29] local.INFO: Packet analysis {"connection_id":90123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:19:29] local.INFO: Extracted packet for processing {"connection_id":90123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:19:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:19: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-06-02 19: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-06-02 19:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:19:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":90123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:19:29] local.INFO: GPS data processed {"connection_id":90123,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:19:29] local.INFO: Acknowledgment sent {"connection_id":90123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:20:00] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:20:00] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:20:00] local.INFO: Packet analysis {"connection_id":90123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:20:00] local.INFO: Extracted packet for processing {"connection_id":90123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:20:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:20: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-06-02 19: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-06-02 19:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:20:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":90123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:20:00] local.INFO: GPS data processed {"connection_id":90123,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:20:00] local.INFO: Acknowledgment sent {"connection_id":90123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:20:23] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:20:23] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:20:23] local.INFO: IMEI packet received {"connection_id":89759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":89759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:20:28] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:20:28] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:20:28] local.INFO: IMEI packet received {"connection_id":89759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":89759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:20:29] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:20:29] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:20:29] local.INFO: Packet analysis {"connection_id":89759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:20:29] local.INFO: Extracted packet for processing {"connection_id":89759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 19:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 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-06-02 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:20: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-06-02 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-06-02 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-06-02 19:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:20:29] 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-06-02 19:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:20:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":89759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:20:29] local.INFO: GPS data processed {"connection_id":89759,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:20:29] local.INFO: Acknowledgment sent {"connection_id":89759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:21:00] local.INFO: TCP Data received {"connection_id":89759,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:21:00] local.INFO: Processing buffer {"connection_id":89759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:21:00] local.INFO: Packet analysis {"connection_id":89759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:21:00] local.INFO: Extracted packet for processing {"connection_id":89759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:21: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-06-02 19:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:21:00] 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-06-02 19:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:21:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":89759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:21:00] local.INFO: GPS data processed {"connection_id":89759,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:21:00] local.INFO: Acknowledgment sent {"connection_id":89759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:21:06] local.INFO: TCP Data received {"connection_id":90022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:21:06] local.INFO: Processing buffer {"connection_id":90022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:21:06] local.INFO: IMEI packet received {"connection_id":90022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":90022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:21:10] local.INFO: TCP Data received {"connection_id":90022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:21:10] local.INFO: Processing buffer {"connection_id":90022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:21:10] local.INFO: IMEI packet received {"connection_id":90022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":90022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:21:10] local.INFO: TCP Data received {"connection_id":90022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8896b658012d19cec0072018a80032008826..."} 
[2026-06-02 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8896b658012d19cec0072018a80032008826..."} 
[2026-06-02 19:21:10] local.INFO: Processing buffer {"connection_id":90022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8896b658012d19cec0072018a80032008826..."} 
[2026-06-02 19:21:10] local.INFO: Packet analysis {"connection_id":90022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8896"} 
[2026-06-02 19:21:10] local.INFO: Extracted packet for processing {"connection_id":90022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8896"} 
[2026-06-02 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":38,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784452608001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408039000,"timestamp_ms":1780408039000,"timestamp_seconds":1780408039,"priority":1,"record_length":96,"hex_timestamp":"0000019e8896b658"} 
[2026-06-02 19:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 19:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784452608001,"66":12428,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784452608001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784452608001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":90022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:21:11] local.INFO: GPS data processed {"connection_id":90022,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:21:11] local.INFO: Acknowledgment sent {"connection_id":90022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:21:13] local.INFO: TCP Data received {"connection_id":90021,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:21:13] local.INFO: Processing buffer {"connection_id":90021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:21:13] local.INFO: IMEI packet received {"connection_id":90021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":90021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:21:23] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:21:23] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:21:23] local.INFO: IMEI packet received {"connection_id":89760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":89760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:21:28] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:21:28] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:21:28] local.INFO: IMEI packet received {"connection_id":89760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":89760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:21:29] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:21:29] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:21:29] local.INFO: Packet analysis {"connection_id":89760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:21:29] local.INFO: Extracted packet for processing {"connection_id":89760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:21:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:21: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-06-02 19: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-06-02 19:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:21: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-06-02 19:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:21:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":89760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:21:29] local.INFO: GPS data processed {"connection_id":89760,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:21:29] local.INFO: Acknowledgment sent {"connection_id":89760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:21:42] local.INFO: TCP Data received {"connection_id":90022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88970860012d19cec0072018a80032008824..."} 
[2026-06-02 19:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88970860012d19cec0072018a80032008824..."} 
[2026-06-02 19:21:42] local.INFO: Processing buffer {"connection_id":90022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88970860012d19cec0072018a80032008824..."} 
[2026-06-02 19:21:42] local.INFO: Packet analysis {"connection_id":90022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:21:42] local.INFO: Extracted packet for processing {"connection_id":90022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":36,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784457984001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408060000,"timestamp_ms":1780408060000,"timestamp_seconds":1780408060,"priority":1,"record_length":96,"hex_timestamp":"0000019e88970860"} 
[2026-06-02 19:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-02 19:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784457984001,"66":12385,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784457984001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:21:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784457984001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":90022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:21:42] local.INFO: GPS data processed {"connection_id":90022,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:21:42] local.INFO: Acknowledgment sent {"connection_id":90022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:22:00] local.INFO: TCP Data received {"connection_id":89760,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:00] local.INFO: Processing buffer {"connection_id":89760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:00] local.INFO: Packet analysis {"connection_id":89760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:00] local.INFO: Extracted packet for processing {"connection_id":89760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:22: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-06-02 19:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:22: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-06-02 19:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:22:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":89760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:22:00] local.INFO: GPS data processed {"connection_id":89760,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:22:00] local.INFO: Acknowledgment sent {"connection_id":89760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:22:03] local.INFO: TCP Data received {"connection_id":91191,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:22:03] local.INFO: Processing buffer {"connection_id":91191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:22:03] local.INFO: IMEI packet received {"connection_id":91191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":91191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:22:09] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:09] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:09] local.INFO: IMEI packet received {"connection_id":89761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":89761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:22:09] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:09] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:09] local.INFO: IMEI packet received {"connection_id":89761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":89761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:22:15] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:15] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:22:15] local.INFO: IMEI packet received {"connection_id":89761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":89761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:22:16] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88975a68012d19cec0072018a8003200882a..."} 
[2026-06-02 19:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88975a68012d19cec0072018a8003200882a..."} 
[2026-06-02 19:22:16] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88975a68012d19cec0072018a8003200882a..."} 
[2026-06-02 19:22:16] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:16] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784463360001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22: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-06-02 19:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780408081000,"timestamp_ms":1780408081000,"timestamp_seconds":1780408081,"priority":1,"record_length":96,"hex_timestamp":"0000019e88975a68"} 
[2026-06-02 19:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 19:22: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-06-02 19:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784463360001,"66":12363,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784463360001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:22:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784463360001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:22:16] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:22:16] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:22:21] local.INFO: TCP Data received {"connection_id":89761,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8897ac70012d19cec0072018a8003200882a..."} 
[2026-06-02 19:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8897ac70012d19cec0072018a8003200882a..."} 
[2026-06-02 19:22:21] local.INFO: Processing buffer {"connection_id":89761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8897ac70012d19cec0072018a8003200882a..."} 
[2026-06-02 19:22:21] local.INFO: Packet analysis {"connection_id":89761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:21] local.INFO: Extracted packet for processing {"connection_id":89761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784468736001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1780408102000,"timestamp_ms":1780408102000,"timestamp_seconds":1780408102,"priority":1,"record_length":96,"hex_timestamp":"0000019e8897ac70"} 
[2026-06-02 19:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-02 19:22:21] 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-06-02 19: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-06-02 19:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":89761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":89761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784468736001,"66":12330,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784468736001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:22:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784468736001,"power":12330,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":89761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:22:21] local.INFO: GPS data processed {"connection_id":89761,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:22:21] local.INFO: Acknowledgment sent {"connection_id":89761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:22:28] local.INFO: TCP Data received {"connection_id":91192,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:22:28] local.INFO: Processing buffer {"connection_id":91192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:22:28] local.INFO: IMEI packet received {"connection_id":91192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":91192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:22:33] local.INFO: TCP Data received {"connection_id":91192,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:22:33] local.INFO: Processing buffer {"connection_id":91192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:22:33] local.INFO: IMEI packet received {"connection_id":91192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":91192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:22:34] local.INFO: TCP Data received {"connection_id":91192,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:34] local.INFO: Processing buffer {"connection_id":91192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:34] local.INFO: Packet analysis {"connection_id":91192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:34] local.INFO: Extracted packet for processing {"connection_id":91192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:22:34] 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-06-02 19:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:22:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:22:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":91192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:22:34] local.INFO: GPS data processed {"connection_id":91192,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:22:34] local.INFO: Acknowledgment sent {"connection_id":91192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:22:38] local.INFO: TCP Data received {"connection_id":91192,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:38] local.INFO: Processing buffer {"connection_id":91192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:22:38] local.INFO: Packet analysis {"connection_id":91192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:38] local.INFO: Extracted packet for processing {"connection_id":91192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:22:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:22:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":91192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:22:38] local.INFO: GPS data processed {"connection_id":91192,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:22:38] local.INFO: Acknowledgment sent {"connection_id":91192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:23:05] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:23:05] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:23:05] local.INFO: IMEI packet received {"connection_id":90024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":90024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:23:10] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:23:10] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:23:10] local.INFO: IMEI packet received {"connection_id":90024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":90024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:23:10] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8897fe78012d19cec0072018a8003200882a..."} 
[2026-06-02 19:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8897fe78012d19cec0072018a8003200882a..."} 
[2026-06-02 19:23:10] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8897fe78012d19cec0072018a8003200882a..."} 
[2026-06-02 19:23:10] local.INFO: Packet analysis {"connection_id":90024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:23:10] local.INFO: Extracted packet for processing {"connection_id":90024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784474112001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408123000,"timestamp_ms":1780408123000,"timestamp_seconds":1780408123,"priority":1,"record_length":96,"hex_timestamp":"0000019e8897fe78"} 
[2026-06-02 19:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-02 19:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784474112001,"66":12254,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784474112001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:23:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784474112001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":90024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:23:11] local.INFO: GPS data processed {"connection_id":90024,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:23:11] local.INFO: Acknowledgment sent {"connection_id":90024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:23:23] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:23:23] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:23:23] local.INFO: IMEI packet received {"connection_id":90025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":90025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:23:28] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:23:28] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:23:28] local.INFO: IMEI packet received {"connection_id":90025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":90025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:23:29] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:23:29] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:23:29] local.INFO: Packet analysis {"connection_id":90025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:23:29] local.INFO: Extracted packet for processing {"connection_id":90025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:23:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:23: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-06-02 19: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-06-02 19:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:23:29] 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-06-02 19:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:23:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":90025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:23:29] local.INFO: GPS data processed {"connection_id":90025,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:23:29] local.INFO: Acknowledgment sent {"connection_id":90025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:23:33] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:23:33] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88978178012cb29ac007823b00004900d92b..."} 
[2026-06-02 19:23:33] local.INFO: Packet analysis {"connection_id":90025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:23:33] local.INFO: Extracted packet for processing {"connection_id":90025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8897"} 
[2026-06-02 19:23:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784394240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780408091000,"timestamp_ms":1780408091000,"timestamp_seconds":1780408091,"priority":1,"record_length":96,"hex_timestamp":"0000019e88978178"} 
[2026-06-02 19:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:23: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-06-02 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-02 19:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:23:33] 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-06-02 19:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784394240001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784394240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:23:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:23:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784394240001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":90025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:23:33] local.INFO: GPS data processed {"connection_id":90025,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:23:33] local.INFO: Acknowledgment sent {"connection_id":90025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:23:42] local.INFO: TCP Data received {"connection_id":90024,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88985080012d19cec0072018a80032008828..."} 
[2026-06-02 19:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88985080012d19cec0072018a80032008828..."} 
[2026-06-02 19:23:42] local.INFO: Processing buffer {"connection_id":90024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88985080012d19cec0072018a80032008828..."} 
[2026-06-02 19:23:42] local.INFO: Packet analysis {"connection_id":90024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8898"} 
[2026-06-02 19:23:42] local.INFO: Extracted packet for processing {"connection_id":90024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8898"} 
[2026-06-02 19:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784479488001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408144000,"timestamp_ms":1780408144000,"timestamp_seconds":1780408144,"priority":1,"record_length":96,"hex_timestamp":"0000019e88985080"} 
[2026-06-02 19:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 19:23:42] 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-06-02 19:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784479488001,"66":12287,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784479488001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:23:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784479488001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":90024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:23:42] local.INFO: GPS data processed {"connection_id":90024,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:23:42] local.INFO: Acknowledgment sent {"connection_id":90024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:24:04] local.INFO: TCP Data received {"connection_id":90025,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:24:04] local.INFO: Processing buffer {"connection_id":90025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:24:04] local.INFO: Packet analysis {"connection_id":90025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:24:04] local.INFO: Extracted packet for processing {"connection_id":90025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:24:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:24:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":90025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:24:04] local.INFO: GPS data processed {"connection_id":90025,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:24:04] local.INFO: Acknowledgment sent {"connection_id":90025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:24:05] local.INFO: TCP Data received {"connection_id":91194,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:24:05] local.INFO: Processing buffer {"connection_id":91194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:24:05] local.INFO: IMEI packet received {"connection_id":91194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":91194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:24:10] local.INFO: TCP Data received {"connection_id":91194,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:24:10] local.INFO: Processing buffer {"connection_id":91194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:24:10] local.INFO: IMEI packet received {"connection_id":91194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":91194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:24:10] local.INFO: TCP Data received {"connection_id":91194,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e8898a288012d19cec0072018a8003200882b..."} 
[2026-06-02 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8898a288012d19cec0072018a8003200882b..."} 
[2026-06-02 19:24:10] local.INFO: Processing buffer {"connection_id":91194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8898a288012d19cec0072018a8003200882b..."} 
[2026-06-02 19:24:10] local.INFO: Packet analysis {"connection_id":91194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8898"} 
[2026-06-02 19:24:10] local.INFO: Extracted packet for processing {"connection_id":91194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8898"} 
[2026-06-02 19:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":43,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784484864001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408165000,"timestamp_ms":1780408165000,"timestamp_seconds":1780408165,"priority":1,"record_length":96,"hex_timestamp":"0000019e8898a288"} 
[2026-06-02 19:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-02 19:24:10] 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-06-02 19:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784484864001,"66":12265,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784484864001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:24:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784484864001,"power":12265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":91194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:24:11] local.INFO: GPS data processed {"connection_id":91194,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:24:11] local.INFO: Acknowledgment sent {"connection_id":91194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:24:23] local.INFO: TCP Data received {"connection_id":91195,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:24:23] local.INFO: Processing buffer {"connection_id":91195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:24:23] local.INFO: IMEI packet received {"connection_id":91195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":91195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:24:28] local.INFO: TCP Data received {"connection_id":91195,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:24:28] local.INFO: Processing buffer {"connection_id":91195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:24:28] local.INFO: IMEI packet received {"connection_id":91195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":91195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:24:29] local.INFO: TCP Data received {"connection_id":91195,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:24:29] local.INFO: Processing buffer {"connection_id":91195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:24:29] local.INFO: Packet analysis {"connection_id":91195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:24:29] local.INFO: Extracted packet for processing {"connection_id":91195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:24: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-06-02 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:24:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":91195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:24:29] local.INFO: GPS data processed {"connection_id":91195,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:24:29] local.INFO: Acknowledgment sent {"connection_id":91195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:24:42] local.INFO: TCP Data received {"connection_id":91194,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c28e0012d19cec0072018a80032008829..."} 
[2026-06-02 19:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c28e0012d19cec0072018a80032008829..."} 
[2026-06-02 19:24:42] local.INFO: Processing buffer {"connection_id":91194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c28e0012d19cec0072018a80032008829..."} 
[2026-06-02 19:24:42] local.INFO: Packet analysis {"connection_id":91194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:24:42] local.INFO: Extracted packet for processing {"connection_id":91194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":41,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784544000001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408396000,"timestamp_ms":1780408396000,"timestamp_seconds":1780408396,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c28e0"} 
[2026-06-02 19:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 19:24:42] 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-06-02 19:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784544000001,"66":12254,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784544000001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784544000001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":91194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:24:42] local.INFO: GPS data processed {"connection_id":91194,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:24:42] local.INFO: Acknowledgment sent {"connection_id":91194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:25:00] local.INFO: TCP Data received {"connection_id":91195,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:25:00] local.INFO: Processing buffer {"connection_id":91195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:25:00] local.INFO: Packet analysis {"connection_id":91195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:00] local.INFO: Extracted packet for processing {"connection_id":91195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:25: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-06-02 19:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:25:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":91195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:25:00] local.INFO: GPS data processed {"connection_id":91195,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:25:00] local.INFO: Acknowledgment sent {"connection_id":91195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:25:05] local.INFO: TCP Data received {"connection_id":89763,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:25:05] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:25:05] local.INFO: IMEI packet received {"connection_id":89763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":89763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:25:10] local.INFO: TCP Data received {"connection_id":89763,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:25:10] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:25:10] local.INFO: IMEI packet received {"connection_id":89763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":89763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:25:11] local.INFO: TCP Data received {"connection_id":89763,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c7ae8012d19cec0072018a80032008828..."} 
[2026-06-02 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c7ae8012d19cec0072018a80032008828..."} 
[2026-06-02 19:25:11] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c7ae8012d19cec0072018a80032008828..."} 
[2026-06-02 19:25:11] local.INFO: Packet analysis {"connection_id":89763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:11] local.INFO: Extracted packet for processing {"connection_id":89763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784549376001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780408417000,"timestamp_ms":1780408417000,"timestamp_seconds":1780408417,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c7ae8"} 
[2026-06-02 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-02 19:25:11] 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-06-02 19:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784549376001,"66":12232,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784549376001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:25:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784549376001,"power":12232,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":89763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:25:11] local.INFO: GPS data processed {"connection_id":89763,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:25:11] local.INFO: Acknowledgment sent {"connection_id":89763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:25:23] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:25:23] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:25:23] local.INFO: IMEI packet received {"connection_id":90125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":90125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:25:28] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:25:28] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:25:28] local.INFO: IMEI packet received {"connection_id":90125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":90125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:25:29] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:25:29] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:25:29] local.INFO: Packet analysis {"connection_id":90125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:29] local.INFO: Extracted packet for processing {"connection_id":90125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:25:29] 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-06-02 19:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:25:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":90125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:25:29] local.INFO: GPS data processed {"connection_id":90125,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:25:29] local.INFO: Acknowledgment sent {"connection_id":90125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:25:42] local.INFO: TCP Data received {"connection_id":89763,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889cccf0012d19cec0072018a80032008822..."} 
[2026-06-02 19:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889cccf0012d19cec0072018a80032008822..."} 
[2026-06-02 19:25:42] local.INFO: Processing buffer {"connection_id":89763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889cccf0012d19cec0072018a80032008822..."} 
[2026-06-02 19:25:42] local.INFO: Packet analysis {"connection_id":89763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:42] local.INFO: Extracted packet for processing {"connection_id":89763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":34,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784554752001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408438000,"timestamp_ms":1780408438000,"timestamp_seconds":1780408438,"priority":1,"record_length":96,"hex_timestamp":"0000019e889cccf0"} 
[2026-06-02 19:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 19:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784554752001,"66":12156,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784554752001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:25:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784554752001,"power":12156,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":89763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:25:42] local.INFO: GPS data processed {"connection_id":89763,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:25:42] local.INFO: Acknowledgment sent {"connection_id":89763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:26:00] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:26:00] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:26:00] local.INFO: Packet analysis {"connection_id":90125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:26:00] local.INFO: Extracted packet for processing {"connection_id":90125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:26:00] 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-06-02 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:26:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":90125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:26:00] local.INFO: GPS data processed {"connection_id":90125,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:26:00] local.INFO: Acknowledgment sent {"connection_id":90125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:26:05] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:26:05] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:26:05] local.INFO: IMEI packet received {"connection_id":90026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":90026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:26:10] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:26:10] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:26:10] local.INFO: IMEI packet received {"connection_id":90026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":90026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:26:10] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889d1ef8012d19cec0072018a80032008825..."} 
[2026-06-02 19:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889d1ef8012d19cec0072018a80032008825..."} 
[2026-06-02 19:26:10] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889d1ef8012d19cec0072018a80032008825..."} 
[2026-06-02 19:26:10] local.INFO: Packet analysis {"connection_id":90026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889d"} 
[2026-06-02 19:26:10] local.INFO: Extracted packet for processing {"connection_id":90026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889d"} 
[2026-06-02 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":37,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784560128001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408459000,"timestamp_ms":1780408459000,"timestamp_seconds":1780408459,"priority":1,"record_length":96,"hex_timestamp":"0000019e889d1ef8"} 
[2026-06-02 19:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 19:26: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-06-02 19:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784560128001,"66":12156,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784560128001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:26:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784560128001,"power":12156,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":90026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:26:11] local.INFO: GPS data processed {"connection_id":90026,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:26:11] local.INFO: Acknowledgment sent {"connection_id":90026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:26:23] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:26:23] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:26:23] local.INFO: IMEI packet received {"connection_id":90127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":90127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:26:28] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:26:28] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:26:28] local.INFO: IMEI packet received {"connection_id":90127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":90127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:26:29] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:26:29] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:26:29] local.INFO: Packet analysis {"connection_id":90127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:26:29] local.INFO: Extracted packet for processing {"connection_id":90127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:26:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:26:29] 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-06-02 19:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:26:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":90127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:26:29] local.INFO: GPS data processed {"connection_id":90127,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:26:29] local.INFO: Acknowledgment sent {"connection_id":90127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:26:42] local.INFO: TCP Data received {"connection_id":90026,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889d7100012d19cec0072018a80032008824..."} 
[2026-06-02 19:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889d7100012d19cec0072018a80032008824..."} 
[2026-06-02 19:26:42] local.INFO: Processing buffer {"connection_id":90026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889d7100012d19cec0072018a80032008824..."} 
[2026-06-02 19:26:42] local.INFO: Packet analysis {"connection_id":90026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889d"} 
[2026-06-02 19:26:42] local.INFO: Extracted packet for processing {"connection_id":90026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889d"} 
[2026-06-02 19:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":36,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784565504001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408480000,"timestamp_ms":1780408480000,"timestamp_seconds":1780408480,"priority":1,"record_length":96,"hex_timestamp":"0000019e889d7100"} 
[2026-06-02 19:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-02 19:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784565504001,"66":12211,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784565504001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:26:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784565504001,"power":12211,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":90026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:26:42] local.INFO: GPS data processed {"connection_id":90026,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:26:42] local.INFO: Acknowledgment sent {"connection_id":90026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:27:00] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:27:00] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:27:00] local.INFO: Packet analysis {"connection_id":90127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:27:00] local.INFO: Extracted packet for processing {"connection_id":90127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:27:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:27:00] 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-06-02 19:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:27:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":90127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:27:00] local.INFO: GPS data processed {"connection_id":90127,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:27:00] local.INFO: Acknowledgment sent {"connection_id":90127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:27:04] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:27:04] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:27:04] local.INFO: IMEI packet received {"connection_id":89765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":89765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:27:10] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:27:10] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:27:10] local.INFO: IMEI packet received {"connection_id":89765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":89765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:27:10] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889dc308012d19cec0072018a80032008827..."} 
[2026-06-02 19:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889dc308012d19cec0072018a80032008827..."} 
[2026-06-02 19:27:10] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889dc308012d19cec0072018a80032008827..."} 
[2026-06-02 19:27:10] local.INFO: Packet analysis {"connection_id":89765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889d"} 
[2026-06-02 19:27:10] local.INFO: Extracted packet for processing {"connection_id":89765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889d"} 
[2026-06-02 19:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":39,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784570880001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408501000,"timestamp_ms":1780408501000,"timestamp_seconds":1780408501,"priority":1,"record_length":96,"hex_timestamp":"0000019e889dc308"} 
[2026-06-02 19:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 19:27:10] 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-06-02 19:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784570880001,"66":12200,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784570880001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:27:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784570880001,"power":12200,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":89765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:27:11] local.INFO: GPS data processed {"connection_id":89765,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:27:11] local.INFO: Acknowledgment sent {"connection_id":89765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:27:18] local.INFO: TCP Data received {"connection_id":89764,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:27:18] local.INFO: Processing buffer {"connection_id":89764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:27:18] local.INFO: IMEI packet received {"connection_id":89764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":89764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:27:23] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:27:23] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:27:23] local.INFO: IMEI packet received {"connection_id":90027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":90027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:27:28] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:27:28] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:27:28] local.INFO: IMEI packet received {"connection_id":90027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":90027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:27:29] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:27:29] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:27:29] local.INFO: Packet analysis {"connection_id":90027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:27:29] local.INFO: Extracted packet for processing {"connection_id":90027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:27:29] 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-06-02 19:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:27:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":90027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:27:29] local.INFO: GPS data processed {"connection_id":90027,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:27:29] local.INFO: Acknowledgment sent {"connection_id":90027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:27:42] local.INFO: TCP Data received {"connection_id":89765,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889e1510012d19cec0072018a80032008828..."} 
[2026-06-02 19:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889e1510012d19cec0072018a80032008828..."} 
[2026-06-02 19:27:42] local.INFO: Processing buffer {"connection_id":89765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889e1510012d19cec0072018a80032008828..."} 
[2026-06-02 19:27:42] local.INFO: Packet analysis {"connection_id":89765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889e"} 
[2026-06-02 19:27:42] local.INFO: Extracted packet for processing {"connection_id":89765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889e"} 
[2026-06-02 19:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784576256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408522000,"timestamp_ms":1780408522000,"timestamp_seconds":1780408522,"priority":1,"record_length":96,"hex_timestamp":"0000019e889e1510"} 
[2026-06-02 19:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-02 19:27:42] 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-06-02 19: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-06-02 19:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784576256001,"66":12232,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784576256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:27:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784576256001,"power":12232,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":89765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:27:42] local.INFO: GPS data processed {"connection_id":89765,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:27:42] local.INFO: Acknowledgment sent {"connection_id":89765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:28:00] local.INFO: TCP Data received {"connection_id":90027,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:00] local.INFO: Processing buffer {"connection_id":90027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:00] local.INFO: Packet analysis {"connection_id":90027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:28:00] local.INFO: Extracted packet for processing {"connection_id":90027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:28:00] 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-06-02 19:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:28:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":90027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:28:00] local.INFO: GPS data processed {"connection_id":90027,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:28:00] local.INFO: Acknowledgment sent {"connection_id":90027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:28:03] local.INFO: TCP Data received {"connection_id":90028,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:28:03] local.INFO: Processing buffer {"connection_id":90028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:28:03] local.INFO: IMEI packet received {"connection_id":90028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":90028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:28:05] local.INFO: TCP Data received {"connection_id":90128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:05] local.INFO: Processing buffer {"connection_id":90128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:05] local.INFO: IMEI packet received {"connection_id":90128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":90128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:28:10] local.INFO: TCP Data received {"connection_id":90128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:10] local.INFO: Processing buffer {"connection_id":90128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:10] local.INFO: IMEI packet received {"connection_id":90128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":90128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:28:15] local.INFO: TCP Data received {"connection_id":90128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:15] local.INFO: Processing buffer {"connection_id":90128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:28:15] local.INFO: IMEI packet received {"connection_id":90128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":90128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:28:16] local.INFO: TCP Data received {"connection_id":90128,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889e6718012d19cec0072018a80032008827..."} 
[2026-06-02 19:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889e6718012d19cec0072018a80032008827..."} 
[2026-06-02 19:28:16] local.INFO: Processing buffer {"connection_id":90128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889e6718012d19cec0072018a80032008827..."} 
[2026-06-02 19:28:16] local.INFO: Packet analysis {"connection_id":90128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889e"} 
[2026-06-02 19:28:16] local.INFO: Extracted packet for processing {"connection_id":90128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889e"} 
[2026-06-02 19:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":39,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784581632001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28: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-06-02 19:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780408543000,"timestamp_ms":1780408543000,"timestamp_seconds":1780408543,"priority":1,"record_length":96,"hex_timestamp":"0000019e889e6718"} 
[2026-06-02 19:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-02 19:28:16] 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-06-02 19:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784581632001,"66":12211,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784581632001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:28:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784581632001,"power":12211,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":90128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:28:16] local.INFO: GPS data processed {"connection_id":90128,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:28:16] local.INFO: Acknowledgment sent {"connection_id":90128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:28:20] local.INFO: TCP Data received {"connection_id":90128,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889eb920012d19cec0072018a80032008825..."} 
[2026-06-02 19:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889eb920012d19cec0072018a80032008825..."} 
[2026-06-02 19:28:20] local.INFO: Processing buffer {"connection_id":90128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889eb920012d19cec0072018a80032008825..."} 
[2026-06-02 19:28:20] local.INFO: Packet analysis {"connection_id":90128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889e"} 
[2026-06-02 19:28:20] local.INFO: Extracted packet for processing {"connection_id":90128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889e"} 
[2026-06-02 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":37,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784587008001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28: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-06-02 19:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780408564000,"timestamp_ms":1780408564000,"timestamp_seconds":1780408564,"priority":1,"record_length":96,"hex_timestamp":"0000019e889eb920"} 
[2026-06-02 19:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 19:28:20] 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-06-02 19:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784587008001,"66":12211,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784587008001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:28:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784587008001,"power":12211,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":90128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:28:20] local.INFO: GPS data processed {"connection_id":90128,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:28:20] local.INFO: Acknowledgment sent {"connection_id":90128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:28:28] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:28:28] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:28:28] local.INFO: IMEI packet received {"connection_id":89766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":89766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:28:33] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:28:33] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:28:33] local.INFO: IMEI packet received {"connection_id":89766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":89766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:28:34] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:34] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:34] local.INFO: Packet analysis {"connection_id":89766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:28:34] local.INFO: Extracted packet for processing {"connection_id":89766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:28:34] 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-06-02 19:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:28:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":89766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:28:34] local.INFO: GPS data processed {"connection_id":89766,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:28:34] local.INFO: Acknowledgment sent {"connection_id":89766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:28:38] local.INFO: TCP Data received {"connection_id":89766,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:38] local.INFO: Processing buffer {"connection_id":89766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889c1940012cb29ac007823b00004900d92a..."} 
[2026-06-02 19:28:38] local.INFO: Packet analysis {"connection_id":89766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:28:38] local.INFO: Extracted packet for processing {"connection_id":89766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889c"} 
[2026-06-02 19:28:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784471296001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780408392000,"timestamp_ms":1780408392000,"timestamp_seconds":1780408392,"priority":1,"record_length":96,"hex_timestamp":"0000019e889c1940"} 
[2026-06-02 19:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:28: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-06-02 19:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784471296001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784471296001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:28:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:28:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784471296001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":89766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:28:38] local.INFO: GPS data processed {"connection_id":89766,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:28:38] local.INFO: Acknowledgment sent {"connection_id":89766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:29:03] local.INFO: TCP Data received {"connection_id":91196,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:03] local.INFO: Processing buffer {"connection_id":91196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:03] local.INFO: IMEI packet received {"connection_id":91196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":91196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:29:04] local.INFO: TCP Data received {"connection_id":91196,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:04] local.INFO: Processing buffer {"connection_id":91196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:04] local.INFO: IMEI packet received {"connection_id":91196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":91196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:29:09] local.INFO: TCP Data received {"connection_id":91196,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:09] local.INFO: Processing buffer {"connection_id":91196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:29:09] local.INFO: IMEI packet received {"connection_id":91196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":91196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:29:10] local.INFO: TCP Data received {"connection_id":91196,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e889f0b28012d19cec0072018a80032008828..."} 
[2026-06-02 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e889f0b28012d19cec0072018a80032008828..."} 
[2026-06-02 19:29:10] local.INFO: Processing buffer {"connection_id":91196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e889f0b28012d19cec0072018a80032008828..."} 
[2026-06-02 19:29:10] local.INFO: Packet analysis {"connection_id":91196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e889f"} 
[2026-06-02 19:29:10] local.INFO: Extracted packet for processing {"connection_id":91196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e889f"} 
[2026-06-02 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543976,"longitude_deg":75.6666048,"latitude_deg":11.9543976,"altitude":50,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"072018a8","is_valid_coordinates":true} 
[2026-06-02 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784592384001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458043415560192,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986384384,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408585000,"timestamp_ms":1780408585000,"timestamp_seconds":1780408585,"priority":1,"record_length":96,"hex_timestamp":"0000019e889f0b28"} 
[2026-06-02 19:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-02 19:29:10] 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-06-02 19:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784592384001,"66":12232,"101":206,"83":41984,"24":0,"16":125458043415560192,"45":1859634832986384384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784592384001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:29:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458043415560192,"km_value":125458043415560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986384384,"description":"Unknown IO ID 45"} 
[2026-06-02 19:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784592384001,"power":12232,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859634832986384384}} 
[2026-06-02 19:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":91196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:29:10] local.INFO: GPS data processed {"connection_id":91196,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:29:10] local.INFO: Acknowledgment sent {"connection_id":91196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:29:23] local.INFO: TCP Data received {"connection_id":90129,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:29:23] local.INFO: Processing buffer {"connection_id":90129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:29:23] local.INFO: IMEI packet received {"connection_id":90129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":90129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:29:28] local.INFO: TCP Data received {"connection_id":90129,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:29:28] local.INFO: Processing buffer {"connection_id":90129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:29:28] local.INFO: IMEI packet received {"connection_id":90129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":90129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:29:28] local.INFO: TCP Data received {"connection_id":90129,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:29:28] local.INFO: Processing buffer {"connection_id":90129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:29:28] local.INFO: Packet analysis {"connection_id":90129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:29:28] local.INFO: Extracted packet for processing {"connection_id":90129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:29:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:29: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-06-02 19:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:29:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:29:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":90129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:29:28] local.INFO: GPS data processed {"connection_id":90129,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:29:28] local.INFO: Acknowledgment sent {"connection_id":90129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:29:41] local.INFO: TCP Data received {"connection_id":91196,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a14d48012d19ca80071ff218003300ea28..."} 
[2026-06-02 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a14d48012d19ca80071ff218003300ea28..."} 
[2026-06-02 19:29:41] local.INFO: Processing buffer {"connection_id":91196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a14d48012d19ca80071ff218003300ea28..."} 
[2026-06-02 19:29:41] local.INFO: Packet analysis {"connection_id":91196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a1"} 
[2026-06-02 19:29:41] local.INFO: Extracted packet for processing {"connection_id":91196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a1"} 
[2026-06-02 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119534104,"longitude_deg":75.666496,"latitude_deg":11.9534104,"altitude":51,"angle":234,"satellites":40,"speed":15,"hex_longitude":"2d19ca80","hex_latitude":"071ff218","is_valid_coordinates":true} 
[2026-06-02 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784635392001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458726315360256,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408053784576,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780408733000,"timestamp_ms":1780408733000,"timestamp_seconds":1780408733,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a14d48"} 
[2026-06-02 19:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-02 19:29:41] 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-06-02 19:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784635392001,"66":13515,"101":206,"83":41984,"24":15,"16":125458726315360256,"45":1858790408053784576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784635392001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:29:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458726315360256,"km_value":125458726315360.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408053784576,"description":"Unknown IO ID 45"} 
[2026-06-02 19:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784635392001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858790408053784576}} 
[2026-06-02 19:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":91196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:29:41] local.INFO: GPS data processed {"connection_id":91196,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:29:41] local.INFO: Acknowledgment sent {"connection_id":91196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:29:59] local.INFO: TCP Data received {"connection_id":90129,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:29:59] local.INFO: Processing buffer {"connection_id":90129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:29:59] local.INFO: Packet analysis {"connection_id":90129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:29:59] local.INFO: Extracted packet for processing {"connection_id":90129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:29:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 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-06-02 19:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 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-06-02 19:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:29:59] 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-06-02 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-06-02 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-06-02 19:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:29:59] 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-06-02 19:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:29:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":90129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:29:59] local.INFO: GPS data processed {"connection_id":90129,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:29:59] local.INFO: Acknowledgment sent {"connection_id":90129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:30:04] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:04] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:04] local.INFO: IMEI packet received {"connection_id":90029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":90029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:30:05] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:05] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:05] local.INFO: IMEI packet received {"connection_id":90029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":90029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:30:06] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:06] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:30:06] local.INFO: IMEI packet received {"connection_id":90029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":90029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:30:07] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a15130012d19c940071ff158003300f626..."} 
[2026-06-02 19:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a15130012d19c940071ff158003300f626..."} 
[2026-06-02 19:30:07] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a15130012d19c940071ff158003300f626..."} 
[2026-06-02 19:30:07] local.INFO: Packet analysis {"connection_id":90029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a1"} 
[2026-06-02 19:30:07] local.INFO: Extracted packet for processing {"connection_id":90029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a1"} 
[2026-06-02 19:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119533912,"longitude_deg":75.666464,"latitude_deg":11.9533912,"altitude":51,"angle":246,"satellites":38,"speed":16,"hex_longitude":"2d19c940","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-06-02 19:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784635648001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458743495229440,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564332836864,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780408734000,"timestamp_ms":1780408734000,"timestamp_seconds":1780408734,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a15130"} 
[2026-06-02 19:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-02 19:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784635648001,"66":13276,"101":206,"83":41984,"24":16,"16":125458743495229440,"45":1858438564332836864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784635648001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:30:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458743495229440,"km_value":125458743495229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564332836864,"description":"Unknown IO ID 45"} 
[2026-06-02 19:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784635648001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858438564332836864}} 
[2026-06-02 19:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":90029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:30:07] local.INFO: GPS data processed {"connection_id":90029,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:30:07] local.INFO: Acknowledgment sent {"connection_id":90029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:30:10] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a15518012d19c780071ff0d80033010227..."} 
[2026-06-02 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a15518012d19c780071ff0d80033010227..."} 
[2026-06-02 19:30:10] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a15518012d19c780071ff0d80033010227..."} 
[2026-06-02 19:30:10] local.INFO: Packet analysis {"connection_id":90029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a1"} 
[2026-06-02 19:30:10] local.INFO: Extracted packet for processing {"connection_id":90029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a1"} 
[2026-06-02 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119533784,"longitude_deg":75.6664192,"latitude_deg":11.9533784,"altitude":51,"angle":258,"satellites":39,"speed":18,"hex_longitude":"2d19c780","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-06-02 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784635904001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125458764970065920,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720611899392,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408735000,"timestamp_ms":1780408735000,"timestamp_seconds":1780408735,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a15518"} 
[2026-06-02 19:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-02 19:30: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-06-02 19:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784635904001,"66":13276,"101":206,"83":41984,"24":18,"16":125458764970065920,"45":1858086720611899392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-02 19:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784635904001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:30:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-02 19:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125458764970065920,"km_value":125458764970065.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720611899392,"description":"Unknown IO ID 45"} 
[2026-06-02 19:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784635904001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858086720611899392}} 
[2026-06-02 19:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":90029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:30:10] local.INFO: GPS data processed {"connection_id":90029,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:30:10] local.INFO: Acknowledgment sent {"connection_id":90029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:30:23] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:30:23] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:30:23] local.INFO: IMEI packet received {"connection_id":89768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":89768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:30:28] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:30:28] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:30:28] local.INFO: IMEI packet received {"connection_id":89768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":89768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:30:29] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:30:29] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:30:29] local.INFO: Packet analysis {"connection_id":89768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:30:29] local.INFO: Extracted packet for processing {"connection_id":89768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:30:29] 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-06-02 19:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":89768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:30:29] local.INFO: GPS data processed {"connection_id":89768,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:30:29] local.INFO: Acknowledgment sent {"connection_id":89768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:30:42] local.INFO: TCP Data received {"connection_id":90029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a24748012d1969c0071fec20003a01122b..."} 
[2026-06-02 19:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a24748012d1969c0071fec20003a01122b..."} 
[2026-06-02 19:30:42] local.INFO: Processing buffer {"connection_id":90029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a24748012d1969c0071fec20003a01122b..."} 
[2026-06-02 19:30:42] local.INFO: Packet analysis {"connection_id":90029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:30:42] local.INFO: Extracted packet for processing {"connection_id":90029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532576,"longitude_deg":75.6640192,"latitude_deg":11.9532576,"altitude":58,"angle":274,"satellites":43,"speed":6,"hex_longitude":"2d1969c0","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784651264001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125459941791105024,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441544949760,"note":"Value kept but may cause issues"} 
[2026-06-02 19:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408797000,"timestamp_ms":1780408797000,"timestamp_seconds":1780408797,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a24748"} 
[2026-06-02 19:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 19:30:42] 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-06-02 19: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-06-02 19:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784651264001,"66":13091,"102":206,"83":41984,"24":6,"16":125459941791105024,"45":1831698441544949760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784651264001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:30:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125459941791105024,"km_value":125459941791105.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441544949760,"description":"Unknown IO ID 45"} 
[2026-06-02 19:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784651264001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831698441544949760}} 
[2026-06-02 19:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":90029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:30:42] local.INFO: GPS data processed {"connection_id":90029,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:30:42] local.INFO: Acknowledgment sent {"connection_id":90029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:31:00] local.INFO: TCP Data received {"connection_id":89768,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:31:00] local.INFO: Processing buffer {"connection_id":89768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:31:00] local.INFO: Packet analysis {"connection_id":89768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:31:00] local.INFO: Extracted packet for processing {"connection_id":89768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:31:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:31:00] 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-06-02 19: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-06-02 19:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:31:00] 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-06-02 19:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:31:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":89768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:31:00] local.INFO: GPS data processed {"connection_id":89768,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:31:00] local.INFO: Acknowledgment sent {"connection_id":89768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:31:02] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:02] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:02] local.INFO: IMEI packet received {"connection_id":90030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":90030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:31:04] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:04] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:04] local.INFO: IMEI packet received {"connection_id":90030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":90030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:31:10] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:10] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:31:10] local.INFO: IMEI packet received {"connection_id":90030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":90030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:31:11] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a24b30012d1968c0071fec48003a01222b..."} 
[2026-06-02 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a24b30012d1968c0071fec48003a01222b..."} 
[2026-06-02 19:31:11] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a24b30012d1968c0071fec48003a01222b..."} 
[2026-06-02 19:31:11] local.INFO: Packet analysis {"connection_id":90030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:31:11] local.INFO: Extracted packet for processing {"connection_id":90030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532616,"longitude_deg":75.6639936,"latitude_deg":11.9532616,"altitude":58,"angle":290,"satellites":43,"speed":5,"hex_longitude":"2d1968c0","hex_latitude":"071fec48","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784652032001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125459954676006912,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335689728,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780408798000,"timestamp_ms":1780408798000,"timestamp_seconds":1780408798,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a24b30"} 
[2026-06-02 19:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19: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-06-02 19: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-06-02 19:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784652032001,"66":13135,"102":206,"83":41984,"24":5,"16":125459954676006912,"45":1831205860335689728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784652032001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:31:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125459954676006912,"km_value":125459954676006.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335689728,"description":"Unknown IO ID 45"} 
[2026-06-02 19:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784652032001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1831205860335689728}} 
[2026-06-02 19:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":90030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:31:11] local.INFO: GPS data processed {"connection_id":90030,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:31:11] local.INFO: Acknowledgment sent {"connection_id":90030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:31:23] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:31:23] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:31:23] local.INFO: IMEI packet received {"connection_id":89769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":89769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:31:28] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:31:28] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:31:28] local.INFO: IMEI packet received {"connection_id":89769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":89769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:31:29] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:31:29] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:31:29] local.INFO: Packet analysis {"connection_id":89769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:31:29] local.INFO: Extracted packet for processing {"connection_id":89769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:31:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:31:29] 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-06-02 19:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:31:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":89769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:31:29] local.INFO: GPS data processed {"connection_id":89769,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:31:29] local.INFO: Acknowledgment sent {"connection_id":89769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:31:42] local.INFO: TCP Data received {"connection_id":90030,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a25300012d196840071fed08003b015a2b..."} 
[2026-06-02 19:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a25300012d196840071fed08003b015a2b..."} 
[2026-06-02 19:31:42] local.INFO: Processing buffer {"connection_id":90030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a25300012d196840071fed08003b015a2b..."} 
[2026-06-02 19:31:42] local.INFO: Packet analysis {"connection_id":90030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:31:42] local.INFO: Extracted packet for processing {"connection_id":90030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532808,"longitude_deg":75.6639808,"latitude_deg":11.9532808,"altitude":59,"angle":346,"satellites":43,"speed":5,"hex_longitude":"2d196840","hex_latitude":"071fed08","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784652288001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125459963265941504,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358989312,"note":"Value kept but may cause issues"} 
[2026-06-02 19:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408800000,"timestamp_ms":1780408800000,"timestamp_seconds":1780408800,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a25300"} 
[2026-06-02 19:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-02 19:31:42] 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-06-02 19: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-06-02 19:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784652288001,"66":13102,"102":206,"83":41984,"24":5,"16":125459963265941504,"45":1830924385358989312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784652288001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:31:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125459963265941504,"km_value":125459963265941.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358989312,"description":"Unknown IO ID 45"} 
[2026-06-02 19:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784652288001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830924385358989312}} 
[2026-06-02 19:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":90030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:31:42] local.INFO: GPS data processed {"connection_id":90030,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:31:42] local.INFO: Acknowledgment sent {"connection_id":90030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:32:00] local.INFO: TCP Data received {"connection_id":89769,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:32:00] local.INFO: Processing buffer {"connection_id":89769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:32:00] local.INFO: Packet analysis {"connection_id":89769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:32:00] local.INFO: Extracted packet for processing {"connection_id":89769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:32:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:32:00] 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-06-02 19:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:32:00] 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-06-02 19:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:32:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":89769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:32:00] local.INFO: GPS data processed {"connection_id":89769,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:32:00] local.INFO: Acknowledgment sent {"connection_id":89769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:32:04] local.INFO: TCP Data received {"connection_id":91200,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:04] local.INFO: Processing buffer {"connection_id":91200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:04] local.INFO: IMEI packet received {"connection_id":91200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":91200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:32:05] local.INFO: TCP Data received {"connection_id":91200,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:05] local.INFO: Processing buffer {"connection_id":91200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:05] local.INFO: IMEI packet received {"connection_id":91200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":91200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:32:10] local.INFO: TCP Data received {"connection_id":91200,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:10] local.INFO: Processing buffer {"connection_id":91200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:32:10] local.INFO: IMEI packet received {"connection_id":91200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":91200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:32:11] local.INFO: TCP Data received {"connection_id":91200,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a262a0012d196740071feeb8003c014929..."} 
[2026-06-02 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a262a0012d196740071feeb8003c014929..."} 
[2026-06-02 19:32:11] local.INFO: Processing buffer {"connection_id":91200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a262a0012d196740071feeb8003c014929..."} 
[2026-06-02 19:32:11] local.INFO: Packet analysis {"connection_id":91200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:32:11] local.INFO: Extracted packet for processing {"connection_id":91200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533240,"longitude_deg":75.6639552,"latitude_deg":11.953324,"altitude":60,"angle":329,"satellites":41,"speed":6,"hex_longitude":"2d196740","hex_latitude":"071feeb8","is_valid_coordinates":true} 
[2026-06-02 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784652800001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125459989035745280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870683136,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780408804000,"timestamp_ms":1780408804000,"timestamp_seconds":1780408804,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a262a0"} 
[2026-06-02 19:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-02 19:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784652800001,"66":13124,"102":206,"83":41984,"24":6,"16":125459989035745280,"45":1830783647870683136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784652800001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:32:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125459989035745280,"km_value":125459989035745.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870683136,"description":"Unknown IO ID 45"} 
[2026-06-02 19:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784652800001,"power":13124,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1830783647870683136}} 
[2026-06-02 19:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":91200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:32:11] local.INFO: GPS data processed {"connection_id":91200,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:32:11] local.INFO: Acknowledgment sent {"connection_id":91200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:32:23] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:32:23] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:32:23] local.INFO: IMEI packet received {"connection_id":90031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":90031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:32:28] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:32:28] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:32:28] local.INFO: IMEI packet received {"connection_id":90031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":90031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:32:29] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:32:29] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:32:29] local.INFO: Packet analysis {"connection_id":90031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:32:29] local.INFO: Extracted packet for processing {"connection_id":90031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:32:29] 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-06-02 19:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:32:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":90031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:32:29] local.INFO: GPS data processed {"connection_id":90031,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:32:29] local.INFO: Acknowledgment sent {"connection_id":90031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:32:42] local.INFO: TCP Data received {"connection_id":91200,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a2b4a8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a2b4a8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:32:42] local.INFO: Processing buffer {"connection_id":91200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a2b4a8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:32:42] local.INFO: Packet analysis {"connection_id":91200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:32:42] local.INFO: Extracted packet for processing {"connection_id":91200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a2"} 
[2026-06-02 19:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784653824001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894083072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408825000,"timestamp_ms":1780408825000,"timestamp_seconds":1780408825,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a2b4a8"} 
[2026-06-02 19:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-02 19:32:42] 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-06-02 19:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784653824001,"66":13037,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830502172894083072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784653824001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:32:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894083072,"description":"Unknown IO ID 45"} 
[2026-06-02 19:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784653824001,"power":13037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894083072}} 
[2026-06-02 19:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":91200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:32:42] local.INFO: GPS data processed {"connection_id":91200,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:32:42] local.INFO: Acknowledgment sent {"connection_id":91200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:33:00] local.INFO: TCP Data received {"connection_id":90031,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:00] local.INFO: Processing buffer {"connection_id":90031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:00] local.INFO: Packet analysis {"connection_id":90031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:33:00] local.INFO: Extracted packet for processing {"connection_id":90031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:33:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:33:00] 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-06-02 19: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-06-02 19:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:33:00] 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-06-02 19:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:33:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":90031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:33:00] local.INFO: GPS data processed {"connection_id":90031,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:33:00] local.INFO: Acknowledgment sent {"connection_id":90031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:33:04] local.INFO: TCP Data received {"connection_id":90130,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:04] local.INFO: Processing buffer {"connection_id":90130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:04] local.INFO: IMEI packet received {"connection_id":90130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":90130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:33:09] local.INFO: TCP Data received {"connection_id":90130,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:09] local.INFO: Processing buffer {"connection_id":90130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:09] local.INFO: IMEI packet received {"connection_id":90130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":90130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:33:09] local.INFO: TCP Data received {"connection_id":90130,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:09] local.INFO: Processing buffer {"connection_id":90130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:33:09] local.INFO: IMEI packet received {"connection_id":90130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":90130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:33:10] local.INFO: TCP Data received {"connection_id":90130,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a306b0012d1965c0071ff020003e014624..."} 
[2026-06-02 19:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a306b0012d1965c0071ff020003e014624..."} 
[2026-06-02 19:33:10] local.INFO: Processing buffer {"connection_id":90130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a306b0012d1965c0071ff020003e014624..."} 
[2026-06-02 19:33:10] local.INFO: Packet analysis {"connection_id":90130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:33:10] local.INFO: Extracted packet for processing {"connection_id":90130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 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-06-02 19:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784659200001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408846000,"timestamp_ms":1780408846000,"timestamp_seconds":1780408846,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a306b0"} 
[2026-06-02 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-06-02 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-02 19:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 19:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784659200001,"66":13004,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784659200001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784659200001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":90130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:33:10] local.INFO: GPS data processed {"connection_id":90130,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:33:10] local.INFO: Acknowledgment sent {"connection_id":90130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:33:15] local.INFO: TCP Data received {"connection_id":90130,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a358b8012d1965c0071ff020003e014623..."} 
[2026-06-02 19:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a358b8012d1965c0071ff020003e014623..."} 
[2026-06-02 19:33:15] local.INFO: Processing buffer {"connection_id":90130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a358b8012d1965c0071ff020003e014623..."} 
[2026-06-02 19:33:15] local.INFO: Packet analysis {"connection_id":90130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:33:15] local.INFO: Extracted packet for processing {"connection_id":90130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784664576001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780408867000,"timestamp_ms":1780408867000,"timestamp_seconds":1780408867,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a358b8"} 
[2026-06-02 19:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-02 19:33:15] 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-06-02 19:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784664576001,"66":12863,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784664576001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:33:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784664576001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":90130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:33:15] local.INFO: GPS data processed {"connection_id":90130,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:33:15] local.INFO: Acknowledgment sent {"connection_id":90130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:33:28] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:33:28] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:33:28] local.INFO: IMEI packet received {"connection_id":89770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":89770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:33:33] local.INFO: TCP Data received {"connection_id":90032,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:33:33] local.INFO: Processing buffer {"connection_id":90032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:33:33] local.INFO: IMEI packet received {"connection_id":90032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":90032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:33:33] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:33:33] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:33:33] local.INFO: IMEI packet received {"connection_id":89770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":89770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:33:34] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:34] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:34] local.INFO: Packet analysis {"connection_id":89770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:33:34] local.INFO: Extracted packet for processing {"connection_id":89770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:33:34] 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-06-02 19: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-06-02 19:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:33:34] 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-06-02 19:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:33:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:33:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":89770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:33:34] local.INFO: GPS data processed {"connection_id":89770,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:33:34] local.INFO: Acknowledgment sent {"connection_id":89770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:33:38] local.INFO: TCP Data received {"connection_id":89770,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:38] local.INFO: Processing buffer {"connection_id":89770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a0b108012cb29ac007823b00004900d928..."} 
[2026-06-02 19:33:38] local.INFO: Packet analysis {"connection_id":89770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:33:38] local.INFO: Extracted packet for processing {"connection_id":89770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a0"} 
[2026-06-02 19:33:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784548352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780408693000,"timestamp_ms":1780408693000,"timestamp_seconds":1780408693,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a0b108"} 
[2026-06-02 19:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:33: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-06-02 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784548352001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784548352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:33:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:33:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784548352001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":89770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:33:38] local.INFO: GPS data processed {"connection_id":89770,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:33:38] local.INFO: Acknowledgment sent {"connection_id":89770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:33:46] local.INFO: TCP Data received {"connection_id":90130,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a3aac0012d1965c0071ff020003e014626..."} 
[2026-06-02 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a3aac0012d1965c0071ff020003e014626..."} 
[2026-06-02 19:33:46] local.INFO: Processing buffer {"connection_id":90130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a3aac0012d1965c0071ff020003e014626..."} 
[2026-06-02 19:33:46] local.INFO: Packet analysis {"connection_id":90130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:33:46] local.INFO: Extracted packet for processing {"connection_id":90130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784669952001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19: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-06-02 19:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780408888000,"timestamp_ms":1780408888000,"timestamp_seconds":1780408888,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a3aac0"} 
[2026-06-02 19:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 19:33: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-06-02 19:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784669952001,"66":12863,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784669952001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784669952001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":90130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:33:46] local.INFO: GPS data processed {"connection_id":90130,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:33:46] local.INFO: Acknowledgment sent {"connection_id":90130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:34:02] local.INFO: TCP Data received {"connection_id":91201,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:34:02] local.INFO: Processing buffer {"connection_id":91201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:34:02] local.INFO: IMEI packet received {"connection_id":91201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":91201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:34:04] local.INFO: TCP Data received {"connection_id":90033,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:34:04] local.INFO: Processing buffer {"connection_id":90033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:34:04] local.INFO: IMEI packet received {"connection_id":90033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":90033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:34:10] local.INFO: TCP Data received {"connection_id":90033,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:34:10] local.INFO: Processing buffer {"connection_id":90033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:34:10] local.INFO: IMEI packet received {"connection_id":90033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":90033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:34:10] local.INFO: TCP Data received {"connection_id":90033,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a3fcc8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a3fcc8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:34:10] local.INFO: Processing buffer {"connection_id":90033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a3fcc8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:34:10] local.INFO: Packet analysis {"connection_id":90033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:34:10] local.INFO: Extracted packet for processing {"connection_id":90033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a3"} 
[2026-06-02 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784675328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780408909000,"timestamp_ms":1780408909000,"timestamp_seconds":1780408909,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a3fcc8"} 
[2026-06-02 19:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 19:34:10] 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-06-02 19:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784675328001,"66":12841,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784675328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:34:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784675328001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":90033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:34:11] local.INFO: GPS data processed {"connection_id":90033,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:34:11] local.INFO: Acknowledgment sent {"connection_id":90033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:34:23] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:34:23] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:34:23] local.INFO: IMEI packet received {"connection_id":89771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":89771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:34:28] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:34:28] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:34:28] local.INFO: IMEI packet received {"connection_id":89771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":89771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:34:29] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:34:29] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:34:29] local.INFO: Packet analysis {"connection_id":89771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:34:29] local.INFO: Extracted packet for processing {"connection_id":89771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:34:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:34:29] 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-06-02 19:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:34:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":89771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:34:29] local.INFO: GPS data processed {"connection_id":89771,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:34:29] local.INFO: Acknowledgment sent {"connection_id":89771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:34:42] local.INFO: TCP Data received {"connection_id":90033,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a44ed0012d1965c0071ff020003e014622..."} 
[2026-06-02 19:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a44ed0012d1965c0071ff020003e014622..."} 
[2026-06-02 19:34:42] local.INFO: Processing buffer {"connection_id":90033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a44ed0012d1965c0071ff020003e014622..."} 
[2026-06-02 19:34:42] local.INFO: Packet analysis {"connection_id":90033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a4"} 
[2026-06-02 19:34:42] local.INFO: Extracted packet for processing {"connection_id":90033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a4"} 
[2026-06-02 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784680704001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780408930000,"timestamp_ms":1780408930000,"timestamp_seconds":1780408930,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a44ed0"} 
[2026-06-02 19:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-02 19:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784680704001,"66":12863,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784680704001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:34:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784680704001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":90033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:34:42] local.INFO: GPS data processed {"connection_id":90033,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:34:42] local.INFO: Acknowledgment sent {"connection_id":90033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:35:00] local.INFO: TCP Data received {"connection_id":89771,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:00] local.INFO: Processing buffer {"connection_id":89771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:00] local.INFO: Packet analysis {"connection_id":89771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:00] local.INFO: Extracted packet for processing {"connection_id":89771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:35:00] 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-06-02 19:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:35:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":89771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:35:00] local.INFO: GPS data processed {"connection_id":89771,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:35:00] local.INFO: Acknowledgment sent {"connection_id":89771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:35:09] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:35:09] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:35:09] local.INFO: IMEI packet received {"connection_id":90131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":90131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:35:14] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:35:14] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:35:14] local.INFO: IMEI packet received {"connection_id":90131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":90131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:35:15] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a4a0d8012d1965c0071ff020003e014628..."} 
[2026-06-02 19:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a4a0d8012d1965c0071ff020003e014628..."} 
[2026-06-02 19:35:15] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a4a0d8012d1965c0071ff020003e014628..."} 
[2026-06-02 19:35:15] local.INFO: Packet analysis {"connection_id":90131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a4"} 
[2026-06-02 19:35:15] local.INFO: Extracted packet for processing {"connection_id":90131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a4"} 
[2026-06-02 19:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784686080001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780408951000,"timestamp_ms":1780408951000,"timestamp_seconds":1780408951,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a4a0d8"} 
[2026-06-02 19:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-02 19:35:15] 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-06-02 19:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784686080001,"66":12819,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784686080001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784686080001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":90131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:35:15] local.INFO: GPS data processed {"connection_id":90131,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:35:15] local.INFO: Acknowledgment sent {"connection_id":90131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:35:16] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a4f2e0012d1965c0071ff020003e014625..."} 
[2026-06-02 19:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a4f2e0012d1965c0071ff020003e014625..."} 
[2026-06-02 19:35:16] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a4f2e0012d1965c0071ff020003e014625..."} 
[2026-06-02 19:35:16] local.INFO: Packet analysis {"connection_id":90131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a4"} 
[2026-06-02 19:35:16] local.INFO: Extracted packet for processing {"connection_id":90131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a4"} 
[2026-06-02 19:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784691456001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19: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-06-02 19:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780408972000,"timestamp_ms":1780408972000,"timestamp_seconds":1780408972,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a4f2e0"} 
[2026-06-02 19:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":19,"data_length":795,"current_offset":136} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2292364456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505513994878976,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-6745653364935530688,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4028629054,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692400,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368868369729532333,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3107520512,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300978770779130153,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195095040,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.WARNING: Large IO value detected {"io_id":8,"raw_value":16608510406034688,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,185,158,78,45,192,240,62,34,10,66,252,36,170,1,63,227,136,31,4,113,205,6,101,32,239,50,2,189,7,164,57,69,8],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-06-02 19:35:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467929442940878848,"timestamp_seconds":4467929442940879.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784691456001,"66":12819,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784691456001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:35:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784691456001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":90131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:35:16] local.INFO: GPS data processed {"connection_id":90131,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:35:16] local.INFO: Acknowledgment sent {"connection_id":90131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:35:23] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:35:23] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:35:23] local.INFO: IMEI packet received {"connection_id":89772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":89772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:35:28] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:35:28] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:35:28] local.INFO: IMEI packet received {"connection_id":89772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":89772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:35:28] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:28] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:28] local.INFO: Packet analysis {"connection_id":89772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:28] local.INFO: Extracted packet for processing {"connection_id":89772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:35: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-06-02 19: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-06-02 19:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:35:28] 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-06-02 19:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:35:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:35:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":89772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:35:29] local.INFO: GPS data processed {"connection_id":89772,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:35:29] local.INFO: Acknowledgment sent {"connection_id":89772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:35:48] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a544e8012d1965c0071ff020003e014628..."} 
[2026-06-02 19:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a544e8012d1965c0071ff020003e014628..."} 
[2026-06-02 19:35:48] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a544e8012d1965c0071ff020003e014628..."} 
[2026-06-02 19:35:48] local.INFO: Packet analysis {"connection_id":90131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:48] local.INFO: Extracted packet for processing {"connection_id":90131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784696832001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1780408993000,"timestamp_ms":1780408993000,"timestamp_seconds":1780408993,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a544e8"} 
[2026-06-02 19:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2292385456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84751899236442094,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505513995337728,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-6722563620752235072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4028629054,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692400,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746768972981154221,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3107520512,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301374594998683172,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195072768,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.WARNING: Large IO value detected {"io_id":184,"raw_value":16889912334747136,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,185,158,160,45,192,240,62,40,10,66,78,34,252,1,41,227,136,31,4,113,205,88,101,32,35,239,50,2,189,7,164,57,69,184],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-06-02 19:35:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467929430055976960,"timestamp_seconds":4467929430055977.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":90131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":90131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":90131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784696832001,"66":12798,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784696832001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:35:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784696832001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":90131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:35:48] local.INFO: GPS data processed {"connection_id":90131,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:35:48] local.INFO: Acknowledgment sent {"connection_id":90131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:35:59] local.INFO: TCP Data received {"connection_id":89772,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:59] local.INFO: Processing buffer {"connection_id":89772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:35:59] local.INFO: Packet analysis {"connection_id":89772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:59] local.INFO: Extracted packet for processing {"connection_id":89772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:35:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:35: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-06-02 19: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-06-02 19:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:35:59] 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-06-02 19:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:35:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":89772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:36:00] local.INFO: GPS data processed {"connection_id":89772,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:36:00] local.INFO: Acknowledgment sent {"connection_id":89772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:36:04] local.INFO: TCP Data received {"connection_id":91203,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:36:04] local.INFO: Processing buffer {"connection_id":91203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:36:04] local.INFO: IMEI packet received {"connection_id":91203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":91203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:36:10] local.INFO: TCP Data received {"connection_id":91203,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:36:10] local.INFO: Processing buffer {"connection_id":91203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:36:10] local.INFO: IMEI packet received {"connection_id":91203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":91203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:36:11] local.INFO: TCP Data received {"connection_id":91203,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a596f0012d1965c0071ff020003e014623..."} 
[2026-06-02 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a596f0012d1965c0071ff020003e014623..."} 
[2026-06-02 19:36:11] local.INFO: Processing buffer {"connection_id":91203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a596f0012d1965c0071ff020003e014623..."} 
[2026-06-02 19:36:11] local.INFO: Packet analysis {"connection_id":91203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:36:11] local.INFO: Extracted packet for processing {"connection_id":91203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784702208001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780409014000,"timestamp_ms":1780409014000,"timestamp_seconds":1780409014,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a596f0"} 
[2026-06-02 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-02 19:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784702208001,"66":12776,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784702208001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:36:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784702208001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":91203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:36:11] local.INFO: GPS data processed {"connection_id":91203,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:36:11] local.INFO: Acknowledgment sent {"connection_id":91203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:36:23] local.INFO: TCP Data received {"connection_id":90132,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:36:23] local.INFO: Processing buffer {"connection_id":90132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:36:23] local.INFO: IMEI packet received {"connection_id":90132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":90132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:36:28] local.INFO: TCP Data received {"connection_id":90132,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:36:28] local.INFO: Processing buffer {"connection_id":90132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:36:28] local.INFO: IMEI packet received {"connection_id":90132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":90132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:36:29] local.INFO: TCP Data received {"connection_id":90132,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:36:29] local.INFO: Processing buffer {"connection_id":90132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:36:29] local.INFO: Packet analysis {"connection_id":90132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:36:29] local.INFO: Extracted packet for processing {"connection_id":90132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:36: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-06-02 19:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:36:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":90132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:36:29] local.INFO: GPS data processed {"connection_id":90132,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:36:29] local.INFO: Acknowledgment sent {"connection_id":90132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:36:42] local.INFO: TCP Data received {"connection_id":91203,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a5e8f8012d1965c0071ff020003e014622..."} 
[2026-06-02 19:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a5e8f8012d1965c0071ff020003e014622..."} 
[2026-06-02 19:36:42] local.INFO: Processing buffer {"connection_id":91203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a5e8f8012d1965c0071ff020003e014622..."} 
[2026-06-02 19:36:42] local.INFO: Packet analysis {"connection_id":91203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:36:42] local.INFO: Extracted packet for processing {"connection_id":91203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784707584001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409035000,"timestamp_ms":1780409035000,"timestamp_seconds":1780409035,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a5e8f8"} 
[2026-06-02 19:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-02 19:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784707584001,"66":12722,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784707584001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:36:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784707584001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":91203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:36:42] local.INFO: GPS data processed {"connection_id":91203,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:36:42] local.INFO: Acknowledgment sent {"connection_id":91203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:37:00] local.INFO: TCP Data received {"connection_id":90132,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:00] local.INFO: Processing buffer {"connection_id":90132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:00] local.INFO: Packet analysis {"connection_id":90132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:37:00] local.INFO: Extracted packet for processing {"connection_id":90132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:37:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:37: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-06-02 19:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:37:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":90132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:37:00] local.INFO: GPS data processed {"connection_id":90132,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:37:00] local.INFO: Acknowledgment sent {"connection_id":90132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:37:04] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:37:04] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:37:04] local.INFO: IMEI packet received {"connection_id":90037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":90037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:37:10] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:37:10] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:37:10] local.INFO: IMEI packet received {"connection_id":90037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":90037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:37:11] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a63b00012d1965c0071ff020003e014623..."} 
[2026-06-02 19:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a63b00012d1965c0071ff020003e014623..."} 
[2026-06-02 19:37:11] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a63b00012d1965c0071ff020003e014623..."} 
[2026-06-02 19:37:11] local.INFO: Packet analysis {"connection_id":90037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a6"} 
[2026-06-02 19:37:11] local.INFO: Extracted packet for processing {"connection_id":90037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a6"} 
[2026-06-02 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784712960001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780409056000,"timestamp_ms":1780409056000,"timestamp_seconds":1780409056,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a63b00"} 
[2026-06-02 19:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 19:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784712960001,"66":12722,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784712960001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:37:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784712960001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":90037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:37:11] local.INFO: GPS data processed {"connection_id":90037,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:37:11] local.INFO: Acknowledgment sent {"connection_id":90037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:37:23] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:37:23] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:37:23] local.INFO: IMEI packet received {"connection_id":90133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":90133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:37:28] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:37:28] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:37:28] local.INFO: IMEI packet received {"connection_id":90133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":90133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:37:28] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:28] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:28] local.INFO: Packet analysis {"connection_id":90133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:37:28] local.INFO: Extracted packet for processing {"connection_id":90133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:37:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:37: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-06-02 19: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-06-02 19:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:37:28] 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-06-02 19:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:37:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:37:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":90133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:37:28] local.INFO: GPS data processed {"connection_id":90133,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:37:28] local.INFO: Acknowledgment sent {"connection_id":90133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:37:42] local.INFO: TCP Data received {"connection_id":90037,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a68d08012d1965c0071ff020003e014626..."} 
[2026-06-02 19:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a68d08012d1965c0071ff020003e014626..."} 
[2026-06-02 19:37:42] local.INFO: Processing buffer {"connection_id":90037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a68d08012d1965c0071ff020003e014626..."} 
[2026-06-02 19:37:42] local.INFO: Packet analysis {"connection_id":90037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a6"} 
[2026-06-02 19:37:42] local.INFO: Extracted packet for processing {"connection_id":90037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a6"} 
[2026-06-02 19:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784718336001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409077000,"timestamp_ms":1780409077000,"timestamp_seconds":1780409077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a68d08"} 
[2026-06-02 19:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 19:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784718336001,"66":12722,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784718336001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:37:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784718336001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":90037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:37:42] local.INFO: GPS data processed {"connection_id":90037,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:37:42] local.INFO: Acknowledgment sent {"connection_id":90037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:37:59] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:59] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:37:59] local.INFO: Packet analysis {"connection_id":90133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:37:59] local.INFO: Extracted packet for processing {"connection_id":90133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:37:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:37: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-06-02 19:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:37:59] 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-06-02 19:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:37:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:37:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":90133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:37:59] local.INFO: GPS data processed {"connection_id":90133,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:37:59] local.INFO: Acknowledgment sent {"connection_id":90133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:38:02] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:02] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:02] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:38:04] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:04] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:04] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:38:10] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:10] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:38:10] local.INFO: IMEI packet received {"connection_id":89773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":89773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:38:11] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a6df10012d1965c0071ff020003e014627..."} 
[2026-06-02 19:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a6df10012d1965c0071ff020003e014627..."} 
[2026-06-02 19:38:11] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a6df10012d1965c0071ff020003e014627..."} 
[2026-06-02 19:38:11] local.INFO: Packet analysis {"connection_id":89773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a6"} 
[2026-06-02 19:38:11] local.INFO: Extracted packet for processing {"connection_id":89773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a6"} 
[2026-06-02 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784723712001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780409098000,"timestamp_ms":1780409098000,"timestamp_seconds":1780409098,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a6df10"} 
[2026-06-02 19:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-02 19:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784723712001,"66":12667,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784723712001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:38:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784723712001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":89773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:38:11] local.INFO: GPS data processed {"connection_id":89773,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:38:11] local.INFO: Acknowledgment sent {"connection_id":89773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:38:23] local.INFO: TCP Data received {"connection_id":91204,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:38:23] local.INFO: Processing buffer {"connection_id":91204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:38:23] local.INFO: IMEI packet received {"connection_id":91204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":91204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:38:28] local.INFO: TCP Data received {"connection_id":91204,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:38:28] local.INFO: Processing buffer {"connection_id":91204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:38:28] local.INFO: IMEI packet received {"connection_id":91204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":91204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:38:29] local.INFO: TCP Data received {"connection_id":91204,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:38:29] local.INFO: Processing buffer {"connection_id":91204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a548d0012cb29ac007823b00004900d927..."} 
[2026-06-02 19:38:29] local.INFO: Packet analysis {"connection_id":91204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:38:29] local.INFO: Extracted packet for processing {"connection_id":91204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a5"} 
[2026-06-02 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784625408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780408994000,"timestamp_ms":1780408994000,"timestamp_seconds":1780408994,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a548d0"} 
[2026-06-02 19:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:38:29] 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-06-02 19:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784625408001,"66":25615,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784625408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:38:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784625408001,"power":25615,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":91204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:38:29] local.INFO: GPS data processed {"connection_id":91204,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:38:29] local.INFO: Acknowledgment sent {"connection_id":91204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:38:42] local.INFO: TCP Data received {"connection_id":89773,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a73118012d1965c0071ff020003e014624..."} 
[2026-06-02 19:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a73118012d1965c0071ff020003e014624..."} 
[2026-06-02 19:38:42] local.INFO: Processing buffer {"connection_id":89773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a73118012d1965c0071ff020003e014624..."} 
[2026-06-02 19:38:42] local.INFO: Packet analysis {"connection_id":89773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a7"} 
[2026-06-02 19:38:42] local.INFO: Extracted packet for processing {"connection_id":89773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a7"} 
[2026-06-02 19:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784729088001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409119000,"timestamp_ms":1780409119000,"timestamp_seconds":1780409119,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a73118"} 
[2026-06-02 19:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 19:38:42] 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-06-02 19:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784729088001,"66":12689,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784729088001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:38:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784729088001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":89773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:38:42] local.INFO: GPS data processed {"connection_id":89773,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:38:42] local.INFO: Acknowledgment sent {"connection_id":89773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:39:00] local.INFO: TCP Data received {"connection_id":91204,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:39:00] local.INFO: Processing buffer {"connection_id":91204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:39:00] local.INFO: Packet analysis {"connection_id":91204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:39:00] local.INFO: Extracted packet for processing {"connection_id":91204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784702464001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409295000,"timestamp_ms":1780409295000,"timestamp_seconds":1780409295,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a9e098"} 
[2026-06-02 19:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:39:00] 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-06-02 19:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784702464001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784702464001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:39:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784702464001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":91204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:39:00] local.INFO: GPS data processed {"connection_id":91204,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:39:00] local.INFO: Acknowledgment sent {"connection_id":91204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:39:04] local.INFO: TCP Data received {"connection_id":90135,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:04] local.INFO: Processing buffer {"connection_id":90135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:04] local.INFO: IMEI packet received {"connection_id":90135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":90135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:39:05] local.INFO: TCP Data received {"connection_id":90135,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:05] local.INFO: Processing buffer {"connection_id":90135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:05] local.INFO: IMEI packet received {"connection_id":90135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":90135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:39:09] local.INFO: TCP Data received {"connection_id":90135,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:09] local.INFO: Processing buffer {"connection_id":90135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:39:09] local.INFO: IMEI packet received {"connection_id":90135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":90135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:39:10] local.INFO: TCP Data received {"connection_id":90135,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a78320012d1965c0071ff020003e014624..."} 
[2026-06-02 19:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a78320012d1965c0071ff020003e014624..."} 
[2026-06-02 19:39:10] local.INFO: Processing buffer {"connection_id":90135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a78320012d1965c0071ff020003e014624..."} 
[2026-06-02 19:39:10] local.INFO: Packet analysis {"connection_id":90135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a7"} 
[2026-06-02 19:39:10] local.INFO: Extracted packet for processing {"connection_id":90135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a7"} 
[2026-06-02 19:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784734464001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780409140000,"timestamp_ms":1780409140000,"timestamp_seconds":1780409140,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a78320"} 
[2026-06-02 19:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 19:39:10] 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-06-02 19:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784734464001,"66":12689,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784734464001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:39:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784734464001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":90135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:39:10] local.INFO: GPS data processed {"connection_id":90135,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:39:10] local.INFO: Acknowledgment sent {"connection_id":90135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:39:28] local.INFO: TCP Data received {"connection_id":91205,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:39:28] local.INFO: Processing buffer {"connection_id":91205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:39:28] local.INFO: IMEI packet received {"connection_id":91205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":91205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:39:33] local.INFO: TCP Data received {"connection_id":91205,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:39:33] local.INFO: Processing buffer {"connection_id":91205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:39:33] local.INFO: IMEI packet received {"connection_id":91205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":91205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:39:34] local.INFO: TCP Data received {"connection_id":91205,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:39:34] local.INFO: Processing buffer {"connection_id":91205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:39:34] local.INFO: Packet analysis {"connection_id":91205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:39:34] local.INFO: Extracted packet for processing {"connection_id":91205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784702464001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780409295000,"timestamp_ms":1780409295000,"timestamp_seconds":1780409295,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a9e098"} 
[2026-06-02 19:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784702464001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784702464001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:39:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:39:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784702464001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":91205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:39:34] local.INFO: GPS data processed {"connection_id":91205,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:39:34] local.INFO: Acknowledgment sent {"connection_id":91205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:39:38] local.INFO: TCP Data received {"connection_id":90134,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:39:38] local.INFO: Processing buffer {"connection_id":90134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:39:38] local.INFO: IMEI packet received {"connection_id":90134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":90134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:39:42] local.INFO: TCP Data received {"connection_id":90135,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a7d528012d1965c0071ff020003e014621..."} 
[2026-06-02 19:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a7d528012d1965c0071ff020003e014621..."} 
[2026-06-02 19:39:42] local.INFO: Processing buffer {"connection_id":90135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a7d528012d1965c0071ff020003e014621..."} 
[2026-06-02 19:39:42] local.INFO: Packet analysis {"connection_id":90135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a7"} 
[2026-06-02 19:39:42] local.INFO: Extracted packet for processing {"connection_id":90135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a7"} 
[2026-06-02 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784739840001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409161000,"timestamp_ms":1780409161000,"timestamp_seconds":1780409161,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a7d528"} 
[2026-06-02 19:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 19:39:42] 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-06-02 19:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784739840001,"66":12711,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784739840001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:39:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784739840001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":90135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:39:42] local.INFO: GPS data processed {"connection_id":90135,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:39:42] local.INFO: Acknowledgment sent {"connection_id":90135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:39:58] local.INFO: TCP Data received {"connection_id":90136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:39:58] local.INFO: Processing buffer {"connection_id":90136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:39:58] local.INFO: IMEI packet received {"connection_id":90136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":90136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:40:04] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:04] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:04] local.INFO: IMEI packet received {"connection_id":90040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":90040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:40:05] local.INFO: TCP Data received {"connection_id":91205,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:40:05] local.INFO: Processing buffer {"connection_id":91205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:40:05] local.INFO: Packet analysis {"connection_id":91205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:40:05] local.INFO: Extracted packet for processing {"connection_id":91205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:40:05] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784702464001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780409295000,"timestamp_ms":1780409295000,"timestamp_seconds":1780409295,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a9e098"} 
[2026-06-02 19:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":91205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":91205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":91205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784702464001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784702464001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:40:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784702464001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":91205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:40:05] local.INFO: GPS data processed {"connection_id":91205,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:40:05] local.INFO: Acknowledgment sent {"connection_id":91205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:40:09] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:09] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:09] local.INFO: IMEI packet received {"connection_id":90040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":90040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:40:09] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:09] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:40:09] local.INFO: IMEI packet received {"connection_id":90040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":90040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:40:10] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a82730012d1965c0071ff020003e014624..."} 
[2026-06-02 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a82730012d1965c0071ff020003e014624..."} 
[2026-06-02 19:40:10] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a82730012d1965c0071ff020003e014624..."} 
[2026-06-02 19:40:10] local.INFO: Packet analysis {"connection_id":90040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a8"} 
[2026-06-02 19:40:10] local.INFO: Extracted packet for processing {"connection_id":90040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a8"} 
[2026-06-02 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784745216001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780409182000,"timestamp_ms":1780409182000,"timestamp_seconds":1780409182,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a82730"} 
[2026-06-02 19:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-02 19:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784745216001,"66":12689,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784745216001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:40:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784745216001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":90040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:40:10] local.INFO: GPS data processed {"connection_id":90040,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:40:10] local.INFO: Acknowledgment sent {"connection_id":90040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:40:15] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a87938012d1965c0071ff020003e014628..."} 
[2026-06-02 19:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a87938012d1965c0071ff020003e014628..."} 
[2026-06-02 19:40:15] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a87938012d1965c0071ff020003e014628..."} 
[2026-06-02 19:40:15] local.INFO: Packet analysis {"connection_id":90040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a8"} 
[2026-06-02 19:40:15] local.INFO: Extracted packet for processing {"connection_id":90040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a8"} 
[2026-06-02 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784750592001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780409203000,"timestamp_ms":1780409203000,"timestamp_seconds":1780409203,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a87938"} 
[2026-06-02 19:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-02 19:40:15] 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-06-02 19: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-06-02 19:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784750592001,"66":12667,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784750592001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:40:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784750592001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":90040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:40:15] local.INFO: GPS data processed {"connection_id":90040,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:40:15] local.INFO: Acknowledgment sent {"connection_id":90040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:40:23] local.INFO: TCP Data received {"connection_id":91206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:40:23] local.INFO: Processing buffer {"connection_id":91206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:40:23] local.INFO: IMEI packet received {"connection_id":91206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":91206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:40:28] local.INFO: TCP Data received {"connection_id":91206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:40:28] local.INFO: Processing buffer {"connection_id":91206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:40:28] local.INFO: IMEI packet received {"connection_id":91206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":91206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:40:29] local.INFO: TCP Data received {"connection_id":91206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:40:29] local.INFO: Processing buffer {"connection_id":91206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:40:29] local.INFO: Packet analysis {"connection_id":91206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:40:29] local.INFO: Extracted packet for processing {"connection_id":91206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:40:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784702464001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409295000,"timestamp_ms":1780409295000,"timestamp_seconds":1780409295,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a9e098"} 
[2026-06-02 19:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784702464001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784702464001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:40:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784702464001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":91206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:40:29] local.INFO: GPS data processed {"connection_id":91206,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:40:29] local.INFO: Acknowledgment sent {"connection_id":91206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:40:46] local.INFO: TCP Data received {"connection_id":90040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a8cb40012d1965c0071ff020003e014625..."} 
[2026-06-02 19:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a8cb40012d1965c0071ff020003e014625..."} 
[2026-06-02 19:40:46] local.INFO: Processing buffer {"connection_id":90040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a8cb40012d1965c0071ff020003e014625..."} 
[2026-06-02 19:40:46] local.INFO: Packet analysis {"connection_id":90040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a8"} 
[2026-06-02 19:40:46] local.INFO: Extracted packet for processing {"connection_id":90040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a8"} 
[2026-06-02 19:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784755968001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19: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-06-02 19:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780409224000,"timestamp_ms":1780409224000,"timestamp_seconds":1780409224,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a8cb40"} 
[2026-06-02 19:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:40: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-06-02 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 19:40:46] 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-06-02 19: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-06-02 19:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784755968001,"66":12667,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784755968001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784755968001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":90040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:40:46] local.INFO: GPS data processed {"connection_id":90040,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:40:46] local.INFO: Acknowledgment sent {"connection_id":90040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:41:00] local.INFO: TCP Data received {"connection_id":91206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:41:00] local.INFO: Processing buffer {"connection_id":91206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a9e098012cb29ac007823b00004900d926..."} 
[2026-06-02 19:41:00] local.INFO: Packet analysis {"connection_id":91206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:41:00] local.INFO: Extracted packet for processing {"connection_id":91206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975296,"longitude_deg":74.9902528,"latitude_deg":12.5975296,"altitude":73,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b00","is_valid_coordinates":true} 
[2026-06-02 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784702464001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409295000,"timestamp_ms":1780409295000,"timestamp_seconds":1780409295,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a9e098"} 
[2026-06-02 19:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-02 19:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784702464001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784702464001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:41:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784702464001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":91206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:41:00] local.INFO: GPS data processed {"connection_id":91206,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:41:00] local.INFO: Acknowledgment sent {"connection_id":91206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:41:04] local.INFO: TCP Data received {"connection_id":90137,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:41:04] local.INFO: Processing buffer {"connection_id":90137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:41:04] local.INFO: IMEI packet received {"connection_id":90137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":90137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:41:10] local.INFO: TCP Data received {"connection_id":90137,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:41:10] local.INFO: Processing buffer {"connection_id":90137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:41:10] local.INFO: IMEI packet received {"connection_id":90137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":90137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:41:10] local.INFO: TCP Data received {"connection_id":90137,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a91d48012d1965c0071ff020003e014621..."} 
[2026-06-02 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a91d48012d1965c0071ff020003e014621..."} 
[2026-06-02 19:41:10] local.INFO: Processing buffer {"connection_id":90137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a91d48012d1965c0071ff020003e014621..."} 
[2026-06-02 19:41:10] local.INFO: Packet analysis {"connection_id":90137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:41:10] local.INFO: Extracted packet for processing {"connection_id":90137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784761344001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780409245000,"timestamp_ms":1780409245000,"timestamp_seconds":1780409245,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a91d48"} 
[2026-06-02 19:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-02 19:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784761344001,"66":12406,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784761344001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:41:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784761344001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":90137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:41:11] local.INFO: GPS data processed {"connection_id":90137,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:41:11] local.INFO: Acknowledgment sent {"connection_id":90137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:41:21] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:21] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:21] local.INFO: IMEI packet received {"connection_id":89775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":89775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:41:23] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:23] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:23] local.INFO: IMEI packet received {"connection_id":89775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":89775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:41:28] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:28] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:41:28] local.INFO: IMEI packet received {"connection_id":89775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:41:29] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:41:29] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:41:29] local.INFO: Packet analysis {"connection_id":89775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:41:29] local.INFO: Extracted packet for processing {"connection_id":89775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:41:29] 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-06-02 19:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:41:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":89775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:41:29] local.INFO: GPS data processed {"connection_id":89775,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:41:29] local.INFO: Acknowledgment sent {"connection_id":89775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:41:42] local.INFO: TCP Data received {"connection_id":90137,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a96f50012d1965c0071ff020003e014622..."} 
[2026-06-02 19:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a96f50012d1965c0071ff020003e014622..."} 
[2026-06-02 19:41:42] local.INFO: Processing buffer {"connection_id":90137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a96f50012d1965c0071ff020003e014622..."} 
[2026-06-02 19:41:42] local.INFO: Packet analysis {"connection_id":90137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:41:42] local.INFO: Extracted packet for processing {"connection_id":90137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784766720001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409266000,"timestamp_ms":1780409266000,"timestamp_seconds":1780409266,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a96f50"} 
[2026-06-02 19:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 19:41:42] 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-06-02 19:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784766720001,"66":12645,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784766720001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:41:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784766720001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":90137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:41:42] local.INFO: GPS data processed {"connection_id":90137,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:41:42] local.INFO: Acknowledgment sent {"connection_id":90137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:42:00] local.INFO: TCP Data received {"connection_id":89775,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:42:00] local.INFO: Processing buffer {"connection_id":89775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:42:00] local.INFO: Packet analysis {"connection_id":89775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:42:00] local.INFO: Extracted packet for processing {"connection_id":89775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:42:00] 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-06-02 19: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-06-02 19:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:42:00] 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-06-02 19:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:42:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":89775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:42:00] local.INFO: GPS data processed {"connection_id":89775,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:42:00] local.INFO: Acknowledgment sent {"connection_id":89775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:42:10] local.INFO: TCP Data received {"connection_id":90138,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:42:10] local.INFO: Processing buffer {"connection_id":90138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:42:10] local.INFO: IMEI packet received {"connection_id":90138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":90138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:42:15] local.INFO: TCP Data received {"connection_id":90138,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:42:15] local.INFO: Processing buffer {"connection_id":90138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:42:15] local.INFO: IMEI packet received {"connection_id":90138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":90138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:42:15] local.INFO: TCP Data received {"connection_id":90138,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88a9c158012d1965c0071ff020003e014622..."} 
[2026-06-02 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88a9c158012d1965c0071ff020003e014622..."} 
[2026-06-02 19:42:15] local.INFO: Processing buffer {"connection_id":90138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88a9c158012d1965c0071ff020003e014622..."} 
[2026-06-02 19:42:15] local.INFO: Packet analysis {"connection_id":90138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:42:15] local.INFO: Extracted packet for processing {"connection_id":90138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88a9"} 
[2026-06-02 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784772096001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780409287000,"timestamp_ms":1780409287000,"timestamp_seconds":1780409287,"priority":1,"record_length":96,"hex_timestamp":"0000019e88a9c158"} 
[2026-06-02 19:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-02 19:42:15] 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-06-02 19:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784772096001,"66":12558,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784772096001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784772096001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":90138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:42:16] local.INFO: GPS data processed {"connection_id":90138,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:42:16] local.INFO: Acknowledgment sent {"connection_id":90138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:42:16] local.INFO: TCP Data received {"connection_id":90138,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88aa1360012d1965c0071ff020003e014625..."} 
[2026-06-02 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88aa1360012d1965c0071ff020003e014625..."} 
[2026-06-02 19:42:16] local.INFO: Processing buffer {"connection_id":90138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88aa1360012d1965c0071ff020003e014625..."} 
[2026-06-02 19:42:16] local.INFO: Packet analysis {"connection_id":90138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88aa"} 
[2026-06-02 19:42:16] local.INFO: Extracted packet for processing {"connection_id":90138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88aa"} 
[2026-06-02 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784777472001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42: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-06-02 19:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780409308000,"timestamp_ms":1780409308000,"timestamp_seconds":1780409308,"priority":1,"record_length":96,"hex_timestamp":"0000019e88aa1360"} 
[2026-06-02 19:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2292700456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16385,"corrected_to":0} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740481552183328,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2826516481,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4028629054,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692400,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3107520512,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,185,158,111,45,192,240,62,34,10,66,29,33,203,1,123,227,136,31,4,113,205,39,101,32,36,239,49,2,189,7,120,91,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":203,"original":16385,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 19:42:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467929417171075072,"timestamp_seconds":4467929417171075.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784777472001,"66":12385,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784777472001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:42:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784777472001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":90138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:42:16] local.INFO: GPS data processed {"connection_id":90138,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:42:16] local.INFO: Acknowledgment sent {"connection_id":90138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:42:23] local.INFO: TCP Data received {"connection_id":91208,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:42:23] local.INFO: Processing buffer {"connection_id":91208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:42:23] local.INFO: IMEI packet received {"connection_id":91208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":91208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:42:28] local.INFO: TCP Data received {"connection_id":91208,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:42:28] local.INFO: Processing buffer {"connection_id":91208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:42:28] local.INFO: IMEI packet received {"connection_id":91208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":91208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:42:29] local.INFO: TCP Data received {"connection_id":91208,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:42:29] local.INFO: Processing buffer {"connection_id":91208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:42:29] local.INFO: Packet analysis {"connection_id":91208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:42:29] local.INFO: Extracted packet for processing {"connection_id":91208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:42:29] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:42: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-06-02 19:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:42:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":91208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:42:29] local.INFO: GPS data processed {"connection_id":91208,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:42:29] local.INFO: Acknowledgment sent {"connection_id":91208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:42:47] local.INFO: TCP Data received {"connection_id":90138,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88aa6568012d1965c0071ff020003e014625..."} 
[2026-06-02 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88aa6568012d1965c0071ff020003e014625..."} 
[2026-06-02 19:42:47] local.INFO: Processing buffer {"connection_id":90138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88aa6568012d1965c0071ff020003e014625..."} 
[2026-06-02 19:42:47] local.INFO: Packet analysis {"connection_id":90138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88aa"} 
[2026-06-02 19:42:47] local.INFO: Extracted packet for processing {"connection_id":90138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88aa"} 
[2026-06-02 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784782848001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:42: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-06-02 19:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780409329000,"timestamp_ms":1780409329000,"timestamp_seconds":1780409329,"priority":1,"record_length":96,"hex_timestamp":"0000019e88aa6568"} 
[2026-06-02 19:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 19:42: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-06-02 19: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-06-02 19:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":90138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":90138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":90138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784782848001,"66":12537,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784782848001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:42:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784782848001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":90138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:42:47] local.INFO: GPS data processed {"connection_id":90138,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:42:47] local.INFO: Acknowledgment sent {"connection_id":90138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:43:00] local.INFO: TCP Data received {"connection_id":91208,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:00] local.INFO: Processing buffer {"connection_id":91208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:00] local.INFO: Packet analysis {"connection_id":91208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:00] local.INFO: Extracted packet for processing {"connection_id":91208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:00] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19:43: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-06-02 19:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:43: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:43:00] 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-06-02 19:43: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-06-02 19:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43: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-06-02 19:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:43:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":91208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:43:00] local.INFO: GPS data processed {"connection_id":91208,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:43:00] local.INFO: Acknowledgment sent {"connection_id":91208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:43:04] local.INFO: TCP Data received {"connection_id":89776,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:43:04] local.INFO: Processing buffer {"connection_id":89776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:43:04] local.INFO: IMEI packet received {"connection_id":89776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":89776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:43:10] local.INFO: TCP Data received {"connection_id":89776,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:43:10] local.INFO: Processing buffer {"connection_id":89776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:43:10] local.INFO: IMEI packet received {"connection_id":89776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":89776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:43:11] local.INFO: TCP Data received {"connection_id":89776,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88aab770012d1965c0071ff020003e014628..."} 
[2026-06-02 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88aab770012d1965c0071ff020003e014628..."} 
[2026-06-02 19:43:11] local.INFO: Processing buffer {"connection_id":89776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88aab770012d1965c0071ff020003e014628..."} 
[2026-06-02 19:43:11] local.INFO: Packet analysis {"connection_id":89776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88aa"} 
[2026-06-02 19:43:11] local.INFO: Extracted packet for processing {"connection_id":89776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88aa"} 
[2026-06-02 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784788224001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780409350000,"timestamp_ms":1780409350000,"timestamp_seconds":1780409350,"priority":1,"record_length":96,"hex_timestamp":"0000019e88aab770"} 
[2026-06-02 19:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 19:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784788224001,"66":12537,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784788224001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:43:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784788224001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":89776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:43:11] local.INFO: GPS data processed {"connection_id":89776,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:43:11] local.INFO: Acknowledgment sent {"connection_id":89776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:43:28] local.INFO: TCP Data received {"connection_id":90139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:43:28] local.INFO: Processing buffer {"connection_id":90139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:43:28] local.INFO: IMEI packet received {"connection_id":90139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":90139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:43:33] local.INFO: TCP Data received {"connection_id":90139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:43:33] local.INFO: Processing buffer {"connection_id":90139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:43:33] local.INFO: IMEI packet received {"connection_id":90139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":90139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:43:34] local.INFO: TCP Data received {"connection_id":90139,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:34] local.INFO: Processing buffer {"connection_id":90139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:34] local.INFO: Packet analysis {"connection_id":90139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:34] local.INFO: Extracted packet for processing {"connection_id":90139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:34] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:43:34] 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-06-02 19: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-06-02 19:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43:34] 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-06-02 19:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:43:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":90139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:43:34] local.INFO: GPS data processed {"connection_id":90139,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:43:34] local.INFO: Acknowledgment sent {"connection_id":90139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:43:38] local.INFO: TCP Data received {"connection_id":90139,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:38] local.INFO: Processing buffer {"connection_id":90139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:38] local.INFO: Packet analysis {"connection_id":90139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:38] local.INFO: Extracted packet for processing {"connection_id":90139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:43:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:43:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":90139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:43:38] local.INFO: GPS data processed {"connection_id":90139,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:43:38] local.INFO: Acknowledgment sent {"connection_id":90139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:43:42] local.INFO: TCP Data received {"connection_id":89776,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ab0978012d1965c0071ff020003e014626..."} 
[2026-06-02 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ab0978012d1965c0071ff020003e014626..."} 
[2026-06-02 19:43:42] local.INFO: Processing buffer {"connection_id":89776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ab0978012d1965c0071ff020003e014626..."} 
[2026-06-02 19:43:42] local.INFO: Packet analysis {"connection_id":89776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:43:42] local.INFO: Extracted packet for processing {"connection_id":89776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784793600001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409371000,"timestamp_ms":1780409371000,"timestamp_seconds":1780409371,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ab0978"} 
[2026-06-02 19:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 19:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784793600001,"66":12580,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784793600001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:43:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784793600001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":89776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:43:42] local.INFO: GPS data processed {"connection_id":89776,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:43:42] local.INFO: Acknowledgment sent {"connection_id":89776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:43:43] local.INFO: TCP Data received {"connection_id":90139,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:43] local.INFO: Processing buffer {"connection_id":90139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:43:43] local.INFO: Packet analysis {"connection_id":90139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:43] local.INFO: Extracted packet for processing {"connection_id":90139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:43:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":90139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:43:43] local.INFO: GPS data processed {"connection_id":90139,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:43:43] local.INFO: Acknowledgment sent {"connection_id":90139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:44:04] local.INFO: TCP Data received {"connection_id":91210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:44:04] local.INFO: Processing buffer {"connection_id":91210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:44:04] local.INFO: IMEI packet received {"connection_id":91210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":91210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:44:10] local.INFO: TCP Data received {"connection_id":91210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:44:10] local.INFO: Processing buffer {"connection_id":91210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:44:10] local.INFO: IMEI packet received {"connection_id":91210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":91210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:44:11] local.INFO: TCP Data received {"connection_id":91210,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ab5b80012d1965c0071ff020003e014625..."} 
[2026-06-02 19:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ab5b80012d1965c0071ff020003e014625..."} 
[2026-06-02 19:44:11] local.INFO: Processing buffer {"connection_id":91210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ab5b80012d1965c0071ff020003e014625..."} 
[2026-06-02 19:44:11] local.INFO: Packet analysis {"connection_id":91210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:44:11] local.INFO: Extracted packet for processing {"connection_id":91210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784798976001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780409392000,"timestamp_ms":1780409392000,"timestamp_seconds":1780409392,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ab5b80"} 
[2026-06-02 19:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-02 19:44:11] 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-06-02 19:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784798976001,"66":12591,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784798976001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:44:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784798976001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":91210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:44:11] local.INFO: GPS data processed {"connection_id":91210,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:44:11] local.INFO: Acknowledgment sent {"connection_id":91210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:44:23] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:44:23] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:44:23] local.INFO: IMEI packet received {"connection_id":90042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":90042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:44:28] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:44:28] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:44:28] local.INFO: IMEI packet received {"connection_id":90042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":90042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:44:29] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:44:29] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:44:29] local.INFO: Packet analysis {"connection_id":90042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:44:29] local.INFO: Extracted packet for processing {"connection_id":90042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:44:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":90042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:44:29] local.INFO: GPS data processed {"connection_id":90042,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:44:29] local.INFO: Acknowledgment sent {"connection_id":90042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:44:42] local.INFO: TCP Data received {"connection_id":91210,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88abad88012d1965c0071ff020003e014623..."} 
[2026-06-02 19:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88abad88012d1965c0071ff020003e014623..."} 
[2026-06-02 19:44:42] local.INFO: Processing buffer {"connection_id":91210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88abad88012d1965c0071ff020003e014623..."} 
[2026-06-02 19:44:42] local.INFO: Packet analysis {"connection_id":91210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:44:42] local.INFO: Extracted packet for processing {"connection_id":91210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784804352001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409413000,"timestamp_ms":1780409413000,"timestamp_seconds":1780409413,"priority":1,"record_length":96,"hex_timestamp":"0000019e88abad88"} 
[2026-06-02 19:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-02 19:44:42] 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-06-02 19:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784804352001,"66":12548,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784804352001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:44:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784804352001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":91210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:44:42] local.INFO: GPS data processed {"connection_id":91210,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:44:42] local.INFO: Acknowledgment sent {"connection_id":91210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:45:00] local.INFO: TCP Data received {"connection_id":90042,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:45:00] local.INFO: Processing buffer {"connection_id":90042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:45:00] local.INFO: Packet analysis {"connection_id":90042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:45:00] local.INFO: Extracted packet for processing {"connection_id":90042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 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-06-02 19:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 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-06-02 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:45:00] 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-06-02 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-06-02 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-06-02 19:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:45: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-06-02 19:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:45:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:45:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":90042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:45:00] local.INFO: GPS data processed {"connection_id":90042,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:45:00] local.INFO: Acknowledgment sent {"connection_id":90042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:45:02] local.INFO: TCP Data received {"connection_id":91211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:02] local.INFO: Processing buffer {"connection_id":91211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:02] local.INFO: IMEI packet received {"connection_id":91211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":91211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:45:04] local.INFO: TCP Data received {"connection_id":91211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:04] local.INFO: Processing buffer {"connection_id":91211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:04] local.INFO: IMEI packet received {"connection_id":91211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":91211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:45:10] local.INFO: TCP Data received {"connection_id":91211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:10] local.INFO: Processing buffer {"connection_id":91211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:45:10] local.INFO: IMEI packet received {"connection_id":91211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":91211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:45:11] local.INFO: TCP Data received {"connection_id":91211,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88abff90012d1965c0071ff020003e014624..."} 
[2026-06-02 19:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88abff90012d1965c0071ff020003e014624..."} 
[2026-06-02 19:45:11] local.INFO: Processing buffer {"connection_id":91211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88abff90012d1965c0071ff020003e014624..."} 
[2026-06-02 19:45:11] local.INFO: Packet analysis {"connection_id":91211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:45:11] local.INFO: Extracted packet for processing {"connection_id":91211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ab"} 
[2026-06-02 19:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784809728001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780409434000,"timestamp_ms":1780409434000,"timestamp_seconds":1780409434,"priority":1,"record_length":96,"hex_timestamp":"0000019e88abff90"} 
[2026-06-02 19:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2292826456,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2858772481,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4028629054,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692400,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3107520512,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,185,158,91,45,192,240,62,37,10,66,9,38,183,1,249,227,136,31,4,113,205,19,101,32,239,48,2,189,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-02 19:45:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467929421466042368,"timestamp_seconds":4467929421466042.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-02 19:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784809728001,"66":12526,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784809728001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:45:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784809728001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":91211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:45:11] local.INFO: GPS data processed {"connection_id":91211,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:45:11] local.INFO: Acknowledgment sent {"connection_id":91211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:45:22] local.INFO: TCP Data received {"connection_id":89777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:45:22] local.INFO: Processing buffer {"connection_id":89777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:45:22] local.INFO: IMEI packet received {"connection_id":89777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":89777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:45:23] local.INFO: TCP Data received {"connection_id":90043,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:45:23] local.INFO: Processing buffer {"connection_id":90043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:45:23] local.INFO: IMEI packet received {"connection_id":90043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":90043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:45:28] local.INFO: TCP Data received {"connection_id":90043,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:45:28] local.INFO: Processing buffer {"connection_id":90043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:45:28] local.INFO: IMEI packet received {"connection_id":90043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":90043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:45:29] local.INFO: TCP Data received {"connection_id":90043,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:45:29] local.INFO: Processing buffer {"connection_id":90043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:45:29] local.INFO: Packet analysis {"connection_id":90043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:45:29] local.INFO: Extracted packet for processing {"connection_id":90043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:45: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-06-02 19:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:45:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":90043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:45:29] local.INFO: GPS data processed {"connection_id":90043,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:45:29] local.INFO: Acknowledgment sent {"connection_id":90043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:45:42] local.INFO: TCP Data received {"connection_id":91211,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ac5198012d1965c0071ff020003e014626..."} 
[2026-06-02 19:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ac5198012d1965c0071ff020003e014626..."} 
[2026-06-02 19:45:42] local.INFO: Processing buffer {"connection_id":91211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ac5198012d1965c0071ff020003e014626..."} 
[2026-06-02 19:45:42] local.INFO: Packet analysis {"connection_id":91211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:45:42] local.INFO: Extracted packet for processing {"connection_id":91211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784815104001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409455000,"timestamp_ms":1780409455000,"timestamp_seconds":1780409455,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ac5198"} 
[2026-06-02 19:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 19:45:42] 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-06-02 19: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-06-02 19:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784815104001,"66":12558,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784815104001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:45:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784815104001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":91211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:45:42] local.INFO: GPS data processed {"connection_id":91211,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:45:42] local.INFO: Acknowledgment sent {"connection_id":91211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:45:57] local.INFO: TCP Data received {"connection_id":89778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:45:57] local.INFO: Processing buffer {"connection_id":89778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:45:57] local.INFO: IMEI packet received {"connection_id":89778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":89778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:46:00] local.INFO: TCP Data received {"connection_id":90043,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:46:00] local.INFO: Processing buffer {"connection_id":90043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88acaf58012cb29c8007823a88005100b821..."} 
[2026-06-02 19:46:00] local.INFO: Packet analysis {"connection_id":90043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:46:00] local.INFO: Extracted packet for processing {"connection_id":90043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ac"} 
[2026-06-02 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975176,"longitude_deg":74.9902976,"latitude_deg":12.5975176,"altitude":81,"angle":184,"satellites":33,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784779520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062729216,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409479000,"timestamp_ms":1780409479000,"timestamp_seconds":1780409479,"priority":1,"record_length":96,"hex_timestamp":"0000019e88acaf58"} 
[2026-06-02 19:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 19:46:00] 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-06-02 19: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-06-02 19:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:46: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-06-02 19:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784779520001,"66":24473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062729216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784779520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:46:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062729216,"description":"Unknown IO ID 44"} 
[2026-06-02 19:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784779520001,"power":24473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062729216}} 
[2026-06-02 19:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":90043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:46:00] local.INFO: GPS data processed {"connection_id":90043,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:46:00] local.INFO: Acknowledgment sent {"connection_id":90043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:46:04] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:04] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:04] local.INFO: IMEI packet received {"connection_id":89779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":89779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:46:05] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:05] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:05] local.INFO: IMEI packet received {"connection_id":89779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":89779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:46:10] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:10] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:46:10] local.INFO: IMEI packet received {"connection_id":89779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":89779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:46:11] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88afd7f0012d1965c0071ff020003e014624..."} 
[2026-06-02 19:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88afd7f0012d1965c0071ff020003e014624..."} 
[2026-06-02 19:46:11] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88afd7f0012d1965c0071ff020003e014624..."} 
[2026-06-02 19:46:11] local.INFO: Packet analysis {"connection_id":89779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88af"} 
[2026-06-02 19:46:11] local.INFO: Extracted packet for processing {"connection_id":89779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88af"} 
[2026-06-02 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784874240001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780409686000,"timestamp_ms":1780409686000,"timestamp_seconds":1780409686,"priority":1,"record_length":96,"hex_timestamp":"0000019e88afd7f0"} 
[2026-06-02 19:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-02 19:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784874240001,"66":12537,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784874240001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:46:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784874240001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":89779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:46:11] local.INFO: GPS data processed {"connection_id":89779,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:46:11] local.INFO: Acknowledgment sent {"connection_id":89779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:46:22] local.INFO: TCP Data received {"connection_id":91212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:22] local.INFO: Processing buffer {"connection_id":91212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:22] local.INFO: IMEI packet received {"connection_id":91212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":91212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:46:23] local.INFO: TCP Data received {"connection_id":91212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:23] local.INFO: Processing buffer {"connection_id":91212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:23] local.INFO: IMEI packet received {"connection_id":91212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":91212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:46:28] local.INFO: TCP Data received {"connection_id":91212,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:28] local.INFO: Processing buffer {"connection_id":91212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:46:28] local.INFO: IMEI packet received {"connection_id":91212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":91212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:46:29] local.INFO: TCP Data received {"connection_id":91212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:46:29] local.INFO: Processing buffer {"connection_id":91212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:46:29] local.INFO: Packet analysis {"connection_id":91212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:46:29] local.INFO: Extracted packet for processing {"connection_id":91212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:46:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:46:29] 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-06-02 19:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:46:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":91212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:46:29] local.INFO: GPS data processed {"connection_id":91212,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:46:29] local.INFO: Acknowledgment sent {"connection_id":91212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:46:42] local.INFO: TCP Data received {"connection_id":89779,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b029f8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b029f8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:46:42] local.INFO: Processing buffer {"connection_id":89779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b029f8012d1965c0071ff020003e014624..."} 
[2026-06-02 19:46:42] local.INFO: Packet analysis {"connection_id":89779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:46:42] local.INFO: Extracted packet for processing {"connection_id":89779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784879616001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409707000,"timestamp_ms":1780409707000,"timestamp_seconds":1780409707,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b029f8"} 
[2026-06-02 19:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 19:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784879616001,"66":12504,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784879616001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:46:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784879616001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":89779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:46:42] local.INFO: GPS data processed {"connection_id":89779,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:46:42] local.INFO: Acknowledgment sent {"connection_id":89779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:47:00] local.INFO: TCP Data received {"connection_id":91212,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:00] local.INFO: Processing buffer {"connection_id":91212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:00] local.INFO: Packet analysis {"connection_id":91212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:00] local.INFO: Extracted packet for processing {"connection_id":91212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:47: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-06-02 19:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:47:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":91212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:47:00] local.INFO: GPS data processed {"connection_id":91212,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:47:00] local.INFO: Acknowledgment sent {"connection_id":91212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:47:04] local.INFO: TCP Data received {"connection_id":90141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:47:04] local.INFO: Processing buffer {"connection_id":90141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:47:04] local.INFO: IMEI packet received {"connection_id":90141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":90141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:47:10] local.INFO: TCP Data received {"connection_id":90141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:47:10] local.INFO: Processing buffer {"connection_id":90141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:47:10] local.INFO: IMEI packet received {"connection_id":90141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":90141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:47:10] local.INFO: TCP Data received {"connection_id":90141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b07c00012d1965c0071ff020003e014624..."} 
[2026-06-02 19:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b07c00012d1965c0071ff020003e014624..."} 
[2026-06-02 19:47:10] local.INFO: Processing buffer {"connection_id":90141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b07c00012d1965c0071ff020003e014624..."} 
[2026-06-02 19:47:10] local.INFO: Packet analysis {"connection_id":90141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:10] local.INFO: Extracted packet for processing {"connection_id":90141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784884992001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780409728000,"timestamp_ms":1780409728000,"timestamp_seconds":1780409728,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b07c00"} 
[2026-06-02 19:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 19:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784884992001,"66":12461,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784884992001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:47:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784884992001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":90141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:47:11] local.INFO: GPS data processed {"connection_id":90141,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:47:11] local.INFO: Acknowledgment sent {"connection_id":90141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:47:23] local.INFO: TCP Data received {"connection_id":90142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:47:23] local.INFO: Processing buffer {"connection_id":90142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:47:23] local.INFO: IMEI packet received {"connection_id":90142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":90142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:47:28] local.INFO: TCP Data received {"connection_id":90142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:47:28] local.INFO: Processing buffer {"connection_id":90142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:47:28] local.INFO: IMEI packet received {"connection_id":90142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":90142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:47:28] local.INFO: TCP Data received {"connection_id":90142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:28] local.INFO: Processing buffer {"connection_id":90142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:28] local.INFO: Packet analysis {"connection_id":90142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:28] local.INFO: Extracted packet for processing {"connection_id":90142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:47:28] 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-06-02 19:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:47:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:47:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":90142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:47:28] local.INFO: GPS data processed {"connection_id":90142,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:47:28] local.INFO: Acknowledgment sent {"connection_id":90142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:47:42] local.INFO: TCP Data received {"connection_id":90141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0ce08012d1965c0071ff020003e014625..."} 
[2026-06-02 19:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0ce08012d1965c0071ff020003e014625..."} 
[2026-06-02 19:47:42] local.INFO: Processing buffer {"connection_id":90141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0ce08012d1965c0071ff020003e014625..."} 
[2026-06-02 19:47:42] local.INFO: Packet analysis {"connection_id":90141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:42] local.INFO: Extracted packet for processing {"connection_id":90141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784890368001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409749000,"timestamp_ms":1780409749000,"timestamp_seconds":1780409749,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0ce08"} 
[2026-06-02 19:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 19:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784890368001,"66":12461,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784890368001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:47:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784890368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":90141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:47:42] local.INFO: GPS data processed {"connection_id":90141,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:47:42] local.INFO: Acknowledgment sent {"connection_id":90141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:47:59] local.INFO: TCP Data received {"connection_id":90142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:59] local.INFO: Processing buffer {"connection_id":90142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:47:59] local.INFO: Packet analysis {"connection_id":90142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:59] local.INFO: Extracted packet for processing {"connection_id":90142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:47: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-06-02 19:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:47: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":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:47: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-06-02 19:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:47:59] 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-06-02 19:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:47:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:47:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":90142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:47:59] local.INFO: GPS data processed {"connection_id":90142,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:47:59] local.INFO: Acknowledgment sent {"connection_id":90142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:48:10] local.INFO: TCP Data received {"connection_id":91213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:48:10] local.INFO: Processing buffer {"connection_id":91213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:48:10] local.INFO: IMEI packet received {"connection_id":91213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":91213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:48:15] local.INFO: TCP Data received {"connection_id":91213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:48:15] local.INFO: Processing buffer {"connection_id":91213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:48:15] local.INFO: IMEI packet received {"connection_id":91213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":91213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:48:15] local.INFO: TCP Data received {"connection_id":91213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:48:15] local.INFO: Processing buffer {"connection_id":91213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:48:15] local.INFO: Packet analysis {"connection_id":91213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:48:15] local.INFO: Extracted packet for processing {"connection_id":91213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784895744001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-02 19:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-02 19:48:15] 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-06-02 19:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784895744001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784895744001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:48:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784895744001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":91213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:48:16] local.INFO: GPS data processed {"connection_id":91213,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:48:16] local.INFO: Acknowledgment sent {"connection_id":91213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:48:20] local.INFO: TCP Data received {"connection_id":91213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:48:20] local.INFO: Processing buffer {"connection_id":91213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:48:20] local.INFO: Packet analysis {"connection_id":91213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:48:20] local.INFO: Extracted packet for processing {"connection_id":91213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:48:20] 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-06-02 19:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:48:20] 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-06-02 19:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":91213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":91213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":91213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:48:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":91213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:48:20] local.INFO: GPS data processed {"connection_id":91213,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:48:20] local.INFO: Acknowledgment sent {"connection_id":91213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:48:28] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:48:28] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:48:28] local.INFO: IMEI packet received {"connection_id":90143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":90143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:48:33] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:48:33] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:48:33] local.INFO: IMEI packet received {"connection_id":90143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":90143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:48:34] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:48:34] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:48:34] local.INFO: Packet analysis {"connection_id":90143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:48:34] local.INFO: Extracted packet for processing {"connection_id":90143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:48:34] 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-06-02 19:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:48:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:48:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":90143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:48:34] local.INFO: GPS data processed {"connection_id":90143,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:48:34] local.INFO: Acknowledgment sent {"connection_id":90143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:48:38] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:48:38] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:48:38] local.INFO: Packet analysis {"connection_id":90143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:48:38] local.INFO: Extracted packet for processing {"connection_id":90143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:48:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:48:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":90143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:48:38] local.INFO: GPS data processed {"connection_id":90143,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:48:38] local.INFO: Acknowledgment sent {"connection_id":90143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:49:04] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:49:04] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:49:04] local.INFO: IMEI packet received {"connection_id":90046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":90046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:49:09] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:49:09] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:49:09] local.INFO: IMEI packet received {"connection_id":90046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":90046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:49:10] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:49:10] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:49:10] local.INFO: Packet analysis {"connection_id":90046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:49:10] local.INFO: Extracted packet for processing {"connection_id":90046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:49:10] 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-06-02 19:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:49: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-06-02 19:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:49:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":90046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:49:10] local.INFO: GPS data processed {"connection_id":90046,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:49:10] local.INFO: Acknowledgment sent {"connection_id":90046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:49:23] local.INFO: TCP Data received {"connection_id":89780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:49:23] local.INFO: Processing buffer {"connection_id":89780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:49:23] local.INFO: IMEI packet received {"connection_id":89780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":89780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:49:28] local.INFO: TCP Data received {"connection_id":89780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:49:28] local.INFO: Processing buffer {"connection_id":89780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:49:28] local.INFO: IMEI packet received {"connection_id":89780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:49:29] local.INFO: TCP Data received {"connection_id":89780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:49:29] local.INFO: Processing buffer {"connection_id":89780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:49:29] local.INFO: Packet analysis {"connection_id":89780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:49:29] local.INFO: Extracted packet for processing {"connection_id":89780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:49:29] 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-06-02 19:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:49:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":89780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:49:29] local.INFO: GPS data processed {"connection_id":89780,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:49:29] local.INFO: Acknowledgment sent {"connection_id":89780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:49:41] local.INFO: TCP Data received {"connection_id":90046,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:49:41] local.INFO: Processing buffer {"connection_id":90046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:49:41] local.INFO: Packet analysis {"connection_id":90046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:49:41] local.INFO: Extracted packet for processing {"connection_id":90046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:49:41] 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-06-02 19:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:49:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":90046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:49:41] local.INFO: GPS data processed {"connection_id":90046,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:49:41] local.INFO: Acknowledgment sent {"connection_id":90046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:50:00] local.INFO: TCP Data received {"connection_id":89780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:50:00] local.INFO: Processing buffer {"connection_id":89780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:50:00] local.INFO: Packet analysis {"connection_id":89780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:50:00] local.INFO: Extracted packet for processing {"connection_id":89780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:50:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:50:00] 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-06-02 19:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:50:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":89780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:50:00] local.INFO: GPS data processed {"connection_id":89780,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:50:00] local.INFO: Acknowledgment sent {"connection_id":89780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:50:05] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:50:05] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:50:05] local.INFO: IMEI packet received {"connection_id":90047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":90047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:50:10] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:50:10] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:50:10] local.INFO: IMEI packet received {"connection_id":90047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":90047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:50:10] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:50:10] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:50:10] local.INFO: Packet analysis {"connection_id":90047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:50:10] local.INFO: Extracted packet for processing {"connection_id":90047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:50:10] 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-06-02 19:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":90047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:50:11] local.INFO: GPS data processed {"connection_id":90047,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:50:11] local.INFO: Acknowledgment sent {"connection_id":90047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:50:23] local.INFO: TCP Data received {"connection_id":90144,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:50:23] local.INFO: Processing buffer {"connection_id":90144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:50:23] local.INFO: IMEI packet received {"connection_id":90144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":90144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:50:28] local.INFO: TCP Data received {"connection_id":90144,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:50:28] local.INFO: Processing buffer {"connection_id":90144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:50:28] local.INFO: IMEI packet received {"connection_id":90144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":90144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:50:29] local.INFO: TCP Data received {"connection_id":90144,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:50:29] local.INFO: Processing buffer {"connection_id":90144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:50:29] local.INFO: Packet analysis {"connection_id":90144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:50:29] local.INFO: Extracted packet for processing {"connection_id":90144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:50:29] 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-06-02 19:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:50:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":90144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:50:29] local.INFO: GPS data processed {"connection_id":90144,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:50:29] local.INFO: Acknowledgment sent {"connection_id":90144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:50:42] local.INFO: TCP Data received {"connection_id":90047,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:50:42] local.INFO: Processing buffer {"connection_id":90047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:50:42] local.INFO: Packet analysis {"connection_id":90047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:50:42] local.INFO: Extracted packet for processing {"connection_id":90047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:50:42] 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-06-02 19:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:50:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":90047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:50:42] local.INFO: GPS data processed {"connection_id":90047,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:50:42] local.INFO: Acknowledgment sent {"connection_id":90047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:51:00] local.INFO: TCP Data received {"connection_id":90144,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:51:00] local.INFO: Processing buffer {"connection_id":90144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b0d5d8012cb29ac007823b18005200b825..."} 
[2026-06-02 19:51:00] local.INFO: Packet analysis {"connection_id":90144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:51:00] local.INFO: Extracted packet for processing {"connection_id":90144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b0"} 
[2026-06-02 19:51:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784826624001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853516288,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780409751000,"timestamp_ms":1780409751000,"timestamp_seconds":1780409751,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b0d5d8"} 
[2026-06-02 19:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-02 19:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:51:00] 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-06-02 19:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784826624001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576441468853516288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784826624001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:51:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:51:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853516288,"description":"Unknown IO ID 44"} 
[2026-06-02 19:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784826624001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576441468853516288}} 
[2026-06-02 19:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":90144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:51:00] local.INFO: GPS data processed {"connection_id":90144,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:51:00] local.INFO: Acknowledgment sent {"connection_id":90144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:51:05] local.INFO: TCP Data received {"connection_id":91216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:51:05] local.INFO: Processing buffer {"connection_id":91216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:51:05] local.INFO: IMEI packet received {"connection_id":91216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":91216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:51:10] local.INFO: TCP Data received {"connection_id":91216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:51:10] local.INFO: Processing buffer {"connection_id":91216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:51:10] local.INFO: IMEI packet received {"connection_id":91216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":91216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:51:10] local.INFO: TCP Data received {"connection_id":91216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:51:10] local.INFO: Processing buffer {"connection_id":91216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:51:10] local.INFO: Packet analysis {"connection_id":91216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:51:10] local.INFO: Extracted packet for processing {"connection_id":91216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:51:10] 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-06-02 19:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:51: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-06-02 19:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:51:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":91216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:51:11] local.INFO: GPS data processed {"connection_id":91216,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:51:11] local.INFO: Acknowledgment sent {"connection_id":91216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:51:12] local.INFO: TCP Data received {"connection_id":91215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:51:12] local.INFO: Processing buffer {"connection_id":91215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:51:12] local.INFO: IMEI packet received {"connection_id":91215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":91215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:51:23] local.INFO: TCP Data received {"connection_id":90048,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:23] local.INFO: Processing buffer {"connection_id":90048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:23] local.INFO: IMEI packet received {"connection_id":90048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":90048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:51:23] local.INFO: TCP Data received {"connection_id":90048,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:23] local.INFO: Processing buffer {"connection_id":90048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:23] local.INFO: IMEI packet received {"connection_id":90048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":90048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:51:28] local.INFO: TCP Data received {"connection_id":90048,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:28] local.INFO: Processing buffer {"connection_id":90048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:51:28] local.INFO: IMEI packet received {"connection_id":90048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":90048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:51:28] local.INFO: TCP Data received {"connection_id":90048,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:51:28] local.INFO: Processing buffer {"connection_id":90048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:51:28] local.INFO: Packet analysis {"connection_id":90048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:51:28] local.INFO: Extracted packet for processing {"connection_id":90048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:51:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:51:28] 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-06-02 19:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:51:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":90048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:51:28] local.INFO: GPS data processed {"connection_id":90048,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:51:28] local.INFO: Acknowledgment sent {"connection_id":90048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:51:42] local.INFO: TCP Data received {"connection_id":91216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:51:42] local.INFO: Processing buffer {"connection_id":91216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b104b8012d1965c0071ff020003e014625..."} 
[2026-06-02 19:51:42] local.INFO: Packet analysis {"connection_id":91216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:51:42] local.INFO: Extracted packet for processing {"connection_id":91216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b1"} 
[2026-06-02 19:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-06-02 19:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780409763000,"timestamp_ms":1780409763000,"timestamp_seconds":1780409763,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b104b8"} 
[2026-06-02 19:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:51:42] 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-06-02 19:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":12515,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:51:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":91216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:51:42] local.INFO: GPS data processed {"connection_id":91216,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:51:42] local.INFO: Acknowledgment sent {"connection_id":91216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:51:57] local.INFO: TCP Data received {"connection_id":89781,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:51:57] local.INFO: Processing buffer {"connection_id":89781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:51:57] local.INFO: IMEI packet received {"connection_id":89781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":89781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:51:59] local.INFO: TCP Data received {"connection_id":90048,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:51:59] local.INFO: Processing buffer {"connection_id":90048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:51:59] local.INFO: Packet analysis {"connection_id":90048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:51:59] local.INFO: Extracted packet for processing {"connection_id":90048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:51:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:51:59] 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-06-02 19:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:51:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":90048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:51:59] local.INFO: GPS data processed {"connection_id":90048,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:51:59] local.INFO: Acknowledgment sent {"connection_id":90048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:52:04] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:52:04] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:52:04] local.INFO: IMEI packet received {"connection_id":90145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":90145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:52:10] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:52:10] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:52:10] local.INFO: IMEI packet received {"connection_id":90145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":90145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:52:11] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:52:11] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:52:11] local.INFO: Packet analysis {"connection_id":90145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:52:11] local.INFO: Extracted packet for processing {"connection_id":90145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:52:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":90145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:52:11] local.INFO: GPS data processed {"connection_id":90145,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:52:11] local.INFO: Acknowledgment sent {"connection_id":90145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:52:23] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:52:23] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:52:23] local.INFO: IMEI packet received {"connection_id":90049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":90049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:52:28] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:52:28] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:52:28] local.INFO: IMEI packet received {"connection_id":90049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":90049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:52:29] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:52:29] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:52:29] local.INFO: Packet analysis {"connection_id":90049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:52:29] local.INFO: Extracted packet for processing {"connection_id":90049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:52:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:52:29] 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-06-02 19:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:52:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":90049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:52:29] local.INFO: GPS data processed {"connection_id":90049,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:52:29] local.INFO: Acknowledgment sent {"connection_id":90049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:52:42] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:52:42] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:52:42] local.INFO: Packet analysis {"connection_id":90145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:52:42] local.INFO: Extracted packet for processing {"connection_id":90145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:52:42] 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-06-02 19:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:52:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":90145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:52:42] local.INFO: GPS data processed {"connection_id":90145,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:52:42] local.INFO: Acknowledgment sent {"connection_id":90145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:53:00] local.INFO: TCP Data received {"connection_id":90049,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:00] local.INFO: Processing buffer {"connection_id":90049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:00] local.INFO: Packet analysis {"connection_id":90049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:00] local.INFO: Extracted packet for processing {"connection_id":90049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:53:00] 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-06-02 19:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:53:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":90049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:53:00] local.INFO: GPS data processed {"connection_id":90049,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:53:00] local.INFO: Acknowledgment sent {"connection_id":90049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:53:10] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:53:10] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:53:10] local.INFO: IMEI packet received {"connection_id":90050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":90050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:53:15] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:53:15] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:53:15] local.INFO: IMEI packet received {"connection_id":90050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":90050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:53:16] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:53:16] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:53:16] local.INFO: Packet analysis {"connection_id":90050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:16] local.INFO: Extracted packet for processing {"connection_id":90050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53: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-06-02 19:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:53:16] 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-06-02 19:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:53:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":90050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:53:16] local.INFO: GPS data processed {"connection_id":90050,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:53:16] local.INFO: Acknowledgment sent {"connection_id":90050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:53:20] local.INFO: TCP Data received {"connection_id":90050,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:53:20] local.INFO: Processing buffer {"connection_id":90050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:53:20] local.INFO: Packet analysis {"connection_id":90050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:20] local.INFO: Extracted packet for processing {"connection_id":90050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:53:20] 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-06-02 19: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-06-02 19:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:53:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":90050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:53:20] local.INFO: GPS data processed {"connection_id":90050,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:53:20] local.INFO: Acknowledgment sent {"connection_id":90050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:53:28] local.INFO: TCP Data received {"connection_id":89783,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:53:28] local.INFO: Processing buffer {"connection_id":89783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:53:28] local.INFO: IMEI packet received {"connection_id":89783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":89783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:53:33] local.INFO: TCP Data received {"connection_id":89783,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:53:33] local.INFO: Processing buffer {"connection_id":89783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:53:33] local.INFO: IMEI packet received {"connection_id":89783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":89783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:53:34] local.INFO: TCP Data received {"connection_id":89783,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:34] local.INFO: Processing buffer {"connection_id":89783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:34] local.INFO: Packet analysis {"connection_id":89783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:34] local.INFO: Extracted packet for processing {"connection_id":89783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":89783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":89783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":89783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:53:34] 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-06-02 19:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:53:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:53:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":89783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:53:34] local.INFO: GPS data processed {"connection_id":89783,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:53:34] local.INFO: Acknowledgment sent {"connection_id":89783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:53:38] local.INFO: TCP Data received {"connection_id":89783,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:38] local.INFO: Processing buffer {"connection_id":89783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:53:38] local.INFO: Packet analysis {"connection_id":89783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:38] local.INFO: Extracted packet for processing {"connection_id":89783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:53:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:53:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":89783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:53:38] local.INFO: GPS data processed {"connection_id":89783,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:53:38] local.INFO: Acknowledgment sent {"connection_id":89783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:54:05] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:54:05] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:54:05] local.INFO: IMEI packet received {"connection_id":89785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":89785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:54:10] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:54:10] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:54:10] local.INFO: IMEI packet received {"connection_id":89785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":89785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:54:11] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:54:11] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:54:11] local.INFO: Packet analysis {"connection_id":89785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:54:11] local.INFO: Extracted packet for processing {"connection_id":89785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:54:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":89785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:54:11] local.INFO: GPS data processed {"connection_id":89785,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:54:11] local.INFO: Acknowledgment sent {"connection_id":89785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:54:23] local.INFO: TCP Data received {"connection_id":90147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:54:23] local.INFO: Processing buffer {"connection_id":90147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:54:23] local.INFO: IMEI packet received {"connection_id":90147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":90147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:54:28] local.INFO: TCP Data received {"connection_id":90147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:54:28] local.INFO: Processing buffer {"connection_id":90147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:54:28] local.INFO: IMEI packet received {"connection_id":90147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":90147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:54:29] local.INFO: TCP Data received {"connection_id":90147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:54:29] local.INFO: Processing buffer {"connection_id":90147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:54:29] local.INFO: Packet analysis {"connection_id":90147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:54:29] local.INFO: Extracted packet for processing {"connection_id":90147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:54:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:54:29] 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-06-02 19:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:54:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":90147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:54:29] local.INFO: GPS data processed {"connection_id":90147,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:54:29] local.INFO: Acknowledgment sent {"connection_id":90147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:54:42] local.INFO: TCP Data received {"connection_id":89785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:54:42] local.INFO: Processing buffer {"connection_id":89785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:54:42] local.INFO: Packet analysis {"connection_id":89785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:54:42] local.INFO: Extracted packet for processing {"connection_id":89785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:54:42] 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-06-02 19:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:54:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":89785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:54:42] local.INFO: GPS data processed {"connection_id":89785,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:54:42] local.INFO: Acknowledgment sent {"connection_id":89785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:55:00] local.INFO: TCP Data received {"connection_id":90147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:55:00] local.INFO: Processing buffer {"connection_id":90147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:55:00] local.INFO: Packet analysis {"connection_id":90147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:00] local.INFO: Extracted packet for processing {"connection_id":90147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:55:00] 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-06-02 19:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:55:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":90147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:55:00] local.INFO: GPS data processed {"connection_id":90147,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:55:00] local.INFO: Acknowledgment sent {"connection_id":90147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:55:04] local.INFO: TCP Data received {"connection_id":90052,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:55:04] local.INFO: Processing buffer {"connection_id":90052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:55:04] local.INFO: IMEI packet received {"connection_id":90052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":90052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:55:10] local.INFO: TCP Data received {"connection_id":90052,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:55:10] local.INFO: Processing buffer {"connection_id":90052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:55:10] local.INFO: IMEI packet received {"connection_id":90052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":90052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:55:10] local.INFO: TCP Data received {"connection_id":90052,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:55:10] local.INFO: Processing buffer {"connection_id":90052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:55:10] local.INFO: Packet analysis {"connection_id":90052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:10] local.INFO: Extracted packet for processing {"connection_id":90052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":90052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:55:11] local.INFO: GPS data processed {"connection_id":90052,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:55:11] local.INFO: Acknowledgment sent {"connection_id":90052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:55:23] local.INFO: TCP Data received {"connection_id":91217,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:55:23] local.INFO: Processing buffer {"connection_id":91217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:55:23] local.INFO: IMEI packet received {"connection_id":91217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":91217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:55:28] local.INFO: TCP Data received {"connection_id":91217,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:55:28] local.INFO: Processing buffer {"connection_id":91217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:55:28] local.INFO: IMEI packet received {"connection_id":91217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":91217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:55:29] local.INFO: TCP Data received {"connection_id":91217,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:55:29] local.INFO: Processing buffer {"connection_id":91217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:55:29] local.INFO: Packet analysis {"connection_id":91217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:29] local.INFO: Extracted packet for processing {"connection_id":91217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:55:29] 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-06-02 19:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:55:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":91217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:55:29] local.INFO: GPS data processed {"connection_id":91217,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:55:29] local.INFO: Acknowledgment sent {"connection_id":91217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:55:42] local.INFO: TCP Data received {"connection_id":90052,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:55:42] local.INFO: Processing buffer {"connection_id":90052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:55:42] local.INFO: Packet analysis {"connection_id":90052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:42] local.INFO: Extracted packet for processing {"connection_id":90052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:55:42] 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-06-02 19:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:55:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":90052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:55:42] local.INFO: GPS data processed {"connection_id":90052,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:55:42] local.INFO: Acknowledgment sent {"connection_id":90052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:56:00] local.INFO: TCP Data received {"connection_id":91217,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:56:00] local.INFO: Processing buffer {"connection_id":91217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b55248012cb29ac007823b18004f00b826..."} 
[2026-06-02 19:56:00] local.INFO: Packet analysis {"connection_id":91217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:56:00] local.INFO: Extracted packet for processing {"connection_id":91217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:56:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":79,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784896256001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410045000,"timestamp_ms":1780410045000,"timestamp_seconds":1780410045,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b55248"} 
[2026-06-02 19:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 19:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19: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-06-02 19:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:56:00] 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-06-02 19:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784896256001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784896256001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:56:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784896256001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":91217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:56:00] local.INFO: GPS data processed {"connection_id":91217,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:56:00] local.INFO: Acknowledgment sent {"connection_id":91217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:56:04] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:56:04] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:56:04] local.INFO: IMEI packet received {"connection_id":90148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":90148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:56:10] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:56:10] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:56:10] local.INFO: IMEI packet received {"connection_id":90148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":90148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:56:11] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:56:11] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:56:11] local.INFO: Packet analysis {"connection_id":90148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:56:11] local.INFO: Extracted packet for processing {"connection_id":90148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:56:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":90148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:56:11] local.INFO: GPS data processed {"connection_id":90148,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:56:11] local.INFO: Acknowledgment sent {"connection_id":90148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:56:23] local.INFO: TCP Data received {"connection_id":89786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:23] local.INFO: Processing buffer {"connection_id":89786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:23] local.INFO: IMEI packet received {"connection_id":89786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":89786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:56:24] local.INFO: TCP Data received {"connection_id":89786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:24] local.INFO: Processing buffer {"connection_id":89786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:24] local.INFO: IMEI packet received {"connection_id":89786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":89786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:56:28] local.INFO: TCP Data received {"connection_id":89786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:28] local.INFO: Processing buffer {"connection_id":89786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:56:28] local.INFO: IMEI packet received {"connection_id":89786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":89786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:56:28] local.INFO: TCP Data received {"connection_id":89786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:56:28] local.INFO: Processing buffer {"connection_id":89786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:56:28] local.INFO: Packet analysis {"connection_id":89786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:56:28] local.INFO: Extracted packet for processing {"connection_id":89786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:56:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 19:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 19:56:28] 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-06-02 19: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-06-02 19:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:56:28] 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-06-02 19:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:56:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":89786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:56:28] local.INFO: GPS data processed {"connection_id":89786,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:56:28] local.INFO: Acknowledgment sent {"connection_id":89786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:56:42] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:56:42] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b5ac20012d196500071ff058004c014625..."} 
[2026-06-02 19:56:42] local.INFO: Packet analysis {"connection_id":90148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:56:42] local.INFO: Extracted packet for processing {"connection_id":90148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b5"} 
[2026-06-02 19:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784899328001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410068000,"timestamp_ms":1780410068000,"timestamp_seconds":1780410068,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b5ac20"} 
[2026-06-02 19:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-02 19:56:42] 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-06-02 19:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784899328001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1830079960429109248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784899328001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:56:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-06-02 19:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784899328001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-06-02 19:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":90148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:56:42] local.INFO: GPS data processed {"connection_id":90148,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:56:42] local.INFO: Acknowledgment sent {"connection_id":90148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:56:59] local.INFO: TCP Data received {"connection_id":89786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:56:59] local.INFO: Processing buffer {"connection_id":89786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:56:59] local.INFO: Packet analysis {"connection_id":89786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:56:59] local.INFO: Extracted packet for processing {"connection_id":89786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:56:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:56: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-06-02 19:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 19:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 19:56:59] 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-06-02 19:56: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-06-02 19:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:56:59] 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-06-02 19:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:56:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:56:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":89786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:56:59] local.INFO: GPS data processed {"connection_id":89786,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:56:59] local.INFO: Acknowledgment sent {"connection_id":89786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:57:10] local.INFO: TCP Data received {"connection_id":91218,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:57:10] local.INFO: Processing buffer {"connection_id":91218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:57:10] local.INFO: IMEI packet received {"connection_id":91218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":91218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:57:13] local.INFO: TCP Data received {"connection_id":90054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:57:13] local.INFO: Processing buffer {"connection_id":90054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:57:13] local.INFO: IMEI packet received {"connection_id":90054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":90054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:57:15] local.INFO: TCP Data received {"connection_id":91218,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:57:15] local.INFO: Processing buffer {"connection_id":91218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:57:15] local.INFO: IMEI packet received {"connection_id":91218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":91218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:57:16] local.INFO: TCP Data received {"connection_id":91218,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:57:16] local.INFO: Processing buffer {"connection_id":91218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:57:16] local.INFO: Packet analysis {"connection_id":91218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:57:16] local.INFO: Extracted packet for processing {"connection_id":91218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 19: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-06-02 19:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 19:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 19:57:16] 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-06-02 19: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-06-02 19:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":91218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":91218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":91218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:57:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 19:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 19:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":91218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:57:16] local.INFO: GPS data processed {"connection_id":91218,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:57:16] local.INFO: Acknowledgment sent {"connection_id":91218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:57:20] local.INFO: TCP Data received {"connection_id":91218,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:57:20] local.INFO: Processing buffer {"connection_id":91218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:57:20] local.INFO: Packet analysis {"connection_id":91218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:57:20] local.INFO: Extracted packet for processing {"connection_id":91218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 19:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 19:57:20] 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-06-02 19:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":91218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":91218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":91218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:57:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 19:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 19:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":91218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:57:20] local.INFO: GPS data processed {"connection_id":91218,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:57:20] local.INFO: Acknowledgment sent {"connection_id":91218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:57:23] local.INFO: TCP Data received {"connection_id":91219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:57:23] local.INFO: Processing buffer {"connection_id":91219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:57:23] local.INFO: IMEI packet received {"connection_id":91219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":91219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:57:28] local.INFO: TCP Data received {"connection_id":91219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:57:28] local.INFO: Processing buffer {"connection_id":91219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:57:28] local.INFO: IMEI packet received {"connection_id":91219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":91219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:57:29] local.INFO: TCP Data received {"connection_id":91219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:57:29] local.INFO: Processing buffer {"connection_id":91219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:57:29] local.INFO: Packet analysis {"connection_id":91219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:57:29] local.INFO: Extracted packet for processing {"connection_id":91219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 19:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 19:57:29] 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-06-02 19: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-06-02 19:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:57:29] 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-06-02 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:57:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":91219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:57:29] local.INFO: GPS data processed {"connection_id":91219,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:57:29] local.INFO: Acknowledgment sent {"connection_id":91219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:57:58] local.INFO: TCP Data received {"connection_id":90149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:57:58] local.INFO: Processing buffer {"connection_id":90149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 19:57:58] local.INFO: IMEI packet received {"connection_id":90149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 19:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":90149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:58:00] local.INFO: TCP Data received {"connection_id":91219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:00] local.INFO: Processing buffer {"connection_id":91219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:00] local.INFO: Packet analysis {"connection_id":91219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:58:00] local.INFO: Extracted packet for processing {"connection_id":91219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:58:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 19:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 19:58:00] 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-06-02 19: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-06-02 19:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:58:00] 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-06-02 19:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:58:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":91219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:58:00] local.INFO: GPS data processed {"connection_id":91219,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:58:00] local.INFO: Acknowledgment sent {"connection_id":91219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:58:05] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:58:05] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:58:05] local.INFO: IMEI packet received {"connection_id":89787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":89787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:58:10] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:58:10] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:58:10] local.INFO: IMEI packet received {"connection_id":89787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":89787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:58:11] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:58:11] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:58:11] local.INFO: Packet analysis {"connection_id":89787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:58:11] local.INFO: Extracted packet for processing {"connection_id":89787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 19:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 19:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:58:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 19:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 19:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":89787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:58:11] local.INFO: GPS data processed {"connection_id":89787,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:58:11] local.INFO: Acknowledgment sent {"connection_id":89787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:58:28] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:58:28] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:58:28] local.INFO: IMEI packet received {"connection_id":90055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":90055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:58:33] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:58:33] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:58:33] local.INFO: IMEI packet received {"connection_id":90055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":90055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:58:34] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:34] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:34] local.INFO: Packet analysis {"connection_id":90055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:58:34] local.INFO: Extracted packet for processing {"connection_id":90055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 19:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 19:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:58:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":90055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:58:34] local.INFO: GPS data processed {"connection_id":90055,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:58:34] local.INFO: Acknowledgment sent {"connection_id":90055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:58:38] local.INFO: TCP Data received {"connection_id":90055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:38] local.INFO: Processing buffer {"connection_id":90055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:58:38] local.INFO: Packet analysis {"connection_id":90055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:58:38] local.INFO: Extracted packet for processing {"connection_id":90055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:58:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19: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-06-02 19:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 19:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 19:58:38] 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-06-02 19: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-06-02 19:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:58:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:58:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":90055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:58:38] local.INFO: GPS data processed {"connection_id":90055,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:58:38] local.INFO: Acknowledgment sent {"connection_id":90055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:58:42] local.INFO: TCP Data received {"connection_id":89787,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:58:42] local.INFO: Processing buffer {"connection_id":89787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:58:42] local.INFO: Packet analysis {"connection_id":89787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:58:42] local.INFO: Extracted packet for processing {"connection_id":89787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 19:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 19:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 19:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:58:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 19:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 19:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":89787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:58:42] local.INFO: GPS data processed {"connection_id":89787,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:58:42] local.INFO: Acknowledgment sent {"connection_id":89787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:59:05] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:59:05] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:59:05] local.INFO: IMEI packet received {"connection_id":90151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 19:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":90151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:59:10] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:59:10] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 19:59:10] local.INFO: IMEI packet received {"connection_id":90151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 19:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":90151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:59:11] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:59:11] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:59:11] local.INFO: Packet analysis {"connection_id":90151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:59:11] local.INFO: Extracted packet for processing {"connection_id":90151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 19:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 19:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:59:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 19:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 19:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":90151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:59:11] local.INFO: GPS data processed {"connection_id":90151,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:59:11] local.INFO: Acknowledgment sent {"connection_id":90151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:59:23] local.INFO: TCP Data received {"connection_id":91220,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:59:23] local.INFO: Processing buffer {"connection_id":91220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:59:23] local.INFO: IMEI packet received {"connection_id":91220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 19:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":91220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 19:59:29] local.INFO: TCP Data received {"connection_id":91220,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:59:29] local.INFO: Processing buffer {"connection_id":91220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 19:59:29] local.INFO: IMEI packet received {"connection_id":91220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 19:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":91220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 19:59:30] local.INFO: TCP Data received {"connection_id":91220,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:59:30] local.INFO: Processing buffer {"connection_id":91220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 19:59:30] local.INFO: Packet analysis {"connection_id":91220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:59:30] local.INFO: Extracted packet for processing {"connection_id":91220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 19:59:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 19:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 19:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 19:59:30] 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-06-02 19:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":91220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":91220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":91220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 19:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 19:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 19:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 19:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 19:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 19:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 19:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 19:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":91220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:59:30] local.INFO: GPS data processed {"connection_id":91220,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:59:30] local.INFO: Acknowledgment sent {"connection_id":91220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 19:59:42] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:59:42] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 19:59:42] local.INFO: Packet analysis {"connection_id":90151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:59:42] local.INFO: Extracted packet for processing {"connection_id":90151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 19:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 19:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 19:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 19:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 19:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 19:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 19:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 19:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 19:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 19:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 19:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 19:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 19:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 19:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 19:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 19:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 19:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 19:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 19:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 19:59:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 19:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 19:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 19:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 19:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 19:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":90151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 19:59:42] local.INFO: GPS data processed {"connection_id":90151,"processed":1,"errors":0,"total":1} 
[2026-06-02 19:59:42] local.INFO: Acknowledgment sent {"connection_id":90151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:00:01] local.INFO: TCP Data received {"connection_id":91220,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:00:01] local.INFO: Processing buffer {"connection_id":91220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:00:01] local.INFO: Packet analysis {"connection_id":91220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 20:00:01] local.INFO: Extracted packet for processing {"connection_id":91220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 20:00:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 20:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:00: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-06-02 20: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-06-02 20:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":91220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":91220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":91220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:00:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":91220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:00:01] local.INFO: GPS data processed {"connection_id":91220,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:00:01] local.INFO: Acknowledgment sent {"connection_id":91220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:00:04] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:00:04] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:00:04] local.INFO: IMEI packet received {"connection_id":90057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":90057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:00:10] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:00:10] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:00:10] local.INFO: IMEI packet received {"connection_id":90057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":90057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:00:11] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:00:11] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:00:11] local.INFO: Packet analysis {"connection_id":90057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:00:11] local.INFO: Extracted packet for processing {"connection_id":90057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 20:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:00:11] 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-06-02 20:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:00:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":90057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:00:11] local.INFO: GPS data processed {"connection_id":90057,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:00:11] local.INFO: Acknowledgment sent {"connection_id":90057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:00:23] local.INFO: TCP Data received {"connection_id":89788,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:00:23] local.INFO: Processing buffer {"connection_id":89788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:00:23] local.INFO: IMEI packet received {"connection_id":89788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":89788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:00:28] local.INFO: TCP Data received {"connection_id":89788,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:00:28] local.INFO: Processing buffer {"connection_id":89788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:00:28] local.INFO: IMEI packet received {"connection_id":89788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":89788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:00:29] local.INFO: TCP Data received {"connection_id":89788,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:00:29] local.INFO: Processing buffer {"connection_id":89788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:00:29] local.INFO: Packet analysis {"connection_id":89788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 20:00:29] local.INFO: Extracted packet for processing {"connection_id":89788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 20:00:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 20:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:00:29] 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-06-02 20: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-06-02 20:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:00: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-06-02 20:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:00:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":89788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:00:29] local.INFO: GPS data processed {"connection_id":89788,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:00:29] local.INFO: Acknowledgment sent {"connection_id":89788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:00:42] local.INFO: TCP Data received {"connection_id":90057,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:00:42] local.INFO: Processing buffer {"connection_id":90057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:00:42] local.INFO: Packet analysis {"connection_id":90057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:00:42] local.INFO: Extracted packet for processing {"connection_id":90057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 20:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:00:42] 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-06-02 20:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:00:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":90057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:00:42] local.INFO: GPS data processed {"connection_id":90057,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:00:42] local.INFO: Acknowledgment sent {"connection_id":90057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:01:00] local.INFO: TCP Data received {"connection_id":89788,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:01:00] local.INFO: Processing buffer {"connection_id":89788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88b9ea10012cb29ac007823b18004d00b82a..."} 
[2026-06-02 20:01:00] local.INFO: Packet analysis {"connection_id":89788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 20:01:00] local.INFO: Extracted packet for processing {"connection_id":89788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88b9"} 
[2026-06-02 20:01:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784971520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410346000,"timestamp_ms":1780410346000,"timestamp_seconds":1780410346,"priority":1,"record_length":96,"hex_timestamp":"0000019e88b9ea10"} 
[2026-06-02 20:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:01:00] 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-06-02 20: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-06-02 20:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:01: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-06-02 20:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784971520001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784971520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:01:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784971520001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":89788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:01:00] local.INFO: GPS data processed {"connection_id":89788,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:01:00] local.INFO: Acknowledgment sent {"connection_id":89788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:01:04] local.INFO: TCP Data received {"connection_id":90153,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:01:04] local.INFO: Processing buffer {"connection_id":90153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:01:04] local.INFO: IMEI packet received {"connection_id":90153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":90153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:01:10] local.INFO: TCP Data received {"connection_id":90153,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:01:10] local.INFO: Processing buffer {"connection_id":90153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:01:10] local.INFO: IMEI packet received {"connection_id":90153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":90153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:01:10] local.INFO: TCP Data received {"connection_id":90153,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:01:10] local.INFO: Processing buffer {"connection_id":90153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:01:10] local.INFO: Packet analysis {"connection_id":90153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:01:10] local.INFO: Extracted packet for processing {"connection_id":90153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 20:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:01:10] 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-06-02 20:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:01:10] 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-06-02 20:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:01:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":90153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:01:11] local.INFO: GPS data processed {"connection_id":90153,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:01:11] local.INFO: Acknowledgment sent {"connection_id":90153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:01:23] local.INFO: TCP Data received {"connection_id":91221,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:23] local.INFO: Processing buffer {"connection_id":91221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:23] local.INFO: IMEI packet received {"connection_id":91221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":91221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:01:25] local.INFO: TCP Data received {"connection_id":91221,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:25] local.INFO: Processing buffer {"connection_id":91221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:25] local.INFO: IMEI packet received {"connection_id":91221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":91221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:01:28] local.INFO: TCP Data received {"connection_id":91221,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:28] local.INFO: Processing buffer {"connection_id":91221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:01:28] local.INFO: IMEI packet received {"connection_id":91221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":91221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:01:29] local.INFO: TCP Data received {"connection_id":91221,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:01:29] local.INFO: Processing buffer {"connection_id":91221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:01:29] local.INFO: Packet analysis {"connection_id":91221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:01:29] local.INFO: Extracted packet for processing {"connection_id":91221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:01:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:01:29] 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-06-02 20:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:01:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":91221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:01:29] local.INFO: GPS data processed {"connection_id":91221,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:01:29] local.INFO: Acknowledgment sent {"connection_id":91221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:01:42] local.INFO: TCP Data received {"connection_id":90153,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:01:42] local.INFO: Processing buffer {"connection_id":90153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ba43e8012d196500071ff058004c014627..."} 
[2026-06-02 20:01:42] local.INFO: Packet analysis {"connection_id":90153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:01:42] local.INFO: Extracted packet for processing {"connection_id":90153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ba"} 
[2026-06-02 20:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":76,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455784977408001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410369000,"timestamp_ms":1780410369000,"timestamp_seconds":1780410369,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ba43e8"} 
[2026-06-02 20:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:01:42] 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-06-02 20:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455784977408001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455784977408001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:01:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455784977408001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":90153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:01:42] local.INFO: GPS data processed {"connection_id":90153,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:01:42] local.INFO: Acknowledgment sent {"connection_id":90153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:02:00] local.INFO: TCP Data received {"connection_id":91221,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:02:00] local.INFO: Processing buffer {"connection_id":91221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:02:00] local.INFO: Packet analysis {"connection_id":91221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:00] local.INFO: Extracted packet for processing {"connection_id":91221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:02:00] 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-06-02 20:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:02:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":91221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:02:00] local.INFO: GPS data processed {"connection_id":91221,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:02:00] local.INFO: Acknowledgment sent {"connection_id":91221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:02:10] local.INFO: TCP Data received {"connection_id":89789,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:02:10] local.INFO: Processing buffer {"connection_id":89789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:02:10] local.INFO: IMEI packet received {"connection_id":89789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":89789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:02:15] local.INFO: TCP Data received {"connection_id":89789,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:02:15] local.INFO: Processing buffer {"connection_id":89789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:02:15] local.INFO: IMEI packet received {"connection_id":89789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":89789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:02:15] local.INFO: TCP Data received {"connection_id":89789,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:02:15] local.INFO: Processing buffer {"connection_id":89789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:02:15] local.INFO: Packet analysis {"connection_id":89789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:15] local.INFO: Extracted packet for processing {"connection_id":89789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:02:15] 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-06-02 20:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":89789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:02:15] local.INFO: GPS data processed {"connection_id":89789,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:02:15] local.INFO: Acknowledgment sent {"connection_id":89789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:02:20] local.INFO: TCP Data received {"connection_id":89789,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:02:20] local.INFO: Processing buffer {"connection_id":89789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:02:20] local.INFO: Packet analysis {"connection_id":89789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:20] local.INFO: Extracted packet for processing {"connection_id":89789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:02:20] 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-06-02 20:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:02:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":89789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:02:20] local.INFO: GPS data processed {"connection_id":89789,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:02:20] local.INFO: Acknowledgment sent {"connection_id":89789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:02:23] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:02:23] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:02:23] local.INFO: IMEI packet received {"connection_id":90059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":90059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:02:28] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:02:28] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:02:28] local.INFO: IMEI packet received {"connection_id":90059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":90059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:02:29] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:02:29] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:02:29] local.INFO: Packet analysis {"connection_id":90059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:29] local.INFO: Extracted packet for processing {"connection_id":90059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:02: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-06-02 20:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:02: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":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:02: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-06-02 20:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:02: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-06-02 20:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:02:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":90059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:02:29] local.INFO: GPS data processed {"connection_id":90059,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:02:29] local.INFO: Acknowledgment sent {"connection_id":90059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:03:00] local.INFO: TCP Data received {"connection_id":90059,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:03:00] local.INFO: Processing buffer {"connection_id":90059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:03:00] local.INFO: Packet analysis {"connection_id":90059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:00] local.INFO: Extracted packet for processing {"connection_id":90059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:03:00] 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-06-02 20:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:03:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":90059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:03:00] local.INFO: GPS data processed {"connection_id":90059,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:03:00] local.INFO: Acknowledgment sent {"connection_id":90059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:03:05] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:03:05] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:03:05] local.INFO: IMEI packet received {"connection_id":89790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":89790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:03:10] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:03:10] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:03:10] local.INFO: IMEI packet received {"connection_id":89790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":89790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:03:11] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:03:11] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:03:11] local.INFO: Packet analysis {"connection_id":89790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:11] local.INFO: Extracted packet for processing {"connection_id":89790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:03:11] 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-06-02 20:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:03:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":89790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:03:11] local.INFO: GPS data processed {"connection_id":89790,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:03:11] local.INFO: Acknowledgment sent {"connection_id":89790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:03:23] local.INFO: TCP Data received {"connection_id":89791,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:03:23] local.INFO: Processing buffer {"connection_id":89791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:03:23] local.INFO: IMEI packet received {"connection_id":89791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":89791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:03:27] local.INFO: TCP Data received {"connection_id":90060,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:03:27] local.INFO: Processing buffer {"connection_id":90060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:03:27] local.INFO: IMEI packet received {"connection_id":90060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":90060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:03:28] local.INFO: TCP Data received {"connection_id":89791,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:03:28] local.INFO: Processing buffer {"connection_id":89791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:03:28] local.INFO: IMEI packet received {"connection_id":89791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":89791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:03:29] local.INFO: TCP Data received {"connection_id":89791,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:03:29] local.INFO: Processing buffer {"connection_id":89791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:03:29] local.INFO: Packet analysis {"connection_id":89791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:29] local.INFO: Extracted packet for processing {"connection_id":89791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:03:29] 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-06-02 20:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:03:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":89791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:03:29] local.INFO: GPS data processed {"connection_id":89791,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:03:29] local.INFO: Acknowledgment sent {"connection_id":89791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:03:42] local.INFO: TCP Data received {"connection_id":89790,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:03:42] local.INFO: Processing buffer {"connection_id":89790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:03:42] local.INFO: Packet analysis {"connection_id":89790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:42] local.INFO: Extracted packet for processing {"connection_id":89790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:03:42] 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-06-02 20:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:03:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":89790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:03:42] local.INFO: GPS data processed {"connection_id":89790,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:03:42] local.INFO: Acknowledgment sent {"connection_id":89790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:03:57] local.INFO: TCP Data received {"connection_id":90154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:03:57] local.INFO: Processing buffer {"connection_id":90154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:03:57] local.INFO: IMEI packet received {"connection_id":90154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":90154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:04:00] local.INFO: TCP Data received {"connection_id":89791,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:00] local.INFO: Processing buffer {"connection_id":89791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:00] local.INFO: Packet analysis {"connection_id":89791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:00] local.INFO: Extracted packet for processing {"connection_id":89791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:04: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-06-02 20:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:04: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-06-02 20:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:04:00] 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-06-02 20:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:04:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":89791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:04:00] local.INFO: GPS data processed {"connection_id":89791,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:04:00] local.INFO: Acknowledgment sent {"connection_id":89791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:04:05] local.INFO: TCP Data received {"connection_id":91222,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:04:05] local.INFO: Processing buffer {"connection_id":91222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:04:05] local.INFO: IMEI packet received {"connection_id":91222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":91222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:04:10] local.INFO: TCP Data received {"connection_id":91222,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:04:10] local.INFO: Processing buffer {"connection_id":91222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:04:10] local.INFO: IMEI packet received {"connection_id":91222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":91222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:04:10] local.INFO: TCP Data received {"connection_id":91222,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:04:10] local.INFO: Processing buffer {"connection_id":91222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:04:10] local.INFO: Packet analysis {"connection_id":91222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:10] local.INFO: Extracted packet for processing {"connection_id":91222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:04:10] 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-06-02 20:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":91222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:04:10] local.INFO: GPS data processed {"connection_id":91222,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:04:10] local.INFO: Acknowledgment sent {"connection_id":91222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:04:28] local.INFO: TCP Data received {"connection_id":90155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:04:28] local.INFO: Processing buffer {"connection_id":90155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:04:28] local.INFO: IMEI packet received {"connection_id":90155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":90155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:04:33] local.INFO: TCP Data received {"connection_id":90155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:04:33] local.INFO: Processing buffer {"connection_id":90155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:04:33] local.INFO: IMEI packet received {"connection_id":90155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":90155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:04:34] local.INFO: TCP Data received {"connection_id":90155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:34] local.INFO: Processing buffer {"connection_id":90155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:34] local.INFO: Packet analysis {"connection_id":90155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:34] local.INFO: Extracted packet for processing {"connection_id":90155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:04:34] 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-06-02 20:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":90155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:04:34] local.INFO: GPS data processed {"connection_id":90155,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:04:34] local.INFO: Acknowledgment sent {"connection_id":90155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:04:38] local.INFO: TCP Data received {"connection_id":90155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:38] local.INFO: Processing buffer {"connection_id":90155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:04:38] local.INFO: Packet analysis {"connection_id":90155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:38] local.INFO: Extracted packet for processing {"connection_id":90155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:04:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:04:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":90155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:04:38] local.INFO: GPS data processed {"connection_id":90155,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:04:38] local.INFO: Acknowledgment sent {"connection_id":90155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:04:42] local.INFO: TCP Data received {"connection_id":91222,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:04:42] local.INFO: Processing buffer {"connection_id":91222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:04:42] local.INFO: Packet analysis {"connection_id":91222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:42] local.INFO: Extracted packet for processing {"connection_id":91222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:04:42] 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-06-02 20:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:04:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":91222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:04:42] local.INFO: GPS data processed {"connection_id":91222,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:04:42] local.INFO: Acknowledgment sent {"connection_id":91222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:05:05] local.INFO: TCP Data received {"connection_id":91224,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:05:05] local.INFO: Processing buffer {"connection_id":91224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:05:05] local.INFO: IMEI packet received {"connection_id":91224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":91224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:05:10] local.INFO: TCP Data received {"connection_id":91224,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:05:10] local.INFO: Processing buffer {"connection_id":91224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:05:10] local.INFO: IMEI packet received {"connection_id":91224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":91224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:05:11] local.INFO: TCP Data received {"connection_id":91224,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:05:11] local.INFO: Processing buffer {"connection_id":91224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:05:11] local.INFO: Packet analysis {"connection_id":91224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:11] local.INFO: Extracted packet for processing {"connection_id":91224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:05:11] 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-06-02 20:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:05:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":91224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:05:11] local.INFO: GPS data processed {"connection_id":91224,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:05:11] local.INFO: Acknowledgment sent {"connection_id":91224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:05:23] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:05:23] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:05:23] local.INFO: IMEI packet received {"connection_id":90061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":90061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:05:28] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:05:28] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:05:28] local.INFO: IMEI packet received {"connection_id":90061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":90061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:05:29] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:05:29] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:05:29] local.INFO: Packet analysis {"connection_id":90061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:29] local.INFO: Extracted packet for processing {"connection_id":90061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:05:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":90061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:05:29] local.INFO: GPS data processed {"connection_id":90061,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:05:29] local.INFO: Acknowledgment sent {"connection_id":90061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:05:42] local.INFO: TCP Data received {"connection_id":91224,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:05:42] local.INFO: Processing buffer {"connection_id":91224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:05:42] local.INFO: Packet analysis {"connection_id":91224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:42] local.INFO: Extracted packet for processing {"connection_id":91224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:05:42] 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-06-02 20:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:05:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":91224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:05:42] local.INFO: GPS data processed {"connection_id":91224,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:05:42] local.INFO: Acknowledgment sent {"connection_id":91224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:05:59] local.INFO: TCP Data received {"connection_id":90061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:05:59] local.INFO: Processing buffer {"connection_id":90061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88be81d8012cb29ac007823b18004a00b828..."} 
[2026-06-02 20:05:59] local.INFO: Packet analysis {"connection_id":90061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:59] local.INFO: Extracted packet for processing {"connection_id":90061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:05:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785048576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780410647000,"timestamp_ms":1780410647000,"timestamp_seconds":1780410647,"priority":1,"record_length":96,"hex_timestamp":"0000019e88be81d8"} 
[2026-06-02 20:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:05: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-06-02 20:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785048576001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785048576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:05:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785048576001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":90061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:05:59] local.INFO: GPS data processed {"connection_id":90061,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:05:59] local.INFO: Acknowledgment sent {"connection_id":90061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:06:04] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:06:04] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:06:04] local.INFO: IMEI packet received {"connection_id":89793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":89793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:06:10] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:06:10] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:06:10] local.INFO: IMEI packet received {"connection_id":89793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":89793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:06:10] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:06:10] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:06:10] local.INFO: Packet analysis {"connection_id":89793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:06:10] local.INFO: Extracted packet for processing {"connection_id":89793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:06:10] 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-06-02 20:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:06:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":89793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:06:11] local.INFO: GPS data processed {"connection_id":89793,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:06:11] local.INFO: Acknowledgment sent {"connection_id":89793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:06:23] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:06:23] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:06:23] local.INFO: IMEI packet received {"connection_id":89794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":89794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:06:26] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:06:26] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:06:26] local.INFO: IMEI packet received {"connection_id":89794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":89794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:06:26] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:06:26] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:06:26] local.INFO: Packet analysis {"connection_id":89794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:06:26] local.INFO: Extracted packet for processing {"connection_id":89794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 20:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 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-06-02 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:06:26] 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-06-02 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-06-02 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-06-02 20:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":89794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":89794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":89794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:06: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-06-02 20:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:06:26] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":89794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:06:26] local.INFO: GPS data processed {"connection_id":89794,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:06:26] local.INFO: Acknowledgment sent {"connection_id":89794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:06:42] local.INFO: TCP Data received {"connection_id":89793,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:06:42] local.INFO: Processing buffer {"connection_id":89793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88bedbb0012d196500071ff058003b014629..."} 
[2026-06-02 20:06:42] local.INFO: Packet analysis {"connection_id":89793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:06:42] local.INFO: Extracted packet for processing {"connection_id":89793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88be"} 
[2026-06-02 20:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785054464001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410670000,"timestamp_ms":1780410670000,"timestamp_seconds":1780410670,"priority":1,"record_length":96,"hex_timestamp":"0000019e88bedbb0"} 
[2026-06-02 20:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:06:42] 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-06-02 20:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785054464001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785054464001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:06:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785054464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":89793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:06:42] local.INFO: GPS data processed {"connection_id":89793,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:06:42] local.INFO: Acknowledgment sent {"connection_id":89793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:06:57] local.INFO: TCP Data received {"connection_id":89794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:06:57] local.INFO: Processing buffer {"connection_id":89794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:06:57] local.INFO: Packet analysis {"connection_id":89794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:06:57] local.INFO: Extracted packet for processing {"connection_id":89794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:06:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:06: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-06-02 20:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":89794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":89794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":89794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:06:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:06:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":89794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:06:57] local.INFO: GPS data processed {"connection_id":89794,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:06:57] local.INFO: Acknowledgment sent {"connection_id":89794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:07:10] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:07:10] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:07:10] local.INFO: IMEI packet received {"connection_id":90156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":90156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:07:15] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:07:15] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:07:15] local.INFO: IMEI packet received {"connection_id":90156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":90156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:07:16] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:07:16] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:07:16] local.INFO: Packet analysis {"connection_id":90156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:07:16] local.INFO: Extracted packet for processing {"connection_id":90156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20: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-06-02 20:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:07: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-06-02 20: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-06-02 20:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:07:16] 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-06-02 20:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:07:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":90156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:07:16] local.INFO: GPS data processed {"connection_id":90156,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:07:16] local.INFO: Acknowledgment sent {"connection_id":90156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:07:20] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:07:20] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:07:20] local.INFO: Packet analysis {"connection_id":90156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:07:20] local.INFO: Extracted packet for processing {"connection_id":90156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:07:20] 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-06-02 20:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:07:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":90156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:07:20] local.INFO: GPS data processed {"connection_id":90156,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:07:20] local.INFO: Acknowledgment sent {"connection_id":90156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:07:23] local.INFO: TCP Data received {"connection_id":91225,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:07:23] local.INFO: Processing buffer {"connection_id":91225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:07:23] local.INFO: IMEI packet received {"connection_id":91225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":91225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:07:28] local.INFO: TCP Data received {"connection_id":91225,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:07:28] local.INFO: Processing buffer {"connection_id":91225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:07:28] local.INFO: IMEI packet received {"connection_id":91225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":91225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:07:29] local.INFO: TCP Data received {"connection_id":91225,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:07:29] local.INFO: Processing buffer {"connection_id":91225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:07:29] local.INFO: Packet analysis {"connection_id":91225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:07:29] local.INFO: Extracted packet for processing {"connection_id":91225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:07:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:07:29] 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-06-02 20: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-06-02 20:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:07: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-06-02 20:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:07:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":91225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:07:29] local.INFO: GPS data processed {"connection_id":91225,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:07:29] local.INFO: Acknowledgment sent {"connection_id":91225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:08:00] local.INFO: TCP Data received {"connection_id":91225,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:08:00] local.INFO: Processing buffer {"connection_id":91225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:08:00] local.INFO: Packet analysis {"connection_id":91225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:00] local.INFO: Extracted packet for processing {"connection_id":91225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:08:00] 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-06-02 20:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:08:00] 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-06-02 20:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:08:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":91225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:08:00] local.INFO: GPS data processed {"connection_id":91225,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:08:00] local.INFO: Acknowledgment sent {"connection_id":91225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:08:05] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:08:05] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:08:05] local.INFO: IMEI packet received {"connection_id":90064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":90064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:08:10] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:08:10] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:08:10] local.INFO: IMEI packet received {"connection_id":90064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":90064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:08:11] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:08:11] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:08:11] local.INFO: Packet analysis {"connection_id":90064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:11] local.INFO: Extracted packet for processing {"connection_id":90064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:08:11] 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-06-02 20:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:08:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":90064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:08:11] local.INFO: GPS data processed {"connection_id":90064,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:08:11] local.INFO: Acknowledgment sent {"connection_id":90064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:08:23] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:08:23] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:08:23] local.INFO: IMEI packet received {"connection_id":90157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":90157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:08:28] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:08:28] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:08:28] local.INFO: IMEI packet received {"connection_id":90157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":90157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:08:29] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:08:29] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:08:29] local.INFO: Packet analysis {"connection_id":90157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:29] local.INFO: Extracted packet for processing {"connection_id":90157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:08: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-06-02 20:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:08: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":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:08:29] 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-06-02 20:08: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-06-02 20:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:08: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-06-02 20:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:08:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":90157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:08:29] local.INFO: GPS data processed {"connection_id":90157,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:08:29] local.INFO: Acknowledgment sent {"connection_id":90157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:08:42] local.INFO: TCP Data received {"connection_id":90064,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:08:42] local.INFO: Processing buffer {"connection_id":90064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:08:42] local.INFO: Packet analysis {"connection_id":90064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:42] local.INFO: Extracted packet for processing {"connection_id":90064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:08:42] 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-06-02 20:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:08:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":90064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:08:42] local.INFO: GPS data processed {"connection_id":90064,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:08:42] local.INFO: Acknowledgment sent {"connection_id":90064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:09:00] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:09:00] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:09:00] local.INFO: Packet analysis {"connection_id":90157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:00] local.INFO: Extracted packet for processing {"connection_id":90157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:09:00] 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-06-02 20: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-06-02 20:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:09: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-06-02 20:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:09:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":90157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:09:00] local.INFO: GPS data processed {"connection_id":90157,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:09:00] local.INFO: Acknowledgment sent {"connection_id":90157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:09:05] local.INFO: TCP Data received {"connection_id":91226,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:09:05] local.INFO: Processing buffer {"connection_id":91226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:09:05] local.INFO: IMEI packet received {"connection_id":91226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":91226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:09:10] local.INFO: TCP Data received {"connection_id":91226,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:09:10] local.INFO: Processing buffer {"connection_id":91226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:09:10] local.INFO: IMEI packet received {"connection_id":91226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":91226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:09:11] local.INFO: TCP Data received {"connection_id":91226,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:09:11] local.INFO: Processing buffer {"connection_id":91226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:09:11] local.INFO: Packet analysis {"connection_id":91226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:11] local.INFO: Extracted packet for processing {"connection_id":91226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:09:11] 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-06-02 20:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:09:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":91226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:09:11] local.INFO: GPS data processed {"connection_id":91226,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:09:11] local.INFO: Acknowledgment sent {"connection_id":91226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:09:23] local.INFO: TCP Data received {"connection_id":90158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:09:23] local.INFO: Processing buffer {"connection_id":90158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:09:23] local.INFO: IMEI packet received {"connection_id":90158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":90158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:09:27] local.INFO: TCP Data received {"connection_id":89795,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:09:27] local.INFO: Processing buffer {"connection_id":89795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:09:27] local.INFO: IMEI packet received {"connection_id":89795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":89795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:09:28] local.INFO: TCP Data received {"connection_id":90158,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:09:28] local.INFO: Processing buffer {"connection_id":90158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:09:28] local.INFO: IMEI packet received {"connection_id":90158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":90158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:09:29] local.INFO: TCP Data received {"connection_id":90158,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:09:29] local.INFO: Processing buffer {"connection_id":90158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:09:29] local.INFO: Packet analysis {"connection_id":90158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:29] local.INFO: Extracted packet for processing {"connection_id":90158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:09:29] 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-06-02 20: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-06-02 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:09:29] 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-06-02 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":90158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:09:29] local.INFO: GPS data processed {"connection_id":90158,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:09:29] local.INFO: Acknowledgment sent {"connection_id":90158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:09:42] local.INFO: TCP Data received {"connection_id":91226,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:09:42] local.INFO: Processing buffer {"connection_id":91226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:09:42] local.INFO: Packet analysis {"connection_id":91226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:42] local.INFO: Extracted packet for processing {"connection_id":91226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:09:42] 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-06-02 20:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:09:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":91226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:09:42] local.INFO: GPS data processed {"connection_id":91226,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:09:42] local.INFO: Acknowledgment sent {"connection_id":91226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:09:57] local.INFO: TCP Data received {"connection_id":89796,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:09:57] local.INFO: Processing buffer {"connection_id":89796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:09:57] local.INFO: IMEI packet received {"connection_id":89796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":89796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:10:00] local.INFO: TCP Data received {"connection_id":90158,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:00] local.INFO: Processing buffer {"connection_id":90158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:00] local.INFO: Packet analysis {"connection_id":90158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:00] local.INFO: Extracted packet for processing {"connection_id":90158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:10:00] 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-06-02 20:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:10:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":90158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:10:00] local.INFO: GPS data processed {"connection_id":90158,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:10:00] local.INFO: Acknowledgment sent {"connection_id":90158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:10:05] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:10:05] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:10:05] local.INFO: IMEI packet received {"connection_id":90065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":90065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:10:10] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:10:10] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:10:10] local.INFO: IMEI packet received {"connection_id":90065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":90065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:10:10] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:10:10] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:10:10] local.INFO: Packet analysis {"connection_id":90065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:10] local.INFO: Extracted packet for processing {"connection_id":90065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:10:10] 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-06-02 20:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:10:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":90065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:10:10] local.INFO: GPS data processed {"connection_id":90065,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:10:10] local.INFO: Acknowledgment sent {"connection_id":90065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:10:28] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:10:28] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:10:28] local.INFO: IMEI packet received {"connection_id":90159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":90159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:10:33] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:10:33] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:10:33] local.INFO: IMEI packet received {"connection_id":90159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":90159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:10:34] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:34] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:34] local.INFO: Packet analysis {"connection_id":90159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:34] local.INFO: Extracted packet for processing {"connection_id":90159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:10:34] 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-06-02 20:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":90159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:10:34] local.INFO: GPS data processed {"connection_id":90159,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:10:34] local.INFO: Acknowledgment sent {"connection_id":90159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:10:38] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:38] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c319a0012cb29ac007823b18004900b827..."} 
[2026-06-02 20:10:38] local.INFO: Packet analysis {"connection_id":90159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:38] local.INFO: Extracted packet for processing {"connection_id":90159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785125632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780410948000,"timestamp_ms":1780410948000,"timestamp_seconds":1780410948,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c319a0"} 
[2026-06-02 20:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:10:38] 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-06-02 20: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-06-02 20:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785125632001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785125632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:10:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785125632001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":90159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:10:38] local.INFO: GPS data processed {"connection_id":90159,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:10:38] local.INFO: Acknowledgment sent {"connection_id":90159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:10:42] local.INFO: TCP Data received {"connection_id":90065,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:10:42] local.INFO: Processing buffer {"connection_id":90065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:10:42] local.INFO: Packet analysis {"connection_id":90065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:42] local.INFO: Extracted packet for processing {"connection_id":90065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:10:42] 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-06-02 20:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:10:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":90065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:10:42] local.INFO: GPS data processed {"connection_id":90065,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:10:42] local.INFO: Acknowledgment sent {"connection_id":90065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:11:04] local.INFO: TCP Data received {"connection_id":91227,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:11:04] local.INFO: Processing buffer {"connection_id":91227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:11:04] local.INFO: IMEI packet received {"connection_id":91227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":91227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:11:10] local.INFO: TCP Data received {"connection_id":91227,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:11:10] local.INFO: Processing buffer {"connection_id":91227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:11:10] local.INFO: IMEI packet received {"connection_id":91227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":91227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:11:10] local.INFO: TCP Data received {"connection_id":91227,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:11:10] local.INFO: Processing buffer {"connection_id":91227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:11:10] local.INFO: Packet analysis {"connection_id":91227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:11:10] local.INFO: Extracted packet for processing {"connection_id":91227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:11:10] 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-06-02 20:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:11:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":91227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:11:10] local.INFO: GPS data processed {"connection_id":91227,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:11:10] local.INFO: Acknowledgment sent {"connection_id":91227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:11:23] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:11:23] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:11:23] local.INFO: IMEI packet received {"connection_id":89798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":89798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:11:27] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:11:27] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:11:27] local.INFO: IMEI packet received {"connection_id":89798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":89798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:11:28] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:11:28] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:11:28] local.INFO: Packet analysis {"connection_id":89798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:11:28] local.INFO: Extracted packet for processing {"connection_id":89798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:11:28] 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-06-02 20:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:11:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:11:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":89798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:11:28] local.INFO: GPS data processed {"connection_id":89798,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:11:28] local.INFO: Acknowledgment sent {"connection_id":89798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:11:42] local.INFO: TCP Data received {"connection_id":91227,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:11:42] local.INFO: Processing buffer {"connection_id":91227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c37378012d196500071ff058003b014629..."} 
[2026-06-02 20:11:42] local.INFO: Packet analysis {"connection_id":91227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:11:42] local.INFO: Extracted packet for processing {"connection_id":91227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c3"} 
[2026-06-02 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785131520001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780410971000,"timestamp_ms":1780410971000,"timestamp_seconds":1780410971,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c37378"} 
[2026-06-02 20:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:11:42] 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-06-02 20:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785131520001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785131520001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:11:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785131520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":91227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:11:42] local.INFO: GPS data processed {"connection_id":91227,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:11:42] local.INFO: Acknowledgment sent {"connection_id":91227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:11:59] local.INFO: TCP Data received {"connection_id":89798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:11:59] local.INFO: Processing buffer {"connection_id":89798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:11:59] local.INFO: Packet analysis {"connection_id":89798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:11:59] local.INFO: Extracted packet for processing {"connection_id":89798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:11:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:11:59] 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-06-02 20:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:11:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:11:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":89798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:11:59] local.INFO: GPS data processed {"connection_id":89798,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:11:59] local.INFO: Acknowledgment sent {"connection_id":89798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:12:10] local.INFO: TCP Data received {"connection_id":90066,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:12:10] local.INFO: Processing buffer {"connection_id":90066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:12:10] local.INFO: IMEI packet received {"connection_id":90066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":90066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:12:15] local.INFO: TCP Data received {"connection_id":90066,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:12:15] local.INFO: Processing buffer {"connection_id":90066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:12:15] local.INFO: IMEI packet received {"connection_id":90066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":90066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:12:16] local.INFO: TCP Data received {"connection_id":90066,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:12:16] local.INFO: Processing buffer {"connection_id":90066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:12:16] local.INFO: Packet analysis {"connection_id":90066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:12:16] local.INFO: Extracted packet for processing {"connection_id":90066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20: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-06-02 20:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:12: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-06-02 20: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-06-02 20:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:12:16] 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-06-02 20:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:12:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":90066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:12:16] local.INFO: GPS data processed {"connection_id":90066,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:12:16] local.INFO: Acknowledgment sent {"connection_id":90066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:12:20] local.INFO: TCP Data received {"connection_id":90066,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:12:20] local.INFO: Processing buffer {"connection_id":90066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:12:20] local.INFO: Packet analysis {"connection_id":90066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:12:20] local.INFO: Extracted packet for processing {"connection_id":90066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:12:20] 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-06-02 20:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:12:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":90066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:12:20] local.INFO: GPS data processed {"connection_id":90066,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:12:20] local.INFO: Acknowledgment sent {"connection_id":90066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:12:23] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:12:23] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:12:23] local.INFO: IMEI packet received {"connection_id":90067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":90067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:12:28] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:12:28] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:12:28] local.INFO: IMEI packet received {"connection_id":90067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":90067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:12:29] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:12:29] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:12:29] local.INFO: Packet analysis {"connection_id":90067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:12:29] local.INFO: Extracted packet for processing {"connection_id":90067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:12: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-06-02 20:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:12:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":90067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:12:29] local.INFO: GPS data processed {"connection_id":90067,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:12:29] local.INFO: Acknowledgment sent {"connection_id":90067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:13:00] local.INFO: TCP Data received {"connection_id":90067,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:13:00] local.INFO: Processing buffer {"connection_id":90067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:13:00] local.INFO: Packet analysis {"connection_id":90067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:13:00] local.INFO: Extracted packet for processing {"connection_id":90067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:13:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:13: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-06-02 20:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:13:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":90067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:13:00] local.INFO: GPS data processed {"connection_id":90067,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:13:00] local.INFO: Acknowledgment sent {"connection_id":90067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:13:05] local.INFO: TCP Data received {"connection_id":90161,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:13:05] local.INFO: Processing buffer {"connection_id":90161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:13:05] local.INFO: IMEI packet received {"connection_id":90161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":90161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:13:10] local.INFO: TCP Data received {"connection_id":90161,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:13:10] local.INFO: Processing buffer {"connection_id":90161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:13:10] local.INFO: IMEI packet received {"connection_id":90161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":90161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:13:10] local.INFO: TCP Data received {"connection_id":90161,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:13:10] local.INFO: Processing buffer {"connection_id":90161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:13:10] local.INFO: Packet analysis {"connection_id":90161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:13:10] local.INFO: Extracted packet for processing {"connection_id":90161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:13:10] 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-06-02 20:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":90161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:13:11] local.INFO: GPS data processed {"connection_id":90161,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:13:11] local.INFO: Acknowledgment sent {"connection_id":90161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:13:23] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:13:23] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:13:23] local.INFO: IMEI packet received {"connection_id":90162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":90162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:13:28] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:13:28] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:13:28] local.INFO: IMEI packet received {"connection_id":90162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":90162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:13:29] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:13:29] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:13:29] local.INFO: Packet analysis {"connection_id":90162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:13:29] local.INFO: Extracted packet for processing {"connection_id":90162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:13:29] 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-06-02 20:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":90162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:13:29] local.INFO: GPS data processed {"connection_id":90162,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:13:29] local.INFO: Acknowledgment sent {"connection_id":90162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:13:42] local.INFO: TCP Data received {"connection_id":90161,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:13:42] local.INFO: Processing buffer {"connection_id":90161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:13:42] local.INFO: Packet analysis {"connection_id":90161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:13:42] local.INFO: Extracted packet for processing {"connection_id":90161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:13:42] 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-06-02 20:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:13:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":90161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:13:42] local.INFO: GPS data processed {"connection_id":90161,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:13:42] local.INFO: Acknowledgment sent {"connection_id":90161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:14:00] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:14:00] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:14:00] local.INFO: Packet analysis {"connection_id":90162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:14:00] local.INFO: Extracted packet for processing {"connection_id":90162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:14:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:14:00] 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-06-02 20:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:14:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":90162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:14:00] local.INFO: GPS data processed {"connection_id":90162,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:14:00] local.INFO: Acknowledgment sent {"connection_id":90162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:14:05] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:14:05] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:14:05] local.INFO: IMEI packet received {"connection_id":89800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":89800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:14:10] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:14:10] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:14:10] local.INFO: IMEI packet received {"connection_id":89800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":89800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:14:10] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:14:10] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:14:10] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:14:10] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:14:10] 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-06-02 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:14:10] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:14:10] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:14:23] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:14:23] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:14:23] local.INFO: IMEI packet received {"connection_id":89801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":89801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:14:28] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:14:28] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:14:28] local.INFO: IMEI packet received {"connection_id":89801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":89801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:14:29] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:14:29] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:14:29] local.INFO: Packet analysis {"connection_id":89801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:14:29] local.INFO: Extracted packet for processing {"connection_id":89801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:14:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:14:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:14:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":89801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:14:29] local.INFO: GPS data processed {"connection_id":89801,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:14:29] local.INFO: Acknowledgment sent {"connection_id":89801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:14:42] local.INFO: TCP Data received {"connection_id":89800,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:14:42] local.INFO: Processing buffer {"connection_id":89800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:14:42] local.INFO: Packet analysis {"connection_id":89800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:14:42] local.INFO: Extracted packet for processing {"connection_id":89800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:14:42] 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-06-02 20:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:14:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":89800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:14:42] local.INFO: GPS data processed {"connection_id":89800,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:14:42] local.INFO: Acknowledgment sent {"connection_id":89800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:15:00] local.INFO: TCP Data received {"connection_id":89801,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:00] local.INFO: Processing buffer {"connection_id":89801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:00] local.INFO: Packet analysis {"connection_id":89801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:15:00] local.INFO: Extracted packet for processing {"connection_id":89801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:15:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:15:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:15:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":89801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:15:00] local.INFO: GPS data processed {"connection_id":89801,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:15:00] local.INFO: Acknowledgment sent {"connection_id":89801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:15:04] local.INFO: TCP Data received {"connection_id":90163,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:15:04] local.INFO: Processing buffer {"connection_id":90163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:15:04] local.INFO: IMEI packet received {"connection_id":90163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":90163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:15:10] local.INFO: TCP Data received {"connection_id":90163,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:15:10] local.INFO: Processing buffer {"connection_id":90163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:15:10] local.INFO: IMEI packet received {"connection_id":90163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":90163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:15:10] local.INFO: TCP Data received {"connection_id":90163,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:15:10] local.INFO: Processing buffer {"connection_id":90163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:15:10] local.INFO: Packet analysis {"connection_id":90163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:15:10] local.INFO: Extracted packet for processing {"connection_id":90163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:15:10] 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-06-02 20:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:15:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":90163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:15:11] local.INFO: GPS data processed {"connection_id":90163,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:15:11] local.INFO: Acknowledgment sent {"connection_id":90163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:15:27] local.INFO: TCP Data received {"connection_id":90069,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:15:27] local.INFO: Processing buffer {"connection_id":90069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:15:27] local.INFO: IMEI packet received {"connection_id":90069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":90069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:15:28] local.INFO: TCP Data received {"connection_id":91228,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:15:28] local.INFO: Processing buffer {"connection_id":91228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:15:28] local.INFO: IMEI packet received {"connection_id":91228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":91228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:15:33] local.INFO: TCP Data received {"connection_id":91228,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:15:33] local.INFO: Processing buffer {"connection_id":91228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:15:33] local.INFO: IMEI packet received {"connection_id":91228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":91228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:15:34] local.INFO: TCP Data received {"connection_id":91228,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:34] local.INFO: Processing buffer {"connection_id":91228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:34] local.INFO: Packet analysis {"connection_id":91228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:15:34] local.INFO: Extracted packet for processing {"connection_id":91228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":91228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":91228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":91228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:15:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:15:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":91228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:15:34] local.INFO: GPS data processed {"connection_id":91228,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:15:34] local.INFO: Acknowledgment sent {"connection_id":91228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:15:38] local.INFO: TCP Data received {"connection_id":91228,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:38] local.INFO: Processing buffer {"connection_id":91228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c7b168012cb29ac007823b18005200b828..."} 
[2026-06-02 20:15:38] local.INFO: Packet analysis {"connection_id":91228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:15:38] local.INFO: Extracted packet for processing {"connection_id":91228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c7"} 
[2026-06-02 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785202688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780411249000,"timestamp_ms":1780411249000,"timestamp_seconds":1780411249,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c7b168"} 
[2026-06-02 20:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 20:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785202688001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785202688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:15:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:15:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785202688001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":91228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:15:38] local.INFO: GPS data processed {"connection_id":91228,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:15:38] local.INFO: Acknowledgment sent {"connection_id":91228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:15:42] local.INFO: TCP Data received {"connection_id":90163,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:15:42] local.INFO: Processing buffer {"connection_id":90163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:15:42] local.INFO: Packet analysis {"connection_id":90163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:15:42] local.INFO: Extracted packet for processing {"connection_id":90163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:15:42] 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-06-02 20:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:15:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":90163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:15:42] local.INFO: GPS data processed {"connection_id":90163,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:15:42] local.INFO: Acknowledgment sent {"connection_id":90163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:15:57] local.INFO: TCP Data received {"connection_id":89802,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:15:57] local.INFO: Processing buffer {"connection_id":89802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:15:57] local.INFO: IMEI packet received {"connection_id":89802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":89802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:16:04] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:16:04] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:16:04] local.INFO: IMEI packet received {"connection_id":90070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":90070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:16:10] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:16:10] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:16:10] local.INFO: IMEI packet received {"connection_id":90070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":90070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:16:11] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:16:11] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:16:11] local.INFO: Packet analysis {"connection_id":90070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:16:11] local.INFO: Extracted packet for processing {"connection_id":90070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:16:11] 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-06-02 20:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:16:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":90070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:16:11] local.INFO: GPS data processed {"connection_id":90070,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:16:11] local.INFO: Acknowledgment sent {"connection_id":90070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:16:23] local.INFO: TCP Data received {"connection_id":91229,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:16:23] local.INFO: Processing buffer {"connection_id":91229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:16:23] local.INFO: IMEI packet received {"connection_id":91229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":91229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:16:28] local.INFO: TCP Data received {"connection_id":91229,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:16:28] local.INFO: Processing buffer {"connection_id":91229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:16:28] local.INFO: IMEI packet received {"connection_id":91229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":91229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:16:29] local.INFO: TCP Data received {"connection_id":91229,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:16:29] local.INFO: Processing buffer {"connection_id":91229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:16:29] local.INFO: Packet analysis {"connection_id":91229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:16:29] local.INFO: Extracted packet for processing {"connection_id":91229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:16:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:16:29] 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-06-02 20:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:16:29] 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-06-02 20:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:16:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":91229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:16:29] local.INFO: GPS data processed {"connection_id":91229,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:16:29] local.INFO: Acknowledgment sent {"connection_id":91229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:16:42] local.INFO: TCP Data received {"connection_id":90070,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:16:42] local.INFO: Processing buffer {"connection_id":90070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88c80b40012d196500071ff058003b01462a..."} 
[2026-06-02 20:16:42] local.INFO: Packet analysis {"connection_id":90070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:16:42] local.INFO: Extracted packet for processing {"connection_id":90070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88c8"} 
[2026-06-02 20:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785208576001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411272000,"timestamp_ms":1780411272000,"timestamp_seconds":1780411272,"priority":1,"record_length":96,"hex_timestamp":"0000019e88c80b40"} 
[2026-06-02 20:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:16:42] 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-06-02 20:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785208576001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785208576001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:16:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785208576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":90070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:16:42] local.INFO: GPS data processed {"connection_id":90070,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:16:42] local.INFO: Acknowledgment sent {"connection_id":90070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:17:00] local.INFO: TCP Data received {"connection_id":91229,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:17:00] local.INFO: Processing buffer {"connection_id":91229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:17:00] local.INFO: Packet analysis {"connection_id":91229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:00] local.INFO: Extracted packet for processing {"connection_id":91229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:17:00] 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-06-02 20: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-06-02 20:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:17:00] 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-06-02 20:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:17:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":91229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:17:00] local.INFO: GPS data processed {"connection_id":91229,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:17:00] local.INFO: Acknowledgment sent {"connection_id":91229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:17:10] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:17:10] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:17:10] local.INFO: IMEI packet received {"connection_id":90072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":90072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:17:15] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:17:15] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:17:15] local.INFO: IMEI packet received {"connection_id":90072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":90072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:17:16] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:17:16] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:17:16] local.INFO: Packet analysis {"connection_id":90072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:16] local.INFO: Extracted packet for processing {"connection_id":90072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20: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-06-02 20:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20: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-06-02 20: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-06-02 20:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:17:16] 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-06-02 20:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:17:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:17:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":90072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:17:16] local.INFO: GPS data processed {"connection_id":90072,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:17:16] local.INFO: Acknowledgment sent {"connection_id":90072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:17:20] local.INFO: TCP Data received {"connection_id":90072,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:17:20] local.INFO: Processing buffer {"connection_id":90072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:17:20] local.INFO: Packet analysis {"connection_id":90072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:20] local.INFO: Extracted packet for processing {"connection_id":90072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:17:20] 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-06-02 20:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:17:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":90072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:17:20] local.INFO: GPS data processed {"connection_id":90072,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:17:20] local.INFO: Acknowledgment sent {"connection_id":90072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:17:23] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:17:23] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:17:23] local.INFO: IMEI packet received {"connection_id":90164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":90164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:17:28] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:17:28] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:17:28] local.INFO: IMEI packet received {"connection_id":90164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":90164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:17:29] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:17:29] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:17:29] local.INFO: Packet analysis {"connection_id":90164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:29] local.INFO: Extracted packet for processing {"connection_id":90164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:17:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:17:29] 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-06-02 20: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-06-02 20:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:17:29] 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-06-02 20:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:17:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":90164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:17:29] local.INFO: GPS data processed {"connection_id":90164,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:17:29] local.INFO: Acknowledgment sent {"connection_id":90164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:18:00] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:18:00] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:18:00] local.INFO: Packet analysis {"connection_id":90164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:00] local.INFO: Extracted packet for processing {"connection_id":90164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:18:00] 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-06-02 20:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:18:00] 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-06-02 20:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:18:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:18:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":90164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:18:00] local.INFO: GPS data processed {"connection_id":90164,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:18:00] local.INFO: Acknowledgment sent {"connection_id":90164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:18:05] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:18:05] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:18:05] local.INFO: IMEI packet received {"connection_id":90074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":90074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:18:10] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:18:10] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:18:10] local.INFO: IMEI packet received {"connection_id":90074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":90074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:18:10] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:18:10] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:18:10] local.INFO: Packet analysis {"connection_id":90074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:10] local.INFO: Extracted packet for processing {"connection_id":90074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:18:10] 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-06-02 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:18:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":90074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:18:11] local.INFO: GPS data processed {"connection_id":90074,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:18:11] local.INFO: Acknowledgment sent {"connection_id":90074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:18:23] local.INFO: TCP Data received {"connection_id":91230,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:18:23] local.INFO: Processing buffer {"connection_id":91230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:18:23] local.INFO: IMEI packet received {"connection_id":91230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":91230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:18:28] local.INFO: TCP Data received {"connection_id":91230,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:18:28] local.INFO: Processing buffer {"connection_id":91230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:18:28] local.INFO: IMEI packet received {"connection_id":91230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":91230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:18:29] local.INFO: TCP Data received {"connection_id":91230,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:18:29] local.INFO: Processing buffer {"connection_id":91230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:18:29] local.INFO: Packet analysis {"connection_id":91230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:29] local.INFO: Extracted packet for processing {"connection_id":91230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:18:29] 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-06-02 20:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:18:29] 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-06-02 20:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:18:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":91230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:18:29] local.INFO: GPS data processed {"connection_id":91230,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:18:29] local.INFO: Acknowledgment sent {"connection_id":91230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:18:42] local.INFO: TCP Data received {"connection_id":90074,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:18:42] local.INFO: Processing buffer {"connection_id":90074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:18:42] local.INFO: Packet analysis {"connection_id":90074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:42] local.INFO: Extracted packet for processing {"connection_id":90074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:18:42] 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-06-02 20:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:18:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":90074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:18:42] local.INFO: GPS data processed {"connection_id":90074,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:18:42] local.INFO: Acknowledgment sent {"connection_id":90074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:19:00] local.INFO: TCP Data received {"connection_id":91230,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:19:00] local.INFO: Processing buffer {"connection_id":91230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:19:00] local.INFO: Packet analysis {"connection_id":91230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:00] local.INFO: Extracted packet for processing {"connection_id":91230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:19:00] 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-06-02 20: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-06-02 20:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:19:00] 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-06-02 20:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:19:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":91230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:19:00] local.INFO: GPS data processed {"connection_id":91230,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:19:00] local.INFO: Acknowledgment sent {"connection_id":91230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:19:05] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:19:05] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:19:05] local.INFO: IMEI packet received {"connection_id":89803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":89803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:19:10] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:19:10] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:19:10] local.INFO: IMEI packet received {"connection_id":89803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":89803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:19:11] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:19:11] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:19:11] local.INFO: Packet analysis {"connection_id":89803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:11] local.INFO: Extracted packet for processing {"connection_id":89803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":89803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:19:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":89803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:19:11] local.INFO: GPS data processed {"connection_id":89803,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:19:11] local.INFO: Acknowledgment sent {"connection_id":89803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:19:23] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:19:23] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:19:23] local.INFO: IMEI packet received {"connection_id":89804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":89804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:19:28] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:19:28] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:19:28] local.INFO: IMEI packet received {"connection_id":89804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":89804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:19:29] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:19:29] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:19:29] local.INFO: Packet analysis {"connection_id":89804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:29] local.INFO: Extracted packet for processing {"connection_id":89804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:19:29] 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-06-02 20: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-06-02 20:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:19:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":89804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:19:29] local.INFO: GPS data processed {"connection_id":89804,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:19:29] local.INFO: Acknowledgment sent {"connection_id":89804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:19:42] local.INFO: TCP Data received {"connection_id":89803,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:19:42] local.INFO: Processing buffer {"connection_id":89803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:19:42] local.INFO: Packet analysis {"connection_id":89803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:42] local.INFO: Extracted packet for processing {"connection_id":89803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:19:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":89803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:19:42] local.INFO: GPS data processed {"connection_id":89803,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:19:42] local.INFO: Acknowledgment sent {"connection_id":89803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:20:00] local.INFO: TCP Data received {"connection_id":89804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:00] local.INFO: Processing buffer {"connection_id":89804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:00] local.INFO: Packet analysis {"connection_id":89804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:00] local.INFO: Extracted packet for processing {"connection_id":89804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:20:00] 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-06-02 20: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-06-02 20:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:20:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":89804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:20:00] local.INFO: GPS data processed {"connection_id":89804,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:20:00] local.INFO: Acknowledgment sent {"connection_id":89804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:20:04] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:20:04] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:20:04] local.INFO: IMEI packet received {"connection_id":90165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":90165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:20:10] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:20:10] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:20:10] local.INFO: IMEI packet received {"connection_id":90165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":90165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:20:10] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:20:10] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:20:10] local.INFO: Packet analysis {"connection_id":90165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:10] local.INFO: Extracted packet for processing {"connection_id":90165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:20:10] 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-06-02 20:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:20:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":90165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:20:10] local.INFO: GPS data processed {"connection_id":90165,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:20:10] local.INFO: Acknowledgment sent {"connection_id":90165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:20:28] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:20:28] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:20:28] local.INFO: IMEI packet received {"connection_id":90166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":90166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:20:33] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:20:33] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:20:33] local.INFO: IMEI packet received {"connection_id":90166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":90166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:20:34] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:34] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:34] local.INFO: Packet analysis {"connection_id":90166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:34] local.INFO: Extracted packet for processing {"connection_id":90166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":90166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:20:34] 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-06-02 20:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:20:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":90166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:20:34] local.INFO: GPS data processed {"connection_id":90166,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:20:34] local.INFO: Acknowledgment sent {"connection_id":90166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:20:38] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:38] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:20:38] local.INFO: Packet analysis {"connection_id":90166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:38] local.INFO: Extracted packet for processing {"connection_id":90166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:20:38] 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-06-02 20:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:20:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:20:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":90166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:20:38] local.INFO: GPS data processed {"connection_id":90166,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:20:38] local.INFO: Acknowledgment sent {"connection_id":90166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:20:42] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:20:42] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:20:42] local.INFO: Packet analysis {"connection_id":90165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:42] local.INFO: Extracted packet for processing {"connection_id":90165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:20:42] 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-06-02 20:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:20:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":90165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:20:42] local.INFO: GPS data processed {"connection_id":90165,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:20:42] local.INFO: Acknowledgment sent {"connection_id":90165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:21:04] local.INFO: TCP Data received {"connection_id":90168,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:21:04] local.INFO: Processing buffer {"connection_id":90168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:21:04] local.INFO: IMEI packet received {"connection_id":90168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":90168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:21:10] local.INFO: TCP Data received {"connection_id":90168,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:21:10] local.INFO: Processing buffer {"connection_id":90168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:21:10] local.INFO: IMEI packet received {"connection_id":90168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":90168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:21:10] local.INFO: TCP Data received {"connection_id":90168,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:21:10] local.INFO: Processing buffer {"connection_id":90168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:21:10] local.INFO: Packet analysis {"connection_id":90168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:21:10] local.INFO: Extracted packet for processing {"connection_id":90168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:21:10] 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-06-02 20:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:21:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":90168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:21:11] local.INFO: GPS data processed {"connection_id":90168,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:21:11] local.INFO: Acknowledgment sent {"connection_id":90168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:21:22] local.INFO: TCP Data received {"connection_id":90167,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:21:22] local.INFO: Processing buffer {"connection_id":90167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:21:22] local.INFO: IMEI packet received {"connection_id":90167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":90167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:21:23] local.INFO: TCP Data received {"connection_id":91232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:21:23] local.INFO: Processing buffer {"connection_id":91232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:21:23] local.INFO: IMEI packet received {"connection_id":91232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":91232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:21:28] local.INFO: TCP Data received {"connection_id":91232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:21:28] local.INFO: Processing buffer {"connection_id":91232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:21:28] local.INFO: IMEI packet received {"connection_id":91232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":91232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:21:29] local.INFO: TCP Data received {"connection_id":91232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:21:29] local.INFO: Processing buffer {"connection_id":91232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cc4930012cb29ac007823b18004e00b827..."} 
[2026-06-02 20:21:29] local.INFO: Packet analysis {"connection_id":91232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:21:29] local.INFO: Extracted packet for processing {"connection_id":91232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:21:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785279744001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411550000,"timestamp_ms":1780411550000,"timestamp_seconds":1780411550,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cc4930"} 
[2026-06-02 20:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:21:29] 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-06-02 20: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-06-02 20:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785279744001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785279744001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:21:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785279744001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":91232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:21:29] local.INFO: GPS data processed {"connection_id":91232,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:21:29] local.INFO: Acknowledgment sent {"connection_id":91232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:21:42] local.INFO: TCP Data received {"connection_id":90168,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:21:42] local.INFO: Processing buffer {"connection_id":90168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88cca308012d196500071ff058003b014629..."} 
[2026-06-02 20:21:42] local.INFO: Packet analysis {"connection_id":90168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:21:42] local.INFO: Extracted packet for processing {"connection_id":90168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88cc"} 
[2026-06-02 20:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785285632001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411573000,"timestamp_ms":1780411573000,"timestamp_seconds":1780411573,"priority":1,"record_length":96,"hex_timestamp":"0000019e88cca308"} 
[2026-06-02 20:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:21:42] 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-06-02 20:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785285632001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785285632001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:21:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785285632001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":90168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:21:42] local.INFO: GPS data processed {"connection_id":90168,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:21:42] local.INFO: Acknowledgment sent {"connection_id":90168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:21:57] local.INFO: TCP Data received {"connection_id":91233,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:21:57] local.INFO: Processing buffer {"connection_id":91233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:21:57] local.INFO: IMEI packet received {"connection_id":91233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":91233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:22:00] local.INFO: TCP Data received {"connection_id":91232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:22:00] local.INFO: Processing buffer {"connection_id":91232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:22:00] local.INFO: Packet analysis {"connection_id":91232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:22:00] local.INFO: Extracted packet for processing {"connection_id":91232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:22:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:22:00] 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-06-02 20:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:22:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":91232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:22:00] local.INFO: GPS data processed {"connection_id":91232,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:22:00] local.INFO: Acknowledgment sent {"connection_id":91232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:22:10] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:22:10] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:22:10] local.INFO: IMEI packet received {"connection_id":89805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":89805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:22:15] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:22:15] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:22:15] local.INFO: IMEI packet received {"connection_id":89805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":89805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:22:15] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:22:15] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:22:15] local.INFO: Packet analysis {"connection_id":89805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:22:15] local.INFO: Extracted packet for processing {"connection_id":89805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:22:15] 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-06-02 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:22:15] 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-06-02 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":89805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:22:15] local.INFO: GPS data processed {"connection_id":89805,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:22:15] local.INFO: Acknowledgment sent {"connection_id":89805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:22:20] local.INFO: TCP Data received {"connection_id":89805,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:22:20] local.INFO: Processing buffer {"connection_id":89805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:22:20] local.INFO: Packet analysis {"connection_id":89805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:22:20] local.INFO: Extracted packet for processing {"connection_id":89805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:22:20] 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-06-02 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:22:20] 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-06-02 20:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:22:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":89805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:22:20] local.INFO: GPS data processed {"connection_id":89805,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:22:20] local.INFO: Acknowledgment sent {"connection_id":89805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:22:23] local.INFO: TCP Data received {"connection_id":89806,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:22:23] local.INFO: Processing buffer {"connection_id":89806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:22:23] local.INFO: IMEI packet received {"connection_id":89806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":89806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:22:28] local.INFO: TCP Data received {"connection_id":89806,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:22:28] local.INFO: Processing buffer {"connection_id":89806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:22:28] local.INFO: IMEI packet received {"connection_id":89806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":89806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:22:29] local.INFO: TCP Data received {"connection_id":89806,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:22:29] local.INFO: Processing buffer {"connection_id":89806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:22:29] local.INFO: Packet analysis {"connection_id":89806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:22:29] local.INFO: Extracted packet for processing {"connection_id":89806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:22:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:22:29] 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-06-02 20:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:22:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":89806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:22:29] local.INFO: GPS data processed {"connection_id":89806,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:22:29] local.INFO: Acknowledgment sent {"connection_id":89806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:23:00] local.INFO: TCP Data received {"connection_id":89806,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:23:00] local.INFO: Processing buffer {"connection_id":89806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:23:00] local.INFO: Packet analysis {"connection_id":89806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:23:00] local.INFO: Extracted packet for processing {"connection_id":89806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:23:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:23:00] 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-06-02 20:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:23:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:23:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":89806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:23:00] local.INFO: GPS data processed {"connection_id":89806,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:23:00] local.INFO: Acknowledgment sent {"connection_id":89806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:23:05] local.INFO: TCP Data received {"connection_id":90076,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:23:05] local.INFO: Processing buffer {"connection_id":90076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:23:05] local.INFO: IMEI packet received {"connection_id":90076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":90076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:23:10] local.INFO: TCP Data received {"connection_id":90076,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:23:10] local.INFO: Processing buffer {"connection_id":90076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:23:10] local.INFO: IMEI packet received {"connection_id":90076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":90076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:23:10] local.INFO: TCP Data received {"connection_id":90076,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:23:10] local.INFO: Processing buffer {"connection_id":90076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:23:10] local.INFO: Packet analysis {"connection_id":90076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:23:10] local.INFO: Extracted packet for processing {"connection_id":90076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:23:10] 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-06-02 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:23:10] 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-06-02 20:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:23:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":90076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:23:11] local.INFO: GPS data processed {"connection_id":90076,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:23:11] local.INFO: Acknowledgment sent {"connection_id":90076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:23:23] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:23:23] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:23:23] local.INFO: IMEI packet received {"connection_id":90170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":90170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:23:28] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:23:28] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:23:28] local.INFO: IMEI packet received {"connection_id":90170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":90170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:23:29] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:23:29] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:23:29] local.INFO: Packet analysis {"connection_id":90170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:23:29] local.INFO: Extracted packet for processing {"connection_id":90170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:23:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:23:29] 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-06-02 20: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-06-02 20:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:23:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":90170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:23:29] local.INFO: GPS data processed {"connection_id":90170,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:23:29] local.INFO: Acknowledgment sent {"connection_id":90170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:23:42] local.INFO: TCP Data received {"connection_id":90076,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:23:42] local.INFO: Processing buffer {"connection_id":90076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:23:42] local.INFO: Packet analysis {"connection_id":90076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:23:42] local.INFO: Extracted packet for processing {"connection_id":90076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:23:42] 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-06-02 20:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:23:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":90076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:23:42] local.INFO: GPS data processed {"connection_id":90076,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:23:42] local.INFO: Acknowledgment sent {"connection_id":90076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:24:00] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:24:00] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:24:00] local.INFO: Packet analysis {"connection_id":90170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:24:00] local.INFO: Extracted packet for processing {"connection_id":90170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:24:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:24:00] 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-06-02 20: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-06-02 20:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20: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-06-02 20:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:24:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":90170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:24:00] local.INFO: GPS data processed {"connection_id":90170,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:24:00] local.INFO: Acknowledgment sent {"connection_id":90170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:24:05] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:24:05] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:24:05] local.INFO: IMEI packet received {"connection_id":90077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":90077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:24:10] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:24:10] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:24:10] local.INFO: IMEI packet received {"connection_id":90077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":90077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:24:10] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:24:10] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:24:10] local.INFO: Packet analysis {"connection_id":90077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:24:10] local.INFO: Extracted packet for processing {"connection_id":90077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:24:10] 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-06-02 20:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:24:10] 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-06-02 20:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:24:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":90077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:24:10] local.INFO: GPS data processed {"connection_id":90077,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:24:10] local.INFO: Acknowledgment sent {"connection_id":90077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:24:23] local.INFO: TCP Data received {"connection_id":91234,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:24:23] local.INFO: Processing buffer {"connection_id":91234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:24:23] local.INFO: IMEI packet received {"connection_id":91234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":91234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:24:28] local.INFO: TCP Data received {"connection_id":91234,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:24:28] local.INFO: Processing buffer {"connection_id":91234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:24:28] local.INFO: IMEI packet received {"connection_id":91234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":91234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:24:29] local.INFO: TCP Data received {"connection_id":91234,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:24:29] local.INFO: Processing buffer {"connection_id":91234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:24:29] local.INFO: Packet analysis {"connection_id":91234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:24:29] local.INFO: Extracted packet for processing {"connection_id":91234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:24:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:24:29] 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-06-02 20:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:24:29] 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-06-02 20:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:24:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":91234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:24:29] local.INFO: GPS data processed {"connection_id":91234,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:24:29] local.INFO: Acknowledgment sent {"connection_id":91234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:24:42] local.INFO: TCP Data received {"connection_id":90077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:24:42] local.INFO: Processing buffer {"connection_id":90077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:24:42] local.INFO: Packet analysis {"connection_id":90077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:24:42] local.INFO: Extracted packet for processing {"connection_id":90077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:24:42] 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-06-02 20:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:24:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":90077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:24:42] local.INFO: GPS data processed {"connection_id":90077,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:24:42] local.INFO: Acknowledgment sent {"connection_id":90077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:25:00] local.INFO: TCP Data received {"connection_id":91234,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:25:00] local.INFO: Processing buffer {"connection_id":91234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:25:00] local.INFO: Packet analysis {"connection_id":91234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:25:00] local.INFO: Extracted packet for processing {"connection_id":91234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:25:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:25:00] 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-06-02 20: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-06-02 20:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:25:00] 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-06-02 20:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:25:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":91234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:25:00] local.INFO: GPS data processed {"connection_id":91234,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:25:00] local.INFO: Acknowledgment sent {"connection_id":91234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:25:04] local.INFO: TCP Data received {"connection_id":90078,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:25:04] local.INFO: Processing buffer {"connection_id":90078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:25:04] local.INFO: IMEI packet received {"connection_id":90078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":90078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:25:10] local.INFO: TCP Data received {"connection_id":90078,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:25:10] local.INFO: Processing buffer {"connection_id":90078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:25:10] local.INFO: IMEI packet received {"connection_id":90078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":90078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:25:10] local.INFO: TCP Data received {"connection_id":90078,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:25:10] local.INFO: Processing buffer {"connection_id":90078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:25:10] local.INFO: Packet analysis {"connection_id":90078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:25:10] local.INFO: Extracted packet for processing {"connection_id":90078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:25:10] 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-06-02 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:25:10] 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-06-02 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":90078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:25:11] local.INFO: GPS data processed {"connection_id":90078,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:25:11] local.INFO: Acknowledgment sent {"connection_id":90078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:25:23] local.INFO: TCP Data received {"connection_id":91235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:25:23] local.INFO: Processing buffer {"connection_id":91235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:25:23] local.INFO: IMEI packet received {"connection_id":91235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":91235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:25:28] local.INFO: TCP Data received {"connection_id":91235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:25:28] local.INFO: Processing buffer {"connection_id":91235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:25:28] local.INFO: IMEI packet received {"connection_id":91235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":91235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:25:29] local.INFO: TCP Data received {"connection_id":91235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:25:29] local.INFO: Processing buffer {"connection_id":91235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:25:29] local.INFO: Packet analysis {"connection_id":91235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:25:29] local.INFO: Extracted packet for processing {"connection_id":91235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:25:29] 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-06-02 20: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-06-02 20:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:25: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-06-02 20:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:25:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":91235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:25:29] local.INFO: GPS data processed {"connection_id":91235,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:25:29] local.INFO: Acknowledgment sent {"connection_id":91235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:25:42] local.INFO: TCP Data received {"connection_id":90078,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:25:42] local.INFO: Processing buffer {"connection_id":90078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:25:42] local.INFO: Packet analysis {"connection_id":90078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:25:42] local.INFO: Extracted packet for processing {"connection_id":90078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:25:42] 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-06-02 20:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:25:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":90078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:25:42] local.INFO: GPS data processed {"connection_id":90078,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:25:42] local.INFO: Acknowledgment sent {"connection_id":90078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:26:00] local.INFO: TCP Data received {"connection_id":91235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:26:00] local.INFO: Processing buffer {"connection_id":91235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d0e0f8012cb29ac007823b18005200b826..."} 
[2026-06-02 20:26:00] local.INFO: Packet analysis {"connection_id":91235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:26:00] local.INFO: Extracted packet for processing {"connection_id":91235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d0"} 
[2026-06-02 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":82,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785356800001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780411851000,"timestamp_ms":1780411851000,"timestamp_seconds":1780411851,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d0e0f8"} 
[2026-06-02 20:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:26:00] 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-06-02 20:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:26: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-06-02 20:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785356800001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785356800001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:26:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785356800001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":91235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:26:00] local.INFO: GPS data processed {"connection_id":91235,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:26:00] local.INFO: Acknowledgment sent {"connection_id":91235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:26:04] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:26:04] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:26:04] local.INFO: IMEI packet received {"connection_id":90079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":90079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:26:10] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:26:10] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:26:10] local.INFO: IMEI packet received {"connection_id":90079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":90079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:26:10] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:26:10] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:26:10] local.INFO: Packet analysis {"connection_id":90079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:26:10] local.INFO: Extracted packet for processing {"connection_id":90079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:26:10] 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-06-02 20:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:26:10] 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-06-02 20:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:26:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":90079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:26:10] local.INFO: GPS data processed {"connection_id":90079,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:26:10] local.INFO: Acknowledgment sent {"connection_id":90079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:26:28] local.INFO: TCP Data received {"connection_id":90172,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:26:28] local.INFO: Processing buffer {"connection_id":90172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:26:28] local.INFO: IMEI packet received {"connection_id":90172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":90172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:26:30] local.INFO: TCP Data received {"connection_id":90172,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:26:30] local.INFO: Processing buffer {"connection_id":90172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:26:30] local.INFO: IMEI packet received {"connection_id":90172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":90172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:26:30] local.INFO: TCP Data received {"connection_id":90172,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:26:30] local.INFO: Processing buffer {"connection_id":90172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:26:30] local.INFO: Packet analysis {"connection_id":90172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:26:30] local.INFO: Extracted packet for processing {"connection_id":90172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":90172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:26:30] local.INFO: GPS data processed {"connection_id":90172,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:26:30] local.INFO: Acknowledgment sent {"connection_id":90172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:26:33] local.INFO: TCP Data received {"connection_id":90172,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:26:33] local.INFO: Processing buffer {"connection_id":90172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:26:33] local.INFO: Packet analysis {"connection_id":90172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:26:33] local.INFO: Extracted packet for processing {"connection_id":90172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:26:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:26:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":90172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:26:33] local.INFO: GPS data processed {"connection_id":90172,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:26:33] local.INFO: Acknowledgment sent {"connection_id":90172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:26:41] local.INFO: TCP Data received {"connection_id":90079,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:26:41] local.INFO: Processing buffer {"connection_id":90079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d136e8012d196500071ff058003b014629..."} 
[2026-06-02 20:26:41] local.INFO: Packet analysis {"connection_id":90079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:26:41] local.INFO: Extracted packet for processing {"connection_id":90079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d1"} 
[2026-06-02 20:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785362688001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780411873000,"timestamp_ms":1780411873000,"timestamp_seconds":1780411873,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d136e8"} 
[2026-06-02 20:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:26:41] 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-06-02 20:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 20:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:26:41] 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-06-02 20:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785362688001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785362688001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:26:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785362688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":90079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:26:42] local.INFO: GPS data processed {"connection_id":90079,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:26:42] local.INFO: Acknowledgment sent {"connection_id":90079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:27:04] local.INFO: TCP Data received {"connection_id":90172,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:27:04] local.INFO: Processing buffer {"connection_id":90172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:27:04] local.INFO: Packet analysis {"connection_id":90172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:04] local.INFO: Extracted packet for processing {"connection_id":90172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:27:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":90172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:27:04] local.INFO: GPS data processed {"connection_id":90172,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:27:04] local.INFO: Acknowledgment sent {"connection_id":90172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:27:10] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:27:10] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:27:10] local.INFO: IMEI packet received {"connection_id":90173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":90173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:27:12] local.INFO: TCP Data received {"connection_id":89808,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:27:12] local.INFO: Processing buffer {"connection_id":89808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:27:12] local.INFO: IMEI packet received {"connection_id":89808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":89808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:27:15] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:27:15] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:27:15] local.INFO: IMEI packet received {"connection_id":90173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":90173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:27:15] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:27:15] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:27:15] local.INFO: Packet analysis {"connection_id":90173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:15] local.INFO: Extracted packet for processing {"connection_id":90173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:27:15] 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-06-02 20:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":90173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:27:15] local.INFO: GPS data processed {"connection_id":90173,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:27:15] local.INFO: Acknowledgment sent {"connection_id":90173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:27:20] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:27:20] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:27:20] local.INFO: Packet analysis {"connection_id":90173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:20] local.INFO: Extracted packet for processing {"connection_id":90173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 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-06-02 20:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 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-06-02 20:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 20:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:27:20] 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-06-02 20:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:27:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":90173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:27:20] local.INFO: GPS data processed {"connection_id":90173,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:27:20] local.INFO: Acknowledgment sent {"connection_id":90173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:27:23] local.INFO: TCP Data received {"connection_id":90174,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:27:23] local.INFO: Processing buffer {"connection_id":90174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:27:23] local.INFO: IMEI packet received {"connection_id":90174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":90174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:27:28] local.INFO: TCP Data received {"connection_id":90174,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:27:28] local.INFO: Processing buffer {"connection_id":90174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:27:28] local.INFO: IMEI packet received {"connection_id":90174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":90174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:27:29] local.INFO: TCP Data received {"connection_id":90174,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:27:29] local.INFO: Processing buffer {"connection_id":90174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:27:29] local.INFO: Packet analysis {"connection_id":90174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:29] local.INFO: Extracted packet for processing {"connection_id":90174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:27: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-06-02 20:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:27:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":90174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:27:29] local.INFO: GPS data processed {"connection_id":90174,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:27:29] local.INFO: Acknowledgment sent {"connection_id":90174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:28:00] local.INFO: TCP Data received {"connection_id":90174,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:28:00] local.INFO: Processing buffer {"connection_id":90174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:28:00] local.INFO: Packet analysis {"connection_id":90174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:00] local.INFO: Extracted packet for processing {"connection_id":90174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:28: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-06-02 20:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:28:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":90174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:28:00] local.INFO: GPS data processed {"connection_id":90174,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:28:00] local.INFO: Acknowledgment sent {"connection_id":90174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:28:00] local.INFO: TCP Data received {"connection_id":89809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:28:00] local.INFO: Processing buffer {"connection_id":89809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:28:00] local.INFO: IMEI packet received {"connection_id":89809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":89809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:28:05] local.INFO: TCP Data received {"connection_id":90080,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:28:05] local.INFO: Processing buffer {"connection_id":90080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:28:05] local.INFO: IMEI packet received {"connection_id":90080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":90080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:28:10] local.INFO: TCP Data received {"connection_id":90080,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:28:10] local.INFO: Processing buffer {"connection_id":90080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:28:10] local.INFO: IMEI packet received {"connection_id":90080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":90080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:28:10] local.INFO: TCP Data received {"connection_id":90080,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:28:10] local.INFO: Processing buffer {"connection_id":90080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:28:10] local.INFO: Packet analysis {"connection_id":90080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:10] local.INFO: Extracted packet for processing {"connection_id":90080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:28:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":90080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:28:10] local.INFO: GPS data processed {"connection_id":90080,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:28:10] local.INFO: Acknowledgment sent {"connection_id":90080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:28:23] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:28:23] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:28:23] local.INFO: IMEI packet received {"connection_id":89810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":89810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:28:28] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:28:28] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:28:28] local.INFO: IMEI packet received {"connection_id":89810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":89810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:28:29] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:28:29] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:28:29] local.INFO: Packet analysis {"connection_id":89810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:29] local.INFO: Extracted packet for processing {"connection_id":89810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:28: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-06-02 20:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:28:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":89810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:28:29] local.INFO: GPS data processed {"connection_id":89810,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:28:29] local.INFO: Acknowledgment sent {"connection_id":89810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:28:42] local.INFO: TCP Data received {"connection_id":90080,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:28:42] local.INFO: Processing buffer {"connection_id":90080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:28:42] local.INFO: Packet analysis {"connection_id":90080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:42] local.INFO: Extracted packet for processing {"connection_id":90080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:28:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":90080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:28:42] local.INFO: GPS data processed {"connection_id":90080,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:28:42] local.INFO: Acknowledgment sent {"connection_id":90080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:29:00] local.INFO: TCP Data received {"connection_id":89810,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:29:00] local.INFO: Processing buffer {"connection_id":89810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:29:00] local.INFO: Packet analysis {"connection_id":89810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:00] local.INFO: Extracted packet for processing {"connection_id":89810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:29: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-06-02 20:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:29:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":89810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:29:00] local.INFO: GPS data processed {"connection_id":89810,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:29:00] local.INFO: Acknowledgment sent {"connection_id":89810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:29:05] local.INFO: TCP Data received {"connection_id":91238,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:29:05] local.INFO: Processing buffer {"connection_id":91238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:29:05] local.INFO: IMEI packet received {"connection_id":91238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":91238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:29:10] local.INFO: TCP Data received {"connection_id":91238,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:29:10] local.INFO: Processing buffer {"connection_id":91238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:29:10] local.INFO: IMEI packet received {"connection_id":91238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":91238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:29:11] local.INFO: TCP Data received {"connection_id":91238,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:29:11] local.INFO: Processing buffer {"connection_id":91238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:29:11] local.INFO: Packet analysis {"connection_id":91238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:11] local.INFO: Extracted packet for processing {"connection_id":91238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":91238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":91238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":91238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:29:11] 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-06-02 20:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:29:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":91238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:29:11] local.INFO: GPS data processed {"connection_id":91238,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:29:11] local.INFO: Acknowledgment sent {"connection_id":91238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:29:23] local.INFO: TCP Data received {"connection_id":91239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:29:23] local.INFO: Processing buffer {"connection_id":91239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:29:23] local.INFO: IMEI packet received {"connection_id":91239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":91239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:29:28] local.INFO: TCP Data received {"connection_id":91239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:29:28] local.INFO: Processing buffer {"connection_id":91239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:29:28] local.INFO: IMEI packet received {"connection_id":91239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":91239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:29:29] local.INFO: TCP Data received {"connection_id":91239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:29:29] local.INFO: Processing buffer {"connection_id":91239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:29:29] local.INFO: Packet analysis {"connection_id":91239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:29] local.INFO: Extracted packet for processing {"connection_id":91239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:29: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-06-02 20:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:29: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":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:29: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-06-02 20:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:29:29] 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-06-02 20:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:29:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":91239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:29:29] local.INFO: GPS data processed {"connection_id":91239,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:29:29] local.INFO: Acknowledgment sent {"connection_id":91239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:29:42] local.INFO: TCP Data received {"connection_id":91238,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:29:42] local.INFO: Processing buffer {"connection_id":91238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:29:42] local.INFO: Packet analysis {"connection_id":91238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:42] local.INFO: Extracted packet for processing {"connection_id":91238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:29:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":91238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:29:42] local.INFO: GPS data processed {"connection_id":91238,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:29:42] local.INFO: Acknowledgment sent {"connection_id":91238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:30:00] local.INFO: TCP Data received {"connection_id":91239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:30:00] local.INFO: Processing buffer {"connection_id":91239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:30:00] local.INFO: Packet analysis {"connection_id":91239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:00] local.INFO: Extracted packet for processing {"connection_id":91239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:30: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-06-02 20:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:30: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:30: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-06-02 20:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:30: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-06-02 20:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:30:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":91239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:30:00] local.INFO: GPS data processed {"connection_id":91239,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:30:00] local.INFO: Acknowledgment sent {"connection_id":91239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:30:04] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:30:04] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:30:04] local.INFO: IMEI packet received {"connection_id":90083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":90083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:30:10] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:30:10] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:30:10] local.INFO: IMEI packet received {"connection_id":90083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":90083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:30:10] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:30:10] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:30:10] local.INFO: Packet analysis {"connection_id":90083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:10] local.INFO: Extracted packet for processing {"connection_id":90083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:30:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":90083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:30:10] local.INFO: GPS data processed {"connection_id":90083,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:30:10] local.INFO: Acknowledgment sent {"connection_id":90083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:30:23] local.INFO: TCP Data received {"connection_id":90175,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:30:23] local.INFO: Processing buffer {"connection_id":90175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:30:23] local.INFO: IMEI packet received {"connection_id":90175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":90175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:30:28] local.INFO: TCP Data received {"connection_id":90175,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:30:28] local.INFO: Processing buffer {"connection_id":90175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:30:28] local.INFO: IMEI packet received {"connection_id":90175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":90175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:30:29] local.INFO: TCP Data received {"connection_id":90175,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:30:29] local.INFO: Processing buffer {"connection_id":90175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:30:29] local.INFO: Packet analysis {"connection_id":90175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:29] local.INFO: Extracted packet for processing {"connection_id":90175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:30: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-06-02 20:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:30:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":90175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:30:29] local.INFO: GPS data processed {"connection_id":90175,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:30:29] local.INFO: Acknowledgment sent {"connection_id":90175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:30:41] local.INFO: TCP Data received {"connection_id":90083,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:30:41] local.INFO: Processing buffer {"connection_id":90083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:30:41] local.INFO: Packet analysis {"connection_id":90083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:41] local.INFO: Extracted packet for processing {"connection_id":90083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":90083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:30:42] local.INFO: GPS data processed {"connection_id":90083,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:30:42] local.INFO: Acknowledgment sent {"connection_id":90083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:31:00] local.INFO: TCP Data received {"connection_id":90175,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:31:00] local.INFO: Processing buffer {"connection_id":90175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d578c0012cb29ac007823b18005100b827..."} 
[2026-06-02 20:31:00] local.INFO: Packet analysis {"connection_id":90175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:31:00] local.INFO: Extracted packet for processing {"connection_id":90175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:31:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785433856001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412152000,"timestamp_ms":1780412152000,"timestamp_seconds":1780412152,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d578c0"} 
[2026-06-02 20:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 20:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:31: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-06-02 20:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785433856001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785433856001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:31:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785433856001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":90175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:31:00] local.INFO: GPS data processed {"connection_id":90175,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:31:00] local.INFO: Acknowledgment sent {"connection_id":90175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:31:04] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:31:04] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:31:04] local.INFO: IMEI packet received {"connection_id":90084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":90084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:31:10] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:31:10] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:31:10] local.INFO: IMEI packet received {"connection_id":90084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":90084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:31:10] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:31:10] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:31:10] local.INFO: Packet analysis {"connection_id":90084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:31:10] local.INFO: Extracted packet for processing {"connection_id":90084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:31:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":90084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:31:10] local.INFO: GPS data processed {"connection_id":90084,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:31:10] local.INFO: Acknowledgment sent {"connection_id":90084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:31:28] local.INFO: TCP Data received {"connection_id":91240,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:31:28] local.INFO: Processing buffer {"connection_id":91240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:31:28] local.INFO: IMEI packet received {"connection_id":91240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":91240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:31:31] local.INFO: TCP Data received {"connection_id":91240,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:31:31] local.INFO: Processing buffer {"connection_id":91240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:31:31] local.INFO: IMEI packet received {"connection_id":91240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":91240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:31:31] local.INFO: TCP Data received {"connection_id":91240,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:31:31] local.INFO: Processing buffer {"connection_id":91240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:31:31] local.INFO: Packet analysis {"connection_id":91240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:31:31] local.INFO: Extracted packet for processing {"connection_id":91240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:31:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:31:31] 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-06-02 20:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":91240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":91240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":91240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:31:31] 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-06-02 20:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:31:31] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":91240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:31:31] local.INFO: GPS data processed {"connection_id":91240,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:31:31] local.INFO: Acknowledgment sent {"connection_id":91240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:31:33] local.INFO: TCP Data received {"connection_id":91240,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:31:33] local.INFO: Processing buffer {"connection_id":91240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:31:33] local.INFO: Packet analysis {"connection_id":91240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:31:33] local.INFO: Extracted packet for processing {"connection_id":91240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:31:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:31:33] 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-06-02 20:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:31: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-06-02 20:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:31:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:31:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":91240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:31:33] local.INFO: GPS data processed {"connection_id":91240,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:31:33] local.INFO: Acknowledgment sent {"connection_id":91240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:31:42] local.INFO: TCP Data received {"connection_id":90084,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:31:42] local.INFO: Processing buffer {"connection_id":90084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88d5ceb0012d196500071ff058003b014627..."} 
[2026-06-02 20:31:42] local.INFO: Packet analysis {"connection_id":90084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:31:42] local.INFO: Extracted packet for processing {"connection_id":90084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88d5"} 
[2026-06-02 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785439488001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780412174000,"timestamp_ms":1780412174000,"timestamp_seconds":1780412174,"priority":1,"record_length":96,"hex_timestamp":"0000019e88d5ceb0"} 
[2026-06-02 20:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785439488001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785439488001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:31:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785439488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":90084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:31:42] local.INFO: GPS data processed {"connection_id":90084,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:31:42] local.INFO: Acknowledgment sent {"connection_id":90084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:32:04] local.INFO: TCP Data received {"connection_id":91240,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:32:04] local.INFO: Processing buffer {"connection_id":91240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:32:04] local.INFO: Packet analysis {"connection_id":91240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:04] local.INFO: Extracted packet for processing {"connection_id":91240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:32:04] 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-06-02 20:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":91240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":91240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":91240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:32:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":91240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:32:04] local.INFO: GPS data processed {"connection_id":91240,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:32:04] local.INFO: Acknowledgment sent {"connection_id":91240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:32:10] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:32:10] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:32:10] local.INFO: IMEI packet received {"connection_id":89813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":89813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:32:15] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:32:15] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:32:15] local.INFO: IMEI packet received {"connection_id":89813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":89813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:32:15] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:32:15] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:32:15] local.INFO: Packet analysis {"connection_id":89813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:15] local.INFO: Extracted packet for processing {"connection_id":89813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:32:15] 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-06-02 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:32:15] 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-06-02 20:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":89813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:32:15] local.INFO: GPS data processed {"connection_id":89813,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:32:15] local.INFO: Acknowledgment sent {"connection_id":89813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:32:20] local.INFO: TCP Data received {"connection_id":89813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:32:20] local.INFO: Processing buffer {"connection_id":89813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:32:20] local.INFO: Packet analysis {"connection_id":89813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:20] local.INFO: Extracted packet for processing {"connection_id":89813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 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-06-02 20:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 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-06-02 20:32:20] 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-06-02 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 20:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:32:20] 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-06-02 20:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:32:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":89813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:32:20] local.INFO: GPS data processed {"connection_id":89813,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:32:20] local.INFO: Acknowledgment sent {"connection_id":89813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:32:23] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:32:23] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:32:23] local.INFO: IMEI packet received {"connection_id":90085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":90085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:32:28] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:32:28] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:32:28] local.INFO: IMEI packet received {"connection_id":90085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":90085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:32:29] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:32:29] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:32:29] local.INFO: Packet analysis {"connection_id":90085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:29] local.INFO: Extracted packet for processing {"connection_id":90085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:32:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:32: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-06-02 20: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-06-02 20:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:32: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-06-02 20:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:32:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":90085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:32:29] local.INFO: GPS data processed {"connection_id":90085,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:32:29] local.INFO: Acknowledgment sent {"connection_id":90085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:33:00] local.INFO: TCP Data received {"connection_id":90085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:33:00] local.INFO: Processing buffer {"connection_id":90085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:33:00] local.INFO: Packet analysis {"connection_id":90085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:00] local.INFO: Extracted packet for processing {"connection_id":90085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:33:00] 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-06-02 20: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-06-02 20:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:33:00] 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-06-02 20:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:33:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":90085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:33:00] local.INFO: GPS data processed {"connection_id":90085,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:33:00] local.INFO: Acknowledgment sent {"connection_id":90085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:33:05] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:33:05] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:33:05] local.INFO: IMEI packet received {"connection_id":90086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":90086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:33:10] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:33:10] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:33:10] local.INFO: IMEI packet received {"connection_id":90086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":90086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:33:10] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:33:10] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:33:10] local.INFO: Packet analysis {"connection_id":90086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:10] local.INFO: Extracted packet for processing {"connection_id":90086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:33:10] 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-06-02 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:33:10] 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-06-02 20:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":90086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:33:10] local.INFO: GPS data processed {"connection_id":90086,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:33:10] local.INFO: Acknowledgment sent {"connection_id":90086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:33:23] local.INFO: TCP Data received {"connection_id":91242,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:33:23] local.INFO: Processing buffer {"connection_id":91242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:33:23] local.INFO: IMEI packet received {"connection_id":91242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":91242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:33:27] local.INFO: TCP Data received {"connection_id":91241,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:33:27] local.INFO: Processing buffer {"connection_id":91241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:33:27] local.INFO: IMEI packet received {"connection_id":91241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":91241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:33:28] local.INFO: TCP Data received {"connection_id":91242,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:33:28] local.INFO: Processing buffer {"connection_id":91242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:33:28] local.INFO: IMEI packet received {"connection_id":91242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":91242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:33:29] local.INFO: TCP Data received {"connection_id":91242,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:33:29] local.INFO: Processing buffer {"connection_id":91242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:33:29] local.INFO: Packet analysis {"connection_id":91242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:29] local.INFO: Extracted packet for processing {"connection_id":91242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:33: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-06-02 20:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:33:29] 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-06-02 20:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:33:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":91242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:33:29] local.INFO: GPS data processed {"connection_id":91242,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:33:29] local.INFO: Acknowledgment sent {"connection_id":91242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:33:42] local.INFO: TCP Data received {"connection_id":90086,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:33:42] local.INFO: Processing buffer {"connection_id":90086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:33:42] local.INFO: Packet analysis {"connection_id":90086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:42] local.INFO: Extracted packet for processing {"connection_id":90086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:33:42] 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-06-02 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:33:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":90086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:33:42] local.INFO: GPS data processed {"connection_id":90086,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:33:42] local.INFO: Acknowledgment sent {"connection_id":90086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:33:57] local.INFO: TCP Data received {"connection_id":91243,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:33:57] local.INFO: Processing buffer {"connection_id":91243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:33:57] local.INFO: IMEI packet received {"connection_id":91243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":91243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:34:00] local.INFO: TCP Data received {"connection_id":91242,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:34:00] local.INFO: Processing buffer {"connection_id":91242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:34:00] local.INFO: Packet analysis {"connection_id":91242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:00] local.INFO: Extracted packet for processing {"connection_id":91242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:34:00] 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-06-02 20:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:34:00] 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-06-02 20:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:34:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":91242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:34:00] local.INFO: GPS data processed {"connection_id":91242,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:34:00] local.INFO: Acknowledgment sent {"connection_id":91242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:34:05] local.INFO: TCP Data received {"connection_id":91244,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:34:05] local.INFO: Processing buffer {"connection_id":91244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:34:05] local.INFO: IMEI packet received {"connection_id":91244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":91244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:34:10] local.INFO: TCP Data received {"connection_id":91244,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:34:10] local.INFO: Processing buffer {"connection_id":91244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:34:10] local.INFO: IMEI packet received {"connection_id":91244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":91244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:34:10] local.INFO: TCP Data received {"connection_id":91244,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:34:10] local.INFO: Processing buffer {"connection_id":91244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:34:10] local.INFO: Packet analysis {"connection_id":91244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:10] local.INFO: Extracted packet for processing {"connection_id":91244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:34:10] 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-06-02 20:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:34:10] 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-06-02 20:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:34:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":91244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:34:10] local.INFO: GPS data processed {"connection_id":91244,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:34:10] local.INFO: Acknowledgment sent {"connection_id":91244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:34:22] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:34:23] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:34:23] local.INFO: IMEI packet received {"connection_id":89814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":89814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:34:28] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:34:28] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:34:28] local.INFO: IMEI packet received {"connection_id":89814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":89814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:34:29] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:34:29] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:34:29] local.INFO: Packet analysis {"connection_id":89814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:29] local.INFO: Extracted packet for processing {"connection_id":89814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:34: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-06-02 20:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:34:29] 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-06-02 20:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:34:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":89814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:34:29] local.INFO: GPS data processed {"connection_id":89814,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:34:29] local.INFO: Acknowledgment sent {"connection_id":89814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:34:41] local.INFO: TCP Data received {"connection_id":91244,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:34:41] local.INFO: Processing buffer {"connection_id":91244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:34:41] local.INFO: Packet analysis {"connection_id":91244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:41] local.INFO: Extracted packet for processing {"connection_id":91244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:34:41] 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-06-02 20:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:34:41] 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-06-02 20:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":91244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:34:42] local.INFO: GPS data processed {"connection_id":91244,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:34:42] local.INFO: Acknowledgment sent {"connection_id":91244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:35:00] local.INFO: TCP Data received {"connection_id":89814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:35:00] local.INFO: Processing buffer {"connection_id":89814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:35:00] local.INFO: Packet analysis {"connection_id":89814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:00] local.INFO: Extracted packet for processing {"connection_id":89814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:35:00] 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-06-02 20: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-06-02 20:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:35: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-06-02 20:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:35:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":89814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:35:00] local.INFO: GPS data processed {"connection_id":89814,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:35:00] local.INFO: Acknowledgment sent {"connection_id":89814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:35:04] local.INFO: TCP Data received {"connection_id":90176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:35:04] local.INFO: Processing buffer {"connection_id":90176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:35:04] local.INFO: IMEI packet received {"connection_id":90176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":90176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:35:10] local.INFO: TCP Data received {"connection_id":90176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:35:10] local.INFO: Processing buffer {"connection_id":90176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:35:10] local.INFO: IMEI packet received {"connection_id":90176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":90176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:35:10] local.INFO: TCP Data received {"connection_id":90176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:35:10] local.INFO: Processing buffer {"connection_id":90176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:35:10] local.INFO: Packet analysis {"connection_id":90176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:10] local.INFO: Extracted packet for processing {"connection_id":90176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:35:10] 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-06-02 20:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:35:10] 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-06-02 20:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:35:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":90176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:35:10] local.INFO: GPS data processed {"connection_id":90176,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:35:10] local.INFO: Acknowledgment sent {"connection_id":90176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:35:23] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:35:23] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:35:23] local.INFO: IMEI packet received {"connection_id":89815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":89815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:35:28] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:35:28] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:35:28] local.INFO: IMEI packet received {"connection_id":89815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":89815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:35:29] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:35:29] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:35:29] local.INFO: Packet analysis {"connection_id":89815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:29] local.INFO: Extracted packet for processing {"connection_id":89815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:35: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-06-02 20: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-06-02 20:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:35:29] 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-06-02 20:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:35:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":89815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:35:29] local.INFO: GPS data processed {"connection_id":89815,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:35:29] local.INFO: Acknowledgment sent {"connection_id":89815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:35:42] local.INFO: TCP Data received {"connection_id":90176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:35:42] local.INFO: Processing buffer {"connection_id":90176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:35:42] local.INFO: Packet analysis {"connection_id":90176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:42] local.INFO: Extracted packet for processing {"connection_id":90176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:35:42] 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-06-02 20:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:35:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":90176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:35:42] local.INFO: GPS data processed {"connection_id":90176,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:35:42] local.INFO: Acknowledgment sent {"connection_id":90176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:36:00] local.INFO: TCP Data received {"connection_id":89815,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:36:00] local.INFO: Processing buffer {"connection_id":89815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:36:00] local.INFO: Packet analysis {"connection_id":89815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:00] local.INFO: Extracted packet for processing {"connection_id":89815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:36:00] 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-06-02 20: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-06-02 20:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:36:00] 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-06-02 20:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:36:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":89815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:36:00] local.INFO: GPS data processed {"connection_id":89815,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:36:00] local.INFO: Acknowledgment sent {"connection_id":89815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:36:04] local.INFO: TCP Data received {"connection_id":91247,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:36:04] local.INFO: Processing buffer {"connection_id":91247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:36:04] local.INFO: IMEI packet received {"connection_id":91247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":91247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:36:10] local.INFO: TCP Data received {"connection_id":91247,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:36:10] local.INFO: Processing buffer {"connection_id":91247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:36:10] local.INFO: IMEI packet received {"connection_id":91247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":91247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:36:10] local.INFO: TCP Data received {"connection_id":91247,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:36:10] local.INFO: Processing buffer {"connection_id":91247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:36:10] local.INFO: Packet analysis {"connection_id":91247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:10] local.INFO: Extracted packet for processing {"connection_id":91247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:36:10] 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-06-02 20:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:36:10] 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-06-02 20:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:36:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":91247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:36:10] local.INFO: GPS data processed {"connection_id":91247,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:36:10] local.INFO: Acknowledgment sent {"connection_id":91247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:36:22] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:36:23] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:36:23] local.INFO: IMEI packet received {"connection_id":90087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":90087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:36:28] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:36:28] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:36:28] local.INFO: IMEI packet received {"connection_id":90087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":90087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:36:29] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:36:29] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da1088012cb29ac007823b18005000b827..."} 
[2026-06-02 20:36:29] local.INFO: Packet analysis {"connection_id":90087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:29] local.INFO: Extracted packet for processing {"connection_id":90087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785510912001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412453000,"timestamp_ms":1780412453000,"timestamp_seconds":1780412453,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da1088"} 
[2026-06-02 20:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:36: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-06-02 20: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-06-02 20:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:36:29] 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-06-02 20:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785510912001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785510912001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:36:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785510912001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":90087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:36:29] local.INFO: GPS data processed {"connection_id":90087,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:36:29] local.INFO: Acknowledgment sent {"connection_id":90087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:36:41] local.INFO: TCP Data received {"connection_id":91247,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:36:41] local.INFO: Processing buffer {"connection_id":91247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88da6678012d196500071ff058003b014628..."} 
[2026-06-02 20:36:41] local.INFO: Packet analysis {"connection_id":91247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:41] local.INFO: Extracted packet for processing {"connection_id":91247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88da"} 
[2026-06-02 20:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785516544001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780412475000,"timestamp_ms":1780412475000,"timestamp_seconds":1780412475,"priority":1,"record_length":96,"hex_timestamp":"0000019e88da6678"} 
[2026-06-02 20:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:36:41] 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-06-02 20:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:36:41] 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-06-02 20:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785516544001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785516544001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:36:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785516544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":91247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:36:42] local.INFO: GPS data processed {"connection_id":91247,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:36:42] local.INFO: Acknowledgment sent {"connection_id":91247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:36:59] local.INFO: TCP Data received {"connection_id":90087,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:36:59] local.INFO: Processing buffer {"connection_id":90087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:36:59] local.INFO: Packet analysis {"connection_id":90087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:36:59] local.INFO: Extracted packet for processing {"connection_id":90087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:36:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:36:59] 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-06-02 20: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-06-02 20:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:36:59] 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-06-02 20:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:36:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:36:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":90087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:36:59] local.INFO: GPS data processed {"connection_id":90087,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:36:59] local.INFO: Acknowledgment sent {"connection_id":90087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:37:10] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:37:10] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:37:10] local.INFO: IMEI packet received {"connection_id":90177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":90177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:37:15] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:37:15] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:37:15] local.INFO: IMEI packet received {"connection_id":90177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":90177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:37:15] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:37:15] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:37:15] local.INFO: Packet analysis {"connection_id":90177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:37:15] local.INFO: Extracted packet for processing {"connection_id":90177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:37:15] 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-06-02 20:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:37:15] 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-06-02 20:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":90177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:37:16] local.INFO: GPS data processed {"connection_id":90177,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:37:16] local.INFO: Acknowledgment sent {"connection_id":90177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:37:20] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:37:20] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:37:20] local.INFO: Packet analysis {"connection_id":90177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:37:20] local.INFO: Extracted packet for processing {"connection_id":90177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:37:20] 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-06-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:37:20] 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-06-02 20:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:37:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":90177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:37:20] local.INFO: GPS data processed {"connection_id":90177,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:37:20] local.INFO: Acknowledgment sent {"connection_id":90177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:37:22] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:37:23] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:37:23] local.INFO: IMEI packet received {"connection_id":90088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":90088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:37:28] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:37:28] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:37:28] local.INFO: IMEI packet received {"connection_id":90088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":90088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:37:29] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:37:29] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:37:29] local.INFO: Packet analysis {"connection_id":90088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:37:29] local.INFO: Extracted packet for processing {"connection_id":90088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:37:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:37:29] 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-06-02 20: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-06-02 20:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:37:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":90088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:37:29] local.INFO: GPS data processed {"connection_id":90088,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:37:29] local.INFO: Acknowledgment sent {"connection_id":90088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:38:00] local.INFO: TCP Data received {"connection_id":90088,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:38:00] local.INFO: Processing buffer {"connection_id":90088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:38:00] local.INFO: Packet analysis {"connection_id":90088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:00] local.INFO: Extracted packet for processing {"connection_id":90088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:38:00] 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-06-02 20: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-06-02 20:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:38:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":90088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:38:00] local.INFO: GPS data processed {"connection_id":90088,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:38:00] local.INFO: Acknowledgment sent {"connection_id":90088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:38:04] local.INFO: TCP Data received {"connection_id":89817,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:38:04] local.INFO: Processing buffer {"connection_id":89817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:38:04] local.INFO: IMEI packet received {"connection_id":89817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":89817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:38:10] local.INFO: TCP Data received {"connection_id":89817,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:38:10] local.INFO: Processing buffer {"connection_id":89817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:38:10] local.INFO: IMEI packet received {"connection_id":89817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":89817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:38:10] local.INFO: TCP Data received {"connection_id":89817,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:38:10] local.INFO: Processing buffer {"connection_id":89817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:38:10] local.INFO: Packet analysis {"connection_id":89817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:10] local.INFO: Extracted packet for processing {"connection_id":89817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:38:10] 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-06-02 20:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:38:10] 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-06-02 20:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:38:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":89817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:38:11] local.INFO: GPS data processed {"connection_id":89817,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:38:11] local.INFO: Acknowledgment sent {"connection_id":89817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:38:22] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:38:22] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:38:22] local.INFO: IMEI packet received {"connection_id":90089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":90089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:38:28] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:38:28] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:38:28] local.INFO: IMEI packet received {"connection_id":90089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":90089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:38:29] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:38:29] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:38:29] local.INFO: Packet analysis {"connection_id":90089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:29] local.INFO: Extracted packet for processing {"connection_id":90089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:38:29] 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-06-02 20: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-06-02 20:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:38:29] 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-06-02 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:38:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":90089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:38:29] local.INFO: GPS data processed {"connection_id":90089,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:38:29] local.INFO: Acknowledgment sent {"connection_id":90089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:38:42] local.INFO: TCP Data received {"connection_id":89817,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:38:42] local.INFO: Processing buffer {"connection_id":89817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:38:42] local.INFO: Packet analysis {"connection_id":89817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:42] local.INFO: Extracted packet for processing {"connection_id":89817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:38:42] 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-06-02 20:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:38:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":89817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:38:42] local.INFO: GPS data processed {"connection_id":89817,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:38:42] local.INFO: Acknowledgment sent {"connection_id":89817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:39:00] local.INFO: TCP Data received {"connection_id":90089,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:39:00] local.INFO: Processing buffer {"connection_id":90089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:39:00] local.INFO: Packet analysis {"connection_id":90089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:00] local.INFO: Extracted packet for processing {"connection_id":90089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:39:00] 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-06-02 20:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:39:00] 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-06-02 20:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:39:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":90089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:39:00] local.INFO: GPS data processed {"connection_id":90089,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:39:00] local.INFO: Acknowledgment sent {"connection_id":90089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:39:05] local.INFO: TCP Data received {"connection_id":90090,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:39:05] local.INFO: Processing buffer {"connection_id":90090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:39:05] local.INFO: IMEI packet received {"connection_id":90090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":90090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:39:10] local.INFO: TCP Data received {"connection_id":90090,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:39:10] local.INFO: Processing buffer {"connection_id":90090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:39:10] local.INFO: IMEI packet received {"connection_id":90090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":90090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:39:10] local.INFO: TCP Data received {"connection_id":90090,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:39:10] local.INFO: Processing buffer {"connection_id":90090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:39:10] local.INFO: Packet analysis {"connection_id":90090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:10] local.INFO: Extracted packet for processing {"connection_id":90090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:39:10] 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-06-02 20:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:39:10] 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-06-02 20:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:39:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":90090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:39:11] local.INFO: GPS data processed {"connection_id":90090,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:39:11] local.INFO: Acknowledgment sent {"connection_id":90090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:39:22] local.INFO: TCP Data received {"connection_id":90178,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:39:22] local.INFO: Processing buffer {"connection_id":90178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:39:22] local.INFO: IMEI packet received {"connection_id":90178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":90178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:39:22] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:39:22] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:39:22] local.INFO: IMEI packet received {"connection_id":89818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":89818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:39:28] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:39:28] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:39:28] local.INFO: IMEI packet received {"connection_id":89818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":89818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:39:29] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:39:29] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:39:29] local.INFO: Packet analysis {"connection_id":89818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:29] local.INFO: Extracted packet for processing {"connection_id":89818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:39:29] 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-06-02 20: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-06-02 20:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:39:29] 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-06-02 20:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:39:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":89818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:39:29] local.INFO: GPS data processed {"connection_id":89818,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:39:29] local.INFO: Acknowledgment sent {"connection_id":89818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:39:42] local.INFO: TCP Data received {"connection_id":90090,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:39:42] local.INFO: Processing buffer {"connection_id":90090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:39:42] local.INFO: Packet analysis {"connection_id":90090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:42] local.INFO: Extracted packet for processing {"connection_id":90090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:39:42] 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-06-02 20:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:39:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":90090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:39:42] local.INFO: GPS data processed {"connection_id":90090,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:39:42] local.INFO: Acknowledgment sent {"connection_id":90090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:39:57] local.INFO: TCP Data received {"connection_id":90179,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:39:57] local.INFO: Processing buffer {"connection_id":90179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:39:57] local.INFO: IMEI packet received {"connection_id":90179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":90179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:40:00] local.INFO: TCP Data received {"connection_id":89818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:40:00] local.INFO: Processing buffer {"connection_id":89818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:40:00] local.INFO: Packet analysis {"connection_id":89818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:00] local.INFO: Extracted packet for processing {"connection_id":89818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:40:00] 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-06-02 20: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-06-02 20:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:40: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-06-02 20:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:40:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":89818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:40:00] local.INFO: GPS data processed {"connection_id":89818,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:40:00] local.INFO: Acknowledgment sent {"connection_id":89818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:40:04] local.INFO: TCP Data received {"connection_id":90180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:40:04] local.INFO: Processing buffer {"connection_id":90180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:40:04] local.INFO: IMEI packet received {"connection_id":90180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":90180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:40:09] local.INFO: TCP Data received {"connection_id":90180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:40:09] local.INFO: Processing buffer {"connection_id":90180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:40:09] local.INFO: IMEI packet received {"connection_id":90180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":90180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:40:10] local.INFO: TCP Data received {"connection_id":90180,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:40:10] local.INFO: Processing buffer {"connection_id":90180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:40:10] local.INFO: Packet analysis {"connection_id":90180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:10] local.INFO: Extracted packet for processing {"connection_id":90180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:40:10] 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-06-02 20:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:40:10] 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-06-02 20:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:40:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":90180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:40:10] local.INFO: GPS data processed {"connection_id":90180,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:40:10] local.INFO: Acknowledgment sent {"connection_id":90180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:40:22] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:40:22] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:40:22] local.INFO: IMEI packet received {"connection_id":90091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":90091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:40:28] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:40:28] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:40:28] local.INFO: IMEI packet received {"connection_id":90091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":90091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:40:29] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:40:29] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:40:29] local.INFO: Packet analysis {"connection_id":90091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:29] local.INFO: Extracted packet for processing {"connection_id":90091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:40:29] 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-06-02 20:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:40:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":90091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:40:29] local.INFO: GPS data processed {"connection_id":90091,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:40:29] local.INFO: Acknowledgment sent {"connection_id":90091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:40:41] local.INFO: TCP Data received {"connection_id":90180,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:40:41] local.INFO: Processing buffer {"connection_id":90180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:40:41] local.INFO: Packet analysis {"connection_id":90180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:41] local.INFO: Extracted packet for processing {"connection_id":90180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:40:41] 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-06-02 20:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:40:41] 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-06-02 20:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:40:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":90180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:40:41] local.INFO: GPS data processed {"connection_id":90180,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:40:41] local.INFO: Acknowledgment sent {"connection_id":90180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:41:00] local.INFO: TCP Data received {"connection_id":90091,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:41:00] local.INFO: Processing buffer {"connection_id":90091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:41:00] local.INFO: Packet analysis {"connection_id":90091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:00] local.INFO: Extracted packet for processing {"connection_id":90091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:41:00] 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-06-02 20:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:41: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-06-02 20:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:41:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":90091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:41:00] local.INFO: GPS data processed {"connection_id":90091,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:41:00] local.INFO: Acknowledgment sent {"connection_id":90091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:41:10] local.INFO: TCP Data received {"connection_id":91249,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:41:10] local.INFO: Processing buffer {"connection_id":91249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:41:10] local.INFO: IMEI packet received {"connection_id":91249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":91249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:41:15] local.INFO: TCP Data received {"connection_id":91249,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:41:15] local.INFO: Processing buffer {"connection_id":91249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:41:15] local.INFO: IMEI packet received {"connection_id":91249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":91249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:41:15] local.INFO: TCP Data received {"connection_id":91249,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:41:15] local.INFO: Processing buffer {"connection_id":91249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:41:15] local.INFO: Packet analysis {"connection_id":91249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:15] local.INFO: Extracted packet for processing {"connection_id":91249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:41:15] 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-06-02 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:41:15] 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-06-02 20:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":91249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:41:16] local.INFO: GPS data processed {"connection_id":91249,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:41:16] local.INFO: Acknowledgment sent {"connection_id":91249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:41:20] local.INFO: TCP Data received {"connection_id":91249,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:41:20] local.INFO: Processing buffer {"connection_id":91249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88defe40012d196500071ff058003b014626..."} 
[2026-06-02 20:41:20] local.INFO: Packet analysis {"connection_id":91249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:20] local.INFO: Extracted packet for processing {"connection_id":91249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785593600001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780412776000,"timestamp_ms":1780412776000,"timestamp_seconds":1780412776,"priority":1,"record_length":96,"hex_timestamp":"0000019e88defe40"} 
[2026-06-02 20:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:41:20] 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-06-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":91249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":91249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":91249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:41:20] 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-06-02 20:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785593600001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785593600001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:41:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785593600001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":91249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:41:20] local.INFO: GPS data processed {"connection_id":91249,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:41:20] local.INFO: Acknowledgment sent {"connection_id":91249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:41:22] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:41:22] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:41:22] local.INFO: IMEI packet received {"connection_id":89819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":89819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:41:28] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:41:28] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:41:28] local.INFO: IMEI packet received {"connection_id":89819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:41:29] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:41:29] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88dea850012cb29ac007823b18005400b828..."} 
[2026-06-02 20:41:29] local.INFO: Packet analysis {"connection_id":89819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:29] local.INFO: Extracted packet for processing {"connection_id":89819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88de"} 
[2026-06-02 20:41:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785587968001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780412754000,"timestamp_ms":1780412754000,"timestamp_seconds":1780412754,"priority":1,"record_length":96,"hex_timestamp":"0000019e88dea850"} 
[2026-06-02 20:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:41:29] 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-06-02 20: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-06-02 20:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:41:29] 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-06-02 20:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785587968001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785587968001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:41:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785587968001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":89819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:41:29] local.INFO: GPS data processed {"connection_id":89819,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:41:29] local.INFO: Acknowledgment sent {"connection_id":89819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:41:59] local.INFO: TCP Data received {"connection_id":89819,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:41:59] local.INFO: Processing buffer {"connection_id":89819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:41:59] local.INFO: Packet analysis {"connection_id":89819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:41:59] local.INFO: Extracted packet for processing {"connection_id":89819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:41:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:41:59] 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-06-02 20:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:41:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":89819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:41:59] local.INFO: GPS data processed {"connection_id":89819,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:41:59] local.INFO: Acknowledgment sent {"connection_id":89819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:42:05] local.INFO: TCP Data received {"connection_id":91250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:42:05] local.INFO: Processing buffer {"connection_id":91250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:42:05] local.INFO: IMEI packet received {"connection_id":91250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":91250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:42:09] local.INFO: TCP Data received {"connection_id":91250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:42:09] local.INFO: Processing buffer {"connection_id":91250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:42:09] local.INFO: IMEI packet received {"connection_id":91250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":91250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:42:10] local.INFO: TCP Data received {"connection_id":91250,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:42:10] local.INFO: Processing buffer {"connection_id":91250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:42:10] local.INFO: Packet analysis {"connection_id":91250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:10] local.INFO: Extracted packet for processing {"connection_id":91250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:42:10] 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-06-02 20:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:42:10] 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-06-02 20:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:42:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":91250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:42:10] local.INFO: GPS data processed {"connection_id":91250,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:42:10] local.INFO: Acknowledgment sent {"connection_id":91250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:42:22] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:42:23] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:42:23] local.INFO: IMEI packet received {"connection_id":89820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":89820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:42:28] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:42:28] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:42:28] local.INFO: IMEI packet received {"connection_id":89820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":89820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:42:29] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:42:29] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:42:29] local.INFO: Packet analysis {"connection_id":89820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:29] local.INFO: Extracted packet for processing {"connection_id":89820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:42:29] 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-06-02 20:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:42:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":89820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:42:29] local.INFO: GPS data processed {"connection_id":89820,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:42:29] local.INFO: Acknowledgment sent {"connection_id":89820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:42:41] local.INFO: TCP Data received {"connection_id":91250,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:42:41] local.INFO: Processing buffer {"connection_id":91250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:42:41] local.INFO: Packet analysis {"connection_id":91250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:41] local.INFO: Extracted packet for processing {"connection_id":91250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:42:41] 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-06-02 20:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:42:41] 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-06-02 20:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:42:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":91250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:42:41] local.INFO: GPS data processed {"connection_id":91250,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:42:41] local.INFO: Acknowledgment sent {"connection_id":91250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:42:59] local.INFO: TCP Data received {"connection_id":89820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:42:59] local.INFO: Processing buffer {"connection_id":89820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:42:59] local.INFO: Packet analysis {"connection_id":89820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:59] local.INFO: Extracted packet for processing {"connection_id":89820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:42:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:42:59] 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-06-02 20:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:42:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":89820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:43:00] local.INFO: GPS data processed {"connection_id":89820,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:43:00] local.INFO: Acknowledgment sent {"connection_id":89820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:43:04] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:43:04] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:43:04] local.INFO: IMEI packet received {"connection_id":90093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":90093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:43:09] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:43:09] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:43:09] local.INFO: IMEI packet received {"connection_id":90093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":90093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:43:10] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:43:10] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:43:10] local.INFO: Packet analysis {"connection_id":90093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:10] local.INFO: Extracted packet for processing {"connection_id":90093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:43:10] 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-06-02 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:43:10] 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-06-02 20:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:43:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":90093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:43:10] local.INFO: GPS data processed {"connection_id":90093,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:43:10] local.INFO: Acknowledgment sent {"connection_id":90093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:43:22] local.INFO: TCP Data received {"connection_id":90183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:43:22] local.INFO: Processing buffer {"connection_id":90183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:43:22] local.INFO: IMEI packet received {"connection_id":90183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":90183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:43:27] local.INFO: TCP Data received {"connection_id":90183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:43:27] local.INFO: Processing buffer {"connection_id":90183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:43:27] local.INFO: IMEI packet received {"connection_id":90183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":90183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:43:28] local.INFO: TCP Data received {"connection_id":90183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:43:28] local.INFO: Processing buffer {"connection_id":90183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:43:28] local.INFO: Packet analysis {"connection_id":90183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:28] local.INFO: Extracted packet for processing {"connection_id":90183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:43:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:43:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":90183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:43:28] local.INFO: GPS data processed {"connection_id":90183,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:43:28] local.INFO: Acknowledgment sent {"connection_id":90183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:43:41] local.INFO: TCP Data received {"connection_id":90093,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:43:41] local.INFO: Processing buffer {"connection_id":90093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:43:41] local.INFO: Packet analysis {"connection_id":90093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:41] local.INFO: Extracted packet for processing {"connection_id":90093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:43:41] 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-06-02 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:43:41] 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-06-02 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":90093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:43:42] local.INFO: GPS data processed {"connection_id":90093,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:43:42] local.INFO: Acknowledgment sent {"connection_id":90093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:43:59] local.INFO: TCP Data received {"connection_id":90183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:43:59] local.INFO: Processing buffer {"connection_id":90183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:43:59] local.INFO: Packet analysis {"connection_id":90183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:59] local.INFO: Extracted packet for processing {"connection_id":90183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:43:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:43: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-06-02 20:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:43:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:43:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":90183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:43:59] local.INFO: GPS data processed {"connection_id":90183,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:43:59] local.INFO: Acknowledgment sent {"connection_id":90183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:44:04] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:44:04] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:44:04] local.INFO: IMEI packet received {"connection_id":90094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":90094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:44:10] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:44:10] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:44:10] local.INFO: IMEI packet received {"connection_id":90094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":90094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:44:10] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:44:10] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:44:10] local.INFO: Packet analysis {"connection_id":90094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:10] local.INFO: Extracted packet for processing {"connection_id":90094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:44:10] 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-06-02 20:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:44:10] 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-06-02 20:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:44:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":90094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:44:11] local.INFO: GPS data processed {"connection_id":90094,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:44:11] local.INFO: Acknowledgment sent {"connection_id":90094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:44:22] local.INFO: TCP Data received {"connection_id":89822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:44:22] local.INFO: Processing buffer {"connection_id":89822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:44:22] local.INFO: IMEI packet received {"connection_id":89822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":89822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:44:27] local.INFO: TCP Data received {"connection_id":89822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:44:27] local.INFO: Processing buffer {"connection_id":89822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:44:27] local.INFO: IMEI packet received {"connection_id":89822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":89822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:44:28] local.INFO: TCP Data received {"connection_id":89822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:44:28] local.INFO: Processing buffer {"connection_id":89822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:44:28] local.INFO: Packet analysis {"connection_id":89822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:28] local.INFO: Extracted packet for processing {"connection_id":89822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:44:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":89822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:44:28] local.INFO: GPS data processed {"connection_id":89822,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:44:28] local.INFO: Acknowledgment sent {"connection_id":89822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:44:42] local.INFO: TCP Data received {"connection_id":90094,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:44:42] local.INFO: Processing buffer {"connection_id":90094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:44:42] local.INFO: Packet analysis {"connection_id":90094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:42] local.INFO: Extracted packet for processing {"connection_id":90094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:44:42] 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-06-02 20:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:44:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":90094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:44:42] local.INFO: GPS data processed {"connection_id":90094,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:44:42] local.INFO: Acknowledgment sent {"connection_id":90094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:44:59] local.INFO: TCP Data received {"connection_id":89822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:44:59] local.INFO: Processing buffer {"connection_id":89822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:44:59] local.INFO: Packet analysis {"connection_id":89822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:59] local.INFO: Extracted packet for processing {"connection_id":89822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:44:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 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-06-02 20:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:44: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-06-02 20:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:44:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":89822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:44:59] local.INFO: GPS data processed {"connection_id":89822,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:44:59] local.INFO: Acknowledgment sent {"connection_id":89822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:45:04] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:45:04] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:45:04] local.INFO: IMEI packet received {"connection_id":89823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":89823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:45:09] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:45:09] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:45:09] local.INFO: IMEI packet received {"connection_id":89823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":89823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:45:10] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:45:10] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:45:10] local.INFO: Packet analysis {"connection_id":89823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:45:10] local.INFO: Extracted packet for processing {"connection_id":89823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:45:10] 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-06-02 20:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:45:10] 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-06-02 20:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:45:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":89823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:45:10] local.INFO: GPS data processed {"connection_id":89823,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:45:10] local.INFO: Acknowledgment sent {"connection_id":89823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:45:14] local.INFO: TCP Data received {"connection_id":90184,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:45:14] local.INFO: Processing buffer {"connection_id":90184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:45:14] local.INFO: IMEI packet received {"connection_id":90184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":90184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:45:22] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:45:22] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:45:22] local.INFO: IMEI packet received {"connection_id":89824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":89824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:45:28] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:45:28] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:45:28] local.INFO: IMEI packet received {"connection_id":89824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":89824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:45:29] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:45:29] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:45:29] local.INFO: Packet analysis {"connection_id":89824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:45:29] local.INFO: Extracted packet for processing {"connection_id":89824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:45:29] 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-06-02 20:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:45:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":89824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:45:29] local.INFO: GPS data processed {"connection_id":89824,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:45:29] local.INFO: Acknowledgment sent {"connection_id":89824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:45:41] local.INFO: TCP Data received {"connection_id":89823,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:45:41] local.INFO: Processing buffer {"connection_id":89823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:45:41] local.INFO: Packet analysis {"connection_id":89823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:45:41] local.INFO: Extracted packet for processing {"connection_id":89823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:45:41] 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-06-02 20:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:45:41] 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-06-02 20:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":89823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:45:42] local.INFO: GPS data processed {"connection_id":89823,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:45:42] local.INFO: Acknowledgment sent {"connection_id":89823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:45:57] local.INFO: TCP Data received {"connection_id":90185,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:45:57] local.INFO: Processing buffer {"connection_id":90185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:45:57] local.INFO: IMEI packet received {"connection_id":90185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":90185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:46:00] local.INFO: TCP Data received {"connection_id":89824,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:46:00] local.INFO: Processing buffer {"connection_id":89824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:46:00] local.INFO: Packet analysis {"connection_id":89824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:00] local.INFO: Extracted packet for processing {"connection_id":89824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:46: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-06-02 20:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:46:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":89824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:46:00] local.INFO: GPS data processed {"connection_id":89824,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:46:00] local.INFO: Acknowledgment sent {"connection_id":89824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:46:09] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:46:09] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:46:09] local.INFO: IMEI packet received {"connection_id":89825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":89825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:46:14] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:46:14] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:46:14] local.INFO: IMEI packet received {"connection_id":89825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":89825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:46:15] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:46:15] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:46:15] local.INFO: Packet analysis {"connection_id":89825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:15] local.INFO: Extracted packet for processing {"connection_id":89825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:46:15] 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-06-02 20:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:46:15] 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-06-02 20:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":89825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:46:15] local.INFO: GPS data processed {"connection_id":89825,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:46:15] local.INFO: Acknowledgment sent {"connection_id":89825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:46:20] local.INFO: TCP Data received {"connection_id":89825,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:46:20] local.INFO: Processing buffer {"connection_id":89825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e39608012d196500071ff058003b014627..."} 
[2026-06-02 20:46:20] local.INFO: Packet analysis {"connection_id":89825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:20] local.INFO: Extracted packet for processing {"connection_id":89825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785670656001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780413077000,"timestamp_ms":1780413077000,"timestamp_seconds":1780413077,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e39608"} 
[2026-06-02 20:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:46:20] 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-06-02 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 20:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:46:20] 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-06-02 20:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785670656001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785670656001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:46:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785670656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":89825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:46:20] local.INFO: GPS data processed {"connection_id":89825,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:46:20] local.INFO: Acknowledgment sent {"connection_id":89825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:46:22] local.INFO: TCP Data received {"connection_id":89826,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:46:22] local.INFO: Processing buffer {"connection_id":89826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:46:22] local.INFO: IMEI packet received {"connection_id":89826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":89826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:46:28] local.INFO: TCP Data received {"connection_id":89826,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:46:28] local.INFO: Processing buffer {"connection_id":89826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:46:28] local.INFO: IMEI packet received {"connection_id":89826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":89826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:46:29] local.INFO: TCP Data received {"connection_id":89826,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:46:29] local.INFO: Processing buffer {"connection_id":89826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e34018012cb29ac007823b18005300b829..."} 
[2026-06-02 20:46:29] local.INFO: Packet analysis {"connection_id":89826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:29] local.INFO: Extracted packet for processing {"connection_id":89826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e3"} 
[2026-06-02 20:46:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785665024001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413055000,"timestamp_ms":1780413055000,"timestamp_seconds":1780413055,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e34018"} 
[2026-06-02 20:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 20:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:46: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-06-02 20:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785665024001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785665024001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:46:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785665024001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":89826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:46:29] local.INFO: GPS data processed {"connection_id":89826,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:46:29] local.INFO: Acknowledgment sent {"connection_id":89826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:46:59] local.INFO: TCP Data received {"connection_id":89826,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:46:59] local.INFO: Processing buffer {"connection_id":89826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:46:59] local.INFO: Packet analysis {"connection_id":89826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:46:59] local.INFO: Extracted packet for processing {"connection_id":89826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:46:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:46:59] 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-06-02 20:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:46: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-06-02 20:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:46:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:46:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":89826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:46:59] local.INFO: GPS data processed {"connection_id":89826,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:46:59] local.INFO: Acknowledgment sent {"connection_id":89826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:47:05] local.INFO: TCP Data received {"connection_id":91251,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:47:05] local.INFO: Processing buffer {"connection_id":91251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:47:05] local.INFO: IMEI packet received {"connection_id":91251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":91251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:47:09] local.INFO: TCP Data received {"connection_id":91251,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:47:09] local.INFO: Processing buffer {"connection_id":91251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:47:09] local.INFO: IMEI packet received {"connection_id":91251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":91251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:47:10] local.INFO: TCP Data received {"connection_id":91251,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:47:10] local.INFO: Processing buffer {"connection_id":91251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:47:10] local.INFO: Packet analysis {"connection_id":91251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:47:10] local.INFO: Extracted packet for processing {"connection_id":91251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:47:10] 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-06-02 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:47:10] 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-06-02 20:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":91251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:47:11] local.INFO: GPS data processed {"connection_id":91251,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:47:11] local.INFO: Acknowledgment sent {"connection_id":91251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:47:22] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:47:22] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:47:22] local.INFO: IMEI packet received {"connection_id":90096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":90096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:47:28] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:47:28] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:47:28] local.INFO: IMEI packet received {"connection_id":90096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":90096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:47:29] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:47:29] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:47:29] local.INFO: Packet analysis {"connection_id":90096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:47:29] local.INFO: Extracted packet for processing {"connection_id":90096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:47:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:47:29] 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-06-02 20:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:47: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-06-02 20:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:47:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":90096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:47:29] local.INFO: GPS data processed {"connection_id":90096,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:47:29] local.INFO: Acknowledgment sent {"connection_id":90096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:47:42] local.INFO: TCP Data received {"connection_id":91251,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:47:42] local.INFO: Processing buffer {"connection_id":91251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:47:42] local.INFO: Packet analysis {"connection_id":91251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:47:42] local.INFO: Extracted packet for processing {"connection_id":91251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:47:42] 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-06-02 20:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:47:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":91251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:47:42] local.INFO: GPS data processed {"connection_id":91251,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:47:42] local.INFO: Acknowledgment sent {"connection_id":91251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:48:00] local.INFO: TCP Data received {"connection_id":90096,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:48:00] local.INFO: Processing buffer {"connection_id":90096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:48:00] local.INFO: Packet analysis {"connection_id":90096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:48:00] local.INFO: Extracted packet for processing {"connection_id":90096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:48:00] 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-06-02 20: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-06-02 20:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:48: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-06-02 20:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:48:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":90096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:48:00] local.INFO: GPS data processed {"connection_id":90096,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:48:00] local.INFO: Acknowledgment sent {"connection_id":90096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:48:04] local.INFO: TCP Data received {"connection_id":91252,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:48:04] local.INFO: Processing buffer {"connection_id":91252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:48:04] local.INFO: IMEI packet received {"connection_id":91252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":91252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:48:09] local.INFO: TCP Data received {"connection_id":91252,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:48:09] local.INFO: Processing buffer {"connection_id":91252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:48:09] local.INFO: IMEI packet received {"connection_id":91252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":91252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:48:10] local.INFO: TCP Data received {"connection_id":91252,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:48:10] local.INFO: Processing buffer {"connection_id":91252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:48:10] local.INFO: Packet analysis {"connection_id":91252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:48:10] local.INFO: Extracted packet for processing {"connection_id":91252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:48:10] 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-06-02 20:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:48:10] 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-06-02 20:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:48:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":91252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:48:10] local.INFO: GPS data processed {"connection_id":91252,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:48:10] local.INFO: Acknowledgment sent {"connection_id":91252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:48:22] local.INFO: TCP Data received {"connection_id":91253,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:48:22] local.INFO: Processing buffer {"connection_id":91253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:48:22] local.INFO: IMEI packet received {"connection_id":91253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":91253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:48:28] local.INFO: TCP Data received {"connection_id":91253,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:48:28] local.INFO: Processing buffer {"connection_id":91253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:48:28] local.INFO: IMEI packet received {"connection_id":91253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":91253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:48:29] local.INFO: TCP Data received {"connection_id":91253,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:48:29] local.INFO: Processing buffer {"connection_id":91253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:48:29] local.INFO: Packet analysis {"connection_id":91253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:48:29] local.INFO: Extracted packet for processing {"connection_id":91253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:48:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:48:29] 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-06-02 20: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-06-02 20:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:48:29] 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-06-02 20:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:48:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":91253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:48:29] local.INFO: GPS data processed {"connection_id":91253,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:48:29] local.INFO: Acknowledgment sent {"connection_id":91253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:48:41] local.INFO: TCP Data received {"connection_id":91252,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:48:41] local.INFO: Processing buffer {"connection_id":91252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:48:41] local.INFO: Packet analysis {"connection_id":91252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:48:41] local.INFO: Extracted packet for processing {"connection_id":91252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:48:41] 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-06-02 20:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:48:41] 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-06-02 20:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:48:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":91252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:48:42] local.INFO: GPS data processed {"connection_id":91252,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:48:42] local.INFO: Acknowledgment sent {"connection_id":91252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:49:00] local.INFO: TCP Data received {"connection_id":91253,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:49:00] local.INFO: Processing buffer {"connection_id":91253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:49:00] local.INFO: Packet analysis {"connection_id":91253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:49:00] local.INFO: Extracted packet for processing {"connection_id":91253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:49:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:49:00] 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-06-02 20: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-06-02 20:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:49:00] 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-06-02 20:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:49:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":91253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:49:00] local.INFO: GPS data processed {"connection_id":91253,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:49:00] local.INFO: Acknowledgment sent {"connection_id":91253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:49:04] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:49:04] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:49:04] local.INFO: IMEI packet received {"connection_id":90187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":90187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:49:09] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:49:09] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:49:09] local.INFO: IMEI packet received {"connection_id":90187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":90187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:49:10] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:49:10] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:49:10] local.INFO: Packet analysis {"connection_id":90187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:49:10] local.INFO: Extracted packet for processing {"connection_id":90187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:49:10] 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-06-02 20:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:49:10] 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-06-02 20:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:49:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":90187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:49:10] local.INFO: GPS data processed {"connection_id":90187,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:49:10] local.INFO: Acknowledgment sent {"connection_id":90187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:49:22] local.INFO: TCP Data received {"connection_id":89828,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:49:22] local.INFO: Processing buffer {"connection_id":89828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:49:22] local.INFO: IMEI packet received {"connection_id":89828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":89828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:49:28] local.INFO: TCP Data received {"connection_id":89828,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:49:28] local.INFO: Processing buffer {"connection_id":89828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:49:28] local.INFO: IMEI packet received {"connection_id":89828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":89828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:49:29] local.INFO: TCP Data received {"connection_id":89828,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:49:29] local.INFO: Processing buffer {"connection_id":89828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:49:29] local.INFO: Packet analysis {"connection_id":89828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:49:29] local.INFO: Extracted packet for processing {"connection_id":89828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:49:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:49:29] 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-06-02 20:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:49:29] 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-06-02 20:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:49:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":89828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:49:29] local.INFO: GPS data processed {"connection_id":89828,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:49:29] local.INFO: Acknowledgment sent {"connection_id":89828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:49:41] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:49:41] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:49:41] local.INFO: Packet analysis {"connection_id":90187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:49:41] local.INFO: Extracted packet for processing {"connection_id":90187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:49:41] 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-06-02 20:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:49:41] 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-06-02 20:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:49:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":90187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:49:41] local.INFO: GPS data processed {"connection_id":90187,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:49:41] local.INFO: Acknowledgment sent {"connection_id":90187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:50:00] local.INFO: TCP Data received {"connection_id":89828,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:50:00] local.INFO: Processing buffer {"connection_id":89828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:50:00] local.INFO: Packet analysis {"connection_id":89828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:50:00] local.INFO: Extracted packet for processing {"connection_id":89828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:50:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:50:00] 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-06-02 20:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:50:00] 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-06-02 20:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:50:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":89828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:50:00] local.INFO: GPS data processed {"connection_id":89828,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:50:00] local.INFO: Acknowledgment sent {"connection_id":89828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:50:04] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:50:04] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:50:04] local.INFO: IMEI packet received {"connection_id":90188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":90188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:50:09] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:50:09] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:50:09] local.INFO: IMEI packet received {"connection_id":90188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":90188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:50:10] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:50:10] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:50:10] local.INFO: Packet analysis {"connection_id":90188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:50:10] local.INFO: Extracted packet for processing {"connection_id":90188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:50:10] 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-06-02 20:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:50:10] 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-06-02 20:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":90188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:50:10] local.INFO: GPS data processed {"connection_id":90188,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:50:10] local.INFO: Acknowledgment sent {"connection_id":90188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:50:22] local.INFO: TCP Data received {"connection_id":90189,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:50:22] local.INFO: Processing buffer {"connection_id":90189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:50:22] local.INFO: IMEI packet received {"connection_id":90189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":90189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:50:28] local.INFO: TCP Data received {"connection_id":90189,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:50:28] local.INFO: Processing buffer {"connection_id":90189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:50:28] local.INFO: IMEI packet received {"connection_id":90189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":90189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:50:29] local.INFO: TCP Data received {"connection_id":90189,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:50:29] local.INFO: Processing buffer {"connection_id":90189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:50:29] local.INFO: Packet analysis {"connection_id":90189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:50:29] local.INFO: Extracted packet for processing {"connection_id":90189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:50:29] 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-06-02 20:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:50:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":90189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:50:29] local.INFO: GPS data processed {"connection_id":90189,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:50:29] local.INFO: Acknowledgment sent {"connection_id":90189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:50:42] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:50:42] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:50:42] local.INFO: Packet analysis {"connection_id":90188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:50:42] local.INFO: Extracted packet for processing {"connection_id":90188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:50:42] 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-06-02 20:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:50:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":90188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:50:42] local.INFO: GPS data processed {"connection_id":90188,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:50:42] local.INFO: Acknowledgment sent {"connection_id":90188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:51:00] local.INFO: TCP Data received {"connection_id":90189,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:51:00] local.INFO: Processing buffer {"connection_id":90189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:51:00] local.INFO: Packet analysis {"connection_id":90189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:51:00] local.INFO: Extracted packet for processing {"connection_id":90189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:51:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:51:00] 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-06-02 20: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-06-02 20:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:51: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-06-02 20:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:51:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:51:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":90189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:51:00] local.INFO: GPS data processed {"connection_id":90189,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:51:00] local.INFO: Acknowledgment sent {"connection_id":90189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:51:09] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:51:09] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:51:09] local.INFO: IMEI packet received {"connection_id":89829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":89829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:51:14] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:51:14] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:51:14] local.INFO: IMEI packet received {"connection_id":89829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":89829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:51:15] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:51:15] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:51:15] local.INFO: Packet analysis {"connection_id":89829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:51:15] local.INFO: Extracted packet for processing {"connection_id":89829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:51:15] 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-06-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:51:15] 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-06-02 20:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:51:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":89829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:51:15] local.INFO: GPS data processed {"connection_id":89829,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:51:15] local.INFO: Acknowledgment sent {"connection_id":89829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:51:20] local.INFO: TCP Data received {"connection_id":89829,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:51:20] local.INFO: Processing buffer {"connection_id":89829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e82dd0012d196500071ff058003b014624..."} 
[2026-06-02 20:51:20] local.INFO: Packet analysis {"connection_id":89829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:51:20] local.INFO: Extracted packet for processing {"connection_id":89829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e8"} 
[2026-06-02 20:51:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785747712001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780413378000,"timestamp_ms":1780413378000,"timestamp_seconds":1780413378,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e82dd0"} 
[2026-06-02 20:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:51:20] 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-06-02 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 20:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:51:20] 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-06-02 20:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785747712001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785747712001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:51:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:51:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785747712001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":89829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:51:20] local.INFO: GPS data processed {"connection_id":89829,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:51:20] local.INFO: Acknowledgment sent {"connection_id":89829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:51:22] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:51:22] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:51:22] local.INFO: IMEI packet received {"connection_id":90190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":90190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:51:28] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:51:28] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:51:28] local.INFO: IMEI packet received {"connection_id":90190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":90190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:51:28] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:51:29] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88e7d7e0012cb29ac007823b18005300b825..."} 
[2026-06-02 20:51:29] local.INFO: Packet analysis {"connection_id":90190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:51:29] local.INFO: Extracted packet for processing {"connection_id":90190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88e7"} 
[2026-06-02 20:51:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":83,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:51: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-06-02 20:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785742080001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413356000,"timestamp_ms":1780413356000,"timestamp_seconds":1780413356,"priority":1,"record_length":96,"hex_timestamp":"0000019e88e7d7e0"} 
[2026-06-02 20:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:51: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":205,"data_length":795,"current_offset":136} 
[2026-06-02 20:51:29] 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-06-02 20:51: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-06-02 20:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785742080001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785742080001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:51:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785742080001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":90190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:51:29] local.INFO: GPS data processed {"connection_id":90190,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:51:29] local.INFO: Acknowledgment sent {"connection_id":90190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:51:31] local.INFO: TCP Data received {"connection_id":91255,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:51:31] local.INFO: Processing buffer {"connection_id":91255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:51:31] local.INFO: IMEI packet received {"connection_id":91255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":91255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:51:57] local.INFO: TCP Data received {"connection_id":91256,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:51:57] local.INFO: Processing buffer {"connection_id":91256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:51:57] local.INFO: IMEI packet received {"connection_id":91256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":91256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:51:59] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:51:59] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:51:59] local.INFO: Packet analysis {"connection_id":90190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:51:59] local.INFO: Extracted packet for processing {"connection_id":90190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:51:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:51:59] 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-06-02 20: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-06-02 20:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:51:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":90190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:51:59] local.INFO: GPS data processed {"connection_id":90190,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:51:59] local.INFO: Acknowledgment sent {"connection_id":90190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:52:04] local.INFO: TCP Data received {"connection_id":90098,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:52:04] local.INFO: Processing buffer {"connection_id":90098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:52:04] local.INFO: IMEI packet received {"connection_id":90098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":90098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:52:09] local.INFO: TCP Data received {"connection_id":90098,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:52:09] local.INFO: Processing buffer {"connection_id":90098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:52:09] local.INFO: IMEI packet received {"connection_id":90098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":90098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:52:10] local.INFO: TCP Data received {"connection_id":90098,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:52:10] local.INFO: Processing buffer {"connection_id":90098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:52:10] local.INFO: Packet analysis {"connection_id":90098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:52:10] local.INFO: Extracted packet for processing {"connection_id":90098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:52:10] 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-06-02 20:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:52:10] 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-06-02 20:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:52:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":90098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:52:10] local.INFO: GPS data processed {"connection_id":90098,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:52:10] local.INFO: Acknowledgment sent {"connection_id":90098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:52:23] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:52:23] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:52:23] local.INFO: IMEI packet received {"connection_id":89830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":89830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:52:28] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:52:28] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:52:28] local.INFO: IMEI packet received {"connection_id":89830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":89830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:52:29] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:52:29] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:52:29] local.INFO: Packet analysis {"connection_id":89830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:52:29] local.INFO: Extracted packet for processing {"connection_id":89830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:52:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:52: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-06-02 20:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:52: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-06-02 20:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:52:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":89830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:52:29] local.INFO: GPS data processed {"connection_id":89830,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:52:29] local.INFO: Acknowledgment sent {"connection_id":89830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:52:41] local.INFO: TCP Data received {"connection_id":90098,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:52:41] local.INFO: Processing buffer {"connection_id":90098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:52:41] local.INFO: Packet analysis {"connection_id":90098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:52:41] local.INFO: Extracted packet for processing {"connection_id":90098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:52:41] 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-06-02 20:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:52:41] 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-06-02 20:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 20:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:52:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":90098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:52:42] local.INFO: GPS data processed {"connection_id":90098,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:52:42] local.INFO: Acknowledgment sent {"connection_id":90098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:53:00] local.INFO: TCP Data received {"connection_id":89830,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:53:00] local.INFO: Processing buffer {"connection_id":89830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:53:00] local.INFO: Packet analysis {"connection_id":89830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:00] local.INFO: Extracted packet for processing {"connection_id":89830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:53:00] 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-06-02 20:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:53: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-06-02 20:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:53:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":89830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:53:00] local.INFO: GPS data processed {"connection_id":89830,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:53:00] local.INFO: Acknowledgment sent {"connection_id":89830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:53:04] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:53:04] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:53:04] local.INFO: IMEI packet received {"connection_id":89831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":89831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:53:09] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:53:09] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:53:09] local.INFO: IMEI packet received {"connection_id":89831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":89831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:53:10] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:53:10] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:53:10] local.INFO: Packet analysis {"connection_id":89831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:10] local.INFO: Extracted packet for processing {"connection_id":89831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:53:10] 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-06-02 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:53:10] 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-06-02 20:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:53:10] 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-06-02 20:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:53:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":89831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:53:10] local.INFO: GPS data processed {"connection_id":89831,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:53:10] local.INFO: Acknowledgment sent {"connection_id":89831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:53:22] local.INFO: TCP Data received {"connection_id":91257,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:53:22] local.INFO: Processing buffer {"connection_id":91257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:53:22] local.INFO: IMEI packet received {"connection_id":91257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":91257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:53:28] local.INFO: TCP Data received {"connection_id":91257,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:53:28] local.INFO: Processing buffer {"connection_id":91257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:53:28] local.INFO: IMEI packet received {"connection_id":91257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":91257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:53:29] local.INFO: TCP Data received {"connection_id":91257,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:53:29] local.INFO: Processing buffer {"connection_id":91257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:53:29] local.INFO: Packet analysis {"connection_id":91257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:29] local.INFO: Extracted packet for processing {"connection_id":91257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:53: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-06-02 20:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:53: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-06-02 20:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:53:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":91257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:53:29] local.INFO: GPS data processed {"connection_id":91257,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:53:29] local.INFO: Acknowledgment sent {"connection_id":91257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:53:42] local.INFO: TCP Data received {"connection_id":89831,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:53:42] local.INFO: Processing buffer {"connection_id":89831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:53:42] local.INFO: Packet analysis {"connection_id":89831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:42] local.INFO: Extracted packet for processing {"connection_id":89831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:53:42] 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-06-02 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:53:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":89831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:53:42] local.INFO: GPS data processed {"connection_id":89831,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:53:42] local.INFO: Acknowledgment sent {"connection_id":89831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:54:00] local.INFO: TCP Data received {"connection_id":91257,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:54:00] local.INFO: Processing buffer {"connection_id":91257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:54:00] local.INFO: Packet analysis {"connection_id":91257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:00] local.INFO: Extracted packet for processing {"connection_id":91257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:54:00] 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-06-02 20:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:54: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-06-02 20:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:54:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":91257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:54:00] local.INFO: GPS data processed {"connection_id":91257,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:54:00] local.INFO: Acknowledgment sent {"connection_id":91257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:54:04] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:54:04] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:54:04] local.INFO: IMEI packet received {"connection_id":89833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":89833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:54:09] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:54:09] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:54:09] local.INFO: IMEI packet received {"connection_id":89833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":89833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:54:10] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:54:10] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:54:10] local.INFO: Packet analysis {"connection_id":89833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:10] local.INFO: Extracted packet for processing {"connection_id":89833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:54:10] 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-06-02 20:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:54:10] 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-06-02 20:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:54:10] 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-06-02 20:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:54:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":89833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:54:10] local.INFO: GPS data processed {"connection_id":89833,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:54:10] local.INFO: Acknowledgment sent {"connection_id":89833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:54:22] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:54:22] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:54:22] local.INFO: IMEI packet received {"connection_id":90099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":90099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:54:28] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:54:28] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:54:28] local.INFO: IMEI packet received {"connection_id":90099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":90099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:54:29] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:54:29] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:54:29] local.INFO: Packet analysis {"connection_id":90099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:29] local.INFO: Extracted packet for processing {"connection_id":90099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20: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-06-02 20: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-06-02 20:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:54:29] 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-06-02 20:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:54:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":90099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:54:29] local.INFO: GPS data processed {"connection_id":90099,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:54:29] local.INFO: Acknowledgment sent {"connection_id":90099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:54:41] local.INFO: TCP Data received {"connection_id":89833,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:54:41] local.INFO: Processing buffer {"connection_id":89833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:54:41] local.INFO: Packet analysis {"connection_id":89833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:41] local.INFO: Extracted packet for processing {"connection_id":89833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:54:41] 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-06-02 20:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:54:41] 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-06-02 20:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:54:41] 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-06-02 20:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:54:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":89833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:54:41] local.INFO: GPS data processed {"connection_id":89833,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:54:41] local.INFO: Acknowledgment sent {"connection_id":89833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:55:00] local.INFO: TCP Data received {"connection_id":90099,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:55:00] local.INFO: Processing buffer {"connection_id":90099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:55:00] local.INFO: Packet analysis {"connection_id":90099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:00] local.INFO: Extracted packet for processing {"connection_id":90099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:55:00] 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-06-02 20: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-06-02 20:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:55:00] 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-06-02 20:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:55:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":90099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:55:00] local.INFO: GPS data processed {"connection_id":90099,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:55:00] local.INFO: Acknowledgment sent {"connection_id":90099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:55:04] local.INFO: TCP Data received {"connection_id":89834,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:55:04] local.INFO: Processing buffer {"connection_id":89834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:55:04] local.INFO: IMEI packet received {"connection_id":89834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":89834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:55:09] local.INFO: TCP Data received {"connection_id":89834,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:55:09] local.INFO: Processing buffer {"connection_id":89834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:55:09] local.INFO: IMEI packet received {"connection_id":89834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":89834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:55:10] local.INFO: TCP Data received {"connection_id":89834,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:55:10] local.INFO: Processing buffer {"connection_id":89834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:55:10] local.INFO: Packet analysis {"connection_id":89834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:10] local.INFO: Extracted packet for processing {"connection_id":89834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:55:10] 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-06-02 20:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:55:10] 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-06-02 20:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:55:10] 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-06-02 20:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":89834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:55:10] local.INFO: GPS data processed {"connection_id":89834,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:55:10] local.INFO: Acknowledgment sent {"connection_id":89834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:55:22] local.INFO: TCP Data received {"connection_id":91259,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:55:22] local.INFO: Processing buffer {"connection_id":91259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:55:22] local.INFO: IMEI packet received {"connection_id":91259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":91259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:55:28] local.INFO: TCP Data received {"connection_id":91259,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:55:28] local.INFO: Processing buffer {"connection_id":91259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:55:28] local.INFO: IMEI packet received {"connection_id":91259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":91259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:55:29] local.INFO: TCP Data received {"connection_id":91259,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:55:29] local.INFO: Processing buffer {"connection_id":91259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:55:29] local.INFO: Packet analysis {"connection_id":91259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:29] local.INFO: Extracted packet for processing {"connection_id":91259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:55: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-06-02 20: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-06-02 20:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:55:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":91259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:55:29] local.INFO: GPS data processed {"connection_id":91259,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:55:29] local.INFO: Acknowledgment sent {"connection_id":91259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:55:41] local.INFO: TCP Data received {"connection_id":89834,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:55:41] local.INFO: Processing buffer {"connection_id":89834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:55:41] local.INFO: Packet analysis {"connection_id":89834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:41] local.INFO: Extracted packet for processing {"connection_id":89834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:55:41] 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-06-02 20:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:55:41] 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-06-02 20:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:55:41] 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-06-02 20:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:55:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":89834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:55:41] local.INFO: GPS data processed {"connection_id":89834,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:55:41] local.INFO: Acknowledgment sent {"connection_id":89834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:56:00] local.INFO: TCP Data received {"connection_id":91259,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:56:00] local.INFO: Processing buffer {"connection_id":91259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:56:00] local.INFO: Packet analysis {"connection_id":91259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:00] local.INFO: Extracted packet for processing {"connection_id":91259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:56:00] 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-06-02 20: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-06-02 20:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:56: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-06-02 20:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:56:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":91259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:56:00] local.INFO: GPS data processed {"connection_id":91259,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:56:00] local.INFO: Acknowledgment sent {"connection_id":91259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:56:09] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:56:09] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:56:09] local.INFO: IMEI packet received {"connection_id":90192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":90192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:56:14] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:56:14] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:56:14] local.INFO: IMEI packet received {"connection_id":90192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":90192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:56:16] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:56:16] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:56:16] local.INFO: Packet analysis {"connection_id":90192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:16] local.INFO: Extracted packet for processing {"connection_id":90192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56: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-06-02 20:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:56:16] 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-06-02 20:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:56:16] 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-06-02 20:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":90192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":90192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":90192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:56:16] 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-06-02 20:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:56:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":90192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:56:16] local.INFO: GPS data processed {"connection_id":90192,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:56:16] local.INFO: Acknowledgment sent {"connection_id":90192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:56:20] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:56:20] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ecc598012d196500071ff058003b014623..."} 
[2026-06-02 20:56:20] local.INFO: Packet analysis {"connection_id":90192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:20] local.INFO: Extracted packet for processing {"connection_id":90192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785824768001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780413679000,"timestamp_ms":1780413679000,"timestamp_seconds":1780413679,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ecc598"} 
[2026-06-02 20:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:56:20] 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-06-02 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:56:20] 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-06-02 20: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-06-02 20:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:56:20] 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-06-02 20:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785824768001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785824768001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:56:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785824768001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":90192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:56:20] local.INFO: GPS data processed {"connection_id":90192,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:56:20] local.INFO: Acknowledgment sent {"connection_id":90192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:56:22] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:56:22] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:56:22] local.INFO: IMEI packet received {"connection_id":89836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":89836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:56:28] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:56:28] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:56:28] local.INFO: IMEI packet received {"connection_id":89836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":89836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:56:29] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:56:29] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ec6fa8012cb29ac007823b18005400b829..."} 
[2026-06-02 20:56:29] local.INFO: Packet analysis {"connection_id":89836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:29] local.INFO: Extracted packet for processing {"connection_id":89836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ec"} 
[2026-06-02 20:56:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":84,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785819136001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413657000,"timestamp_ms":1780413657000,"timestamp_seconds":1780413657,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ec6fa8"} 
[2026-06-02 20:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 20:56: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-06-02 20: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-06-02 20:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:56:29] 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-06-02 20:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785819136001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785819136001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:56:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785819136001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":89836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:56:29] local.INFO: GPS data processed {"connection_id":89836,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:56:29] local.INFO: Acknowledgment sent {"connection_id":89836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:57:00] local.INFO: TCP Data received {"connection_id":89836,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:57:00] local.INFO: Processing buffer {"connection_id":89836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:57:00] local.INFO: Packet analysis {"connection_id":89836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:00] local.INFO: Extracted packet for processing {"connection_id":89836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 20:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 20:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:57:00] 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-06-02 20:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:57:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":89836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:57:00] local.INFO: GPS data processed {"connection_id":89836,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:57:00] local.INFO: Acknowledgment sent {"connection_id":89836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:57:05] local.INFO: TCP Data received {"connection_id":90194,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:57:05] local.INFO: Processing buffer {"connection_id":90194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:57:05] local.INFO: IMEI packet received {"connection_id":90194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":90194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:57:09] local.INFO: TCP Data received {"connection_id":90194,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:57:09] local.INFO: Processing buffer {"connection_id":90194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:57:09] local.INFO: IMEI packet received {"connection_id":90194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":90194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:57:10] local.INFO: TCP Data received {"connection_id":90194,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:57:10] local.INFO: Processing buffer {"connection_id":90194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:57:10] local.INFO: Packet analysis {"connection_id":90194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:10] local.INFO: Extracted packet for processing {"connection_id":90194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 20:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:57:10] 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-06-02 20:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:57:10] 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-06-02 20:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:57:10] 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-06-02 20:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:57:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":90194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:57:10] local.INFO: GPS data processed {"connection_id":90194,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:57:10] local.INFO: Acknowledgment sent {"connection_id":90194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:57:17] local.INFO: TCP Data received {"connection_id":90193,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:57:17] local.INFO: Processing buffer {"connection_id":90193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:57:17] local.INFO: IMEI packet received {"connection_id":90193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":90193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:57:22] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:57:22] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:57:22] local.INFO: IMEI packet received {"connection_id":90100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":90100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:57:28] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:57:28] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:57:28] local.INFO: IMEI packet received {"connection_id":90100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":90100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:57:29] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:57:29] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:57:29] local.INFO: Packet analysis {"connection_id":90100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:29] local.INFO: Extracted packet for processing {"connection_id":90100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 20:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 20:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:57:29] 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-06-02 20:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:57:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":90100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:57:29] local.INFO: GPS data processed {"connection_id":90100,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:57:29] local.INFO: Acknowledgment sent {"connection_id":90100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:57:41] local.INFO: TCP Data received {"connection_id":90194,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:57:41] local.INFO: Processing buffer {"connection_id":90194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:57:41] local.INFO: Packet analysis {"connection_id":90194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:41] local.INFO: Extracted packet for processing {"connection_id":90194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 20:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:57:41] 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-06-02 20:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:57:41] 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-06-02 20:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:57:41] 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-06-02 20:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:57:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":90194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:57:42] local.INFO: GPS data processed {"connection_id":90194,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:57:42] local.INFO: Acknowledgment sent {"connection_id":90194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:57:57] local.INFO: TCP Data received {"connection_id":89837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:57:57] local.INFO: Processing buffer {"connection_id":89837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 20:57:57] local.INFO: IMEI packet received {"connection_id":89837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 20:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":89837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:58:00] local.INFO: TCP Data received {"connection_id":90100,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:58:00] local.INFO: Processing buffer {"connection_id":90100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:58:00] local.INFO: Packet analysis {"connection_id":90100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:00] local.INFO: Extracted packet for processing {"connection_id":90100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 20:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 20:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20: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-06-02 20:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:58:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":90100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:58:00] local.INFO: GPS data processed {"connection_id":90100,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:58:00] local.INFO: Acknowledgment sent {"connection_id":90100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:58:05] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:58:05] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:58:05] local.INFO: IMEI packet received {"connection_id":90101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":90101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:58:09] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:58:09] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:58:09] local.INFO: IMEI packet received {"connection_id":90101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":90101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:58:10] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:58:10] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:58:10] local.INFO: Packet analysis {"connection_id":90101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:10] local.INFO: Extracted packet for processing {"connection_id":90101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 20:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:58:10] 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-06-02 20:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:58:10] 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-06-02 20:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:58:10] 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-06-02 20:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:58:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":90101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:58:10] local.INFO: GPS data processed {"connection_id":90101,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:58:10] local.INFO: Acknowledgment sent {"connection_id":90101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:58:22] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:58:22] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:58:22] local.INFO: IMEI packet received {"connection_id":89838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":89838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:58:28] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:58:28] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:58:28] local.INFO: IMEI packet received {"connection_id":89838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":89838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:58:29] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:58:29] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:58:29] local.INFO: Packet analysis {"connection_id":89838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:29] local.INFO: Extracted packet for processing {"connection_id":89838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 20:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 20:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 20:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:58:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":89838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:58:29] local.INFO: GPS data processed {"connection_id":89838,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:58:29] local.INFO: Acknowledgment sent {"connection_id":89838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:58:42] local.INFO: TCP Data received {"connection_id":90101,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:58:42] local.INFO: Processing buffer {"connection_id":90101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:58:42] local.INFO: Packet analysis {"connection_id":90101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:42] local.INFO: Extracted packet for processing {"connection_id":90101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 20:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:58:42] 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-06-02 20:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:58:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":90101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:58:42] local.INFO: GPS data processed {"connection_id":90101,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:58:42] local.INFO: Acknowledgment sent {"connection_id":90101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:59:00] local.INFO: TCP Data received {"connection_id":89838,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:59:00] local.INFO: Processing buffer {"connection_id":89838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:59:00] local.INFO: Packet analysis {"connection_id":89838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:00] local.INFO: Extracted packet for processing {"connection_id":89838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 20:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 20:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:59: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-06-02 20:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:59:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":89838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:59:00] local.INFO: GPS data processed {"connection_id":89838,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:59:00] local.INFO: Acknowledgment sent {"connection_id":89838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:59:04] local.INFO: TCP Data received {"connection_id":90195,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:59:04] local.INFO: Processing buffer {"connection_id":90195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:59:04] local.INFO: IMEI packet received {"connection_id":90195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":90195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:59:09] local.INFO: TCP Data received {"connection_id":90195,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:59:09] local.INFO: Processing buffer {"connection_id":90195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 20:59:09] local.INFO: IMEI packet received {"connection_id":90195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 20:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":90195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:59:10] local.INFO: TCP Data received {"connection_id":90195,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:59:10] local.INFO: Processing buffer {"connection_id":90195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:59:10] local.INFO: Packet analysis {"connection_id":90195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:10] local.INFO: Extracted packet for processing {"connection_id":90195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 20:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:59:10] 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-06-02 20:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:59:10] 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-06-02 20:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:59:10] 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-06-02 20:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:59:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":90195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:59:11] local.INFO: GPS data processed {"connection_id":90195,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:59:11] local.INFO: Acknowledgment sent {"connection_id":90195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:59:22] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:59:22] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:59:22] local.INFO: IMEI packet received {"connection_id":90196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 20:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":90196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 20:59:28] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:59:28] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 20:59:28] local.INFO: IMEI packet received {"connection_id":90196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 20:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":90196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 20:59:29] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:59:29] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 20:59:29] local.INFO: Packet analysis {"connection_id":90196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:29] local.INFO: Extracted packet for processing {"connection_id":90196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 20: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-06-02 20:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 20:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 20:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20: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-06-02 20:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 20:59:29] 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-06-02 20:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 20:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 20:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 20:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 20:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 20:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:59:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 20:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 20:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 20:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 20:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":90196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:59:29] local.INFO: GPS data processed {"connection_id":90196,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:59:29] local.INFO: Acknowledgment sent {"connection_id":90196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 20:59:42] local.INFO: TCP Data received {"connection_id":90195,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:59:42] local.INFO: Processing buffer {"connection_id":90195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 20:59:42] local.INFO: Packet analysis {"connection_id":90195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:42] local.INFO: Extracted packet for processing {"connection_id":90195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 20:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 20:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 20:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 20:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 20:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 20:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 20:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 20:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 20:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 20:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 20:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 20:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 20:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 20:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 20:59:42] 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-06-02 20:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 20:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 20:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 20:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 20:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 20:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 20:59:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 20:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 20:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 20:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 20:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 20:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":90195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 20:59:42] local.INFO: GPS data processed {"connection_id":90195,"processed":1,"errors":0,"total":1} 
[2026-06-02 20:59:42] local.INFO: Acknowledgment sent {"connection_id":90195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:00:00] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:00:00] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:00:00] local.INFO: Packet analysis {"connection_id":90196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:00] local.INFO: Extracted packet for processing {"connection_id":90196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 21:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:00:00] 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-06-02 21:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:00:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:00:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":90196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:00:00] local.INFO: GPS data processed {"connection_id":90196,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:00:00] local.INFO: Acknowledgment sent {"connection_id":90196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:00:04] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:00:04] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:00:04] local.INFO: IMEI packet received {"connection_id":89839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":89839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:00:09] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:00:09] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:00:09] local.INFO: IMEI packet received {"connection_id":89839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":89839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:00:10] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:00:10] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:00:10] local.INFO: Packet analysis {"connection_id":89839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:10] local.INFO: Extracted packet for processing {"connection_id":89839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 21:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:00:10] 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-06-02 21:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 21:00:10] 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-06-02 21:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:00:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":89839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:00:10] local.INFO: GPS data processed {"connection_id":89839,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:00:10] local.INFO: Acknowledgment sent {"connection_id":89839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:00:22] local.INFO: TCP Data received {"connection_id":91261,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:00:22] local.INFO: Processing buffer {"connection_id":91261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:00:22] local.INFO: IMEI packet received {"connection_id":91261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":91261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:00:28] local.INFO: TCP Data received {"connection_id":91261,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:00:28] local.INFO: Processing buffer {"connection_id":91261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:00:28] local.INFO: IMEI packet received {"connection_id":91261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":91261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:00:29] local.INFO: TCP Data received {"connection_id":91261,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:00:29] local.INFO: Processing buffer {"connection_id":91261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:00:29] local.INFO: Packet analysis {"connection_id":91261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:29] local.INFO: Extracted packet for processing {"connection_id":91261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 21:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:00: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-06-02 21:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:00:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":91261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:00:29] local.INFO: GPS data processed {"connection_id":91261,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:00:29] local.INFO: Acknowledgment sent {"connection_id":91261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:00:42] local.INFO: TCP Data received {"connection_id":89839,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:00:42] local.INFO: Processing buffer {"connection_id":89839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:00:42] local.INFO: Packet analysis {"connection_id":89839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:42] local.INFO: Extracted packet for processing {"connection_id":89839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 21:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 21:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:00:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":89839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:00:42] local.INFO: GPS data processed {"connection_id":89839,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:00:42] local.INFO: Acknowledgment sent {"connection_id":89839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:01:00] local.INFO: TCP Data received {"connection_id":91261,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:01:00] local.INFO: Processing buffer {"connection_id":91261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:01:00] local.INFO: Packet analysis {"connection_id":91261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:00] local.INFO: Extracted packet for processing {"connection_id":91261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 21:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:01: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-06-02 21:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:01:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":91261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:01:00] local.INFO: GPS data processed {"connection_id":91261,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:01:00] local.INFO: Acknowledgment sent {"connection_id":91261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:01:09] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:01:09] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:01:09] local.INFO: IMEI packet received {"connection_id":90198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":90198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:01:14] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:01:14] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:01:14] local.INFO: IMEI packet received {"connection_id":90198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":90198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:01:15] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:01:15] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:01:15] local.INFO: Packet analysis {"connection_id":90198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:15] local.INFO: Extracted packet for processing {"connection_id":90198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 21:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:01:15] 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-06-02 21:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 21:01:15] 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-06-02 21:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:01:15] 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-06-02 21:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":90198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:01:15] local.INFO: GPS data processed {"connection_id":90198,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:01:15] local.INFO: Acknowledgment sent {"connection_id":90198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:01:20] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:01:20] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f15d60012d196500071ff058003b014625..."} 
[2026-06-02 21:01:20] local.INFO: Packet analysis {"connection_id":90198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:20] local.INFO: Extracted packet for processing {"connection_id":90198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785901824001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780413980000,"timestamp_ms":1780413980000,"timestamp_seconds":1780413980,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f15d60"} 
[2026-06-02 21:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:01:20] 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-06-02 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 21:01:20] 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-06-02 21: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-06-02 21:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:01:20] 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-06-02 21:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785901824001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785901824001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:01:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785901824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":90198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:01:20] local.INFO: GPS data processed {"connection_id":90198,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:01:20] local.INFO: Acknowledgment sent {"connection_id":90198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:01:22] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:01:22] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:01:22] local.INFO: IMEI packet received {"connection_id":90199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":90199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:01:28] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:01:28] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:01:28] local.INFO: IMEI packet received {"connection_id":90199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":90199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:01:28] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:01:29] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f10770012cb29ac007823b18005000b826..."} 
[2026-06-02 21:01:29] local.INFO: Packet analysis {"connection_id":90199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:29] local.INFO: Extracted packet for processing {"connection_id":90199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f1"} 
[2026-06-02 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785896192001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780413958000,"timestamp_ms":1780413958000,"timestamp_seconds":1780413958,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f10770"} 
[2026-06-02 21:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:01:29] 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-06-02 21:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785896192001,"66":25593,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785896192001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:01:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785896192001,"power":25593,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":90199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:01:29] local.INFO: GPS data processed {"connection_id":90199,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:01:29] local.INFO: Acknowledgment sent {"connection_id":90199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:01:59] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:01:59] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:01:59] local.INFO: Packet analysis {"connection_id":90199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:01:59] local.INFO: Extracted packet for processing {"connection_id":90199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:01:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:01:59] 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-06-02 21:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:01:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":90199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:01:59] local.INFO: GPS data processed {"connection_id":90199,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:01:59] local.INFO: Acknowledgment sent {"connection_id":90199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:02:04] local.INFO: TCP Data received {"connection_id":90103,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:02:04] local.INFO: Processing buffer {"connection_id":90103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:02:04] local.INFO: IMEI packet received {"connection_id":90103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":90103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:02:09] local.INFO: TCP Data received {"connection_id":90103,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:02:09] local.INFO: Processing buffer {"connection_id":90103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:02:09] local.INFO: IMEI packet received {"connection_id":90103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":90103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:02:10] local.INFO: TCP Data received {"connection_id":90103,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:02:10] local.INFO: Processing buffer {"connection_id":90103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:02:10] local.INFO: Packet analysis {"connection_id":90103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:02:10] local.INFO: Extracted packet for processing {"connection_id":90103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:02:10] 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-06-02 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:02:10] 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-06-02 21:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:02:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":90103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:02:10] local.INFO: GPS data processed {"connection_id":90103,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:02:10] local.INFO: Acknowledgment sent {"connection_id":90103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:02:23] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:02:23] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:02:23] local.INFO: IMEI packet received {"connection_id":89841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":89841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:02:28] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:02:28] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:02:28] local.INFO: IMEI packet received {"connection_id":89841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":89841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:02:28] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:02:29] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:02:29] local.INFO: Packet analysis {"connection_id":89841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:02:29] local.INFO: Extracted packet for processing {"connection_id":89841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:02: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-06-02 21:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:02: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":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:02: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-06-02 21:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:02:29] 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-06-02 21:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:02:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":89841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:02:29] local.INFO: GPS data processed {"connection_id":89841,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:02:29] local.INFO: Acknowledgment sent {"connection_id":89841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:02:42] local.INFO: TCP Data received {"connection_id":90103,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:02:42] local.INFO: Processing buffer {"connection_id":90103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:02:42] local.INFO: Packet analysis {"connection_id":90103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:02:42] local.INFO: Extracted packet for processing {"connection_id":90103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:02:42] 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-06-02 21:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:02:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":90103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:02:42] local.INFO: GPS data processed {"connection_id":90103,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:02:42] local.INFO: Acknowledgment sent {"connection_id":90103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:02:59] local.INFO: TCP Data received {"connection_id":89841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:00] local.INFO: Processing buffer {"connection_id":89841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:00] local.INFO: Packet analysis {"connection_id":89841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:00] local.INFO: Extracted packet for processing {"connection_id":89841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:03:00] 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-06-02 21:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:03:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":89841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:03:00] local.INFO: GPS data processed {"connection_id":89841,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:03:00] local.INFO: Acknowledgment sent {"connection_id":89841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:03:05] local.INFO: TCP Data received {"connection_id":91262,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:03:05] local.INFO: Processing buffer {"connection_id":91262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:03:05] local.INFO: IMEI packet received {"connection_id":91262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":91262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:03:09] local.INFO: TCP Data received {"connection_id":91262,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:03:09] local.INFO: Processing buffer {"connection_id":91262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:03:09] local.INFO: IMEI packet received {"connection_id":91262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":91262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:03:10] local.INFO: TCP Data received {"connection_id":91262,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:03:10] local.INFO: Processing buffer {"connection_id":91262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:03:10] local.INFO: Packet analysis {"connection_id":91262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:10] local.INFO: Extracted packet for processing {"connection_id":91262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:03:10] 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-06-02 21:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:03:10] 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-06-02 21:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:03:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":91262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:03:10] local.INFO: GPS data processed {"connection_id":91262,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:03:10] local.INFO: Acknowledgment sent {"connection_id":91262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:03:22] local.INFO: TCP Data received {"connection_id":91264,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:03:22] local.INFO: Processing buffer {"connection_id":91264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:03:22] local.INFO: IMEI packet received {"connection_id":91264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":91264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:03:28] local.INFO: TCP Data received {"connection_id":91264,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:03:28] local.INFO: Processing buffer {"connection_id":91264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:03:28] local.INFO: IMEI packet received {"connection_id":91264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":91264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:03:28] local.INFO: TCP Data received {"connection_id":91264,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:29] local.INFO: Processing buffer {"connection_id":91264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:29] local.INFO: Packet analysis {"connection_id":91264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:29] local.INFO: Extracted packet for processing {"connection_id":91264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:03:29] 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-06-02 21:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:03:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":91264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:03:29] local.INFO: GPS data processed {"connection_id":91264,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:03:29] local.INFO: Acknowledgment sent {"connection_id":91264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:03:41] local.INFO: TCP Data received {"connection_id":91262,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:03:41] local.INFO: Processing buffer {"connection_id":91262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:03:41] local.INFO: Packet analysis {"connection_id":91262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:41] local.INFO: Extracted packet for processing {"connection_id":91262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:03:41] 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-06-02 21:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:03:41] 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-06-02 21:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:03:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":91262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:03:42] local.INFO: GPS data processed {"connection_id":91262,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:03:42] local.INFO: Acknowledgment sent {"connection_id":91262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:03:53] local.INFO: TCP Data received {"connection_id":91263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:03:53] local.INFO: Processing buffer {"connection_id":91263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:03:53] local.INFO: IMEI packet received {"connection_id":91263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":91263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:03:59] local.INFO: TCP Data received {"connection_id":91264,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:59] local.INFO: Processing buffer {"connection_id":91264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:03:59] local.INFO: Packet analysis {"connection_id":91264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:59] local.INFO: Extracted packet for processing {"connection_id":91264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:03:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:03: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-06-02 21:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:03: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-06-02 21:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:03:59] 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-06-02 21:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:03:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":91264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:03:59] local.INFO: GPS data processed {"connection_id":91264,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:03:59] local.INFO: Acknowledgment sent {"connection_id":91264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:04:04] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:04:04] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:04:04] local.INFO: IMEI packet received {"connection_id":89842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":89842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:04:09] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:04:09] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:04:09] local.INFO: IMEI packet received {"connection_id":89842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":89842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:04:10] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:04:10] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:04:10] local.INFO: Packet analysis {"connection_id":89842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:10] local.INFO: Extracted packet for processing {"connection_id":89842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:04:10] 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-06-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:04:10] 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-06-02 21:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":89842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:04:10] local.INFO: GPS data processed {"connection_id":89842,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:04:10] local.INFO: Acknowledgment sent {"connection_id":89842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:04:22] local.INFO: TCP Data received {"connection_id":91265,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:04:22] local.INFO: Processing buffer {"connection_id":91265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:04:22] local.INFO: IMEI packet received {"connection_id":91265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":91265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:04:28] local.INFO: TCP Data received {"connection_id":91265,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:04:28] local.INFO: Processing buffer {"connection_id":91265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:04:28] local.INFO: IMEI packet received {"connection_id":91265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":91265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:04:28] local.INFO: TCP Data received {"connection_id":91265,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:04:28] local.INFO: Processing buffer {"connection_id":91265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:04:28] local.INFO: Packet analysis {"connection_id":91265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:28] local.INFO: Extracted packet for processing {"connection_id":91265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:04:28] 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-06-02 21:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:04:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:04:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":91265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:04:29] local.INFO: GPS data processed {"connection_id":91265,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:04:29] local.INFO: Acknowledgment sent {"connection_id":91265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:04:42] local.INFO: TCP Data received {"connection_id":89842,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:04:42] local.INFO: Processing buffer {"connection_id":89842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:04:42] local.INFO: Packet analysis {"connection_id":89842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:42] local.INFO: Extracted packet for processing {"connection_id":89842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 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-06-02 21:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 21:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:04:42] 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-06-02 21:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:04:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":89842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:04:42] local.INFO: GPS data processed {"connection_id":89842,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:04:42] local.INFO: Acknowledgment sent {"connection_id":89842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:04:59] local.INFO: TCP Data received {"connection_id":91265,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:04:59] local.INFO: Processing buffer {"connection_id":91265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:04:59] local.INFO: Packet analysis {"connection_id":91265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:59] local.INFO: Extracted packet for processing {"connection_id":91265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:04:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:04: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-06-02 21:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:04:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:04:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":91265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:04:59] local.INFO: GPS data processed {"connection_id":91265,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:04:59] local.INFO: Acknowledgment sent {"connection_id":91265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:05:04] local.INFO: TCP Data received {"connection_id":91266,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:05:04] local.INFO: Processing buffer {"connection_id":91266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:05:04] local.INFO: IMEI packet received {"connection_id":91266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":91266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:05:09] local.INFO: TCP Data received {"connection_id":91266,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:05:09] local.INFO: Processing buffer {"connection_id":91266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:05:09] local.INFO: IMEI packet received {"connection_id":91266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":91266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:05:10] local.INFO: TCP Data received {"connection_id":91266,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:05:10] local.INFO: Processing buffer {"connection_id":91266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:05:10] local.INFO: Packet analysis {"connection_id":91266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:10] local.INFO: Extracted packet for processing {"connection_id":91266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:05:10] 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-06-02 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:05:10] 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-06-02 21:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:05:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":91266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:05:10] local.INFO: GPS data processed {"connection_id":91266,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:05:10] local.INFO: Acknowledgment sent {"connection_id":91266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:05:22] local.INFO: TCP Data received {"connection_id":91267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:05:22] local.INFO: Processing buffer {"connection_id":91267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:05:22] local.INFO: IMEI packet received {"connection_id":91267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":91267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:05:27] local.INFO: TCP Data received {"connection_id":91267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:05:27] local.INFO: Processing buffer {"connection_id":91267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:05:27] local.INFO: IMEI packet received {"connection_id":91267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":91267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:05:28] local.INFO: TCP Data received {"connection_id":91267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:05:28] local.INFO: Processing buffer {"connection_id":91267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:05:28] local.INFO: Packet analysis {"connection_id":91267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:28] local.INFO: Extracted packet for processing {"connection_id":91267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:05:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:05:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":91267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:05:28] local.INFO: GPS data processed {"connection_id":91267,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:05:28] local.INFO: Acknowledgment sent {"connection_id":91267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:05:41] local.INFO: TCP Data received {"connection_id":91266,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:05:41] local.INFO: Processing buffer {"connection_id":91266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:05:41] local.INFO: Packet analysis {"connection_id":91266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:41] local.INFO: Extracted packet for processing {"connection_id":91266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:05:41] 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-06-02 21:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:05:41] 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-06-02 21:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:05:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":91266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:05:42] local.INFO: GPS data processed {"connection_id":91266,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:05:42] local.INFO: Acknowledgment sent {"connection_id":91266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:05:59] local.INFO: TCP Data received {"connection_id":91267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:05:59] local.INFO: Processing buffer {"connection_id":91267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:05:59] local.INFO: Packet analysis {"connection_id":91267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:59] local.INFO: Extracted packet for processing {"connection_id":91267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 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-06-02 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 21:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:05: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-06-02 21:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:05:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":91267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:05:59] local.INFO: GPS data processed {"connection_id":91267,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:05:59] local.INFO: Acknowledgment sent {"connection_id":91267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:06:05] local.INFO: TCP Data received {"connection_id":90104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:05] local.INFO: Processing buffer {"connection_id":90104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:05] local.INFO: IMEI packet received {"connection_id":90104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":90104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:06:09] local.INFO: TCP Data received {"connection_id":90105,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:06:09] local.INFO: Processing buffer {"connection_id":90105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:06:09] local.INFO: IMEI packet received {"connection_id":90105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":90105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:06:14] local.INFO: TCP Data received {"connection_id":90105,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:06:14] local.INFO: Processing buffer {"connection_id":90105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:06:14] local.INFO: IMEI packet received {"connection_id":90105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":90105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:06:15] local.INFO: TCP Data received {"connection_id":90105,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:06:15] local.INFO: Processing buffer {"connection_id":90105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:06:15] local.INFO: Packet analysis {"connection_id":90105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:06:15] local.INFO: Extracted packet for processing {"connection_id":90105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:06:15] 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-06-02 21:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":90105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:06:15] local.INFO: GPS data processed {"connection_id":90105,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:06:15] local.INFO: Acknowledgment sent {"connection_id":90105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:06:22] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:06:22] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:06:22] local.INFO: IMEI packet received {"connection_id":89843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":89843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:06:27] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:06:27] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:06:27] local.INFO: IMEI packet received {"connection_id":89843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":89843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:06:28] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:06:28] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f59f38012cb29ac007823b18005000b827..."} 
[2026-06-02 21:06:28] local.INFO: Packet analysis {"connection_id":89843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:06:28] local.INFO: Extracted packet for processing {"connection_id":89843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:06:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785973248001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414259000,"timestamp_ms":1780414259000,"timestamp_seconds":1780414259,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f59f38"} 
[2026-06-02 21:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-02 21:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785973248001,"66":25604,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785973248001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:06:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:06:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785973248001,"power":25604,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":89843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:06:28] local.INFO: GPS data processed {"connection_id":89843,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:06:28] local.INFO: Acknowledgment sent {"connection_id":89843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:06:30] local.INFO: TCP Data received {"connection_id":90104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:30] local.INFO: Processing buffer {"connection_id":90104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:30] local.INFO: IMEI packet received {"connection_id":90104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 21:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":90104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:06:30] local.INFO: TCP Data received {"connection_id":90104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:30] local.INFO: Processing buffer {"connection_id":90104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:06:30] local.INFO: IMEI packet received {"connection_id":90104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 21:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":90104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:06:46] local.INFO: TCP Data received {"connection_id":90105,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:06:46] local.INFO: Processing buffer {"connection_id":90105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88f5f528012d196500071ff058003b014627..."} 
[2026-06-02 21:06:46] local.INFO: Packet analysis {"connection_id":90105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:06:46] local.INFO: Extracted packet for processing {"connection_id":90105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88f5"} 
[2026-06-02 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455785978880001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21: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-06-02 21:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780414281000,"timestamp_ms":1780414281000,"timestamp_seconds":1780414281,"priority":1,"record_length":96,"hex_timestamp":"0000019e88f5f528"} 
[2026-06-02 21:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:06: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-06-02 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:06: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-06-02 21:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:06: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-06-02 21:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455785978880001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455785978880001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455785978880001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":90105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:06:46] local.INFO: GPS data processed {"connection_id":90105,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:06:46] local.INFO: Acknowledgment sent {"connection_id":90105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:06:59] local.INFO: TCP Data received {"connection_id":89843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:06:59] local.INFO: Processing buffer {"connection_id":89843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:06:59] local.INFO: Packet analysis {"connection_id":89843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:06:59] local.INFO: Extracted packet for processing {"connection_id":89843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:06:59] 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-06-02 21: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-06-02 21:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:06: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-06-02 21:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:06:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:06:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":89843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:06:59] local.INFO: GPS data processed {"connection_id":89843,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:06:59] local.INFO: Acknowledgment sent {"connection_id":89843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:07:04] local.INFO: TCP Data received {"connection_id":91268,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:07:04] local.INFO: Processing buffer {"connection_id":91268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:07:04] local.INFO: IMEI packet received {"connection_id":91268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":91268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:07:09] local.INFO: TCP Data received {"connection_id":91268,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:07:09] local.INFO: Processing buffer {"connection_id":91268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:07:09] local.INFO: IMEI packet received {"connection_id":91268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":91268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:07:10] local.INFO: TCP Data received {"connection_id":91268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:07:10] local.INFO: Processing buffer {"connection_id":91268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:07:10] local.INFO: Packet analysis {"connection_id":91268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:07:10] local.INFO: Extracted packet for processing {"connection_id":91268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:07:10] 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-06-02 21:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:07:10] 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-06-02 21:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:07:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":91268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:07:10] local.INFO: GPS data processed {"connection_id":91268,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:07:10] local.INFO: Acknowledgment sent {"connection_id":91268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:07:22] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:07:22] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:07:22] local.INFO: IMEI packet received {"connection_id":90200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":90200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:07:28] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:07:28] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:07:28] local.INFO: IMEI packet received {"connection_id":90200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":90200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:07:29] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:07:29] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:07:29] local.INFO: Packet analysis {"connection_id":90200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:07:29] local.INFO: Extracted packet for processing {"connection_id":90200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:07:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":90200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:07:29] local.INFO: GPS data processed {"connection_id":90200,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:07:29] local.INFO: Acknowledgment sent {"connection_id":90200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:07:41] local.INFO: TCP Data received {"connection_id":91268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:07:41] local.INFO: Processing buffer {"connection_id":91268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:07:41] local.INFO: Packet analysis {"connection_id":91268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:07:41] local.INFO: Extracted packet for processing {"connection_id":91268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:07:41] 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-06-02 21:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:07:41] 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-06-02 21:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:07:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":91268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:07:41] local.INFO: GPS data processed {"connection_id":91268,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:07:41] local.INFO: Acknowledgment sent {"connection_id":91268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:08:00] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:00] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:00] local.INFO: Packet analysis {"connection_id":90200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:00] local.INFO: Extracted packet for processing {"connection_id":90200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:08:00] 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-06-02 21:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:08: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-06-02 21:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:08:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":90200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:08:00] local.INFO: GPS data processed {"connection_id":90200,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:08:00] local.INFO: Acknowledgment sent {"connection_id":90200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:08:04] local.INFO: TCP Data received {"connection_id":90106,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:08:04] local.INFO: Processing buffer {"connection_id":90106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:08:04] local.INFO: IMEI packet received {"connection_id":90106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":90106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:08:09] local.INFO: TCP Data received {"connection_id":90106,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:08:09] local.INFO: Processing buffer {"connection_id":90106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:08:09] local.INFO: IMEI packet received {"connection_id":90106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":90106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:08:10] local.INFO: TCP Data received {"connection_id":90106,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:08:10] local.INFO: Processing buffer {"connection_id":90106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:08:10] local.INFO: Packet analysis {"connection_id":90106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:10] local.INFO: Extracted packet for processing {"connection_id":90106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:08:10] 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-06-02 21:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:08:10] 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-06-02 21:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:08:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":90106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:08:10] local.INFO: GPS data processed {"connection_id":90106,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:08:10] local.INFO: Acknowledgment sent {"connection_id":90106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:08:23] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:08:23] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:08:23] local.INFO: IMEI packet received {"connection_id":90107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":90107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:08:28] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:08:28] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:08:28] local.INFO: IMEI packet received {"connection_id":90107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":90107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:08:28] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:28] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:28] local.INFO: Packet analysis {"connection_id":90107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:28] local.INFO: Extracted packet for processing {"connection_id":90107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:08: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-06-02 21: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-06-02 21:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:08:28] 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-06-02 21:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:08:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:08:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":90107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:08:29] local.INFO: GPS data processed {"connection_id":90107,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:08:29] local.INFO: Acknowledgment sent {"connection_id":90107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:08:41] local.INFO: TCP Data received {"connection_id":90106,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:08:41] local.INFO: Processing buffer {"connection_id":90106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:08:41] local.INFO: Packet analysis {"connection_id":90106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:41] local.INFO: Extracted packet for processing {"connection_id":90106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:08:41] 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-06-02 21:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:08:41] 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-06-02 21:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":90106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:08:41] local.INFO: GPS data processed {"connection_id":90106,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:08:41] local.INFO: Acknowledgment sent {"connection_id":90106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:08:59] local.INFO: TCP Data received {"connection_id":90107,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:59] local.INFO: Processing buffer {"connection_id":90107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:08:59] local.INFO: Packet analysis {"connection_id":90107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:59] local.INFO: Extracted packet for processing {"connection_id":90107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:08:59] 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-06-02 21: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-06-02 21:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:08:59] 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-06-02 21:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:08:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:08:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":90107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:08:59] local.INFO: GPS data processed {"connection_id":90107,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:08:59] local.INFO: Acknowledgment sent {"connection_id":90107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:09:04] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:09:04] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:09:04] local.INFO: IMEI packet received {"connection_id":89845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":89845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:09:09] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:09:09] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:09:09] local.INFO: IMEI packet received {"connection_id":89845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":89845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:09:10] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:09:10] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:09:10] local.INFO: Packet analysis {"connection_id":89845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:09:10] local.INFO: Extracted packet for processing {"connection_id":89845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:09:10] 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-06-02 21:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:09:10] 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-06-02 21:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:09:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":89845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:09:10] local.INFO: GPS data processed {"connection_id":89845,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:09:10] local.INFO: Acknowledgment sent {"connection_id":89845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:09:22] local.INFO: TCP Data received {"connection_id":90201,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:09:22] local.INFO: Processing buffer {"connection_id":90201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:09:22] local.INFO: IMEI packet received {"connection_id":90201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":90201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:09:28] local.INFO: TCP Data received {"connection_id":90201,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:09:28] local.INFO: Processing buffer {"connection_id":90201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:09:28] local.INFO: IMEI packet received {"connection_id":90201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":90201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:09:28] local.INFO: TCP Data received {"connection_id":90201,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:09:29] local.INFO: Processing buffer {"connection_id":90201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:09:29] local.INFO: Packet analysis {"connection_id":90201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:09:29] local.INFO: Extracted packet for processing {"connection_id":90201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:09:29] 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-06-02 21:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:09:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":90201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:09:29] local.INFO: GPS data processed {"connection_id":90201,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:09:29] local.INFO: Acknowledgment sent {"connection_id":90201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:09:41] local.INFO: TCP Data received {"connection_id":89845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:09:41] local.INFO: Processing buffer {"connection_id":89845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:09:41] local.INFO: Packet analysis {"connection_id":89845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:09:41] local.INFO: Extracted packet for processing {"connection_id":89845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:09:41] 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-06-02 21:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:09:41] 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-06-02 21:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:09:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":89845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:09:41] local.INFO: GPS data processed {"connection_id":89845,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:09:41] local.INFO: Acknowledgment sent {"connection_id":89845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:10:00] local.INFO: TCP Data received {"connection_id":90201,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:00] local.INFO: Processing buffer {"connection_id":90201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:00] local.INFO: Packet analysis {"connection_id":90201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:00] local.INFO: Extracted packet for processing {"connection_id":90201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:10:00] 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-06-02 21:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:10: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-06-02 21:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:10:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":90201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:10:00] local.INFO: GPS data processed {"connection_id":90201,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:10:00] local.INFO: Acknowledgment sent {"connection_id":90201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:10:09] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:10:09] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:10:09] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:10:14] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:10:14] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:10:14] local.INFO: IMEI packet received {"connection_id":89846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":89846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:10:15] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:10:15] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:10:15] local.INFO: Packet analysis {"connection_id":89846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:15] local.INFO: Extracted packet for processing {"connection_id":89846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:10:15] 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-06-02 21:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:10:15] 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-06-02 21:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":89846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:10:15] local.INFO: GPS data processed {"connection_id":89846,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:10:15] local.INFO: Acknowledgment sent {"connection_id":89846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:10:20] local.INFO: TCP Data received {"connection_id":89846,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:10:20] local.INFO: Processing buffer {"connection_id":89846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:10:20] local.INFO: Packet analysis {"connection_id":89846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:20] local.INFO: Extracted packet for processing {"connection_id":89846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 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-06-02 21:10:20] 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-06-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 21:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:10:20] 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-06-02 21:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:10:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":89846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:10:20] local.INFO: GPS data processed {"connection_id":89846,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:10:20] local.INFO: Acknowledgment sent {"connection_id":89846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:10:22] local.INFO: TCP Data received {"connection_id":90109,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:10:22] local.INFO: Processing buffer {"connection_id":90109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:10:22] local.INFO: IMEI packet received {"connection_id":90109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":90109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:10:28] local.INFO: TCP Data received {"connection_id":90109,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:10:28] local.INFO: Processing buffer {"connection_id":90109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:10:28] local.INFO: IMEI packet received {"connection_id":90109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":90109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:10:28] local.INFO: TCP Data received {"connection_id":90109,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:28] local.INFO: Processing buffer {"connection_id":90109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:28] local.INFO: Packet analysis {"connection_id":90109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:28] local.INFO: Extracted packet for processing {"connection_id":90109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:10: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-06-02 21: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-06-02 21:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:10:28] 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-06-02 21:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:10:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:10:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":90109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:10:29] local.INFO: GPS data processed {"connection_id":90109,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:10:29] local.INFO: Acknowledgment sent {"connection_id":90109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:10:59] local.INFO: TCP Data received {"connection_id":90109,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:59] local.INFO: Processing buffer {"connection_id":90109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:10:59] local.INFO: Packet analysis {"connection_id":90109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:59] local.INFO: Extracted packet for processing {"connection_id":90109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:10:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:10:59] 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-06-02 21: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-06-02 21:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:10:59] 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-06-02 21:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:10:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:10:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":90109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:10:59] local.INFO: GPS data processed {"connection_id":90109,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:10:59] local.INFO: Acknowledgment sent {"connection_id":90109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:11:04] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:11:04] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:11:04] local.INFO: IMEI packet received {"connection_id":90202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":90202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:11:09] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:11:09] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:11:09] local.INFO: IMEI packet received {"connection_id":90202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":90202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:11:10] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:11:10] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:11:10] local.INFO: Packet analysis {"connection_id":90202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:11:10] local.INFO: Extracted packet for processing {"connection_id":90202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:11:10] 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-06-02 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:11:10] 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-06-02 21:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:11:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":90202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:11:10] local.INFO: GPS data processed {"connection_id":90202,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:11:10] local.INFO: Acknowledgment sent {"connection_id":90202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:11:22] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:11:22] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:11:22] local.INFO: IMEI packet received {"connection_id":90110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":90110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:11:28] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:11:28] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:11:28] local.INFO: IMEI packet received {"connection_id":90110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":90110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:11:28] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:11:28] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa3700012cb29ac007823b18005000b823..."} 
[2026-06-02 21:11:28] local.INFO: Packet analysis {"connection_id":90110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:11:28] local.INFO: Extracted packet for processing {"connection_id":90110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:11:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786050304001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414560000,"timestamp_ms":1780414560000,"timestamp_seconds":1780414560,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa3700"} 
[2026-06-02 21:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-02 21:11: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-06-02 21: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-06-02 21:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:11:28] 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-06-02 21:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786050304001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786050304001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:11:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:11:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786050304001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":90110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:11:28] local.INFO: GPS data processed {"connection_id":90110,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:11:28] local.INFO: Acknowledgment sent {"connection_id":90110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:11:32] local.INFO: TCP Data received {"connection_id":89847,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:11:32] local.INFO: Processing buffer {"connection_id":89847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:11:32] local.INFO: IMEI packet received {"connection_id":89847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":89847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:11:41] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:11:41] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fa8cf0012d196500071ff058003b014625..."} 
[2026-06-02 21:11:41] local.INFO: Packet analysis {"connection_id":90202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:11:41] local.INFO: Extracted packet for processing {"connection_id":90202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fa"} 
[2026-06-02 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786055936001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414582000,"timestamp_ms":1780414582000,"timestamp_seconds":1780414582,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fa8cf0"} 
[2026-06-02 21:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:11:41] 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-06-02 21:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:11:41] 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-06-02 21:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786055936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786055936001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:11:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786055936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":90202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:11:41] local.INFO: GPS data processed {"connection_id":90202,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:11:41] local.INFO: Acknowledgment sent {"connection_id":90202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:11:57] local.INFO: TCP Data received {"connection_id":90111,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:11:57] local.INFO: Processing buffer {"connection_id":90111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:11:57] local.INFO: IMEI packet received {"connection_id":90111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":90111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:11:59] local.INFO: TCP Data received {"connection_id":90110,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:11:59] local.INFO: Processing buffer {"connection_id":90110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:11:59] local.INFO: Packet analysis {"connection_id":90110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:11:59] local.INFO: Extracted packet for processing {"connection_id":90110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:11:59] 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-06-02 21:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:11:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:11:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":90110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:11:59] local.INFO: GPS data processed {"connection_id":90110,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:11:59] local.INFO: Acknowledgment sent {"connection_id":90110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:12:04] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:12:04] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:12:04] local.INFO: IMEI packet received {"connection_id":89848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":89848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:12:09] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:12:09] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:12:09] local.INFO: IMEI packet received {"connection_id":89848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":89848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:12:10] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:12:10] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:12:10] local.INFO: Packet analysis {"connection_id":89848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:12:10] local.INFO: Extracted packet for processing {"connection_id":89848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:12:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":89848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:12:10] local.INFO: GPS data processed {"connection_id":89848,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:12:10] local.INFO: Acknowledgment sent {"connection_id":89848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:12:23] local.INFO: TCP Data received {"connection_id":90112,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:12:23] local.INFO: Processing buffer {"connection_id":90112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:12:23] local.INFO: IMEI packet received {"connection_id":90112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":90112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:12:28] local.INFO: TCP Data received {"connection_id":90112,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:12:28] local.INFO: Processing buffer {"connection_id":90112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:12:28] local.INFO: IMEI packet received {"connection_id":90112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":90112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:12:28] local.INFO: TCP Data received {"connection_id":90112,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:12:28] local.INFO: Processing buffer {"connection_id":90112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:12:28] local.INFO: Packet analysis {"connection_id":90112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:12:28] local.INFO: Extracted packet for processing {"connection_id":90112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:12:28] 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-06-02 21:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:12:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:12:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":90112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:12:28] local.INFO: GPS data processed {"connection_id":90112,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:12:28] local.INFO: Acknowledgment sent {"connection_id":90112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:12:41] local.INFO: TCP Data received {"connection_id":89848,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:12:41] local.INFO: Processing buffer {"connection_id":89848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:12:41] local.INFO: Packet analysis {"connection_id":89848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:12:41] local.INFO: Extracted packet for processing {"connection_id":89848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:12:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":89848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:12:41] local.INFO: GPS data processed {"connection_id":89848,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:12:41] local.INFO: Acknowledgment sent {"connection_id":89848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:13:00] local.INFO: TCP Data received {"connection_id":90112,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:13:00] local.INFO: Processing buffer {"connection_id":90112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:13:00] local.INFO: Packet analysis {"connection_id":90112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:13:00] local.INFO: Extracted packet for processing {"connection_id":90112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:13:00] 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-06-02 21:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:13:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":90112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:13:00] local.INFO: GPS data processed {"connection_id":90112,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:13:00] local.INFO: Acknowledgment sent {"connection_id":90112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:13:04] local.INFO: TCP Data received {"connection_id":89850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:13:04] local.INFO: Processing buffer {"connection_id":89850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:13:04] local.INFO: IMEI packet received {"connection_id":89850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":89850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:13:09] local.INFO: TCP Data received {"connection_id":89850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:13:09] local.INFO: Processing buffer {"connection_id":89850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:13:09] local.INFO: IMEI packet received {"connection_id":89850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":89850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:13:10] local.INFO: TCP Data received {"connection_id":89850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:13:10] local.INFO: Processing buffer {"connection_id":89850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:13:10] local.INFO: Packet analysis {"connection_id":89850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:13:10] local.INFO: Extracted packet for processing {"connection_id":89850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:13:10] 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-06-02 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":89850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:13:10] local.INFO: GPS data processed {"connection_id":89850,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:13:10] local.INFO: Acknowledgment sent {"connection_id":89850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:13:22] local.INFO: TCP Data received {"connection_id":91271,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:13:22] local.INFO: Processing buffer {"connection_id":91271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:13:22] local.INFO: IMEI packet received {"connection_id":91271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":91271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:13:28] local.INFO: TCP Data received {"connection_id":91271,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:13:28] local.INFO: Processing buffer {"connection_id":91271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:13:28] local.INFO: IMEI packet received {"connection_id":91271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":91271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:13:29] local.INFO: TCP Data received {"connection_id":91271,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:13:29] local.INFO: Processing buffer {"connection_id":91271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:13:29] local.INFO: Packet analysis {"connection_id":91271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:13:29] local.INFO: Extracted packet for processing {"connection_id":91271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":91271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":91271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":91271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:13:29] 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-06-02 21:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:13:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":91271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:13:29] local.INFO: GPS data processed {"connection_id":91271,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:13:29] local.INFO: Acknowledgment sent {"connection_id":91271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:13:41] local.INFO: TCP Data received {"connection_id":89850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:13:41] local.INFO: Processing buffer {"connection_id":89850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:13:41] local.INFO: Packet analysis {"connection_id":89850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:13:41] local.INFO: Extracted packet for processing {"connection_id":89850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:13:41] 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-06-02 21:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":89850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:13:42] local.INFO: GPS data processed {"connection_id":89850,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:13:42] local.INFO: Acknowledgment sent {"connection_id":89850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:14:00] local.INFO: TCP Data received {"connection_id":91271,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:00] local.INFO: Processing buffer {"connection_id":91271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:00] local.INFO: Packet analysis {"connection_id":91271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:14:00] local.INFO: Extracted packet for processing {"connection_id":91271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:14:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:14:00] 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-06-02 21:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:14:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":91271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:14:00] local.INFO: GPS data processed {"connection_id":91271,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:14:00] local.INFO: Acknowledgment sent {"connection_id":91271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:14:09] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:14:09] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:14:09] local.INFO: IMEI packet received {"connection_id":89851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":89851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:14:14] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:14:14] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:14:14] local.INFO: IMEI packet received {"connection_id":89851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":89851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:14:15] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:14:15] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:14:15] local.INFO: Packet analysis {"connection_id":89851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:14:15] local.INFO: Extracted packet for processing {"connection_id":89851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:14:15] 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-06-02 21:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:14:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":89851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:14:15] local.INFO: GPS data processed {"connection_id":89851,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:14:15] local.INFO: Acknowledgment sent {"connection_id":89851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:14:20] local.INFO: TCP Data received {"connection_id":89851,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:14:20] local.INFO: Processing buffer {"connection_id":89851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:14:20] local.INFO: Packet analysis {"connection_id":89851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:14:20] local.INFO: Extracted packet for processing {"connection_id":89851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 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-06-02 21:14:20] 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-06-02 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 21:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:14:20] 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-06-02 21:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:14:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":89851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:14:20] local.INFO: GPS data processed {"connection_id":89851,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:14:20] local.INFO: Acknowledgment sent {"connection_id":89851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:14:22] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:14:22] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:14:22] local.INFO: IMEI packet received {"connection_id":90114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":90114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:14:28] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:14:28] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:14:28] local.INFO: IMEI packet received {"connection_id":90114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":90114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:14:28] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:28] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:28] local.INFO: Packet analysis {"connection_id":90114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:14:28] local.INFO: Extracted packet for processing {"connection_id":90114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:14:28] 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-06-02 21:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:14:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:14:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":90114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:14:29] local.INFO: GPS data processed {"connection_id":90114,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:14:29] local.INFO: Acknowledgment sent {"connection_id":90114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:14:59] local.INFO: TCP Data received {"connection_id":90114,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:59] local.INFO: Processing buffer {"connection_id":90114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:14:59] local.INFO: Packet analysis {"connection_id":90114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:14:59] local.INFO: Extracted packet for processing {"connection_id":90114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:14:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:14: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-06-02 21:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:14:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":90114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:14:59] local.INFO: GPS data processed {"connection_id":90114,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:14:59] local.INFO: Acknowledgment sent {"connection_id":90114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:15:04] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:15:04] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:15:04] local.INFO: IMEI packet received {"connection_id":89852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":89852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:15:09] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:15:09] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:15:09] local.INFO: IMEI packet received {"connection_id":89852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":89852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:15:10] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:15:10] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:15:10] local.INFO: Packet analysis {"connection_id":89852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:15:10] local.INFO: Extracted packet for processing {"connection_id":89852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:15:10] 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-06-02 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:15:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":89852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:15:10] local.INFO: GPS data processed {"connection_id":89852,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:15:10] local.INFO: Acknowledgment sent {"connection_id":89852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:15:22] local.INFO: TCP Data received {"connection_id":91272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:15:22] local.INFO: Processing buffer {"connection_id":91272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:15:22] local.INFO: IMEI packet received {"connection_id":91272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":91272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:15:27] local.INFO: TCP Data received {"connection_id":91272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:15:27] local.INFO: Processing buffer {"connection_id":91272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:15:27] local.INFO: IMEI packet received {"connection_id":91272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":91272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:15:28] local.INFO: TCP Data received {"connection_id":91272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:15:28] local.INFO: Processing buffer {"connection_id":91272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:15:28] local.INFO: Packet analysis {"connection_id":91272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:15:28] local.INFO: Extracted packet for processing {"connection_id":91272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:15:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:15:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":91272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:15:28] local.INFO: GPS data processed {"connection_id":91272,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:15:28] local.INFO: Acknowledgment sent {"connection_id":91272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:15:41] local.INFO: TCP Data received {"connection_id":89852,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:15:41] local.INFO: Processing buffer {"connection_id":89852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:15:41] local.INFO: Packet analysis {"connection_id":89852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:15:41] local.INFO: Extracted packet for processing {"connection_id":89852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:15:41] 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-06-02 21:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:15:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":89852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:15:42] local.INFO: GPS data processed {"connection_id":89852,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:15:42] local.INFO: Acknowledgment sent {"connection_id":89852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:15:59] local.INFO: TCP Data received {"connection_id":91272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:15:59] local.INFO: Processing buffer {"connection_id":91272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:15:59] local.INFO: Packet analysis {"connection_id":91272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:15:59] local.INFO: Extracted packet for processing {"connection_id":91272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:15:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:15: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-06-02 21:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:15:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:15:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":91272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:15:59] local.INFO: GPS data processed {"connection_id":91272,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:15:59] local.INFO: Acknowledgment sent {"connection_id":91272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:16:04] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:16:04] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:16:04] local.INFO: IMEI packet received {"connection_id":90116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":90116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:16:09] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:16:09] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:16:09] local.INFO: IMEI packet received {"connection_id":90116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":90116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:16:10] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:16:10] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:16:10] local.INFO: Packet analysis {"connection_id":90116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:16:10] local.INFO: Extracted packet for processing {"connection_id":90116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:16:10] 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-06-02 21:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:16:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":90116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:16:10] local.INFO: GPS data processed {"connection_id":90116,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:16:10] local.INFO: Acknowledgment sent {"connection_id":90116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:16:22] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:16:22] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:16:22] local.INFO: IMEI packet received {"connection_id":89853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":89853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:16:27] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:16:27] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:16:27] local.INFO: IMEI packet received {"connection_id":89853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":89853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:16:28] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:16:28] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88fecec8012cb29ac007823b18004c00b826..."} 
[2026-06-02 21:16:28] local.INFO: Packet analysis {"connection_id":89853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:16:28] local.INFO: Extracted packet for processing {"connection_id":89853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88fe"} 
[2026-06-02 21:16:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786127360001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780414861000,"timestamp_ms":1780414861000,"timestamp_seconds":1780414861,"priority":1,"record_length":96,"hex_timestamp":"0000019e88fecec8"} 
[2026-06-02 21:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786127360001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786127360001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:16:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:16:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786127360001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":89853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:16:28] local.INFO: GPS data processed {"connection_id":89853,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:16:28] local.INFO: Acknowledgment sent {"connection_id":89853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:16:41] local.INFO: TCP Data received {"connection_id":90116,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:16:41] local.INFO: Processing buffer {"connection_id":90116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e88ff24b8012d196500071ff058003b014624..."} 
[2026-06-02 21:16:41] local.INFO: Packet analysis {"connection_id":90116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:16:41] local.INFO: Extracted packet for processing {"connection_id":90116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e88ff"} 
[2026-06-02 21:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786132992001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780414883000,"timestamp_ms":1780414883000,"timestamp_seconds":1780414883,"priority":1,"record_length":96,"hex_timestamp":"0000019e88ff24b8"} 
[2026-06-02 21:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:16:41] 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-06-02 21:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786132992001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786132992001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:16:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786132992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":90116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:16:42] local.INFO: GPS data processed {"connection_id":90116,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:16:42] local.INFO: Acknowledgment sent {"connection_id":90116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:16:59] local.INFO: TCP Data received {"connection_id":89853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:16:59] local.INFO: Processing buffer {"connection_id":89853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:16:59] local.INFO: Packet analysis {"connection_id":89853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:16:59] local.INFO: Extracted packet for processing {"connection_id":89853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:16:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:16: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-06-02 21:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:16:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:16:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":89853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:16:59] local.INFO: GPS data processed {"connection_id":89853,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:16:59] local.INFO: Acknowledgment sent {"connection_id":89853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:17:02] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:02] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:02] local.INFO: IMEI packet received {"connection_id":89854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":89854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:17:05] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:05] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:05] local.INFO: IMEI packet received {"connection_id":89854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":89854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:17:09] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:09] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:17:09] local.INFO: IMEI packet received {"connection_id":89854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":89854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:17:10] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:17:10] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:17:10] local.INFO: Packet analysis {"connection_id":89854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:10] local.INFO: Extracted packet for processing {"connection_id":89854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:17:10] 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-06-02 21:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:17:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":89854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:17:10] local.INFO: GPS data processed {"connection_id":89854,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:17:10] local.INFO: Acknowledgment sent {"connection_id":89854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:17:22] local.INFO: TCP Data received {"connection_id":91273,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:17:22] local.INFO: Processing buffer {"connection_id":91273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:17:22] local.INFO: IMEI packet received {"connection_id":91273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":91273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:17:22] local.INFO: TCP Data received {"connection_id":91274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:17:22] local.INFO: Processing buffer {"connection_id":91274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:17:22] local.INFO: IMEI packet received {"connection_id":91274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":91274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:17:27] local.INFO: TCP Data received {"connection_id":91274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:17:27] local.INFO: Processing buffer {"connection_id":91274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:17:27] local.INFO: IMEI packet received {"connection_id":91274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":91274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:17:28] local.INFO: TCP Data received {"connection_id":91274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:17:28] local.INFO: Processing buffer {"connection_id":91274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:17:28] local.INFO: Packet analysis {"connection_id":91274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:28] local.INFO: Extracted packet for processing {"connection_id":91274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:17:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:17:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":91274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:17:28] local.INFO: GPS data processed {"connection_id":91274,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:17:28] local.INFO: Acknowledgment sent {"connection_id":91274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:17:42] local.INFO: TCP Data received {"connection_id":89854,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:17:42] local.INFO: Processing buffer {"connection_id":89854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:17:42] local.INFO: Packet analysis {"connection_id":89854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:42] local.INFO: Extracted packet for processing {"connection_id":89854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:17:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":89854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:17:42] local.INFO: GPS data processed {"connection_id":89854,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:17:42] local.INFO: Acknowledgment sent {"connection_id":89854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:17:59] local.INFO: TCP Data received {"connection_id":91274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:17:59] local.INFO: Processing buffer {"connection_id":91274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:17:59] local.INFO: Packet analysis {"connection_id":91274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:59] local.INFO: Extracted packet for processing {"connection_id":91274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:17:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:17: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-06-02 21:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:17:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:17:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":91274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:17:59] local.INFO: GPS data processed {"connection_id":91274,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:17:59] local.INFO: Acknowledgment sent {"connection_id":91274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:18:02] local.INFO: TCP Data received {"connection_id":90204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:18:02] local.INFO: Processing buffer {"connection_id":90204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:18:02] local.INFO: IMEI packet received {"connection_id":90204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":90204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:18:04] local.INFO: TCP Data received {"connection_id":90205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:18:04] local.INFO: Processing buffer {"connection_id":90205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:18:04] local.INFO: IMEI packet received {"connection_id":90205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":90205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:18:09] local.INFO: TCP Data received {"connection_id":90205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:18:09] local.INFO: Processing buffer {"connection_id":90205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:18:09] local.INFO: IMEI packet received {"connection_id":90205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":90205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:18:10] local.INFO: TCP Data received {"connection_id":90205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:18:10] local.INFO: Processing buffer {"connection_id":90205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:18:10] local.INFO: Packet analysis {"connection_id":90205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:10] local.INFO: Extracted packet for processing {"connection_id":90205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:18:10] 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-06-02 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:18:10] 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-06-02 21:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:18:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":90205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:18:10] local.INFO: GPS data processed {"connection_id":90205,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:18:10] local.INFO: Acknowledgment sent {"connection_id":90205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:18:22] local.INFO: TCP Data received {"connection_id":91275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:18:22] local.INFO: Processing buffer {"connection_id":91275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:18:22] local.INFO: IMEI packet received {"connection_id":91275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":91275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:18:27] local.INFO: TCP Data received {"connection_id":91275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:18:27] local.INFO: Processing buffer {"connection_id":91275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:18:27] local.INFO: IMEI packet received {"connection_id":91275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":91275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:18:28] local.INFO: TCP Data received {"connection_id":91275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:18:28] local.INFO: Processing buffer {"connection_id":91275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:18:28] local.INFO: Packet analysis {"connection_id":91275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:28] local.INFO: Extracted packet for processing {"connection_id":91275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:18:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":91275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:18:28] local.INFO: GPS data processed {"connection_id":91275,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:18:28] local.INFO: Acknowledgment sent {"connection_id":91275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:18:41] local.INFO: TCP Data received {"connection_id":90205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:18:41] local.INFO: Processing buffer {"connection_id":90205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:18:41] local.INFO: Packet analysis {"connection_id":90205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:41] local.INFO: Extracted packet for processing {"connection_id":90205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:18:41] 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-06-02 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:18:41] 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-06-02 21:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:18:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":90205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:18:41] local.INFO: GPS data processed {"connection_id":90205,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:18:41] local.INFO: Acknowledgment sent {"connection_id":90205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:18:59] local.INFO: TCP Data received {"connection_id":91275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:18:59] local.INFO: Processing buffer {"connection_id":91275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:18:59] local.INFO: Packet analysis {"connection_id":91275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:59] local.INFO: Extracted packet for processing {"connection_id":91275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:18: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-06-02 21:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:18:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":91275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:18:59] local.INFO: GPS data processed {"connection_id":91275,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:18:59] local.INFO: Acknowledgment sent {"connection_id":91275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:19:09] local.INFO: TCP Data received {"connection_id":89856,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:19:09] local.INFO: Processing buffer {"connection_id":89856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:19:09] local.INFO: IMEI packet received {"connection_id":89856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":89856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:19:14] local.INFO: TCP Data received {"connection_id":89856,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:19:14] local.INFO: Processing buffer {"connection_id":89856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:19:14] local.INFO: IMEI packet received {"connection_id":89856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":89856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:19:15] local.INFO: TCP Data received {"connection_id":89856,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:19:15] local.INFO: Processing buffer {"connection_id":89856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:19:15] local.INFO: Packet analysis {"connection_id":89856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:15] local.INFO: Extracted packet for processing {"connection_id":89856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":89856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:19:15] local.INFO: GPS data processed {"connection_id":89856,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:19:15] local.INFO: Acknowledgment sent {"connection_id":89856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:19:22] local.INFO: TCP Data received {"connection_id":91276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:19:22] local.INFO: Processing buffer {"connection_id":91276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:19:22] local.INFO: IMEI packet received {"connection_id":91276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":91276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:19:28] local.INFO: TCP Data received {"connection_id":91276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:19:28] local.INFO: Processing buffer {"connection_id":91276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:19:28] local.INFO: IMEI packet received {"connection_id":91276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":91276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:19:28] local.INFO: TCP Data received {"connection_id":91276,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:19:28] local.INFO: Processing buffer {"connection_id":91276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:19:28] local.INFO: Packet analysis {"connection_id":91276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:28] local.INFO: Extracted packet for processing {"connection_id":91276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:19:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:19:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":91276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:19:28] local.INFO: GPS data processed {"connection_id":91276,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:19:28] local.INFO: Acknowledgment sent {"connection_id":91276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:19:47] local.INFO: TCP Data received {"connection_id":89856,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:19:47] local.INFO: Processing buffer {"connection_id":89856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:19:47] local.INFO: Packet analysis {"connection_id":89856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:47] local.INFO: Extracted packet for processing {"connection_id":89856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19: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-06-02 21:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":89856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":89856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":89856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:19:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":89856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:19:47] local.INFO: GPS data processed {"connection_id":89856,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:19:47] local.INFO: Acknowledgment sent {"connection_id":89856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:19:59] local.INFO: TCP Data received {"connection_id":91276,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:19:59] local.INFO: Processing buffer {"connection_id":91276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:19:59] local.INFO: Packet analysis {"connection_id":91276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:59] local.INFO: Extracted packet for processing {"connection_id":91276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:19:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:19: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-06-02 21:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:19: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-06-02 21:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:19:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":91276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:19:59] local.INFO: GPS data processed {"connection_id":91276,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:19:59] local.INFO: Acknowledgment sent {"connection_id":91276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:20:04] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:20:04] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:20:04] local.INFO: IMEI packet received {"connection_id":90207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":90207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:20:09] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:20:09] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:20:09] local.INFO: IMEI packet received {"connection_id":90207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":90207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:20:10] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:20:10] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:20:10] local.INFO: Packet analysis {"connection_id":90207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:10] local.INFO: Extracted packet for processing {"connection_id":90207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:20:10] 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-06-02 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:20:10] 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-06-02 21:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:20:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":90207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:20:10] local.INFO: GPS data processed {"connection_id":90207,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:20:10] local.INFO: Acknowledgment sent {"connection_id":90207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:20:22] local.INFO: TCP Data received {"connection_id":90208,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:20:22] local.INFO: Processing buffer {"connection_id":90208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:20:22] local.INFO: IMEI packet received {"connection_id":90208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":90208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:20:28] local.INFO: TCP Data received {"connection_id":90208,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:20:28] local.INFO: Processing buffer {"connection_id":90208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:20:28] local.INFO: IMEI packet received {"connection_id":90208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":90208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:20:28] local.INFO: TCP Data received {"connection_id":90208,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:20:28] local.INFO: Processing buffer {"connection_id":90208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:20:28] local.INFO: Packet analysis {"connection_id":90208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:28] local.INFO: Extracted packet for processing {"connection_id":90208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:20: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-06-02 21:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:20:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:20:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":90208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:20:28] local.INFO: GPS data processed {"connection_id":90208,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:20:28] local.INFO: Acknowledgment sent {"connection_id":90208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:20:41] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:20:41] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:20:41] local.INFO: Packet analysis {"connection_id":90207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:41] local.INFO: Extracted packet for processing {"connection_id":90207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:20:41] 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-06-02 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:20:41] 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-06-02 21:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:20:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":90207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:20:41] local.INFO: GPS data processed {"connection_id":90207,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:20:41] local.INFO: Acknowledgment sent {"connection_id":90207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:20:59] local.INFO: TCP Data received {"connection_id":90208,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:20:59] local.INFO: Processing buffer {"connection_id":90208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:20:59] local.INFO: Packet analysis {"connection_id":90208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:59] local.INFO: Extracted packet for processing {"connection_id":90208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:20:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:20: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-06-02 21:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:20:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:20:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":90208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:20:59] local.INFO: GPS data processed {"connection_id":90208,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:20:59] local.INFO: Acknowledgment sent {"connection_id":90208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:21:04] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:21:04] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:21:04] local.INFO: IMEI packet received {"connection_id":90209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":90209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:21:09] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:21:09] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:21:09] local.INFO: IMEI packet received {"connection_id":90209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":90209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:21:10] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:21:10] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:21:10] local.INFO: Packet analysis {"connection_id":90209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:21:10] local.INFO: Extracted packet for processing {"connection_id":90209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:21:10] 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-06-02 21:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:21:10] 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-06-02 21:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:21:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":90209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:21:10] local.INFO: GPS data processed {"connection_id":90209,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:21:10] local.INFO: Acknowledgment sent {"connection_id":90209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:21:22] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:21:22] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:21:22] local.INFO: IMEI packet received {"connection_id":90117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":90117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:21:28] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:21:28] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:21:28] local.INFO: IMEI packet received {"connection_id":90117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":90117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:21:28] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:21:28] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89036690012cb29ac007823b18004e00b827..."} 
[2026-06-02 21:21:28] local.INFO: Packet analysis {"connection_id":90117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:21:28] local.INFO: Extracted packet for processing {"connection_id":90117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786204416001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415162000,"timestamp_ms":1780415162000,"timestamp_seconds":1780415162,"priority":1,"record_length":96,"hex_timestamp":"0000019e89036690"} 
[2026-06-02 21:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:21:28] 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-06-02 21:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786204416001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786204416001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:21:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:21:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786204416001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":90117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:21:28] local.INFO: GPS data processed {"connection_id":90117,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:21:28] local.INFO: Acknowledgment sent {"connection_id":90117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:21:41] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:21:41] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8903bc80012d196500071ff058003e014623..."} 
[2026-06-02 21:21:41] local.INFO: Packet analysis {"connection_id":90209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:21:41] local.INFO: Extracted packet for processing {"connection_id":90209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8903"} 
[2026-06-02 21:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786210048001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415184000,"timestamp_ms":1780415184000,"timestamp_seconds":1780415184,"priority":1,"record_length":96,"hex_timestamp":"0000019e8903bc80"} 
[2026-06-02 21:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:21:41] 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-06-02 21:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:21:41] 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-06-02 21:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786210048001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786210048001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:21:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786210048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":90209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:21:41] local.INFO: GPS data processed {"connection_id":90209,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:21:41] local.INFO: Acknowledgment sent {"connection_id":90209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:21:59] local.INFO: TCP Data received {"connection_id":90117,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:21:59] local.INFO: Processing buffer {"connection_id":90117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:21:59] local.INFO: Packet analysis {"connection_id":90117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:21:59] local.INFO: Extracted packet for processing {"connection_id":90117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:21:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:21:59] 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-06-02 21:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:21:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:21:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":90117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:21:59] local.INFO: GPS data processed {"connection_id":90117,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:21:59] local.INFO: Acknowledgment sent {"connection_id":90117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:22:03] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:03] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:03] local.INFO: IMEI packet received {"connection_id":90211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":90211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:22:04] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:04] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:04] local.INFO: IMEI packet received {"connection_id":90211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":90211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:22:09] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:09] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:22:09] local.INFO: IMEI packet received {"connection_id":90211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":90211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:22:10] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:22:10] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:22:10] local.INFO: Packet analysis {"connection_id":90211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:22:10] local.INFO: Extracted packet for processing {"connection_id":90211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:22:10] 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-06-02 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:22:10] 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-06-02 21:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:22:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":90211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:22:10] local.INFO: GPS data processed {"connection_id":90211,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:22:10] local.INFO: Acknowledgment sent {"connection_id":90211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:22:23] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:22:23] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:22:23] local.INFO: IMEI packet received {"connection_id":90118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":90118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:22:28] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:22:28] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:22:28] local.INFO: IMEI packet received {"connection_id":90118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":90118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:22:28] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:22:28] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:22:28] local.INFO: Packet analysis {"connection_id":90118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:22:28] local.INFO: Extracted packet for processing {"connection_id":90118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:22:28] 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-06-02 21:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:22:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:22:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":90118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:22:28] local.INFO: GPS data processed {"connection_id":90118,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:22:28] local.INFO: Acknowledgment sent {"connection_id":90118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:22:41] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:22:41] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:22:41] local.INFO: Packet analysis {"connection_id":90211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:22:41] local.INFO: Extracted packet for processing {"connection_id":90211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:22:41] 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-06-02 21:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:22:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":90211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:22:41] local.INFO: GPS data processed {"connection_id":90211,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:22:41] local.INFO: Acknowledgment sent {"connection_id":90211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:23:00] local.INFO: TCP Data received {"connection_id":90118,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:23:00] local.INFO: Processing buffer {"connection_id":90118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:23:00] local.INFO: Packet analysis {"connection_id":90118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:23:00] local.INFO: Extracted packet for processing {"connection_id":90118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:23:00] 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-06-02 21:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:23:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:23:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":90118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:23:00] local.INFO: GPS data processed {"connection_id":90118,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:23:00] local.INFO: Acknowledgment sent {"connection_id":90118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:23:09] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:23:09] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:23:09] local.INFO: IMEI packet received {"connection_id":90212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":90212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:23:14] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:23:14] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:23:14] local.INFO: IMEI packet received {"connection_id":90212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":90212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:23:15] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:23:15] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:23:15] local.INFO: Packet analysis {"connection_id":90212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:23:15] local.INFO: Extracted packet for processing {"connection_id":90212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:23:15] 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-06-02 21:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:23:15] 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-06-02 21:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:23:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":90212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:23:15] local.INFO: GPS data processed {"connection_id":90212,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:23:15] local.INFO: Acknowledgment sent {"connection_id":90212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:23:20] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:23:20] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:23:20] local.INFO: Packet analysis {"connection_id":90212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:23:20] local.INFO: Extracted packet for processing {"connection_id":90212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:23:20] 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-06-02 21:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:23:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:23:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":90212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:23:20] local.INFO: GPS data processed {"connection_id":90212,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:23:20] local.INFO: Acknowledgment sent {"connection_id":90212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:23:22] local.INFO: TCP Data received {"connection_id":89858,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:23:22] local.INFO: Processing buffer {"connection_id":89858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:23:22] local.INFO: IMEI packet received {"connection_id":89858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":89858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:23:53] local.INFO: TCP Data received {"connection_id":89859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:23:53] local.INFO: Processing buffer {"connection_id":89859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:23:53] local.INFO: IMEI packet received {"connection_id":89859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":89859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:23:57] local.INFO: TCP Data received {"connection_id":89860,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:23:57] local.INFO: Processing buffer {"connection_id":89860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:23:57] local.INFO: IMEI packet received {"connection_id":89860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":89860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:23:58] local.INFO: TCP Data received {"connection_id":89859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:23:58] local.INFO: Processing buffer {"connection_id":89859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:23:58] local.INFO: IMEI packet received {"connection_id":89859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":89859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:23:59] local.INFO: TCP Data received {"connection_id":89859,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:23:59] local.INFO: Processing buffer {"connection_id":89859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:23:59] local.INFO: Packet analysis {"connection_id":89859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:23:59] local.INFO: Extracted packet for processing {"connection_id":89859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:23: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-06-02 21:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:23:59] 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-06-02 21:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:23:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:23:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":89859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:23:59] local.INFO: GPS data processed {"connection_id":89859,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:23:59] local.INFO: Acknowledgment sent {"connection_id":89859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:24:04] local.INFO: TCP Data received {"connection_id":89861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:24:04] local.INFO: Processing buffer {"connection_id":89861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:24:04] local.INFO: IMEI packet received {"connection_id":89861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":89861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:24:09] local.INFO: TCP Data received {"connection_id":89861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:24:09] local.INFO: Processing buffer {"connection_id":89861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:24:09] local.INFO: IMEI packet received {"connection_id":89861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":89861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:24:10] local.INFO: TCP Data received {"connection_id":89861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:24:10] local.INFO: Processing buffer {"connection_id":89861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:24:10] local.INFO: Packet analysis {"connection_id":89861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:24:10] local.INFO: Extracted packet for processing {"connection_id":89861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:24:10] 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-06-02 21:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:24:10] 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-06-02 21:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:24:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":89861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:24:10] local.INFO: GPS data processed {"connection_id":89861,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:24:10] local.INFO: Acknowledgment sent {"connection_id":89861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:24:22] local.INFO: TCP Data received {"connection_id":90119,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:24:22] local.INFO: Processing buffer {"connection_id":90119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:24:22] local.INFO: IMEI packet received {"connection_id":90119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":90119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:24:28] local.INFO: TCP Data received {"connection_id":90119,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:24:28] local.INFO: Processing buffer {"connection_id":90119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:24:28] local.INFO: IMEI packet received {"connection_id":90119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":90119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:24:28] local.INFO: TCP Data received {"connection_id":90119,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:24:28] local.INFO: Processing buffer {"connection_id":90119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:24:28] local.INFO: Packet analysis {"connection_id":90119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:24:28] local.INFO: Extracted packet for processing {"connection_id":90119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:24:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:24: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-06-02 21:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:24:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":90119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:24:28] local.INFO: GPS data processed {"connection_id":90119,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:24:28] local.INFO: Acknowledgment sent {"connection_id":90119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:24:41] local.INFO: TCP Data received {"connection_id":89861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:24:41] local.INFO: Processing buffer {"connection_id":89861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:24:41] local.INFO: Packet analysis {"connection_id":89861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:24:41] local.INFO: Extracted packet for processing {"connection_id":89861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:24:41] 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-06-02 21:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:24:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":89861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:24:41] local.INFO: GPS data processed {"connection_id":89861,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:24:41] local.INFO: Acknowledgment sent {"connection_id":89861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:24:59] local.INFO: TCP Data received {"connection_id":90119,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:24:59] local.INFO: Processing buffer {"connection_id":90119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:24:59] local.INFO: Packet analysis {"connection_id":90119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:24:59] local.INFO: Extracted packet for processing {"connection_id":90119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:24:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:24:59] 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-06-02 21:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:24:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:24:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":90119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:24:59] local.INFO: GPS data processed {"connection_id":90119,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:24:59] local.INFO: Acknowledgment sent {"connection_id":90119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:25:04] local.INFO: TCP Data received {"connection_id":91277,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:25:04] local.INFO: Processing buffer {"connection_id":91277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:25:04] local.INFO: IMEI packet received {"connection_id":91277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":91277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:25:09] local.INFO: TCP Data received {"connection_id":91277,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:25:09] local.INFO: Processing buffer {"connection_id":91277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:25:09] local.INFO: IMEI packet received {"connection_id":91277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":91277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:25:10] local.INFO: TCP Data received {"connection_id":91277,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:25:10] local.INFO: Processing buffer {"connection_id":91277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:25:10] local.INFO: Packet analysis {"connection_id":91277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:25:10] local.INFO: Extracted packet for processing {"connection_id":91277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:25:10] 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-06-02 21:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:25:10] 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-06-02 21:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":91277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:25:10] local.INFO: GPS data processed {"connection_id":91277,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:25:10] local.INFO: Acknowledgment sent {"connection_id":91277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:25:22] local.INFO: TCP Data received {"connection_id":90121,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:25:22] local.INFO: Processing buffer {"connection_id":90121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:25:22] local.INFO: IMEI packet received {"connection_id":90121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":90121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:25:28] local.INFO: TCP Data received {"connection_id":90121,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:25:28] local.INFO: Processing buffer {"connection_id":90121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:25:28] local.INFO: IMEI packet received {"connection_id":90121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":90121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:25:28] local.INFO: TCP Data received {"connection_id":90121,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:25:28] local.INFO: Processing buffer {"connection_id":90121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:25:28] local.INFO: Packet analysis {"connection_id":90121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:25:28] local.INFO: Extracted packet for processing {"connection_id":90121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:25:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:25: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-06-02 21:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:25:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:25:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":90121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:25:28] local.INFO: GPS data processed {"connection_id":90121,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:25:28] local.INFO: Acknowledgment sent {"connection_id":90121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:25:41] local.INFO: TCP Data received {"connection_id":91277,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:25:41] local.INFO: Processing buffer {"connection_id":91277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:25:41] local.INFO: Packet analysis {"connection_id":91277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:25:41] local.INFO: Extracted packet for processing {"connection_id":91277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:25:41] 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-06-02 21:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":91277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:25:41] local.INFO: GPS data processed {"connection_id":91277,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:25:41] local.INFO: Acknowledgment sent {"connection_id":91277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:25:59] local.INFO: TCP Data received {"connection_id":90121,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:25:59] local.INFO: Processing buffer {"connection_id":90121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:25:59] local.INFO: Packet analysis {"connection_id":90121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:25:59] local.INFO: Extracted packet for processing {"connection_id":90121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:25: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-06-02 21:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:25:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:25:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":90121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:25:59] local.INFO: GPS data processed {"connection_id":90121,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:25:59] local.INFO: Acknowledgment sent {"connection_id":90121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:26:04] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:26:04] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:26:04] local.INFO: IMEI packet received {"connection_id":89862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":89862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:26:09] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:26:09] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:26:09] local.INFO: IMEI packet received {"connection_id":89862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":89862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:26:10] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:26:10] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:26:10] local.INFO: Packet analysis {"connection_id":89862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:26:10] local.INFO: Extracted packet for processing {"connection_id":89862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:26:10] 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-06-02 21:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:26:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":89862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:26:10] local.INFO: GPS data processed {"connection_id":89862,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:26:10] local.INFO: Acknowledgment sent {"connection_id":89862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:26:22] local.INFO: TCP Data received {"connection_id":90122,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:26:22] local.INFO: Processing buffer {"connection_id":90122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:26:22] local.INFO: IMEI packet received {"connection_id":90122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":90122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:26:28] local.INFO: TCP Data received {"connection_id":90122,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:26:28] local.INFO: Processing buffer {"connection_id":90122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:26:28] local.INFO: IMEI packet received {"connection_id":90122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":90122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:26:28] local.INFO: TCP Data received {"connection_id":90122,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:26:28] local.INFO: Processing buffer {"connection_id":90122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8907fe58012cb29ac007823b18005000b826..."} 
[2026-06-02 21:26:28] local.INFO: Packet analysis {"connection_id":90122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:26:28] local.INFO: Extracted packet for processing {"connection_id":90122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8907"} 
[2026-06-02 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786281472001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415463000,"timestamp_ms":1780415463000,"timestamp_seconds":1780415463,"priority":1,"record_length":96,"hex_timestamp":"0000019e8907fe58"} 
[2026-06-02 21:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:26:28] 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-06-02 21:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786281472001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786281472001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:26:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:26:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786281472001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":90122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:26:28] local.INFO: GPS data processed {"connection_id":90122,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:26:28] local.INFO: Acknowledgment sent {"connection_id":90122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:26:41] local.INFO: TCP Data received {"connection_id":89862,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:26:41] local.INFO: Processing buffer {"connection_id":89862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89085448012d196500071ff058003e014627..."} 
[2026-06-02 21:26:41] local.INFO: Packet analysis {"connection_id":89862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:26:41] local.INFO: Extracted packet for processing {"connection_id":89862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8908"} 
[2026-06-02 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786287104001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415485000,"timestamp_ms":1780415485000,"timestamp_seconds":1780415485,"priority":1,"record_length":96,"hex_timestamp":"0000019e89085448"} 
[2026-06-02 21:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786287104001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786287104001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:26:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786287104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":89862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:26:41] local.INFO: GPS data processed {"connection_id":89862,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:26:41] local.INFO: Acknowledgment sent {"connection_id":89862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:26:59] local.INFO: TCP Data received {"connection_id":90122,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:26:59] local.INFO: Processing buffer {"connection_id":90122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:26:59] local.INFO: Packet analysis {"connection_id":90122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:26:59] local.INFO: Extracted packet for processing {"connection_id":90122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:26:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:26:59] 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-06-02 21: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-06-02 21:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:26:59] 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-06-02 21:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:26:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:26:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":90122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:26:59] local.INFO: GPS data processed {"connection_id":90122,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:26:59] local.INFO: Acknowledgment sent {"connection_id":90122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:27:04] local.INFO: TCP Data received {"connection_id":91278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:04] local.INFO: Processing buffer {"connection_id":91278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:04] local.INFO: IMEI packet received {"connection_id":91278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":91278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:27:05] local.INFO: TCP Data received {"connection_id":91278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:05] local.INFO: Processing buffer {"connection_id":91278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:05] local.INFO: IMEI packet received {"connection_id":91278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":91278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:27:09] local.INFO: TCP Data received {"connection_id":91278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:09] local.INFO: Processing buffer {"connection_id":91278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:27:09] local.INFO: IMEI packet received {"connection_id":91278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":91278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:27:10] local.INFO: TCP Data received {"connection_id":91278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:27:10] local.INFO: Processing buffer {"connection_id":91278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:27:10] local.INFO: Packet analysis {"connection_id":91278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:10] local.INFO: Extracted packet for processing {"connection_id":91278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:27:10] 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-06-02 21:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:27:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":91278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:27:10] local.INFO: GPS data processed {"connection_id":91278,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:27:10] local.INFO: Acknowledgment sent {"connection_id":91278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:27:22] local.INFO: TCP Data received {"connection_id":89864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:27:22] local.INFO: Processing buffer {"connection_id":89864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:27:22] local.INFO: IMEI packet received {"connection_id":89864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":89864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:27:28] local.INFO: TCP Data received {"connection_id":89864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:27:28] local.INFO: Processing buffer {"connection_id":89864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:27:28] local.INFO: IMEI packet received {"connection_id":89864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":89864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:27:28] local.INFO: TCP Data received {"connection_id":89864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:27:28] local.INFO: Processing buffer {"connection_id":89864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:27:28] local.INFO: Packet analysis {"connection_id":89864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:28] local.INFO: Extracted packet for processing {"connection_id":89864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:27: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-06-02 21: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-06-02 21:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:27:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:27:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":89864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:27:28] local.INFO: GPS data processed {"connection_id":89864,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:27:28] local.INFO: Acknowledgment sent {"connection_id":89864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:27:41] local.INFO: TCP Data received {"connection_id":91278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:27:41] local.INFO: Processing buffer {"connection_id":91278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:27:41] local.INFO: Packet analysis {"connection_id":91278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:41] local.INFO: Extracted packet for processing {"connection_id":91278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:27:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":91278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:27:41] local.INFO: GPS data processed {"connection_id":91278,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:27:41] local.INFO: Acknowledgment sent {"connection_id":91278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:27:59] local.INFO: TCP Data received {"connection_id":89864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:27:59] local.INFO: Processing buffer {"connection_id":89864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:27:59] local.INFO: Packet analysis {"connection_id":89864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:59] local.INFO: Extracted packet for processing {"connection_id":89864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:27:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:27:59] 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-06-02 21: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-06-02 21:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:27: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-06-02 21:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:27:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:27:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":89864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:27:59] local.INFO: GPS data processed {"connection_id":89864,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:27:59] local.INFO: Acknowledgment sent {"connection_id":89864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:28:09] local.INFO: TCP Data received {"connection_id":90215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:28:09] local.INFO: Processing buffer {"connection_id":90215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:28:09] local.INFO: IMEI packet received {"connection_id":90215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":90215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:28:14] local.INFO: TCP Data received {"connection_id":90215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:28:14] local.INFO: Processing buffer {"connection_id":90215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:28:14] local.INFO: IMEI packet received {"connection_id":90215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":90215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:28:15] local.INFO: TCP Data received {"connection_id":90215,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:28:15] local.INFO: Processing buffer {"connection_id":90215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:28:15] local.INFO: Packet analysis {"connection_id":90215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:15] local.INFO: Extracted packet for processing {"connection_id":90215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:28:15] 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-06-02 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:28:15] 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-06-02 21:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:28:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":90215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:28:15] local.INFO: GPS data processed {"connection_id":90215,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:28:15] local.INFO: Acknowledgment sent {"connection_id":90215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:28:20] local.INFO: TCP Data received {"connection_id":90215,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:28:20] local.INFO: Processing buffer {"connection_id":90215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:28:20] local.INFO: Packet analysis {"connection_id":90215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:20] local.INFO: Extracted packet for processing {"connection_id":90215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:28:20] 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-06-02 21:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:28:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":90215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:28:20] local.INFO: GPS data processed {"connection_id":90215,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:28:20] local.INFO: Acknowledgment sent {"connection_id":90215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:28:23] local.INFO: TCP Data received {"connection_id":91279,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:28:23] local.INFO: Processing buffer {"connection_id":91279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:28:23] local.INFO: IMEI packet received {"connection_id":91279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":91279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:28:28] local.INFO: TCP Data received {"connection_id":91279,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:28:28] local.INFO: Processing buffer {"connection_id":91279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:28:28] local.INFO: IMEI packet received {"connection_id":91279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":91279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:28:28] local.INFO: TCP Data received {"connection_id":91279,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:28:28] local.INFO: Processing buffer {"connection_id":91279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:28:28] local.INFO: Packet analysis {"connection_id":91279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:28] local.INFO: Extracted packet for processing {"connection_id":91279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:28: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-06-02 21: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-06-02 21:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:28:28] 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-06-02 21:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:28:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":91279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:28:28] local.INFO: GPS data processed {"connection_id":91279,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:28:28] local.INFO: Acknowledgment sent {"connection_id":91279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:28:59] local.INFO: TCP Data received {"connection_id":91279,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:28:59] local.INFO: Processing buffer {"connection_id":91279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:28:59] local.INFO: Packet analysis {"connection_id":91279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:59] local.INFO: Extracted packet for processing {"connection_id":91279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:28:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:28:59] 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-06-02 21: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-06-02 21:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:28:59] 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-06-02 21:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:28:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:28:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":91279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:28:59] local.INFO: GPS data processed {"connection_id":91279,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:28:59] local.INFO: Acknowledgment sent {"connection_id":91279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:29:04] local.INFO: TCP Data received {"connection_id":91281,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:29:04] local.INFO: Processing buffer {"connection_id":91281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:29:04] local.INFO: IMEI packet received {"connection_id":91281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":91281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:29:09] local.INFO: TCP Data received {"connection_id":91281,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:29:09] local.INFO: Processing buffer {"connection_id":91281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:29:09] local.INFO: IMEI packet received {"connection_id":91281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":91281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:29:10] local.INFO: TCP Data received {"connection_id":91281,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:29:10] local.INFO: Processing buffer {"connection_id":91281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:29:10] local.INFO: Packet analysis {"connection_id":91281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:29:10] local.INFO: Extracted packet for processing {"connection_id":91281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:29:10] 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-06-02 21:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:29:10] 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-06-02 21:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:29:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":91281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:29:10] local.INFO: GPS data processed {"connection_id":91281,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:29:10] local.INFO: Acknowledgment sent {"connection_id":91281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:29:22] local.INFO: TCP Data received {"connection_id":91280,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:29:22] local.INFO: Processing buffer {"connection_id":91280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:29:22] local.INFO: IMEI packet received {"connection_id":91280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":91280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:29:22] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:29:22] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:29:22] local.INFO: IMEI packet received {"connection_id":89865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":89865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:29:28] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:29:28] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:29:28] local.INFO: IMEI packet received {"connection_id":89865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":89865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:29:28] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:29:28] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:29:28] local.INFO: Packet analysis {"connection_id":89865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:29:28] local.INFO: Extracted packet for processing {"connection_id":89865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:29:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:29: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-06-02 21:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:29: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-06-02 21:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:29:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:29:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":89865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:29:28] local.INFO: GPS data processed {"connection_id":89865,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:29:28] local.INFO: Acknowledgment sent {"connection_id":89865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:29:42] local.INFO: TCP Data received {"connection_id":91281,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:29:42] local.INFO: Processing buffer {"connection_id":91281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:29:42] local.INFO: Packet analysis {"connection_id":91281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:29:42] local.INFO: Extracted packet for processing {"connection_id":91281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:29:42] 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-06-02 21:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:29:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":91281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:29:42] local.INFO: GPS data processed {"connection_id":91281,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:29:42] local.INFO: Acknowledgment sent {"connection_id":91281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:29:57] local.INFO: TCP Data received {"connection_id":89866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:29:57] local.INFO: Processing buffer {"connection_id":89866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:29:57] local.INFO: IMEI packet received {"connection_id":89866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":89866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:30:00] local.INFO: TCP Data received {"connection_id":89865,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:00] local.INFO: Processing buffer {"connection_id":89865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:00] local.INFO: Packet analysis {"connection_id":89865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:00] local.INFO: Extracted packet for processing {"connection_id":89865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:30: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-06-02 21:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:30: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:30:00] 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-06-02 21:30: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-06-02 21:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:30: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-06-02 21:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:30:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":89865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:30:00] local.INFO: GPS data processed {"connection_id":89865,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:30:00] local.INFO: Acknowledgment sent {"connection_id":89865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:30:04] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:30:04] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:30:04] local.INFO: IMEI packet received {"connection_id":89867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":89867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:30:09] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:30:09] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:30:09] local.INFO: IMEI packet received {"connection_id":89867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":89867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:30:10] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:30:10] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:30:10] local.INFO: Packet analysis {"connection_id":89867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:10] local.INFO: Extracted packet for processing {"connection_id":89867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:30:10] 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-06-02 21:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:30:10] 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-06-02 21:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:30:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":89867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:30:10] local.INFO: GPS data processed {"connection_id":89867,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:30:10] local.INFO: Acknowledgment sent {"connection_id":89867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:30:22] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:30:22] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:30:22] local.INFO: IMEI packet received {"connection_id":90216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":90216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:30:28] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:30:28] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:30:28] local.INFO: IMEI packet received {"connection_id":90216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":90216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:30:28] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:28] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:28] local.INFO: Packet analysis {"connection_id":90216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:28] local.INFO: Extracted packet for processing {"connection_id":90216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:30: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-06-02 21:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:30:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:30:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":90216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:30:28] local.INFO: GPS data processed {"connection_id":90216,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:30:28] local.INFO: Acknowledgment sent {"connection_id":90216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:30:41] local.INFO: TCP Data received {"connection_id":89867,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:30:41] local.INFO: Processing buffer {"connection_id":89867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:30:41] local.INFO: Packet analysis {"connection_id":89867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:41] local.INFO: Extracted packet for processing {"connection_id":89867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:30:41] 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-06-02 21:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":89867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:30:41] local.INFO: GPS data processed {"connection_id":89867,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:30:41] local.INFO: Acknowledgment sent {"connection_id":89867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:30:59] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:59] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:30:59] local.INFO: Packet analysis {"connection_id":90216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:59] local.INFO: Extracted packet for processing {"connection_id":90216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:30:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:30:59] 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-06-02 21:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:30: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-06-02 21:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:30:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:30:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":90216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:30:59] local.INFO: GPS data processed {"connection_id":90216,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:30:59] local.INFO: Acknowledgment sent {"connection_id":90216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:31:05] local.INFO: TCP Data received {"connection_id":89868,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:31:05] local.INFO: Processing buffer {"connection_id":89868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:31:05] local.INFO: IMEI packet received {"connection_id":89868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":89868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:31:09] local.INFO: TCP Data received {"connection_id":89868,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:31:09] local.INFO: Processing buffer {"connection_id":89868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:31:09] local.INFO: IMEI packet received {"connection_id":89868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":89868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:31:10] local.INFO: TCP Data received {"connection_id":89868,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:31:10] local.INFO: Processing buffer {"connection_id":89868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:31:10] local.INFO: Packet analysis {"connection_id":89868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:31:10] local.INFO: Extracted packet for processing {"connection_id":89868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:31:10] 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-06-02 21:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:31:10] 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-06-02 21:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:31:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":89868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:31:10] local.INFO: GPS data processed {"connection_id":89868,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:31:10] local.INFO: Acknowledgment sent {"connection_id":89868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:31:22] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:31:22] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:31:22] local.INFO: IMEI packet received {"connection_id":90123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":90123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:31:28] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:31:28] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:31:28] local.INFO: IMEI packet received {"connection_id":90123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":90123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:31:28] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:31:29] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890c9620012cb29ac007823b18005100b825..."} 
[2026-06-02 21:31:29] local.INFO: Packet analysis {"connection_id":90123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:31:29] local.INFO: Extracted packet for processing {"connection_id":90123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":81,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786358528001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780415764000,"timestamp_ms":1780415764000,"timestamp_seconds":1780415764,"priority":1,"record_length":96,"hex_timestamp":"0000019e890c9620"} 
[2026-06-02 21:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:31: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-06-02 21: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-06-02 21:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:31: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-06-02 21:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786358528001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786358528001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:31:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786358528001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":90123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:31:29] local.INFO: GPS data processed {"connection_id":90123,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:31:29] local.INFO: Acknowledgment sent {"connection_id":90123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:31:41] local.INFO: TCP Data received {"connection_id":89868,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:31:41] local.INFO: Processing buffer {"connection_id":89868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e890cec10012d196500071ff058003e014624..."} 
[2026-06-02 21:31:41] local.INFO: Packet analysis {"connection_id":89868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:31:41] local.INFO: Extracted packet for processing {"connection_id":89868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e890c"} 
[2026-06-02 21:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786364160001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780415786000,"timestamp_ms":1780415786000,"timestamp_seconds":1780415786,"priority":1,"record_length":96,"hex_timestamp":"0000019e890cec10"} 
[2026-06-02 21:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:31:41] 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-06-02 21:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786364160001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786364160001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:31:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786364160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":89868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:31:42] local.INFO: GPS data processed {"connection_id":89868,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:31:42] local.INFO: Acknowledgment sent {"connection_id":89868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:32:00] local.INFO: TCP Data received {"connection_id":90123,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:32:00] local.INFO: Processing buffer {"connection_id":90123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:32:00] local.INFO: Packet analysis {"connection_id":90123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:00] local.INFO: Extracted packet for processing {"connection_id":90123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:32: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-06-02 21:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:32:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":90123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:32:00] local.INFO: GPS data processed {"connection_id":90123,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:32:00] local.INFO: Acknowledgment sent {"connection_id":90123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:32:04] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:04] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:04] local.INFO: IMEI packet received {"connection_id":90125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":90125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:32:05] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:05] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:05] local.INFO: IMEI packet received {"connection_id":90125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":90125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:32:09] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:09] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:32:09] local.INFO: IMEI packet received {"connection_id":90125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":90125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:32:10] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:32:10] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:32:10] local.INFO: Packet analysis {"connection_id":90125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:10] local.INFO: Extracted packet for processing {"connection_id":90125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:32:10] 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-06-02 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:32:10] 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-06-02 21:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":90125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:32:10] local.INFO: GPS data processed {"connection_id":90125,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:32:10] local.INFO: Acknowledgment sent {"connection_id":90125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:32:28] local.INFO: TCP Data received {"connection_id":91283,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:32:28] local.INFO: Processing buffer {"connection_id":91283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:32:28] local.INFO: IMEI packet received {"connection_id":91283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":91283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:32:33] local.INFO: TCP Data received {"connection_id":91283,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:32:33] local.INFO: Processing buffer {"connection_id":91283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:32:33] local.INFO: IMEI packet received {"connection_id":91283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":91283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:32:33] local.INFO: TCP Data received {"connection_id":91283,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:32:33] local.INFO: Processing buffer {"connection_id":91283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:32:33] local.INFO: Packet analysis {"connection_id":91283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:33] local.INFO: Extracted packet for processing {"connection_id":91283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:32:33] 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-06-02 21:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:32:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:32:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":91283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:32:33] local.INFO: GPS data processed {"connection_id":91283,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:32:33] local.INFO: Acknowledgment sent {"connection_id":91283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:32:41] local.INFO: TCP Data received {"connection_id":90125,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:32:41] local.INFO: Processing buffer {"connection_id":90125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:32:41] local.INFO: Packet analysis {"connection_id":90125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:41] local.INFO: Extracted packet for processing {"connection_id":90125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:32:41] 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-06-02 21:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":90125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:32:41] local.INFO: GPS data processed {"connection_id":90125,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:32:41] local.INFO: Acknowledgment sent {"connection_id":90125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:33:04] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:33:04] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:33:04] local.INFO: IMEI packet received {"connection_id":90217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":90217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:33:04] local.INFO: TCP Data received {"connection_id":91283,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:04] local.INFO: Processing buffer {"connection_id":91283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:04] local.INFO: Packet analysis {"connection_id":91283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:04] local.INFO: Extracted packet for processing {"connection_id":91283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":91283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":91283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":91283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:33:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":91283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:33:04] local.INFO: GPS data processed {"connection_id":91283,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:33:04] local.INFO: Acknowledgment sent {"connection_id":91283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:33:09] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:33:09] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:33:09] local.INFO: IMEI packet received {"connection_id":90217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":90217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:33:10] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:33:10] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:33:10] local.INFO: Packet analysis {"connection_id":90217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:10] local.INFO: Extracted packet for processing {"connection_id":90217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:33:10] 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-06-02 21:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:33:10] 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-06-02 21:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":90217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:33:10] local.INFO: GPS data processed {"connection_id":90217,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:33:10] local.INFO: Acknowledgment sent {"connection_id":90217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:33:22] local.INFO: TCP Data received {"connection_id":90126,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:33:22] local.INFO: Processing buffer {"connection_id":90126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:33:22] local.INFO: IMEI packet received {"connection_id":90126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":90126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:33:28] local.INFO: TCP Data received {"connection_id":90126,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:33:28] local.INFO: Processing buffer {"connection_id":90126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:33:28] local.INFO: IMEI packet received {"connection_id":90126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":90126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:33:28] local.INFO: TCP Data received {"connection_id":90126,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:28] local.INFO: Processing buffer {"connection_id":90126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:28] local.INFO: Packet analysis {"connection_id":90126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:28] local.INFO: Extracted packet for processing {"connection_id":90126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21: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-06-02 21:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:33:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:33:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":90126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:33:28] local.INFO: GPS data processed {"connection_id":90126,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:33:28] local.INFO: Acknowledgment sent {"connection_id":90126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:33:42] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:33:42] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:33:42] local.INFO: Packet analysis {"connection_id":90217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:42] local.INFO: Extracted packet for processing {"connection_id":90217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:33:42] 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-06-02 21:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:33:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":90217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:33:42] local.INFO: GPS data processed {"connection_id":90217,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:33:42] local.INFO: Acknowledgment sent {"connection_id":90217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:33:59] local.INFO: TCP Data received {"connection_id":90126,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:59] local.INFO: Processing buffer {"connection_id":90126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:33:59] local.INFO: Packet analysis {"connection_id":90126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:59] local.INFO: Extracted packet for processing {"connection_id":90126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 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-06-02 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:33:59] 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-06-02 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:33:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:33:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":90126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:33:59] local.INFO: GPS data processed {"connection_id":90126,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:33:59] local.INFO: Acknowledgment sent {"connection_id":90126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:34:04] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:34:04] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:34:04] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:34:09] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:34:09] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:34:09] local.INFO: IMEI packet received {"connection_id":89870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":89870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:34:10] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:34:10] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:34:10] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:10] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:34:10] 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-06-02 21:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:34:10] 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-06-02 21:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:34:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:34:10] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:34:10] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:34:22] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:34:22] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:34:22] local.INFO: IMEI packet received {"connection_id":90127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":90127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:34:28] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:34:28] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:34:28] local.INFO: IMEI packet received {"connection_id":90127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":90127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:34:28] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:34:28] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:34:28] local.INFO: Packet analysis {"connection_id":90127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:28] local.INFO: Extracted packet for processing {"connection_id":90127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:34: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-06-02 21:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:34:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:34:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":90127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:34:28] local.INFO: GPS data processed {"connection_id":90127,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:34:28] local.INFO: Acknowledgment sent {"connection_id":90127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:34:41] local.INFO: TCP Data received {"connection_id":89870,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:34:41] local.INFO: Processing buffer {"connection_id":89870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:34:41] local.INFO: Packet analysis {"connection_id":89870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:41] local.INFO: Extracted packet for processing {"connection_id":89870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:34:41] 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-06-02 21:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":89870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:34:41] local.INFO: GPS data processed {"connection_id":89870,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:34:41] local.INFO: Acknowledgment sent {"connection_id":89870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:34:59] local.INFO: TCP Data received {"connection_id":90127,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:34:59] local.INFO: Processing buffer {"connection_id":90127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:34:59] local.INFO: Packet analysis {"connection_id":90127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:59] local.INFO: Extracted packet for processing {"connection_id":90127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:34:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:34:59] 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-06-02 21:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:34:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":90127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:34:59] local.INFO: GPS data processed {"connection_id":90127,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:34:59] local.INFO: Acknowledgment sent {"connection_id":90127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:35:04] local.INFO: TCP Data received {"connection_id":90218,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:35:04] local.INFO: Processing buffer {"connection_id":90218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:35:04] local.INFO: IMEI packet received {"connection_id":90218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":90218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:35:09] local.INFO: TCP Data received {"connection_id":90218,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:35:09] local.INFO: Processing buffer {"connection_id":90218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:35:09] local.INFO: IMEI packet received {"connection_id":90218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":90218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:35:10] local.INFO: TCP Data received {"connection_id":90218,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:35:10] local.INFO: Processing buffer {"connection_id":90218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:35:10] local.INFO: Packet analysis {"connection_id":90218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:35:10] local.INFO: Extracted packet for processing {"connection_id":90218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:35:10] 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-06-02 21:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:35:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":90218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:35:10] local.INFO: GPS data processed {"connection_id":90218,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:35:10] local.INFO: Acknowledgment sent {"connection_id":90218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:35:22] local.INFO: TCP Data received {"connection_id":90128,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:35:22] local.INFO: Processing buffer {"connection_id":90128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:35:22] local.INFO: IMEI packet received {"connection_id":90128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":90128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:35:22] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:35:22] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:35:22] local.INFO: IMEI packet received {"connection_id":89871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":89871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:35:28] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:35:28] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:35:28] local.INFO: IMEI packet received {"connection_id":89871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":89871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:35:29] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:35:29] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:35:29] local.INFO: Packet analysis {"connection_id":89871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:35:29] local.INFO: Extracted packet for processing {"connection_id":89871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":89871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":89871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":89871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:35:29] 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-06-02 21:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:35:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":89871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:35:29] local.INFO: GPS data processed {"connection_id":89871,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:35:29] local.INFO: Acknowledgment sent {"connection_id":89871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:35:41] local.INFO: TCP Data received {"connection_id":90218,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:35:41] local.INFO: Processing buffer {"connection_id":90218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:35:41] local.INFO: Packet analysis {"connection_id":90218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:35:41] local.INFO: Extracted packet for processing {"connection_id":90218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:35:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":90218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:35:41] local.INFO: GPS data processed {"connection_id":90218,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:35:41] local.INFO: Acknowledgment sent {"connection_id":90218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:35:57] local.INFO: TCP Data received {"connection_id":90129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:35:57] local.INFO: Processing buffer {"connection_id":90129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:35:57] local.INFO: IMEI packet received {"connection_id":90129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":90129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:36:00] local.INFO: TCP Data received {"connection_id":89871,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:36:00] local.INFO: Processing buffer {"connection_id":89871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:36:00] local.INFO: Packet analysis {"connection_id":89871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:00] local.INFO: Extracted packet for processing {"connection_id":89871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:36:00] 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-06-02 21:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:36:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":89871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:36:00] local.INFO: GPS data processed {"connection_id":89871,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:36:00] local.INFO: Acknowledgment sent {"connection_id":89871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:36:04] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:36:04] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:36:04] local.INFO: IMEI packet received {"connection_id":90219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":90219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:36:09] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:36:09] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:36:09] local.INFO: IMEI packet received {"connection_id":90219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":90219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:36:10] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:36:10] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:36:10] local.INFO: Packet analysis {"connection_id":90219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:10] local.INFO: Extracted packet for processing {"connection_id":90219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:36:10] 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-06-02 21:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:36:10] 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-06-02 21:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:36:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":90219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:36:10] local.INFO: GPS data processed {"connection_id":90219,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:36:10] local.INFO: Acknowledgment sent {"connection_id":90219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:36:22] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:36:22] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:36:22] local.INFO: IMEI packet received {"connection_id":90220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":90220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:36:28] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:36:28] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:36:28] local.INFO: IMEI packet received {"connection_id":90220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":90220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:36:28] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:36:28] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89112de8012cb29ac007823b18004c00b825..."} 
[2026-06-02 21:36:28] local.INFO: Packet analysis {"connection_id":90220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:28] local.INFO: Extracted packet for processing {"connection_id":90220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786435584001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416065000,"timestamp_ms":1780416065000,"timestamp_seconds":1780416065,"priority":1,"record_length":96,"hex_timestamp":"0000019e89112de8"} 
[2026-06-02 21:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 21:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:36:28] 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-06-02 21:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786435584001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786435584001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:36:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:36:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786435584001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":90220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:36:28] local.INFO: GPS data processed {"connection_id":90220,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:36:28] local.INFO: Acknowledgment sent {"connection_id":90220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:36:41] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:36:41] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891183d8012d196500071ff058003e014625..."} 
[2026-06-02 21:36:41] local.INFO: Packet analysis {"connection_id":90219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:41] local.INFO: Extracted packet for processing {"connection_id":90219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8911"} 
[2026-06-02 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786441216001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416087000,"timestamp_ms":1780416087000,"timestamp_seconds":1780416087,"priority":1,"record_length":96,"hex_timestamp":"0000019e891183d8"} 
[2026-06-02 21:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:36:41] 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-06-02 21:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786441216001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786441216001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:36:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786441216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":90219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:36:41] local.INFO: GPS data processed {"connection_id":90219,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:36:41] local.INFO: Acknowledgment sent {"connection_id":90219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:36:59] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:36:59] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:36:59] local.INFO: Packet analysis {"connection_id":90220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:36:59] local.INFO: Extracted packet for processing {"connection_id":90220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 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-06-02 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:36:59] 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-06-02 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-06-02 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-06-02 21:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:36: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-06-02 21:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:36:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:36:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":90220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:36:59] local.INFO: GPS data processed {"connection_id":90220,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:36:59] local.INFO: Acknowledgment sent {"connection_id":90220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:37:04] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:04] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:04] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:37:06] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:06] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:06] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:37:09] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:09] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:37:09] local.INFO: IMEI packet received {"connection_id":89872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":89872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:37:10] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:37:10] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:37:10] local.INFO: Packet analysis {"connection_id":89872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:37:10] local.INFO: Extracted packet for processing {"connection_id":89872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:37:10] 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-06-02 21:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:37:10] 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-06-02 21:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:37:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":89872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:37:10] local.INFO: GPS data processed {"connection_id":89872,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:37:10] local.INFO: Acknowledgment sent {"connection_id":89872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:37:22] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:37:22] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:37:22] local.INFO: IMEI packet received {"connection_id":90131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":90131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:37:28] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:37:28] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:37:28] local.INFO: IMEI packet received {"connection_id":90131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":90131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:37:29] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:37:29] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:37:29] local.INFO: Packet analysis {"connection_id":90131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:37:29] local.INFO: Extracted packet for processing {"connection_id":90131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:37: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-06-02 21: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-06-02 21:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":90131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":90131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":90131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:37:29] 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-06-02 21:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:37:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":90131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:37:29] local.INFO: GPS data processed {"connection_id":90131,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:37:29] local.INFO: Acknowledgment sent {"connection_id":90131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:37:41] local.INFO: TCP Data received {"connection_id":89872,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:37:41] local.INFO: Processing buffer {"connection_id":89872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:37:41] local.INFO: Packet analysis {"connection_id":89872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:37:41] local.INFO: Extracted packet for processing {"connection_id":89872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":89872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:37:41] local.INFO: GPS data processed {"connection_id":89872,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:37:41] local.INFO: Acknowledgment sent {"connection_id":89872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:38:00] local.INFO: TCP Data received {"connection_id":90131,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:00] local.INFO: Processing buffer {"connection_id":90131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:00] local.INFO: Packet analysis {"connection_id":90131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:38:00] local.INFO: Extracted packet for processing {"connection_id":90131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:38:00] 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-06-02 21: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-06-02 21:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:38:00] 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-06-02 21:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:38:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":90131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:38:00] local.INFO: GPS data processed {"connection_id":90131,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:38:00] local.INFO: Acknowledgment sent {"connection_id":90131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:38:04] local.INFO: TCP Data received {"connection_id":90222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:38:04] local.INFO: Processing buffer {"connection_id":90222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:38:04] local.INFO: IMEI packet received {"connection_id":90222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":90222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:38:09] local.INFO: TCP Data received {"connection_id":90222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:38:09] local.INFO: Processing buffer {"connection_id":90222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:38:09] local.INFO: IMEI packet received {"connection_id":90222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":90222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:38:10] local.INFO: TCP Data received {"connection_id":90222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:38:10] local.INFO: Processing buffer {"connection_id":90222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:38:10] local.INFO: Packet analysis {"connection_id":90222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:38:10] local.INFO: Extracted packet for processing {"connection_id":90222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:38:10] 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-06-02 21:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:38:10] 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-06-02 21:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:38:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":90222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:38:10] local.INFO: GPS data processed {"connection_id":90222,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:38:10] local.INFO: Acknowledgment sent {"connection_id":90222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:38:22] local.INFO: TCP Data received {"connection_id":91285,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:38:22] local.INFO: Processing buffer {"connection_id":91285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:38:22] local.INFO: IMEI packet received {"connection_id":91285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":91285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:38:27] local.INFO: TCP Data received {"connection_id":91285,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:38:27] local.INFO: Processing buffer {"connection_id":91285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:38:27] local.INFO: IMEI packet received {"connection_id":91285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":91285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:38:28] local.INFO: TCP Data received {"connection_id":91285,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:28] local.INFO: Processing buffer {"connection_id":91285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:28] local.INFO: Packet analysis {"connection_id":91285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:38:28] local.INFO: Extracted packet for processing {"connection_id":91285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:38:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:38: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-06-02 21: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-06-02 21:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:38: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-06-02 21:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:38:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:38:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":91285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:38:28] local.INFO: GPS data processed {"connection_id":91285,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:38:28] local.INFO: Acknowledgment sent {"connection_id":91285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:38:33] local.INFO: TCP Data received {"connection_id":91285,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:33] local.INFO: Processing buffer {"connection_id":91285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:38:33] local.INFO: Packet analysis {"connection_id":91285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:38:33] local.INFO: Extracted packet for processing {"connection_id":91285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:38:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:38:33] 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-06-02 21:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:38:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:38:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":91285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:38:33] local.INFO: GPS data processed {"connection_id":91285,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:38:33] local.INFO: Acknowledgment sent {"connection_id":91285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:38:41] local.INFO: TCP Data received {"connection_id":90222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:38:41] local.INFO: Processing buffer {"connection_id":90222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:38:41] local.INFO: Packet analysis {"connection_id":90222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:38:41] local.INFO: Extracted packet for processing {"connection_id":90222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:38:41] 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-06-02 21:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:38:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":90222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:38:41] local.INFO: GPS data processed {"connection_id":90222,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:38:41] local.INFO: Acknowledgment sent {"connection_id":90222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:39:04] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:39:04] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:39:04] local.INFO: IMEI packet received {"connection_id":90133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":90133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:39:04] local.INFO: TCP Data received {"connection_id":91285,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:04] local.INFO: Processing buffer {"connection_id":91285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:04] local.INFO: Packet analysis {"connection_id":91285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:39:04] local.INFO: Extracted packet for processing {"connection_id":91285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:39:04] 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-06-02 21:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":91285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":91285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":91285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:39:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":91285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:39:04] local.INFO: GPS data processed {"connection_id":91285,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:39:04] local.INFO: Acknowledgment sent {"connection_id":91285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:39:09] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:39:09] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:39:09] local.INFO: IMEI packet received {"connection_id":90133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":90133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:39:10] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:39:10] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:39:10] local.INFO: Packet analysis {"connection_id":90133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:39:10] local.INFO: Extracted packet for processing {"connection_id":90133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:39:10] 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-06-02 21:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:39:10] 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-06-02 21:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:39:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":90133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:39:10] local.INFO: GPS data processed {"connection_id":90133,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:39:10] local.INFO: Acknowledgment sent {"connection_id":90133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:39:22] local.INFO: TCP Data received {"connection_id":90134,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:39:22] local.INFO: Processing buffer {"connection_id":90134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:39:22] local.INFO: IMEI packet received {"connection_id":90134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":90134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:39:28] local.INFO: TCP Data received {"connection_id":90134,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:39:28] local.INFO: Processing buffer {"connection_id":90134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:39:28] local.INFO: IMEI packet received {"connection_id":90134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":90134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:39:28] local.INFO: TCP Data received {"connection_id":90134,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:28] local.INFO: Processing buffer {"connection_id":90134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:28] local.INFO: Packet analysis {"connection_id":90134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:39:28] local.INFO: Extracted packet for processing {"connection_id":90134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:39:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:39: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-06-02 21: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-06-02 21:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21: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-06-02 21:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:39:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":90134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:39:28] local.INFO: GPS data processed {"connection_id":90134,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:39:28] local.INFO: Acknowledgment sent {"connection_id":90134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:39:41] local.INFO: TCP Data received {"connection_id":90133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:39:41] local.INFO: Processing buffer {"connection_id":90133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:39:41] local.INFO: Packet analysis {"connection_id":90133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:39:41] local.INFO: Extracted packet for processing {"connection_id":90133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:39:41] 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-06-02 21:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:39:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":90133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:39:41] local.INFO: GPS data processed {"connection_id":90133,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:39:41] local.INFO: Acknowledgment sent {"connection_id":90133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:39:59] local.INFO: TCP Data received {"connection_id":90134,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:59] local.INFO: Processing buffer {"connection_id":90134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:39:59] local.INFO: Packet analysis {"connection_id":90134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:39:59] local.INFO: Extracted packet for processing {"connection_id":90134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:39:59] 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-06-02 21: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-06-02 21:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:39: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-06-02 21:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:39:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:39:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":90134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:39:59] local.INFO: GPS data processed {"connection_id":90134,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:39:59] local.INFO: Acknowledgment sent {"connection_id":90134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:40:04] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:40:04] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:40:04] local.INFO: IMEI packet received {"connection_id":90223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":90223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:40:10] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:40:10] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:40:10] local.INFO: IMEI packet received {"connection_id":90223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":90223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:40:11] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:40:11] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:40:11] local.INFO: Packet analysis {"connection_id":90223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:40:11] local.INFO: Extracted packet for processing {"connection_id":90223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":90223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:40:11] 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-06-02 21:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:40:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":90223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:40:11] local.INFO: GPS data processed {"connection_id":90223,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:40:11] local.INFO: Acknowledgment sent {"connection_id":90223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:40:22] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:40:22] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:40:22] local.INFO: IMEI packet received {"connection_id":90224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":90224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:40:28] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:40:28] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:40:28] local.INFO: IMEI packet received {"connection_id":90224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":90224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:40:28] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:40:28] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:40:28] local.INFO: Packet analysis {"connection_id":90224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:40:28] local.INFO: Extracted packet for processing {"connection_id":90224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:40:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:40: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-06-02 21:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21: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-06-02 21:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:40:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:40:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":90224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:40:28] local.INFO: GPS data processed {"connection_id":90224,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:40:28] local.INFO: Acknowledgment sent {"connection_id":90224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:40:42] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:40:42] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:40:42] local.INFO: Packet analysis {"connection_id":90223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:40:42] local.INFO: Extracted packet for processing {"connection_id":90223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:40:42] 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-06-02 21:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:40:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":90223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:40:42] local.INFO: GPS data processed {"connection_id":90223,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:40:42] local.INFO: Acknowledgment sent {"connection_id":90223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:40:59] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:40:59] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:40:59] local.INFO: Packet analysis {"connection_id":90224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:40:59] local.INFO: Extracted packet for processing {"connection_id":90224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:40:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:40:59] 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-06-02 21: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-06-02 21:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:40: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-06-02 21:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:40:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:40:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":90224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:40:59] local.INFO: GPS data processed {"connection_id":90224,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:40:59] local.INFO: Acknowledgment sent {"connection_id":90224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:41:04] local.INFO: TCP Data received {"connection_id":90136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:41:04] local.INFO: Processing buffer {"connection_id":90136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:41:04] local.INFO: IMEI packet received {"connection_id":90136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":90136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:41:09] local.INFO: TCP Data received {"connection_id":90136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:41:09] local.INFO: Processing buffer {"connection_id":90136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:41:09] local.INFO: IMEI packet received {"connection_id":90136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":90136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:41:10] local.INFO: TCP Data received {"connection_id":90136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:41:10] local.INFO: Processing buffer {"connection_id":90136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:41:10] local.INFO: Packet analysis {"connection_id":90136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:41:10] local.INFO: Extracted packet for processing {"connection_id":90136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:41:10] 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-06-02 21:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:41:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":90136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:41:10] local.INFO: GPS data processed {"connection_id":90136,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:41:10] local.INFO: Acknowledgment sent {"connection_id":90136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:41:22] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:41:22] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:41:22] local.INFO: IMEI packet received {"connection_id":90225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":90225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:41:27] local.INFO: TCP Data received {"connection_id":90135,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:41:27] local.INFO: Processing buffer {"connection_id":90135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:41:27] local.INFO: IMEI packet received {"connection_id":90135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":90135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:41:28] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:41:28] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:41:28] local.INFO: IMEI packet received {"connection_id":90225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":90225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:41:28] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:41:28] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8915c5b0012cb29ac007823b18004c00b824..."} 
[2026-06-02 21:41:28] local.INFO: Packet analysis {"connection_id":90225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:41:28] local.INFO: Extracted packet for processing {"connection_id":90225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8915"} 
[2026-06-02 21:41:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786512640001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416366000,"timestamp_ms":1780416366000,"timestamp_seconds":1780416366,"priority":1,"record_length":96,"hex_timestamp":"0000019e8915c5b0"} 
[2026-06-02 21:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:41: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-06-02 21:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:41:28] 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-06-02 21:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786512640001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786512640001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:41:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786512640001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":90225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:41:29] local.INFO: GPS data processed {"connection_id":90225,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:41:29] local.INFO: Acknowledgment sent {"connection_id":90225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:41:41] local.INFO: TCP Data received {"connection_id":90136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:41:41] local.INFO: Processing buffer {"connection_id":90136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89161ba0012d196500071ff058003e014624..."} 
[2026-06-02 21:41:41] local.INFO: Packet analysis {"connection_id":90136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:41:41] local.INFO: Extracted packet for processing {"connection_id":90136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8916"} 
[2026-06-02 21:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786518272001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416388000,"timestamp_ms":1780416388000,"timestamp_seconds":1780416388,"priority":1,"record_length":96,"hex_timestamp":"0000019e89161ba0"} 
[2026-06-02 21:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 21:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786518272001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786518272001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:41:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786518272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":90136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:41:41] local.INFO: GPS data processed {"connection_id":90136,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:41:41] local.INFO: Acknowledgment sent {"connection_id":90136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:41:57] local.INFO: TCP Data received {"connection_id":89873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:41:57] local.INFO: Processing buffer {"connection_id":89873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:41:57] local.INFO: IMEI packet received {"connection_id":89873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":89873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:42:00] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:00] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:00] local.INFO: Packet analysis {"connection_id":90225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:00] local.INFO: Extracted packet for processing {"connection_id":90225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:42:00] 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-06-02 21:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:42:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":90225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:42:00] local.INFO: GPS data processed {"connection_id":90225,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:42:00] local.INFO: Acknowledgment sent {"connection_id":90225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:42:07] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:07] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:07] local.INFO: IMEI packet received {"connection_id":90226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":90226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:42:09] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:09] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:09] local.INFO: IMEI packet received {"connection_id":90226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":90226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:42:14] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:14] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:42:14] local.INFO: IMEI packet received {"connection_id":90226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":90226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:42:15] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:42:15] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:42:15] local.INFO: Packet analysis {"connection_id":90226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:15] local.INFO: Extracted packet for processing {"connection_id":90226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:42:15] 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-06-02 21:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":90226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:42:15] local.INFO: GPS data processed {"connection_id":90226,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:42:15] local.INFO: Acknowledgment sent {"connection_id":90226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:42:20] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:42:20] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:42:20] local.INFO: Packet analysis {"connection_id":90226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:20] local.INFO: Extracted packet for processing {"connection_id":90226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:42:20] 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-06-02 21:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:42:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":90226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:42:20] local.INFO: GPS data processed {"connection_id":90226,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:42:20] local.INFO: Acknowledgment sent {"connection_id":90226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:42:28] local.INFO: TCP Data received {"connection_id":91287,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:42:28] local.INFO: Processing buffer {"connection_id":91287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:42:28] local.INFO: IMEI packet received {"connection_id":91287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":91287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:42:33] local.INFO: TCP Data received {"connection_id":91287,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:42:33] local.INFO: Processing buffer {"connection_id":91287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:42:33] local.INFO: IMEI packet received {"connection_id":91287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":91287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:42:33] local.INFO: TCP Data received {"connection_id":91287,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:33] local.INFO: Processing buffer {"connection_id":91287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:33] local.INFO: Packet analysis {"connection_id":91287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:33] local.INFO: Extracted packet for processing {"connection_id":91287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:42:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:42:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":91287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:42:33] local.INFO: GPS data processed {"connection_id":91287,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:42:33] local.INFO: Acknowledgment sent {"connection_id":91287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:42:38] local.INFO: TCP Data received {"connection_id":91287,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:38] local.INFO: Processing buffer {"connection_id":91287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:42:38] local.INFO: Packet analysis {"connection_id":91287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:38] local.INFO: Extracted packet for processing {"connection_id":91287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:42:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:42:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:42:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":91287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:42:38] local.INFO: GPS data processed {"connection_id":91287,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:42:38] local.INFO: Acknowledgment sent {"connection_id":91287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:43:04] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:43:04] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:43:04] local.INFO: IMEI packet received {"connection_id":90227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":90227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:43:09] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:43:09] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:43:09] local.INFO: IMEI packet received {"connection_id":90227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":90227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:43:10] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:43:10] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:43:10] local.INFO: Packet analysis {"connection_id":90227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:10] local.INFO: Extracted packet for processing {"connection_id":90227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:43:10] 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-06-02 21:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:43:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":90227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:43:10] local.INFO: GPS data processed {"connection_id":90227,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:43:10] local.INFO: Acknowledgment sent {"connection_id":90227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:43:22] local.INFO: TCP Data received {"connection_id":91288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:43:22] local.INFO: Processing buffer {"connection_id":91288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:43:22] local.INFO: IMEI packet received {"connection_id":91288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":91288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:43:28] local.INFO: TCP Data received {"connection_id":91288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:43:28] local.INFO: Processing buffer {"connection_id":91288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:43:28] local.INFO: IMEI packet received {"connection_id":91288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":91288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:43:28] local.INFO: TCP Data received {"connection_id":91288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:43:28] local.INFO: Processing buffer {"connection_id":91288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:43:28] local.INFO: Packet analysis {"connection_id":91288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:28] local.INFO: Extracted packet for processing {"connection_id":91288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:43:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:43:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":91288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:43:28] local.INFO: GPS data processed {"connection_id":91288,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:43:28] local.INFO: Acknowledgment sent {"connection_id":91288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:43:41] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:43:41] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:43:41] local.INFO: Packet analysis {"connection_id":90227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:41] local.INFO: Extracted packet for processing {"connection_id":90227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:43:41] 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-06-02 21:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":90227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:43:41] local.INFO: GPS data processed {"connection_id":90227,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:43:41] local.INFO: Acknowledgment sent {"connection_id":90227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:43:59] local.INFO: TCP Data received {"connection_id":91288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:43:59] local.INFO: Processing buffer {"connection_id":91288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:43:59] local.INFO: Packet analysis {"connection_id":91288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:59] local.INFO: Extracted packet for processing {"connection_id":91288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:43:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:43: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-06-02 21:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:43:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:43:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":91288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:43:59] local.INFO: GPS data processed {"connection_id":91288,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:43:59] local.INFO: Acknowledgment sent {"connection_id":91288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:44:05] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:44:05] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:44:05] local.INFO: IMEI packet received {"connection_id":89874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":89874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:44:09] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:44:09] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:44:09] local.INFO: IMEI packet received {"connection_id":89874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":89874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:44:10] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:44:10] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:44:10] local.INFO: Packet analysis {"connection_id":89874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:10] local.INFO: Extracted packet for processing {"connection_id":89874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:44:10] 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-06-02 21:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:44:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":89874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:44:10] local.INFO: GPS data processed {"connection_id":89874,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:44:10] local.INFO: Acknowledgment sent {"connection_id":89874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:44:23] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:44:23] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:44:23] local.INFO: IMEI packet received {"connection_id":90228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":90228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:44:28] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:44:28] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:44:28] local.INFO: IMEI packet received {"connection_id":90228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":90228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:44:28] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:44:28] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:44:28] local.INFO: Packet analysis {"connection_id":90228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:28] local.INFO: Extracted packet for processing {"connection_id":90228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:44:28] 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-06-02 21:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:44:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":90228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:44:28] local.INFO: GPS data processed {"connection_id":90228,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:44:28] local.INFO: Acknowledgment sent {"connection_id":90228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:44:41] local.INFO: TCP Data received {"connection_id":89874,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:44:41] local.INFO: Processing buffer {"connection_id":89874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:44:41] local.INFO: Packet analysis {"connection_id":89874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:41] local.INFO: Extracted packet for processing {"connection_id":89874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:44:41] 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-06-02 21:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:44:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":89874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:44:41] local.INFO: GPS data processed {"connection_id":89874,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:44:41] local.INFO: Acknowledgment sent {"connection_id":89874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:44:59] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:44:59] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:44:59] local.INFO: Packet analysis {"connection_id":90228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:59] local.INFO: Extracted packet for processing {"connection_id":90228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:44:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 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-06-02 21:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 21:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:44:59] 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-06-02 21:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:44:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":90228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:44:59] local.INFO: GPS data processed {"connection_id":90228,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:44:59] local.INFO: Acknowledgment sent {"connection_id":90228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:45:04] local.INFO: TCP Data received {"connection_id":90229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:45:04] local.INFO: Processing buffer {"connection_id":90229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:45:04] local.INFO: IMEI packet received {"connection_id":90229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":90229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:45:09] local.INFO: TCP Data received {"connection_id":90229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:45:09] local.INFO: Processing buffer {"connection_id":90229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:45:09] local.INFO: IMEI packet received {"connection_id":90229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":90229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:45:10] local.INFO: TCP Data received {"connection_id":90229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:45:10] local.INFO: Processing buffer {"connection_id":90229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:45:10] local.INFO: Packet analysis {"connection_id":90229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:10] local.INFO: Extracted packet for processing {"connection_id":90229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:45:10] 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-06-02 21:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:45:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":90229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:45:10] local.INFO: GPS data processed {"connection_id":90229,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:45:10] local.INFO: Acknowledgment sent {"connection_id":90229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:45:22] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:45:22] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:45:22] local.INFO: IMEI packet received {"connection_id":90230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":90230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:45:28] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:45:28] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:45:28] local.INFO: IMEI packet received {"connection_id":90230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":90230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:45:28] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:45:28] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:45:28] local.INFO: Packet analysis {"connection_id":90230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:28] local.INFO: Extracted packet for processing {"connection_id":90230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:45: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-06-02 21:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:45:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:45:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":90230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:45:28] local.INFO: GPS data processed {"connection_id":90230,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:45:28] local.INFO: Acknowledgment sent {"connection_id":90230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:45:41] local.INFO: TCP Data received {"connection_id":90229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:45:41] local.INFO: Processing buffer {"connection_id":90229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:45:41] local.INFO: Packet analysis {"connection_id":90229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:41] local.INFO: Extracted packet for processing {"connection_id":90229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:45:41] 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-06-02 21:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":90229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:45:42] local.INFO: GPS data processed {"connection_id":90229,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:45:42] local.INFO: Acknowledgment sent {"connection_id":90229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:45:59] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:45:59] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:45:59] local.INFO: Packet analysis {"connection_id":90230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:59] local.INFO: Extracted packet for processing {"connection_id":90230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:45:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:45: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-06-02 21:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:45:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:45:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":90230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:45:59] local.INFO: GPS data processed {"connection_id":90230,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:45:59] local.INFO: Acknowledgment sent {"connection_id":90230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:46:04] local.INFO: TCP Data received {"connection_id":91290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:46:04] local.INFO: Processing buffer {"connection_id":91290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:46:04] local.INFO: IMEI packet received {"connection_id":91290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":91290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:46:09] local.INFO: TCP Data received {"connection_id":91290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:46:09] local.INFO: Processing buffer {"connection_id":91290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:46:09] local.INFO: IMEI packet received {"connection_id":91290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":91290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:46:10] local.INFO: TCP Data received {"connection_id":91290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:46:10] local.INFO: Processing buffer {"connection_id":91290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:46:10] local.INFO: Packet analysis {"connection_id":91290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:46:10] local.INFO: Extracted packet for processing {"connection_id":91290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:46:10] 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-06-02 21:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:46:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":91290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:46:10] local.INFO: GPS data processed {"connection_id":91290,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:46:10] local.INFO: Acknowledgment sent {"connection_id":91290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:46:22] local.INFO: TCP Data received {"connection_id":91291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:46:22] local.INFO: Processing buffer {"connection_id":91291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:46:22] local.INFO: IMEI packet received {"connection_id":91291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":91291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:46:28] local.INFO: TCP Data received {"connection_id":91291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:46:28] local.INFO: Processing buffer {"connection_id":91291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:46:28] local.INFO: IMEI packet received {"connection_id":91291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":91291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:46:28] local.INFO: TCP Data received {"connection_id":91291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:46:28] local.INFO: Processing buffer {"connection_id":91291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891a5d78012cb29ac007823b18004e00b823..."} 
[2026-06-02 21:46:28] local.INFO: Packet analysis {"connection_id":91291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:46:28] local.INFO: Extracted packet for processing {"connection_id":91291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:46:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786589696001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416667000,"timestamp_ms":1780416667000,"timestamp_seconds":1780416667,"priority":1,"record_length":96,"hex_timestamp":"0000019e891a5d78"} 
[2026-06-02 21:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 21:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:46:28] 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-06-02 21:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786589696001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786589696001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:46:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:46:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786589696001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":91291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:46:28] local.INFO: GPS data processed {"connection_id":91291,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:46:28] local.INFO: Acknowledgment sent {"connection_id":91291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:46:41] local.INFO: TCP Data received {"connection_id":91290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:46:41] local.INFO: Processing buffer {"connection_id":91290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ab368012d196500071ff058003e014625..."} 
[2026-06-02 21:46:41] local.INFO: Packet analysis {"connection_id":91290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:46:41] local.INFO: Extracted packet for processing {"connection_id":91290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891a"} 
[2026-06-02 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":62,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786595328001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416689000,"timestamp_ms":1780416689000,"timestamp_seconds":1780416689,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ab368"} 
[2026-06-02 21:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:46:41] 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-06-02 21:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786595328001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786595328001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:46:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786595328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":91290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:46:41] local.INFO: GPS data processed {"connection_id":91290,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:46:41] local.INFO: Acknowledgment sent {"connection_id":91290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:46:59] local.INFO: TCP Data received {"connection_id":91291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:46:59] local.INFO: Processing buffer {"connection_id":91291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:46:59] local.INFO: Packet analysis {"connection_id":91291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:46:59] local.INFO: Extracted packet for processing {"connection_id":91291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:46:59] 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-06-02 21:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:46:59] 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-06-02 21:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:46:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:46:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":91291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:46:59] local.INFO: GPS data processed {"connection_id":91291,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:46:59] local.INFO: Acknowledgment sent {"connection_id":91291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:47:08] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:08] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:08] local.INFO: IMEI packet received {"connection_id":90231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":90231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:47:09] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:09] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:09] local.INFO: IMEI packet received {"connection_id":90231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":90231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:47:12] local.INFO: TCP Data received {"connection_id":89875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:47:12] local.INFO: Processing buffer {"connection_id":89875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:47:12] local.INFO: IMEI packet received {"connection_id":89875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":89875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:47:14] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:14] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:47:14] local.INFO: IMEI packet received {"connection_id":90231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":90231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:47:15] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:47:15] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:47:15] local.INFO: Packet analysis {"connection_id":90231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:47:15] local.INFO: Extracted packet for processing {"connection_id":90231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:47:15] 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-06-02 21:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:47:15] 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-06-02 21:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":90231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:47:15] local.INFO: GPS data processed {"connection_id":90231,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:47:15] local.INFO: Acknowledgment sent {"connection_id":90231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:47:22] local.INFO: TCP Data received {"connection_id":90140,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:47:22] local.INFO: Processing buffer {"connection_id":90140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:47:22] local.INFO: IMEI packet received {"connection_id":90140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":90140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:47:28] local.INFO: TCP Data received {"connection_id":90140,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:47:28] local.INFO: Processing buffer {"connection_id":90140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:47:28] local.INFO: IMEI packet received {"connection_id":90140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":90140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:47:28] local.INFO: TCP Data received {"connection_id":90140,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:47:28] local.INFO: Processing buffer {"connection_id":90140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:47:28] local.INFO: Packet analysis {"connection_id":90140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:47:28] local.INFO: Extracted packet for processing {"connection_id":90140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:47: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-06-02 21:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:47:28] 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-06-02 21:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:47:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:47:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":90140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:47:28] local.INFO: GPS data processed {"connection_id":90140,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:47:28] local.INFO: Acknowledgment sent {"connection_id":90140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:47:46] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:47:46] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:47:46] local.INFO: Packet analysis {"connection_id":90231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:47:46] local.INFO: Extracted packet for processing {"connection_id":90231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21: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-06-02 21:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21: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-06-02 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:47: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-06-02 21:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":90231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:47: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-06-02 21:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":90231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:47:46] local.INFO: GPS data processed {"connection_id":90231,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:47:46] local.INFO: Acknowledgment sent {"connection_id":90231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:47:59] local.INFO: TCP Data received {"connection_id":90140,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:47:59] local.INFO: Processing buffer {"connection_id":90140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:47:59] local.INFO: Packet analysis {"connection_id":90140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:47:59] local.INFO: Extracted packet for processing {"connection_id":90140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:47:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:47: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-06-02 21:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:47:59] 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-06-02 21:47: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-06-02 21:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:47:59] 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-06-02 21:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:47:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:47:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":90140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:47:59] local.INFO: GPS data processed {"connection_id":90140,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:47:59] local.INFO: Acknowledgment sent {"connection_id":90140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:48:02] local.INFO: TCP Data received {"connection_id":90141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:48:02] local.INFO: Processing buffer {"connection_id":90141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:48:02] local.INFO: IMEI packet received {"connection_id":90141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":90141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:48:04] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:48:04] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:48:04] local.INFO: IMEI packet received {"connection_id":89876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":89876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:48:09] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:48:09] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:48:09] local.INFO: IMEI packet received {"connection_id":89876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":89876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:48:10] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:48:10] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:48:10] local.INFO: Packet analysis {"connection_id":89876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:48:10] local.INFO: Extracted packet for processing {"connection_id":89876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:48:10] 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-06-02 21:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:48:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":89876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:48:10] local.INFO: GPS data processed {"connection_id":89876,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:48:10] local.INFO: Acknowledgment sent {"connection_id":89876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:48:28] local.INFO: TCP Data received {"connection_id":91292,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:48:28] local.INFO: Processing buffer {"connection_id":91292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:48:28] local.INFO: IMEI packet received {"connection_id":91292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":91292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:48:33] local.INFO: TCP Data received {"connection_id":91292,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:48:33] local.INFO: Processing buffer {"connection_id":91292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:48:33] local.INFO: IMEI packet received {"connection_id":91292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":91292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:48:33] local.INFO: TCP Data received {"connection_id":91292,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:48:33] local.INFO: Processing buffer {"connection_id":91292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:48:33] local.INFO: Packet analysis {"connection_id":91292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:48:33] local.INFO: Extracted packet for processing {"connection_id":91292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:48:33] 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-06-02 21:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:48:33] 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-06-02 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:48:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":91292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:48:33] local.INFO: GPS data processed {"connection_id":91292,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:48:33] local.INFO: Acknowledgment sent {"connection_id":91292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:48:38] local.INFO: TCP Data received {"connection_id":91292,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:48:38] local.INFO: Processing buffer {"connection_id":91292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:48:38] local.INFO: Packet analysis {"connection_id":91292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:48:38] local.INFO: Extracted packet for processing {"connection_id":91292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:48:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:48:38] 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-06-02 21: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-06-02 21:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:48:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:48:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":91292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:48:38] local.INFO: GPS data processed {"connection_id":91292,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:48:38] local.INFO: Acknowledgment sent {"connection_id":91292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:48:41] local.INFO: TCP Data received {"connection_id":89876,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:48:41] local.INFO: Processing buffer {"connection_id":89876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:48:41] local.INFO: Packet analysis {"connection_id":89876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:48:41] local.INFO: Extracted packet for processing {"connection_id":89876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:48:41] 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-06-02 21:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:48:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":89876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:48:41] local.INFO: GPS data processed {"connection_id":89876,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:48:41] local.INFO: Acknowledgment sent {"connection_id":89876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:49:04] local.INFO: TCP Data received {"connection_id":91295,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:49:04] local.INFO: Processing buffer {"connection_id":91295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:49:04] local.INFO: IMEI packet received {"connection_id":91295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":91295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:49:09] local.INFO: TCP Data received {"connection_id":91295,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:49:09] local.INFO: Processing buffer {"connection_id":91295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:49:09] local.INFO: IMEI packet received {"connection_id":91295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":91295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:49:10] local.INFO: TCP Data received {"connection_id":91295,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:49:10] local.INFO: Processing buffer {"connection_id":91295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:49:10] local.INFO: Packet analysis {"connection_id":91295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:49:10] local.INFO: Extracted packet for processing {"connection_id":91295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:49:10] 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-06-02 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:49:10] 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-06-02 21:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:49:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":91295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:49:10] local.INFO: GPS data processed {"connection_id":91295,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:49:10] local.INFO: Acknowledgment sent {"connection_id":91295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:49:22] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:49:22] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:49:22] local.INFO: IMEI packet received {"connection_id":90232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":90232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:49:28] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:49:28] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:49:28] local.INFO: IMEI packet received {"connection_id":90232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":90232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:49:28] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:49:28] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:49:28] local.INFO: Packet analysis {"connection_id":90232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:49:28] local.INFO: Extracted packet for processing {"connection_id":90232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:49: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-06-02 21: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-06-02 21:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:49: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-06-02 21:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:49:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:49:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":90232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:49:28] local.INFO: GPS data processed {"connection_id":90232,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:49:28] local.INFO: Acknowledgment sent {"connection_id":90232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:49:41] local.INFO: TCP Data received {"connection_id":91295,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:49:41] local.INFO: Processing buffer {"connection_id":91295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:49:41] local.INFO: Packet analysis {"connection_id":91295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:49:41] local.INFO: Extracted packet for processing {"connection_id":91295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:49:41] 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-06-02 21:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:49:41] 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-06-02 21:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:49:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":91295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:49:41] local.INFO: GPS data processed {"connection_id":91295,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:49:41] local.INFO: Acknowledgment sent {"connection_id":91295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:49:59] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:49:59] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:49:59] local.INFO: Packet analysis {"connection_id":90232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:49:59] local.INFO: Extracted packet for processing {"connection_id":90232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:49:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:49:59] 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-06-02 21: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-06-02 21:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:49: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-06-02 21:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:49:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:49:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":90232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:49:59] local.INFO: GPS data processed {"connection_id":90232,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:49:59] local.INFO: Acknowledgment sent {"connection_id":90232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:50:04] local.INFO: TCP Data received {"connection_id":91296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:50:04] local.INFO: Processing buffer {"connection_id":91296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:50:04] local.INFO: IMEI packet received {"connection_id":91296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":91296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:50:09] local.INFO: TCP Data received {"connection_id":91296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:50:09] local.INFO: Processing buffer {"connection_id":91296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:50:09] local.INFO: IMEI packet received {"connection_id":91296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":91296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:50:10] local.INFO: TCP Data received {"connection_id":91296,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:50:10] local.INFO: Processing buffer {"connection_id":91296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:50:10] local.INFO: Packet analysis {"connection_id":91296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:50:10] local.INFO: Extracted packet for processing {"connection_id":91296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:50:10] 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-06-02 21:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:50:10] 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-06-02 21:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":91296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:50:10] local.INFO: GPS data processed {"connection_id":91296,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:50:10] local.INFO: Acknowledgment sent {"connection_id":91296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:50:23] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:50:23] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:50:23] local.INFO: IMEI packet received {"connection_id":90143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":90143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:50:28] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:50:28] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:50:28] local.INFO: IMEI packet received {"connection_id":90143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":90143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:50:28] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:50:28] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:50:28] local.INFO: Packet analysis {"connection_id":90143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:50:28] local.INFO: Extracted packet for processing {"connection_id":90143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:50:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:50: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-06-02 21: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-06-02 21:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:50: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-06-02 21:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:50:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":90143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:50:28] local.INFO: GPS data processed {"connection_id":90143,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:50:28] local.INFO: Acknowledgment sent {"connection_id":90143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:50:41] local.INFO: TCP Data received {"connection_id":91296,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:50:41] local.INFO: Processing buffer {"connection_id":91296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:50:41] local.INFO: Packet analysis {"connection_id":91296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:50:41] local.INFO: Extracted packet for processing {"connection_id":91296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:50:41] 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-06-02 21:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:50:41] 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-06-02 21:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:50:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":91296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:50:41] local.INFO: GPS data processed {"connection_id":91296,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:50:41] local.INFO: Acknowledgment sent {"connection_id":91296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:50:59] local.INFO: TCP Data received {"connection_id":90143,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:50:59] local.INFO: Processing buffer {"connection_id":90143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:50:59] local.INFO: Packet analysis {"connection_id":90143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:50:59] local.INFO: Extracted packet for processing {"connection_id":90143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:50:59] 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-06-02 21: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-06-02 21:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:50:59] 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-06-02 21:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:50:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:50:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":90143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:50:59] local.INFO: GPS data processed {"connection_id":90143,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:50:59] local.INFO: Acknowledgment sent {"connection_id":90143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:51:09] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:51:09] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:51:09] local.INFO: IMEI packet received {"connection_id":90233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":90233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:51:14] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:51:14] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:51:14] local.INFO: IMEI packet received {"connection_id":90233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":90233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:51:15] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:51:15] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:51:15] local.INFO: Packet analysis {"connection_id":90233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:51:15] local.INFO: Extracted packet for processing {"connection_id":90233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 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-06-02 21:51:15] 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-06-02 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 21:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:51:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":90233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:51:15] local.INFO: GPS data processed {"connection_id":90233,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:51:15] local.INFO: Acknowledgment sent {"connection_id":90233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:51:20] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:51:20] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891f4b30012d196500071ff058004f014627..."} 
[2026-06-02 21:51:20] local.INFO: Packet analysis {"connection_id":90233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:51:20] local.INFO: Extracted packet for processing {"connection_id":90233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 21:51:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786672384001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780416990000,"timestamp_ms":1780416990000,"timestamp_seconds":1780416990,"priority":1,"record_length":96,"hex_timestamp":"0000019e891f4b30"} 
[2026-06-02 21:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:51:20] 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-06-02 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786672384001,"66":2144,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 21:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786672384001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:51:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:51:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786672384001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":90233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:51:20] local.INFO: GPS data processed {"connection_id":90233,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:51:20] local.INFO: Acknowledgment sent {"connection_id":90233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:51:22] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:51:22] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:51:22] local.INFO: IMEI packet received {"connection_id":90145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":90145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:51:28] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:51:28] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:51:28] local.INFO: IMEI packet received {"connection_id":90145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":90145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:51:28] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:51:28] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891ef540012cb29ac007823b18004c00b827..."} 
[2026-06-02 21:51:28] local.INFO: Packet analysis {"connection_id":90145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:51:28] local.INFO: Extracted packet for processing {"connection_id":90145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891e"} 
[2026-06-02 21:51:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786666752001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780416968000,"timestamp_ms":1780416968000,"timestamp_seconds":1780416968,"priority":1,"record_length":96,"hex_timestamp":"0000019e891ef540"} 
[2026-06-02 21:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 21:51: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-06-02 21:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:51: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-06-02 21:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786666752001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786666752001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:51:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786666752001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":90145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:51:28] local.INFO: GPS data processed {"connection_id":90145,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:51:28] local.INFO: Acknowledgment sent {"connection_id":90145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:51:59] local.INFO: TCP Data received {"connection_id":90145,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:51:59] local.INFO: Processing buffer {"connection_id":90145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:51:59] local.INFO: Packet analysis {"connection_id":90145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:51:59] local.INFO: Extracted packet for processing {"connection_id":90145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:51:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:51:59] 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-06-02 21: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-06-02 21:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:51: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-06-02 21:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:51:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":90145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:51:59] local.INFO: GPS data processed {"connection_id":90145,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:51:59] local.INFO: Acknowledgment sent {"connection_id":90145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:52:04] local.INFO: TCP Data received {"connection_id":89877,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:52:04] local.INFO: Processing buffer {"connection_id":89877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:52:04] local.INFO: IMEI packet received {"connection_id":89877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":89877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:52:09] local.INFO: TCP Data received {"connection_id":89877,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:52:09] local.INFO: Processing buffer {"connection_id":89877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:52:09] local.INFO: IMEI packet received {"connection_id":89877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":89877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:52:10] local.INFO: TCP Data received {"connection_id":89877,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:52:10] local.INFO: Processing buffer {"connection_id":89877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:52:10] local.INFO: Packet analysis {"connection_id":89877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:10] local.INFO: Extracted packet for processing {"connection_id":89877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:52:10] 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-06-02 21:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:52:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":89877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:52:10] local.INFO: GPS data processed {"connection_id":89877,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:52:10] local.INFO: Acknowledgment sent {"connection_id":89877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:52:22] local.INFO: TCP Data received {"connection_id":90234,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:52:22] local.INFO: Processing buffer {"connection_id":90234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:52:22] local.INFO: IMEI packet received {"connection_id":90234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":90234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:52:28] local.INFO: TCP Data received {"connection_id":90234,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:52:28] local.INFO: Processing buffer {"connection_id":90234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:52:28] local.INFO: IMEI packet received {"connection_id":90234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":90234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:52:28] local.INFO: TCP Data received {"connection_id":90234,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:52:28] local.INFO: Processing buffer {"connection_id":90234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:52:28] local.INFO: Packet analysis {"connection_id":90234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:28] local.INFO: Extracted packet for processing {"connection_id":90234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:52:28] 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-06-02 21:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:52:28] 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-06-02 21:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:52:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:52:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":90234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:52:28] local.INFO: GPS data processed {"connection_id":90234,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:52:28] local.INFO: Acknowledgment sent {"connection_id":90234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:52:41] local.INFO: TCP Data received {"connection_id":89877,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:52:41] local.INFO: Processing buffer {"connection_id":89877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:52:41] local.INFO: Packet analysis {"connection_id":89877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:41] local.INFO: Extracted packet for processing {"connection_id":89877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:52:41] 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-06-02 21:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:52:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":89877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:52:42] local.INFO: GPS data processed {"connection_id":89877,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:52:42] local.INFO: Acknowledgment sent {"connection_id":89877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:52:59] local.INFO: TCP Data received {"connection_id":90234,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:52:59] local.INFO: Processing buffer {"connection_id":90234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:52:59] local.INFO: Packet analysis {"connection_id":90234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:59] local.INFO: Extracted packet for processing {"connection_id":90234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:52:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 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-06-02 21:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:52:59] 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-06-02 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-06-02 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-06-02 21:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:52:59] 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-06-02 21:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:52:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:52:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":90234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:52:59] local.INFO: GPS data processed {"connection_id":90234,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:52:59] local.INFO: Acknowledgment sent {"connection_id":90234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:53:05] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:53:05] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:53:05] local.INFO: IMEI packet received {"connection_id":90235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":90235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:53:09] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:53:09] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:53:09] local.INFO: IMEI packet received {"connection_id":90235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":90235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:53:10] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:53:10] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:53:10] local.INFO: Packet analysis {"connection_id":90235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:10] local.INFO: Extracted packet for processing {"connection_id":90235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:53:10] 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-06-02 21:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:53:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":90235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:53:10] local.INFO: GPS data processed {"connection_id":90235,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:53:10] local.INFO: Acknowledgment sent {"connection_id":90235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:53:22] local.INFO: TCP Data received {"connection_id":90147,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:53:22] local.INFO: Processing buffer {"connection_id":90147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:53:22] local.INFO: IMEI packet received {"connection_id":90147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":90147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:53:22] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:53:22] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:53:22] local.INFO: IMEI packet received {"connection_id":89878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":89878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:53:28] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:53:28] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:53:28] local.INFO: IMEI packet received {"connection_id":89878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":89878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:53:28] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:53:28] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:53:28] local.INFO: Packet analysis {"connection_id":89878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:28] local.INFO: Extracted packet for processing {"connection_id":89878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:53:28] 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-06-02 21: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-06-02 21:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:53:28] 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-06-02 21:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":89878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:53:28] local.INFO: GPS data processed {"connection_id":89878,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:53:28] local.INFO: Acknowledgment sent {"connection_id":89878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:53:41] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:53:41] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:53:41] local.INFO: Packet analysis {"connection_id":90235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:41] local.INFO: Extracted packet for processing {"connection_id":90235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:53:41] 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-06-02 21:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:53:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":90235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:53:42] local.INFO: GPS data processed {"connection_id":90235,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:53:42] local.INFO: Acknowledgment sent {"connection_id":90235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:53:57] local.INFO: TCP Data received {"connection_id":89879,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:53:57] local.INFO: Processing buffer {"connection_id":89879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:53:57] local.INFO: IMEI packet received {"connection_id":89879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":89879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:53:59] local.INFO: TCP Data received {"connection_id":89878,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:53:59] local.INFO: Processing buffer {"connection_id":89878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:53:59] local.INFO: Packet analysis {"connection_id":89878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:59] local.INFO: Extracted packet for processing {"connection_id":89878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:53:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:53: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-06-02 21:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:53:59] 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-06-02 21:53: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-06-02 21:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:53:59] 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-06-02 21:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:53:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:53:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":89878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:53:59] local.INFO: GPS data processed {"connection_id":89878,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:53:59] local.INFO: Acknowledgment sent {"connection_id":89878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:54:04] local.INFO: TCP Data received {"connection_id":90236,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:54:04] local.INFO: Processing buffer {"connection_id":90236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:54:04] local.INFO: IMEI packet received {"connection_id":90236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":90236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:54:09] local.INFO: TCP Data received {"connection_id":90236,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:54:09] local.INFO: Processing buffer {"connection_id":90236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:54:09] local.INFO: IMEI packet received {"connection_id":90236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":90236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:54:10] local.INFO: TCP Data received {"connection_id":90236,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:54:10] local.INFO: Processing buffer {"connection_id":90236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:54:10] local.INFO: Packet analysis {"connection_id":90236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:10] local.INFO: Extracted packet for processing {"connection_id":90236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:54:10] 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-06-02 21:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:54:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":90236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:54:10] local.INFO: GPS data processed {"connection_id":90236,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:54:10] local.INFO: Acknowledgment sent {"connection_id":90236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:54:28] local.INFO: TCP Data received {"connection_id":91297,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:54:28] local.INFO: Processing buffer {"connection_id":91297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:54:28] local.INFO: IMEI packet received {"connection_id":91297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":91297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:54:33] local.INFO: TCP Data received {"connection_id":91297,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:54:33] local.INFO: Processing buffer {"connection_id":91297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:54:33] local.INFO: IMEI packet received {"connection_id":91297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":91297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:54:33] local.INFO: TCP Data received {"connection_id":91297,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:54:33] local.INFO: Processing buffer {"connection_id":91297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:54:33] local.INFO: Packet analysis {"connection_id":91297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:33] local.INFO: Extracted packet for processing {"connection_id":91297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:54:33] 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-06-02 21:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:54:33] 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-06-02 21:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:54:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":91297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:54:33] local.INFO: GPS data processed {"connection_id":91297,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:54:33] local.INFO: Acknowledgment sent {"connection_id":91297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:54:38] local.INFO: TCP Data received {"connection_id":91297,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:54:38] local.INFO: Processing buffer {"connection_id":91297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:54:38] local.INFO: Packet analysis {"connection_id":91297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:38] local.INFO: Extracted packet for processing {"connection_id":91297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:54:38] 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-06-02 21: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-06-02 21:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:54:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":91297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:54:38] local.INFO: GPS data processed {"connection_id":91297,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:54:38] local.INFO: Acknowledgment sent {"connection_id":91297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:54:41] local.INFO: TCP Data received {"connection_id":90236,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:54:41] local.INFO: Processing buffer {"connection_id":90236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:54:41] local.INFO: Packet analysis {"connection_id":90236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:41] local.INFO: Extracted packet for processing {"connection_id":90236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:54:41] 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-06-02 21:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:54:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":90236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:54:41] local.INFO: GPS data processed {"connection_id":90236,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:54:41] local.INFO: Acknowledgment sent {"connection_id":90236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:55:04] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:55:04] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:55:04] local.INFO: IMEI packet received {"connection_id":90148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":90148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:55:09] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:55:09] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:55:09] local.INFO: IMEI packet received {"connection_id":90148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":90148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:55:10] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:55:10] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:55:10] local.INFO: Packet analysis {"connection_id":90148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:10] local.INFO: Extracted packet for processing {"connection_id":90148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:55:10] 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-06-02 21:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":90148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:55:10] local.INFO: GPS data processed {"connection_id":90148,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:55:10] local.INFO: Acknowledgment sent {"connection_id":90148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:55:22] local.INFO: TCP Data received {"connection_id":91299,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:55:22] local.INFO: Processing buffer {"connection_id":91299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:55:22] local.INFO: IMEI packet received {"connection_id":91299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":91299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:55:28] local.INFO: TCP Data received {"connection_id":91299,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:55:28] local.INFO: Processing buffer {"connection_id":91299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:55:28] local.INFO: IMEI packet received {"connection_id":91299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":91299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:55:28] local.INFO: TCP Data received {"connection_id":91299,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:55:28] local.INFO: Processing buffer {"connection_id":91299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:55:28] local.INFO: Packet analysis {"connection_id":91299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:28] local.INFO: Extracted packet for processing {"connection_id":91299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:55:28] 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-06-02 21: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-06-02 21:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:55:28] 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-06-02 21:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:55:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:55:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":91299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:55:28] local.INFO: GPS data processed {"connection_id":91299,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:55:28] local.INFO: Acknowledgment sent {"connection_id":91299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:55:41] local.INFO: TCP Data received {"connection_id":90148,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:55:41] local.INFO: Processing buffer {"connection_id":90148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:55:41] local.INFO: Packet analysis {"connection_id":90148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:41] local.INFO: Extracted packet for processing {"connection_id":90148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:55:41] 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-06-02 21:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:55:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":90148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:55:41] local.INFO: GPS data processed {"connection_id":90148,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:55:41] local.INFO: Acknowledgment sent {"connection_id":90148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:55:59] local.INFO: TCP Data received {"connection_id":91299,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:55:59] local.INFO: Processing buffer {"connection_id":91299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:55:59] local.INFO: Packet analysis {"connection_id":91299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:59] local.INFO: Extracted packet for processing {"connection_id":91299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 21:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:55:59] 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-06-02 21: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-06-02 21:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:55:59] 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-06-02 21:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:55:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":91299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:55:59] local.INFO: GPS data processed {"connection_id":91299,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:55:59] local.INFO: Acknowledgment sent {"connection_id":91299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:56:09] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:56:09] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:56:09] local.INFO: IMEI packet received {"connection_id":90237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":90237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:56:14] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:56:14] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:56:14] local.INFO: IMEI packet received {"connection_id":90237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":90237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:56:15] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:56:15] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:56:15] local.INFO: Packet analysis {"connection_id":90237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:56:15] local.INFO: Extracted packet for processing {"connection_id":90237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:56:15] 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-06-02 21:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:56:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":90237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:56:15] local.INFO: GPS data processed {"connection_id":90237,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:56:15] local.INFO: Acknowledgment sent {"connection_id":90237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:56:20] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:56:20] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:56:20] local.INFO: Packet analysis {"connection_id":90237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:56:20] local.INFO: Extracted packet for processing {"connection_id":90237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21: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-06-02 21:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:56:20] 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-06-02 21:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:56:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":90237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:56:20] local.INFO: GPS data processed {"connection_id":90237,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:56:20] local.INFO: Acknowledgment sent {"connection_id":90237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:56:23] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:56:23] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:56:23] local.INFO: IMEI packet received {"connection_id":89881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":89881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:56:28] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:56:28] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:56:28] local.INFO: IMEI packet received {"connection_id":89881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":89881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:56:28] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:56:28] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89238d08012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:56:28] local.INFO: Packet analysis {"connection_id":89881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:56:28] local.INFO: Extracted packet for processing {"connection_id":89881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 21:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786743808001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417269000,"timestamp_ms":1780417269000,"timestamp_seconds":1780417269,"priority":1,"record_length":96,"hex_timestamp":"0000019e89238d08"} 
[2026-06-02 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-06-02 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:56:28] 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-06-02 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-06-02 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-06-02 21:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786743808001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786743808001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:56:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786743808001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":89881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:56:28] local.INFO: GPS data processed {"connection_id":89881,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:56:28] local.INFO: Acknowledgment sent {"connection_id":89881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:56:59] local.INFO: TCP Data received {"connection_id":89881,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:56:59] local.INFO: Processing buffer {"connection_id":89881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:56:59] local.INFO: Packet analysis {"connection_id":89881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:56:59] local.INFO: Extracted packet for processing {"connection_id":89881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:56: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-06-02 21:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 21:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:56:59] 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-06-02 21:56: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-06-02 21:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:56:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:56:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":89881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:56:59] local.INFO: GPS data processed {"connection_id":89881,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:56:59] local.INFO: Acknowledgment sent {"connection_id":89881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:57:04] local.INFO: TCP Data received {"connection_id":91300,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:57:04] local.INFO: Processing buffer {"connection_id":91300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:57:04] local.INFO: IMEI packet received {"connection_id":91300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":91300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:57:09] local.INFO: TCP Data received {"connection_id":91300,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:57:09] local.INFO: Processing buffer {"connection_id":91300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:57:09] local.INFO: IMEI packet received {"connection_id":91300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":91300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:57:10] local.INFO: TCP Data received {"connection_id":91300,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:57:10] local.INFO: Processing buffer {"connection_id":91300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8923e2f8012d196500071ff058004f014628..."} 
[2026-06-02 21:57:10] local.INFO: Packet analysis {"connection_id":91300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:57:10] local.INFO: Extracted packet for processing {"connection_id":91300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8923"} 
[2026-06-02 21:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786749440001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417291000,"timestamp_ms":1780417291000,"timestamp_seconds":1780417291,"priority":1,"record_length":96,"hex_timestamp":"0000019e8923e2f8"} 
[2026-06-02 21:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-02 21:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:57:10] 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-06-02 21:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786749440001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786749440001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:57:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786749440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":91300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:57:10] local.INFO: GPS data processed {"connection_id":91300,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:57:10] local.INFO: Acknowledgment sent {"connection_id":91300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:57:22] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:57:22] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:57:22] local.INFO: IMEI packet received {"connection_id":89882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":89882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:57:28] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:57:28] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:57:28] local.INFO: IMEI packet received {"connection_id":89882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:57:28] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:57:28] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:57:28] local.INFO: Packet analysis {"connection_id":89882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:57:28] local.INFO: Extracted packet for processing {"connection_id":89882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:57:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 21:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:57:28] 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-06-02 21:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:57: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-06-02 21:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:57:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:57:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":89882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:57:28] local.INFO: GPS data processed {"connection_id":89882,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:57:28] local.INFO: Acknowledgment sent {"connection_id":89882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:57:42] local.INFO: TCP Data received {"connection_id":91300,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:57:42] local.INFO: Processing buffer {"connection_id":91300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:57:42] local.INFO: Packet analysis {"connection_id":91300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:57:42] local.INFO: Extracted packet for processing {"connection_id":91300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 21:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":91300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":91300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":91300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:57:42] 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-06-02 21:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:57:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":91300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:57:42] local.INFO: GPS data processed {"connection_id":91300,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:57:42] local.INFO: Acknowledgment sent {"connection_id":91300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:57:59] local.INFO: TCP Data received {"connection_id":89882,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:57:59] local.INFO: Processing buffer {"connection_id":89882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:57:59] local.INFO: Packet analysis {"connection_id":89882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:57:59] local.INFO: Extracted packet for processing {"connection_id":89882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:57:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 21:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:57:59] 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-06-02 21:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:57: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-06-02 21:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:57:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:57:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":89882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:57:59] local.INFO: GPS data processed {"connection_id":89882,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:57:59] local.INFO: Acknowledgment sent {"connection_id":89882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:58:04] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:58:04] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:58:04] local.INFO: IMEI packet received {"connection_id":89883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":89883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:58:09] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:58:09] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:58:09] local.INFO: IMEI packet received {"connection_id":89883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":89883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:58:10] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:58:10] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:58:10] local.INFO: Packet analysis {"connection_id":89883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:10] local.INFO: Extracted packet for processing {"connection_id":89883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 21:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:58:10] 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-06-02 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:58:10] 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-06-02 21:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:58:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":89883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:58:10] local.INFO: GPS data processed {"connection_id":89883,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:58:10] local.INFO: Acknowledgment sent {"connection_id":89883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:58:22] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:58:22] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:58:22] local.INFO: IMEI packet received {"connection_id":89884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":89884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:58:28] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:58:28] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:58:28] local.INFO: IMEI packet received {"connection_id":89884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":89884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:58:28] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:58:28] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:58:28] local.INFO: Packet analysis {"connection_id":89884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:28] local.INFO: Extracted packet for processing {"connection_id":89884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 21:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:58:28] 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-06-02 21: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-06-02 21:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:58:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":89884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:58:28] local.INFO: GPS data processed {"connection_id":89884,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:58:28] local.INFO: Acknowledgment sent {"connection_id":89884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:58:42] local.INFO: TCP Data received {"connection_id":89883,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:58:42] local.INFO: Processing buffer {"connection_id":89883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:58:42] local.INFO: Packet analysis {"connection_id":89883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:42] local.INFO: Extracted packet for processing {"connection_id":89883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 21:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:58:42] 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-06-02 21:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:58:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":89883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:58:42] local.INFO: GPS data processed {"connection_id":89883,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:58:42] local.INFO: Acknowledgment sent {"connection_id":89883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:58:59] local.INFO: TCP Data received {"connection_id":89884,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:58:59] local.INFO: Processing buffer {"connection_id":89884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:58:59] local.INFO: Packet analysis {"connection_id":89884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:59] local.INFO: Extracted packet for processing {"connection_id":89884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:58:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 21:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:58:59] 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-06-02 21: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-06-02 21:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:58: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-06-02 21:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:58:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:58:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":89884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:58:59] local.INFO: GPS data processed {"connection_id":89884,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:58:59] local.INFO: Acknowledgment sent {"connection_id":89884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:59:04] local.INFO: TCP Data received {"connection_id":91302,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:59:04] local.INFO: Processing buffer {"connection_id":91302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:59:04] local.INFO: IMEI packet received {"connection_id":91302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":91302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:59:09] local.INFO: TCP Data received {"connection_id":91302,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:59:09] local.INFO: Processing buffer {"connection_id":91302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 21:59:09] local.INFO: IMEI packet received {"connection_id":91302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 21:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":91302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:59:10] local.INFO: TCP Data received {"connection_id":91302,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:59:10] local.INFO: Processing buffer {"connection_id":91302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:59:10] local.INFO: Packet analysis {"connection_id":91302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:10] local.INFO: Extracted packet for processing {"connection_id":91302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 21:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:59:10] 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-06-02 21:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:59:10] 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-06-02 21:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:59:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":91302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:59:10] local.INFO: GPS data processed {"connection_id":91302,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:59:10] local.INFO: Acknowledgment sent {"connection_id":91302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:59:22] local.INFO: TCP Data received {"connection_id":91303,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:59:22] local.INFO: Processing buffer {"connection_id":91303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:59:22] local.INFO: IMEI packet received {"connection_id":91303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 21:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":91303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:59:27] local.INFO: TCP Data received {"connection_id":90150,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:59:27] local.INFO: Processing buffer {"connection_id":90150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:59:27] local.INFO: IMEI packet received {"connection_id":90150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":90150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:59:28] local.INFO: TCP Data received {"connection_id":91303,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:59:28] local.INFO: Processing buffer {"connection_id":91303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 21:59:28] local.INFO: IMEI packet received {"connection_id":91303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 21:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":91303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 21:59:28] local.INFO: TCP Data received {"connection_id":91303,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:59:28] local.INFO: Processing buffer {"connection_id":91303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:59:28] local.INFO: Packet analysis {"connection_id":91303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:28] local.INFO: Extracted packet for processing {"connection_id":91303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21: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-06-02 21:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 21:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:59:28] 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-06-02 21: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-06-02 21:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 21:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:59:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:59:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":91303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:59:28] local.INFO: GPS data processed {"connection_id":91303,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:59:28] local.INFO: Acknowledgment sent {"connection_id":91303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:59:41] local.INFO: TCP Data received {"connection_id":91302,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:59:41] local.INFO: Processing buffer {"connection_id":91302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 21:59:41] local.INFO: Packet analysis {"connection_id":91302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:41] local.INFO: Extracted packet for processing {"connection_id":91302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 21:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 21:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:59:41] 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-06-02 21:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 21:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 21:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 21:59:41] 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-06-02 21:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 21:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 21:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 21:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 21:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 21:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:59:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 21:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 21:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 21:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 21:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":91302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:59:41] local.INFO: GPS data processed {"connection_id":91302,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:59:41] local.INFO: Acknowledgment sent {"connection_id":91302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 21:59:57] local.INFO: TCP Data received {"connection_id":91304,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:59:57] local.INFO: Processing buffer {"connection_id":91304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 21:59:57] local.INFO: IMEI packet received {"connection_id":91304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 21:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":91304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 21:59:59] local.INFO: TCP Data received {"connection_id":91303,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:59:59] local.INFO: Processing buffer {"connection_id":91303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 21:59:59] local.INFO: Packet analysis {"connection_id":91303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:59] local.INFO: Extracted packet for processing {"connection_id":91303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 21:59:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 21:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 21:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 21:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 21:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 21:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 21:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 21:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 21:59:59] 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-06-02 21:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 21:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 21:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 21:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 21:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 21:59: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-06-02 21:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 21:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 21:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 21:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 21:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 21:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 21:59:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 21:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 21:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 21:59:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 21:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 21:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":91303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 21:59:59] local.INFO: GPS data processed {"connection_id":91303,"processed":1,"errors":0,"total":1} 
[2026-06-02 21:59:59] local.INFO: Acknowledgment sent {"connection_id":91303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:00:09] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:00:09] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:00:09] local.INFO: IMEI packet received {"connection_id":90151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":90151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:00:14] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:00:14] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:00:14] local.INFO: IMEI packet received {"connection_id":90151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":90151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:00:15] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:00:15] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:00:15] local.INFO: Packet analysis {"connection_id":90151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:15] local.INFO: Extracted packet for processing {"connection_id":90151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 22:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:00:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":90151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:00:15] local.INFO: GPS data processed {"connection_id":90151,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:00:15] local.INFO: Acknowledgment sent {"connection_id":90151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:00:20] local.INFO: TCP Data received {"connection_id":90151,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:00:20] local.INFO: Processing buffer {"connection_id":90151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:00:20] local.INFO: Packet analysis {"connection_id":90151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:20] local.INFO: Extracted packet for processing {"connection_id":90151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 22:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:00:20] 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-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:00:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":90151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:00:20] local.INFO: GPS data processed {"connection_id":90151,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:00:20] local.INFO: Acknowledgment sent {"connection_id":90151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:00:28] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:00:28] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:00:28] local.INFO: IMEI packet received {"connection_id":89885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":89885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:00:33] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:00:33] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:00:33] local.INFO: IMEI packet received {"connection_id":89885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":89885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:00:33] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:00:33] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:00:33] local.INFO: Packet analysis {"connection_id":89885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:33] local.INFO: Extracted packet for processing {"connection_id":89885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 22:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:00:33] 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-06-02 22: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-06-02 22:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:00: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-06-02 22:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:00:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:00:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":89885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:00:33] local.INFO: GPS data processed {"connection_id":89885,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:00:33] local.INFO: Acknowledgment sent {"connection_id":89885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:00:38] local.INFO: TCP Data received {"connection_id":89885,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:00:38] local.INFO: Processing buffer {"connection_id":89885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:00:38] local.INFO: Packet analysis {"connection_id":89885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:38] local.INFO: Extracted packet for processing {"connection_id":89885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:00:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 22:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:00:38] 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-06-02 22: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-06-02 22:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:00:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:00:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":89885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:00:38] local.INFO: GPS data processed {"connection_id":89885,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:00:38] local.INFO: Acknowledgment sent {"connection_id":89885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:01:04] local.INFO: TCP Data received {"connection_id":91305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:01:04] local.INFO: Processing buffer {"connection_id":91305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:01:04] local.INFO: IMEI packet received {"connection_id":91305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":91305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:01:09] local.INFO: TCP Data received {"connection_id":91305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:01:09] local.INFO: Processing buffer {"connection_id":91305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:01:09] local.INFO: IMEI packet received {"connection_id":91305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":91305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:01:10] local.INFO: TCP Data received {"connection_id":91305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:01:10] local.INFO: Processing buffer {"connection_id":91305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:01:10] local.INFO: Packet analysis {"connection_id":91305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:01:10] local.INFO: Extracted packet for processing {"connection_id":91305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 22:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:01:10] 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-06-02 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:01:10] 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-06-02 22:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:01:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":91305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:01:10] local.INFO: GPS data processed {"connection_id":91305,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:01:10] local.INFO: Acknowledgment sent {"connection_id":91305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:01:22] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:01:22] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:01:22] local.INFO: IMEI packet received {"connection_id":90238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":90238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:01:28] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:01:28] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:01:28] local.INFO: IMEI packet received {"connection_id":90238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":90238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:01:28] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:01:28] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892824d0012cb29ac007823b18004c00b828..."} 
[2026-06-02 22:01:28] local.INFO: Packet analysis {"connection_id":90238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:01:28] local.INFO: Extracted packet for processing {"connection_id":90238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":76,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786820864001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417570000,"timestamp_ms":1780417570000,"timestamp_seconds":1780417570,"priority":1,"record_length":96,"hex_timestamp":"0000019e892824d0"} 
[2026-06-02 22:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:01:28] 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-06-02 22:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:01:28] 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-06-02 22:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786820864001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786820864001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:01:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:01:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786820864001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":90238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:01:28] local.INFO: GPS data processed {"connection_id":90238,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:01:28] local.INFO: Acknowledgment sent {"connection_id":90238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:01:41] local.INFO: TCP Data received {"connection_id":91305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:01:41] local.INFO: Processing buffer {"connection_id":91305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:01:41] local.INFO: Packet analysis {"connection_id":91305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:01:41] local.INFO: Extracted packet for processing {"connection_id":91305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 22:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:01:41] 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-06-02 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:01:41] 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-06-02 22:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:01:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":91305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:01:41] local.INFO: GPS data processed {"connection_id":91305,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:01:41] local.INFO: Acknowledgment sent {"connection_id":91305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:01:59] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:01:59] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:01:59] local.INFO: Packet analysis {"connection_id":90238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:01:59] local.INFO: Extracted packet for processing {"connection_id":90238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:01:59] 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-06-02 22:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:01:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":90238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:01:59] local.INFO: GPS data processed {"connection_id":90238,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:01:59] local.INFO: Acknowledgment sent {"connection_id":90238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:02:04] local.INFO: TCP Data received {"connection_id":90239,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:02:04] local.INFO: Processing buffer {"connection_id":90239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:02:04] local.INFO: IMEI packet received {"connection_id":90239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":90239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:02:09] local.INFO: TCP Data received {"connection_id":90239,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:02:09] local.INFO: Processing buffer {"connection_id":90239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:02:09] local.INFO: IMEI packet received {"connection_id":90239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":90239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:02:10] local.INFO: TCP Data received {"connection_id":90239,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:02:10] local.INFO: Processing buffer {"connection_id":90239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89287ac0012d196500071ff058004f014625..."} 
[2026-06-02 22:02:10] local.INFO: Packet analysis {"connection_id":90239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:02:10] local.INFO: Extracted packet for processing {"connection_id":90239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8928"} 
[2026-06-02 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":79,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786826496001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417592000,"timestamp_ms":1780417592000,"timestamp_seconds":1780417592,"priority":1,"record_length":96,"hex_timestamp":"0000019e89287ac0"} 
[2026-06-02 22:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:02:10] 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-06-02 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:02:10] 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-06-02 22:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786826496001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786826496001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:02:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786826496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":90239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:02:10] local.INFO: GPS data processed {"connection_id":90239,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:02:10] local.INFO: Acknowledgment sent {"connection_id":90239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:02:22] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:02:22] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:02:22] local.INFO: IMEI packet received {"connection_id":89887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":89887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:02:28] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:02:28] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:02:28] local.INFO: IMEI packet received {"connection_id":89887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":89887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:02:28] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:02:28] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:02:28] local.INFO: Packet analysis {"connection_id":89887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:02:28] local.INFO: Extracted packet for processing {"connection_id":89887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:02:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:02:28] 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-06-02 22:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:02:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:02:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":89887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:02:28] local.INFO: GPS data processed {"connection_id":89887,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:02:28] local.INFO: Acknowledgment sent {"connection_id":89887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:02:41] local.INFO: TCP Data received {"connection_id":90239,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:02:41] local.INFO: Processing buffer {"connection_id":90239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:02:41] local.INFO: Packet analysis {"connection_id":90239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:02:41] local.INFO: Extracted packet for processing {"connection_id":90239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:02:41] 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-06-02 22:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:02:41] 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-06-02 22:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:02:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":90239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:02:42] local.INFO: GPS data processed {"connection_id":90239,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:02:42] local.INFO: Acknowledgment sent {"connection_id":90239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:03:00] local.INFO: TCP Data received {"connection_id":89887,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:03:00] local.INFO: Processing buffer {"connection_id":89887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:03:00] local.INFO: Packet analysis {"connection_id":89887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:03:00] local.INFO: Extracted packet for processing {"connection_id":89887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:03:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:03:00] 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-06-02 22:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:03:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":89887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:03:00] local.INFO: GPS data processed {"connection_id":89887,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:03:00] local.INFO: Acknowledgment sent {"connection_id":89887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:03:04] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:03:04] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:03:04] local.INFO: IMEI packet received {"connection_id":90240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":90240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:03:09] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:03:09] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:03:09] local.INFO: IMEI packet received {"connection_id":90240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":90240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:03:10] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:03:10] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:03:10] local.INFO: Packet analysis {"connection_id":90240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:03:10] local.INFO: Extracted packet for processing {"connection_id":90240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:03:10] 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-06-02 22:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:03:10] 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-06-02 22:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:03:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":90240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:03:10] local.INFO: GPS data processed {"connection_id":90240,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:03:10] local.INFO: Acknowledgment sent {"connection_id":90240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:03:22] local.INFO: TCP Data received {"connection_id":91306,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:03:22] local.INFO: Processing buffer {"connection_id":91306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:03:22] local.INFO: IMEI packet received {"connection_id":91306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":91306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:03:28] local.INFO: TCP Data received {"connection_id":91306,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:03:28] local.INFO: Processing buffer {"connection_id":91306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:03:28] local.INFO: IMEI packet received {"connection_id":91306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":91306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:03:28] local.INFO: TCP Data received {"connection_id":91306,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:03:28] local.INFO: Processing buffer {"connection_id":91306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:03:28] local.INFO: Packet analysis {"connection_id":91306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:03:28] local.INFO: Extracted packet for processing {"connection_id":91306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:03:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:03: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-06-02 22:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:03: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":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:03: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-06-02 22:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:03:28] 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-06-02 22:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:03:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:03:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":91306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:03:28] local.INFO: GPS data processed {"connection_id":91306,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:03:28] local.INFO: Acknowledgment sent {"connection_id":91306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:03:41] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:03:41] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:03:41] local.INFO: Packet analysis {"connection_id":90240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:03:41] local.INFO: Extracted packet for processing {"connection_id":90240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:03:41] 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-06-02 22:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:03:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":90240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:03:41] local.INFO: GPS data processed {"connection_id":90240,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:03:41] local.INFO: Acknowledgment sent {"connection_id":90240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:04:00] local.INFO: TCP Data received {"connection_id":91306,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:00] local.INFO: Processing buffer {"connection_id":91306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:00] local.INFO: Packet analysis {"connection_id":91306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:04:00] local.INFO: Extracted packet for processing {"connection_id":91306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:04:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:04: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-06-02 22:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:04: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-06-02 22:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:04:00] 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-06-02 22:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:04:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":91306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:04:00] local.INFO: GPS data processed {"connection_id":91306,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:04:00] local.INFO: Acknowledgment sent {"connection_id":91306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:04:04] local.INFO: TCP Data received {"connection_id":89888,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:04:04] local.INFO: Processing buffer {"connection_id":89888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:04:04] local.INFO: IMEI packet received {"connection_id":89888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":89888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:04:09] local.INFO: TCP Data received {"connection_id":89888,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:04:09] local.INFO: Processing buffer {"connection_id":89888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:04:09] local.INFO: IMEI packet received {"connection_id":89888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":89888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:04:10] local.INFO: TCP Data received {"connection_id":89888,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:04:10] local.INFO: Processing buffer {"connection_id":89888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:04:10] local.INFO: Packet analysis {"connection_id":89888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:04:10] local.INFO: Extracted packet for processing {"connection_id":89888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:04:10] 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-06-02 22:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:04:10] 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-06-02 22:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":89888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:04:10] local.INFO: GPS data processed {"connection_id":89888,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:04:10] local.INFO: Acknowledgment sent {"connection_id":89888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:04:22] local.INFO: TCP Data received {"connection_id":90241,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:04:22] local.INFO: Processing buffer {"connection_id":90241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:04:22] local.INFO: IMEI packet received {"connection_id":90241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":90241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:04:28] local.INFO: TCP Data received {"connection_id":90241,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:04:28] local.INFO: Processing buffer {"connection_id":90241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:04:28] local.INFO: IMEI packet received {"connection_id":90241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":90241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:04:28] local.INFO: TCP Data received {"connection_id":90241,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:28] local.INFO: Processing buffer {"connection_id":90241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:28] local.INFO: Packet analysis {"connection_id":90241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:04:28] local.INFO: Extracted packet for processing {"connection_id":90241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:04:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:04: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-06-02 22:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:04:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:04:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":90241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:04:28] local.INFO: GPS data processed {"connection_id":90241,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:04:28] local.INFO: Acknowledgment sent {"connection_id":90241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:04:41] local.INFO: TCP Data received {"connection_id":89888,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:04:41] local.INFO: Processing buffer {"connection_id":89888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:04:41] local.INFO: Packet analysis {"connection_id":89888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:04:41] local.INFO: Extracted packet for processing {"connection_id":89888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:04:41] 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-06-02 22:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:04:41] 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-06-02 22:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:04:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":89888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:04:41] local.INFO: GPS data processed {"connection_id":89888,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:04:41] local.INFO: Acknowledgment sent {"connection_id":89888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:04:59] local.INFO: TCP Data received {"connection_id":90241,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:59] local.INFO: Processing buffer {"connection_id":90241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:04:59] local.INFO: Packet analysis {"connection_id":90241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:04:59] local.INFO: Extracted packet for processing {"connection_id":90241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:04:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:04: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-06-02 22:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:04:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:04:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":90241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:04:59] local.INFO: GPS data processed {"connection_id":90241,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:04:59] local.INFO: Acknowledgment sent {"connection_id":90241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:05:09] local.INFO: TCP Data received {"connection_id":91308,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:05:09] local.INFO: Processing buffer {"connection_id":91308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:05:09] local.INFO: IMEI packet received {"connection_id":91308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":91308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:05:14] local.INFO: TCP Data received {"connection_id":91308,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:05:14] local.INFO: Processing buffer {"connection_id":91308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:05:14] local.INFO: IMEI packet received {"connection_id":91308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":91308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:05:15] local.INFO: TCP Data received {"connection_id":91308,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:05:15] local.INFO: Processing buffer {"connection_id":91308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:05:15] local.INFO: Packet analysis {"connection_id":91308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:05:15] local.INFO: Extracted packet for processing {"connection_id":91308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:05:15] 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-06-02 22: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-06-02 22:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:05:15] 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-06-02 22:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:05:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":91308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:05:15] local.INFO: GPS data processed {"connection_id":91308,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:05:15] local.INFO: Acknowledgment sent {"connection_id":91308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:05:20] local.INFO: TCP Data received {"connection_id":91308,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:05:20] local.INFO: Processing buffer {"connection_id":91308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:05:20] local.INFO: Packet analysis {"connection_id":91308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:05:20] local.INFO: Extracted packet for processing {"connection_id":91308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:05:20] 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-06-02 22: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-06-02 22:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":91308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":91308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":91308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:05:20] 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-06-02 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:05:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":91308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:05:20] local.INFO: GPS data processed {"connection_id":91308,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:05:20] local.INFO: Acknowledgment sent {"connection_id":91308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:05:27] local.INFO: TCP Data received {"connection_id":91307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:05:27] local.INFO: Processing buffer {"connection_id":91307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:05:27] local.INFO: IMEI packet received {"connection_id":91307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":91307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:05:28] local.INFO: TCP Data received {"connection_id":91309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:05:28] local.INFO: Processing buffer {"connection_id":91309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:05:28] local.INFO: IMEI packet received {"connection_id":91309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":91309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:05:33] local.INFO: TCP Data received {"connection_id":91309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:05:33] local.INFO: Processing buffer {"connection_id":91309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:05:33] local.INFO: IMEI packet received {"connection_id":91309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":91309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:05:33] local.INFO: TCP Data received {"connection_id":91309,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:05:33] local.INFO: Processing buffer {"connection_id":91309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:05:33] local.INFO: Packet analysis {"connection_id":91309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:05:33] local.INFO: Extracted packet for processing {"connection_id":91309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:05:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:05:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:05:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":91309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:05:33] local.INFO: GPS data processed {"connection_id":91309,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:05:33] local.INFO: Acknowledgment sent {"connection_id":91309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:05:38] local.INFO: TCP Data received {"connection_id":91309,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:05:38] local.INFO: Processing buffer {"connection_id":91309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:05:38] local.INFO: Packet analysis {"connection_id":91309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:05:38] local.INFO: Extracted packet for processing {"connection_id":91309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 22:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:05:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":91309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:05:38] local.INFO: GPS data processed {"connection_id":91309,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:05:38] local.INFO: Acknowledgment sent {"connection_id":91309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:05:57] local.INFO: TCP Data received {"connection_id":89889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:05:57] local.INFO: Processing buffer {"connection_id":89889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:05:57] local.INFO: IMEI packet received {"connection_id":89889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":89889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:06:04] local.INFO: TCP Data received {"connection_id":90242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:06:04] local.INFO: Processing buffer {"connection_id":90242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:06:04] local.INFO: IMEI packet received {"connection_id":90242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":90242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:06:09] local.INFO: TCP Data received {"connection_id":90242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:06:09] local.INFO: Processing buffer {"connection_id":90242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:06:09] local.INFO: IMEI packet received {"connection_id":90242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":90242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:06:10] local.INFO: TCP Data received {"connection_id":90242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:06:10] local.INFO: Processing buffer {"connection_id":90242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:06:10] local.INFO: Packet analysis {"connection_id":90242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:06:10] local.INFO: Extracted packet for processing {"connection_id":90242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:06:10] 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-06-02 22:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:06:10] 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-06-02 22:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:06:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":90242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:06:10] local.INFO: GPS data processed {"connection_id":90242,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:06:10] local.INFO: Acknowledgment sent {"connection_id":90242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:06:23] local.INFO: TCP Data received {"connection_id":90243,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:06:23] local.INFO: Processing buffer {"connection_id":90243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:06:23] local.INFO: IMEI packet received {"connection_id":90243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":90243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:06:28] local.INFO: TCP Data received {"connection_id":90243,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:06:28] local.INFO: Processing buffer {"connection_id":90243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:06:28] local.INFO: IMEI packet received {"connection_id":90243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":90243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:06:28] local.INFO: TCP Data received {"connection_id":90243,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:06:28] local.INFO: Processing buffer {"connection_id":90243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892cbc98012cb29ac007823b18004600b826..."} 
[2026-06-02 22:06:28] local.INFO: Packet analysis {"connection_id":90243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:06:28] local.INFO: Extracted packet for processing {"connection_id":90243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892c"} 
[2026-06-02 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":70,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786897920001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780417871000,"timestamp_ms":1780417871000,"timestamp_seconds":1780417871,"priority":1,"record_length":96,"hex_timestamp":"0000019e892cbc98"} 
[2026-06-02 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-06-02 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 22:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:06: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-06-02 22:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786897920001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786897920001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:06:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:06:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786897920001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":90243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:06:28] local.INFO: GPS data processed {"connection_id":90243,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:06:28] local.INFO: Acknowledgment sent {"connection_id":90243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:06:41] local.INFO: TCP Data received {"connection_id":90242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:06:41] local.INFO: Processing buffer {"connection_id":90242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:06:41] local.INFO: Packet analysis {"connection_id":90242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:06:41] local.INFO: Extracted packet for processing {"connection_id":90242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:06:41] 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-06-02 22:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:06:41] 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-06-02 22:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:06:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":90242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:06:41] local.INFO: GPS data processed {"connection_id":90242,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:06:41] local.INFO: Acknowledgment sent {"connection_id":90242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:06:59] local.INFO: TCP Data received {"connection_id":90243,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:06:59] local.INFO: Processing buffer {"connection_id":90243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:06:59] local.INFO: Packet analysis {"connection_id":90243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:06:59] local.INFO: Extracted packet for processing {"connection_id":90243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:06:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:06:59] 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-06-02 22: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-06-02 22:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:06: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-06-02 22:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:06:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:06:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":90243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:06:59] local.INFO: GPS data processed {"connection_id":90243,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:06:59] local.INFO: Acknowledgment sent {"connection_id":90243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:07:04] local.INFO: TCP Data received {"connection_id":91311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:07:04] local.INFO: Processing buffer {"connection_id":91311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:07:04] local.INFO: IMEI packet received {"connection_id":91311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":91311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:07:09] local.INFO: TCP Data received {"connection_id":91311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:07:09] local.INFO: Processing buffer {"connection_id":91311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:07:09] local.INFO: IMEI packet received {"connection_id":91311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":91311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:07:10] local.INFO: TCP Data received {"connection_id":91311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:07:10] local.INFO: Processing buffer {"connection_id":91311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e892d1288012d196500071ff0580046014624..."} 
[2026-06-02 22:07:10] local.INFO: Packet analysis {"connection_id":91311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:07:10] local.INFO: Extracted packet for processing {"connection_id":91311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e892d"} 
[2026-06-02 22:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786903552001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780417893000,"timestamp_ms":1780417893000,"timestamp_seconds":1780417893,"priority":1,"record_length":96,"hex_timestamp":"0000019e892d1288"} 
[2026-06-02 22:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:07:10] 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-06-02 22:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:07:10] 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-06-02 22:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786903552001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786903552001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:07:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786903552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":91311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:07:10] local.INFO: GPS data processed {"connection_id":91311,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:07:10] local.INFO: Acknowledgment sent {"connection_id":91311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:07:22] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:07:22] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:07:22] local.INFO: IMEI packet received {"connection_id":89890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":89890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:07:28] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:07:28] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:07:28] local.INFO: IMEI packet received {"connection_id":89890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":89890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:07:28] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:07:28] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:07:28] local.INFO: Packet analysis {"connection_id":89890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:07:28] local.INFO: Extracted packet for processing {"connection_id":89890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:07:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:07:28] 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-06-02 22:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:07:28] 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-06-02 22:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:07:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:07:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":89890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:07:28] local.INFO: GPS data processed {"connection_id":89890,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:07:28] local.INFO: Acknowledgment sent {"connection_id":89890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:07:41] local.INFO: TCP Data received {"connection_id":91311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:07:41] local.INFO: Processing buffer {"connection_id":91311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:07:41] local.INFO: Packet analysis {"connection_id":91311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:07:41] local.INFO: Extracted packet for processing {"connection_id":91311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:07:41] 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-06-02 22:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:07:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":91311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:07:41] local.INFO: GPS data processed {"connection_id":91311,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:07:41] local.INFO: Acknowledgment sent {"connection_id":91311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:07:59] local.INFO: TCP Data received {"connection_id":89890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:07:59] local.INFO: Processing buffer {"connection_id":89890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:07:59] local.INFO: Packet analysis {"connection_id":89890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:07:59] local.INFO: Extracted packet for processing {"connection_id":89890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:07:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:07:59] 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-06-02 22: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-06-02 22:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:07:59] 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-06-02 22:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:07:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:07:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":89890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:07:59] local.INFO: GPS data processed {"connection_id":89890,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:07:59] local.INFO: Acknowledgment sent {"connection_id":89890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:08:04] local.INFO: TCP Data received {"connection_id":91312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:08:04] local.INFO: Processing buffer {"connection_id":91312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:08:04] local.INFO: IMEI packet received {"connection_id":91312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":91312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:08:09] local.INFO: TCP Data received {"connection_id":91312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:08:09] local.INFO: Processing buffer {"connection_id":91312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:08:09] local.INFO: IMEI packet received {"connection_id":91312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":91312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:08:10] local.INFO: TCP Data received {"connection_id":91312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:08:10] local.INFO: Processing buffer {"connection_id":91312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:08:10] local.INFO: Packet analysis {"connection_id":91312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:10] local.INFO: Extracted packet for processing {"connection_id":91312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:08:10] 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-06-02 22:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:08:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":91312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:08:10] local.INFO: GPS data processed {"connection_id":91312,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:08:10] local.INFO: Acknowledgment sent {"connection_id":91312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:08:22] local.INFO: TCP Data received {"connection_id":91313,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:08:22] local.INFO: Processing buffer {"connection_id":91313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:08:22] local.INFO: IMEI packet received {"connection_id":91313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":91313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:08:28] local.INFO: TCP Data received {"connection_id":91313,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:08:28] local.INFO: Processing buffer {"connection_id":91313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:08:28] local.INFO: IMEI packet received {"connection_id":91313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":91313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:08:28] local.INFO: TCP Data received {"connection_id":91313,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:08:28] local.INFO: Processing buffer {"connection_id":91313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:08:28] local.INFO: Packet analysis {"connection_id":91313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:28] local.INFO: Extracted packet for processing {"connection_id":91313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:08:28] 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-06-02 22:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:08:28] 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-06-02 22:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:08:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:08:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":91313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:08:28] local.INFO: GPS data processed {"connection_id":91313,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:08:28] local.INFO: Acknowledgment sent {"connection_id":91313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:08:41] local.INFO: TCP Data received {"connection_id":91312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:08:41] local.INFO: Processing buffer {"connection_id":91312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:08:41] local.INFO: Packet analysis {"connection_id":91312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:41] local.INFO: Extracted packet for processing {"connection_id":91312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:08:41] 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-06-02 22:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":91312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:08:41] local.INFO: GPS data processed {"connection_id":91312,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:08:41] local.INFO: Acknowledgment sent {"connection_id":91312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:08:59] local.INFO: TCP Data received {"connection_id":91313,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:08:59] local.INFO: Processing buffer {"connection_id":91313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:08:59] local.INFO: Packet analysis {"connection_id":91313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:59] local.INFO: Extracted packet for processing {"connection_id":91313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:08:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:08:59] 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-06-02 22: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-06-02 22:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:08:59] 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-06-02 22:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:08:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:08:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":91313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:08:59] local.INFO: GPS data processed {"connection_id":91313,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:08:59] local.INFO: Acknowledgment sent {"connection_id":91313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:09:04] local.INFO: TCP Data received {"connection_id":91314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:09:04] local.INFO: Processing buffer {"connection_id":91314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:09:04] local.INFO: IMEI packet received {"connection_id":91314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":91314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:09:09] local.INFO: TCP Data received {"connection_id":91314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:09:09] local.INFO: Processing buffer {"connection_id":91314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:09:09] local.INFO: IMEI packet received {"connection_id":91314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":91314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:09:10] local.INFO: TCP Data received {"connection_id":91314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:09:10] local.INFO: Processing buffer {"connection_id":91314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:09:10] local.INFO: Packet analysis {"connection_id":91314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:10] local.INFO: Extracted packet for processing {"connection_id":91314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:09:10] 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-06-02 22:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:09:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":91314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:09:10] local.INFO: GPS data processed {"connection_id":91314,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:09:10] local.INFO: Acknowledgment sent {"connection_id":91314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:09:22] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:09:22] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:09:22] local.INFO: IMEI packet received {"connection_id":90156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":90156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:09:28] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:09:28] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:09:28] local.INFO: IMEI packet received {"connection_id":90156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":90156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:09:28] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:09:28] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:09:28] local.INFO: Packet analysis {"connection_id":90156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:28] local.INFO: Extracted packet for processing {"connection_id":90156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:09:28] 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-06-02 22: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-06-02 22:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:09:28] 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-06-02 22:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:09:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:09:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":90156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:09:28] local.INFO: GPS data processed {"connection_id":90156,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:09:28] local.INFO: Acknowledgment sent {"connection_id":90156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:09:41] local.INFO: TCP Data received {"connection_id":91314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:09:41] local.INFO: Processing buffer {"connection_id":91314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:09:41] local.INFO: Packet analysis {"connection_id":91314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:41] local.INFO: Extracted packet for processing {"connection_id":91314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:09:41] 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-06-02 22:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:09:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":91314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:09:41] local.INFO: GPS data processed {"connection_id":91314,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:09:41] local.INFO: Acknowledgment sent {"connection_id":91314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:09:59] local.INFO: TCP Data received {"connection_id":90156,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:09:59] local.INFO: Processing buffer {"connection_id":90156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:09:59] local.INFO: Packet analysis {"connection_id":90156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:59] local.INFO: Extracted packet for processing {"connection_id":90156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:09:59] 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-06-02 22: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-06-02 22:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:09:59] 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-06-02 22:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:09:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":90156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:09:59] local.INFO: GPS data processed {"connection_id":90156,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:09:59] local.INFO: Acknowledgment sent {"connection_id":90156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:10:09] local.INFO: TCP Data received {"connection_id":89891,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:10:09] local.INFO: Processing buffer {"connection_id":89891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:10:09] local.INFO: IMEI packet received {"connection_id":89891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":89891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:10:14] local.INFO: TCP Data received {"connection_id":89891,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:10:14] local.INFO: Processing buffer {"connection_id":89891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:10:14] local.INFO: IMEI packet received {"connection_id":89891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":89891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:10:15] local.INFO: TCP Data received {"connection_id":89891,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:10:15] local.INFO: Processing buffer {"connection_id":89891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:10:15] local.INFO: Packet analysis {"connection_id":89891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:15] local.INFO: Extracted packet for processing {"connection_id":89891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:10:15] 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-06-02 22:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":89891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:10:15] local.INFO: GPS data processed {"connection_id":89891,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:10:15] local.INFO: Acknowledgment sent {"connection_id":89891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:10:20] local.INFO: TCP Data received {"connection_id":89891,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:10:20] local.INFO: Processing buffer {"connection_id":89891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:10:20] local.INFO: Packet analysis {"connection_id":89891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:20] local.INFO: Extracted packet for processing {"connection_id":89891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":89891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":89891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":89891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:10:20] 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-06-02 22:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:10:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":89891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:10:20] local.INFO: GPS data processed {"connection_id":89891,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:10:20] local.INFO: Acknowledgment sent {"connection_id":89891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:10:28] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:10:28] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:10:28] local.INFO: IMEI packet received {"connection_id":90157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":90157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:10:33] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:10:33] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:10:33] local.INFO: IMEI packet received {"connection_id":90157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":90157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:10:33] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:33] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:33] local.INFO: Packet analysis {"connection_id":90157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:33] local.INFO: Extracted packet for processing {"connection_id":90157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:10:33] 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-06-02 22:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:10:33] 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-06-02 22:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:10:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:10:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":90157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:10:33] local.INFO: GPS data processed {"connection_id":90157,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:10:33] local.INFO: Acknowledgment sent {"connection_id":90157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:10:38] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:38] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:38] local.INFO: Packet analysis {"connection_id":90157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:38] local.INFO: Extracted packet for processing {"connection_id":90157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:10:38] 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-06-02 22: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-06-02 22:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:10:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":90157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:10:38] local.INFO: GPS data processed {"connection_id":90157,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:10:38] local.INFO: Acknowledgment sent {"connection_id":90157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:10:43] local.INFO: TCP Data received {"connection_id":90157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:43] local.INFO: Processing buffer {"connection_id":90157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:10:43] local.INFO: Packet analysis {"connection_id":90157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:43] local.INFO: Extracted packet for processing {"connection_id":90157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:10:43] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":90157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":90157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:10:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":90157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:10:43] local.INFO: GPS data processed {"connection_id":90157,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:10:43] local.INFO: Acknowledgment sent {"connection_id":90157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:11:04] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:11:04] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:11:04] local.INFO: IMEI packet received {"connection_id":90159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":90159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:11:09] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:11:09] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:11:09] local.INFO: IMEI packet received {"connection_id":90159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":90159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:11:10] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:11:10] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:11:10] local.INFO: Packet analysis {"connection_id":90159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:11:10] local.INFO: Extracted packet for processing {"connection_id":90159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:11:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":90159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:11:10] local.INFO: GPS data processed {"connection_id":90159,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:11:10] local.INFO: Acknowledgment sent {"connection_id":90159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:11:17] local.INFO: TCP Data received {"connection_id":90158,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:11:17] local.INFO: Processing buffer {"connection_id":90158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:11:17] local.INFO: IMEI packet received {"connection_id":90158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":90158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:11:22] local.INFO: TCP Data received {"connection_id":90246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:11:22] local.INFO: Processing buffer {"connection_id":90246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:11:22] local.INFO: IMEI packet received {"connection_id":90246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":90246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:11:28] local.INFO: TCP Data received {"connection_id":90246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:11:28] local.INFO: Processing buffer {"connection_id":90246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:11:28] local.INFO: IMEI packet received {"connection_id":90246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":90246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:11:28] local.INFO: TCP Data received {"connection_id":90246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:11:28] local.INFO: Processing buffer {"connection_id":90246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89315460012cb29ac007823b18004900b828..."} 
[2026-06-02 22:11:28] local.INFO: Packet analysis {"connection_id":90246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:11:28] local.INFO: Extracted packet for processing {"connection_id":90246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786974976001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418172000,"timestamp_ms":1780418172000,"timestamp_seconds":1780418172,"priority":1,"record_length":96,"hex_timestamp":"0000019e89315460"} 
[2026-06-02 22:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:11:28] 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-06-02 22: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-06-02 22:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786974976001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786974976001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:11:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:11:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786974976001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":90246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:11:28] local.INFO: GPS data processed {"connection_id":90246,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:11:28] local.INFO: Acknowledgment sent {"connection_id":90246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:11:41] local.INFO: TCP Data received {"connection_id":90159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:11:41] local.INFO: Processing buffer {"connection_id":90159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:11:41] local.INFO: Packet analysis {"connection_id":90159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:11:41] local.INFO: Extracted packet for processing {"connection_id":90159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:11:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":90159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:11:42] local.INFO: GPS data processed {"connection_id":90159,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:11:42] local.INFO: Acknowledgment sent {"connection_id":90159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:11:57] local.INFO: TCP Data received {"connection_id":90247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:11:57] local.INFO: Processing buffer {"connection_id":90247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:11:57] local.INFO: IMEI packet received {"connection_id":90247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":90247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:12:00] local.INFO: TCP Data received {"connection_id":90246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:12:00] local.INFO: Processing buffer {"connection_id":90246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:12:00] local.INFO: Packet analysis {"connection_id":90246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:12:00] local.INFO: Extracted packet for processing {"connection_id":90246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:12:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":90246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:12:00] local.INFO: GPS data processed {"connection_id":90246,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:12:00] local.INFO: Acknowledgment sent {"connection_id":90246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:12:04] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:12:04] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:12:04] local.INFO: IMEI packet received {"connection_id":89892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":89892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:12:09] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:12:09] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:12:09] local.INFO: IMEI packet received {"connection_id":89892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":89892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:12:10] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:12:10] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8931aa50012d196500071ff0580046014622..."} 
[2026-06-02 22:12:10] local.INFO: Packet analysis {"connection_id":89892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:12:10] local.INFO: Extracted packet for processing {"connection_id":89892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8931"} 
[2026-06-02 22:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786980608001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418194000,"timestamp_ms":1780418194000,"timestamp_seconds":1780418194,"priority":1,"record_length":96,"hex_timestamp":"0000019e8931aa50"} 
[2026-06-02 22:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:12:10] 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-06-02 22:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786980608001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786980608001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:12:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786980608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":89892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:12:10] local.INFO: GPS data processed {"connection_id":89892,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:12:10] local.INFO: Acknowledgment sent {"connection_id":89892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:12:22] local.INFO: TCP Data received {"connection_id":90160,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:12:22] local.INFO: Processing buffer {"connection_id":90160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:12:22] local.INFO: IMEI packet received {"connection_id":90160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":90160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:12:28] local.INFO: TCP Data received {"connection_id":90160,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:12:28] local.INFO: Processing buffer {"connection_id":90160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:12:28] local.INFO: IMEI packet received {"connection_id":90160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":90160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:12:28] local.INFO: TCP Data received {"connection_id":90160,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:12:28] local.INFO: Processing buffer {"connection_id":90160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:12:28] local.INFO: Packet analysis {"connection_id":90160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:12:28] local.INFO: Extracted packet for processing {"connection_id":90160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:12:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 22:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 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-06-02 22:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 22:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:12:28] 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-06-02 22:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:12:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:12:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":90160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:12:29] local.INFO: GPS data processed {"connection_id":90160,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:12:29] local.INFO: Acknowledgment sent {"connection_id":90160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:12:41] local.INFO: TCP Data received {"connection_id":89892,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:12:41] local.INFO: Processing buffer {"connection_id":89892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:12:41] local.INFO: Packet analysis {"connection_id":89892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:12:41] local.INFO: Extracted packet for processing {"connection_id":89892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:12:41] 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-06-02 22:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:12:41] 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-06-02 22:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:12:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":89892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:12:41] local.INFO: GPS data processed {"connection_id":89892,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:12:41] local.INFO: Acknowledgment sent {"connection_id":89892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:13:00] local.INFO: TCP Data received {"connection_id":90160,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:13:00] local.INFO: Processing buffer {"connection_id":90160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:13:00] local.INFO: Packet analysis {"connection_id":90160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:13:00] local.INFO: Extracted packet for processing {"connection_id":90160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:13:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:13: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-06-02 22:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:13:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":90160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:13:00] local.INFO: GPS data processed {"connection_id":90160,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:13:00] local.INFO: Acknowledgment sent {"connection_id":90160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:13:04] local.INFO: TCP Data received {"connection_id":91315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:13:04] local.INFO: Processing buffer {"connection_id":91315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:13:04] local.INFO: IMEI packet received {"connection_id":91315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":91315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:13:09] local.INFO: TCP Data received {"connection_id":91315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:13:09] local.INFO: Processing buffer {"connection_id":91315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:13:09] local.INFO: IMEI packet received {"connection_id":91315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":91315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:13:10] local.INFO: TCP Data received {"connection_id":91315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:13:10] local.INFO: Processing buffer {"connection_id":91315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:13:10] local.INFO: Packet analysis {"connection_id":91315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:13:10] local.INFO: Extracted packet for processing {"connection_id":91315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:13:10] 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-06-02 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:13:10] 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-06-02 22:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":91315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:13:10] local.INFO: GPS data processed {"connection_id":91315,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:13:10] local.INFO: Acknowledgment sent {"connection_id":91315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:13:22] local.INFO: TCP Data received {"connection_id":90248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:13:22] local.INFO: Processing buffer {"connection_id":90248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:13:22] local.INFO: IMEI packet received {"connection_id":90248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":90248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:13:28] local.INFO: TCP Data received {"connection_id":90248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:13:28] local.INFO: Processing buffer {"connection_id":90248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:13:28] local.INFO: IMEI packet received {"connection_id":90248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":90248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:13:28] local.INFO: TCP Data received {"connection_id":90248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:13:28] local.INFO: Processing buffer {"connection_id":90248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:13:28] local.INFO: Packet analysis {"connection_id":90248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:13:28] local.INFO: Extracted packet for processing {"connection_id":90248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:13:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:13: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-06-02 22:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:13:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:13:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":90248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:13:28] local.INFO: GPS data processed {"connection_id":90248,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:13:28] local.INFO: Acknowledgment sent {"connection_id":90248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:13:41] local.INFO: TCP Data received {"connection_id":91315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:13:41] local.INFO: Processing buffer {"connection_id":91315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:13:41] local.INFO: Packet analysis {"connection_id":91315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:13:41] local.INFO: Extracted packet for processing {"connection_id":91315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:13:41] 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-06-02 22:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:13:41] 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-06-02 22:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":91315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:13:42] local.INFO: GPS data processed {"connection_id":91315,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:13:42] local.INFO: Acknowledgment sent {"connection_id":91315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:14:00] local.INFO: TCP Data received {"connection_id":90248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:14:00] local.INFO: Processing buffer {"connection_id":90248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:14:00] local.INFO: Packet analysis {"connection_id":90248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:14:00] local.INFO: Extracted packet for processing {"connection_id":90248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:14:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:14:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":90248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:14:00] local.INFO: GPS data processed {"connection_id":90248,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:14:00] local.INFO: Acknowledgment sent {"connection_id":90248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:14:04] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:14:04] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:14:04] local.INFO: IMEI packet received {"connection_id":90162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":90162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:14:09] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:14:09] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:14:09] local.INFO: IMEI packet received {"connection_id":90162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":90162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:14:10] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:14:10] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:14:10] local.INFO: Packet analysis {"connection_id":90162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:14:10] local.INFO: Extracted packet for processing {"connection_id":90162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:14:10] 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-06-02 22:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:14:10] 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-06-02 22:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":90162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:14:10] local.INFO: GPS data processed {"connection_id":90162,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:14:10] local.INFO: Acknowledgment sent {"connection_id":90162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:14:22] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:14:22] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:14:22] local.INFO: IMEI packet received {"connection_id":89894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":89894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:14:28] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:14:28] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:14:28] local.INFO: IMEI packet received {"connection_id":89894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":89894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:14:28] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:14:28] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:14:28] local.INFO: Packet analysis {"connection_id":89894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:14:28] local.INFO: Extracted packet for processing {"connection_id":89894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:14:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:14:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:14:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":89894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:14:29] local.INFO: GPS data processed {"connection_id":89894,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:14:29] local.INFO: Acknowledgment sent {"connection_id":89894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:14:41] local.INFO: TCP Data received {"connection_id":90162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:14:41] local.INFO: Processing buffer {"connection_id":90162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:14:41] local.INFO: Packet analysis {"connection_id":90162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:14:41] local.INFO: Extracted packet for processing {"connection_id":90162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:14:41] 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-06-02 22:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:14:41] 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-06-02 22:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:14:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":90162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:14:41] local.INFO: GPS data processed {"connection_id":90162,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:14:41] local.INFO: Acknowledgment sent {"connection_id":90162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:15:00] local.INFO: TCP Data received {"connection_id":89894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:00] local.INFO: Processing buffer {"connection_id":89894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:00] local.INFO: Packet analysis {"connection_id":89894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:15:00] local.INFO: Extracted packet for processing {"connection_id":89894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:15:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:15: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-06-02 22:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:15:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:15:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":89894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:15:00] local.INFO: GPS data processed {"connection_id":89894,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:15:00] local.INFO: Acknowledgment sent {"connection_id":89894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:15:09] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:15:09] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:15:09] local.INFO: IMEI packet received {"connection_id":90164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":90164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:15:14] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:15:14] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:15:14] local.INFO: IMEI packet received {"connection_id":90164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":90164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:15:15] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:15:15] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:15:15] local.INFO: Packet analysis {"connection_id":90164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:15:15] local.INFO: Extracted packet for processing {"connection_id":90164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:15:15] 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-06-02 22:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:15:15] 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-06-02 22:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:15:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":90164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:15:15] local.INFO: GPS data processed {"connection_id":90164,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:15:15] local.INFO: Acknowledgment sent {"connection_id":90164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:15:20] local.INFO: TCP Data received {"connection_id":90164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:15:20] local.INFO: Processing buffer {"connection_id":90164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:15:20] local.INFO: Packet analysis {"connection_id":90164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:15:20] local.INFO: Extracted packet for processing {"connection_id":90164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:15:20] 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-06-02 22:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:15:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":90164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:15:20] local.INFO: GPS data processed {"connection_id":90164,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:15:20] local.INFO: Acknowledgment sent {"connection_id":90164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:15:28] local.INFO: TCP Data received {"connection_id":90249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:15:28] local.INFO: Processing buffer {"connection_id":90249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:15:28] local.INFO: IMEI packet received {"connection_id":90249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":90249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:15:33] local.INFO: TCP Data received {"connection_id":90249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:15:33] local.INFO: Processing buffer {"connection_id":90249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:15:33] local.INFO: IMEI packet received {"connection_id":90249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":90249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:15:33] local.INFO: TCP Data received {"connection_id":90249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:33] local.INFO: Processing buffer {"connection_id":90249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:33] local.INFO: Packet analysis {"connection_id":90249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:15:33] local.INFO: Extracted packet for processing {"connection_id":90249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:15:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:15:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:15:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":90249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:15:33] local.INFO: GPS data processed {"connection_id":90249,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:15:33] local.INFO: Acknowledgment sent {"connection_id":90249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:15:38] local.INFO: TCP Data received {"connection_id":90249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:38] local.INFO: Processing buffer {"connection_id":90249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:15:38] local.INFO: Packet analysis {"connection_id":90249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:15:38] local.INFO: Extracted packet for processing {"connection_id":90249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:15:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:15:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:15:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":90249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:15:38] local.INFO: GPS data processed {"connection_id":90249,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:15:38] local.INFO: Acknowledgment sent {"connection_id":90249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:16:04] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:16:04] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:16:04] local.INFO: IMEI packet received {"connection_id":90165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":90165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:16:09] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:16:09] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:16:09] local.INFO: IMEI packet received {"connection_id":90165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":90165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:16:10] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:16:10] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:16:10] local.INFO: Packet analysis {"connection_id":90165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:16:10] local.INFO: Extracted packet for processing {"connection_id":90165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:16:10] 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-06-02 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:16:10] 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-06-02 22:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:16:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":90165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:16:10] local.INFO: GPS data processed {"connection_id":90165,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:16:10] local.INFO: Acknowledgment sent {"connection_id":90165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:16:23] local.INFO: TCP Data received {"connection_id":90250,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:16:23] local.INFO: Processing buffer {"connection_id":90250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:16:23] local.INFO: IMEI packet received {"connection_id":90250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":90250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:16:28] local.INFO: TCP Data received {"connection_id":90250,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:16:28] local.INFO: Processing buffer {"connection_id":90250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:16:28] local.INFO: IMEI packet received {"connection_id":90250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":90250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:16:28] local.INFO: TCP Data received {"connection_id":90250,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:16:28] local.INFO: Processing buffer {"connection_id":90250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8935ec28012cb29ac007823b18004a00b829..."} 
[2026-06-02 22:16:28] local.INFO: Packet analysis {"connection_id":90250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:16:28] local.INFO: Extracted packet for processing {"connection_id":90250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8935"} 
[2026-06-02 22:16:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787052032001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418473000,"timestamp_ms":1780418473000,"timestamp_seconds":1780418473,"priority":1,"record_length":96,"hex_timestamp":"0000019e8935ec28"} 
[2026-06-02 22:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787052032001,"66":25582,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787052032001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:16:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:16:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787052032001,"power":25582,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":90250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:16:28] local.INFO: GPS data processed {"connection_id":90250,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:16:28] local.INFO: Acknowledgment sent {"connection_id":90250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:16:42] local.INFO: TCP Data received {"connection_id":90165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:16:42] local.INFO: Processing buffer {"connection_id":90165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:16:42] local.INFO: Packet analysis {"connection_id":90165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:16:42] local.INFO: Extracted packet for processing {"connection_id":90165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":90165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":90165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:16:42] 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-06-02 22:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:16:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":90165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:16:42] local.INFO: GPS data processed {"connection_id":90165,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:16:42] local.INFO: Acknowledgment sent {"connection_id":90165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:16:59] local.INFO: TCP Data received {"connection_id":90250,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:16:59] local.INFO: Processing buffer {"connection_id":90250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:16:59] local.INFO: Packet analysis {"connection_id":90250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:16:59] local.INFO: Extracted packet for processing {"connection_id":90250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:16:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:16:59] 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-06-02 22:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:16:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:16:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":90250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:16:59] local.INFO: GPS data processed {"connection_id":90250,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:16:59] local.INFO: Acknowledgment sent {"connection_id":90250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:17:04] local.INFO: TCP Data received {"connection_id":89895,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:17:04] local.INFO: Processing buffer {"connection_id":89895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:17:04] local.INFO: IMEI packet received {"connection_id":89895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":89895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:17:09] local.INFO: TCP Data received {"connection_id":89895,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:17:09] local.INFO: Processing buffer {"connection_id":89895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:17:09] local.INFO: IMEI packet received {"connection_id":89895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":89895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:17:10] local.INFO: TCP Data received {"connection_id":89895,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:17:10] local.INFO: Processing buffer {"connection_id":89895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89364218012d196500071ff0580046014623..."} 
[2026-06-02 22:17:10] local.INFO: Packet analysis {"connection_id":89895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:17:10] local.INFO: Extracted packet for processing {"connection_id":89895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8936"} 
[2026-06-02 22:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787057664001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418495000,"timestamp_ms":1780418495000,"timestamp_seconds":1780418495,"priority":1,"record_length":96,"hex_timestamp":"0000019e89364218"} 
[2026-06-02 22:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:17:10] 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-06-02 22:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:17:10] 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-06-02 22:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787057664001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787057664001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:17:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787057664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":89895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:17:11] local.INFO: GPS data processed {"connection_id":89895,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:17:11] local.INFO: Acknowledgment sent {"connection_id":89895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:17:17] local.INFO: TCP Data received {"connection_id":91317,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:17:17] local.INFO: Processing buffer {"connection_id":91317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:17:17] local.INFO: IMEI packet received {"connection_id":91317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":91317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:17:22] local.INFO: TCP Data received {"connection_id":90251,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:17:22] local.INFO: Processing buffer {"connection_id":90251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:17:22] local.INFO: IMEI packet received {"connection_id":90251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":90251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:17:28] local.INFO: TCP Data received {"connection_id":90251,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:17:28] local.INFO: Processing buffer {"connection_id":90251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:17:28] local.INFO: IMEI packet received {"connection_id":90251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":90251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:17:28] local.INFO: TCP Data received {"connection_id":90251,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:17:28] local.INFO: Processing buffer {"connection_id":90251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:17:28] local.INFO: Packet analysis {"connection_id":90251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:17:28] local.INFO: Extracted packet for processing {"connection_id":90251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:17:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:17: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-06-02 22:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:17:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:17:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":90251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:17:28] local.INFO: GPS data processed {"connection_id":90251,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:17:28] local.INFO: Acknowledgment sent {"connection_id":90251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:17:41] local.INFO: TCP Data received {"connection_id":89895,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:17:41] local.INFO: Processing buffer {"connection_id":89895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:17:41] local.INFO: Packet analysis {"connection_id":89895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:17:41] local.INFO: Extracted packet for processing {"connection_id":89895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:17:41] 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-06-02 22:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:17:41] 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-06-02 22:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:17:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":89895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:17:42] local.INFO: GPS data processed {"connection_id":89895,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:17:42] local.INFO: Acknowledgment sent {"connection_id":89895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:17:59] local.INFO: TCP Data received {"connection_id":90251,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:17:59] local.INFO: Processing buffer {"connection_id":90251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:17:59] local.INFO: Packet analysis {"connection_id":90251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:17:59] local.INFO: Extracted packet for processing {"connection_id":90251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:17:59] 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-06-02 22:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:17:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:17:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":90251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:17:59] local.INFO: GPS data processed {"connection_id":90251,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:17:59] local.INFO: Acknowledgment sent {"connection_id":90251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:18:02] local.INFO: TCP Data received {"connection_id":91318,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:18:02] local.INFO: Processing buffer {"connection_id":91318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:18:02] local.INFO: IMEI packet received {"connection_id":91318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":91318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:18:04] local.INFO: TCP Data received {"connection_id":91319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:18:04] local.INFO: Processing buffer {"connection_id":91319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:18:04] local.INFO: IMEI packet received {"connection_id":91319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":91319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:18:09] local.INFO: TCP Data received {"connection_id":91319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:18:09] local.INFO: Processing buffer {"connection_id":91319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:18:09] local.INFO: IMEI packet received {"connection_id":91319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":91319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:18:10] local.INFO: TCP Data received {"connection_id":91319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:18:10] local.INFO: Processing buffer {"connection_id":91319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:18:10] local.INFO: Packet analysis {"connection_id":91319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:10] local.INFO: Extracted packet for processing {"connection_id":91319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:18:10] 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-06-02 22:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:18:10] 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-06-02 22:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:18:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":91319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:18:10] local.INFO: GPS data processed {"connection_id":91319,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:18:10] local.INFO: Acknowledgment sent {"connection_id":91319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:18:22] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:18:22] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:18:22] local.INFO: IMEI packet received {"connection_id":90166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":90166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:18:28] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:18:28] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:18:28] local.INFO: IMEI packet received {"connection_id":90166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":90166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:18:28] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:18:28] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:18:28] local.INFO: Packet analysis {"connection_id":90166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:28] local.INFO: Extracted packet for processing {"connection_id":90166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:18: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-06-02 22:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:18:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":90166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:18:28] local.INFO: GPS data processed {"connection_id":90166,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:18:28] local.INFO: Acknowledgment sent {"connection_id":90166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:18:41] local.INFO: TCP Data received {"connection_id":91319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:18:41] local.INFO: Processing buffer {"connection_id":91319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:18:41] local.INFO: Packet analysis {"connection_id":91319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:41] local.INFO: Extracted packet for processing {"connection_id":91319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:18:41] 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-06-02 22:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:18:41] 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-06-02 22:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:18:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":91319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:18:41] local.INFO: GPS data processed {"connection_id":91319,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:18:41] local.INFO: Acknowledgment sent {"connection_id":91319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:18:59] local.INFO: TCP Data received {"connection_id":90166,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:18:59] local.INFO: Processing buffer {"connection_id":90166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:18:59] local.INFO: Packet analysis {"connection_id":90166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:59] local.INFO: Extracted packet for processing {"connection_id":90166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:18:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:18:59] 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-06-02 22: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-06-02 22:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:18:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":90166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:18:59] local.INFO: GPS data processed {"connection_id":90166,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:18:59] local.INFO: Acknowledgment sent {"connection_id":90166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:19:09] local.INFO: TCP Data received {"connection_id":90252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:19:09] local.INFO: Processing buffer {"connection_id":90252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:19:09] local.INFO: IMEI packet received {"connection_id":90252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":90252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:19:14] local.INFO: TCP Data received {"connection_id":90252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:19:14] local.INFO: Processing buffer {"connection_id":90252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:19:14] local.INFO: IMEI packet received {"connection_id":90252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":90252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:19:15] local.INFO: TCP Data received {"connection_id":90252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:19:15] local.INFO: Processing buffer {"connection_id":90252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:19:15] local.INFO: Packet analysis {"connection_id":90252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:15] local.INFO: Extracted packet for processing {"connection_id":90252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:19:15] 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-06-02 22:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":90252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:19:15] local.INFO: GPS data processed {"connection_id":90252,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:19:15] local.INFO: Acknowledgment sent {"connection_id":90252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:19:19] local.INFO: TCP Data received {"connection_id":90252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:19:19] local.INFO: Processing buffer {"connection_id":90252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:19:19] local.INFO: Packet analysis {"connection_id":90252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:19] local.INFO: Extracted packet for processing {"connection_id":90252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19: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-06-02 22:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:19: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-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:19:19] 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-06-02 22:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:19:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":90252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:19:19] local.INFO: GPS data processed {"connection_id":90252,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:19:19] local.INFO: Acknowledgment sent {"connection_id":90252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:19:22] local.INFO: TCP Data received {"connection_id":90253,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:19:22] local.INFO: Processing buffer {"connection_id":90253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:19:22] local.INFO: IMEI packet received {"connection_id":90253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":90253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:19:28] local.INFO: TCP Data received {"connection_id":90253,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:19:28] local.INFO: Processing buffer {"connection_id":90253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:19:28] local.INFO: IMEI packet received {"connection_id":90253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":90253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:19:28] local.INFO: TCP Data received {"connection_id":90253,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:19:28] local.INFO: Processing buffer {"connection_id":90253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:19:28] local.INFO: Packet analysis {"connection_id":90253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:28] local.INFO: Extracted packet for processing {"connection_id":90253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:19: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-06-02 22: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-06-02 22:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:19:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:19:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":90253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:19:28] local.INFO: GPS data processed {"connection_id":90253,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:19:28] local.INFO: Acknowledgment sent {"connection_id":90253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:19:59] local.INFO: TCP Data received {"connection_id":90253,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:19:59] local.INFO: Processing buffer {"connection_id":90253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:19:59] local.INFO: Packet analysis {"connection_id":90253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:59] local.INFO: Extracted packet for processing {"connection_id":90253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:19:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:19: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-06-02 22:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:19:59] 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-06-02 22:19: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-06-02 22:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:19:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":90253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:19:59] local.INFO: GPS data processed {"connection_id":90253,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:19:59] local.INFO: Acknowledgment sent {"connection_id":90253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:20:04] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:20:04] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:20:04] local.INFO: IMEI packet received {"connection_id":89898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":89898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:20:09] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:20:09] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:20:09] local.INFO: IMEI packet received {"connection_id":89898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":89898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:20:10] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:20:10] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:20:10] local.INFO: Packet analysis {"connection_id":89898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:10] local.INFO: Extracted packet for processing {"connection_id":89898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:20:10] 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-06-02 22:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:20:10] 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-06-02 22:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:20:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":89898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:20:10] local.INFO: GPS data processed {"connection_id":89898,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:20:10] local.INFO: Acknowledgment sent {"connection_id":89898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:20:28] local.INFO: TCP Data received {"connection_id":91320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:20:28] local.INFO: Processing buffer {"connection_id":91320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:20:28] local.INFO: IMEI packet received {"connection_id":91320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":91320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:20:33] local.INFO: TCP Data received {"connection_id":91320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:20:33] local.INFO: Processing buffer {"connection_id":91320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:20:33] local.INFO: IMEI packet received {"connection_id":91320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":91320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:20:33] local.INFO: TCP Data received {"connection_id":91320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:20:33] local.INFO: Processing buffer {"connection_id":91320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:20:33] local.INFO: Packet analysis {"connection_id":91320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:33] local.INFO: Extracted packet for processing {"connection_id":91320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:20:33] 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-06-02 22:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:20:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:20:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":91320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:20:33] local.INFO: GPS data processed {"connection_id":91320,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:20:33] local.INFO: Acknowledgment sent {"connection_id":91320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:20:38] local.INFO: TCP Data received {"connection_id":91320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:20:38] local.INFO: Processing buffer {"connection_id":91320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:20:38] local.INFO: Packet analysis {"connection_id":91320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:38] local.INFO: Extracted packet for processing {"connection_id":91320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:20:38] 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-06-02 22:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:20:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:20:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":91320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:20:38] local.INFO: GPS data processed {"connection_id":91320,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:20:38] local.INFO: Acknowledgment sent {"connection_id":91320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:20:41] local.INFO: TCP Data received {"connection_id":89898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:20:41] local.INFO: Processing buffer {"connection_id":89898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:20:41] local.INFO: Packet analysis {"connection_id":89898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:41] local.INFO: Extracted packet for processing {"connection_id":89898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:20:41] 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-06-02 22:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:20:41] 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-06-02 22:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:20:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":89898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:20:42] local.INFO: GPS data processed {"connection_id":89898,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:20:42] local.INFO: Acknowledgment sent {"connection_id":89898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:21:04] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:21:04] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:21:04] local.INFO: IMEI packet received {"connection_id":89899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":89899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:21:09] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:21:09] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:21:09] local.INFO: IMEI packet received {"connection_id":89899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":89899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:21:10] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:21:10] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:21:10] local.INFO: Packet analysis {"connection_id":89899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:21:10] local.INFO: Extracted packet for processing {"connection_id":89899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:21:10] 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-06-02 22:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:21:10] 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-06-02 22:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:21:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":89899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:21:10] local.INFO: GPS data processed {"connection_id":89899,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:21:10] local.INFO: Acknowledgment sent {"connection_id":89899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:21:22] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:21:22] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:21:22] local.INFO: IMEI packet received {"connection_id":89900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":89900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:21:28] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:21:28] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:21:28] local.INFO: IMEI packet received {"connection_id":89900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":89900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:21:28] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:21:28] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893a83f0012cb29ac007823b18004b00b828..."} 
[2026-06-02 22:21:28] local.INFO: Packet analysis {"connection_id":89900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:21:28] local.INFO: Extracted packet for processing {"connection_id":89900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:21:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787129088001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780418774000,"timestamp_ms":1780418774000,"timestamp_seconds":1780418774,"priority":1,"record_length":96,"hex_timestamp":"0000019e893a83f0"} 
[2026-06-02 22:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-02 22:21: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-06-02 22: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-06-02 22:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:21: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-06-02 22:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787129088001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787129088001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:21:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:21:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787129088001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":89900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:21:28] local.INFO: GPS data processed {"connection_id":89900,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:21:28] local.INFO: Acknowledgment sent {"connection_id":89900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:21:41] local.INFO: TCP Data received {"connection_id":89899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:21:41] local.INFO: Processing buffer {"connection_id":89899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:21:41] local.INFO: Packet analysis {"connection_id":89899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:21:41] local.INFO: Extracted packet for processing {"connection_id":89899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:21:41] 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-06-02 22:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:21:41] 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-06-02 22:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:21:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":89899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:21:41] local.INFO: GPS data processed {"connection_id":89899,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:21:41] local.INFO: Acknowledgment sent {"connection_id":89899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:21:59] local.INFO: TCP Data received {"connection_id":89900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:21:59] local.INFO: Processing buffer {"connection_id":89900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:21:59] local.INFO: Packet analysis {"connection_id":89900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:21:59] local.INFO: Extracted packet for processing {"connection_id":89900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:21:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:21:59] 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-06-02 22: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-06-02 22:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:21:59] 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-06-02 22:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:21:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:21:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":89900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:21:59] local.INFO: GPS data processed {"connection_id":89900,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:21:59] local.INFO: Acknowledgment sent {"connection_id":89900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:22:04] local.INFO: TCP Data received {"connection_id":91321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:22:04] local.INFO: Processing buffer {"connection_id":91321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:22:04] local.INFO: IMEI packet received {"connection_id":91321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":91321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:22:09] local.INFO: TCP Data received {"connection_id":91321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:22:09] local.INFO: Processing buffer {"connection_id":91321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:22:09] local.INFO: IMEI packet received {"connection_id":91321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":91321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:22:10] local.INFO: TCP Data received {"connection_id":91321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:22:10] local.INFO: Processing buffer {"connection_id":91321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893ad9e0012d196500071ff0580046014624..."} 
[2026-06-02 22:22:10] local.INFO: Packet analysis {"connection_id":91321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:22:10] local.INFO: Extracted packet for processing {"connection_id":91321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893a"} 
[2026-06-02 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787134720001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780418796000,"timestamp_ms":1780418796000,"timestamp_seconds":1780418796,"priority":1,"record_length":96,"hex_timestamp":"0000019e893ad9e0"} 
[2026-06-02 22:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:22:10] 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-06-02 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:22:10] 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-06-02 22:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787134720001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787134720001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:22:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787134720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":91321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:22:10] local.INFO: GPS data processed {"connection_id":91321,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:22:10] local.INFO: Acknowledgment sent {"connection_id":91321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:22:23] local.INFO: TCP Data received {"connection_id":90167,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:22:23] local.INFO: Processing buffer {"connection_id":90167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:22:23] local.INFO: IMEI packet received {"connection_id":90167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":90167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:22:29] local.INFO: TCP Data received {"connection_id":90167,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:22:29] local.INFO: Processing buffer {"connection_id":90167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:22:29] local.INFO: IMEI packet received {"connection_id":90167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":90167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:22:30] local.INFO: TCP Data received {"connection_id":90167,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:22:30] local.INFO: Processing buffer {"connection_id":90167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:22:30] local.INFO: Packet analysis {"connection_id":90167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:22:30] local.INFO: Extracted packet for processing {"connection_id":90167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:22:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:22:30] 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-06-02 22:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":90167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":90167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":90167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:22:30] 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-06-02 22:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:22:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":90167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:22:30] local.INFO: GPS data processed {"connection_id":90167,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:22:30] local.INFO: Acknowledgment sent {"connection_id":90167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:22:41] local.INFO: TCP Data received {"connection_id":91321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:22:41] local.INFO: Processing buffer {"connection_id":91321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:22:41] local.INFO: Packet analysis {"connection_id":91321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:22:41] local.INFO: Extracted packet for processing {"connection_id":91321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:22:41] 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-06-02 22:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:22:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":91321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:22:41] local.INFO: GPS data processed {"connection_id":91321,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:22:41] local.INFO: Acknowledgment sent {"connection_id":91321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:23:01] local.INFO: TCP Data received {"connection_id":90167,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:23:01] local.INFO: Processing buffer {"connection_id":90167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:23:01] local.INFO: Packet analysis {"connection_id":90167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:01] local.INFO: Extracted packet for processing {"connection_id":90167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:23: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-06-02 22:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":90167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":90167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":90167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:23:01] 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-06-02 22:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:23:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":90167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:23:01] local.INFO: GPS data processed {"connection_id":90167,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:23:01] local.INFO: Acknowledgment sent {"connection_id":90167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:23:04] local.INFO: TCP Data received {"connection_id":91322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:23:04] local.INFO: Processing buffer {"connection_id":91322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:23:04] local.INFO: IMEI packet received {"connection_id":91322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":91322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:23:09] local.INFO: TCP Data received {"connection_id":91322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:23:09] local.INFO: Processing buffer {"connection_id":91322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:23:09] local.INFO: IMEI packet received {"connection_id":91322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":91322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:23:10] local.INFO: TCP Data received {"connection_id":91322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:23:10] local.INFO: Processing buffer {"connection_id":91322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:23:10] local.INFO: Packet analysis {"connection_id":91322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:10] local.INFO: Extracted packet for processing {"connection_id":91322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:23:10] 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-06-02 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:23:10] 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-06-02 22:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:23:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":91322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:23:10] local.INFO: GPS data processed {"connection_id":91322,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:23:10] local.INFO: Acknowledgment sent {"connection_id":91322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:23:22] local.INFO: TCP Data received {"connection_id":91323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:23:22] local.INFO: Processing buffer {"connection_id":91323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:23:22] local.INFO: IMEI packet received {"connection_id":91323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":91323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:23:27] local.INFO: TCP Data received {"connection_id":90168,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:23:27] local.INFO: Processing buffer {"connection_id":90168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:23:27] local.INFO: IMEI packet received {"connection_id":90168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":90168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:23:28] local.INFO: TCP Data received {"connection_id":91323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:23:28] local.INFO: Processing buffer {"connection_id":91323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:23:28] local.INFO: IMEI packet received {"connection_id":91323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":91323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:23:28] local.INFO: TCP Data received {"connection_id":91323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:23:28] local.INFO: Processing buffer {"connection_id":91323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:23:28] local.INFO: Packet analysis {"connection_id":91323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:28] local.INFO: Extracted packet for processing {"connection_id":91323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:23:28] 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-06-02 22:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:23:28] 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-06-02 22:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:23:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:23:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":91323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:23:28] local.INFO: GPS data processed {"connection_id":91323,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:23:28] local.INFO: Acknowledgment sent {"connection_id":91323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:23:40] local.INFO: TCP Data received {"connection_id":91322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:23:40] local.INFO: Processing buffer {"connection_id":91322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:23:40] local.INFO: Packet analysis {"connection_id":91322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:40] local.INFO: Extracted packet for processing {"connection_id":91322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":91322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":91322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":91322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:23:40] 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-06-02 22:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:23:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":91322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:23:41] local.INFO: GPS data processed {"connection_id":91322,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:23:41] local.INFO: Acknowledgment sent {"connection_id":91322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:23:57] local.INFO: TCP Data received {"connection_id":91324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:23:57] local.INFO: Processing buffer {"connection_id":91324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:23:57] local.INFO: IMEI packet received {"connection_id":91324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":91324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:24:00] local.INFO: TCP Data received {"connection_id":91323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:24:00] local.INFO: Processing buffer {"connection_id":91323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:24:00] local.INFO: Packet analysis {"connection_id":91323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:00] local.INFO: Extracted packet for processing {"connection_id":91323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:24:00] 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-06-02 22: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-06-02 22:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:24:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":91323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:24:00] local.INFO: GPS data processed {"connection_id":91323,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:24:00] local.INFO: Acknowledgment sent {"connection_id":91323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:24:04] local.INFO: TCP Data received {"connection_id":90169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:24:04] local.INFO: Processing buffer {"connection_id":90169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:24:04] local.INFO: IMEI packet received {"connection_id":90169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":90169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:24:09] local.INFO: TCP Data received {"connection_id":90169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:24:09] local.INFO: Processing buffer {"connection_id":90169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:24:09] local.INFO: IMEI packet received {"connection_id":90169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":90169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:24:10] local.INFO: TCP Data received {"connection_id":90169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:24:10] local.INFO: Processing buffer {"connection_id":90169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:24:10] local.INFO: Packet analysis {"connection_id":90169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:10] local.INFO: Extracted packet for processing {"connection_id":90169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:24:10] 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-06-02 22:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:24:10] 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-06-02 22:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:24:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":90169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:24:10] local.INFO: GPS data processed {"connection_id":90169,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:24:10] local.INFO: Acknowledgment sent {"connection_id":90169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:24:22] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:24:22] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:24:22] local.INFO: IMEI packet received {"connection_id":90170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":90170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:24:28] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:24:28] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:24:28] local.INFO: IMEI packet received {"connection_id":90170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":90170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:24:28] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:24:28] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:24:28] local.INFO: Packet analysis {"connection_id":90170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:28] local.INFO: Extracted packet for processing {"connection_id":90170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:24:28] 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-06-02 22:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:24:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":90170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:24:29] local.INFO: GPS data processed {"connection_id":90170,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:24:29] local.INFO: Acknowledgment sent {"connection_id":90170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:24:41] local.INFO: TCP Data received {"connection_id":90169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:24:41] local.INFO: Processing buffer {"connection_id":90169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:24:41] local.INFO: Packet analysis {"connection_id":90169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:41] local.INFO: Extracted packet for processing {"connection_id":90169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:24:41] 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-06-02 22:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:24:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":90169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:24:41] local.INFO: GPS data processed {"connection_id":90169,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:24:41] local.INFO: Acknowledgment sent {"connection_id":90169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:25:00] local.INFO: TCP Data received {"connection_id":90170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:25:00] local.INFO: Processing buffer {"connection_id":90170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:25:00] local.INFO: Packet analysis {"connection_id":90170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:00] local.INFO: Extracted packet for processing {"connection_id":90170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:25:00] 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-06-02 22: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-06-02 22:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:25:00] 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-06-02 22:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:25:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":90170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:25:00] local.INFO: GPS data processed {"connection_id":90170,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:25:00] local.INFO: Acknowledgment sent {"connection_id":90170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:25:04] local.INFO: TCP Data received {"connection_id":91326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:25:04] local.INFO: Processing buffer {"connection_id":91326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:25:04] local.INFO: IMEI packet received {"connection_id":91326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":91326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:25:09] local.INFO: TCP Data received {"connection_id":91326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:25:09] local.INFO: Processing buffer {"connection_id":91326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:25:09] local.INFO: IMEI packet received {"connection_id":91326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":91326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:25:10] local.INFO: TCP Data received {"connection_id":91326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:25:10] local.INFO: Processing buffer {"connection_id":91326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:25:10] local.INFO: Packet analysis {"connection_id":91326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:10] local.INFO: Extracted packet for processing {"connection_id":91326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:25:10] 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-06-02 22:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:25:10] 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-06-02 22:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":91326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:25:10] local.INFO: GPS data processed {"connection_id":91326,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:25:10] local.INFO: Acknowledgment sent {"connection_id":91326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:25:22] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:25:22] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:25:22] local.INFO: IMEI packet received {"connection_id":89902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":89902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:25:28] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:25:28] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:25:28] local.INFO: IMEI packet received {"connection_id":89902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":89902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:25:28] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:25:28] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:25:28] local.INFO: Packet analysis {"connection_id":89902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:28] local.INFO: Extracted packet for processing {"connection_id":89902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:25:28] 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-06-02 22: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-06-02 22:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:25:28] 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-06-02 22:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:25:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:25:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":89902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:25:28] local.INFO: GPS data processed {"connection_id":89902,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:25:28] local.INFO: Acknowledgment sent {"connection_id":89902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:25:41] local.INFO: TCP Data received {"connection_id":91326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:25:41] local.INFO: Processing buffer {"connection_id":91326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:25:41] local.INFO: Packet analysis {"connection_id":91326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:41] local.INFO: Extracted packet for processing {"connection_id":91326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:25:41] 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-06-02 22:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":91326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:25:41] local.INFO: GPS data processed {"connection_id":91326,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:25:41] local.INFO: Acknowledgment sent {"connection_id":91326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:26:00] local.INFO: TCP Data received {"connection_id":89902,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:00] local.INFO: Processing buffer {"connection_id":89902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:00] local.INFO: Packet analysis {"connection_id":89902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:00] local.INFO: Extracted packet for processing {"connection_id":89902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:26:00] 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-06-02 22:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:26:00] 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-06-02 22:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:26:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":89902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:26:00] local.INFO: GPS data processed {"connection_id":89902,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:26:00] local.INFO: Acknowledgment sent {"connection_id":89902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:26:09] local.INFO: TCP Data received {"connection_id":90255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:26:09] local.INFO: Processing buffer {"connection_id":90255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:26:09] local.INFO: IMEI packet received {"connection_id":90255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":90255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:26:14] local.INFO: TCP Data received {"connection_id":90255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:26:14] local.INFO: Processing buffer {"connection_id":90255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:26:14] local.INFO: IMEI packet received {"connection_id":90255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":90255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:26:15] local.INFO: TCP Data received {"connection_id":90255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:26:15] local.INFO: Processing buffer {"connection_id":90255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:26:15] local.INFO: Packet analysis {"connection_id":90255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:15] local.INFO: Extracted packet for processing {"connection_id":90255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:26:15] 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-06-02 22:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:26:15] 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-06-02 22:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:26:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":90255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:26:15] local.INFO: GPS data processed {"connection_id":90255,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:26:15] local.INFO: Acknowledgment sent {"connection_id":90255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:26:19] local.INFO: TCP Data received {"connection_id":90255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:26:19] local.INFO: Processing buffer {"connection_id":90255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:26:19] local.INFO: Packet analysis {"connection_id":90255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:19] local.INFO: Extracted packet for processing {"connection_id":90255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26: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-06-02 22:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:26: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-06-02 22:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:26:19] 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-06-02 22:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:26:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":90255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:26:20] local.INFO: GPS data processed {"connection_id":90255,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:26:20] local.INFO: Acknowledgment sent {"connection_id":90255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:26:28] local.INFO: TCP Data received {"connection_id":91327,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:26:28] local.INFO: Processing buffer {"connection_id":91327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:26:28] local.INFO: IMEI packet received {"connection_id":91327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":91327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:26:33] local.INFO: TCP Data received {"connection_id":91327,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:26:33] local.INFO: Processing buffer {"connection_id":91327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:26:33] local.INFO: IMEI packet received {"connection_id":91327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":91327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:26:33] local.INFO: TCP Data received {"connection_id":91327,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:33] local.INFO: Processing buffer {"connection_id":91327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:33] local.INFO: Packet analysis {"connection_id":91327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:33] local.INFO: Extracted packet for processing {"connection_id":91327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:26:33] 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-06-02 22:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:26:33] 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-06-02 22:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:26:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:26:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":91327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:26:33] local.INFO: GPS data processed {"connection_id":91327,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:26:33] local.INFO: Acknowledgment sent {"connection_id":91327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:26:38] local.INFO: TCP Data received {"connection_id":91327,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:38] local.INFO: Processing buffer {"connection_id":91327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f1bb8012cb29ac007823b18004b00b82a..."} 
[2026-06-02 22:26:38] local.INFO: Packet analysis {"connection_id":91327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:38] local.INFO: Extracted packet for processing {"connection_id":91327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:26:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787206144001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780419075000,"timestamp_ms":1780419075000,"timestamp_seconds":1780419075,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f1bb8"} 
[2026-06-02 22:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:26:38] 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-06-02 22: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-06-02 22:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":91327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":91327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":91327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787206144001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787206144001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:26:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787206144001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":91327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:26:38] local.INFO: GPS data processed {"connection_id":91327,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:26:38] local.INFO: Acknowledgment sent {"connection_id":91327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:27:04] local.INFO: TCP Data received {"connection_id":90171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:27:04] local.INFO: Processing buffer {"connection_id":90171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:27:04] local.INFO: IMEI packet received {"connection_id":90171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":90171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:27:09] local.INFO: TCP Data received {"connection_id":90171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:27:09] local.INFO: Processing buffer {"connection_id":90171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:27:09] local.INFO: IMEI packet received {"connection_id":90171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":90171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:27:10] local.INFO: TCP Data received {"connection_id":90171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:27:10] local.INFO: Processing buffer {"connection_id":90171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893f71a8012d196500071ff0580046014625..."} 
[2026-06-02 22:27:10] local.INFO: Packet analysis {"connection_id":90171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:27:10] local.INFO: Extracted packet for processing {"connection_id":90171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 22:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787211776001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419097000,"timestamp_ms":1780419097000,"timestamp_seconds":1780419097,"priority":1,"record_length":96,"hex_timestamp":"0000019e893f71a8"} 
[2026-06-02 22:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:27:10] 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-06-02 22:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:27:10] 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-06-02 22:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787211776001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787211776001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:27:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787211776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":90171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:27:10] local.INFO: GPS data processed {"connection_id":90171,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:27:10] local.INFO: Acknowledgment sent {"connection_id":90171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:27:22] local.INFO: TCP Data received {"connection_id":90256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:27:22] local.INFO: Processing buffer {"connection_id":90256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:27:22] local.INFO: IMEI packet received {"connection_id":90256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":90256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:27:28] local.INFO: TCP Data received {"connection_id":90256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:27:28] local.INFO: Processing buffer {"connection_id":90256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:27:28] local.INFO: IMEI packet received {"connection_id":90256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":90256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:27:28] local.INFO: TCP Data received {"connection_id":90256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:27:28] local.INFO: Processing buffer {"connection_id":90256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:27:28] local.INFO: Packet analysis {"connection_id":90256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:27:28] local.INFO: Extracted packet for processing {"connection_id":90256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:27:28] 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-06-02 22: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-06-02 22:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:27:28] 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-06-02 22:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:27:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:27:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":90256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:27:28] local.INFO: GPS data processed {"connection_id":90256,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:27:28] local.INFO: Acknowledgment sent {"connection_id":90256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:27:40] local.INFO: TCP Data received {"connection_id":90171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:27:40] local.INFO: Processing buffer {"connection_id":90171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:27:40] local.INFO: Packet analysis {"connection_id":90171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:27:40] local.INFO: Extracted packet for processing {"connection_id":90171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:27:40] 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-06-02 22:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:27:40] 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-06-02 22:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:27:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":90171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:27:41] local.INFO: GPS data processed {"connection_id":90171,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:27:41] local.INFO: Acknowledgment sent {"connection_id":90171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:27:59] local.INFO: TCP Data received {"connection_id":90256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:27:59] local.INFO: Processing buffer {"connection_id":90256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:27:59] local.INFO: Packet analysis {"connection_id":90256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:27:59] local.INFO: Extracted packet for processing {"connection_id":90256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:27:59] 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-06-02 22: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-06-02 22:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:27: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-06-02 22:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:27:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:27:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":90256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:27:59] local.INFO: GPS data processed {"connection_id":90256,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:27:59] local.INFO: Acknowledgment sent {"connection_id":90256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:28:04] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:28:04] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:28:04] local.INFO: IMEI packet received {"connection_id":90173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":90173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:28:09] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:28:09] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:28:09] local.INFO: IMEI packet received {"connection_id":90173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":90173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:28:10] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:28:10] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:28:10] local.INFO: Packet analysis {"connection_id":90173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:28:10] local.INFO: Extracted packet for processing {"connection_id":90173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:28:10] 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-06-02 22:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:28:10] 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-06-02 22:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:28:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":90173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:28:10] local.INFO: GPS data processed {"connection_id":90173,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:28:10] local.INFO: Acknowledgment sent {"connection_id":90173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:28:23] local.INFO: TCP Data received {"connection_id":90257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:28:23] local.INFO: Processing buffer {"connection_id":90257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:28:23] local.INFO: IMEI packet received {"connection_id":90257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":90257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:28:28] local.INFO: TCP Data received {"connection_id":90257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:28:28] local.INFO: Processing buffer {"connection_id":90257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:28:28] local.INFO: IMEI packet received {"connection_id":90257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":90257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:28:28] local.INFO: TCP Data received {"connection_id":90257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:28:28] local.INFO: Processing buffer {"connection_id":90257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:28:28] local.INFO: Packet analysis {"connection_id":90257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:28:28] local.INFO: Extracted packet for processing {"connection_id":90257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:28:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:28:28] 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-06-02 22: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-06-02 22:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:28:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":90257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:28:28] local.INFO: GPS data processed {"connection_id":90257,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:28:28] local.INFO: Acknowledgment sent {"connection_id":90257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:28:41] local.INFO: TCP Data received {"connection_id":90173,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:28:41] local.INFO: Processing buffer {"connection_id":90173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:28:41] local.INFO: Packet analysis {"connection_id":90173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:28:41] local.INFO: Extracted packet for processing {"connection_id":90173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:28:41] 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-06-02 22:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:28:41] 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-06-02 22:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:28:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":90173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:28:41] local.INFO: GPS data processed {"connection_id":90173,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:28:41] local.INFO: Acknowledgment sent {"connection_id":90173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:29:00] local.INFO: TCP Data received {"connection_id":90257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:00] local.INFO: Processing buffer {"connection_id":90257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:00] local.INFO: Packet analysis {"connection_id":90257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:29:00] local.INFO: Extracted packet for processing {"connection_id":90257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:29:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:29:00] 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-06-02 22:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:29: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-06-02 22:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":90257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:29:00] local.INFO: GPS data processed {"connection_id":90257,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:29:00] local.INFO: Acknowledgment sent {"connection_id":90257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:29:04] local.INFO: TCP Data received {"connection_id":91329,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:29:04] local.INFO: Processing buffer {"connection_id":91329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:29:04] local.INFO: IMEI packet received {"connection_id":91329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":91329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:29:09] local.INFO: TCP Data received {"connection_id":91329,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:29:09] local.INFO: Processing buffer {"connection_id":91329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:29:09] local.INFO: IMEI packet received {"connection_id":91329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":91329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:29:10] local.INFO: TCP Data received {"connection_id":91329,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:29:10] local.INFO: Processing buffer {"connection_id":91329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:29:10] local.INFO: Packet analysis {"connection_id":91329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:29:10] local.INFO: Extracted packet for processing {"connection_id":91329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:29:10] 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-06-02 22:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:29:10] 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-06-02 22:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:29:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":91329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:29:10] local.INFO: GPS data processed {"connection_id":91329,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:29:10] local.INFO: Acknowledgment sent {"connection_id":91329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:29:12] local.INFO: TCP Data received {"connection_id":90174,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:29:12] local.INFO: Processing buffer {"connection_id":90174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:29:12] local.INFO: IMEI packet received {"connection_id":90174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":90174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:29:22] local.INFO: TCP Data received {"connection_id":89904,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:29:22] local.INFO: Processing buffer {"connection_id":89904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:29:22] local.INFO: IMEI packet received {"connection_id":89904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":89904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:29:28] local.INFO: TCP Data received {"connection_id":89904,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:29:28] local.INFO: Processing buffer {"connection_id":89904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:29:28] local.INFO: IMEI packet received {"connection_id":89904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":89904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:29:28] local.INFO: TCP Data received {"connection_id":89904,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:28] local.INFO: Processing buffer {"connection_id":89904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:28] local.INFO: Packet analysis {"connection_id":89904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:29:28] local.INFO: Extracted packet for processing {"connection_id":89904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:29:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:29:28] 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-06-02 22:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:29: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-06-02 22:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:29:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":89904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:29:28] local.INFO: GPS data processed {"connection_id":89904,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:29:28] local.INFO: Acknowledgment sent {"connection_id":89904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:29:41] local.INFO: TCP Data received {"connection_id":91329,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:29:41] local.INFO: Processing buffer {"connection_id":91329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:29:41] local.INFO: Packet analysis {"connection_id":91329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:29:41] local.INFO: Extracted packet for processing {"connection_id":91329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:29:41] 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-06-02 22:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:29:41] 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-06-02 22:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:29:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":91329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:29:41] local.INFO: GPS data processed {"connection_id":91329,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:29:41] local.INFO: Acknowledgment sent {"connection_id":91329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:29:57] local.INFO: TCP Data received {"connection_id":89905,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:29:57] local.INFO: Processing buffer {"connection_id":89905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:29:57] local.INFO: IMEI packet received {"connection_id":89905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":89905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:29:59] local.INFO: TCP Data received {"connection_id":89904,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:59] local.INFO: Processing buffer {"connection_id":89904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:29:59] local.INFO: Packet analysis {"connection_id":89904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:29:59] local.INFO: Extracted packet for processing {"connection_id":89904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:29:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:29:59] 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-06-02 22: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-06-02 22:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:29:59] 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-06-02 22:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:29:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":89904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:29:59] local.INFO: GPS data processed {"connection_id":89904,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:29:59] local.INFO: Acknowledgment sent {"connection_id":89904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:30:04] local.INFO: TCP Data received {"connection_id":91330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:30:04] local.INFO: Processing buffer {"connection_id":91330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:30:04] local.INFO: IMEI packet received {"connection_id":91330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":91330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:30:09] local.INFO: TCP Data received {"connection_id":91330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:30:09] local.INFO: Processing buffer {"connection_id":91330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:30:09] local.INFO: IMEI packet received {"connection_id":91330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":91330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:30:10] local.INFO: TCP Data received {"connection_id":91330,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:30:10] local.INFO: Processing buffer {"connection_id":91330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:30:10] local.INFO: Packet analysis {"connection_id":91330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:30:10] local.INFO: Extracted packet for processing {"connection_id":91330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:30:10] 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-06-02 22:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:30:10] 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-06-02 22:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:30:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":91330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:30:10] local.INFO: GPS data processed {"connection_id":91330,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:30:10] local.INFO: Acknowledgment sent {"connection_id":91330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:30:22] local.INFO: TCP Data received {"connection_id":90258,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:30:22] local.INFO: Processing buffer {"connection_id":90258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:30:22] local.INFO: IMEI packet received {"connection_id":90258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":90258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:30:28] local.INFO: TCP Data received {"connection_id":90258,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:30:28] local.INFO: Processing buffer {"connection_id":90258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:30:28] local.INFO: IMEI packet received {"connection_id":90258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":90258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:30:28] local.INFO: TCP Data received {"connection_id":90258,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:30:28] local.INFO: Processing buffer {"connection_id":90258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:30:28] local.INFO: Packet analysis {"connection_id":90258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:30:28] local.INFO: Extracted packet for processing {"connection_id":90258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:30:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:30:28] 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-06-02 22:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:30: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-06-02 22:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:30:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:30:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":90258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:30:28] local.INFO: GPS data processed {"connection_id":90258,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:30:28] local.INFO: Acknowledgment sent {"connection_id":90258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:30:41] local.INFO: TCP Data received {"connection_id":91330,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:30:41] local.INFO: Processing buffer {"connection_id":91330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:30:41] local.INFO: Packet analysis {"connection_id":91330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:30:41] local.INFO: Extracted packet for processing {"connection_id":91330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:30:41] 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-06-02 22:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:30:41] 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-06-02 22:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":91330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:30:41] local.INFO: GPS data processed {"connection_id":91330,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:30:41] local.INFO: Acknowledgment sent {"connection_id":91330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:30:59] local.INFO: TCP Data received {"connection_id":90258,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:30:59] local.INFO: Processing buffer {"connection_id":90258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:30:59] local.INFO: Packet analysis {"connection_id":90258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:30:59] local.INFO: Extracted packet for processing {"connection_id":90258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:30:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:30:59] 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-06-02 22:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:30: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-06-02 22:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:30:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:30:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":90258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:30:59] local.INFO: GPS data processed {"connection_id":90258,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:30:59] local.INFO: Acknowledgment sent {"connection_id":90258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:31:09] local.INFO: TCP Data received {"connection_id":90259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:31:09] local.INFO: Processing buffer {"connection_id":90259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:31:09] local.INFO: IMEI packet received {"connection_id":90259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":90259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:31:14] local.INFO: TCP Data received {"connection_id":90259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:31:14] local.INFO: Processing buffer {"connection_id":90259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:31:14] local.INFO: IMEI packet received {"connection_id":90259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":90259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:31:15] local.INFO: TCP Data received {"connection_id":90259,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:31:15] local.INFO: Processing buffer {"connection_id":90259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:31:15] local.INFO: Packet analysis {"connection_id":90259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:31:15] local.INFO: Extracted packet for processing {"connection_id":90259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:31:15] 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-06-02 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:31:15] 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-06-02 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:31:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":90259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:31:15] local.INFO: GPS data processed {"connection_id":90259,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:31:15] local.INFO: Acknowledgment sent {"connection_id":90259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:31:19] local.INFO: TCP Data received {"connection_id":90259,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:31:19] local.INFO: Processing buffer {"connection_id":90259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:31:19] local.INFO: Packet analysis {"connection_id":90259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:31:19] local.INFO: Extracted packet for processing {"connection_id":90259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31: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-06-02 22:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:31:19] 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-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:31:19] 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-06-02 22:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:31:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":90259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:31:20] local.INFO: GPS data processed {"connection_id":90259,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:31:20] local.INFO: Acknowledgment sent {"connection_id":90259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:31:22] local.INFO: TCP Data received {"connection_id":90260,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:31:22] local.INFO: Processing buffer {"connection_id":90260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:31:22] local.INFO: IMEI packet received {"connection_id":90260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":90260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:31:28] local.INFO: TCP Data received {"connection_id":90260,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:31:28] local.INFO: Processing buffer {"connection_id":90260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:31:28] local.INFO: IMEI packet received {"connection_id":90260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":90260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:31:28] local.INFO: TCP Data received {"connection_id":90260,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:31:28] local.INFO: Processing buffer {"connection_id":90260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8943b380012cb29ac007823b18004800b828..."} 
[2026-06-02 22:31:28] local.INFO: Packet analysis {"connection_id":90260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:31:28] local.INFO: Extracted packet for processing {"connection_id":90260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8943"} 
[2026-06-02 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787283200001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419376000,"timestamp_ms":1780419376000,"timestamp_seconds":1780419376,"priority":1,"record_length":96,"hex_timestamp":"0000019e8943b380"} 
[2026-06-02 22:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:31:28] 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-06-02 22:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787283200001,"66":25560,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787283200001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:31:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787283200001,"power":25560,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":90260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:31:28] local.INFO: GPS data processed {"connection_id":90260,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:31:28] local.INFO: Acknowledgment sent {"connection_id":90260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:31:59] local.INFO: TCP Data received {"connection_id":90260,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:31:59] local.INFO: Processing buffer {"connection_id":90260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:31:59] local.INFO: Packet analysis {"connection_id":90260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:31:59] local.INFO: Extracted packet for processing {"connection_id":90260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:31:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:31:59] 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-06-02 22:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":90260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:31:59] local.INFO: GPS data processed {"connection_id":90260,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:31:59] local.INFO: Acknowledgment sent {"connection_id":90260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:32:04] local.INFO: TCP Data received {"connection_id":91331,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:32:04] local.INFO: Processing buffer {"connection_id":91331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:32:04] local.INFO: IMEI packet received {"connection_id":91331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":91331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:32:09] local.INFO: TCP Data received {"connection_id":91331,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:32:09] local.INFO: Processing buffer {"connection_id":91331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:32:09] local.INFO: IMEI packet received {"connection_id":91331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":91331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:32:10] local.INFO: TCP Data received {"connection_id":91331,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:32:10] local.INFO: Processing buffer {"connection_id":91331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89440970012d196500071ff0580046014625..."} 
[2026-06-02 22:32:10] local.INFO: Packet analysis {"connection_id":91331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:32:10] local.INFO: Extracted packet for processing {"connection_id":91331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8944"} 
[2026-06-02 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787288832001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419398000,"timestamp_ms":1780419398000,"timestamp_seconds":1780419398,"priority":1,"record_length":96,"hex_timestamp":"0000019e89440970"} 
[2026-06-02 22:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:32:10] 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-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787288832001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787288832001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787288832001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":91331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:32:10] local.INFO: GPS data processed {"connection_id":91331,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:32:10] local.INFO: Acknowledgment sent {"connection_id":91331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:32:23] local.INFO: TCP Data received {"connection_id":90261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:32:23] local.INFO: Processing buffer {"connection_id":90261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:32:23] local.INFO: IMEI packet received {"connection_id":90261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":90261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:32:28] local.INFO: TCP Data received {"connection_id":90261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:32:28] local.INFO: Processing buffer {"connection_id":90261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:32:28] local.INFO: IMEI packet received {"connection_id":90261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":90261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:32:28] local.INFO: TCP Data received {"connection_id":90261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:32:28] local.INFO: Processing buffer {"connection_id":90261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:32:28] local.INFO: Packet analysis {"connection_id":90261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:32:28] local.INFO: Extracted packet for processing {"connection_id":90261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:32:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":90261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:32:28] local.INFO: GPS data processed {"connection_id":90261,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:32:28] local.INFO: Acknowledgment sent {"connection_id":90261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:32:41] local.INFO: TCP Data received {"connection_id":91331,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:32:41] local.INFO: Processing buffer {"connection_id":91331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:32:41] local.INFO: Packet analysis {"connection_id":91331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:32:41] local.INFO: Extracted packet for processing {"connection_id":91331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:32:41] 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-06-02 22:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":91331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:32:41] local.INFO: GPS data processed {"connection_id":91331,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:32:41] local.INFO: Acknowledgment sent {"connection_id":91331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:32:59] local.INFO: TCP Data received {"connection_id":90261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:32:59] local.INFO: Processing buffer {"connection_id":90261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:32:59] local.INFO: Packet analysis {"connection_id":90261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:32:59] local.INFO: Extracted packet for processing {"connection_id":90261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:32: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-06-02 22:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:32: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-06-02 22:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:32:59] 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-06-02 22:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:32:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:32:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":90261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:32:59] local.INFO: GPS data processed {"connection_id":90261,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:32:59] local.INFO: Acknowledgment sent {"connection_id":90261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:33:04] local.INFO: TCP Data received {"connection_id":91332,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:33:04] local.INFO: Processing buffer {"connection_id":91332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:33:04] local.INFO: IMEI packet received {"connection_id":91332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":91332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:33:09] local.INFO: TCP Data received {"connection_id":91332,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:33:09] local.INFO: Processing buffer {"connection_id":91332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:33:09] local.INFO: IMEI packet received {"connection_id":91332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":91332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:33:10] local.INFO: TCP Data received {"connection_id":91332,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:33:10] local.INFO: Processing buffer {"connection_id":91332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:33:10] local.INFO: Packet analysis {"connection_id":91332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:10] local.INFO: Extracted packet for processing {"connection_id":91332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:33:10] 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-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:33:10] 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-06-02 22:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":91332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:33:10] local.INFO: GPS data processed {"connection_id":91332,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:33:10] local.INFO: Acknowledgment sent {"connection_id":91332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:33:22] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:33:22] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:33:22] local.INFO: IMEI packet received {"connection_id":90177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":90177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:33:28] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:33:28] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:33:28] local.INFO: IMEI packet received {"connection_id":90177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":90177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:33:28] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:33:28] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:33:28] local.INFO: Packet analysis {"connection_id":90177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:28] local.INFO: Extracted packet for processing {"connection_id":90177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:33:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:33:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":90177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:33:28] local.INFO: GPS data processed {"connection_id":90177,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:33:28] local.INFO: Acknowledgment sent {"connection_id":90177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:33:41] local.INFO: TCP Data received {"connection_id":91332,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:33:41] local.INFO: Processing buffer {"connection_id":91332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:33:41] local.INFO: Packet analysis {"connection_id":91332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:41] local.INFO: Extracted packet for processing {"connection_id":91332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:33:41] 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-06-02 22:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:33:41] 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-06-02 22:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:33:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":91332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:33:41] local.INFO: GPS data processed {"connection_id":91332,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:33:41] local.INFO: Acknowledgment sent {"connection_id":91332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:33:59] local.INFO: TCP Data received {"connection_id":90177,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:33:59] local.INFO: Processing buffer {"connection_id":90177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:33:59] local.INFO: Packet analysis {"connection_id":90177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:59] local.INFO: Extracted packet for processing {"connection_id":90177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:33:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:33:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:33:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":90177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:33:59] local.INFO: GPS data processed {"connection_id":90177,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:33:59] local.INFO: Acknowledgment sent {"connection_id":90177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:34:04] local.INFO: TCP Data received {"connection_id":89908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:34:04] local.INFO: Processing buffer {"connection_id":89908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:34:04] local.INFO: IMEI packet received {"connection_id":89908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":89908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:34:09] local.INFO: TCP Data received {"connection_id":89908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:34:09] local.INFO: Processing buffer {"connection_id":89908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:34:09] local.INFO: IMEI packet received {"connection_id":89908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":89908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:34:10] local.INFO: TCP Data received {"connection_id":89908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:34:10] local.INFO: Processing buffer {"connection_id":89908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:34:10] local.INFO: Packet analysis {"connection_id":89908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:10] local.INFO: Extracted packet for processing {"connection_id":89908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:34:10] 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-06-02 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:34:10] 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-06-02 22:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:34:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":89908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:34:10] local.INFO: GPS data processed {"connection_id":89908,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:34:10] local.INFO: Acknowledgment sent {"connection_id":89908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:34:22] local.INFO: TCP Data received {"connection_id":90263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:34:22] local.INFO: Processing buffer {"connection_id":90263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:34:22] local.INFO: IMEI packet received {"connection_id":90263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":90263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:34:28] local.INFO: TCP Data received {"connection_id":90263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:34:28] local.INFO: Processing buffer {"connection_id":90263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:34:28] local.INFO: IMEI packet received {"connection_id":90263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":90263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:34:28] local.INFO: TCP Data received {"connection_id":90263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:34:28] local.INFO: Processing buffer {"connection_id":90263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:34:28] local.INFO: Packet analysis {"connection_id":90263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:28] local.INFO: Extracted packet for processing {"connection_id":90263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:34:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:34:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":90263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:34:28] local.INFO: GPS data processed {"connection_id":90263,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:34:28] local.INFO: Acknowledgment sent {"connection_id":90263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:34:41] local.INFO: TCP Data received {"connection_id":89908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:34:41] local.INFO: Processing buffer {"connection_id":89908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:34:41] local.INFO: Packet analysis {"connection_id":89908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:41] local.INFO: Extracted packet for processing {"connection_id":89908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:34:41] 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-06-02 22:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:34:41] 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-06-02 22:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":89908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:34:41] local.INFO: GPS data processed {"connection_id":89908,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:34:41] local.INFO: Acknowledgment sent {"connection_id":89908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:34:59] local.INFO: TCP Data received {"connection_id":90263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:34:59] local.INFO: Processing buffer {"connection_id":90263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:34:59] local.INFO: Packet analysis {"connection_id":90263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:59] local.INFO: Extracted packet for processing {"connection_id":90263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:34:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:34: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-06-02 22:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:34:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":90263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:34:59] local.INFO: GPS data processed {"connection_id":90263,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:34:59] local.INFO: Acknowledgment sent {"connection_id":90263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:35:04] local.INFO: TCP Data received {"connection_id":91333,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:35:04] local.INFO: Processing buffer {"connection_id":91333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:35:04] local.INFO: IMEI packet received {"connection_id":91333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":91333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:35:09] local.INFO: TCP Data received {"connection_id":91333,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:35:09] local.INFO: Processing buffer {"connection_id":91333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:35:09] local.INFO: IMEI packet received {"connection_id":91333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":91333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:35:10] local.INFO: TCP Data received {"connection_id":91333,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:35:10] local.INFO: Processing buffer {"connection_id":91333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:35:10] local.INFO: Packet analysis {"connection_id":91333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:10] local.INFO: Extracted packet for processing {"connection_id":91333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:35:10] 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-06-02 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:35:10] 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-06-02 22:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:35:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":91333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:35:10] local.INFO: GPS data processed {"connection_id":91333,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:35:10] local.INFO: Acknowledgment sent {"connection_id":91333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:35:17] local.INFO: TCP Data received {"connection_id":90264,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:35:17] local.INFO: Processing buffer {"connection_id":90264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:35:17] local.INFO: IMEI packet received {"connection_id":90264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":90264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:35:22] local.INFO: TCP Data received {"connection_id":91334,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:35:22] local.INFO: Processing buffer {"connection_id":91334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:35:22] local.INFO: IMEI packet received {"connection_id":91334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":91334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:35:28] local.INFO: TCP Data received {"connection_id":91334,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:35:28] local.INFO: Processing buffer {"connection_id":91334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:35:28] local.INFO: IMEI packet received {"connection_id":91334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":91334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:35:28] local.INFO: TCP Data received {"connection_id":91334,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:35:28] local.INFO: Processing buffer {"connection_id":91334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:35:28] local.INFO: Packet analysis {"connection_id":91334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:28] local.INFO: Extracted packet for processing {"connection_id":91334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:35: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-06-02 22:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:35:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:35:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":91334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:35:28] local.INFO: GPS data processed {"connection_id":91334,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:35:28] local.INFO: Acknowledgment sent {"connection_id":91334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:35:41] local.INFO: TCP Data received {"connection_id":91333,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:35:41] local.INFO: Processing buffer {"connection_id":91333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:35:41] local.INFO: Packet analysis {"connection_id":91333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:41] local.INFO: Extracted packet for processing {"connection_id":91333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:35:41] 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-06-02 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:35:41] 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-06-02 22:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:35:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":91333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:35:41] local.INFO: GPS data processed {"connection_id":91333,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:35:41] local.INFO: Acknowledgment sent {"connection_id":91333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:35:57] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:35:57] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:35:57] local.INFO: IMEI packet received {"connection_id":89909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":89909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:35:59] local.INFO: TCP Data received {"connection_id":91334,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:35:59] local.INFO: Processing buffer {"connection_id":91334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:35:59] local.INFO: Packet analysis {"connection_id":91334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:59] local.INFO: Extracted packet for processing {"connection_id":91334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:35:59] 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-06-02 22:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:35:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":91334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:35:59] local.INFO: GPS data processed {"connection_id":91334,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:35:59] local.INFO: Acknowledgment sent {"connection_id":91334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:36:02] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:36:02] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:36:02] local.INFO: IMEI packet received {"connection_id":89909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 22:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":89909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:36:03] local.INFO: TCP Data received {"connection_id":89909,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e891fb4a8012cb2a08007824098004a002a30..."} 
[2026-06-02 22:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e891fb4a8012cb2a08007824098004a002a30..."} 
[2026-06-02 22:36:03] local.INFO: Processing buffer {"connection_id":89909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e891fb4a8012cb2a08007824098004a002a30..."} 
[2026-06-02 22:36:03] local.INFO: Packet analysis {"connection_id":89909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 22:36:03] local.INFO: Extracted packet for processing {"connection_id":89909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e891f"} 
[2026-06-02 22:36:03] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976728,"longitude_deg":74.9904,"latitude_deg":12.5976728,"altitude":74,"angle":42,"satellites":48,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07824098","is_valid_coordinates":true} 
[2026-06-02 22:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455786679296001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119437521468784640,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946276352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780417017000,"timestamp_ms":1780417017000,"timestamp_seconds":1780417017,"priority":1,"record_length":96,"hex_timestamp":"0000019e891fb4a8"} 
[2026-06-02 22:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:36: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-06-02 22:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":89909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":89909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 22:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":89909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 22:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 22:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 22:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455786679296001,"66":25495,"184":206,"85":36096,"24":0,"16":119437521468784640,"44":-5575315568946276352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 22:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 22:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455786679296001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:36:03] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119437521468784640,"km_value":119437521468784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946276352,"description":"Unknown IO ID 44"} 
[2026-06-02 22:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455786679296001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946276352}} 
[2026-06-02 22:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":89909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:36:03] local.INFO: GPS data processed {"connection_id":89909,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:36:03] local.INFO: Acknowledgment sent {"connection_id":89909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:36:09] local.INFO: TCP Data received {"connection_id":90265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:36:09] local.INFO: Processing buffer {"connection_id":90265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:36:09] local.INFO: IMEI packet received {"connection_id":90265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":90265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:36:14] local.INFO: TCP Data received {"connection_id":90265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:36:14] local.INFO: Processing buffer {"connection_id":90265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:36:14] local.INFO: IMEI packet received {"connection_id":90265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":90265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:36:15] local.INFO: TCP Data received {"connection_id":90265,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:36:15] local.INFO: Processing buffer {"connection_id":90265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:36:15] local.INFO: Packet analysis {"connection_id":90265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:36:15] local.INFO: Extracted packet for processing {"connection_id":90265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:36:15] 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-06-02 22:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:36:15] 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-06-02 22:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":90265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:36:15] local.INFO: GPS data processed {"connection_id":90265,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:36:15] local.INFO: Acknowledgment sent {"connection_id":90265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:36:19] local.INFO: TCP Data received {"connection_id":90265,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:36:19] local.INFO: Processing buffer {"connection_id":90265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:36:19] local.INFO: Packet analysis {"connection_id":90265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:36:19] local.INFO: Extracted packet for processing {"connection_id":90265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36: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-06-02 22:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:36:19] 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-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:36:19] 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-06-02 22:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:36:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":90265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:36:20] local.INFO: GPS data processed {"connection_id":90265,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:36:20] local.INFO: Acknowledgment sent {"connection_id":90265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:36:22] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:36:22] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:36:22] local.INFO: IMEI packet received {"connection_id":89910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":89910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:36:28] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:36:28] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:36:28] local.INFO: IMEI packet received {"connection_id":89910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":89910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:36:28] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:36:28] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89484b48012cb29ac007823b18004900b826..."} 
[2026-06-02 22:36:28] local.INFO: Packet analysis {"connection_id":89910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:36:28] local.INFO: Extracted packet for processing {"connection_id":89910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:36:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787360256001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419677000,"timestamp_ms":1780419677000,"timestamp_seconds":1780419677,"priority":1,"record_length":96,"hex_timestamp":"0000019e89484b48"} 
[2026-06-02 22:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-02 22:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:36:28] 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-06-02 22:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787360256001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787360256001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:36:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:36:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787360256001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":89910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:36:28] local.INFO: GPS data processed {"connection_id":89910,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:36:28] local.INFO: Acknowledgment sent {"connection_id":89910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:36:47] local.INFO: TCP Data received {"connection_id":91335,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:36:47] local.INFO: Processing buffer {"connection_id":91335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:36:47] local.INFO: IMEI packet received {"connection_id":91335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":91335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:36:59] local.INFO: TCP Data received {"connection_id":89910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:36:59] local.INFO: Processing buffer {"connection_id":89910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:36:59] local.INFO: Packet analysis {"connection_id":89910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:36:59] local.INFO: Extracted packet for processing {"connection_id":89910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:36:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:36:59] 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-06-02 22:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:36:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:36:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":89910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:36:59] local.INFO: GPS data processed {"connection_id":89910,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:36:59] local.INFO: Acknowledgment sent {"connection_id":89910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:37:04] local.INFO: TCP Data received {"connection_id":90266,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:37:04] local.INFO: Processing buffer {"connection_id":90266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:37:04] local.INFO: IMEI packet received {"connection_id":90266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":90266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:37:09] local.INFO: TCP Data received {"connection_id":90266,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:37:09] local.INFO: Processing buffer {"connection_id":90266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:37:09] local.INFO: IMEI packet received {"connection_id":90266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":90266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:37:10] local.INFO: TCP Data received {"connection_id":90266,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:37:10] local.INFO: Processing buffer {"connection_id":90266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8948a138012d196500071ff0580046014622..."} 
[2026-06-02 22:37:10] local.INFO: Packet analysis {"connection_id":90266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:37:10] local.INFO: Extracted packet for processing {"connection_id":90266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8948"} 
[2026-06-02 22:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787365888001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780419699000,"timestamp_ms":1780419699000,"timestamp_seconds":1780419699,"priority":1,"record_length":96,"hex_timestamp":"0000019e8948a138"} 
[2026-06-02 22:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:37:10] 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-06-02 22:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:37:10] 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-06-02 22:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787365888001,"66":2177,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787365888001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:37:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787365888001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":90266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:37:10] local.INFO: GPS data processed {"connection_id":90266,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:37:10] local.INFO: Acknowledgment sent {"connection_id":90266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:37:28] local.INFO: TCP Data received {"connection_id":90178,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:37:28] local.INFO: Processing buffer {"connection_id":90178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:37:28] local.INFO: IMEI packet received {"connection_id":90178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":90178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:37:33] local.INFO: TCP Data received {"connection_id":90178,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:37:33] local.INFO: Processing buffer {"connection_id":90178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:37:33] local.INFO: IMEI packet received {"connection_id":90178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":90178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:37:33] local.INFO: TCP Data received {"connection_id":90178,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:37:33] local.INFO: Processing buffer {"connection_id":90178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:37:33] local.INFO: Packet analysis {"connection_id":90178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:37:33] local.INFO: Extracted packet for processing {"connection_id":90178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:37:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:37:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:37:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":90178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:37:33] local.INFO: GPS data processed {"connection_id":90178,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:37:33] local.INFO: Acknowledgment sent {"connection_id":90178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:37:41] local.INFO: TCP Data received {"connection_id":90266,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:37:41] local.INFO: Processing buffer {"connection_id":90266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:37:41] local.INFO: Packet analysis {"connection_id":90266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:37:41] local.INFO: Extracted packet for processing {"connection_id":90266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:37:41] 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-06-02 22:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:37:41] 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-06-02 22:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":90266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:37:41] local.INFO: GPS data processed {"connection_id":90266,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:37:41] local.INFO: Acknowledgment sent {"connection_id":90266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:38:04] local.INFO: TCP Data received {"connection_id":90267,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:38:04] local.INFO: Processing buffer {"connection_id":90267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:38:04] local.INFO: IMEI packet received {"connection_id":90267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":90267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:38:07] local.INFO: TCP Data received {"connection_id":90178,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:07] local.INFO: Processing buffer {"connection_id":90178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:07] local.INFO: Packet analysis {"connection_id":90178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:38:07] local.INFO: Extracted packet for processing {"connection_id":90178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:38:07] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":90178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":90178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":90178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:38:07] 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-06-02 22:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:38:07] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":90178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:38:07] local.INFO: GPS data processed {"connection_id":90178,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:38:07] local.INFO: Acknowledgment sent {"connection_id":90178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:38:09] local.INFO: TCP Data received {"connection_id":90267,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:38:09] local.INFO: Processing buffer {"connection_id":90267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:38:09] local.INFO: IMEI packet received {"connection_id":90267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":90267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:38:10] local.INFO: TCP Data received {"connection_id":90267,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:38:10] local.INFO: Processing buffer {"connection_id":90267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:38:10] local.INFO: Packet analysis {"connection_id":90267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:38:10] local.INFO: Extracted packet for processing {"connection_id":90267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:38:10] 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-06-02 22:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:38:10] 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-06-02 22:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:38:10] 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-06-02 22:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:38:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":90267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:38:10] local.INFO: GPS data processed {"connection_id":90267,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:38:10] local.INFO: Acknowledgment sent {"connection_id":90267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:38:23] local.INFO: TCP Data received {"connection_id":90268,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:38:23] local.INFO: Processing buffer {"connection_id":90268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:38:23] local.INFO: IMEI packet received {"connection_id":90268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":90268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:38:28] local.INFO: TCP Data received {"connection_id":90268,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:38:28] local.INFO: Processing buffer {"connection_id":90268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:38:28] local.INFO: IMEI packet received {"connection_id":90268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":90268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:38:28] local.INFO: TCP Data received {"connection_id":90268,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:28] local.INFO: Processing buffer {"connection_id":90268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:28] local.INFO: Packet analysis {"connection_id":90268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:38:28] local.INFO: Extracted packet for processing {"connection_id":90268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:38:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:38:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:38:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":90268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:38:28] local.INFO: GPS data processed {"connection_id":90268,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:38:28] local.INFO: Acknowledgment sent {"connection_id":90268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:38:41] local.INFO: TCP Data received {"connection_id":90267,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:38:41] local.INFO: Processing buffer {"connection_id":90267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:38:41] local.INFO: Packet analysis {"connection_id":90267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:38:41] local.INFO: Extracted packet for processing {"connection_id":90267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:38:41] 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-06-02 22:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:38:41] 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-06-02 22:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:38:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":90267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:38:41] local.INFO: GPS data processed {"connection_id":90267,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:38:41] local.INFO: Acknowledgment sent {"connection_id":90267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:38:59] local.INFO: TCP Data received {"connection_id":90268,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:59] local.INFO: Processing buffer {"connection_id":90268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:38:59] local.INFO: Packet analysis {"connection_id":90268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:38:59] local.INFO: Extracted packet for processing {"connection_id":90268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:38: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-06-02 22:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:38:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:38:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":90268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:38:59] local.INFO: GPS data processed {"connection_id":90268,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:38:59] local.INFO: Acknowledgment sent {"connection_id":90268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:39:04] local.INFO: TCP Data received {"connection_id":90179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:39:04] local.INFO: Processing buffer {"connection_id":90179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:39:04] local.INFO: IMEI packet received {"connection_id":90179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":90179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:39:09] local.INFO: TCP Data received {"connection_id":90179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:39:09] local.INFO: Processing buffer {"connection_id":90179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:39:09] local.INFO: IMEI packet received {"connection_id":90179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":90179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:39:10] local.INFO: TCP Data received {"connection_id":90179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:39:10] local.INFO: Processing buffer {"connection_id":90179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:39:10] local.INFO: Packet analysis {"connection_id":90179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:39:10] local.INFO: Extracted packet for processing {"connection_id":90179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:39:10] 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-06-02 22:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:39:10] 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-06-02 22:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:39:10] 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-06-02 22:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:39:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":90179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:39:10] local.INFO: GPS data processed {"connection_id":90179,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:39:10] local.INFO: Acknowledgment sent {"connection_id":90179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:39:22] local.INFO: TCP Data received {"connection_id":91336,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:39:22] local.INFO: Processing buffer {"connection_id":91336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:39:22] local.INFO: IMEI packet received {"connection_id":91336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":91336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:39:27] local.INFO: TCP Data received {"connection_id":91336,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:39:27] local.INFO: Processing buffer {"connection_id":91336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:39:27] local.INFO: IMEI packet received {"connection_id":91336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":91336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:39:28] local.INFO: TCP Data received {"connection_id":91336,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:39:28] local.INFO: Processing buffer {"connection_id":91336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:39:28] local.INFO: Packet analysis {"connection_id":91336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:39:28] local.INFO: Extracted packet for processing {"connection_id":91336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:39:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:39:28] 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-06-02 22:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:39:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":91336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:39:28] local.INFO: GPS data processed {"connection_id":91336,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:39:28] local.INFO: Acknowledgment sent {"connection_id":91336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:39:41] local.INFO: TCP Data received {"connection_id":90179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:39:41] local.INFO: Processing buffer {"connection_id":90179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:39:41] local.INFO: Packet analysis {"connection_id":90179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:39:41] local.INFO: Extracted packet for processing {"connection_id":90179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:39:41] 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-06-02 22:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:39:41] 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-06-02 22:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:39:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":90179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:39:41] local.INFO: GPS data processed {"connection_id":90179,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:39:41] local.INFO: Acknowledgment sent {"connection_id":90179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:39:59] local.INFO: TCP Data received {"connection_id":91336,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:39:59] local.INFO: Processing buffer {"connection_id":91336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:39:59] local.INFO: Packet analysis {"connection_id":91336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:39:59] local.INFO: Extracted packet for processing {"connection_id":91336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:39:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:39:59] 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-06-02 22:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:39:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:39:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":91336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:39:59] local.INFO: GPS data processed {"connection_id":91336,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:39:59] local.INFO: Acknowledgment sent {"connection_id":91336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:40:09] local.INFO: TCP Data received {"connection_id":90269,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:40:09] local.INFO: Processing buffer {"connection_id":90269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:40:09] local.INFO: IMEI packet received {"connection_id":90269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":90269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:40:14] local.INFO: TCP Data received {"connection_id":90269,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:40:14] local.INFO: Processing buffer {"connection_id":90269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:40:14] local.INFO: IMEI packet received {"connection_id":90269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":90269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:40:15] local.INFO: TCP Data received {"connection_id":90269,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:40:15] local.INFO: Processing buffer {"connection_id":90269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:40:15] local.INFO: Packet analysis {"connection_id":90269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:40:15] local.INFO: Extracted packet for processing {"connection_id":90269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:40:15] 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-06-02 22:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:40:15] 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-06-02 22: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-06-02 22:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:40:15] 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-06-02 22:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:40:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":90269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:40:15] local.INFO: GPS data processed {"connection_id":90269,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:40:15] local.INFO: Acknowledgment sent {"connection_id":90269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:40:20] local.INFO: TCP Data received {"connection_id":90269,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:40:20] local.INFO: Processing buffer {"connection_id":90269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:40:20] local.INFO: Packet analysis {"connection_id":90269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:40:20] local.INFO: Extracted packet for processing {"connection_id":90269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:40:20] 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-06-02 22:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:40:20] 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-06-02 22:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":90269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":90269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":90269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:40:20] 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-06-02 22:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:40:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":90269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:40:20] local.INFO: GPS data processed {"connection_id":90269,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:40:20] local.INFO: Acknowledgment sent {"connection_id":90269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:40:22] local.INFO: TCP Data received {"connection_id":90270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:40:22] local.INFO: Processing buffer {"connection_id":90270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:40:22] local.INFO: IMEI packet received {"connection_id":90270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":90270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:40:28] local.INFO: TCP Data received {"connection_id":90270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:40:28] local.INFO: Processing buffer {"connection_id":90270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:40:28] local.INFO: IMEI packet received {"connection_id":90270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":90270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:40:28] local.INFO: TCP Data received {"connection_id":90270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:40:28] local.INFO: Processing buffer {"connection_id":90270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:40:28] local.INFO: Packet analysis {"connection_id":90270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:40:28] local.INFO: Extracted packet for processing {"connection_id":90270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:40:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:40:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:40:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":90270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:40:28] local.INFO: GPS data processed {"connection_id":90270,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:40:28] local.INFO: Acknowledgment sent {"connection_id":90270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:40:59] local.INFO: TCP Data received {"connection_id":90270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:40:59] local.INFO: Processing buffer {"connection_id":90270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:40:59] local.INFO: Packet analysis {"connection_id":90270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:40:59] local.INFO: Extracted packet for processing {"connection_id":90270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:40:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:40:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:40:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":90270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:40:59] local.INFO: GPS data processed {"connection_id":90270,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:40:59] local.INFO: Acknowledgment sent {"connection_id":90270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:41:04] local.INFO: TCP Data received {"connection_id":90181,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:04] local.INFO: Processing buffer {"connection_id":90181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:04] local.INFO: IMEI packet received {"connection_id":90181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":90181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:41:22] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:41:22] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:41:22] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:41:28] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:41:28] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:41:28] local.INFO: IMEI packet received {"connection_id":89911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":89911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:41:28] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:41:28] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894ce310012cb29ac007823b18004a00b825..."} 
[2026-06-02 22:41:28] local.INFO: Packet analysis {"connection_id":89911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:41:28] local.INFO: Extracted packet for processing {"connection_id":89911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894c"} 
[2026-06-02 22:41:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787437312001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780419978000,"timestamp_ms":1780419978000,"timestamp_seconds":1780419978,"priority":1,"record_length":96,"hex_timestamp":"0000019e894ce310"} 
[2026-06-02 22:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 22:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:41: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-06-02 22:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787437312001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787437312001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:41:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787437312001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":89911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:41:28] local.INFO: GPS data processed {"connection_id":89911,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:41:28] local.INFO: Acknowledgment sent {"connection_id":89911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:41:34] local.INFO: TCP Data received {"connection_id":90271,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:34] local.INFO: Processing buffer {"connection_id":90271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:34] local.INFO: IMEI packet received {"connection_id":90271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":90271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:41:39] local.INFO: TCP Data received {"connection_id":90271,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:39] local.INFO: Processing buffer {"connection_id":90271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:41:39] local.INFO: IMEI packet received {"connection_id":90271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":90271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:41:40] local.INFO: TCP Data received {"connection_id":90271,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:41:40] local.INFO: Processing buffer {"connection_id":90271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:41:40] local.INFO: Packet analysis {"connection_id":90271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:41:40] local.INFO: Extracted packet for processing {"connection_id":90271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:41:40] 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-06-02 22:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:41:40] 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-06-02 22:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:41:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":90271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:41:40] local.INFO: GPS data processed {"connection_id":90271,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:41:40] local.INFO: Acknowledgment sent {"connection_id":90271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:41:59] local.INFO: TCP Data received {"connection_id":89911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:41:59] local.INFO: Processing buffer {"connection_id":89911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:41:59] local.INFO: Packet analysis {"connection_id":89911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:41:59] local.INFO: Extracted packet for processing {"connection_id":89911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:41:59] 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-06-02 22: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-06-02 22:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:41:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":89911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:41:59] local.INFO: GPS data processed {"connection_id":89911,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:41:59] local.INFO: Acknowledgment sent {"connection_id":89911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:42:05] local.INFO: TCP Data received {"connection_id":91338,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:42:05] local.INFO: Processing buffer {"connection_id":91338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:42:05] local.INFO: IMEI packet received {"connection_id":91338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":91338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:42:07] local.INFO: TCP Data received {"connection_id":90182,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:42:07] local.INFO: Processing buffer {"connection_id":90182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:42:07] local.INFO: IMEI packet received {"connection_id":90182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":90182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:42:09] local.INFO: TCP Data received {"connection_id":91338,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:42:09] local.INFO: Processing buffer {"connection_id":91338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:42:09] local.INFO: IMEI packet received {"connection_id":91338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":91338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:42:09] local.INFO: TCP Data received {"connection_id":91338,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:42:09] local.INFO: Processing buffer {"connection_id":91338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e894d3900012d196500071ff0580046014623..."} 
[2026-06-02 22:42:09] local.INFO: Packet analysis {"connection_id":91338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:42:09] local.INFO: Extracted packet for processing {"connection_id":91338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e894d"} 
[2026-06-02 22:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787442944001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1780420000000,"timestamp_ms":1780420000000,"timestamp_seconds":1780420000,"priority":1,"record_length":96,"hex_timestamp":"0000019e894d3900"} 
[2026-06-02 22:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:42:09] 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-06-02 22:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 22:42:09] 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-06-02 22:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":91338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":91338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":91338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787442944001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787442944001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:42:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787442944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":91338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:42:10] local.INFO: GPS data processed {"connection_id":91338,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:42:10] local.INFO: Acknowledgment sent {"connection_id":91338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:42:28] local.INFO: TCP Data received {"connection_id":90272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:42:28] local.INFO: Processing buffer {"connection_id":90272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:42:28] local.INFO: IMEI packet received {"connection_id":90272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":90272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:42:33] local.INFO: TCP Data received {"connection_id":90272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:42:33] local.INFO: Processing buffer {"connection_id":90272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:42:33] local.INFO: IMEI packet received {"connection_id":90272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":90272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:42:33] local.INFO: TCP Data received {"connection_id":90272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:42:33] local.INFO: Processing buffer {"connection_id":90272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:42:33] local.INFO: Packet analysis {"connection_id":90272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:42:33] local.INFO: Extracted packet for processing {"connection_id":90272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:42:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:42:33] 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-06-02 22:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:42:33] 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-06-02 22:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:42:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:42:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":90272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:42:33] local.INFO: GPS data processed {"connection_id":90272,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:42:33] local.INFO: Acknowledgment sent {"connection_id":90272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:42:40] local.INFO: TCP Data received {"connection_id":91338,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:42:40] local.INFO: Processing buffer {"connection_id":91338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:42:40] local.INFO: Packet analysis {"connection_id":91338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:42:40] local.INFO: Extracted packet for processing {"connection_id":91338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":91338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":91338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":91338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:42:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":91338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:42:40] local.INFO: GPS data processed {"connection_id":91338,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:42:40] local.INFO: Acknowledgment sent {"connection_id":91338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:43:04] local.INFO: TCP Data received {"connection_id":90272,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:04] local.INFO: Processing buffer {"connection_id":90272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:04] local.INFO: Packet analysis {"connection_id":90272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:04] local.INFO: Extracted packet for processing {"connection_id":90272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:43:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":90272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:43:04] local.INFO: GPS data processed {"connection_id":90272,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:43:04] local.INFO: Acknowledgment sent {"connection_id":90272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:43:09] local.INFO: TCP Data received {"connection_id":90184,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:43:09] local.INFO: Processing buffer {"connection_id":90184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:43:09] local.INFO: IMEI packet received {"connection_id":90184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":90184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:43:14] local.INFO: TCP Data received {"connection_id":90184,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:43:14] local.INFO: Processing buffer {"connection_id":90184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:43:14] local.INFO: IMEI packet received {"connection_id":90184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":90184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:43:15] local.INFO: TCP Data received {"connection_id":90184,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:43:15] local.INFO: Processing buffer {"connection_id":90184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:43:15] local.INFO: Packet analysis {"connection_id":90184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:15] local.INFO: Extracted packet for processing {"connection_id":90184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:43:15] 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-06-02 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:43:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":90184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:43:15] local.INFO: GPS data processed {"connection_id":90184,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:43:15] local.INFO: Acknowledgment sent {"connection_id":90184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:43:19] local.INFO: TCP Data received {"connection_id":90184,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:43:19] local.INFO: Processing buffer {"connection_id":90184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:43:19] local.INFO: Packet analysis {"connection_id":90184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:19] local.INFO: Extracted packet for processing {"connection_id":90184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43: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-06-02 22:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:43:19] 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-06-02 22:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:43:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":90184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:43:20] local.INFO: GPS data processed {"connection_id":90184,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:43:20] local.INFO: Acknowledgment sent {"connection_id":90184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:43:22] local.INFO: TCP Data received {"connection_id":91339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:43:22] local.INFO: Processing buffer {"connection_id":91339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:43:22] local.INFO: IMEI packet received {"connection_id":91339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":91339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:43:28] local.INFO: TCP Data received {"connection_id":91339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:43:28] local.INFO: Processing buffer {"connection_id":91339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:43:28] local.INFO: IMEI packet received {"connection_id":91339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":91339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:43:28] local.INFO: TCP Data received {"connection_id":91339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:28] local.INFO: Processing buffer {"connection_id":91339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:28] local.INFO: Packet analysis {"connection_id":91339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:28] local.INFO: Extracted packet for processing {"connection_id":91339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:43:28] 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-06-02 22:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:43:28] 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-06-02 22:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:43:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:43:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":91339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:43:28] local.INFO: GPS data processed {"connection_id":91339,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:43:28] local.INFO: Acknowledgment sent {"connection_id":91339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:43:59] local.INFO: TCP Data received {"connection_id":91339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:59] local.INFO: Processing buffer {"connection_id":91339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:43:59] local.INFO: Packet analysis {"connection_id":91339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:59] local.INFO: Extracted packet for processing {"connection_id":91339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:43:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:43:59] 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-06-02 22: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-06-02 22:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:43:59] 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-06-02 22:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:43:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:43:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":91339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:43:59] local.INFO: GPS data processed {"connection_id":91339,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:43:59] local.INFO: Acknowledgment sent {"connection_id":91339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:44:04] local.INFO: TCP Data received {"connection_id":90185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:44:04] local.INFO: Processing buffer {"connection_id":90185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:44:04] local.INFO: IMEI packet received {"connection_id":90185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":90185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:44:09] local.INFO: TCP Data received {"connection_id":90185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:44:09] local.INFO: Processing buffer {"connection_id":90185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:44:09] local.INFO: IMEI packet received {"connection_id":90185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":90185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:44:10] local.INFO: TCP Data received {"connection_id":90185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:44:10] local.INFO: Processing buffer {"connection_id":90185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:44:10] local.INFO: Packet analysis {"connection_id":90185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:10] local.INFO: Extracted packet for processing {"connection_id":90185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:44:10] 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-06-02 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:44:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":90185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:44:10] local.INFO: GPS data processed {"connection_id":90185,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:44:10] local.INFO: Acknowledgment sent {"connection_id":90185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:44:23] local.INFO: TCP Data received {"connection_id":90186,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:44:23] local.INFO: Processing buffer {"connection_id":90186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:44:23] local.INFO: IMEI packet received {"connection_id":90186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":90186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:44:28] local.INFO: TCP Data received {"connection_id":90186,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:44:28] local.INFO: Processing buffer {"connection_id":90186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:44:28] local.INFO: IMEI packet received {"connection_id":90186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":90186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:44:28] local.INFO: TCP Data received {"connection_id":90186,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:44:28] local.INFO: Processing buffer {"connection_id":90186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:44:28] local.INFO: Packet analysis {"connection_id":90186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:28] local.INFO: Extracted packet for processing {"connection_id":90186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:44:28] 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-06-02 22: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-06-02 22:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:44: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-06-02 22:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":90186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:44:28] local.INFO: GPS data processed {"connection_id":90186,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:44:28] local.INFO: Acknowledgment sent {"connection_id":90186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:44:41] local.INFO: TCP Data received {"connection_id":90185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:44:41] local.INFO: Processing buffer {"connection_id":90185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:44:41] local.INFO: Packet analysis {"connection_id":90185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:41] local.INFO: Extracted packet for processing {"connection_id":90185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:44:41] 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-06-02 22:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:44:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":90185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:44:41] local.INFO: GPS data processed {"connection_id":90185,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:44:41] local.INFO: Acknowledgment sent {"connection_id":90185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:44:59] local.INFO: TCP Data received {"connection_id":90186,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:44:59] local.INFO: Processing buffer {"connection_id":90186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:44:59] local.INFO: Packet analysis {"connection_id":90186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:59] local.INFO: Extracted packet for processing {"connection_id":90186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:44:59] 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-06-02 22: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-06-02 22:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:44: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-06-02 22:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":90186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:44:59] local.INFO: GPS data processed {"connection_id":90186,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:44:59] local.INFO: Acknowledgment sent {"connection_id":90186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:45:04] local.INFO: TCP Data received {"connection_id":90275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:45:04] local.INFO: Processing buffer {"connection_id":90275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:45:04] local.INFO: IMEI packet received {"connection_id":90275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":90275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:45:09] local.INFO: TCP Data received {"connection_id":90275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:45:09] local.INFO: Processing buffer {"connection_id":90275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:45:09] local.INFO: IMEI packet received {"connection_id":90275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":90275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:45:10] local.INFO: TCP Data received {"connection_id":90275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:45:10] local.INFO: Processing buffer {"connection_id":90275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:45:10] local.INFO: Packet analysis {"connection_id":90275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:45:10] local.INFO: Extracted packet for processing {"connection_id":90275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:45:10] 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-06-02 22:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:45:10] 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-06-02 22:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:45:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":90275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:45:10] local.INFO: GPS data processed {"connection_id":90275,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:45:10] local.INFO: Acknowledgment sent {"connection_id":90275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:45:22] local.INFO: TCP Data received {"connection_id":91340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:45:22] local.INFO: Processing buffer {"connection_id":91340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:45:22] local.INFO: IMEI packet received {"connection_id":91340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":91340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:45:28] local.INFO: TCP Data received {"connection_id":91340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:45:28] local.INFO: Processing buffer {"connection_id":91340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:45:28] local.INFO: IMEI packet received {"connection_id":91340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":91340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:45:28] local.INFO: TCP Data received {"connection_id":91340,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:45:28] local.INFO: Processing buffer {"connection_id":91340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:45:28] local.INFO: Packet analysis {"connection_id":91340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:45:28] local.INFO: Extracted packet for processing {"connection_id":91340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:45:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:45:28] 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-06-02 22:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:45:28] 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-06-02 22:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:45:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:45:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":91340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:45:28] local.INFO: GPS data processed {"connection_id":91340,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:45:28] local.INFO: Acknowledgment sent {"connection_id":91340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:45:41] local.INFO: TCP Data received {"connection_id":90275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:45:41] local.INFO: Processing buffer {"connection_id":90275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:45:41] local.INFO: Packet analysis {"connection_id":90275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:45:41] local.INFO: Extracted packet for processing {"connection_id":90275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:45:41] 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-06-02 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:45:41] 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-06-02 22:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":90275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:45:41] local.INFO: GPS data processed {"connection_id":90275,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:45:41] local.INFO: Acknowledgment sent {"connection_id":90275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:46:02] local.INFO: TCP Data received {"connection_id":91340,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:46:02] local.INFO: Processing buffer {"connection_id":91340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:46:02] local.INFO: Packet analysis {"connection_id":91340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:02] local.INFO: Extracted packet for processing {"connection_id":91340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:46:02] 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-06-02 22:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:46:02] 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-06-02 22:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:46:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":91340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:46:02] local.INFO: GPS data processed {"connection_id":91340,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:46:02] local.INFO: Acknowledgment sent {"connection_id":91340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:46:04] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:46:04] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:46:04] local.INFO: IMEI packet received {"connection_id":89912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":89912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:46:09] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:46:09] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:46:09] local.INFO: IMEI packet received {"connection_id":89912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":89912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:46:10] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:46:10] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:46:10] local.INFO: Packet analysis {"connection_id":89912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:10] local.INFO: Extracted packet for processing {"connection_id":89912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:46:10] 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-06-02 22:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:46:10] 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-06-02 22:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:46:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":89912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:46:10] local.INFO: GPS data processed {"connection_id":89912,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:46:10] local.INFO: Acknowledgment sent {"connection_id":89912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:46:22] local.INFO: TCP Data received {"connection_id":91342,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:46:22] local.INFO: Processing buffer {"connection_id":91342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:46:22] local.INFO: IMEI packet received {"connection_id":91342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":91342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:46:28] local.INFO: TCP Data received {"connection_id":91342,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:46:28] local.INFO: Processing buffer {"connection_id":91342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:46:28] local.INFO: IMEI packet received {"connection_id":91342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":91342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:46:28] local.INFO: TCP Data received {"connection_id":91342,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:46:28] local.INFO: Processing buffer {"connection_id":91342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89517ad8012cb29ac007823b18004a00b826..."} 
[2026-06-02 22:46:28] local.INFO: Packet analysis {"connection_id":91342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:28] local.INFO: Extracted packet for processing {"connection_id":91342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":74,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787514368001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420279000,"timestamp_ms":1780420279000,"timestamp_seconds":1780420279,"priority":1,"record_length":96,"hex_timestamp":"0000019e89517ad8"} 
[2026-06-02 22:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:46:28] 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-06-02 22:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:46:28] 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-06-02 22:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787514368001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787514368001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:46:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:46:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787514368001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":91342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:46:28] local.INFO: GPS data processed {"connection_id":91342,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:46:28] local.INFO: Acknowledgment sent {"connection_id":91342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:46:41] local.INFO: TCP Data received {"connection_id":89912,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:46:41] local.INFO: Processing buffer {"connection_id":89912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:46:41] local.INFO: Packet analysis {"connection_id":89912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:41] local.INFO: Extracted packet for processing {"connection_id":89912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:46:41] 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-06-02 22:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:46:41] 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-06-02 22:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:46:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":89912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:46:41] local.INFO: GPS data processed {"connection_id":89912,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:46:41] local.INFO: Acknowledgment sent {"connection_id":89912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:47:02] local.INFO: TCP Data received {"connection_id":91342,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:02] local.INFO: Processing buffer {"connection_id":91342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:02] local.INFO: Packet analysis {"connection_id":91342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:02] local.INFO: Extracted packet for processing {"connection_id":91342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:47:02] 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-06-02 22:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:47:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":91342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:47:02] local.INFO: GPS data processed {"connection_id":91342,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:47:02] local.INFO: Acknowledgment sent {"connection_id":91342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:47:05] local.INFO: TCP Data received {"connection_id":90277,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:47:05] local.INFO: Processing buffer {"connection_id":90277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:47:05] local.INFO: IMEI packet received {"connection_id":90277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":90277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:47:09] local.INFO: TCP Data received {"connection_id":90277,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:47:09] local.INFO: Processing buffer {"connection_id":90277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:47:09] local.INFO: IMEI packet received {"connection_id":90277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":90277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:47:10] local.INFO: TCP Data received {"connection_id":90277,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:47:10] local.INFO: Processing buffer {"connection_id":90277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8951d0c8012d196500071ff0580046014624..."} 
[2026-06-02 22:47:10] local.INFO: Packet analysis {"connection_id":90277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:47:10] local.INFO: Extracted packet for processing {"connection_id":90277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8951"} 
[2026-06-02 22:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787520000001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420301000,"timestamp_ms":1780420301000,"timestamp_seconds":1780420301,"priority":1,"record_length":96,"hex_timestamp":"0000019e8951d0c8"} 
[2026-06-02 22:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:47:10] 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-06-02 22:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:47:10] 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-06-02 22:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787520000001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787520000001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:47:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787520000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":90277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:47:10] local.INFO: GPS data processed {"connection_id":90277,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:47:10] local.INFO: Acknowledgment sent {"connection_id":90277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:47:28] local.INFO: TCP Data received {"connection_id":90278,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:47:28] local.INFO: Processing buffer {"connection_id":90278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:47:28] local.INFO: IMEI packet received {"connection_id":90278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":90278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:47:33] local.INFO: TCP Data received {"connection_id":90278,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:47:33] local.INFO: Processing buffer {"connection_id":90278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:47:33] local.INFO: IMEI packet received {"connection_id":90278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":90278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:47:33] local.INFO: TCP Data received {"connection_id":90278,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:33] local.INFO: Processing buffer {"connection_id":90278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:33] local.INFO: Packet analysis {"connection_id":90278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:33] local.INFO: Extracted packet for processing {"connection_id":90278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:47:33] 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-06-02 22:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:47:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":90278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:47:33] local.INFO: GPS data processed {"connection_id":90278,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:47:33] local.INFO: Acknowledgment sent {"connection_id":90278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:47:38] local.INFO: TCP Data received {"connection_id":90278,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:38] local.INFO: Processing buffer {"connection_id":90278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:47:38] local.INFO: Packet analysis {"connection_id":90278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:38] local.INFO: Extracted packet for processing {"connection_id":90278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:47:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":90278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:47:38] local.INFO: GPS data processed {"connection_id":90278,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:47:38] local.INFO: Acknowledgment sent {"connection_id":90278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:47:41] local.INFO: TCP Data received {"connection_id":90277,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:47:41] local.INFO: Processing buffer {"connection_id":90277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:47:41] local.INFO: Packet analysis {"connection_id":90277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:41] local.INFO: Extracted packet for processing {"connection_id":90277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:47:41] 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-06-02 22:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:47:41] 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-06-02 22:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:47:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":90277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:47:41] local.INFO: GPS data processed {"connection_id":90277,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:47:41] local.INFO: Acknowledgment sent {"connection_id":90277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:47:57] local.INFO: TCP Data received {"connection_id":89913,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:47:57] local.INFO: Processing buffer {"connection_id":89913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:47:57] local.INFO: IMEI packet received {"connection_id":89913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":89913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:48:04] local.INFO: TCP Data received {"connection_id":91343,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:48:04] local.INFO: Processing buffer {"connection_id":91343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:48:04] local.INFO: IMEI packet received {"connection_id":91343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":91343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:48:09] local.INFO: TCP Data received {"connection_id":91343,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:48:09] local.INFO: Processing buffer {"connection_id":91343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:48:09] local.INFO: IMEI packet received {"connection_id":91343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":91343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:48:10] local.INFO: TCP Data received {"connection_id":91343,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:48:10] local.INFO: Processing buffer {"connection_id":91343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:48:10] local.INFO: Packet analysis {"connection_id":91343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:10] local.INFO: Extracted packet for processing {"connection_id":91343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:48:10] 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-06-02 22:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:48:10] 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-06-02 22:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:48:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":91343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:48:10] local.INFO: GPS data processed {"connection_id":91343,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:48:10] local.INFO: Acknowledgment sent {"connection_id":91343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:48:23] local.INFO: TCP Data received {"connection_id":90279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:48:23] local.INFO: Processing buffer {"connection_id":90279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:48:23] local.INFO: IMEI packet received {"connection_id":90279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":90279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:48:28] local.INFO: TCP Data received {"connection_id":90279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:48:28] local.INFO: Processing buffer {"connection_id":90279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:48:28] local.INFO: IMEI packet received {"connection_id":90279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":90279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:48:28] local.INFO: TCP Data received {"connection_id":90279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:48:28] local.INFO: Processing buffer {"connection_id":90279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:48:28] local.INFO: Packet analysis {"connection_id":90279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:28] local.INFO: Extracted packet for processing {"connection_id":90279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:48: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-06-02 22:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:48:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:48:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":90279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:48:28] local.INFO: GPS data processed {"connection_id":90279,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:48:28] local.INFO: Acknowledgment sent {"connection_id":90279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:48:41] local.INFO: TCP Data received {"connection_id":91343,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:48:41] local.INFO: Processing buffer {"connection_id":91343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:48:41] local.INFO: Packet analysis {"connection_id":91343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:41] local.INFO: Extracted packet for processing {"connection_id":91343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:48:41] 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-06-02 22:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:48:41] 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-06-02 22:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:48:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":91343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:48:42] local.INFO: GPS data processed {"connection_id":91343,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:48:42] local.INFO: Acknowledgment sent {"connection_id":91343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:48:59] local.INFO: TCP Data received {"connection_id":90279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:48:59] local.INFO: Processing buffer {"connection_id":90279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:48:59] local.INFO: Packet analysis {"connection_id":90279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:59] local.INFO: Extracted packet for processing {"connection_id":90279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:48:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:48: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-06-02 22:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:48:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:48:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":90279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:48:59] local.INFO: GPS data processed {"connection_id":90279,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:48:59] local.INFO: Acknowledgment sent {"connection_id":90279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:49:04] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:49:04] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:49:04] local.INFO: IMEI packet received {"connection_id":90187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":90187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:49:09] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:49:09] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:49:09] local.INFO: IMEI packet received {"connection_id":90187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":90187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:49:10] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:49:10] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:49:10] local.INFO: Packet analysis {"connection_id":90187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:49:10] local.INFO: Extracted packet for processing {"connection_id":90187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:49:10] 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-06-02 22:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:49:10] 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-06-02 22:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:49:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":90187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:49:10] local.INFO: GPS data processed {"connection_id":90187,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:49:10] local.INFO: Acknowledgment sent {"connection_id":90187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:49:22] local.INFO: TCP Data received {"connection_id":90281,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:49:22] local.INFO: Processing buffer {"connection_id":90281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:49:22] local.INFO: IMEI packet received {"connection_id":90281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":90281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:49:28] local.INFO: TCP Data received {"connection_id":90281,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:49:28] local.INFO: Processing buffer {"connection_id":90281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:49:28] local.INFO: IMEI packet received {"connection_id":90281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":90281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:49:28] local.INFO: TCP Data received {"connection_id":90281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:49:28] local.INFO: Processing buffer {"connection_id":90281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:49:28] local.INFO: Packet analysis {"connection_id":90281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:49:28] local.INFO: Extracted packet for processing {"connection_id":90281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:49:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:49:28] 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-06-02 22:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:49:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:49:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":90281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:49:28] local.INFO: GPS data processed {"connection_id":90281,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:49:28] local.INFO: Acknowledgment sent {"connection_id":90281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:49:41] local.INFO: TCP Data received {"connection_id":90187,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:49:41] local.INFO: Processing buffer {"connection_id":90187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:49:41] local.INFO: Packet analysis {"connection_id":90187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:49:41] local.INFO: Extracted packet for processing {"connection_id":90187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:49:41] 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-06-02 22:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:49:41] 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-06-02 22:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:49:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":90187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:49:42] local.INFO: GPS data processed {"connection_id":90187,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:49:42] local.INFO: Acknowledgment sent {"connection_id":90187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:50:02] local.INFO: TCP Data received {"connection_id":90281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:50:02] local.INFO: Processing buffer {"connection_id":90281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:50:02] local.INFO: Packet analysis {"connection_id":90281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:02] local.INFO: Extracted packet for processing {"connection_id":90281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:50:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":90281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:50:02] local.INFO: GPS data processed {"connection_id":90281,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:50:02] local.INFO: Acknowledgment sent {"connection_id":90281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:50:04] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:50:04] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:50:04] local.INFO: IMEI packet received {"connection_id":89915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":89915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:50:09] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:50:09] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:50:09] local.INFO: IMEI packet received {"connection_id":89915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":89915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:50:10] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:50:10] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:50:10] local.INFO: Packet analysis {"connection_id":89915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:10] local.INFO: Extracted packet for processing {"connection_id":89915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:50:10] 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-06-02 22:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":89915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:50:10] local.INFO: GPS data processed {"connection_id":89915,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:50:10] local.INFO: Acknowledgment sent {"connection_id":89915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:50:22] local.INFO: TCP Data received {"connection_id":91344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:50:22] local.INFO: Processing buffer {"connection_id":91344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:50:22] local.INFO: IMEI packet received {"connection_id":91344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":91344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:50:28] local.INFO: TCP Data received {"connection_id":91344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:50:28] local.INFO: Processing buffer {"connection_id":91344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:50:28] local.INFO: IMEI packet received {"connection_id":91344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":91344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:50:28] local.INFO: TCP Data received {"connection_id":91344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:50:28] local.INFO: Processing buffer {"connection_id":91344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:50:28] local.INFO: Packet analysis {"connection_id":91344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:28] local.INFO: Extracted packet for processing {"connection_id":91344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:50:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":91344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:50:28] local.INFO: GPS data processed {"connection_id":91344,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:50:28] local.INFO: Acknowledgment sent {"connection_id":91344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:50:42] local.INFO: TCP Data received {"connection_id":89915,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:50:42] local.INFO: Processing buffer {"connection_id":89915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:50:42] local.INFO: Packet analysis {"connection_id":89915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:42] local.INFO: Extracted packet for processing {"connection_id":89915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:50:42] 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-06-02 22:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":89915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":89915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:50:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":89915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:50:42] local.INFO: GPS data processed {"connection_id":89915,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:50:42] local.INFO: Acknowledgment sent {"connection_id":89915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:51:00] local.INFO: TCP Data received {"connection_id":91344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:51:00] local.INFO: Processing buffer {"connection_id":91344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:51:00] local.INFO: Packet analysis {"connection_id":91344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:00] local.INFO: Extracted packet for processing {"connection_id":91344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:51:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:51:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":91344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:51:00] local.INFO: GPS data processed {"connection_id":91344,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:51:00] local.INFO: Acknowledgment sent {"connection_id":91344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:51:04] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:51:04] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:51:04] local.INFO: IMEI packet received {"connection_id":89916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":89916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:51:09] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:51:09] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:51:09] local.INFO: IMEI packet received {"connection_id":89916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":89916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:51:10] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:51:10] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:51:10] local.INFO: Packet analysis {"connection_id":89916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:10] local.INFO: Extracted packet for processing {"connection_id":89916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:51:10] 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-06-02 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:51:10] 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-06-02 22:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:51:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":89916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:51:10] local.INFO: GPS data processed {"connection_id":89916,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:51:10] local.INFO: Acknowledgment sent {"connection_id":89916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:51:22] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:51:22] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:51:22] local.INFO: IMEI packet received {"connection_id":90188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":90188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:51:28] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:51:28] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:51:28] local.INFO: IMEI packet received {"connection_id":90188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":90188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:51:28] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:51:28] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895612a0012cb29ac007823b18004d00b826..."} 
[2026-06-02 22:51:28] local.INFO: Packet analysis {"connection_id":90188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:28] local.INFO: Extracted packet for processing {"connection_id":90188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":77,"angle":184,"satellites":38,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787591424001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420580000,"timestamp_ms":1780420580000,"timestamp_seconds":1780420580,"priority":1,"record_length":96,"hex_timestamp":"0000019e895612a0"} 
[2026-06-02 22:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:51: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-06-02 22:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787591424001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787591424001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:51:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787591424001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":90188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:51:28] local.INFO: GPS data processed {"connection_id":90188,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:51:28] local.INFO: Acknowledgment sent {"connection_id":90188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:51:41] local.INFO: TCP Data received {"connection_id":89916,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:51:41] local.INFO: Processing buffer {"connection_id":89916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:51:41] local.INFO: Packet analysis {"connection_id":89916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:41] local.INFO: Extracted packet for processing {"connection_id":89916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:51:41] 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-06-02 22:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:51:41] 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-06-02 22:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:51:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":89916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:51:41] local.INFO: GPS data processed {"connection_id":89916,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:51:41] local.INFO: Acknowledgment sent {"connection_id":89916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:51:59] local.INFO: TCP Data received {"connection_id":90188,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:51:59] local.INFO: Processing buffer {"connection_id":90188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:51:59] local.INFO: Packet analysis {"connection_id":90188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:51:59] local.INFO: Extracted packet for processing {"connection_id":90188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:51:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:51:59] 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-06-02 22:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:51:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":90188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:51:59] local.INFO: GPS data processed {"connection_id":90188,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:51:59] local.INFO: Acknowledgment sent {"connection_id":90188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:52:04] local.INFO: TCP Data received {"connection_id":91346,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:52:04] local.INFO: Processing buffer {"connection_id":91346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:52:04] local.INFO: IMEI packet received {"connection_id":91346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":91346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:52:09] local.INFO: TCP Data received {"connection_id":91346,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:52:09] local.INFO: Processing buffer {"connection_id":91346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:52:09] local.INFO: IMEI packet received {"connection_id":91346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":91346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:52:10] local.INFO: TCP Data received {"connection_id":91346,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:52:10] local.INFO: Processing buffer {"connection_id":91346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89566890012d196500071ff0580046014624..."} 
[2026-06-02 22:52:10] local.INFO: Packet analysis {"connection_id":91346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:52:10] local.INFO: Extracted packet for processing {"connection_id":91346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8956"} 
[2026-06-02 22:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787597056001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420602000,"timestamp_ms":1780420602000,"timestamp_seconds":1780420602,"priority":1,"record_length":96,"hex_timestamp":"0000019e89566890"} 
[2026-06-02 22:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:52:10] 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-06-02 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 22:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:52:10] 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-06-02 22:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787597056001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787597056001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:52:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787597056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":91346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:52:10] local.INFO: GPS data processed {"connection_id":91346,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:52:10] local.INFO: Acknowledgment sent {"connection_id":91346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:52:28] local.INFO: TCP Data received {"connection_id":90283,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:52:28] local.INFO: Processing buffer {"connection_id":90283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:52:28] local.INFO: IMEI packet received {"connection_id":90283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":90283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:52:33] local.INFO: TCP Data received {"connection_id":90283,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:52:33] local.INFO: Processing buffer {"connection_id":90283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:52:33] local.INFO: IMEI packet received {"connection_id":90283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":90283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:52:33] local.INFO: TCP Data received {"connection_id":90283,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:52:33] local.INFO: Processing buffer {"connection_id":90283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:52:33] local.INFO: Packet analysis {"connection_id":90283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:52:33] local.INFO: Extracted packet for processing {"connection_id":90283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:52:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:52:33] 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-06-02 22:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:52:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:52:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":90283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:52:33] local.INFO: GPS data processed {"connection_id":90283,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:52:33] local.INFO: Acknowledgment sent {"connection_id":90283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:52:38] local.INFO: TCP Data received {"connection_id":90283,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:52:38] local.INFO: Processing buffer {"connection_id":90283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:52:38] local.INFO: Packet analysis {"connection_id":90283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:52:38] local.INFO: Extracted packet for processing {"connection_id":90283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:52:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:52:38] 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-06-02 22:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:52:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:52:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":90283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:52:38] local.INFO: GPS data processed {"connection_id":90283,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:52:38] local.INFO: Acknowledgment sent {"connection_id":90283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:52:41] local.INFO: TCP Data received {"connection_id":91346,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:52:41] local.INFO: Processing buffer {"connection_id":91346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:52:41] local.INFO: Packet analysis {"connection_id":91346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:52:41] local.INFO: Extracted packet for processing {"connection_id":91346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:52:41] 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-06-02 22:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:52:41] 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-06-02 22:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:52:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":91346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:52:41] local.INFO: GPS data processed {"connection_id":91346,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:52:41] local.INFO: Acknowledgment sent {"connection_id":91346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:53:04] local.INFO: TCP Data received {"connection_id":91347,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:53:04] local.INFO: Processing buffer {"connection_id":91347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:53:04] local.INFO: IMEI packet received {"connection_id":91347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":91347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:53:09] local.INFO: TCP Data received {"connection_id":91347,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:53:09] local.INFO: Processing buffer {"connection_id":91347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:53:09] local.INFO: IMEI packet received {"connection_id":91347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":91347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:53:10] local.INFO: TCP Data received {"connection_id":91347,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:53:10] local.INFO: Processing buffer {"connection_id":91347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:53:10] local.INFO: Packet analysis {"connection_id":91347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:53:10] local.INFO: Extracted packet for processing {"connection_id":91347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:53:10] 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-06-02 22:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:53:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":91347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:53:10] local.INFO: GPS data processed {"connection_id":91347,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:53:10] local.INFO: Acknowledgment sent {"connection_id":91347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:53:22] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:53:22] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:53:22] local.INFO: IMEI packet received {"connection_id":90190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":90190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:53:28] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:53:28] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:53:28] local.INFO: IMEI packet received {"connection_id":90190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":90190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:53:28] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:53:28] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:53:28] local.INFO: Packet analysis {"connection_id":90190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:53:28] local.INFO: Extracted packet for processing {"connection_id":90190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:53:28] 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-06-02 22:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:53:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":90190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:53:28] local.INFO: GPS data processed {"connection_id":90190,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:53:28] local.INFO: Acknowledgment sent {"connection_id":90190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:53:32] local.INFO: TCP Data received {"connection_id":90189,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:53:32] local.INFO: Processing buffer {"connection_id":90189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:53:32] local.INFO: IMEI packet received {"connection_id":90189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":90189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:53:41] local.INFO: TCP Data received {"connection_id":91347,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:53:41] local.INFO: Processing buffer {"connection_id":91347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:53:41] local.INFO: Packet analysis {"connection_id":91347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:53:41] local.INFO: Extracted packet for processing {"connection_id":91347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:53:41] 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-06-02 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:53:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":91347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:53:42] local.INFO: GPS data processed {"connection_id":91347,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:53:42] local.INFO: Acknowledgment sent {"connection_id":91347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:53:59] local.INFO: TCP Data received {"connection_id":90190,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:53:59] local.INFO: Processing buffer {"connection_id":90190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:53:59] local.INFO: Packet analysis {"connection_id":90190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:53:59] local.INFO: Extracted packet for processing {"connection_id":90190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:53: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-06-02 22:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:53: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-06-02 22:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:53: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-06-02 22:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:53:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:53:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":90190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:53:59] local.INFO: GPS data processed {"connection_id":90190,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:53:59] local.INFO: Acknowledgment sent {"connection_id":90190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:54:04] local.INFO: TCP Data received {"connection_id":90285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:54:04] local.INFO: Processing buffer {"connection_id":90285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:54:04] local.INFO: IMEI packet received {"connection_id":90285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":90285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:54:05] local.INFO: TCP Data received {"connection_id":90284,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:54:05] local.INFO: Processing buffer {"connection_id":90284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:54:05] local.INFO: IMEI packet received {"connection_id":90284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":90284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:54:09] local.INFO: TCP Data received {"connection_id":90285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:54:09] local.INFO: Processing buffer {"connection_id":90285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:54:09] local.INFO: IMEI packet received {"connection_id":90285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":90285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:54:10] local.INFO: TCP Data received {"connection_id":90285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:54:10] local.INFO: Processing buffer {"connection_id":90285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:54:10] local.INFO: Packet analysis {"connection_id":90285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:54:10] local.INFO: Extracted packet for processing {"connection_id":90285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:54:10] 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-06-02 22:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:54:10] 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-06-02 22:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:54:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":90285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:54:10] local.INFO: GPS data processed {"connection_id":90285,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:54:10] local.INFO: Acknowledgment sent {"connection_id":90285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:54:23] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:54:23] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:54:23] local.INFO: IMEI packet received {"connection_id":89917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":89917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:54:28] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:54:28] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:54:28] local.INFO: IMEI packet received {"connection_id":89917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":89917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:54:28] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:54:28] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:54:28] local.INFO: Packet analysis {"connection_id":89917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:54:28] local.INFO: Extracted packet for processing {"connection_id":89917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:54:28] 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-06-02 22:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:54:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:54:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":89917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:54:28] local.INFO: GPS data processed {"connection_id":89917,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:54:28] local.INFO: Acknowledgment sent {"connection_id":89917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:54:41] local.INFO: TCP Data received {"connection_id":90285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:54:41] local.INFO: Processing buffer {"connection_id":90285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:54:41] local.INFO: Packet analysis {"connection_id":90285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:54:41] local.INFO: Extracted packet for processing {"connection_id":90285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:54:41] 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-06-02 22:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:54:41] 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-06-02 22:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:54:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":90285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:54:41] local.INFO: GPS data processed {"connection_id":90285,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:54:41] local.INFO: Acknowledgment sent {"connection_id":90285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:54:59] local.INFO: TCP Data received {"connection_id":89917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:54:59] local.INFO: Processing buffer {"connection_id":89917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:54:59] local.INFO: Packet analysis {"connection_id":89917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:54:59] local.INFO: Extracted packet for processing {"connection_id":89917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 22:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 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-06-02 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 22:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:54:59] 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-06-02 22:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:54:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:54:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":89917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:54:59] local.INFO: GPS data processed {"connection_id":89917,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:54:59] local.INFO: Acknowledgment sent {"connection_id":89917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:55:05] local.INFO: TCP Data received {"connection_id":91348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:55:05] local.INFO: Processing buffer {"connection_id":91348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:55:05] local.INFO: IMEI packet received {"connection_id":91348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":91348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:55:09] local.INFO: TCP Data received {"connection_id":91348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:55:09] local.INFO: Processing buffer {"connection_id":91348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:55:09] local.INFO: IMEI packet received {"connection_id":91348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":91348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:55:10] local.INFO: TCP Data received {"connection_id":91348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:55:10] local.INFO: Processing buffer {"connection_id":91348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:55:10] local.INFO: Packet analysis {"connection_id":91348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:55:10] local.INFO: Extracted packet for processing {"connection_id":91348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:55:10] 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-06-02 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":91348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:55:10] local.INFO: GPS data processed {"connection_id":91348,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:55:10] local.INFO: Acknowledgment sent {"connection_id":91348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:55:22] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:55:22] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:55:22] local.INFO: IMEI packet received {"connection_id":90192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":90192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:55:28] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:55:28] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:55:28] local.INFO: IMEI packet received {"connection_id":90192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":90192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:55:28] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:55:28] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:55:28] local.INFO: Packet analysis {"connection_id":90192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:55:28] local.INFO: Extracted packet for processing {"connection_id":90192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:55:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:55: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-06-02 22:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:55:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:55:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":90192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:55:28] local.INFO: GPS data processed {"connection_id":90192,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:55:28] local.INFO: Acknowledgment sent {"connection_id":90192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:55:41] local.INFO: TCP Data received {"connection_id":91348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:55:41] local.INFO: Processing buffer {"connection_id":91348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:55:41] local.INFO: Packet analysis {"connection_id":91348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:55:41] local.INFO: Extracted packet for processing {"connection_id":91348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:55:41] 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-06-02 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:55:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":91348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:55:41] local.INFO: GPS data processed {"connection_id":91348,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:55:41] local.INFO: Acknowledgment sent {"connection_id":91348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:55:59] local.INFO: TCP Data received {"connection_id":90192,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:55:59] local.INFO: Processing buffer {"connection_id":90192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:55:59] local.INFO: Packet analysis {"connection_id":90192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:55:59] local.INFO: Extracted packet for processing {"connection_id":90192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:55:59] 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-06-02 22:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:55:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":90192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:55:59] local.INFO: GPS data processed {"connection_id":90192,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:55:59] local.INFO: Acknowledgment sent {"connection_id":90192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:56:04] local.INFO: TCP Data received {"connection_id":91349,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:56:04] local.INFO: Processing buffer {"connection_id":91349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:56:04] local.INFO: IMEI packet received {"connection_id":91349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":91349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:56:09] local.INFO: TCP Data received {"connection_id":91349,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:56:09] local.INFO: Processing buffer {"connection_id":91349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:56:09] local.INFO: IMEI packet received {"connection_id":91349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":91349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:56:10] local.INFO: TCP Data received {"connection_id":91349,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:56:10] local.INFO: Processing buffer {"connection_id":91349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:56:10] local.INFO: Packet analysis {"connection_id":91349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:56:10] local.INFO: Extracted packet for processing {"connection_id":91349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:56:10] 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-06-02 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:56:10] 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-06-02 22:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:56:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":91349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:56:10] local.INFO: GPS data processed {"connection_id":91349,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:56:10] local.INFO: Acknowledgment sent {"connection_id":91349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:56:22] local.INFO: TCP Data received {"connection_id":90193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:56:22] local.INFO: Processing buffer {"connection_id":90193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:56:22] local.INFO: IMEI packet received {"connection_id":90193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":90193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:56:28] local.INFO: TCP Data received {"connection_id":90193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:56:28] local.INFO: Processing buffer {"connection_id":90193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:56:28] local.INFO: IMEI packet received {"connection_id":90193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":90193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:56:28] local.INFO: TCP Data received {"connection_id":90193,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:56:28] local.INFO: Processing buffer {"connection_id":90193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:56:28] local.INFO: Packet analysis {"connection_id":90193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:56:28] local.INFO: Extracted packet for processing {"connection_id":90193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:56:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22: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-06-02 22:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":90193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:56:28] local.INFO: GPS data processed {"connection_id":90193,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:56:28] local.INFO: Acknowledgment sent {"connection_id":90193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:56:41] local.INFO: TCP Data received {"connection_id":91349,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:56:41] local.INFO: Processing buffer {"connection_id":91349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:56:41] local.INFO: Packet analysis {"connection_id":91349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:56:41] local.INFO: Extracted packet for processing {"connection_id":91349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:56:41] 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-06-02 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:56:41] 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-06-02 22:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:56:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":91349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:56:41] local.INFO: GPS data processed {"connection_id":91349,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:56:41] local.INFO: Acknowledgment sent {"connection_id":91349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:56:59] local.INFO: TCP Data received {"connection_id":90193,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:56:59] local.INFO: Processing buffer {"connection_id":90193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895aaa68012cb29ac007823b18004900b824..."} 
[2026-06-02 22:56:59] local.INFO: Packet analysis {"connection_id":90193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:56:59] local.INFO: Extracted packet for processing {"connection_id":90193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895a"} 
[2026-06-02 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:56: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-06-02 22:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787668480001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780420881000,"timestamp_ms":1780420881000,"timestamp_seconds":1780420881,"priority":1,"record_length":96,"hex_timestamp":"0000019e895aaa68"} 
[2026-06-02 22:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 22:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:56: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-06-02 22:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787668480001,"66":25549,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787668480001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:56:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787668480001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":90193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:56:59] local.INFO: GPS data processed {"connection_id":90193,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:56:59] local.INFO: Acknowledgment sent {"connection_id":90193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:57:09] local.INFO: TCP Data received {"connection_id":91350,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:57:09] local.INFO: Processing buffer {"connection_id":91350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:57:09] local.INFO: IMEI packet received {"connection_id":91350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":91350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:57:14] local.INFO: TCP Data received {"connection_id":91350,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:57:14] local.INFO: Processing buffer {"connection_id":91350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:57:14] local.INFO: IMEI packet received {"connection_id":91350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":91350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:57:15] local.INFO: TCP Data received {"connection_id":91350,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:57:15] local.INFO: Processing buffer {"connection_id":91350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:57:15] local.INFO: Packet analysis {"connection_id":91350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:57:15] local.INFO: Extracted packet for processing {"connection_id":91350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:57:15] 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-06-02 22:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:57:15] 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-06-02 22:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:57:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":91350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:57:15] local.INFO: GPS data processed {"connection_id":91350,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:57:15] local.INFO: Acknowledgment sent {"connection_id":91350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:57:19] local.INFO: TCP Data received {"connection_id":91350,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:57:19] local.INFO: Processing buffer {"connection_id":91350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895b0c10012d196500071ff0580046014622..."} 
[2026-06-02 22:57:19] local.INFO: Packet analysis {"connection_id":91350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:57:19] local.INFO: Extracted packet for processing {"connection_id":91350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895b"} 
[2026-06-02 22:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787674112001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57: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-06-02 22:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780420906000,"timestamp_ms":1780420906000,"timestamp_seconds":1780420906,"priority":1,"record_length":96,"hex_timestamp":"0000019e895b0c10"} 
[2026-06-02 22:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:57:19] 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-06-02 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:57: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-06-02 22: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-06-02 22:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":91350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":91350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":91350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:57:19] 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-06-02 22:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787674112001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787674112001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:57:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787674112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":91350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:57:20] local.INFO: GPS data processed {"connection_id":91350,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:57:20] local.INFO: Acknowledgment sent {"connection_id":91350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:57:28] local.INFO: TCP Data received {"connection_id":89919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:57:28] local.INFO: Processing buffer {"connection_id":89919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:57:28] local.INFO: IMEI packet received {"connection_id":89919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":89919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:57:33] local.INFO: TCP Data received {"connection_id":89919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:57:33] local.INFO: Processing buffer {"connection_id":89919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:57:33] local.INFO: IMEI packet received {"connection_id":89919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":89919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:57:33] local.INFO: TCP Data received {"connection_id":89919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:57:33] local.INFO: Processing buffer {"connection_id":89919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:57:33] local.INFO: Packet analysis {"connection_id":89919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:57:33] local.INFO: Extracted packet for processing {"connection_id":89919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:57:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 22:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:57:33] 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-06-02 22: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-06-02 22:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:57:33] 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-06-02 22:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:57:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":89919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:57:33] local.INFO: GPS data processed {"connection_id":89919,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:57:33] local.INFO: Acknowledgment sent {"connection_id":89919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:57:38] local.INFO: TCP Data received {"connection_id":89919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:57:38] local.INFO: Processing buffer {"connection_id":89919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:57:38] local.INFO: Packet analysis {"connection_id":89919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:57:38] local.INFO: Extracted packet for processing {"connection_id":89919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 22:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:57:38] 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-06-02 22:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":89919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":89919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":89919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:57:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:57:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":89919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:57:38] local.INFO: GPS data processed {"connection_id":89919,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:57:38] local.INFO: Acknowledgment sent {"connection_id":89919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:58:04] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:58:04] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:58:04] local.INFO: IMEI packet received {"connection_id":90196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":90196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:58:09] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:58:09] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:58:09] local.INFO: IMEI packet received {"connection_id":90196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":90196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:58:10] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:58:10] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:58:10] local.INFO: Packet analysis {"connection_id":90196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:10] local.INFO: Extracted packet for processing {"connection_id":90196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 22:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:58:10] 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-06-02 22:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:58:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":90196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:58:10] local.INFO: GPS data processed {"connection_id":90196,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:58:10] local.INFO: Acknowledgment sent {"connection_id":90196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:58:23] local.INFO: TCP Data received {"connection_id":90286,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:58:23] local.INFO: Processing buffer {"connection_id":90286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:58:23] local.INFO: IMEI packet received {"connection_id":90286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":90286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:58:28] local.INFO: TCP Data received {"connection_id":90286,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:58:28] local.INFO: Processing buffer {"connection_id":90286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:58:28] local.INFO: IMEI packet received {"connection_id":90286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":90286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:58:28] local.INFO: TCP Data received {"connection_id":90286,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:58:28] local.INFO: Processing buffer {"connection_id":90286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:58:28] local.INFO: Packet analysis {"connection_id":90286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:28] local.INFO: Extracted packet for processing {"connection_id":90286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 22:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:58:28] 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-06-02 22: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-06-02 22:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:58: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-06-02 22:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:58:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":90286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:58:28] local.INFO: GPS data processed {"connection_id":90286,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:58:28] local.INFO: Acknowledgment sent {"connection_id":90286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:58:41] local.INFO: TCP Data received {"connection_id":90196,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:58:41] local.INFO: Processing buffer {"connection_id":90196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:58:41] local.INFO: Packet analysis {"connection_id":90196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:41] local.INFO: Extracted packet for processing {"connection_id":90196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 22:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:58:41] 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-06-02 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 22:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 22:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:58:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":90196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:58:41] local.INFO: GPS data processed {"connection_id":90196,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:58:41] local.INFO: Acknowledgment sent {"connection_id":90196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:58:59] local.INFO: TCP Data received {"connection_id":90286,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:58:59] local.INFO: Processing buffer {"connection_id":90286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:58:59] local.INFO: Packet analysis {"connection_id":90286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:59] local.INFO: Extracted packet for processing {"connection_id":90286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 22:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:58:59] 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-06-02 22: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-06-02 22:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:58: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-06-02 22:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:58:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:58:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":90286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:58:59] local.INFO: GPS data processed {"connection_id":90286,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:58:59] local.INFO: Acknowledgment sent {"connection_id":90286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:59:04] local.INFO: TCP Data received {"connection_id":91351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:59:04] local.INFO: Processing buffer {"connection_id":91351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:59:04] local.INFO: IMEI packet received {"connection_id":91351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":91351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:59:09] local.INFO: TCP Data received {"connection_id":91351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:59:09] local.INFO: Processing buffer {"connection_id":91351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 22:59:09] local.INFO: IMEI packet received {"connection_id":91351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 22:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":91351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:59:10] local.INFO: TCP Data received {"connection_id":91351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:59:10] local.INFO: Processing buffer {"connection_id":91351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:59:10] local.INFO: Packet analysis {"connection_id":91351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:10] local.INFO: Extracted packet for processing {"connection_id":91351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 22:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:59:10] 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-06-02 22:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:59:10] 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-06-02 22:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:59:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":91351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:59:10] local.INFO: GPS data processed {"connection_id":91351,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:59:10] local.INFO: Acknowledgment sent {"connection_id":91351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:59:22] local.INFO: TCP Data received {"connection_id":90197,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:59:22] local.INFO: Processing buffer {"connection_id":90197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:59:22] local.INFO: IMEI packet received {"connection_id":90197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":90197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:59:22] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:59:22] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:59:22] local.INFO: IMEI packet received {"connection_id":89920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 22:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":89920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:59:28] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:59:28] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 22:59:28] local.INFO: IMEI packet received {"connection_id":89920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 22:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":89920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 22:59:28] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:59:28] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:59:28] local.INFO: Packet analysis {"connection_id":89920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:28] local.INFO: Extracted packet for processing {"connection_id":89920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22: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-06-02 22:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 22:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:59:28] 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-06-02 22: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-06-02 22:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:59: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-06-02 22:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:59:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:59:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":89920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:59:28] local.INFO: GPS data processed {"connection_id":89920,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:59:28] local.INFO: Acknowledgment sent {"connection_id":89920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:59:41] local.INFO: TCP Data received {"connection_id":91351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:59:41] local.INFO: Processing buffer {"connection_id":91351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 22:59:41] local.INFO: Packet analysis {"connection_id":91351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:41] local.INFO: Extracted packet for processing {"connection_id":91351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 22:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 22:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:59:41] 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-06-02 22:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 22:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 22:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 22:59:41] 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-06-02 22:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 22:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 22:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 22:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 22:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 22:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:59:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 22:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 22:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 22:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 22:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":91351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:59:41] local.INFO: GPS data processed {"connection_id":91351,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:59:41] local.INFO: Acknowledgment sent {"connection_id":91351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 22:59:57] local.INFO: TCP Data received {"connection_id":89921,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:59:57] local.INFO: Processing buffer {"connection_id":89921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 22:59:57] local.INFO: IMEI packet received {"connection_id":89921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 22:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":89921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 22:59:59] local.INFO: TCP Data received {"connection_id":89920,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:59:59] local.INFO: Processing buffer {"connection_id":89920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 22:59:59] local.INFO: Packet analysis {"connection_id":89920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:59] local.INFO: Extracted packet for processing {"connection_id":89920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 22:59:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 22:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 22:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 22:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 22:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 22:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 22:59:59] 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-06-02 22:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 22:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 22:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 22:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 22:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 22:59: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-06-02 22:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 22:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 22:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 22:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 22:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 22:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 22:59:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 22:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 22:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 22:59:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 22:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 22:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":89920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 22:59:59] local.INFO: GPS data processed {"connection_id":89920,"processed":1,"errors":0,"total":1} 
[2026-06-02 22:59:59] local.INFO: Acknowledgment sent {"connection_id":89920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:00:04] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:00:04] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:00:04] local.INFO: IMEI packet received {"connection_id":90198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":90198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:00:09] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:00:09] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:00:09] local.INFO: IMEI packet received {"connection_id":90198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":90198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:00:10] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:00:10] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:00:10] local.INFO: Packet analysis {"connection_id":90198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:00:10] local.INFO: Extracted packet for processing {"connection_id":90198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 23:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:00:10] 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-06-02 23:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:00:10] 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-06-02 23:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:00:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":90198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:00:10] local.INFO: GPS data processed {"connection_id":90198,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:00:10] local.INFO: Acknowledgment sent {"connection_id":90198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:00:22] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:00:22] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:00:22] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:00:28] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:00:28] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:00:28] local.INFO: IMEI packet received {"connection_id":89922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":89922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:00:28] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:00:28] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:00:28] local.INFO: Packet analysis {"connection_id":89922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:00:28] local.INFO: Extracted packet for processing {"connection_id":89922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 23:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 23:00:28] 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-06-02 23: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-06-02 23:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:00:28] 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-06-02 23:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:00:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:00:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":89922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:00:28] local.INFO: GPS data processed {"connection_id":89922,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:00:28] local.INFO: Acknowledgment sent {"connection_id":89922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:00:41] local.INFO: TCP Data received {"connection_id":90198,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:00:41] local.INFO: Processing buffer {"connection_id":90198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:00:41] local.INFO: Packet analysis {"connection_id":90198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:00:41] local.INFO: Extracted packet for processing {"connection_id":90198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 23:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:00:41] 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-06-02 23:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:00:41] 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-06-02 23:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:00:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":90198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:00:41] local.INFO: GPS data processed {"connection_id":90198,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:00:41] local.INFO: Acknowledgment sent {"connection_id":90198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:01:00] local.INFO: TCP Data received {"connection_id":89922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:00] local.INFO: Processing buffer {"connection_id":89922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:00] local.INFO: Packet analysis {"connection_id":89922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:00] local.INFO: Extracted packet for processing {"connection_id":89922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 23:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 23:01:00] 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-06-02 23: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-06-02 23:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":89922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":89922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":89922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:01:00] 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-06-02 23:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:01:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":89922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:01:00] local.INFO: GPS data processed {"connection_id":89922,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:01:00] local.INFO: Acknowledgment sent {"connection_id":89922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:01:04] local.INFO: TCP Data received {"connection_id":91352,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:01:04] local.INFO: Processing buffer {"connection_id":91352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:01:04] local.INFO: IMEI packet received {"connection_id":91352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":91352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:01:09] local.INFO: TCP Data received {"connection_id":91352,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:01:09] local.INFO: Processing buffer {"connection_id":91352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:01:09] local.INFO: IMEI packet received {"connection_id":91352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":91352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:01:10] local.INFO: TCP Data received {"connection_id":91352,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:01:10] local.INFO: Processing buffer {"connection_id":91352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:01:10] local.INFO: Packet analysis {"connection_id":91352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:10] local.INFO: Extracted packet for processing {"connection_id":91352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 23:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:01:10] 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-06-02 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:01:10] 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-06-02 23:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:01:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":91352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:01:10] local.INFO: GPS data processed {"connection_id":91352,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:01:10] local.INFO: Acknowledgment sent {"connection_id":91352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:01:22] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:01:22] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:01:22] local.INFO: IMEI packet received {"connection_id":89923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":89923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:01:28] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:01:28] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:01:28] local.INFO: IMEI packet received {"connection_id":89923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":89923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:01:28] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:28] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:28] local.INFO: Packet analysis {"connection_id":89923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:28] local.INFO: Extracted packet for processing {"connection_id":89923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 23:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 23:01:28] 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-06-02 23:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:01:28] 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-06-02 23:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:01:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":89923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:01:28] local.INFO: GPS data processed {"connection_id":89923,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:01:28] local.INFO: Acknowledgment sent {"connection_id":89923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:01:41] local.INFO: TCP Data received {"connection_id":91352,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:01:41] local.INFO: Processing buffer {"connection_id":91352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:01:41] local.INFO: Packet analysis {"connection_id":91352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:41] local.INFO: Extracted packet for processing {"connection_id":91352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 23:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:01:41] 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-06-02 23:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:01:41] 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-06-02 23:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:01:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":91352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:01:41] local.INFO: GPS data processed {"connection_id":91352,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:01:41] local.INFO: Acknowledgment sent {"connection_id":91352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:01:59] local.INFO: TCP Data received {"connection_id":89923,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:59] local.INFO: Processing buffer {"connection_id":89923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895f4230012cb29ac007823b18005000b825..."} 
[2026-06-02 23:01:59] local.INFO: Packet analysis {"connection_id":89923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:59] local.INFO: Extracted packet for processing {"connection_id":89923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787745536001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421182000,"timestamp_ms":1780421182000,"timestamp_seconds":1780421182,"priority":1,"record_length":96,"hex_timestamp":"0000019e895f4230"} 
[2026-06-02 23:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-02 23:01:59] 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-06-02 23: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-06-02 23:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:01: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-06-02 23:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787745536001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787745536001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787745536001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":89923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:01:59] local.INFO: GPS data processed {"connection_id":89923,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:01:59] local.INFO: Acknowledgment sent {"connection_id":89923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:02:09] local.INFO: TCP Data received {"connection_id":91354,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:02:09] local.INFO: Processing buffer {"connection_id":91354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:02:09] local.INFO: IMEI packet received {"connection_id":91354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":91354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:02:14] local.INFO: TCP Data received {"connection_id":91354,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:02:14] local.INFO: Processing buffer {"connection_id":91354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:02:14] local.INFO: IMEI packet received {"connection_id":91354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":91354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:02:15] local.INFO: TCP Data received {"connection_id":91354,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:02:15] local.INFO: Processing buffer {"connection_id":91354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:02:15] local.INFO: Packet analysis {"connection_id":91354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:02:15] local.INFO: Extracted packet for processing {"connection_id":91354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 23:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:02:15] 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-06-02 23:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:02:15] 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-06-02 23:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":91354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:02:15] local.INFO: GPS data processed {"connection_id":91354,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:02:15] local.INFO: Acknowledgment sent {"connection_id":91354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:02:19] local.INFO: TCP Data received {"connection_id":91354,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:02:19] local.INFO: Processing buffer {"connection_id":91354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e895fb378012d196500071ff0580046014622..."} 
[2026-06-02 23:02:19] local.INFO: Packet analysis {"connection_id":91354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:02:19] local.INFO: Extracted packet for processing {"connection_id":91354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e895f"} 
[2026-06-02 23:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787751936001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02: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-06-02 23:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780421211000,"timestamp_ms":1780421211000,"timestamp_seconds":1780421211,"priority":1,"record_length":96,"hex_timestamp":"0000019e895fb378"} 
[2026-06-02 23:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:02:19] 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-06-02 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:02: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-06-02 23: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-06-02 23:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":91354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":91354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":91354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:02:19] 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-06-02 23:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787751936001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787751936001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:02:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:02:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787751936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":91354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:02:20] local.INFO: GPS data processed {"connection_id":91354,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:02:20] local.INFO: Acknowledgment sent {"connection_id":91354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:02:28] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:02:28] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:02:28] local.INFO: IMEI packet received {"connection_id":90199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":90199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:02:33] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:02:33] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:02:33] local.INFO: IMEI packet received {"connection_id":90199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":90199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:02:33] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:02:33] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:02:33] local.INFO: Packet analysis {"connection_id":90199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:02:33] local.INFO: Extracted packet for processing {"connection_id":90199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:02:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":90199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:02:33] local.INFO: GPS data processed {"connection_id":90199,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:02:33] local.INFO: Acknowledgment sent {"connection_id":90199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:02:38] local.INFO: TCP Data received {"connection_id":90199,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:02:38] local.INFO: Processing buffer {"connection_id":90199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:02:38] local.INFO: Packet analysis {"connection_id":90199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:02:38] local.INFO: Extracted packet for processing {"connection_id":90199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:02:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:02: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-06-02 23:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:02:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":90199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:02:38] local.INFO: GPS data processed {"connection_id":90199,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:02:38] local.INFO: Acknowledgment sent {"connection_id":90199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:03:04] local.INFO: TCP Data received {"connection_id":91355,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:03:04] local.INFO: Processing buffer {"connection_id":91355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:03:04] local.INFO: IMEI packet received {"connection_id":91355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":91355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:03:09] local.INFO: TCP Data received {"connection_id":91355,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:03:09] local.INFO: Processing buffer {"connection_id":91355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:03:09] local.INFO: IMEI packet received {"connection_id":91355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":91355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:03:10] local.INFO: TCP Data received {"connection_id":91355,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:03:10] local.INFO: Processing buffer {"connection_id":91355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:03:10] local.INFO: Packet analysis {"connection_id":91355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:03:10] local.INFO: Extracted packet for processing {"connection_id":91355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:03:10] 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-06-02 23:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:03:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":91355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:03:10] local.INFO: GPS data processed {"connection_id":91355,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:03:10] local.INFO: Acknowledgment sent {"connection_id":91355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:03:22] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:03:22] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:03:22] local.INFO: IMEI packet received {"connection_id":89925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":89925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:03:28] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:03:28] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:03:28] local.INFO: IMEI packet received {"connection_id":89925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":89925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:03:28] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:03:28] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:03:28] local.INFO: Packet analysis {"connection_id":89925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:03:28] local.INFO: Extracted packet for processing {"connection_id":89925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:03:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:03: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-06-02 23:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:03: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":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:03: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-06-02 23:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:03:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:03:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":89925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:03:28] local.INFO: GPS data processed {"connection_id":89925,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:03:28] local.INFO: Acknowledgment sent {"connection_id":89925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:03:41] local.INFO: TCP Data received {"connection_id":91355,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:03:41] local.INFO: Processing buffer {"connection_id":91355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:03:41] local.INFO: Packet analysis {"connection_id":91355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:03:41] local.INFO: Extracted packet for processing {"connection_id":91355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:03:41] 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-06-02 23:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:03:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":91355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:03:41] local.INFO: GPS data processed {"connection_id":91355,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:03:41] local.INFO: Acknowledgment sent {"connection_id":91355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:03:59] local.INFO: TCP Data received {"connection_id":89925,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:03:59] local.INFO: Processing buffer {"connection_id":89925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:03:59] local.INFO: Packet analysis {"connection_id":89925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:03:59] local.INFO: Extracted packet for processing {"connection_id":89925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:03:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:03: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-06-02 23:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:03: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-06-02 23:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:03: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-06-02 23:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:03:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":89925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:03:59] local.INFO: GPS data processed {"connection_id":89925,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:03:59] local.INFO: Acknowledgment sent {"connection_id":89925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:04:04] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:04:04] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:04:04] local.INFO: IMEI packet received {"connection_id":90200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":90200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:04:09] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:04:09] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:04:09] local.INFO: IMEI packet received {"connection_id":90200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":90200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:04:10] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:04:10] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:04:10] local.INFO: Packet analysis {"connection_id":90200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:04:10] local.INFO: Extracted packet for processing {"connection_id":90200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":90200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:04:10] local.INFO: GPS data processed {"connection_id":90200,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:04:10] local.INFO: Acknowledgment sent {"connection_id":90200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:04:22] local.INFO: TCP Data received {"connection_id":91356,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:04:22] local.INFO: Processing buffer {"connection_id":91356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:04:22] local.INFO: IMEI packet received {"connection_id":91356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":91356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:04:28] local.INFO: TCP Data received {"connection_id":91356,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:04:28] local.INFO: Processing buffer {"connection_id":91356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:04:28] local.INFO: IMEI packet received {"connection_id":91356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":91356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:04:28] local.INFO: TCP Data received {"connection_id":91356,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:04:28] local.INFO: Processing buffer {"connection_id":91356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:04:28] local.INFO: Packet analysis {"connection_id":91356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:04:28] local.INFO: Extracted packet for processing {"connection_id":91356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:04:28] 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-06-02 23:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:04:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:04:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":91356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:04:28] local.INFO: GPS data processed {"connection_id":91356,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:04:28] local.INFO: Acknowledgment sent {"connection_id":91356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:04:41] local.INFO: TCP Data received {"connection_id":90200,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:04:41] local.INFO: Processing buffer {"connection_id":90200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:04:41] local.INFO: Packet analysis {"connection_id":90200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:04:41] local.INFO: Extracted packet for processing {"connection_id":90200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:04:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":90200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:04:41] local.INFO: GPS data processed {"connection_id":90200,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:04:41] local.INFO: Acknowledgment sent {"connection_id":90200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:04:59] local.INFO: TCP Data received {"connection_id":91356,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:04:59] local.INFO: Processing buffer {"connection_id":91356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:04:59] local.INFO: Packet analysis {"connection_id":91356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:04:59] local.INFO: Extracted packet for processing {"connection_id":91356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:04:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:04:59] 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-06-02 23:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:04:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:04:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":91356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:04:59] local.INFO: GPS data processed {"connection_id":91356,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:04:59] local.INFO: Acknowledgment sent {"connection_id":91356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:05:04] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:05:04] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:05:04] local.INFO: IMEI packet received {"connection_id":90202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":90202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:05:09] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:05:09] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:05:09] local.INFO: IMEI packet received {"connection_id":90202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":90202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:05:10] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:05:10] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:05:10] local.INFO: Packet analysis {"connection_id":90202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:05:10] local.INFO: Extracted packet for processing {"connection_id":90202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:05:10] 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-06-02 23:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:05:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":90202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:05:10] local.INFO: GPS data processed {"connection_id":90202,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:05:10] local.INFO: Acknowledgment sent {"connection_id":90202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:05:22] local.INFO: TCP Data received {"connection_id":91357,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:05:22] local.INFO: Processing buffer {"connection_id":91357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:05:22] local.INFO: IMEI packet received {"connection_id":91357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":91357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:05:22] local.INFO: TCP Data received {"connection_id":90287,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:05:22] local.INFO: Processing buffer {"connection_id":90287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:05:22] local.INFO: IMEI packet received {"connection_id":90287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":90287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:05:28] local.INFO: TCP Data received {"connection_id":90287,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:05:28] local.INFO: Processing buffer {"connection_id":90287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:05:28] local.INFO: IMEI packet received {"connection_id":90287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":90287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:05:28] local.INFO: TCP Data received {"connection_id":90287,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:05:28] local.INFO: Processing buffer {"connection_id":90287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:05:28] local.INFO: Packet analysis {"connection_id":90287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:05:28] local.INFO: Extracted packet for processing {"connection_id":90287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:05:28] 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-06-02 23:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:05:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:05:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":90287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:05:28] local.INFO: GPS data processed {"connection_id":90287,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:05:28] local.INFO: Acknowledgment sent {"connection_id":90287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:05:41] local.INFO: TCP Data received {"connection_id":90202,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:05:41] local.INFO: Processing buffer {"connection_id":90202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:05:41] local.INFO: Packet analysis {"connection_id":90202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:05:41] local.INFO: Extracted packet for processing {"connection_id":90202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:05:41] 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-06-02 23:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:05:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":90202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:05:41] local.INFO: GPS data processed {"connection_id":90202,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:05:41] local.INFO: Acknowledgment sent {"connection_id":90202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:05:57] local.INFO: TCP Data received {"connection_id":91358,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:05:57] local.INFO: Processing buffer {"connection_id":91358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:05:57] local.INFO: IMEI packet received {"connection_id":91358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":91358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:05:59] local.INFO: TCP Data received {"connection_id":90287,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:05:59] local.INFO: Processing buffer {"connection_id":90287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:05:59] local.INFO: Packet analysis {"connection_id":90287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:05:59] local.INFO: Extracted packet for processing {"connection_id":90287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:05:59] 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-06-02 23:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:05:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":90287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:05:59] local.INFO: GPS data processed {"connection_id":90287,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:05:59] local.INFO: Acknowledgment sent {"connection_id":90287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:06:02] local.INFO: TCP Data received {"connection_id":91358,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:06:02] local.INFO: Processing buffer {"connection_id":91358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:06:02] local.INFO: IMEI packet received {"connection_id":91358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-02 23:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":91358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:06:03] local.INFO: TCP Data received {"connection_id":91358,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019e893feac0012cb2a08007824098004a002a30..."} 
[2026-06-02 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e893feac0012cb2a08007824098004a002a30..."} 
[2026-06-02 23:06:03] local.INFO: Processing buffer {"connection_id":91358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e893feac0012cb2a08007824098004a002a30..."} 
[2026-06-02 23:06:03] local.INFO: Packet analysis {"connection_id":91358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 23:06:03] local.INFO: Extracted packet for processing {"connection_id":91358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e893f"} 
[2026-06-02 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976728,"longitude_deg":74.9904,"latitude_deg":12.5976728,"altitude":74,"angle":42,"satellites":48,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07824098","is_valid_coordinates":true} 
[2026-06-02 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787218688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":119437521468784640,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946276352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1780419128000,"timestamp_ms":1780419128000,"timestamp_seconds":1780419128,"priority":1,"record_length":96,"hex_timestamp":"0000019e893feac0"} 
[2026-06-02 23:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:06: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-06-02 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-02 23:06:03] 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-06-02 23:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":91358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":91358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 23:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":91358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-02 23:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-02 23:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-02 23:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787218688001,"66":25462,"184":206,"85":36096,"24":0,"16":119437521468784640,"44":-5575315568946276352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-02 23:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-02 23:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787218688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:06:03] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":119437521468784640,"km_value":119437521468784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946276352,"description":"Unknown IO ID 44"} 
[2026-06-02 23:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787218688001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946276352}} 
[2026-06-02 23:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":91358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:06:03] local.INFO: GPS data processed {"connection_id":91358,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:06:03] local.INFO: Acknowledgment sent {"connection_id":91358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:06:09] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:06:09] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:06:09] local.INFO: IMEI packet received {"connection_id":89926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":89926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:06:14] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:06:14] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:06:14] local.INFO: IMEI packet received {"connection_id":89926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":89926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:06:15] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:06:15] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:06:15] local.INFO: Packet analysis {"connection_id":89926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:06:15] local.INFO: Extracted packet for processing {"connection_id":89926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:06:15] 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-06-02 23:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":89926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:06:15] local.INFO: GPS data processed {"connection_id":89926,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:06:15] local.INFO: Acknowledgment sent {"connection_id":89926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:06:19] local.INFO: TCP Data received {"connection_id":89926,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:06:19] local.INFO: Processing buffer {"connection_id":89926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:06:19] local.INFO: Packet analysis {"connection_id":89926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:06:19] local.INFO: Extracted packet for processing {"connection_id":89926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06: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-06-02 23:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:06: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-06-02 23: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-06-02 23:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:06:19] 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-06-02 23:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:06:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":89926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:06:20] local.INFO: GPS data processed {"connection_id":89926,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:06:20] local.INFO: Acknowledgment sent {"connection_id":89926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:06:22] local.INFO: TCP Data received {"connection_id":90288,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:06:22] local.INFO: Processing buffer {"connection_id":90288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:06:22] local.INFO: IMEI packet received {"connection_id":90288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":90288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:06:28] local.INFO: TCP Data received {"connection_id":90288,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:06:28] local.INFO: Processing buffer {"connection_id":90288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:06:28] local.INFO: IMEI packet received {"connection_id":90288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":90288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:06:28] local.INFO: TCP Data received {"connection_id":90288,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:06:28] local.INFO: Processing buffer {"connection_id":90288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:06:28] local.INFO: Packet analysis {"connection_id":90288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:06:28] local.INFO: Extracted packet for processing {"connection_id":90288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:06:28] 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-06-02 23:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:06:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:06:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":90288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:06:28] local.INFO: GPS data processed {"connection_id":90288,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:06:28] local.INFO: Acknowledgment sent {"connection_id":90288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:06:47] local.INFO: TCP Data received {"connection_id":89927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:06:47] local.INFO: Processing buffer {"connection_id":89927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:06:47] local.INFO: IMEI packet received {"connection_id":89927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":89927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:06:59] local.INFO: TCP Data received {"connection_id":90288,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:06:59] local.INFO: Processing buffer {"connection_id":90288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8963d9f8012cb29ac007823b18004b00b822..."} 
[2026-06-02 23:06:59] local.INFO: Packet analysis {"connection_id":90288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:06:59] local.INFO: Extracted packet for processing {"connection_id":90288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8963"} 
[2026-06-02 23:06:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787822592001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421483000,"timestamp_ms":1780421483000,"timestamp_seconds":1780421483,"priority":1,"record_length":96,"hex_timestamp":"0000019e8963d9f8"} 
[2026-06-02 23:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:06:59] 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-06-02 23:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787822592001,"66":25093,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787822592001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:06:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:06:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787822592001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":90288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:06:59] local.INFO: GPS data processed {"connection_id":90288,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:06:59] local.INFO: Acknowledgment sent {"connection_id":90288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:07:04] local.INFO: TCP Data received {"connection_id":91359,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:07:04] local.INFO: Processing buffer {"connection_id":91359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:07:04] local.INFO: IMEI packet received {"connection_id":91359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":91359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:07:09] local.INFO: TCP Data received {"connection_id":91359,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:07:09] local.INFO: Processing buffer {"connection_id":91359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:07:09] local.INFO: IMEI packet received {"connection_id":91359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":91359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:07:10] local.INFO: TCP Data received {"connection_id":91359,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:07:10] local.INFO: Processing buffer {"connection_id":91359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89645310012d196500071ff0580046014622..."} 
[2026-06-02 23:07:10] local.INFO: Packet analysis {"connection_id":91359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:07:10] local.INFO: Extracted packet for processing {"connection_id":91359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8964"} 
[2026-06-02 23:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787830016001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421514000,"timestamp_ms":1780421514000,"timestamp_seconds":1780421514,"priority":1,"record_length":96,"hex_timestamp":"0000019e89645310"} 
[2026-06-02 23:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787830016001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787830016001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:07:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787830016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":91359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:07:10] local.INFO: GPS data processed {"connection_id":91359,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:07:10] local.INFO: Acknowledgment sent {"connection_id":91359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:07:28] local.INFO: TCP Data received {"connection_id":90289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:07:28] local.INFO: Processing buffer {"connection_id":90289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:07:28] local.INFO: IMEI packet received {"connection_id":90289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":90289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:07:33] local.INFO: TCP Data received {"connection_id":90289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:07:33] local.INFO: Processing buffer {"connection_id":90289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:07:33] local.INFO: IMEI packet received {"connection_id":90289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":90289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:07:33] local.INFO: TCP Data received {"connection_id":90289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:07:33] local.INFO: Processing buffer {"connection_id":90289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:07:33] local.INFO: Packet analysis {"connection_id":90289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:07:33] local.INFO: Extracted packet for processing {"connection_id":90289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:07:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":90289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:07:33] local.INFO: GPS data processed {"connection_id":90289,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:07:33] local.INFO: Acknowledgment sent {"connection_id":90289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:07:41] local.INFO: TCP Data received {"connection_id":91359,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:07:41] local.INFO: Processing buffer {"connection_id":91359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:07:41] local.INFO: Packet analysis {"connection_id":91359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:07:41] local.INFO: Extracted packet for processing {"connection_id":91359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:07:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":91359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:07:41] local.INFO: GPS data processed {"connection_id":91359,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:07:41] local.INFO: Acknowledgment sent {"connection_id":91359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:08:04] local.INFO: TCP Data received {"connection_id":91360,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:08:04] local.INFO: Processing buffer {"connection_id":91360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:08:04] local.INFO: IMEI packet received {"connection_id":91360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":91360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:08:04] local.INFO: TCP Data received {"connection_id":90289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:04] local.INFO: Processing buffer {"connection_id":90289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:04] local.INFO: Packet analysis {"connection_id":90289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:04] local.INFO: Extracted packet for processing {"connection_id":90289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":90289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":90289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":90289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":90289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:08:04] local.INFO: GPS data processed {"connection_id":90289,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:08:04] local.INFO: Acknowledgment sent {"connection_id":90289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:08:09] local.INFO: TCP Data received {"connection_id":91360,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:08:09] local.INFO: Processing buffer {"connection_id":91360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:08:09] local.INFO: IMEI packet received {"connection_id":91360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":91360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:08:10] local.INFO: TCP Data received {"connection_id":91360,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:08:10] local.INFO: Processing buffer {"connection_id":91360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:08:10] local.INFO: Packet analysis {"connection_id":91360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:10] local.INFO: Extracted packet for processing {"connection_id":91360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:08:10] 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-06-02 23:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:08:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":91360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:08:10] local.INFO: GPS data processed {"connection_id":91360,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:08:10] local.INFO: Acknowledgment sent {"connection_id":91360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:08:23] local.INFO: TCP Data received {"connection_id":90290,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:08:23] local.INFO: Processing buffer {"connection_id":90290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:08:23] local.INFO: IMEI packet received {"connection_id":90290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":90290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:08:28] local.INFO: TCP Data received {"connection_id":90290,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:08:28] local.INFO: Processing buffer {"connection_id":90290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:08:28] local.INFO: IMEI packet received {"connection_id":90290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":90290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:08:28] local.INFO: TCP Data received {"connection_id":90290,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:28] local.INFO: Processing buffer {"connection_id":90290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:28] local.INFO: Packet analysis {"connection_id":90290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:28] local.INFO: Extracted packet for processing {"connection_id":90290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:08:28] 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-06-02 23:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:08:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:08:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":90290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:08:28] local.INFO: GPS data processed {"connection_id":90290,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:08:28] local.INFO: Acknowledgment sent {"connection_id":90290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:08:41] local.INFO: TCP Data received {"connection_id":91360,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:08:41] local.INFO: Processing buffer {"connection_id":91360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:08:41] local.INFO: Packet analysis {"connection_id":91360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:41] local.INFO: Extracted packet for processing {"connection_id":91360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":91360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:08:41] local.INFO: GPS data processed {"connection_id":91360,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:08:41] local.INFO: Acknowledgment sent {"connection_id":91360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:08:59] local.INFO: TCP Data received {"connection_id":90290,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:59] local.INFO: Processing buffer {"connection_id":90290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:08:59] local.INFO: Packet analysis {"connection_id":90290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:59] local.INFO: Extracted packet for processing {"connection_id":90290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:08:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:08:59] 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-06-02 23:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:08:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:08:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":90290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:09:00] local.INFO: GPS data processed {"connection_id":90290,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:09:00] local.INFO: Acknowledgment sent {"connection_id":90290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:09:04] local.INFO: TCP Data received {"connection_id":90204,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:09:04] local.INFO: Processing buffer {"connection_id":90204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:09:04] local.INFO: IMEI packet received {"connection_id":90204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":90204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:09:09] local.INFO: TCP Data received {"connection_id":90204,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:09:09] local.INFO: Processing buffer {"connection_id":90204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:09:09] local.INFO: IMEI packet received {"connection_id":90204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":90204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:09:10] local.INFO: TCP Data received {"connection_id":90204,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:09:10] local.INFO: Processing buffer {"connection_id":90204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:09:10] local.INFO: Packet analysis {"connection_id":90204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:10] local.INFO: Extracted packet for processing {"connection_id":90204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:09:10] 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-06-02 23:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:09:10] 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-06-02 23:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:09:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":90204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:09:10] local.INFO: GPS data processed {"connection_id":90204,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:09:10] local.INFO: Acknowledgment sent {"connection_id":90204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:09:22] local.INFO: TCP Data received {"connection_id":91361,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:09:22] local.INFO: Processing buffer {"connection_id":91361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:09:22] local.INFO: IMEI packet received {"connection_id":91361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":91361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:09:28] local.INFO: TCP Data received {"connection_id":91361,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:09:28] local.INFO: Processing buffer {"connection_id":91361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:09:28] local.INFO: IMEI packet received {"connection_id":91361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":91361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:09:28] local.INFO: TCP Data received {"connection_id":91361,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:09:28] local.INFO: Processing buffer {"connection_id":91361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:09:28] local.INFO: Packet analysis {"connection_id":91361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:28] local.INFO: Extracted packet for processing {"connection_id":91361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:09: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-06-02 23:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:09:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":91361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:09:28] local.INFO: GPS data processed {"connection_id":91361,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:09:28] local.INFO: Acknowledgment sent {"connection_id":91361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:09:41] local.INFO: TCP Data received {"connection_id":90204,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:09:41] local.INFO: Processing buffer {"connection_id":90204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:09:41] local.INFO: Packet analysis {"connection_id":90204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:41] local.INFO: Extracted packet for processing {"connection_id":90204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:09:41] 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-06-02 23:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:09:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":90204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:09:41] local.INFO: GPS data processed {"connection_id":90204,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:09:41] local.INFO: Acknowledgment sent {"connection_id":90204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:09:59] local.INFO: TCP Data received {"connection_id":91361,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:09:59] local.INFO: Processing buffer {"connection_id":91361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:09:59] local.INFO: Packet analysis {"connection_id":91361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:59] local.INFO: Extracted packet for processing {"connection_id":91361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:09: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-06-02 23:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":91361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:09:59] local.INFO: GPS data processed {"connection_id":91361,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:09:59] local.INFO: Acknowledgment sent {"connection_id":91361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:10:09] local.INFO: TCP Data received {"connection_id":91362,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:10:09] local.INFO: Processing buffer {"connection_id":91362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:10:09] local.INFO: IMEI packet received {"connection_id":91362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":91362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:10:14] local.INFO: TCP Data received {"connection_id":91362,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:10:14] local.INFO: Processing buffer {"connection_id":91362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:10:14] local.INFO: IMEI packet received {"connection_id":91362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":91362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:10:15] local.INFO: TCP Data received {"connection_id":91362,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:10:15] local.INFO: Processing buffer {"connection_id":91362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:10:15] local.INFO: Packet analysis {"connection_id":91362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:10:15] local.INFO: Extracted packet for processing {"connection_id":91362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:10:15] 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-06-02 23:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:10:15] 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-06-02 23:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":91362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:10:15] local.INFO: GPS data processed {"connection_id":91362,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:10:15] local.INFO: Acknowledgment sent {"connection_id":91362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:10:19] local.INFO: TCP Data received {"connection_id":91362,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:10:19] local.INFO: Processing buffer {"connection_id":91362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:10:19] local.INFO: Packet analysis {"connection_id":91362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:10:19] local.INFO: Extracted packet for processing {"connection_id":91362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10: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-06-02 23:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:10:19] 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-06-02 23:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:10: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-06-02 23:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":91362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":91362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":91362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:10:19] 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-06-02 23:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:10:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":91362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:10:20] local.INFO: GPS data processed {"connection_id":91362,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:10:20] local.INFO: Acknowledgment sent {"connection_id":91362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:10:22] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:10:22] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:10:22] local.INFO: IMEI packet received {"connection_id":90207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":90207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:10:28] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:10:28] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:10:28] local.INFO: IMEI packet received {"connection_id":90207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":90207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:10:28] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:10:28] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:10:28] local.INFO: Packet analysis {"connection_id":90207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:10:28] local.INFO: Extracted packet for processing {"connection_id":90207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:10:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:10:28] 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-06-02 23:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:10:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:10:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":90207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:10:28] local.INFO: GPS data processed {"connection_id":90207,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:10:28] local.INFO: Acknowledgment sent {"connection_id":90207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:11:00] local.INFO: TCP Data received {"connection_id":90207,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:00] local.INFO: Processing buffer {"connection_id":90207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:00] local.INFO: Packet analysis {"connection_id":90207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:00] local.INFO: Extracted packet for processing {"connection_id":90207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:11: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-06-02 23:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:11: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:11: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-06-02 23:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:11: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-06-02 23:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:11:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:11:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":90207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:11:00] local.INFO: GPS data processed {"connection_id":90207,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:11:00] local.INFO: Acknowledgment sent {"connection_id":90207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:11:04] local.INFO: TCP Data received {"connection_id":90291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:11:04] local.INFO: Processing buffer {"connection_id":90291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:11:04] local.INFO: IMEI packet received {"connection_id":90291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":90291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:11:09] local.INFO: TCP Data received {"connection_id":90291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:11:09] local.INFO: Processing buffer {"connection_id":90291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:11:09] local.INFO: IMEI packet received {"connection_id":90291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":90291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:11:10] local.INFO: TCP Data received {"connection_id":90291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:11:10] local.INFO: Processing buffer {"connection_id":90291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:11:10] local.INFO: Packet analysis {"connection_id":90291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:10] local.INFO: Extracted packet for processing {"connection_id":90291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:11:10] 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-06-02 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:11:10] 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-06-02 23:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:11:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":90291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:11:10] local.INFO: GPS data processed {"connection_id":90291,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:11:10] local.INFO: Acknowledgment sent {"connection_id":90291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:11:22] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:11:22] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:11:22] local.INFO: IMEI packet received {"connection_id":90209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":90209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:11:28] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:11:28] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:11:28] local.INFO: IMEI packet received {"connection_id":90209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":90209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:11:28] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:28] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:28] local.INFO: Packet analysis {"connection_id":90209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:28] local.INFO: Extracted packet for processing {"connection_id":90209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 23:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:11: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-06-02 23:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:11:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:11:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":90209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:11:28] local.INFO: GPS data processed {"connection_id":90209,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:11:28] local.INFO: Acknowledgment sent {"connection_id":90209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:11:41] local.INFO: TCP Data received {"connection_id":90291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:11:41] local.INFO: Processing buffer {"connection_id":90291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:11:41] local.INFO: Packet analysis {"connection_id":90291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:41] local.INFO: Extracted packet for processing {"connection_id":90291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:11:41] 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-06-02 23:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:11:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":90291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:11:41] local.INFO: GPS data processed {"connection_id":90291,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:11:41] local.INFO: Acknowledgment sent {"connection_id":90291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:11:59] local.INFO: TCP Data received {"connection_id":90209,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:59] local.INFO: Processing buffer {"connection_id":90209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89686dd8012cb29ac007823b18004900b825..."} 
[2026-06-02 23:11:59] local.INFO: Packet analysis {"connection_id":90209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:59] local.INFO: Extracted packet for processing {"connection_id":90209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:11:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":73,"angle":184,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 23:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787899648001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780421783000,"timestamp_ms":1780421783000,"timestamp_seconds":1780421783,"priority":1,"record_length":96,"hex_timestamp":"0000019e89686dd8"} 
[2026-06-02 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-06-02 23:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-02 23:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 23:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:11: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-06-02 23:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787899648001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787899648001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:11:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:11:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787899648001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":90209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:11:59] local.INFO: GPS data processed {"connection_id":90209,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:11:59] local.INFO: Acknowledgment sent {"connection_id":90209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:12:04] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:12:04] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:12:04] local.INFO: IMEI packet received {"connection_id":89928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":89928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:12:09] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:12:09] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:12:09] local.INFO: IMEI packet received {"connection_id":89928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":89928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:12:10] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:12:10] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8968f2a8012d196500071ff0580046014620..."} 
[2026-06-02 23:12:10] local.INFO: Packet analysis {"connection_id":89928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:12:10] local.INFO: Extracted packet for processing {"connection_id":89928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8968"} 
[2026-06-02 23:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787907584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780421817000,"timestamp_ms":1780421817000,"timestamp_seconds":1780421817,"priority":1,"record_length":96,"hex_timestamp":"0000019e8968f2a8"} 
[2026-06-02 23:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:12:10] 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-06-02 23:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:12:10] 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-06-02 23:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787907584001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787907584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:12:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787907584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":89928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:12:10] local.INFO: GPS data processed {"connection_id":89928,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:12:10] local.INFO: Acknowledgment sent {"connection_id":89928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:12:28] local.INFO: TCP Data received {"connection_id":90210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:12:28] local.INFO: Processing buffer {"connection_id":90210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:12:28] local.INFO: IMEI packet received {"connection_id":90210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":90210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:12:33] local.INFO: TCP Data received {"connection_id":90210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:12:33] local.INFO: Processing buffer {"connection_id":90210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:12:33] local.INFO: IMEI packet received {"connection_id":90210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":90210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:12:33] local.INFO: TCP Data received {"connection_id":90210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:12:33] local.INFO: Processing buffer {"connection_id":90210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:12:33] local.INFO: Packet analysis {"connection_id":90210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:12:33] local.INFO: Extracted packet for processing {"connection_id":90210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:12:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:12:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:12:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":90210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:12:33] local.INFO: GPS data processed {"connection_id":90210,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:12:33] local.INFO: Acknowledgment sent {"connection_id":90210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:12:38] local.INFO: TCP Data received {"connection_id":90210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:12:38] local.INFO: Processing buffer {"connection_id":90210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:12:38] local.INFO: Packet analysis {"connection_id":90210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:12:38] local.INFO: Extracted packet for processing {"connection_id":90210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:12:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:12:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":90210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:12:38] local.INFO: GPS data processed {"connection_id":90210,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:12:38] local.INFO: Acknowledgment sent {"connection_id":90210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:12:41] local.INFO: TCP Data received {"connection_id":89928,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:12:41] local.INFO: Processing buffer {"connection_id":89928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:12:41] local.INFO: Packet analysis {"connection_id":89928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:12:41] local.INFO: Extracted packet for processing {"connection_id":89928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:12:41] 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-06-02 23:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:12:41] 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-06-02 23:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:12:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":89928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:12:41] local.INFO: GPS data processed {"connection_id":89928,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:12:41] local.INFO: Acknowledgment sent {"connection_id":89928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:13:04] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:13:04] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:13:04] local.INFO: IMEI packet received {"connection_id":89929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":89929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:13:09] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:13:09] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:13:09] local.INFO: IMEI packet received {"connection_id":89929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":89929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:13:10] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:13:10] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:13:10] local.INFO: Packet analysis {"connection_id":89929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:10] local.INFO: Extracted packet for processing {"connection_id":89929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:13:10] 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-06-02 23:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":89929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:13:10] local.INFO: GPS data processed {"connection_id":89929,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:13:10] local.INFO: Acknowledgment sent {"connection_id":89929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:13:22] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:13:22] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:13:22] local.INFO: IMEI packet received {"connection_id":89930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":89930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:13:28] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:13:28] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:13:28] local.INFO: IMEI packet received {"connection_id":89930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":89930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:13:28] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:13:28] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:13:28] local.INFO: Packet analysis {"connection_id":89930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:28] local.INFO: Extracted packet for processing {"connection_id":89930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:13:28] 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-06-02 23:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:13:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:13:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":89930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:13:28] local.INFO: GPS data processed {"connection_id":89930,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:13:28] local.INFO: Acknowledgment sent {"connection_id":89930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:13:41] local.INFO: TCP Data received {"connection_id":89929,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:13:41] local.INFO: Processing buffer {"connection_id":89929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:13:41] local.INFO: Packet analysis {"connection_id":89929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:41] local.INFO: Extracted packet for processing {"connection_id":89929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:13:41] 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-06-02 23:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":89929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:13:41] local.INFO: GPS data processed {"connection_id":89929,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:13:41] local.INFO: Acknowledgment sent {"connection_id":89929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:13:59] local.INFO: TCP Data received {"connection_id":89930,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:13:59] local.INFO: Processing buffer {"connection_id":89930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:13:59] local.INFO: Packet analysis {"connection_id":89930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:59] local.INFO: Extracted packet for processing {"connection_id":89930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:13: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-06-02 23:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:13:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":89930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:13:59] local.INFO: GPS data processed {"connection_id":89930,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:13:59] local.INFO: Acknowledgment sent {"connection_id":89930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:14:04] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:14:04] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:14:04] local.INFO: IMEI packet received {"connection_id":90211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":90211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:14:09] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:14:09] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:14:09] local.INFO: IMEI packet received {"connection_id":90211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":90211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:14:10] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:14:10] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:14:10] local.INFO: Packet analysis {"connection_id":90211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:10] local.INFO: Extracted packet for processing {"connection_id":90211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:14:10] 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-06-02 23:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":90211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:14:10] local.INFO: GPS data processed {"connection_id":90211,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:14:10] local.INFO: Acknowledgment sent {"connection_id":90211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:14:22] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:14:22] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:14:22] local.INFO: IMEI packet received {"connection_id":90212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":90212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:14:28] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:14:28] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:14:28] local.INFO: IMEI packet received {"connection_id":90212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":90212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:14:28] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:14:28] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:14:28] local.INFO: Packet analysis {"connection_id":90212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:28] local.INFO: Extracted packet for processing {"connection_id":90212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:14:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:14:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":90212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:14:28] local.INFO: GPS data processed {"connection_id":90212,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:14:28] local.INFO: Acknowledgment sent {"connection_id":90212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:14:41] local.INFO: TCP Data received {"connection_id":90211,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:14:41] local.INFO: Processing buffer {"connection_id":90211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:14:41] local.INFO: Packet analysis {"connection_id":90211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:41] local.INFO: Extracted packet for processing {"connection_id":90211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:14:41] 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-06-02 23:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:14:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":90211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:14:41] local.INFO: GPS data processed {"connection_id":90211,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:14:41] local.INFO: Acknowledgment sent {"connection_id":90211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:14:59] local.INFO: TCP Data received {"connection_id":90212,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:14:59] local.INFO: Processing buffer {"connection_id":90212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:14:59] local.INFO: Packet analysis {"connection_id":90212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:59] local.INFO: Extracted packet for processing {"connection_id":90212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:14:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:14:59] 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-06-02 23:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:14:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":90212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:14:59] local.INFO: GPS data processed {"connection_id":90212,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:14:59] local.INFO: Acknowledgment sent {"connection_id":90212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:15:09] local.INFO: TCP Data received {"connection_id":89931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:15:09] local.INFO: Processing buffer {"connection_id":89931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:15:09] local.INFO: IMEI packet received {"connection_id":89931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":89931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:15:14] local.INFO: TCP Data received {"connection_id":89931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:15:14] local.INFO: Processing buffer {"connection_id":89931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:15:14] local.INFO: IMEI packet received {"connection_id":89931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":89931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:15:15] local.INFO: TCP Data received {"connection_id":89931,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:15:15] local.INFO: Processing buffer {"connection_id":89931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:15:15] local.INFO: Packet analysis {"connection_id":89931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:15:15] local.INFO: Extracted packet for processing {"connection_id":89931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:15:15] 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-06-02 23:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:15:15] 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-06-02 23:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:15:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":89931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:15:15] local.INFO: GPS data processed {"connection_id":89931,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:15:15] local.INFO: Acknowledgment sent {"connection_id":89931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:15:19] local.INFO: TCP Data received {"connection_id":89931,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:15:19] local.INFO: Processing buffer {"connection_id":89931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:15:19] local.INFO: Packet analysis {"connection_id":89931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:15:19] local.INFO: Extracted packet for processing {"connection_id":89931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15: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-06-02 23:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:15:19] 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-06-02 23:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:15:19] 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-06-02 23:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:15:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":89931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:15:19] local.INFO: GPS data processed {"connection_id":89931,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:15:19] local.INFO: Acknowledgment sent {"connection_id":89931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:15:22] local.INFO: TCP Data received {"connection_id":90292,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:15:22] local.INFO: Processing buffer {"connection_id":90292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:15:22] local.INFO: IMEI packet received {"connection_id":90292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":90292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:15:28] local.INFO: TCP Data received {"connection_id":90292,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:15:28] local.INFO: Processing buffer {"connection_id":90292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:15:28] local.INFO: IMEI packet received {"connection_id":90292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":90292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:15:28] local.INFO: TCP Data received {"connection_id":90292,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:15:28] local.INFO: Processing buffer {"connection_id":90292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:15:28] local.INFO: Packet analysis {"connection_id":90292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:15:28] local.INFO: Extracted packet for processing {"connection_id":90292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:15:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:15:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":90292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:15:28] local.INFO: GPS data processed {"connection_id":90292,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:15:28] local.INFO: Acknowledgment sent {"connection_id":90292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:16:00] local.INFO: TCP Data received {"connection_id":90292,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:16:00] local.INFO: Processing buffer {"connection_id":90292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:16:00] local.INFO: Packet analysis {"connection_id":90292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:00] local.INFO: Extracted packet for processing {"connection_id":90292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:16:00] 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-06-02 23:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":90292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:16:00] local.INFO: GPS data processed {"connection_id":90292,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:16:00] local.INFO: Acknowledgment sent {"connection_id":90292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:16:04] local.INFO: TCP Data received {"connection_id":91363,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:16:04] local.INFO: Processing buffer {"connection_id":91363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:16:04] local.INFO: IMEI packet received {"connection_id":91363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":91363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:16:09] local.INFO: TCP Data received {"connection_id":91363,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:16:09] local.INFO: Processing buffer {"connection_id":91363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:16:09] local.INFO: IMEI packet received {"connection_id":91363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":91363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:16:10] local.INFO: TCP Data received {"connection_id":91363,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:16:10] local.INFO: Processing buffer {"connection_id":91363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:16:10] local.INFO: Packet analysis {"connection_id":91363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:10] local.INFO: Extracted packet for processing {"connection_id":91363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:16:10] 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-06-02 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:16:10] 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-06-02 23:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:16:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":91363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:16:10] local.INFO: GPS data processed {"connection_id":91363,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:16:10] local.INFO: Acknowledgment sent {"connection_id":91363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:16:22] local.INFO: TCP Data received {"connection_id":91364,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:16:22] local.INFO: Processing buffer {"connection_id":91364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:16:22] local.INFO: IMEI packet received {"connection_id":91364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":91364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:16:28] local.INFO: TCP Data received {"connection_id":91364,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:16:28] local.INFO: Processing buffer {"connection_id":91364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:16:28] local.INFO: IMEI packet received {"connection_id":91364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":91364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:16:28] local.INFO: TCP Data received {"connection_id":91364,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:16:28] local.INFO: Processing buffer {"connection_id":91364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:16:28] local.INFO: Packet analysis {"connection_id":91364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:28] local.INFO: Extracted packet for processing {"connection_id":91364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:16:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:16:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":91364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:16:28] local.INFO: GPS data processed {"connection_id":91364,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:16:28] local.INFO: Acknowledgment sent {"connection_id":91364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:16:41] local.INFO: TCP Data received {"connection_id":91363,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:16:41] local.INFO: Processing buffer {"connection_id":91363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:16:41] local.INFO: Packet analysis {"connection_id":91363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:41] local.INFO: Extracted packet for processing {"connection_id":91363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:16:41] 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-06-02 23:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:16:41] 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-06-02 23:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:16:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":91363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:16:41] local.INFO: GPS data processed {"connection_id":91363,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:16:41] local.INFO: Acknowledgment sent {"connection_id":91363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:17:00] local.INFO: TCP Data received {"connection_id":91364,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:17:00] local.INFO: Processing buffer {"connection_id":91364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d1158012cb29ac007823b18004e00b822..."} 
[2026-06-02 23:17:00] local.INFO: Packet analysis {"connection_id":91364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:17:00] local.INFO: Extracted packet for processing {"connection_id":91364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787976448001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780422087000,"timestamp_ms":1780422087000,"timestamp_seconds":1780422087,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d1158"} 
[2026-06-02 23:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:17:00] 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-06-02 23:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787976448001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787976448001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:17:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787976448001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":91364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:17:00] local.INFO: GPS data processed {"connection_id":91364,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:17:00] local.INFO: Acknowledgment sent {"connection_id":91364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:17:04] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:17:04] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:17:04] local.INFO: IMEI packet received {"connection_id":89932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":89932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:17:09] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:17:09] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:17:09] local.INFO: IMEI packet received {"connection_id":89932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":89932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:17:10] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:17:10] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e896d82a0012d196500071ff058004601461f..."} 
[2026-06-02 23:17:10] local.INFO: Packet analysis {"connection_id":89932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:17:10] local.INFO: Extracted packet for processing {"connection_id":89932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e896d"} 
[2026-06-02 23:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455787985152001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422116000,"timestamp_ms":1780422116000,"timestamp_seconds":1780422116,"priority":1,"record_length":96,"hex_timestamp":"0000019e896d82a0"} 
[2026-06-02 23:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:17:10] 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-06-02 23:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:17:10] 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-06-02 23:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455787985152001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455787985152001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:17:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455787985152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":89932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:17:10] local.INFO: GPS data processed {"connection_id":89932,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:17:10] local.INFO: Acknowledgment sent {"connection_id":89932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:17:22] local.INFO: TCP Data received {"connection_id":90293,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:17:22] local.INFO: Processing buffer {"connection_id":90293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:17:22] local.INFO: IMEI packet received {"connection_id":90293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":90293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:17:28] local.INFO: TCP Data received {"connection_id":90293,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:17:28] local.INFO: Processing buffer {"connection_id":90293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:17:28] local.INFO: IMEI packet received {"connection_id":90293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":90293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:17:28] local.INFO: TCP Data received {"connection_id":90293,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:17:28] local.INFO: Processing buffer {"connection_id":90293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:17:28] local.INFO: Packet analysis {"connection_id":90293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:17:28] local.INFO: Extracted packet for processing {"connection_id":90293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:17:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:17: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-06-02 23:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:17:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:17:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":90293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:17:28] local.INFO: GPS data processed {"connection_id":90293,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:17:28] local.INFO: Acknowledgment sent {"connection_id":90293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:17:41] local.INFO: TCP Data received {"connection_id":89932,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:17:41] local.INFO: Processing buffer {"connection_id":89932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:17:41] local.INFO: Packet analysis {"connection_id":89932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:17:41] local.INFO: Extracted packet for processing {"connection_id":89932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:17:41] 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-06-02 23:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:17:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":89932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:17:41] local.INFO: GPS data processed {"connection_id":89932,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:17:41] local.INFO: Acknowledgment sent {"connection_id":89932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:17:59] local.INFO: TCP Data received {"connection_id":90293,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:17:59] local.INFO: Processing buffer {"connection_id":90293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:17:59] local.INFO: Packet analysis {"connection_id":90293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:17:59] local.INFO: Extracted packet for processing {"connection_id":90293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:17:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:17: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-06-02 23:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:17:59] 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-06-02 23:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:17:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:17:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":90293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:17:59] local.INFO: GPS data processed {"connection_id":90293,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:17:59] local.INFO: Acknowledgment sent {"connection_id":90293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:18:04] local.INFO: TCP Data received {"connection_id":90213,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:18:04] local.INFO: Processing buffer {"connection_id":90213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:18:04] local.INFO: IMEI packet received {"connection_id":90213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":90213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:18:09] local.INFO: TCP Data received {"connection_id":90213,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:18:09] local.INFO: Processing buffer {"connection_id":90213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:18:09] local.INFO: IMEI packet received {"connection_id":90213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":90213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:18:10] local.INFO: TCP Data received {"connection_id":90213,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:18:10] local.INFO: Processing buffer {"connection_id":90213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:18:10] local.INFO: Packet analysis {"connection_id":90213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:18:10] local.INFO: Extracted packet for processing {"connection_id":90213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:18:10] 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-06-02 23:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:18:10] 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-06-02 23:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:18:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":90213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:18:10] local.INFO: GPS data processed {"connection_id":90213,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:18:10] local.INFO: Acknowledgment sent {"connection_id":90213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:18:23] local.INFO: TCP Data received {"connection_id":90294,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:18:23] local.INFO: Processing buffer {"connection_id":90294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:18:23] local.INFO: IMEI packet received {"connection_id":90294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":90294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:18:27] local.INFO: TCP Data received {"connection_id":90294,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:18:27] local.INFO: Processing buffer {"connection_id":90294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:18:27] local.INFO: IMEI packet received {"connection_id":90294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":90294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:18:28] local.INFO: TCP Data received {"connection_id":90294,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:18:28] local.INFO: Processing buffer {"connection_id":90294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:18:28] local.INFO: Packet analysis {"connection_id":90294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:18:28] local.INFO: Extracted packet for processing {"connection_id":90294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:18:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:18: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-06-02 23:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:18:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":90294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:18:28] local.INFO: GPS data processed {"connection_id":90294,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:18:28] local.INFO: Acknowledgment sent {"connection_id":90294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:18:41] local.INFO: TCP Data received {"connection_id":90213,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:18:41] local.INFO: Processing buffer {"connection_id":90213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:18:41] local.INFO: Packet analysis {"connection_id":90213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:18:41] local.INFO: Extracted packet for processing {"connection_id":90213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:18:41] 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-06-02 23:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:18:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":90213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:18:41] local.INFO: GPS data processed {"connection_id":90213,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:18:41] local.INFO: Acknowledgment sent {"connection_id":90213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:18:59] local.INFO: TCP Data received {"connection_id":90294,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:18:59] local.INFO: Processing buffer {"connection_id":90294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:18:59] local.INFO: Packet analysis {"connection_id":90294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:18:59] local.INFO: Extracted packet for processing {"connection_id":90294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:18: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-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:18:59] 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-06-02 23:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:18:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":90294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:18:59] local.INFO: GPS data processed {"connection_id":90294,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:18:59] local.INFO: Acknowledgment sent {"connection_id":90294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:19:09] local.INFO: TCP Data received {"connection_id":91365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:19:09] local.INFO: Processing buffer {"connection_id":91365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:19:09] local.INFO: IMEI packet received {"connection_id":91365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":91365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:19:14] local.INFO: TCP Data received {"connection_id":91365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:19:14] local.INFO: Processing buffer {"connection_id":91365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:19:14] local.INFO: IMEI packet received {"connection_id":91365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":91365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:19:15] local.INFO: TCP Data received {"connection_id":91365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:19:15] local.INFO: Processing buffer {"connection_id":91365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:19:15] local.INFO: Packet analysis {"connection_id":91365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:19:15] local.INFO: Extracted packet for processing {"connection_id":91365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:19:15] 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-06-02 23:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:19:15] 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-06-02 23:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":91365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:19:15] local.INFO: GPS data processed {"connection_id":91365,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:19:15] local.INFO: Acknowledgment sent {"connection_id":91365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:19:19] local.INFO: TCP Data received {"connection_id":91365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:19:19] local.INFO: Processing buffer {"connection_id":91365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:19:19] local.INFO: Packet analysis {"connection_id":91365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:19:19] local.INFO: Extracted packet for processing {"connection_id":91365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19: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-06-02 23:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:19:19] 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-06-02 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:19: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-06-02 23:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":91365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":91365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":91365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:19:19] 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-06-02 23:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:19:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":91365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:19:19] local.INFO: GPS data processed {"connection_id":91365,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:19:19] local.INFO: Acknowledgment sent {"connection_id":91365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:19:22] local.INFO: TCP Data received {"connection_id":90214,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:19:22] local.INFO: Processing buffer {"connection_id":90214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:19:22] local.INFO: IMEI packet received {"connection_id":90214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":90214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:19:27] local.INFO: TCP Data received {"connection_id":90214,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:19:27] local.INFO: Processing buffer {"connection_id":90214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:19:27] local.INFO: IMEI packet received {"connection_id":90214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":90214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:19:28] local.INFO: TCP Data received {"connection_id":90214,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:19:28] local.INFO: Processing buffer {"connection_id":90214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:19:28] local.INFO: Packet analysis {"connection_id":90214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:19:28] local.INFO: Extracted packet for processing {"connection_id":90214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:19:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:19: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-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:19:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:19:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":90214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:19:28] local.INFO: GPS data processed {"connection_id":90214,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:19:28] local.INFO: Acknowledgment sent {"connection_id":90214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:19:59] local.INFO: TCP Data received {"connection_id":90214,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:19:59] local.INFO: Processing buffer {"connection_id":90214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:19:59] local.INFO: Packet analysis {"connection_id":90214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:19:59] local.INFO: Extracted packet for processing {"connection_id":90214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:19: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-06-02 23:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:19: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-06-02 23:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:19: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-06-02 23:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:19:59] 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-06-02 23:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:19:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":90214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:19:59] local.INFO: GPS data processed {"connection_id":90214,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:19:59] local.INFO: Acknowledgment sent {"connection_id":90214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:20:04] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:20:04] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:20:04] local.INFO: IMEI packet received {"connection_id":89933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":89933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:20:04] local.INFO: TCP Data received {"connection_id":90295,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:20:04] local.INFO: Processing buffer {"connection_id":90295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:20:04] local.INFO: IMEI packet received {"connection_id":90295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":90295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:20:07] local.INFO: TCP Data received {"connection_id":90296,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:20:07] local.INFO: Processing buffer {"connection_id":90296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:20:07] local.INFO: IMEI packet received {"connection_id":90296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":90296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:20:09] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:20:09] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:20:09] local.INFO: IMEI packet received {"connection_id":89933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":89933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:20:10] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:10] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:10] local.INFO: Packet analysis {"connection_id":89933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:20:10] local.INFO: Extracted packet for processing {"connection_id":89933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:20:10] 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-06-02 23:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:20:10] 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-06-02 23:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:20:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":89933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:20:10] local.INFO: GPS data processed {"connection_id":89933,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:20:10] local.INFO: Acknowledgment sent {"connection_id":89933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:20:14] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:14] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:14] local.INFO: Packet analysis {"connection_id":89933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:20:14] local.INFO: Extracted packet for processing {"connection_id":89933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20: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-06-02 23:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":89933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:20:14] 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-06-02 23:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:20:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":89933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:20:14] local.INFO: GPS data processed {"connection_id":89933,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:20:14] local.INFO: Acknowledgment sent {"connection_id":89933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:20:22] local.INFO: TCP Data received {"connection_id":90297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:20:22] local.INFO: Processing buffer {"connection_id":90297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:20:22] local.INFO: IMEI packet received {"connection_id":90297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":90297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:20:27] local.INFO: TCP Data received {"connection_id":90297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:20:27] local.INFO: Processing buffer {"connection_id":90297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:20:27] local.INFO: IMEI packet received {"connection_id":90297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":90297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:20:28] local.INFO: TCP Data received {"connection_id":90297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:20:28] local.INFO: Processing buffer {"connection_id":90297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:20:28] local.INFO: Packet analysis {"connection_id":90297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:20:28] local.INFO: Extracted packet for processing {"connection_id":90297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:20:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:20: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-06-02 23:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:20:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":90297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:20:28] local.INFO: GPS data processed {"connection_id":90297,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:20:28] local.INFO: Acknowledgment sent {"connection_id":90297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:20:45] local.INFO: TCP Data received {"connection_id":89933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:45] local.INFO: Processing buffer {"connection_id":89933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:20:45] local.INFO: Packet analysis {"connection_id":89933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:20:45] local.INFO: Extracted packet for processing {"connection_id":89933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20: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-06-02 23:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:20: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-06-02 23:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":89933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":89933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:20: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-06-02 23:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:20:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":89933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:20:45] local.INFO: GPS data processed {"connection_id":89933,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:20:45] local.INFO: Acknowledgment sent {"connection_id":89933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:20:59] local.INFO: TCP Data received {"connection_id":90297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:20:59] local.INFO: Processing buffer {"connection_id":90297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:20:59] local.INFO: Packet analysis {"connection_id":90297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:20:59] local.INFO: Extracted packet for processing {"connection_id":90297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:20:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:20: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-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:20: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-06-02 23:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:20:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":90297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:20:59] local.INFO: GPS data processed {"connection_id":90297,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:20:59] local.INFO: Acknowledgment sent {"connection_id":90297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:21:04] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:21:04] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:21:04] local.INFO: IMEI packet received {"connection_id":89934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":89934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:21:09] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:21:09] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:21:09] local.INFO: IMEI packet received {"connection_id":89934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":89934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:21:10] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:21:10] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:21:10] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:21:10] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:21:10] 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-06-02 23:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:21:10] 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-06-02 23:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:21:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:21:10] local.INFO: GPS data processed {"connection_id":89934,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:21:10] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:21:22] local.INFO: TCP Data received {"connection_id":91366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:21:22] local.INFO: Processing buffer {"connection_id":91366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:21:22] local.INFO: IMEI packet received {"connection_id":91366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":91366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:21:27] local.INFO: TCP Data received {"connection_id":91366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:21:27] local.INFO: Processing buffer {"connection_id":91366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:21:27] local.INFO: IMEI packet received {"connection_id":91366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":91366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:21:28] local.INFO: TCP Data received {"connection_id":91366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:21:28] local.INFO: Processing buffer {"connection_id":91366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:21:28] local.INFO: Packet analysis {"connection_id":91366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:21:28] local.INFO: Extracted packet for processing {"connection_id":91366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:21:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:21: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-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:21:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:21:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":91366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:21:28] local.INFO: GPS data processed {"connection_id":91366,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:21:28] local.INFO: Acknowledgment sent {"connection_id":91366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:21:41] local.INFO: TCP Data received {"connection_id":89934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:21:41] local.INFO: Processing buffer {"connection_id":89934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:21:41] local.INFO: Packet analysis {"connection_id":89934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:21:41] local.INFO: Extracted packet for processing {"connection_id":89934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:21:41] 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-06-02 23:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:21:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":89934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:21:41] local.INFO: GPS data processed {"connection_id":89934,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:21:41] local.INFO: Acknowledgment sent {"connection_id":89934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:21:59] local.INFO: TCP Data received {"connection_id":91366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:21:59] local.INFO: Processing buffer {"connection_id":91366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8971ad08012cb29ac007823b18004500b823..."} 
[2026-06-02 23:21:59] local.INFO: Packet analysis {"connection_id":91366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:21:59] local.INFO: Extracted packet for processing {"connection_id":91366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8971"} 
[2026-06-02 23:21:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":69,"angle":184,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788054272001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422389000,"timestamp_ms":1780422389000,"timestamp_seconds":1780422389,"priority":1,"record_length":96,"hex_timestamp":"0000019e8971ad08"} 
[2026-06-02 23:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:21: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-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:21: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-06-02 23:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788054272001,"66":25462,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788054272001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:21:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:21:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788054272001,"power":25462,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":91366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:21:59] local.INFO: GPS data processed {"connection_id":91366,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:21:59] local.INFO: Acknowledgment sent {"connection_id":91366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:22:04] local.INFO: TCP Data received {"connection_id":90299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:22:04] local.INFO: Processing buffer {"connection_id":90299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:22:04] local.INFO: IMEI packet received {"connection_id":90299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":90299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:22:09] local.INFO: TCP Data received {"connection_id":90299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:22:09] local.INFO: Processing buffer {"connection_id":90299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:22:09] local.INFO: IMEI packet received {"connection_id":90299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":90299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:22:10] local.INFO: TCP Data received {"connection_id":90299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:22:10] local.INFO: Processing buffer {"connection_id":90299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89721a68012d196500071ff0580046014627..."} 
[2026-06-02 23:22:10] local.INFO: Packet analysis {"connection_id":90299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:22:10] local.INFO: Extracted packet for processing {"connection_id":90299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8972"} 
[2026-06-02 23:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788061696001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422417000,"timestamp_ms":1780422417000,"timestamp_seconds":1780422417,"priority":1,"record_length":96,"hex_timestamp":"0000019e89721a68"} 
[2026-06-02 23:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:22:10] 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-06-02 23:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:22:10] 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-06-02 23:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788061696001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788061696001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:22:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788061696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":90299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:22:10] local.INFO: GPS data processed {"connection_id":90299,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:22:10] local.INFO: Acknowledgment sent {"connection_id":90299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:22:27] local.INFO: TCP Data received {"connection_id":89935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:22:27] local.INFO: Processing buffer {"connection_id":89935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:22:27] local.INFO: IMEI packet received {"connection_id":89935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":89935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:22:32] local.INFO: TCP Data received {"connection_id":89935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:22:32] local.INFO: Processing buffer {"connection_id":89935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:22:32] local.INFO: IMEI packet received {"connection_id":89935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":89935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:22:33] local.INFO: TCP Data received {"connection_id":89935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:22:33] local.INFO: Processing buffer {"connection_id":89935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:22:33] local.INFO: Packet analysis {"connection_id":89935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:22:33] local.INFO: Extracted packet for processing {"connection_id":89935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:22:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:22:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:22:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":89935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:22:33] local.INFO: GPS data processed {"connection_id":89935,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:22:33] local.INFO: Acknowledgment sent {"connection_id":89935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:22:37] local.INFO: TCP Data received {"connection_id":89935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:22:37] local.INFO: Processing buffer {"connection_id":89935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:22:37] local.INFO: Packet analysis {"connection_id":89935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:22:37] local.INFO: Extracted packet for processing {"connection_id":89935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:22: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-06-02 23:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:22:37] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":89935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:22:37] local.INFO: GPS data processed {"connection_id":89935,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:22:37] local.INFO: Acknowledgment sent {"connection_id":89935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:22:41] local.INFO: TCP Data received {"connection_id":90299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:22:41] local.INFO: Processing buffer {"connection_id":90299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:22:41] local.INFO: Packet analysis {"connection_id":90299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:22:41] local.INFO: Extracted packet for processing {"connection_id":90299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:22:41] 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-06-02 23:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:22:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":90299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:22:41] local.INFO: GPS data processed {"connection_id":90299,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:22:41] local.INFO: Acknowledgment sent {"connection_id":90299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:23:04] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:23:04] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:23:04] local.INFO: IMEI packet received {"connection_id":90216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":90216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:23:09] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:23:09] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:23:09] local.INFO: IMEI packet received {"connection_id":90216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":90216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:23:10] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:23:10] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:23:10] local.INFO: Packet analysis {"connection_id":90216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:10] local.INFO: Extracted packet for processing {"connection_id":90216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:23:10] 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-06-02 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:23:10] 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-06-02 23:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:23:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":90216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:23:10] local.INFO: GPS data processed {"connection_id":90216,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:23:10] local.INFO: Acknowledgment sent {"connection_id":90216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:23:22] local.INFO: TCP Data received {"connection_id":90300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:23:22] local.INFO: Processing buffer {"connection_id":90300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:23:22] local.INFO: IMEI packet received {"connection_id":90300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":90300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:23:27] local.INFO: TCP Data received {"connection_id":90300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:23:27] local.INFO: Processing buffer {"connection_id":90300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:23:27] local.INFO: IMEI packet received {"connection_id":90300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":90300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:23:28] local.INFO: TCP Data received {"connection_id":90300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:23:28] local.INFO: Processing buffer {"connection_id":90300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:23:28] local.INFO: Packet analysis {"connection_id":90300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:28] local.INFO: Extracted packet for processing {"connection_id":90300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:23: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-06-02 23:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:23:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:23:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":90300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:23:28] local.INFO: GPS data processed {"connection_id":90300,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:23:28] local.INFO: Acknowledgment sent {"connection_id":90300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:23:41] local.INFO: TCP Data received {"connection_id":90216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:23:41] local.INFO: Processing buffer {"connection_id":90216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:23:41] local.INFO: Packet analysis {"connection_id":90216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:41] local.INFO: Extracted packet for processing {"connection_id":90216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:23:41] 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-06-02 23:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:23:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":90216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:23:41] local.INFO: GPS data processed {"connection_id":90216,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:23:41] local.INFO: Acknowledgment sent {"connection_id":90216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:23:59] local.INFO: TCP Data received {"connection_id":90300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:23:59] local.INFO: Processing buffer {"connection_id":90300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:23:59] local.INFO: Packet analysis {"connection_id":90300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:59] local.INFO: Extracted packet for processing {"connection_id":90300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:23:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:23: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-06-02 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:23: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-06-02 23:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:23: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-06-02 23:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:23:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:23:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":90300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:23:59] local.INFO: GPS data processed {"connection_id":90300,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:23:59] local.INFO: Acknowledgment sent {"connection_id":90300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:24:04] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:24:04] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:24:04] local.INFO: IMEI packet received {"connection_id":89936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":89936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:24:09] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:24:09] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:24:09] local.INFO: IMEI packet received {"connection_id":89936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":89936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:24:10] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:24:10] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:24:10] local.INFO: Packet analysis {"connection_id":89936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:10] local.INFO: Extracted packet for processing {"connection_id":89936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:24:10] 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-06-02 23:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:24:10] 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-06-02 23:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:24:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":89936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:24:10] local.INFO: GPS data processed {"connection_id":89936,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:24:10] local.INFO: Acknowledgment sent {"connection_id":89936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:24:22] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:24:22] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:24:22] local.INFO: IMEI packet received {"connection_id":90217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":90217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:24:27] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:24:27] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:24:27] local.INFO: IMEI packet received {"connection_id":90217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":90217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:24:28] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:24:28] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:24:28] local.INFO: Packet analysis {"connection_id":90217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:28] local.INFO: Extracted packet for processing {"connection_id":90217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:24: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-06-02 23:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":90217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:24:28] local.INFO: GPS data processed {"connection_id":90217,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:24:28] local.INFO: Acknowledgment sent {"connection_id":90217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:24:41] local.INFO: TCP Data received {"connection_id":89936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:24:41] local.INFO: Processing buffer {"connection_id":89936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:24:41] local.INFO: Packet analysis {"connection_id":89936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:41] local.INFO: Extracted packet for processing {"connection_id":89936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:24:41] 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-06-02 23:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:24:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":89936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:24:41] local.INFO: GPS data processed {"connection_id":89936,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:24:41] local.INFO: Acknowledgment sent {"connection_id":89936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:24:59] local.INFO: TCP Data received {"connection_id":90217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:24:59] local.INFO: Processing buffer {"connection_id":90217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:24:59] local.INFO: Packet analysis {"connection_id":90217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:59] local.INFO: Extracted packet for processing {"connection_id":90217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:24:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:24: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-06-02 23:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:24: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-06-02 23:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:24:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":90217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:24:59] local.INFO: GPS data processed {"connection_id":90217,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:24:59] local.INFO: Acknowledgment sent {"connection_id":90217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:25:09] local.INFO: TCP Data received {"connection_id":90302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:25:09] local.INFO: Processing buffer {"connection_id":90302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:25:09] local.INFO: IMEI packet received {"connection_id":90302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":90302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:25:14] local.INFO: TCP Data received {"connection_id":90302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:25:14] local.INFO: Processing buffer {"connection_id":90302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:25:14] local.INFO: IMEI packet received {"connection_id":90302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":90302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:25:15] local.INFO: TCP Data received {"connection_id":90302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:25:15] local.INFO: Processing buffer {"connection_id":90302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:25:15] local.INFO: Packet analysis {"connection_id":90302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:15] local.INFO: Extracted packet for processing {"connection_id":90302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:25:15] 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-06-02 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":90302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":90302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":90302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:25:15] 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-06-02 23:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:25:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":90302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:25:15] local.INFO: GPS data processed {"connection_id":90302,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:25:15] local.INFO: Acknowledgment sent {"connection_id":90302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:25:19] local.INFO: TCP Data received {"connection_id":90302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:25:19] local.INFO: Processing buffer {"connection_id":90302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:25:19] local.INFO: Packet analysis {"connection_id":90302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:19] local.INFO: Extracted packet for processing {"connection_id":90302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25: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-06-02 23:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:25:19] 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-06-02 23:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:25: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-06-02 23:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":90302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":90302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":90302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:25:19] 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-06-02 23:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:25:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":90302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:25:19] local.INFO: GPS data processed {"connection_id":90302,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:25:19] local.INFO: Acknowledgment sent {"connection_id":90302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:25:22] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:25:22] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:25:22] local.INFO: IMEI packet received {"connection_id":90219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":90219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:25:27] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:25:27] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:25:27] local.INFO: IMEI packet received {"connection_id":90219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":90219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:25:28] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:25:28] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:25:28] local.INFO: Packet analysis {"connection_id":90219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:28] local.INFO: Extracted packet for processing {"connection_id":90219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:25: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-06-02 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:25:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:25:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":90219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:25:28] local.INFO: GPS data processed {"connection_id":90219,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:25:28] local.INFO: Acknowledgment sent {"connection_id":90219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:25:32] local.INFO: TCP Data received {"connection_id":90218,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:25:32] local.INFO: Processing buffer {"connection_id":90218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:25:32] local.INFO: IMEI packet received {"connection_id":90218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":90218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:25:57] local.INFO: TCP Data received {"connection_id":89937,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:25:57] local.INFO: Processing buffer {"connection_id":89937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:25:57] local.INFO: IMEI packet received {"connection_id":89937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":89937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:25:59] local.INFO: TCP Data received {"connection_id":90219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:25:59] local.INFO: Processing buffer {"connection_id":90219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:25:59] local.INFO: Packet analysis {"connection_id":90219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:59] local.INFO: Extracted packet for processing {"connection_id":90219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:25:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 23:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 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-06-02 23:25: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-06-02 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 23:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:25: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-06-02 23:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:25:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:25:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":90219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:25:59] local.INFO: GPS data processed {"connection_id":90219,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:25:59] local.INFO: Acknowledgment sent {"connection_id":90219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:26:04] local.INFO: TCP Data received {"connection_id":91368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:26:04] local.INFO: Processing buffer {"connection_id":91368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:26:04] local.INFO: IMEI packet received {"connection_id":91368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":91368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:26:09] local.INFO: TCP Data received {"connection_id":91368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:26:09] local.INFO: Processing buffer {"connection_id":91368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:26:09] local.INFO: IMEI packet received {"connection_id":91368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":91368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:26:10] local.INFO: TCP Data received {"connection_id":91368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:26:10] local.INFO: Processing buffer {"connection_id":91368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:26:10] local.INFO: Packet analysis {"connection_id":91368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:10] local.INFO: Extracted packet for processing {"connection_id":91368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:26:10] 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-06-02 23:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:26:10] 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-06-02 23:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:26:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":91368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:26:10] local.INFO: GPS data processed {"connection_id":91368,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:26:10] local.INFO: Acknowledgment sent {"connection_id":91368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:26:22] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:26:22] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:26:22] local.INFO: IMEI packet received {"connection_id":89938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":89938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:26:27] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:26:27] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:26:27] local.INFO: IMEI packet received {"connection_id":89938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":89938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:26:28] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:26:28] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:26:28] local.INFO: Packet analysis {"connection_id":89938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:28] local.INFO: Extracted packet for processing {"connection_id":89938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:26: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-06-02 23:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:26:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:26:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":89938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:26:28] local.INFO: GPS data processed {"connection_id":89938,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:26:28] local.INFO: Acknowledgment sent {"connection_id":89938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:26:40] local.INFO: TCP Data received {"connection_id":91368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:26:40] local.INFO: Processing buffer {"connection_id":91368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:26:40] local.INFO: Packet analysis {"connection_id":91368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:40] local.INFO: Extracted packet for processing {"connection_id":91368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:26:40] 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-06-02 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":91368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":91368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":91368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:26:40] 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-06-02 23:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:26:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":91368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:26:40] local.INFO: GPS data processed {"connection_id":91368,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:26:40] local.INFO: Acknowledgment sent {"connection_id":91368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:26:59] local.INFO: TCP Data received {"connection_id":89938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:26:59] local.INFO: Processing buffer {"connection_id":89938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897644d0012cb29ac007823b18004b00b828..."} 
[2026-06-02 23:26:59] local.INFO: Packet analysis {"connection_id":89938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:59] local.INFO: Extracted packet for processing {"connection_id":89938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788131584001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422690000,"timestamp_ms":1780422690000,"timestamp_seconds":1780422690,"priority":1,"record_length":96,"hex_timestamp":"0000019e897644d0"} 
[2026-06-02 23:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:26: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-06-02 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:26: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-06-02 23:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788131584001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788131584001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:26:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:26:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788131584001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":89938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:26:59] local.INFO: GPS data processed {"connection_id":89938,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:26:59] local.INFO: Acknowledgment sent {"connection_id":89938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:27:04] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:27:04] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:27:04] local.INFO: IMEI packet received {"connection_id":90220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":90220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:27:09] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:27:09] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:27:09] local.INFO: IMEI packet received {"connection_id":90220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":90220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:27:10] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:27:10] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8976b618012d196500071ff0580046014626..."} 
[2026-06-02 23:27:10] local.INFO: Packet analysis {"connection_id":90220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:27:10] local.INFO: Extracted packet for processing {"connection_id":90220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8976"} 
[2026-06-02 23:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788138752001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780422719000,"timestamp_ms":1780422719000,"timestamp_seconds":1780422719,"priority":1,"record_length":96,"hex_timestamp":"0000019e8976b618"} 
[2026-06-02 23:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:27:10] 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-06-02 23:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:27:10] 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-06-02 23:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788138752001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788138752001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:27:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788138752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":90220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:27:10] local.INFO: GPS data processed {"connection_id":90220,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:27:10] local.INFO: Acknowledgment sent {"connection_id":90220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:27:22] local.INFO: TCP Data received {"connection_id":91369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:27:22] local.INFO: Processing buffer {"connection_id":91369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:27:22] local.INFO: IMEI packet received {"connection_id":91369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":91369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:27:27] local.INFO: TCP Data received {"connection_id":91369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:27:27] local.INFO: Processing buffer {"connection_id":91369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:27:27] local.INFO: IMEI packet received {"connection_id":91369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":91369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:27:28] local.INFO: TCP Data received {"connection_id":91369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:27:28] local.INFO: Processing buffer {"connection_id":91369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:27:28] local.INFO: Packet analysis {"connection_id":91369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:27:28] local.INFO: Extracted packet for processing {"connection_id":91369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:27:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:27:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":91369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:27:28] local.INFO: GPS data processed {"connection_id":91369,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:27:28] local.INFO: Acknowledgment sent {"connection_id":91369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:27:40] local.INFO: TCP Data received {"connection_id":90220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:27:40] local.INFO: Processing buffer {"connection_id":90220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:27:40] local.INFO: Packet analysis {"connection_id":90220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:27:40] local.INFO: Extracted packet for processing {"connection_id":90220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:27:40] 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-06-02 23:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":90220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":90220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":90220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:27:40] 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-06-02 23:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:27:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":90220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:27:41] local.INFO: GPS data processed {"connection_id":90220,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:27:41] local.INFO: Acknowledgment sent {"connection_id":90220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:27:59] local.INFO: TCP Data received {"connection_id":91369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:27:59] local.INFO: Processing buffer {"connection_id":91369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:27:59] local.INFO: Packet analysis {"connection_id":91369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:27:59] local.INFO: Extracted packet for processing {"connection_id":91369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:27: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-06-02 23:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:27:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:27:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":91369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:27:59] local.INFO: GPS data processed {"connection_id":91369,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:27:59] local.INFO: Acknowledgment sent {"connection_id":91369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:28:04] local.INFO: TCP Data received {"connection_id":90221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:28:04] local.INFO: Processing buffer {"connection_id":90221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:28:04] local.INFO: IMEI packet received {"connection_id":90221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":90221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:28:09] local.INFO: TCP Data received {"connection_id":90221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:28:09] local.INFO: Processing buffer {"connection_id":90221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:28:09] local.INFO: IMEI packet received {"connection_id":90221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":90221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:28:10] local.INFO: TCP Data received {"connection_id":90221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:28:10] local.INFO: Processing buffer {"connection_id":90221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:28:10] local.INFO: Packet analysis {"connection_id":90221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:28:10] local.INFO: Extracted packet for processing {"connection_id":90221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:28:10] 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-06-02 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:28:10] 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-06-02 23:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:28:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":90221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:28:10] local.INFO: GPS data processed {"connection_id":90221,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:28:10] local.INFO: Acknowledgment sent {"connection_id":90221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:28:27] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:28:27] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:28:27] local.INFO: IMEI packet received {"connection_id":89939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":89939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:28:32] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:28:32] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:28:32] local.INFO: IMEI packet received {"connection_id":89939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":89939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:28:33] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:28:33] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:28:33] local.INFO: Packet analysis {"connection_id":89939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:28:33] local.INFO: Extracted packet for processing {"connection_id":89939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":89939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:28:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:28:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":89939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:28:33] local.INFO: GPS data processed {"connection_id":89939,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:28:33] local.INFO: Acknowledgment sent {"connection_id":89939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:28:37] local.INFO: TCP Data received {"connection_id":89939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:28:37] local.INFO: Processing buffer {"connection_id":89939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:28:37] local.INFO: Packet analysis {"connection_id":89939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:28:37] local.INFO: Extracted packet for processing {"connection_id":89939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":89939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":89939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:28:37] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":89939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:28:37] local.INFO: GPS data processed {"connection_id":89939,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:28:37] local.INFO: Acknowledgment sent {"connection_id":89939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:28:41] local.INFO: TCP Data received {"connection_id":90221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:28:41] local.INFO: Processing buffer {"connection_id":90221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:28:41] local.INFO: Packet analysis {"connection_id":90221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:28:41] local.INFO: Extracted packet for processing {"connection_id":90221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:28:41] 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-06-02 23:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:28:41] 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-06-02 23:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:28:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":90221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:28:41] local.INFO: GPS data processed {"connection_id":90221,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:28:41] local.INFO: Acknowledgment sent {"connection_id":90221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:29:04] local.INFO: TCP Data received {"connection_id":91371,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:29:04] local.INFO: Processing buffer {"connection_id":91371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:29:04] local.INFO: IMEI packet received {"connection_id":91371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":91371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:29:09] local.INFO: TCP Data received {"connection_id":91371,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:29:09] local.INFO: Processing buffer {"connection_id":91371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:29:09] local.INFO: IMEI packet received {"connection_id":91371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":91371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:29:10] local.INFO: TCP Data received {"connection_id":91371,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:29:10] local.INFO: Processing buffer {"connection_id":91371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:29:10] local.INFO: Packet analysis {"connection_id":91371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:29:10] local.INFO: Extracted packet for processing {"connection_id":91371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:29:10] 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-06-02 23:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:29:10] 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-06-02 23:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:29:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":91371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:29:10] local.INFO: GPS data processed {"connection_id":91371,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:29:10] local.INFO: Acknowledgment sent {"connection_id":91371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:29:22] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:29:22] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:29:22] local.INFO: IMEI packet received {"connection_id":89940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":89940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:29:27] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:29:27] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:29:27] local.INFO: IMEI packet received {"connection_id":89940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":89940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:29:28] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:29:28] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:29:28] local.INFO: Packet analysis {"connection_id":89940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:29:28] local.INFO: Extracted packet for processing {"connection_id":89940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:29:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:29:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":89940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:29:28] local.INFO: GPS data processed {"connection_id":89940,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:29:28] local.INFO: Acknowledgment sent {"connection_id":89940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:29:41] local.INFO: TCP Data received {"connection_id":91371,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:29:41] local.INFO: Processing buffer {"connection_id":91371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:29:41] local.INFO: Packet analysis {"connection_id":91371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:29:41] local.INFO: Extracted packet for processing {"connection_id":91371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:29:41] 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-06-02 23:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:29:41] 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-06-02 23:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:29:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":91371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:29:41] local.INFO: GPS data processed {"connection_id":91371,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:29:41] local.INFO: Acknowledgment sent {"connection_id":91371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:29:59] local.INFO: TCP Data received {"connection_id":89940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:29:59] local.INFO: Processing buffer {"connection_id":89940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:29:59] local.INFO: Packet analysis {"connection_id":89940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:29:59] local.INFO: Extracted packet for processing {"connection_id":89940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:29:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:29: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-06-02 23:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:29:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":89940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:29:59] local.INFO: GPS data processed {"connection_id":89940,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:29:59] local.INFO: Acknowledgment sent {"connection_id":89940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:30:09] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:30:09] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:30:09] local.INFO: IMEI packet received {"connection_id":89941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":89941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:30:14] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:30:14] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:30:14] local.INFO: IMEI packet received {"connection_id":89941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":89941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:30:15] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:30:15] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:30:15] local.INFO: Packet analysis {"connection_id":89941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:30:15] local.INFO: Extracted packet for processing {"connection_id":89941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:30:15] 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-06-02 23:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":89941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:30:15] local.INFO: GPS data processed {"connection_id":89941,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:30:15] local.INFO: Acknowledgment sent {"connection_id":89941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:30:19] local.INFO: TCP Data received {"connection_id":89941,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:30:19] local.INFO: Processing buffer {"connection_id":89941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:30:19] local.INFO: Packet analysis {"connection_id":89941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:30:19] local.INFO: Extracted packet for processing {"connection_id":89941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30: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-06-02 23:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:30:19] 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-06-02 23:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:30: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-06-02 23:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:30:19] 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-06-02 23:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:30:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":89941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:30:20] local.INFO: GPS data processed {"connection_id":89941,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:30:20] local.INFO: Acknowledgment sent {"connection_id":89941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:30:23] local.INFO: TCP Data received {"connection_id":91372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:30:23] local.INFO: Processing buffer {"connection_id":91372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:30:23] local.INFO: IMEI packet received {"connection_id":91372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":91372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:30:27] local.INFO: TCP Data received {"connection_id":91372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:30:27] local.INFO: Processing buffer {"connection_id":91372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:30:27] local.INFO: IMEI packet received {"connection_id":91372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":91372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:30:28] local.INFO: TCP Data received {"connection_id":91372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:30:28] local.INFO: Processing buffer {"connection_id":91372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:30:28] local.INFO: Packet analysis {"connection_id":91372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:30:28] local.INFO: Extracted packet for processing {"connection_id":91372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:30:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:30:28] 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-06-02 23:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:30:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":91372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:30:28] local.INFO: GPS data processed {"connection_id":91372,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:30:28] local.INFO: Acknowledgment sent {"connection_id":91372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:30:59] local.INFO: TCP Data received {"connection_id":91372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:30:59] local.INFO: Processing buffer {"connection_id":91372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:30:59] local.INFO: Packet analysis {"connection_id":91372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:30:59] local.INFO: Extracted packet for processing {"connection_id":91372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:30:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:30:59] 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-06-02 23:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:30:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:30:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":91372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:30:59] local.INFO: GPS data processed {"connection_id":91372,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:30:59] local.INFO: Acknowledgment sent {"connection_id":91372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:31:04] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:31:04] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:31:04] local.INFO: IMEI packet received {"connection_id":90223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":90223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:31:09] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:31:09] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:31:09] local.INFO: IMEI packet received {"connection_id":90223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":90223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:31:10] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:31:10] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:31:10] local.INFO: Packet analysis {"connection_id":90223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:31:10] local.INFO: Extracted packet for processing {"connection_id":90223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:31:10] 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-06-02 23:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:31:10] 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-06-02 23:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:31:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":90223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:31:10] local.INFO: GPS data processed {"connection_id":90223,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:31:10] local.INFO: Acknowledgment sent {"connection_id":90223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:31:12] local.INFO: TCP Data received {"connection_id":90222,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:31:12] local.INFO: Processing buffer {"connection_id":90222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:31:12] local.INFO: IMEI packet received {"connection_id":90222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":90222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:31:22] local.INFO: TCP Data received {"connection_id":90306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:31:22] local.INFO: Processing buffer {"connection_id":90306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:31:22] local.INFO: IMEI packet received {"connection_id":90306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":90306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:31:27] local.INFO: TCP Data received {"connection_id":90306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:31:27] local.INFO: Processing buffer {"connection_id":90306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:31:27] local.INFO: IMEI packet received {"connection_id":90306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":90306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:31:28] local.INFO: TCP Data received {"connection_id":90306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:31:28] local.INFO: Processing buffer {"connection_id":90306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:31:28] local.INFO: Packet analysis {"connection_id":90306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:31:28] local.INFO: Extracted packet for processing {"connection_id":90306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:31:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:31:28] 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-06-02 23:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:31:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:31:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":90306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:31:28] local.INFO: GPS data processed {"connection_id":90306,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:31:28] local.INFO: Acknowledgment sent {"connection_id":90306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:31:41] local.INFO: TCP Data received {"connection_id":90223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:31:41] local.INFO: Processing buffer {"connection_id":90223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:31:41] local.INFO: Packet analysis {"connection_id":90223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:31:41] local.INFO: Extracted packet for processing {"connection_id":90223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:31:41] 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-06-02 23:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:31:41] 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-06-02 23:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:31:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":90223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:31:41] local.INFO: GPS data processed {"connection_id":90223,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:31:41] local.INFO: Acknowledgment sent {"connection_id":90223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:31:57] local.INFO: TCP Data received {"connection_id":89942,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:31:57] local.INFO: Processing buffer {"connection_id":89942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:31:57] local.INFO: IMEI packet received {"connection_id":89942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":89942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:31:59] local.INFO: TCP Data received {"connection_id":90306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:31:59] local.INFO: Processing buffer {"connection_id":90306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897ae850012cb29ac007823b18005000b828..."} 
[2026-06-02 23:31:59] local.INFO: Packet analysis {"connection_id":90306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:31:59] local.INFO: Extracted packet for processing {"connection_id":90306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897a"} 
[2026-06-02 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":80,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788208640001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780422994000,"timestamp_ms":1780422994000,"timestamp_seconds":1780422994,"priority":1,"record_length":96,"hex_timestamp":"0000019e897ae850"} 
[2026-06-02 23:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:31:59] 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-06-02 23:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788208640001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788208640001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:31:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788208640001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":90306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:31:59] local.INFO: GPS data processed {"connection_id":90306,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:31:59] local.INFO: Acknowledgment sent {"connection_id":90306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:32:04] local.INFO: TCP Data received {"connection_id":90307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:32:04] local.INFO: Processing buffer {"connection_id":90307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:32:04] local.INFO: IMEI packet received {"connection_id":90307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":90307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:32:09] local.INFO: TCP Data received {"connection_id":90307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:32:09] local.INFO: Processing buffer {"connection_id":90307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:32:09] local.INFO: IMEI packet received {"connection_id":90307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":90307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:32:10] local.INFO: TCP Data received {"connection_id":90307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:32:10] local.INFO: Processing buffer {"connection_id":90307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897b51c8012d196500071ff0580046014625..."} 
[2026-06-02 23:32:10] local.INFO: Packet analysis {"connection_id":90307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:32:10] local.INFO: Extracted packet for processing {"connection_id":90307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897b"} 
[2026-06-02 23:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788216064001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423021000,"timestamp_ms":1780423021000,"timestamp_seconds":1780423021,"priority":1,"record_length":96,"hex_timestamp":"0000019e897b51c8"} 
[2026-06-02 23:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:32:10] 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-06-02 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:32:10] 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-06-02 23:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788216064001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788216064001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788216064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":90307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:32:10] local.INFO: GPS data processed {"connection_id":90307,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:32:10] local.INFO: Acknowledgment sent {"connection_id":90307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:32:22] local.INFO: TCP Data received {"connection_id":90308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:22] local.INFO: Processing buffer {"connection_id":90308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:22] local.INFO: IMEI packet received {"connection_id":90308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":90308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:32:27] local.INFO: TCP Data received {"connection_id":90308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:27] local.INFO: Processing buffer {"connection_id":90308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:27] local.INFO: IMEI packet received {"connection_id":90308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":90308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:32:32] local.INFO: TCP Data received {"connection_id":90308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:32] local.INFO: Processing buffer {"connection_id":90308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:32:32] local.INFO: IMEI packet received {"connection_id":90308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":90308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:32:33] local.INFO: TCP Data received {"connection_id":90308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:32:33] local.INFO: Processing buffer {"connection_id":90308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:32:33] local.INFO: Packet analysis {"connection_id":90308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:32:33] local.INFO: Extracted packet for processing {"connection_id":90308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:32:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:32:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:32:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":90308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:32:33] local.INFO: GPS data processed {"connection_id":90308,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:32:33] local.INFO: Acknowledgment sent {"connection_id":90308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:32:38] local.INFO: TCP Data received {"connection_id":90308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:32:38] local.INFO: Processing buffer {"connection_id":90308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:32:38] local.INFO: Packet analysis {"connection_id":90308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:32:38] local.INFO: Extracted packet for processing {"connection_id":90308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:32:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:32:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:32:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":90308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:32:38] local.INFO: GPS data processed {"connection_id":90308,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:32:38] local.INFO: Acknowledgment sent {"connection_id":90308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:32:41] local.INFO: TCP Data received {"connection_id":90307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:32:41] local.INFO: Processing buffer {"connection_id":90307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:32:41] local.INFO: Packet analysis {"connection_id":90307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:32:41] local.INFO: Extracted packet for processing {"connection_id":90307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:32:41] 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-06-02 23:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":90307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:32:41] local.INFO: GPS data processed {"connection_id":90307,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:32:41] local.INFO: Acknowledgment sent {"connection_id":90307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:33:04] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:33:04] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:33:04] local.INFO: IMEI packet received {"connection_id":89945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":89945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:33:09] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:33:09] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:33:09] local.INFO: IMEI packet received {"connection_id":89945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":89945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:33:10] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:33:10] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:33:10] local.INFO: Packet analysis {"connection_id":89945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:33:10] local.INFO: Extracted packet for processing {"connection_id":89945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:33:10] 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-06-02 23:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":89945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:33:10] local.INFO: GPS data processed {"connection_id":89945,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:33:10] local.INFO: Acknowledgment sent {"connection_id":89945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:33:22] local.INFO: TCP Data received {"connection_id":90309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:33:22] local.INFO: Processing buffer {"connection_id":90309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:33:22] local.INFO: IMEI packet received {"connection_id":90309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":90309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:33:27] local.INFO: TCP Data received {"connection_id":90309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:33:27] local.INFO: Processing buffer {"connection_id":90309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:33:27] local.INFO: IMEI packet received {"connection_id":90309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":90309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:33:28] local.INFO: TCP Data received {"connection_id":90309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:33:28] local.INFO: Processing buffer {"connection_id":90309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:33:28] local.INFO: Packet analysis {"connection_id":90309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:33:28] local.INFO: Extracted packet for processing {"connection_id":90309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:33:28] 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-06-02 23:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:33:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":90309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:33:28] local.INFO: GPS data processed {"connection_id":90309,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:33:28] local.INFO: Acknowledgment sent {"connection_id":90309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:33:41] local.INFO: TCP Data received {"connection_id":89945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:33:41] local.INFO: Processing buffer {"connection_id":89945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:33:41] local.INFO: Packet analysis {"connection_id":89945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:33:41] local.INFO: Extracted packet for processing {"connection_id":89945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:33:41] 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-06-02 23:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:33:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":89945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:33:41] local.INFO: GPS data processed {"connection_id":89945,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:33:41] local.INFO: Acknowledgment sent {"connection_id":89945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:34:00] local.INFO: TCP Data received {"connection_id":90309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:00] local.INFO: Processing buffer {"connection_id":90309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:00] local.INFO: Packet analysis {"connection_id":90309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:00] local.INFO: Extracted packet for processing {"connection_id":90309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":90309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":90309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":90309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:34: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-06-02 23:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:34:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":90309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:34:00] local.INFO: GPS data processed {"connection_id":90309,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:34:00] local.INFO: Acknowledgment sent {"connection_id":90309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:34:09] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:34:09] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:34:09] local.INFO: IMEI packet received {"connection_id":89947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":89947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:34:14] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:34:14] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:34:14] local.INFO: IMEI packet received {"connection_id":89947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":89947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:34:15] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:34:15] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:34:15] local.INFO: Packet analysis {"connection_id":89947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:15] local.INFO: Extracted packet for processing {"connection_id":89947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":89947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:34:15] 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-06-02 23:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":89947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:34:15] local.INFO: GPS data processed {"connection_id":89947,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:34:15] local.INFO: Acknowledgment sent {"connection_id":89947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:34:19] local.INFO: TCP Data received {"connection_id":89947,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:34:19] local.INFO: Processing buffer {"connection_id":89947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:34:19] local.INFO: Packet analysis {"connection_id":89947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:19] local.INFO: Extracted packet for processing {"connection_id":89947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34: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-06-02 23:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":89947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":89947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:34:19] 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-06-02 23:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:34:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":89947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:34:19] local.INFO: GPS data processed {"connection_id":89947,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:34:19] local.INFO: Acknowledgment sent {"connection_id":89947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:34:22] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:34:22] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:34:22] local.INFO: IMEI packet received {"connection_id":90224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":90224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:34:27] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:34:27] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:34:27] local.INFO: IMEI packet received {"connection_id":90224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":90224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:34:28] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:28] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:28] local.INFO: Packet analysis {"connection_id":90224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:28] local.INFO: Extracted packet for processing {"connection_id":90224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:34:28] 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-06-02 23:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:34:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:34:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":90224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:34:28] local.INFO: GPS data processed {"connection_id":90224,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:34:28] local.INFO: Acknowledgment sent {"connection_id":90224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:34:59] local.INFO: TCP Data received {"connection_id":90224,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:59] local.INFO: Processing buffer {"connection_id":90224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:34:59] local.INFO: Packet analysis {"connection_id":90224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:59] local.INFO: Extracted packet for processing {"connection_id":90224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 23:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 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-06-02 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 23:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:34:59] 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-06-02 23:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:34:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":90224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:34:59] local.INFO: GPS data processed {"connection_id":90224,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:34:59] local.INFO: Acknowledgment sent {"connection_id":90224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:35:04] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:35:04] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:35:04] local.INFO: IMEI packet received {"connection_id":89948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":89948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:35:09] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:35:09] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:35:09] local.INFO: IMEI packet received {"connection_id":89948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":89948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:35:10] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:35:10] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:35:10] local.INFO: Packet analysis {"connection_id":89948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:10] local.INFO: Extracted packet for processing {"connection_id":89948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:35:10] 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-06-02 23:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:35:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":89948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:35:10] local.INFO: GPS data processed {"connection_id":89948,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:35:10] local.INFO: Acknowledgment sent {"connection_id":89948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:35:22] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:35:22] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:35:22] local.INFO: IMEI packet received {"connection_id":90225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":90225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:35:27] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:35:27] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:35:27] local.INFO: IMEI packet received {"connection_id":90225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":90225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:35:28] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:35:28] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:35:28] local.INFO: Packet analysis {"connection_id":90225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:28] local.INFO: Extracted packet for processing {"connection_id":90225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:35:28] 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-06-02 23:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:35:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:35:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":90225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:35:28] local.INFO: GPS data processed {"connection_id":90225,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:35:28] local.INFO: Acknowledgment sent {"connection_id":90225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:35:41] local.INFO: TCP Data received {"connection_id":89948,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:35:41] local.INFO: Processing buffer {"connection_id":89948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:35:41] local.INFO: Packet analysis {"connection_id":89948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:41] local.INFO: Extracted packet for processing {"connection_id":89948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:35:41] 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-06-02 23:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:35:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":89948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:35:41] local.INFO: GPS data processed {"connection_id":89948,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:35:41] local.INFO: Acknowledgment sent {"connection_id":89948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:35:59] local.INFO: TCP Data received {"connection_id":90225,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:35:59] local.INFO: Processing buffer {"connection_id":90225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:35:59] local.INFO: Packet analysis {"connection_id":90225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:59] local.INFO: Extracted packet for processing {"connection_id":90225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:35:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:35:59] 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-06-02 23:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:35:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":90225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:35:59] local.INFO: GPS data processed {"connection_id":90225,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:35:59] local.INFO: Acknowledgment sent {"connection_id":90225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:36:04] local.INFO: TCP Data received {"connection_id":89949,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:36:04] local.INFO: Processing buffer {"connection_id":89949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:36:04] local.INFO: IMEI packet received {"connection_id":89949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":89949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:36:09] local.INFO: TCP Data received {"connection_id":89949,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:36:09] local.INFO: Processing buffer {"connection_id":89949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:36:09] local.INFO: IMEI packet received {"connection_id":89949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":89949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:36:10] local.INFO: TCP Data received {"connection_id":89949,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:36:10] local.INFO: Processing buffer {"connection_id":89949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:36:10] local.INFO: Packet analysis {"connection_id":89949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:36:10] local.INFO: Extracted packet for processing {"connection_id":89949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:36:10] 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-06-02 23:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:36:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":89949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:36:10] local.INFO: GPS data processed {"connection_id":89949,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:36:10] local.INFO: Acknowledgment sent {"connection_id":89949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:36:22] local.INFO: TCP Data received {"connection_id":91373,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:36:22] local.INFO: Processing buffer {"connection_id":91373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:36:22] local.INFO: IMEI packet received {"connection_id":91373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":91373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:36:27] local.INFO: TCP Data received {"connection_id":91373,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:36:27] local.INFO: Processing buffer {"connection_id":91373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:36:27] local.INFO: IMEI packet received {"connection_id":91373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":91373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:36:28] local.INFO: TCP Data received {"connection_id":91373,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:36:28] local.INFO: Processing buffer {"connection_id":91373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:36:28] local.INFO: Packet analysis {"connection_id":91373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:36:28] local.INFO: Extracted packet for processing {"connection_id":91373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:36:28] 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-06-02 23:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:36:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":91373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:36:28] local.INFO: GPS data processed {"connection_id":91373,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:36:28] local.INFO: Acknowledgment sent {"connection_id":91373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:36:41] local.INFO: TCP Data received {"connection_id":89949,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:36:41] local.INFO: Processing buffer {"connection_id":89949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:36:41] local.INFO: Packet analysis {"connection_id":89949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:36:41] local.INFO: Extracted packet for processing {"connection_id":89949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:36:41] 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-06-02 23:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:36:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":89949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:36:41] local.INFO: GPS data processed {"connection_id":89949,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:36:41] local.INFO: Acknowledgment sent {"connection_id":89949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:37:00] local.INFO: TCP Data received {"connection_id":91373,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:37:00] local.INFO: Processing buffer {"connection_id":91373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897f8fb8012cb29ac007823b18004e00b827..."} 
[2026-06-02 23:37:00] local.INFO: Packet analysis {"connection_id":91373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:37:00] local.INFO: Extracted packet for processing {"connection_id":91373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:37:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788286464001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780423299000,"timestamp_ms":1780423299000,"timestamp_seconds":1780423299,"priority":1,"record_length":96,"hex_timestamp":"0000019e897f8fb8"} 
[2026-06-02 23:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:37: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-06-02 23:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788286464001,"66":25538,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788286464001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:37:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788286464001,"power":25538,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":91373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:37:00] local.INFO: GPS data processed {"connection_id":91373,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:37:00] local.INFO: Acknowledgment sent {"connection_id":91373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:37:04] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:37:04] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:37:04] local.INFO: IMEI packet received {"connection_id":90226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":90226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:37:09] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:37:09] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:37:09] local.INFO: IMEI packet received {"connection_id":90226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":90226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:37:10] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:37:10] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e897fed78012d196500071ff0580046014624..."} 
[2026-06-02 23:37:10] local.INFO: Packet analysis {"connection_id":90226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:37:10] local.INFO: Extracted packet for processing {"connection_id":90226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e897f"} 
[2026-06-02 23:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788293376001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423323000,"timestamp_ms":1780423323000,"timestamp_seconds":1780423323,"priority":1,"record_length":96,"hex_timestamp":"0000019e897fed78"} 
[2026-06-02 23:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788293376001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788293376001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:37:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788293376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":90226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:37:10] local.INFO: GPS data processed {"connection_id":90226,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:37:10] local.INFO: Acknowledgment sent {"connection_id":90226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:37:12] local.INFO: TCP Data received {"connection_id":89950,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:37:12] local.INFO: Processing buffer {"connection_id":89950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:37:12] local.INFO: IMEI packet received {"connection_id":89950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":89950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:37:27] local.INFO: TCP Data received {"connection_id":90312,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:37:27] local.INFO: Processing buffer {"connection_id":90312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:37:27] local.INFO: IMEI packet received {"connection_id":90312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":90312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:37:32] local.INFO: TCP Data received {"connection_id":90312,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:37:32] local.INFO: Processing buffer {"connection_id":90312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:37:32] local.INFO: IMEI packet received {"connection_id":90312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":90312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:37:33] local.INFO: TCP Data received {"connection_id":90312,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:37:33] local.INFO: Processing buffer {"connection_id":90312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:37:33] local.INFO: Packet analysis {"connection_id":90312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:37:33] local.INFO: Extracted packet for processing {"connection_id":90312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:37:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:37:33] 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-06-02 23:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:37:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:37:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":90312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:37:33] local.INFO: GPS data processed {"connection_id":90312,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:37:33] local.INFO: Acknowledgment sent {"connection_id":90312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:37:41] local.INFO: TCP Data received {"connection_id":90226,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:37:41] local.INFO: Processing buffer {"connection_id":90226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:37:41] local.INFO: Packet analysis {"connection_id":90226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:37:41] local.INFO: Extracted packet for processing {"connection_id":90226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:37:41] 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-06-02 23:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":90226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:37:41] local.INFO: GPS data processed {"connection_id":90226,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:37:41] local.INFO: Acknowledgment sent {"connection_id":90226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:37:57] local.INFO: TCP Data received {"connection_id":89951,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:37:57] local.INFO: Processing buffer {"connection_id":89951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:37:57] local.INFO: IMEI packet received {"connection_id":89951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":89951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:38:04] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:38:04] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:38:04] local.INFO: IMEI packet received {"connection_id":90227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":90227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:38:05] local.INFO: TCP Data received {"connection_id":90312,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:05] local.INFO: Processing buffer {"connection_id":90312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:05] local.INFO: Packet analysis {"connection_id":90312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:05] local.INFO: Extracted packet for processing {"connection_id":90312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":90312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":90312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":90312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:38:05] 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-06-02 23:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:38:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":90312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:38:05] local.INFO: GPS data processed {"connection_id":90312,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:38:05] local.INFO: Acknowledgment sent {"connection_id":90312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:38:09] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:38:09] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:38:09] local.INFO: IMEI packet received {"connection_id":90227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":90227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:38:10] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:38:10] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:38:10] local.INFO: Packet analysis {"connection_id":90227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:10] local.INFO: Extracted packet for processing {"connection_id":90227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:38:10] 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-06-02 23:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:38:10] 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-06-02 23:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:38:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":90227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:38:10] local.INFO: GPS data processed {"connection_id":90227,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:38:10] local.INFO: Acknowledgment sent {"connection_id":90227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:38:22] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:38:22] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:38:22] local.INFO: IMEI packet received {"connection_id":89952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":89952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:38:27] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:38:27] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:38:27] local.INFO: IMEI packet received {"connection_id":89952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":89952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:38:28] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:28] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:28] local.INFO: Packet analysis {"connection_id":89952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:28] local.INFO: Extracted packet for processing {"connection_id":89952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:38: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-06-02 23:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:38:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:38:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":89952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:38:28] local.INFO: GPS data processed {"connection_id":89952,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:38:28] local.INFO: Acknowledgment sent {"connection_id":89952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:38:41] local.INFO: TCP Data received {"connection_id":90227,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:38:41] local.INFO: Processing buffer {"connection_id":90227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:38:41] local.INFO: Packet analysis {"connection_id":90227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:41] local.INFO: Extracted packet for processing {"connection_id":90227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:38:41] 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-06-02 23:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:38:41] 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-06-02 23:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:38:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":90227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:38:41] local.INFO: GPS data processed {"connection_id":90227,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:38:41] local.INFO: Acknowledgment sent {"connection_id":90227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:38:59] local.INFO: TCP Data received {"connection_id":89952,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:59] local.INFO: Processing buffer {"connection_id":89952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:38:59] local.INFO: Packet analysis {"connection_id":89952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:59] local.INFO: Extracted packet for processing {"connection_id":89952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:38:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 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-06-02 23:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 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-06-02 23:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 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-06-02 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-06-02 23:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 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-06-02 23:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:38:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:38:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":89952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:39:00] local.INFO: GPS data processed {"connection_id":89952,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:39:00] local.INFO: Acknowledgment sent {"connection_id":89952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:39:09] local.INFO: TCP Data received {"connection_id":91374,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:39:09] local.INFO: Processing buffer {"connection_id":91374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:39:09] local.INFO: IMEI packet received {"connection_id":91374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":91374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:39:14] local.INFO: TCP Data received {"connection_id":91374,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:39:14] local.INFO: Processing buffer {"connection_id":91374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:39:14] local.INFO: IMEI packet received {"connection_id":91374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":91374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:39:15] local.INFO: TCP Data received {"connection_id":91374,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:39:15] local.INFO: Processing buffer {"connection_id":91374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:39:15] local.INFO: Packet analysis {"connection_id":91374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:15] local.INFO: Extracted packet for processing {"connection_id":91374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:39:15] 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-06-02 23:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":91374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":91374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":91374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:39:15] 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-06-02 23:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":91374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:39:15] local.INFO: GPS data processed {"connection_id":91374,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:39:15] local.INFO: Acknowledgment sent {"connection_id":91374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:39:19] local.INFO: TCP Data received {"connection_id":91374,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:39:19] local.INFO: Processing buffer {"connection_id":91374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:39:19] local.INFO: Packet analysis {"connection_id":91374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:19] local.INFO: Extracted packet for processing {"connection_id":91374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39: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-06-02 23:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:39:19] 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-06-02 23:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:39: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-06-02 23:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":91374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":91374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":91374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:39:19] 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-06-02 23:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:39:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":91374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:39:19] local.INFO: GPS data processed {"connection_id":91374,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:39:19] local.INFO: Acknowledgment sent {"connection_id":91374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:39:22] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:39:22] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:39:22] local.INFO: IMEI packet received {"connection_id":90228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":90228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:39:27] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:39:27] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:39:27] local.INFO: IMEI packet received {"connection_id":90228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":90228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:39:28] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:39:28] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:39:28] local.INFO: Packet analysis {"connection_id":90228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:28] local.INFO: Extracted packet for processing {"connection_id":90228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:39:28] 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-06-02 23:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:39:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":90228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:39:28] local.INFO: GPS data processed {"connection_id":90228,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:39:28] local.INFO: Acknowledgment sent {"connection_id":90228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:39:59] local.INFO: TCP Data received {"connection_id":90228,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:39:59] local.INFO: Processing buffer {"connection_id":90228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:39:59] local.INFO: Packet analysis {"connection_id":90228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:59] local.INFO: Extracted packet for processing {"connection_id":90228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:39:59] 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-06-02 23:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:39:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:39:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":90228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:39:59] local.INFO: GPS data processed {"connection_id":90228,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:39:59] local.INFO: Acknowledgment sent {"connection_id":90228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:40:04] local.INFO: TCP Data received {"connection_id":89954,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:40:04] local.INFO: Processing buffer {"connection_id":89954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:40:04] local.INFO: IMEI packet received {"connection_id":89954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":89954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:40:09] local.INFO: TCP Data received {"connection_id":89954,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:40:09] local.INFO: Processing buffer {"connection_id":89954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:40:09] local.INFO: IMEI packet received {"connection_id":89954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":89954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:40:10] local.INFO: TCP Data received {"connection_id":89954,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:40:10] local.INFO: Processing buffer {"connection_id":89954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:40:10] local.INFO: Packet analysis {"connection_id":89954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:40:10] local.INFO: Extracted packet for processing {"connection_id":89954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:40:10] 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-06-02 23:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":89954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":89954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":89954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:40:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":89954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:40:10] local.INFO: GPS data processed {"connection_id":89954,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:40:10] local.INFO: Acknowledgment sent {"connection_id":89954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:40:22] local.INFO: TCP Data received {"connection_id":91376,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:40:22] local.INFO: Processing buffer {"connection_id":91376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:40:22] local.INFO: IMEI packet received {"connection_id":91376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":91376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:40:27] local.INFO: TCP Data received {"connection_id":91376,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:40:27] local.INFO: Processing buffer {"connection_id":91376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:40:27] local.INFO: IMEI packet received {"connection_id":91376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":91376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:40:28] local.INFO: TCP Data received {"connection_id":91376,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:40:28] local.INFO: Processing buffer {"connection_id":91376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:40:28] local.INFO: Packet analysis {"connection_id":91376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:40:28] local.INFO: Extracted packet for processing {"connection_id":91376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:40:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:40:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:40:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":91376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:40:28] local.INFO: GPS data processed {"connection_id":91376,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:40:28] local.INFO: Acknowledgment sent {"connection_id":91376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:40:41] local.INFO: TCP Data received {"connection_id":89954,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:40:41] local.INFO: Processing buffer {"connection_id":89954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:40:41] local.INFO: Packet analysis {"connection_id":89954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:40:41] local.INFO: Extracted packet for processing {"connection_id":89954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:40:41] 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-06-02 23:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":89954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":89954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":89954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:40:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":89954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:40:41] local.INFO: GPS data processed {"connection_id":89954,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:40:41] local.INFO: Acknowledgment sent {"connection_id":89954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:41:02] local.INFO: TCP Data received {"connection_id":91376,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:02] local.INFO: Processing buffer {"connection_id":91376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:02] local.INFO: Packet analysis {"connection_id":91376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:02] local.INFO: Extracted packet for processing {"connection_id":91376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:41:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":91376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:41:02] local.INFO: GPS data processed {"connection_id":91376,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:41:02] local.INFO: Acknowledgment sent {"connection_id":91376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:41:04] local.INFO: TCP Data received {"connection_id":91377,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:41:04] local.INFO: Processing buffer {"connection_id":91377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:41:04] local.INFO: IMEI packet received {"connection_id":91377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":91377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:41:09] local.INFO: TCP Data received {"connection_id":91377,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:41:09] local.INFO: Processing buffer {"connection_id":91377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:41:09] local.INFO: IMEI packet received {"connection_id":91377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":91377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:41:10] local.INFO: TCP Data received {"connection_id":91377,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:41:10] local.INFO: Processing buffer {"connection_id":91377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:41:10] local.INFO: Packet analysis {"connection_id":91377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:10] local.INFO: Extracted packet for processing {"connection_id":91377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:41:10] 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-06-02 23:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:41:10] 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-06-02 23:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:41:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":91377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:41:10] local.INFO: GPS data processed {"connection_id":91377,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:41:10] local.INFO: Acknowledgment sent {"connection_id":91377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:41:22] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:41:22] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:41:22] local.INFO: IMEI packet received {"connection_id":89955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":89955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:41:27] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:41:27] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:41:27] local.INFO: IMEI packet received {"connection_id":89955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":89955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:41:28] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:28] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:28] local.INFO: Packet analysis {"connection_id":89955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:28] local.INFO: Extracted packet for processing {"connection_id":89955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:41:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":89955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:41:28] local.INFO: GPS data processed {"connection_id":89955,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:41:28] local.INFO: Acknowledgment sent {"connection_id":89955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:41:41] local.INFO: TCP Data received {"connection_id":91377,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:41:41] local.INFO: Processing buffer {"connection_id":91377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:41:41] local.INFO: Packet analysis {"connection_id":91377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:41] local.INFO: Extracted packet for processing {"connection_id":91377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:41:41] 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-06-02 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":91377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":91377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":91377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:41:41] 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-06-02 23:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:41:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":91377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:41:41] local.INFO: GPS data processed {"connection_id":91377,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:41:41] local.INFO: Acknowledgment sent {"connection_id":91377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:41:59] local.INFO: TCP Data received {"connection_id":89955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:59] local.INFO: Processing buffer {"connection_id":89955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89842b68012cb29ac007823b18004e00b828..."} 
[2026-06-02 23:41:59] local.INFO: Packet analysis {"connection_id":89955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:59] local.INFO: Extracted packet for processing {"connection_id":89955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:41:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":78,"angle":184,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788364544001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423601000,"timestamp_ms":1780423601000,"timestamp_seconds":1780423601,"priority":1,"record_length":96,"hex_timestamp":"0000019e89842b68"} 
[2026-06-02 23:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-02 23:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:41: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-06-02 23:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788364544001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788364544001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:41:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788364544001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":89955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:41:59] local.INFO: GPS data processed {"connection_id":89955,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:41:59] local.INFO: Acknowledgment sent {"connection_id":89955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:42:04] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:42:04] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:42:04] local.INFO: IMEI packet received {"connection_id":90230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":90230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:42:09] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:42:09] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:42:09] local.INFO: IMEI packet received {"connection_id":90230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":90230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:42:10] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:42:10] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898490f8012d196500071ff0580046014626..."} 
[2026-06-02 23:42:10] local.INFO: Packet analysis {"connection_id":90230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:42:10] local.INFO: Extracted packet for processing {"connection_id":90230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8984"} 
[2026-06-02 23:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788370688001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423627000,"timestamp_ms":1780423627000,"timestamp_seconds":1780423627,"priority":1,"record_length":96,"hex_timestamp":"0000019e898490f8"} 
[2026-06-02 23:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:42:10] 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-06-02 23:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-02 23:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:42:10] 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-06-02 23:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788370688001,"66":2155,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788370688001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:42:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788370688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":90230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:42:10] local.INFO: GPS data processed {"connection_id":90230,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:42:10] local.INFO: Acknowledgment sent {"connection_id":90230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:42:27] local.INFO: TCP Data received {"connection_id":91379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:42:27] local.INFO: Processing buffer {"connection_id":91379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:42:27] local.INFO: IMEI packet received {"connection_id":91379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":91379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:42:32] local.INFO: TCP Data received {"connection_id":91379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:42:32] local.INFO: Processing buffer {"connection_id":91379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:42:32] local.INFO: IMEI packet received {"connection_id":91379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":91379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:42:33] local.INFO: TCP Data received {"connection_id":91379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:42:33] local.INFO: Processing buffer {"connection_id":91379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:42:33] local.INFO: Packet analysis {"connection_id":91379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:42:33] local.INFO: Extracted packet for processing {"connection_id":91379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:42:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":91379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":91379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":91379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:42:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:42:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":91379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:42:33] local.INFO: GPS data processed {"connection_id":91379,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:42:33] local.INFO: Acknowledgment sent {"connection_id":91379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:42:37] local.INFO: TCP Data received {"connection_id":91379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:42:37] local.INFO: Processing buffer {"connection_id":91379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:42:37] local.INFO: Packet analysis {"connection_id":91379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:42:37] local.INFO: Extracted packet for processing {"connection_id":91379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:42: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-06-02 23:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":91379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":91379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":91379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:42:37] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":91379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:42:37] local.INFO: GPS data processed {"connection_id":91379,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:42:37] local.INFO: Acknowledgment sent {"connection_id":91379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:42:41] local.INFO: TCP Data received {"connection_id":90230,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:42:41] local.INFO: Processing buffer {"connection_id":90230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:42:41] local.INFO: Packet analysis {"connection_id":90230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:42:41] local.INFO: Extracted packet for processing {"connection_id":90230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:42:41] 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-06-02 23:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:42:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":90230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:42:41] local.INFO: GPS data processed {"connection_id":90230,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:42:41] local.INFO: Acknowledgment sent {"connection_id":90230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:42:58] local.INFO: TCP Data received {"connection_id":89956,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:42:58] local.INFO: Processing buffer {"connection_id":89956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:42:58] local.INFO: IMEI packet received {"connection_id":89956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":89956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:43:04] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:43:04] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:43:04] local.INFO: IMEI packet received {"connection_id":90231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":90231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:43:09] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:43:09] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:43:09] local.INFO: IMEI packet received {"connection_id":90231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":90231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:43:10] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:43:10] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:43:10] local.INFO: Packet analysis {"connection_id":90231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:43:10] local.INFO: Extracted packet for processing {"connection_id":90231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:43:10] 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-06-02 23:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:43:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":90231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:43:10] local.INFO: GPS data processed {"connection_id":90231,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:43:10] local.INFO: Acknowledgment sent {"connection_id":90231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:43:22] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:43:22] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:43:22] local.INFO: IMEI packet received {"connection_id":89957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":89957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:43:27] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:43:27] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:43:27] local.INFO: IMEI packet received {"connection_id":89957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":89957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:43:28] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:43:28] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:43:28] local.INFO: Packet analysis {"connection_id":89957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:43:28] local.INFO: Extracted packet for processing {"connection_id":89957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:43:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:43: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-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:43:28] 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-06-02 23:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:43:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:43:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":89957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:43:28] local.INFO: GPS data processed {"connection_id":89957,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:43:28] local.INFO: Acknowledgment sent {"connection_id":89957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:43:41] local.INFO: TCP Data received {"connection_id":90231,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:43:41] local.INFO: Processing buffer {"connection_id":90231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:43:41] local.INFO: Packet analysis {"connection_id":90231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:43:41] local.INFO: Extracted packet for processing {"connection_id":90231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:43:41] 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-06-02 23:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":90231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:43:41] local.INFO: GPS data processed {"connection_id":90231,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:43:41] local.INFO: Acknowledgment sent {"connection_id":90231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:43:59] local.INFO: TCP Data received {"connection_id":89957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:43:59] local.INFO: Processing buffer {"connection_id":89957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:43:59] local.INFO: Packet analysis {"connection_id":89957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:43:59] local.INFO: Extracted packet for processing {"connection_id":89957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:43:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:43: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-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:43:59] 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-06-02 23:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:43:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:43:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":89957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:43:59] local.INFO: GPS data processed {"connection_id":89957,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:43:59] local.INFO: Acknowledgment sent {"connection_id":89957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:44:04] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:44:04] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:44:04] local.INFO: IMEI packet received {"connection_id":90232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":90232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:44:09] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:44:09] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:44:09] local.INFO: IMEI packet received {"connection_id":90232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":90232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:44:10] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:44:10] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:44:10] local.INFO: Packet analysis {"connection_id":90232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:44:10] local.INFO: Extracted packet for processing {"connection_id":90232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:44:10] 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-06-02 23:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:44:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":90232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:44:10] local.INFO: GPS data processed {"connection_id":90232,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:44:10] local.INFO: Acknowledgment sent {"connection_id":90232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:44:22] local.INFO: TCP Data received {"connection_id":91380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:44:22] local.INFO: Processing buffer {"connection_id":91380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:44:22] local.INFO: IMEI packet received {"connection_id":91380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":91380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:44:27] local.INFO: TCP Data received {"connection_id":91380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:44:27] local.INFO: Processing buffer {"connection_id":91380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:44:27] local.INFO: IMEI packet received {"connection_id":91380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":91380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:44:28] local.INFO: TCP Data received {"connection_id":91380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:44:28] local.INFO: Processing buffer {"connection_id":91380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:44:28] local.INFO: Packet analysis {"connection_id":91380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:44:28] local.INFO: Extracted packet for processing {"connection_id":91380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:44:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:44: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-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:44:28] 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-06-02 23:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:44:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":91380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:44:28] local.INFO: GPS data processed {"connection_id":91380,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:44:28] local.INFO: Acknowledgment sent {"connection_id":91380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:44:41] local.INFO: TCP Data received {"connection_id":90232,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:44:41] local.INFO: Processing buffer {"connection_id":90232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:44:41] local.INFO: Packet analysis {"connection_id":90232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:44:41] local.INFO: Extracted packet for processing {"connection_id":90232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:44:41] 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-06-02 23:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:44:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":90232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:44:41] local.INFO: GPS data processed {"connection_id":90232,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:44:41] local.INFO: Acknowledgment sent {"connection_id":90232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:44:59] local.INFO: TCP Data received {"connection_id":91380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:44:59] local.INFO: Processing buffer {"connection_id":91380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:44:59] local.INFO: Packet analysis {"connection_id":91380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:44:59] local.INFO: Extracted packet for processing {"connection_id":91380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:44:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:44: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-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:44:59] 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-06-02 23:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:44:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":91380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:44:59] local.INFO: GPS data processed {"connection_id":91380,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:44:59] local.INFO: Acknowledgment sent {"connection_id":91380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:45:04] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:45:04] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:45:04] local.INFO: IMEI packet received {"connection_id":90233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":90233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:45:09] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:45:09] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:45:09] local.INFO: IMEI packet received {"connection_id":90233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":90233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:45:10] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:45:10] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:45:10] local.INFO: Packet analysis {"connection_id":90233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:45:10] local.INFO: Extracted packet for processing {"connection_id":90233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:45:10] 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-06-02 23:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:45:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":90233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:45:10] local.INFO: GPS data processed {"connection_id":90233,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:45:10] local.INFO: Acknowledgment sent {"connection_id":90233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:45:22] local.INFO: TCP Data received {"connection_id":90313,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:45:22] local.INFO: Processing buffer {"connection_id":90313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:45:22] local.INFO: IMEI packet received {"connection_id":90313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":90313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:45:27] local.INFO: TCP Data received {"connection_id":90313,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:45:27] local.INFO: Processing buffer {"connection_id":90313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:45:27] local.INFO: IMEI packet received {"connection_id":90313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":90313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:45:28] local.INFO: TCP Data received {"connection_id":90313,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:45:28] local.INFO: Processing buffer {"connection_id":90313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:45:28] local.INFO: Packet analysis {"connection_id":90313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:45:28] local.INFO: Extracted packet for processing {"connection_id":90313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:45:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:45: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-06-02 23:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:45:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:45:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":90313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:45:28] local.INFO: GPS data processed {"connection_id":90313,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:45:28] local.INFO: Acknowledgment sent {"connection_id":90313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:45:41] local.INFO: TCP Data received {"connection_id":90233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:45:41] local.INFO: Processing buffer {"connection_id":90233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:45:41] local.INFO: Packet analysis {"connection_id":90233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:45:41] local.INFO: Extracted packet for processing {"connection_id":90233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:45:41] 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-06-02 23:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"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-06-02 23:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":90233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:45:41] local.INFO: GPS data processed {"connection_id":90233,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:45:41] local.INFO: Acknowledgment sent {"connection_id":90233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:45:59] local.INFO: TCP Data received {"connection_id":90313,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:45:59] local.INFO: Processing buffer {"connection_id":90313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:45:59] local.INFO: Packet analysis {"connection_id":90313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:45:59] local.INFO: Extracted packet for processing {"connection_id":90313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:45:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:45: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-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:45:59] 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-06-02 23:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:45:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:45:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":90313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:45:59] local.INFO: GPS data processed {"connection_id":90313,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:45:59] local.INFO: Acknowledgment sent {"connection_id":90313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:46:04] local.INFO: TCP Data received {"connection_id":90315,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:46:04] local.INFO: Processing buffer {"connection_id":90315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:46:04] local.INFO: IMEI packet received {"connection_id":90315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":90315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:46:09] local.INFO: TCP Data received {"connection_id":90315,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:46:09] local.INFO: Processing buffer {"connection_id":90315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:46:09] local.INFO: IMEI packet received {"connection_id":90315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":90315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:46:10] local.INFO: TCP Data received {"connection_id":90315,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:46:10] local.INFO: Processing buffer {"connection_id":90315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:46:10] local.INFO: Packet analysis {"connection_id":90315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:46:10] local.INFO: Extracted packet for processing {"connection_id":90315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":90315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":90315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":90315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:46:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":90315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:46:10] local.INFO: GPS data processed {"connection_id":90315,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:46:10] local.INFO: Acknowledgment sent {"connection_id":90315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:46:22] local.INFO: TCP Data received {"connection_id":91381,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:46:22] local.INFO: Processing buffer {"connection_id":91381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:46:22] local.INFO: IMEI packet received {"connection_id":91381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":91381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:46:27] local.INFO: TCP Data received {"connection_id":91381,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:46:27] local.INFO: Processing buffer {"connection_id":91381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:46:27] local.INFO: IMEI packet received {"connection_id":91381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":91381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:46:28] local.INFO: TCP Data received {"connection_id":91381,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:46:28] local.INFO: Processing buffer {"connection_id":91381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:46:28] local.INFO: Packet analysis {"connection_id":91381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:46:28] local.INFO: Extracted packet for processing {"connection_id":91381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:46:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:46: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-06-02 23:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:46:28] 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-06-02 23:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:46:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:46:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":91381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:46:28] local.INFO: GPS data processed {"connection_id":91381,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:46:28] local.INFO: Acknowledgment sent {"connection_id":91381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:46:41] local.INFO: TCP Data received {"connection_id":90315,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:46:41] local.INFO: Processing buffer {"connection_id":90315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:46:41] local.INFO: Packet analysis {"connection_id":90315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:46:41] local.INFO: Extracted packet for processing {"connection_id":90315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":90315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":90315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":90315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:46:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":90315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:46:41] local.INFO: GPS data processed {"connection_id":90315,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:46:41] local.INFO: Acknowledgment sent {"connection_id":90315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:47:00] local.INFO: TCP Data received {"connection_id":91381,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:47:00] local.INFO: Processing buffer {"connection_id":91381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8988bf48012cb29ac007823b18004800b829..."} 
[2026-06-02 23:47:00] local.INFO: Packet analysis {"connection_id":91381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:47:00] local.INFO: Extracted packet for processing {"connection_id":91381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8988"} 
[2026-06-02 23:47:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788441856001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1780423901000,"timestamp_ms":1780423901000,"timestamp_seconds":1780423901,"priority":1,"record_length":96,"hex_timestamp":"0000019e8988bf48"} 
[2026-06-02 23:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":91381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":91381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":91381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:47: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-06-02 23:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788441856001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788441856001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:47:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788441856001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":91381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:47:00] local.INFO: GPS data processed {"connection_id":91381,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:47:00] local.INFO: Acknowledgment sent {"connection_id":91381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:47:04] local.INFO: TCP Data received {"connection_id":91383,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:47:04] local.INFO: Processing buffer {"connection_id":91383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:47:04] local.INFO: IMEI packet received {"connection_id":91383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-02 23:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":91383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:47:09] local.INFO: TCP Data received {"connection_id":91383,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:47:09] local.INFO: Processing buffer {"connection_id":91383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-02 23:47:09] local.INFO: IMEI packet received {"connection_id":91383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-02 23:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":91383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:47:10] local.INFO: TCP Data received {"connection_id":91383,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:47:10] local.INFO: Processing buffer {"connection_id":91383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89893478012d196500071ff0580046014627..."} 
[2026-06-02 23:47:10] local.INFO: Packet analysis {"connection_id":91383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:47:10] local.INFO: Extracted packet for processing {"connection_id":91383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8989"} 
[2026-06-02 23:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533656,"longitude_deg":75.6638976,"latitude_deg":11.9533656,"altitude":70,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-02 23:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788448512001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125460019100516352,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196590592,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1780423931000,"timestamp_ms":1780423931000,"timestamp_seconds":1780423931,"priority":1,"record_length":96,"hex_timestamp":"0000019e89893478"} 
[2026-06-02 23:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-02 23:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":91383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":91383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":91383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-02 23:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-02 23:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-02 23:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788448512001,"66":2166,"102":206,"83":41984,"24":0,"16":125460019100516352,"45":1829868854196590592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-02 23:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-02 23:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-02 23:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788448512001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:47:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-02 23:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-02 23:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125460019100516352,"km_value":125460019100516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196590592,"description":"Unknown IO ID 45"} 
[2026-06-02 23:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788448512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196590592}} 
[2026-06-02 23:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":91383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:47:10] local.INFO: GPS data processed {"connection_id":91383,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:47:10] local.INFO: Acknowledgment sent {"connection_id":91383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:47:22] local.INFO: TCP Data received {"connection_id":90316,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:47:22] local.INFO: Processing buffer {"connection_id":90316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:47:22] local.INFO: IMEI packet received {"connection_id":90316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":90316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:47:27] local.INFO: TCP Data received {"connection_id":90316,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:47:27] local.INFO: Processing buffer {"connection_id":90316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:47:27] local.INFO: IMEI packet received {"connection_id":90316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":90316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:47:28] local.INFO: TCP Data received {"connection_id":90316,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:47:28] local.INFO: Processing buffer {"connection_id":90316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:47:28] local.INFO: Packet analysis {"connection_id":90316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:47:28] local.INFO: Extracted packet for processing {"connection_id":90316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:47:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:47: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-06-02 23:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:47:28] 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-06-02 23:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:47:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:47:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":90316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:47:28] local.INFO: GPS data processed {"connection_id":90316,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:47:28] local.INFO: Acknowledgment sent {"connection_id":90316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:47:59] local.INFO: TCP Data received {"connection_id":90316,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:47:59] local.INFO: Processing buffer {"connection_id":90316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:47:59] local.INFO: Packet analysis {"connection_id":90316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:47:59] local.INFO: Extracted packet for processing {"connection_id":90316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:47:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:47: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-06-02 23:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:47: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-06-02 23:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:47: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-06-02 23:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:47: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-06-02 23:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:47:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:47:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":90316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:47:59] local.INFO: GPS data processed {"connection_id":90316,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:47:59] local.INFO: Acknowledgment sent {"connection_id":90316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:48:22] local.INFO: TCP Data received {"connection_id":90234,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:48:22] local.INFO: Processing buffer {"connection_id":90234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:48:22] local.INFO: IMEI packet received {"connection_id":90234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":90234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:48:22] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:48:22] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:48:22] local.INFO: IMEI packet received {"connection_id":90235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":90235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:48:27] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:48:27] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:48:27] local.INFO: IMEI packet received {"connection_id":90235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":90235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:48:28] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:48:28] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:48:28] local.INFO: Packet analysis {"connection_id":90235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:48:28] local.INFO: Extracted packet for processing {"connection_id":90235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:48:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:48: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-06-02 23:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:48:28] 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-06-02 23:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:48:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":90235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:48:28] local.INFO: GPS data processed {"connection_id":90235,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:48:28] local.INFO: Acknowledgment sent {"connection_id":90235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:48:57] local.INFO: TCP Data received {"connection_id":91384,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:48:57] local.INFO: Processing buffer {"connection_id":91384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:48:57] local.INFO: IMEI packet received {"connection_id":91384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":91384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:49:02] local.INFO: TCP Data received {"connection_id":90235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:49:02] local.INFO: Processing buffer {"connection_id":90235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:49:02] local.INFO: Packet analysis {"connection_id":90235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:49:02] local.INFO: Extracted packet for processing {"connection_id":90235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:49:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:49: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-06-02 23:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":90235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":90235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":90235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:49:02] 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-06-02 23:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:49:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":90235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:49:02] local.INFO: GPS data processed {"connection_id":90235,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:49:02] local.INFO: Acknowledgment sent {"connection_id":90235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:49:22] local.INFO: TCP Data received {"connection_id":91385,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:49:22] local.INFO: Processing buffer {"connection_id":91385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:49:22] local.INFO: IMEI packet received {"connection_id":91385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":91385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:49:27] local.INFO: TCP Data received {"connection_id":91385,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:49:27] local.INFO: Processing buffer {"connection_id":91385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:49:27] local.INFO: IMEI packet received {"connection_id":91385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":91385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:49:28] local.INFO: TCP Data received {"connection_id":91385,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:49:28] local.INFO: Processing buffer {"connection_id":91385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:49:28] local.INFO: Packet analysis {"connection_id":91385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:49:28] local.INFO: Extracted packet for processing {"connection_id":91385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:49:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:49:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:49: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-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:49:28] 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-06-02 23:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:49:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:49:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":91385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:49:28] local.INFO: GPS data processed {"connection_id":91385,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:49:28] local.INFO: Acknowledgment sent {"connection_id":91385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:50:02] local.INFO: TCP Data received {"connection_id":91385,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:02] local.INFO: Processing buffer {"connection_id":91385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:02] local.INFO: Packet analysis {"connection_id":91385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:50:02] local.INFO: Extracted packet for processing {"connection_id":91385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:50:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:50: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-06-02 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":91385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":91385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":91385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:50:02] 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-06-02 23:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:50:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":91385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:50:02] local.INFO: GPS data processed {"connection_id":91385,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:50:02] local.INFO: Acknowledgment sent {"connection_id":91385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:50:27] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:50:27] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:50:27] local.INFO: IMEI packet received {"connection_id":90237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":90237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:50:32] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:50:32] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:50:32] local.INFO: IMEI packet received {"connection_id":90237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":90237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:50:33] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:33] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:33] local.INFO: Packet analysis {"connection_id":90237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:50:33] local.INFO: Extracted packet for processing {"connection_id":90237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:50:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:50:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:50:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":90237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:50:33] local.INFO: GPS data processed {"connection_id":90237,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:50:33] local.INFO: Acknowledgment sent {"connection_id":90237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:50:38] local.INFO: TCP Data received {"connection_id":90237,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:38] local.INFO: Processing buffer {"connection_id":90237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:50:38] local.INFO: Packet analysis {"connection_id":90237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:50:38] local.INFO: Extracted packet for processing {"connection_id":90237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:50:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:50:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":90237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:50:38] local.INFO: GPS data processed {"connection_id":90237,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:50:38] local.INFO: Acknowledgment sent {"connection_id":90237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:51:22] local.INFO: TCP Data received {"connection_id":91387,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:51:22] local.INFO: Processing buffer {"connection_id":91387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:51:22] local.INFO: IMEI packet received {"connection_id":91387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":91387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:51:27] local.INFO: TCP Data received {"connection_id":91387,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:51:27] local.INFO: Processing buffer {"connection_id":91387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:51:27] local.INFO: IMEI packet received {"connection_id":91387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":91387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:51:28] local.INFO: TCP Data received {"connection_id":91387,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:51:28] local.INFO: Processing buffer {"connection_id":91387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:51:28] local.INFO: Packet analysis {"connection_id":91387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:51:28] local.INFO: Extracted packet for processing {"connection_id":91387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:51:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:51: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-06-02 23:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:51:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":91387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:51:28] local.INFO: GPS data processed {"connection_id":91387,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:51:28] local.INFO: Acknowledgment sent {"connection_id":91387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:51:59] local.INFO: TCP Data received {"connection_id":91387,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:51:59] local.INFO: Processing buffer {"connection_id":91387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e898d4b58012cb29ac007823b18004700b827..."} 
[2026-06-02 23:51:59] local.INFO: Packet analysis {"connection_id":91387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:51:59] local.INFO: Extracted packet for processing {"connection_id":91387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e898d"} 
[2026-06-02 23:51:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":71,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788518656001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424199000,"timestamp_ms":1780424199000,"timestamp_seconds":1780424199,"priority":1,"record_length":96,"hex_timestamp":"0000019e898d4b58"} 
[2026-06-02 23:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:51: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-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:51:59] 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-06-02 23:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788518656001,"66":25495,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788518656001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:51:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788518656001,"power":25495,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":91387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:51:59] local.INFO: GPS data processed {"connection_id":91387,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:51:59] local.INFO: Acknowledgment sent {"connection_id":91387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:52:23] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:52:23] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:52:23] local.INFO: IMEI packet received {"connection_id":90238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":90238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:52:28] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:52:28] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:52:28] local.INFO: IMEI packet received {"connection_id":90238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":90238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:52:28] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:52:28] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:52:28] local.INFO: Packet analysis {"connection_id":90238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:52:28] local.INFO: Extracted packet for processing {"connection_id":90238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:52:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:52:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:52:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:52:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":90238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:52:28] local.INFO: GPS data processed {"connection_id":90238,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:52:28] local.INFO: Acknowledgment sent {"connection_id":90238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:52:59] local.INFO: TCP Data received {"connection_id":90238,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:52:59] local.INFO: Processing buffer {"connection_id":90238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:52:59] local.INFO: Packet analysis {"connection_id":90238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:52:59] local.INFO: Extracted packet for processing {"connection_id":90238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:52:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:52:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:52:59] 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-06-02 23:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:52:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:52:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":90238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:52:59] local.INFO: GPS data processed {"connection_id":90238,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:52:59] local.INFO: Acknowledgment sent {"connection_id":90238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:53:22] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:53:22] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:53:22] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:53:27] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:53:27] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:53:27] local.INFO: IMEI packet received {"connection_id":89962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":89962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:53:28] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:53:28] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:53:28] local.INFO: Packet analysis {"connection_id":89962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:53:28] local.INFO: Extracted packet for processing {"connection_id":89962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":89962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:53:28] local.INFO: GPS data processed {"connection_id":89962,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:53:28] local.INFO: Acknowledgment sent {"connection_id":89962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:53:59] local.INFO: TCP Data received {"connection_id":89962,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:53:59] local.INFO: Processing buffer {"connection_id":89962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:53:59] local.INFO: Packet analysis {"connection_id":89962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:53:59] local.INFO: Extracted packet for processing {"connection_id":89962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:53: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-06-02 23:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:53: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-06-02 23:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":89962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":89962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:53:59] 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-06-02 23:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":89962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:53:59] local.INFO: GPS data processed {"connection_id":89962,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:53:59] local.INFO: Acknowledgment sent {"connection_id":89962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:54:22] local.INFO: TCP Data received {"connection_id":91388,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:54:22] local.INFO: Processing buffer {"connection_id":91388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:54:22] local.INFO: IMEI packet received {"connection_id":91388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":91388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:54:27] local.INFO: TCP Data received {"connection_id":90239,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:54:27] local.INFO: Processing buffer {"connection_id":90239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:54:27] local.INFO: IMEI packet received {"connection_id":90239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":90239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:54:27] local.INFO: TCP Data received {"connection_id":91388,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:54:27] local.INFO: Processing buffer {"connection_id":91388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:54:27] local.INFO: IMEI packet received {"connection_id":91388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":91388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:54:28] local.INFO: TCP Data received {"connection_id":91388,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:54:28] local.INFO: Processing buffer {"connection_id":91388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:54:28] local.INFO: Packet analysis {"connection_id":91388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:54:28] local.INFO: Extracted packet for processing {"connection_id":91388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:54:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:54:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:54:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:54:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":91388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:54:28] local.INFO: GPS data processed {"connection_id":91388,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:54:28] local.INFO: Acknowledgment sent {"connection_id":91388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:54:57] local.INFO: TCP Data received {"connection_id":89963,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:54:57] local.INFO: Processing buffer {"connection_id":89963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-02 23:54:57] local.INFO: IMEI packet received {"connection_id":89963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-02 23:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":89963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:54:59] local.INFO: TCP Data received {"connection_id":91388,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:54:59] local.INFO: Processing buffer {"connection_id":91388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:54:59] local.INFO: Packet analysis {"connection_id":91388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:54:59] local.INFO: Extracted packet for processing {"connection_id":91388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:54:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:54:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:54:59] 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-06-02 23:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:54:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:54:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":91388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:54:59] local.INFO: GPS data processed {"connection_id":91388,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:54:59] local.INFO: Acknowledgment sent {"connection_id":91388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:55:22] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:55:22] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:55:22] local.INFO: IMEI packet received {"connection_id":90240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":90240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:55:27] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:55:27] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:55:27] local.INFO: IMEI packet received {"connection_id":90240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":90240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:55:28] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:55:28] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:55:28] local.INFO: Packet analysis {"connection_id":90240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:55:28] local.INFO: Extracted packet for processing {"connection_id":90240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:55:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:55:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":90240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":90240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":90240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:55:28] 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-06-02 23:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:55:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:55:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":90240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:55:28] local.INFO: GPS data processed {"connection_id":90240,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:55:28] local.INFO: Acknowledgment sent {"connection_id":90240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:55:59] local.INFO: TCP Data received {"connection_id":90240,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:55:59] local.INFO: Processing buffer {"connection_id":90240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:55:59] local.INFO: Packet analysis {"connection_id":90240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:55:59] local.INFO: Extracted packet for processing {"connection_id":90240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":90240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":90240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":90240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:55:59] 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-06-02 23:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:55:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":90240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:55:59] local.INFO: GPS data processed {"connection_id":90240,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:55:59] local.INFO: Acknowledgment sent {"connection_id":90240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:56:27] local.INFO: TCP Data received {"connection_id":90317,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:56:27] local.INFO: Processing buffer {"connection_id":90317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:56:27] local.INFO: IMEI packet received {"connection_id":90317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":90317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:56:32] local.INFO: TCP Data received {"connection_id":90317,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:56:32] local.INFO: Processing buffer {"connection_id":90317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:56:32] local.INFO: IMEI packet received {"connection_id":90317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":90317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:56:33] local.INFO: TCP Data received {"connection_id":90317,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:56:33] local.INFO: Processing buffer {"connection_id":90317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:56:33] local.INFO: Packet analysis {"connection_id":90317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:56:33] local.INFO: Extracted packet for processing {"connection_id":90317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:56:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":90317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":90317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":90317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:56:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:56:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":90317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:56:33] local.INFO: GPS data processed {"connection_id":90317,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:56:33] local.INFO: Acknowledgment sent {"connection_id":90317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:56:38] local.INFO: TCP Data received {"connection_id":90317,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":90317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:56:38] local.INFO: Processing buffer {"connection_id":90317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e8991db50012cb29ac007823b18004b00b82a..."} 
[2026-06-02 23:56:38] local.INFO: Packet analysis {"connection_id":90317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:56:38] local.INFO: Extracted packet for processing {"connection_id":90317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8991"} 
[2026-06-02 23:56:38] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":75,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788594944001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:56:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1780424498000,"timestamp_ms":1780424498000,"timestamp_seconds":1780424498,"priority":1,"record_length":96,"hex_timestamp":"0000019e8991db50"} 
[2026-06-02 23:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-02 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-02 23:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":90317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":90317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":90317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788594944001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788594944001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:56:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:56:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788594944001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":90317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:56:38] local.INFO: GPS data processed {"connection_id":90317,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:56:38] local.INFO: Acknowledgment sent {"connection_id":90317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:57:22] local.INFO: TCP Data received {"connection_id":91389,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:57:22] local.INFO: Processing buffer {"connection_id":91389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:57:22] local.INFO: IMEI packet received {"connection_id":91389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":91389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:57:27] local.INFO: TCP Data received {"connection_id":91389,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:57:27] local.INFO: Processing buffer {"connection_id":91389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:57:27] local.INFO: IMEI packet received {"connection_id":91389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":91389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:57:28] local.INFO: TCP Data received {"connection_id":91389,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:57:28] local.INFO: Processing buffer {"connection_id":91389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:57:28] local.INFO: Packet analysis {"connection_id":91389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:57:28] local.INFO: Extracted packet for processing {"connection_id":91389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:57:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788671488001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:57:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424793000,"timestamp_ms":1780424793000,"timestamp_seconds":1780424793,"priority":1,"record_length":96,"hex_timestamp":"0000019e89965ba8"} 
[2026-06-02 23:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:57: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-06-02 23:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788671488001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788671488001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:57:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:57:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788671488001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":91389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:57:28] local.INFO: GPS data processed {"connection_id":91389,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:57:28] local.INFO: Acknowledgment sent {"connection_id":91389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:57:59] local.INFO: TCP Data received {"connection_id":91389,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:57:59] local.INFO: Processing buffer {"connection_id":91389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:57:59] local.INFO: Packet analysis {"connection_id":91389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:57:59] local.INFO: Extracted packet for processing {"connection_id":91389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:57:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788671488001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:57:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424793000,"timestamp_ms":1780424793000,"timestamp_seconds":1780424793,"priority":1,"record_length":96,"hex_timestamp":"0000019e89965ba8"} 
[2026-06-02 23:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:57: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-06-02 23:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:57: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-06-02 23:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788671488001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788671488001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:57:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:57:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788671488001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":91389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:57:59] local.INFO: GPS data processed {"connection_id":91389,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:57:59] local.INFO: Acknowledgment sent {"connection_id":91389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:58:22] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:58:22] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:58:22] local.INFO: IMEI packet received {"connection_id":89965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":89965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:58:27] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:58:27] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:58:27] local.INFO: IMEI packet received {"connection_id":89965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":89965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:58:28] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:58:28] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:58:28] local.INFO: Packet analysis {"connection_id":89965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:58:28] local.INFO: Extracted packet for processing {"connection_id":89965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788671488001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424793000,"timestamp_ms":1780424793000,"timestamp_seconds":1780424793,"priority":1,"record_length":96,"hex_timestamp":"0000019e89965ba8"} 
[2026-06-02 23:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:58: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-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":89965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788671488001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788671488001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:58:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788671488001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":89965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:58:28] local.INFO: GPS data processed {"connection_id":89965,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:58:28] local.INFO: Acknowledgment sent {"connection_id":89965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:59:02] local.INFO: TCP Data received {"connection_id":89965,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":89965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:02] local.INFO: Processing buffer {"connection_id":89965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:02] local.INFO: Packet analysis {"connection_id":89965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:59:02] local.INFO: Extracted packet for processing {"connection_id":89965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:59:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788671488001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1780424793000,"timestamp_ms":1780424793000,"timestamp_seconds":1780424793,"priority":1,"record_length":96,"hex_timestamp":"0000019e89965ba8"} 
[2026-06-02 23:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:59: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-06-02 23:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":89965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":89965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788671488001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788671488001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:59:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788671488001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":89965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:59:02] local.INFO: GPS data processed {"connection_id":89965,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:59:02] local.INFO: Acknowledgment sent {"connection_id":89965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:59:22] local.INFO: TCP Data received {"connection_id":91391,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:59:22] local.INFO: Processing buffer {"connection_id":91391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:59:22] local.INFO: IMEI packet received {"connection_id":91391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-02 23:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":91391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-02 23:59:27] local.INFO: TCP Data received {"connection_id":91391,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:59:27] local.INFO: Processing buffer {"connection_id":91391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-02 23:59:27] local.INFO: IMEI packet received {"connection_id":91391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-02 23:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":91391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-02 23:59:28] local.INFO: TCP Data received {"connection_id":91391,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:28] local.INFO: Processing buffer {"connection_id":91391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:28] local.INFO: Packet analysis {"connection_id":91391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:59:28] local.INFO: Extracted packet for processing {"connection_id":91391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:59:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23: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-06-02 23:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788671488001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1780424793000,"timestamp_ms":1780424793000,"timestamp_seconds":1780424793,"priority":1,"record_length":96,"hex_timestamp":"0000019e89965ba8"} 
[2026-06-02 23:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:59: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-06-02 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23: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-06-02 23:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":91391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":91391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":91391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-02 23:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788671488001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788671488001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:59:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:59:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788671488001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":91391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:59:28] local.INFO: GPS data processed {"connection_id":91391,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:59:28] local.INFO: Acknowledgment sent {"connection_id":91391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-02 23:59:59] local.INFO: TCP Data received {"connection_id":91391,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":91391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:59] local.INFO: Processing buffer {"connection_id":91391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e89965ba8012cb29ac007823b18004800b82a..."} 
[2026-06-02 23:59:59] local.INFO: Packet analysis {"connection_id":91391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:59:59] local.INFO: Extracted packet for processing {"connection_id":91391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e8996"} 
[2026-06-02 23:59:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975320,"longitude_deg":74.9902528,"latitude_deg":12.597532,"altitude":72,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b18","is_valid_coordinates":true} 
[2026-06-02 23:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-02 23:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455788671488001,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":305994107484897280,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062723072,"note":"Value kept but may cause issues"} 
[2026-06-02 23:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-02 23:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1780424793000,"timestamp_ms":1780424793000,"timestamp_seconds":1780424793,"priority":1,"record_length":96,"hex_timestamp":"0000019e89965ba8"} 
[2026-06-02 23:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-02 23:59: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-06-02 23:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-02 23:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-02 23:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-02 23:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-02 23:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-02 23:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":91391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-02 23:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":91391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":91391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-02 23:59: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-06-02 23:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-02 23:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-02 23:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455788671488001,"66":25473,"184":206,"85":36096,"24":0,"16":305994107484897280,"44":-5576934050062723072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-02 23:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-02 23:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-02 23:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455788671488001,"description":"Unknown IO ID 0"} 
[2026-06-02 23:59:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-02 23:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-02 23:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":305994107484897280,"km_value":305994107484897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-02 23:59:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062723072,"description":"Unknown IO ID 44"} 
[2026-06-02 23:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455788671488001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062723072}} 
[2026-06-02 23:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":91391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-02 23:59:59] local.INFO: GPS data processed {"connection_id":91391,"processed":1,"errors":0,"total":1} 
[2026-06-02 23:59:59] local.INFO: Acknowledgment sent {"connection_id":91391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
